/* ==========================================================================
   Site Dra. Ana Gabriella Dornelas — HTML/CSS/JS puros
   ========================================================================== */

/* --------- Reset enxuto --------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--olive-900); outline-offset: 3px; border-radius: 4px; }

/* --------- Tokens --------- */
:root {
  --cream-50:  #FBF3E1;
  --cream-100: #F5EAD7;
  --cream-200: #EBDFC3;
  --cream-300: #E9DDC4;
  --cream-400: #E5DFCB;
  --brown-900: #412824;
  --brown-700: #4B432F;
  --olive-900: #3B412C;
  --olive-700: #4B4C3B;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max-site: 1440px;
  --pad-x: 24px;
  --pad-x-md: 80px;

  --radius-card: 16px;
  --radius-pill: 999px;

  --border-soft: 0.5px solid rgba(65, 40, 36, 0.12);
  --border-line: 0.5px solid rgba(65, 40, 36, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------- Base --------- */
html { background: var(--cream-100); }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--brown-900);
  background: var(--cream-100);
  font-feature-settings: 'ss01', 'cv11';
}

::selection { background: var(--olive-900); color: var(--cream-100); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--olive-900); color: var(--cream-100);
  padding: 10px 16px; border-radius: var(--radius-pill); z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Tela de carregamento
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-100);
  opacity: 1;
  transition: opacity 0.7s var(--ease);
  will-change: opacity;
}
.loader.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.loader.is-removed {
  display: none;
}

.loader-logo {
  display: block;
  width: 180px;
  max-width: 56vw;
  height: auto;
  opacity: 0;
  transform: scale(0.9) translateY(8px);
  transform-origin: center center;
  animation: loader-in 1s var(--ease) 0.1s forwards;
  will-change: transform, opacity;
}
@media (min-width: 768px) {
  .loader-logo { width: 220px; }
}

/* Entrada: fade + scale up suave com leve overshoot */
@keyframes loader-in {
  0%   { opacity: 0; transform: scale(0.9)  translateY(8px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(0);   }
  100% { opacity: 1; transform: scale(1)    translateY(0);   }
}

/* Saída: fade + scale up sutil (sensação de "subindo" pra fora) */
.loader.is-leaving .loader-logo {
  animation: loader-out 0.7s var(--ease) forwards;
}
@keyframes loader-out {
  0%   { opacity: 1; transform: scale(1)    translateY(0);   }
  100% { opacity: 0; transform: scale(1.08) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader.is-leaving .loader-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .loader { transition-duration: 0.25s; }
}

/* Trava o scroll enquanto o loader está visível */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------- Layout helpers --------- */
.shell {
  width: 100%;
  max-width: var(--max-site);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
@media (min-width: 768px) {
  .shell { padding-left: var(--pad-x-md); padding-right: var(--pad-x-md); }
}

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.bg-cream-100 { background: var(--cream-100); }
.bg-cream-300 { background: var(--cream-300); }
.bg-cream-400 { background: var(--cream-400); }
.bg-white     { background: #FFFFFF; }
.bg-brown-900 { background: var(--brown-900); color: var(--cream-100); }
.bg-olive-900 { background: var(--olive-900); color: var(--cream-100); }

/* --------- Tipografia --------- */
.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-900);
  margin-bottom: 22px;
}
.bg-brown-900 .kicker,
.bg-olive-900 .kicker { color: #C5B58A; }

.h1-hero {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--brown-900);
}

.h2-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--brown-900);
  max-width: 760px;
}
.bg-brown-900 .h2-section,
.bg-olive-900 .h2-section { color: var(--cream-100); }

.h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--brown-900);
}

.italic-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.lead {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  line-height: 1.75;
  color: var(--brown-700);
  max-width: 680px;
  margin-top: 28px;
}
.bg-brown-900 .lead,
.bg-olive-900 .lead { color: #D3C7AA; }

.muted-15 {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--olive-700);
  line-height: 1.7;
  max-width: 640px;
}

/* --------- Botões --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 14px; height: 14px; }
.btn-primary {
  background: var(--olive-900);
  color: var(--cream-100);
}
.btn-primary:hover { background: #2f3522; transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--brown-900);
  color: var(--brown-900);
  background: transparent;
}
.btn-ghost:hover { background: var(--brown-900); color: var(--cream-100); }
.btn-block { width: 100%; }

/* --------- Ícones (SVG inline, currentColor) --------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream-400);
  color: var(--olive-900);
}
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--olive-900);
  color: var(--cream-100);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 12px auto 0;
  max-width: calc(100% - 24px);
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 28px;
  box-shadow: 0 6px 28px -16px rgba(65, 40, 36, 0.18);
  overflow: hidden;
  transform: translateZ(0);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
@media (min-width: 768px) {
  .site-header {
    top: 20px;
    margin-top: 20px;
    max-width: calc(100% - 64px);
    border-radius: 36px;
  }
}
@media (min-width: 1440px) {
  .site-header { max-width: 1380px; }
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(65, 40, 36, 0.08);
  box-shadow: 0 12px 32px -18px rgba(65, 40, 36, 0.28);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); }
}

/* Header flutuante: o padding lateral é interno do próprio pill */
.site-header .shell {
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .site-header .shell {
    padding-left: 28px;
    padding-right: 28px;
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media (min-width: 768px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif); font-weight: 400; font-size: 22px;
  letter-spacing: -0.01em; color: var(--brown-900);
}
.brand-sub {
  font-family: var(--font-sans); font-weight: 500; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--olive-700); margin-top: 4px;
}

/* Logo (imagem) */
.brand--logo { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .brand-logo { height: 88px; max-width: 420px; }
}

.nav-links { display: none; align-items: center; gap: 32px; }
@media (min-width: 992px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px; color: var(--brown-700);
  transition: color 0.2s var(--ease); position: relative;
}
.nav-links a:hover { color: var(--brown-900); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(65, 40, 36, 0.3);
  border-radius: 999px; color: var(--brown-900);
}
@media (min-width: 992px) { .menu-toggle { display: none; } }

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(65, 40, 36, 0.1);
  background: transparent;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; color: var(--brown-700); }
.mobile-menu a:hover { color: var(--brown-900); }
.mobile-menu .btn { margin-top: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 56px 0 72px; }
@media (min-width: 768px) { .hero { padding: 96px 0 112px; } }

.hero-grid {
  display: grid; gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.2fr 0.9fr; gap: 72px; }
}

.hero-text { max-width: 640px; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
}

.hero-image-wrap { position: relative; }
.image-placeholder {
  width: 100%;
  border-radius: var(--radius-card);
  position: relative; overflow: hidden;
}
.image-placeholder--hero {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #D6C8A4 0%, #8F8659 100%);
}

/* Imagem real do hero — substitui o placeholder mantendo proporção e cantos */
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card);
}
.image-placeholder--about {
  aspect-ratio: 3 / 4;
  background: linear-gradient(140deg, #C6B98E 0%, #7F7651 100%);
  max-width: 420px;
}

/* Foto real da seção Sobre mim */
.about-image {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card);
}
.image-placeholder--access {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #CFC29A 0%, #7E7449 100%);
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.image-placeholder--intro {
  aspect-ratio: 4 / 5;
  background: linear-gradient(140deg, #BDBC92 0%, #6A7048 100%);
  width: 100%;
  max-width: 480px;
}

/* Imagem real da seção Intro */
.intro-image {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card);
}
@media (min-width: 992px) {
  .intro-image {
    aspect-ratio: auto;
    height: 100%;
    max-width: 100%;
  }
}
.image-placeholder::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 72% 78%, rgba(65, 40, 36, 0.18), transparent 60%);
  z-index: 1;
}
/* Aviso central: "espaço reservado para foto" — sumirá quando trocar pelo <img> real */
.image-placeholder::before {
  content: 'Espaço reservado para foto';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-100);
  background: rgba(65, 40, 36, 0.42);
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 234, 215, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
  pointer-events: none;
  max-width: calc(100% - 32px);
  text-align: center;
}
@media (min-width: 768px) {
  .image-placeholder::before { font-size: 12px; padding: 12px 22px; }
}

.hero-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  display: inline-flex;
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; color: var(--brown-900);
  background: rgba(245, 234, 215, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
}
@media (min-width: 768px) {
  .hero-badge { bottom: 24px; left: 24px; font-size: 15px; }
}

/* ==========================================================================
   Ribbon
   ========================================================================== */
.ribbon {
  background: var(--cream-300);
  border-top: 1px solid rgba(65, 40, 36, 0.08);
  border-bottom: 1px solid rgba(65, 40, 36, 0.08);
  padding: 14px 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--brown-700);
}

/* ==========================================================================
   Cards de "Para quem é esse cuidado"
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #FFFFFF;
  border: var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -20px rgba(65, 40, 36, 0.35);
}
.card .card-title { font-family: var(--font-sans); font-weight: 500; font-size: 17px; color: var(--brown-900); }
.card .card-desc { font-size: 14px; color: var(--olive-700); line-height: 1.6; margin-top: 8px; }

/* Steps (Como funciona) */
.steps-grid {
  display: grid; gap: 20px; margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step-card {
  background: var(--cream-50);
  border: var(--border-soft);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--olive-900);
}
.step-card h3 { font-family: var(--font-sans); font-weight: 500; font-size: 18px; color: var(--brown-900); }
.step-card p { font-size: 15px; color: var(--olive-700); line-height: 1.65; margin-top: 10px; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about-grid {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 992px) { .about-grid { grid-template-columns: 0.7fr 1.3fr; gap: 64px; } }

.about-text { max-width: 640px; }
.about-text .lead + .lead { margin-top: 24px; }
.about-text .muted-15 { margin-top: 24px; }

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.diff-grid {
  display: grid; column-gap: 48px; margin-top: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }


.diff-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 0;
  border-bottom: var(--border-line);
}
.diff-item .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--olive-900);
  margin-top: 9px; flex: 0 0 7px;
}
.diff-item h3 { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--brown-900); }
.diff-item p { font-size: 14px; color: var(--olive-700); line-height: 1.6; margin-top: 6px; }

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.testimonials-grid {
  display: grid; gap: 20px; margin-top: 48px; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  background: #FFFFFF;
  border: var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.testimonial .quote-mark {
  font-family: var(--font-serif); font-size: 40px; line-height: 0.5;
  color: rgba(59, 65, 44, 0.35);
  height: 18px;
}
.testimonial blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px; line-height: 1.7; color: var(--brown-900);
}
.testimonial figcaption {
  font-family: var(--font-sans); font-weight: 500;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--olive-700);
  margin-top: auto;
}

/* ==========================================================================
   Acesso ao cuidado
   ========================================================================== */
.intro-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 64px;
    align-items: stretch;
  }
  /* foto ocupa toda a altura da linha (= altura do texto) */
  .intro-photo { display: flex; align-items: stretch; }
  .intro-photo .image-placeholder--intro {
    aspect-ratio: auto;
    height: 100%;
  }
}
@media (min-width: 1280px) {
  .intro-grid { gap: 88px; }
}
.intro-text { max-width: 680px; }

.access-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .access-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
  }
}
@media (min-width: 1280px) {
  .access-grid { gap: 88px; }
}

.access-content { max-width: 680px; }

.access-card {
  margin-top: 40px;
  background: var(--cream-200);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  max-width: 820px;
  display: flex; flex-direction: column; gap: 18px;
}

/* Acesso ao cuidado — split com info sticky à esquerda */
.access-split {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 992px) {
  .access-split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .access-info {
    position: sticky;
    top: 130px; /* respiro abaixo do header flutuante */
    align-self: start;
  }
  .access-side .access-card { margin-top: 0; max-width: none; }
}
@media (min-width: 1280px) {
  .access-split { gap: 88px; }
}
.access-card h3 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.6rem);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--brown-900);
}
.access-card p {
  font-size: 15.5px; color: var(--brown-700);
  line-height: 1.7; max-width: 680px; margin-top: 4px;
}
.access-card .access-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 24px;
  background: var(--olive-900);
  color: var(--cream-100);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px -10px rgba(59, 65, 44, 0.5);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.access-card .access-link:hover {
  background: #2f3522;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(59, 65, 44, 0.6);
}
.access-card .access-link:active { transform: translateY(0); }
.access-card .access-link svg {
  transition: transform 0.2s var(--ease);
}
.access-card .access-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   FAQ (sem JS, <details>)
   ========================================================================== */
.faq-list { margin-top: 48px; max-width: 920px; }

/* FAQ — bloco centralizado */
#perguntas .shell { text-align: center; }
#perguntas .h2-section { margin-left: auto; margin-right: auto; }
#perguntas .faq-list { margin-left: auto; margin-right: auto; text-align: left; }

/* Modificador: estampas decorativas nos cantos */
.section--stamp {
  --stamp-url: url('../images/estampa.png');
  --stamp-opacity: 0.85;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--stamp-light {
  --stamp-url: url('../images/estampa-clara.png');
  --stamp-opacity: 0.9;
}
/* Variante: estampa única centralizada verticalmente na borda direita */
.section--stamp-single::after { display: none; }
.section--stamp-single::before {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background-position: center right;
}
.section--stamp::before,
.section--stamp::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: var(--stamp-url);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  opacity: var(--stamp-opacity);
}
.section--stamp::before {
  top: 0;
  right: 0;
  background-position: top right;
}
.section--stamp::after {
  bottom: 0;
  left: 0;
  background-position: bottom left;
  transform: rotate(180deg);
}
@media (min-width: 768px) {
  .section--stamp::before,
  .section--stamp::after { width: 320px; height: 320px; }
}
@media (min-width: 1280px) {
  .section--stamp::before,
  .section--stamp::after { width: 400px; height: 400px; }
}
.section--stamp > .shell { position: relative; z-index: 1; }

/* Modificador: cabeçalho da seção centralizado (mantém grid à esquerda) */
.section--centered-heading > .shell > .kicker {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section--centered-heading > .shell > .h2-section,
.section--centered-heading > .shell > .lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.faq-item { padding: 24px 0; border-bottom: var(--border-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  cursor: pointer; list-style: none;
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  color: var(--brown-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item .faq-toggle {
  flex: 0 0 auto;
  color: var(--olive-900);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-family: var(--font-sans); font-size: 15px;
  line-height: 1.7; color: var(--olive-700);
  max-width: 900px;
}

/* ==========================================================================
   CTA contato
   ========================================================================== */
.cta-grid {
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 768px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.contact-card {
  background: var(--cream-100);
  color: var(--brown-900);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 640px;
  width: 100%;
}
@media (min-width: 768px) { .contact-card { margin-left: auto; padding: 40px; } }

.contact-list { display: flex; flex-direction: column; gap: 6px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: 12px;
  transition: background-color 0.2s var(--ease);
}
.contact-item:hover { background: rgba(235, 223, 195, 0.6); }
.contact-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--olive-900);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-icon .icon { width: 18px; height: 18px; }
.contact-label {
  font-weight: 600; font-size: 14px; color: var(--brown-900);
  min-width: 100px;
}
.contact-value { font-size: 15px; color: var(--brown-700); }

/* ==========================================================================
   Depoimentos — layout + carrossel
   ========================================================================== */
.testi-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .testi-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
@media (min-width: 1200px) {
  .testi-layout { gap: 80px; }
}

.testi-intro { max-width: 580px; }
.testi-intro .kicker {
  font-size: 13px;
  letter-spacing: 0.26em;
  margin-bottom: 28px;
}
.testi-intro .h2-section {
  font-size: clamp(2.5rem, 5.4vw, 3.75rem);
  line-height: 1.05;
}
.testi-intro .lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  margin-top: 32px;
  max-width: 520px;
}

/* Estampa ampliada apenas nesta seção */
#depoimentos.section--stamp::before {
  width: 320px;
  height: 320px;
}
@media (min-width: 768px) {
  #depoimentos.section--stamp::before { width: 540px; height: 540px; }
}
@media (min-width: 1200px) {
  #depoimentos.section--stamp::before { width: 720px; height: 720px; }
}
@media (min-width: 1600px) {
  #depoimentos.section--stamp::before { width: 860px; height: 860px; }
}

.testi-carousel {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}
.testi-viewport {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.testi-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* esconde a barra de rolagem em todas as engines */
  -webkit-overflow-scrolling: touch;
}
.testi-track::-webkit-scrollbar { display: none; height: 0; }

.testi-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--cream-100);
  color: var(--brown-900);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testi-slide { padding: 40px; min-height: 340px; }
}

.testi-quote {
  width: 32px;
  height: 32px;
  color: var(--olive-900);
  opacity: 0.4;
}
.testi-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown-900);
  flex: 1;
}
@media (min-width: 768px) {
  .testi-text { font-size: 17px; line-height: 1.7; }
}
.testi-author {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--olive-700);
  margin-top: auto;
}

/* Navegação (dots + setas) */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.testi-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(245, 234, 215, 0.28);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), width 0.25s var(--ease);
}
.testi-dot:hover { background: rgba(245, 234, 215, 0.5); }
.testi-dot.is-active {
  background: var(--cream-100);
  width: 28px;
  border-radius: 999px;
}
.testi-dot:focus-visible {
  outline: 2px solid var(--cream-100);
  outline-offset: 3px;
}

.testi-arrows { display: inline-flex; gap: 10px; }
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(245, 234, 215, 0.08);
  border: 1px solid rgba(245, 234, 215, 0.22);
  color: var(--cream-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.testi-arrow:hover {
  background: rgba(245, 234, 215, 0.18);
  border-color: rgba(245, 234, 215, 0.4);
}
.testi-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.testi-arrow:focus-visible {
  outline: 2px solid var(--cream-100);
  outline-offset: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  padding-top: 48px;
}
.footer-top {
  display: grid; gap: 32px;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; align-items: end; }
  .footer-right { text-align: right; max-width: 480px; margin-left: auto; }
}
.footer-tag {
  font-size: 13px; color: var(--brown-700); line-height: 1.6;
}
.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  justify-self: start;
}
.footer-logo {
  display: block;
  height: 88px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .footer-logo { height: 110px; max-width: 420px; }
}
.footer-bottom {
  margin-top: 32px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(65, 40, 36, 0.12);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; color: var(--olive-700);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom .italic-serif { font-size: 13px; }

/* ==========================================================================
   Botão flutuante de WhatsApp
   ========================================================================== */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  box-shadow:
    0 10px 24px -8px rgba(37, 211, 102, 0.55),
    0 4px 14px -4px rgba(0, 0, 0, 0.18);
  contain: layout paint;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease);
}
@media (min-width: 768px) {
  .wa-fab { bottom: 28px; right: 28px; width: 64px; height: 64px; }
}

.wa-fab:hover {
  background: #1ebe57;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 30px -8px rgba(37, 211, 102, 0.65),
    0 6px 18px -4px rgba(0, 0, 0, 0.22);
}
.wa-fab:active { transform: translateY(0) scale(0.98); }

.wa-fab-icon { width: 30px; height: 30px; position: relative; z-index: 1; }
@media (min-width: 768px) {
  .wa-fab-icon { width: 32px; height: 32px; }
}

/* Anel pulsante — isolado em camada GPU própria */
.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  transform: translateZ(0) scale(1);
  will-change: transform, opacity;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: translateZ(0) scale(1);    opacity: 0.5; }
  80%  { transform: translateZ(0) scale(1.45); opacity: 0;   }
  100% { transform: translateZ(0) scale(1.45); opacity: 0;   }
}

.wa-fab:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab-pulse { animation: none; display: none; }
  .wa-fab:hover { transform: none; }
}

/* ==========================================================================
   Animações de entrada (reveal ao scroll + hero)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger entre kicker → h2 → lead em qualquer cabeçalho de seção */
.kicker.reveal       { transition-delay: 0ms; }
.h2-section.reveal   { transition-delay: 110ms; }
.lead.reveal         { transition-delay: 220ms; }
.muted-15.reveal     { transition-delay: 320ms; }

/* Stagger nos grids de cards (Pessoas que chegam — 9 cards) */
.cards-grid .card:nth-child(1).reveal { transition-delay: 0ms; }
.cards-grid .card:nth-child(2).reveal { transition-delay: 60ms; }
.cards-grid .card:nth-child(3).reveal { transition-delay: 120ms; }
.cards-grid .card:nth-child(4).reveal { transition-delay: 180ms; }
.cards-grid .card:nth-child(5).reveal { transition-delay: 240ms; }
.cards-grid .card:nth-child(6).reveal { transition-delay: 300ms; }
.cards-grid .card:nth-child(7).reveal { transition-delay: 360ms; }
.cards-grid .card:nth-child(8).reveal { transition-delay: 420ms; }
.cards-grid .card:nth-child(9).reveal { transition-delay: 480ms; }

/* Stagger nos 3 passos (Como funciona) */
.steps-grid .step-card:nth-child(1).reveal { transition-delay: 0ms; }
.steps-grid .step-card:nth-child(2).reveal { transition-delay: 120ms; }
.steps-grid .step-card:nth-child(3).reveal { transition-delay: 240ms; }

/* Stagger nos diferenciais (6 itens) */
.diff-grid .diff-item:nth-child(1).reveal { transition-delay: 0ms; }
.diff-grid .diff-item:nth-child(2).reveal { transition-delay: 80ms; }
.diff-grid .diff-item:nth-child(3).reveal { transition-delay: 160ms; }
.diff-grid .diff-item:nth-child(4).reveal { transition-delay: 240ms; }
.diff-grid .diff-item:nth-child(5).reveal { transition-delay: 320ms; }
.diff-grid .diff-item:nth-child(6).reveal { transition-delay: 400ms; }

/* Stagger no FAQ (até 8 itens) */
.faq-item:nth-of-type(1).reveal { transition-delay: 0ms; }
.faq-item:nth-of-type(2).reveal { transition-delay: 60ms; }
.faq-item:nth-of-type(3).reveal { transition-delay: 120ms; }
.faq-item:nth-of-type(4).reveal { transition-delay: 180ms; }
.faq-item:nth-of-type(5).reveal { transition-delay: 240ms; }
.faq-item:nth-of-type(6).reveal { transition-delay: 300ms; }
.faq-item:nth-of-type(7).reveal { transition-delay: 360ms; }
.faq-item:nth-of-type(8).reveal { transition-delay: 420ms; }

/* Hero — anima quando o loader sai (a classe is-loading é removida no JS) */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *,
  .hero-image-wrap {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }
  html:not(.is-loading) .hero-text > *,
  html:not(.is-loading) .hero-image-wrap {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  html:not(.is-loading) .hero-text > .kicker        { transition-delay: 120ms; }
  html:not(.is-loading) .hero-text > .h1-hero       { transition-delay: 260ms; }
  html:not(.is-loading) .hero-text > .lead          { transition-delay: 400ms; }
  html:not(.is-loading) .hero-text > .hero-actions  { transition-delay: 540ms; }
  html:not(.is-loading) .hero-image-wrap            { transition-delay: 220ms; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-text > *, .hero-image-wrap { opacity: 1 !important; transform: none !important; transition: none !important; }
}

