/* =========================================================
   Boilerplate Site Cliente — Vanilla
   Tokens ajustáveis no :root. Resto reaproveita.
   ========================================================= */

/* ===== Fontes self-host (sem Google Fonts) ===== */
@font-face{ font-family:'Gimolla'; src:url('../fonts/Gimolla.woff2?v=1') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Satoshi'; src:url('../fonts/Satoshi-400.woff2?v=1') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face{ font-family:'Satoshi'; src:url('../fonts/Satoshi-500.woff2?v=1') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face{ font-family:'Satoshi'; src:url('../fonts/Satoshi-700.woff2?v=1') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face{ font-family:'Big John PRO'; src:url('../fonts/BigJohnPRO-Regular.woff2?v=1') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }

:root {
  /* Cores — marca Michelle Becher (tema claro) */
  --bg-primary:     #FBF8F5;
  --bg-secondary:   #F3EAE6;
  --text-primary:   #4A3839;
  --text-secondary: #7A5E5C; /* ≥4.5:1 (AA) sobre --bg-primary E --bg-secondary */
  --accent:         #926062;
  --accent-dark:    #7A4F50;
  --divider:        #ECE0D9;
  --accent-soft:    #DEAFBA;
  --accent-warm:    #FABFB5;
  --accent-sage:    #99AD89;
  /* Pêssego→mauve original (#FABFB5→#926062) reprova texto branco (1.59:1 na ponta clara).
     Faixa comprimida pro lado mauve: branco passa AA (≥4.5:1) em toda a extensão do botão;
     o pêssego da marca sobrevive no glow do hover (.btn-grad). */
  --grad-cta: linear-gradient(257deg, #A26468 0%, #7A4F50 100%);
  /* Degradê real da logo (pêssego→rosê, ponta a ponta) — usado só onde não carrega texto por cima */
  --grad-logo: linear-gradient(257deg, #FABFB5 0%, #926062 100%);
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #128C7E;

  /* Tipografia */
  --font-display: 'Gimolla', Georgia, serif;
  --font-body:    'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label:   'Big John PRO', var(--font-body);

  /* Escala fluida */
  --fs-display: clamp(2.5rem, 6vw, 5rem);
  --fs-h2:      clamp(2rem, 4vw, 3.25rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.5rem);
  --fs-lede:    clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;

  /* Layout */
  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 40px);

  /* Espaçamento vertical entre seções */
  --sec-py: clamp(64px, 10vw, 140px);

  /* Transições — curvas curadas (ver EFEITOS.md) */
  --ease:           cubic-bezier(.4,0,.2,1);      /* padrão UI / hovers */
  --ease-cinematic: cubic-bezier(.76,0,.24,1);    /* easeInOutQuart — reveals, heros */
  --ease-out-expo:  cubic-bezier(.16,1,.3,1);     /* saída suave e decisiva */
  --ease-out-back:  cubic-bezier(.34,1.56,.64,1); /* leve overshoot p/ entradas */
}

/* ===== Reset + base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    /* sem isso, animações infinitas reiniciam a cada 0.01ms = tremedeira */
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Wrap — container padrão ===== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ===== Tipografia helpers ===== */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
.display .accent { color: var(--accent); }
.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .4em;
}
.kicker {
  display: inline-block;
  font-family: var(--font-label);
  font-size: .8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.lede {
  font-size: var(--fs-lede);
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 0 2rem;
}
.sec-sub {
  font-size: var(--fs-lede);
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto;
}
.sec-head {
  text-align: center;
  margin: 0 auto 3rem;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.display, .sec-title { font-weight: 400; }
.btn-ghost {
  color: var(--text-primary);
  border: 1px solid var(--divider);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-grad { background: var(--grad-cta); color: #fff; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s var(--ease), filter .2s; }
.btn-grad:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(250,191,181,.5), 0 14px 30px rgba(146,96,98,.38); filter: brightness(1.03); }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.nav .brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-primary);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grad-cta);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.05); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 22px; height: 2px; background: var(--text-primary);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px var(--pad);
    border-bottom: 1px solid var(--divider);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav.is-open .nav-links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { display: none; }
}

/* ===== Hero (Figma v1: recorte + arco + pills flutuantes) ===== */
.hero {
  position: relative;
  min-height: 770px;
  display: flex;
  align-items: center;
  padding: 120px 0 0;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero-mono {
  position: absolute; z-index: 0; top: 50%; transform: translateY(-50%);
  right: calc((100% - var(--maxw)) / 2 - 230px);
  width: min(820px, 62vw); height: auto; opacity: .14; pointer-events: none; user-select: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 82%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 45%, #000 30%, transparent 82%);
}
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero-copy { max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-copy .display { margin: 0; line-height: 1.06; }
.hero-copy .lede { margin: 0; max-width: 31rem; color: var(--text-primary); }

/* figura: imagem única (frame-break do Figma) + pills */
.hero-figure {
  position: absolute; z-index: 2; bottom: 0;
  right: max(16px, calc((100% - var(--maxw)) / 2));
  height: min(650px, 76vh); aspect-ratio: 499 / 719;
}
.hero-figure-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.hero-badge {
  position: absolute; z-index: 3; display: inline-flex; align-items: center;
  padding: 11px 18px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: .75rem; color: var(--accent);
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 4px 20px 4px 20px; box-shadow: 0 10px 26px rgba(74,56,57,.12);
}
.hero-badge.b-crp { background: var(--grad-cta); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.b-atend { top: 42%; left: -24%; animation: float-y 5.5s ease-in-out infinite; }
.b-tcc   { top: 52%; right: 2%; animation: float-y 6.4s ease-in-out infinite .8s; }
.b-crp   { bottom: 8%; left: -16%; animation: float-y 6s ease-in-out infinite .4s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 104px 0 40px; }
  .hero-mono { right: -22%; left: auto; bottom: auto; top: 52%; transform: translateY(-50%); opacity: .07; width: 118vw; }
  .hero-copy { max-width: none; padding-bottom: 0; gap: 22px; }
  .hero-figure { position: relative; right: auto; bottom: auto; height: auto; width: min(360px, 86%); margin: 18px auto 0; }
  .b-atend { top: 34%; left: -2%; }
  .b-tcc { top: 48%; right: -2%; }
  .b-crp { bottom: 12%; left: 0; }
}

/* ===== Seções genéricas ===== */
section {
  position: relative;
  padding-block: var(--sec-py);
}
section + section { border-top: 1px solid var(--divider); }

/* ===== fx-grid (luz seguindo o cursor) ===== */
.fx-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 40%),
    linear-gradient(var(--divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--divider) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  opacity: .35;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
section > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ===== CTA Final ===== */
.cta-final {
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final .display { margin-bottom: 16px; }
.cta-final p {
  color: var(--text-secondary);
  max-width: 50ch;
  margin: 0 auto 32px;
}
.fx-rays {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 15%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== Footer (completo: marca + colunas + barra final) =====
   Mesmo fundo e textura de grid da seção Atendimento online (.fx-grid) */
.footer {
  position: relative;
  border-top: 1px solid var(--divider);
  background: var(--bg-primary);
  padding: clamp(48px, 7vw, 80px) 0 0;
}
.footer > .wrap { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-brand { max-width: 340px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 52px; }
.footer-tag {
  margin: 18px 0 22px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.footer-col a {
  font-size: .95rem;
  color: var(--text-secondary);
  transition: color .2s;
  width: fit-content;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p { margin: 0; font-size: .95rem; color: var(--text-secondary); }
.footer-info .footer-cvv {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  font-size: .84rem;
  line-height: 1.55;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--divider);
  font-size: .8rem;
  color: var(--text-secondary);
}
.footer-bottom a { color: var(--accent); }
/* Crédito padrão DM: logo horizontal via mask + currentColor —
   herda a cor do contexto (branca em site dark, marrom aqui) */
.footer-bottom .dm-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  transition: color .2s;
}
.footer-bottom .dm-credit:hover { color: var(--accent); }
.dm-credit-logo {
  width: 100px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url('../img/logo-dionizio.svg?v=1') no-repeat left center / contain;
  mask: url('../img/logo-dionizio.svg?v=1') no-repeat left center / contain;
}

/* ===== Reveal on scroll — suave: mais tempo, easing expo e leve desfoque ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition:
    opacity 1.05s var(--ease-out-expo),
    transform 1.05s var(--ease-out-expo),
    filter .85s var(--ease-out-expo);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }

/* ===== Loading (padrão do site DM: logo + barra + saída zoom/dissolve) ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background: var(--bg-primary);
  transition: opacity .95s var(--ease), transform 1.05s cubic-bezier(.7,0,.3,1), visibility 1.05s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.22); }
.loader .hero-grid { opacity: .55; }
.loader::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: min(70vw, 560px); aspect-ratio: 1; transform: translate(-50%, -56%);
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-warm) 34%, transparent), color-mix(in srgb, var(--accent-soft) 12%, transparent) 40%, transparent 70%);
  filter: blur(54px);
  animation: loaderGlow 2.6s ease-in-out infinite;
}
.loader-logo {
  position: relative; z-index: 1;
  width: clamp(200px, 27vw, 330px); height: auto;
  opacity: 0; transform: translateY(10px) scale(.98);
  animation: loaderLogo 1.1s var(--ease-out-expo) .1s forwards;
}
.loader-bar {
  position: relative; z-index: 1;
  width: clamp(120px, 15vw, 190px); height: 2px; border-radius: 2px;
  background: var(--divider); overflow: hidden;
}
.loader-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  animation: loaderBar 1.5s var(--ease) .15s forwards;
}
@keyframes loaderLogo { to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { width: 100%; } }
@keyframes loaderGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader::before, .loader-logo, .loader-bar i { animation: none; }
  .loader-logo { opacity: 1; transform: none; }
  .loader-bar i { width: 100%; }
}

/* ===== Hero: entrada sincronizada com a saída do loader =====
   Título + lede palavra por palavra (.word); botão e figura sobem em bloco.
   Estados ocultos só com JS ativo (html.js) — sem JS, tudo visível. */
.word {
  display: inline-block;
  opacity: 0; transform: translateY(.45em); filter: blur(4px);
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo), filter .5s var(--ease-out-expo);
}
.words-in .word { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--wi) * .045s); }
.hero .lede.words-in .word { transition-delay: calc(.4s + var(--wi) * .03s); }
.js .hero-figure, .js .hero-copy .btn { opacity: 0; transform: translateY(26px); }
.hero-in .hero-figure { animation: rise 1.1s var(--ease-out-expo) .15s forwards; }
.hero-in .hero-copy .btn { animation: rise .95s var(--ease-out-expo) .65s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .word, .js .hero-figure, .js .hero-copy .btn { opacity: 1; transform: none; filter: none; animation: none; }
}

/* ===== View Transitions (multipágina — institucional) =====
   Progressive enhancement: navegadores compatíveis fazem crossfade
   entre páginas. Zero JS. Em site one-page (só âncoras) não tem efeito. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* ========================================================= */
/* Michelle Becher — seções específicas                      */
/* ========================================================= */

/* fx-grid mais suave no tema claro */
.fx-grid { opacity: .5; }

/* Grain fino nas seções rosadas — textura de papel, quase imperceptível.
   SVG feTurbulence inline (zero request extra); conteúdo fica acima via section > .wrap (z-index 1). */
.section-soft::before,
.method-section::before,
.sobre::before,
.conversation-section::before,
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  opacity: .045;
}

/* Sobre */
.sobre { background:var(--bg-secondary); }
.sobre-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(28px,5vw,60px); align-items:center; }
.sobre-foto { border-radius:16px; overflow:hidden; align-self:stretch; min-height:360px; }
.sobre-foto img { width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block; }
@media (max-width:820px){ .sobre-grid{ grid-template-columns:1fr; } .sobre-foto{ min-height:0; max-height:60vh; } }
.sobre-corpo p { color:var(--text-secondary); margin:0 0 1.1rem; }
/* Credenciais como texto (pills pareciam botões clicáveis) */
.sobre-corpo .cred-line {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px;
  margin:1.6rem 0 0; padding-top:1.2rem;
  border-top:1px solid var(--divider);
  font-family:var(--font-label); font-size:.74rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--accent);
}
.cred-line span { display:inline-flex; align-items:center; gap:14px; }
.cred-line span + span::before {
  content:""; width:5px; height:5px; border-radius:50%;
  background:var(--accent-sage); flex:none;
}

/* Temas — float orgânico contínuo (mesma linguagem dos badges da hero):
   cada pill flutua ±4px com duração/fase levemente diferentes */
.temas-grid { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.tema { padding:12px 22px; border-radius:999px; background:var(--bg-secondary); border:1px solid var(--divider); font-size:.95rem; transition:border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.tema:hover { border-color:var(--accent); color:var(--accent); box-shadow:0 10px 24px rgba(74,56,57,.1); }
/* float contínuo ativado só em desktop — ver bloco no fim do arquivo */
@keyframes tema-float { 0%, 100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }

/* FAQ */
.faq-section {
  background: var(--bg-primary);
  scroll-margin-top: 96px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, .98fr);
  gap: clamp(30px, 4.2vw, 58px);
  align-items: start;
}
.faq-content { text-align: left; }
.faq-copy {
  max-width: 680px;
  margin-bottom: clamp(26px, 4vw, 42px);
}
.faq-copy .sec-title { margin-bottom: 0; }
.faq { display: grid; gap: 14px; max-width: none; margin: 0; }
.faq-item {
  border: 1px solid color-mix(in srgb, var(--divider) 72%, #fff);
  border-radius: 20px;
  background: rgba(255,255,255,.64);
  box-shadow: 0 16px 44px rgba(74,56,57,.06);
  overflow: clip;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(74,56,57,.09);
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent-soft) 58%, var(--divider));
  background: color-mix(in srgb, var(--bg-secondary) 54%, #fff);
  box-shadow: 0 24px 60px rgba(74,56,57,.10);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 18px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--bg-secondary);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .5s var(--ease-out-expo);
}
/* Abertura suave: altura anima em navegadores com ::details-content (Chrome/Edge);
   nos demais, o fade+rise do parágrafo abaixo já tira a secura */
.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .55s var(--ease-out-expo), content-visibility .55s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
.faq-item[open] p { animation: faqReveal .6s var(--ease-out-expo) .08s both; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.faq-item[open] summary::after {
  content: "-";
  transform: rotate(180deg);
  background: var(--accent);
  color: #fff;
}
.faq-item p {
  margin: 0;
  padding: 0 clamp(20px, 2.4vw, 28px) clamp(22px, 2.4vw, 30px);
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.72;
  max-width: 62ch;
}
.faq-media {
  position: sticky;
  top: 112px;
  margin-top: 0;
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.faq-media img {
  width: 100%;
  aspect-ratio: 1123 / 1525;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* WhatsApp flutuante — verde oficial do WhatsApp (reconhecimento do ícone > paleta da marca aqui) */
.wa-float { position:fixed; bottom:22px; right:22px; z-index:90; width:58px; height:58px; border-radius:50%; background:var(--whatsapp-green); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(18,140,126,.35); }
.wa-float svg { width:30px; height:30px; }
.wa-float::before { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--whatsapp-green-dark); animation:wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse { 0%{transform:scale(1);opacity:.6} 70%{transform:scale(1.5);opacity:0} 100%{opacity:0} }

/* Scrollbar — degradê da logo (pêssego→rosê) */
html { scrollbar-color: #C77B72 var(--bg-secondary); /* Firefox: sem suporte a gradiente, tom médio do degradê */ }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--grad-logo); border-radius: 8px; border: 2px solid var(--bg-secondary); background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(257deg, #F5A99B 0%, #7A4F50 100%); background-clip: padding-box; }

/* ========== Michelle Becher · Estrutura revisada ========== */
.reference-section {
  overflow: hidden;
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.copy-block {
  max-width: 680px;
}

.copy-block p {
  color: var(--text-secondary);
  font-size: 1.04rem;
  margin: 0 0 1rem;
}

.copy-block p:last-child {
  margin-bottom: 0;
}

.symptom-list {
  display: grid;
  gap: 14px;
}

.symptom-item {
  position: relative;
  padding: 22px 24px 22px 78px;
  min-height: 116px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  /* Degradê da marca (faixa AA p/ texto branco — mesma família do --grad-cta) */
  background: linear-gradient(135deg, #A26468 0%, #8A5658 55%, #7A4F50 100%);
  box-shadow: 0 18px 44px rgba(74,56,57,.16);
}

.symptom-item span {
  position: absolute;
  left: 22px;
  top: 24px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--bg-secondary); /* bege da paleta */
}

.symptom-item h3 {
  margin: 0 0 4px;
  font-size: 1.04rem;
  line-height: 1.25;
  color: #fff;
}

.symptom-item p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: .96rem;
  line-height: 1.48;
}

.section-soft,
.method-section {
  background: var(--bg-secondary);
}

.soft-panel {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--divider);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-primary) 82%, #fff 18%);
  box-shadow: 0 24px 60px rgba(74,56,57,.07);
}

.soft-panel h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-sage);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-sage) 20%, transparent);
  animation: dot-pulse 2.6s ease-out infinite;
}
/* pulso em cascata — mesma linguagem do anel do .wa-float */
.check-list li:nth-child(2)::before { animation-delay: .35s; }
.check-list li:nth-child(3)::before { animation-delay: .7s; }
.check-list li:nth-child(4)::before { animation-delay: 1.05s; }
.check-list li:nth-child(5)::before { animation-delay: 1.4s; }
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-sage) 22%, transparent); }
  55%  { box-shadow: 0 0 0 11px color-mix(in srgb, var(--accent-sage) 0%, transparent); }
  100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-sage) 22%, transparent); }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--accent-soft) 52%, var(--divider));
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-primary) 84%, #fff 16%);
  box-shadow: 0 20px 50px rgba(74,56,57,.06);
}

.process-num {
  display: inline-block;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: .9;
  color: var(--accent);
  opacity: .78;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.process-card p {
  margin: 0;
  color: var(--text-secondary);
}

.online-section {
  overflow: visible;
}

.online-scroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.online-copy-sticky {
  position: sticky;
  top: 130px;
  justify-self: end;
  max-width: 540px;
}

.online-steps-stack {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  padding-block: clamp(10px, 2vw, 24px);
}

.online-step-card {
  position: sticky;
  top: calc(112px + (var(--i) * 24px));
  z-index: calc(20 + var(--i));
  min-height: clamp(330px, 44vh, 460px);
  display: grid;
  grid-template-columns: minmax(72px, 100px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid color-mix(in srgb, var(--accent-soft) 52%, var(--divider));
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255,255,255,.84), rgba(255,255,255,.58)),
    var(--bg-primary);
  box-shadow: 0 28px 70px rgba(74,56,57,.10);
}

.online-step-num {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: .85;
  color: var(--accent);
  opacity: .72;
}

.online-step-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.online-step-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1.08;
}

.online-step-card p {
  margin: 0;
  max-width: 48ch;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.16vw, 1.1rem);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.themes-section .sec-head {
  max-width: 820px;
}

.conversation-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, color-mix(in srgb, var(--accent-warm) 26%, transparent) 0%, transparent 34%),
    linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
}

.conversation-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.conversation-copy {
  position: sticky;
  top: 120px;
  max-width: 500px;
}

.conversation-copy p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

.conversation-copy .btn {
  margin-top: 1.2rem;
}

.chat-sim {
  display: grid;
  gap: 22px;
}

.chat-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.chat-row-user {
  grid-template-columns: 46px minmax(180px, 520px);
  justify-content: end;
}

.chat-row-answer {
  grid-template-columns: 46px minmax(0, 1fr);
}

.chat-row-answer .chat-avatar {
  align-self: start;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  box-shadow: 0 10px 24px rgba(74,56,57,.12);
}

.chat-avatar-user {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.chat-avatar-user svg {
  width: 21px;
  height: 21px;
}

.chat-avatar-michelle {
  position: relative;
  background-image: url('../img/sobre.webp?v=2');
  background-size: 170%;
  background-position: 48% 12%;
  border: 2px solid var(--bg-primary);
}

.chat-avatar-michelle::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-sage);
  border: 2px solid var(--bg-primary);
  animation: dot-pulse 2.6s ease-out infinite .8s; /* "online agora" — mesma pulsação da seção psicoterapia */
}

.chat-bubble,
.chat-typing {
  border: 1px solid color-mix(in srgb, var(--divider) 72%, #fff);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 48px rgba(74,56,57,.08);
}

.chat-bubble {
  padding: clamp(17px, 2vw, 24px);
  border-radius: 22px;
  color: var(--text-secondary);
  font-size: clamp(.98rem, 1.08vw, 1.06rem);
  line-height: 1.65;
  transition: transform .35s var(--ease-out-expo), box-shadow .35s var(--ease);
}
.chat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(74,56,57,.12);
}

.chat-question {
  border-radius: 22px 22px 4px 22px;
  color: var(--text-primary);
  font-weight: 700;
}

.chat-answer {
  border-radius: 22px 22px 22px 4px;
  grid-column: 2;
  grid-row: 1;
}

.chat-answer strong,
.chat-answer em {
  color: var(--accent);
}

.chat-typing {
  width: 92px;
  min-height: 44px;
  border-radius: 22px 22px 22px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  grid-column: 2;
  grid-row: 1;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .42;
  animation: typingDot 1.15s ease-in-out infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: .12s;
}

.chat-typing span:nth-child(3) {
  animation-delay: .24s;
}

.chat-row-user,
.chat-row-answer .chat-avatar,
.chat-row-answer .chat-answer,
.chat-row-answer .chat-typing {
  opacity: 0;
}

/* Cadência: ~0.55s por passo (público ansioso — a sequência inteira fecha em ~4.5s, não 8s) */
.chat-sim.is-in .chat-row-user {
  animation: chatBubbleIn .72s var(--ease-out-expo) both;
  animation-delay: calc((var(--step) - 1) * .55s);
}

.chat-sim.is-in .chat-row-answer .chat-avatar {
  animation: chatAvatarIn .58s var(--ease-out-back) both;
  animation-delay: calc((var(--step) - 1) * .55s);
}

.chat-sim.is-in .chat-row-answer .chat-typing {
  animation: chatTypingBubble .9s ease both;
  animation-delay: calc((var(--step) - 1) * .55s);
}

.chat-sim.is-in .chat-row-answer .chat-answer {
  animation: chatBubbleIn .72s var(--ease-out-expo) both;
  animation-delay: calc(((var(--step) - 1) * .55s) + .72s);
}

@keyframes chatBubbleIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatAvatarIn {
  from {
    opacity: 0;
    transform: scale(.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chatTypingBubble {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  18%,
  76% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(.98);
  }
}

@keyframes typingDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: .35;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 940px) {
  .intro-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .online-scroll-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .online-copy-sticky {
    position: static;
    order: -1;
    justify-self: start;
    max-width: 720px;
  }

  .online-steps-stack {
    gap: 22px;
    padding-block: 0;
  }

  .online-step-card {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .conversation-grid {
    grid-template-columns: 1fr;
  }

  .conversation-copy {
    position: static;
    max-width: 720px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-media {
    position: static;
    margin-top: 0;
    max-width: 520px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .symptom-item {
    padding: 20px;
  }

  .symptom-item span {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  .soft-panel,
  .online-panel,
  .process-card {
    border-radius: 16px;
    padding: 24px;
  }

  .online-step-card {
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 18px;
    padding: 28px 24px;
  }

  .online-step-num {
    font-size: 3rem;
  }

  .online-step-card h3 {
    font-size: 1.7rem;
  }

  .chat-sim {
    gap: 18px;
  }

  .chat-row,
  .chat-row-user,
  .chat-row-answer {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    justify-content: stretch;
  }

  .chat-avatar {
    width: 34px;
    height: 34px;
  }

  .chat-avatar-user svg {
    width: 18px;
    height: 18px;
  }

  .chat-bubble {
    border-radius: 16px;
    padding: 16px;
    line-height: 1.55;
  }

  .chat-question {
    border-radius: 16px 16px 4px 16px;
  }

  .chat-answer,
  .chat-typing {
    border-radius: 16px 16px 16px 4px;
  }

  .chat-typing {
    width: 76px;
    min-height: 38px;
  }

  .faq-copy {
    margin-bottom: 22px;
  }

  .faq {
    gap: 12px;
  }

  .faq-item {
    border-radius: 16px;
  }

  .faq-item summary {
    grid-template-columns: 1fr 36px;
    gap: 14px;
    padding: 18px;
    font-size: 1.02rem;
  }

  .faq-item summary::after {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .faq-item p {
    padding: 0 18px 20px;
    line-height: 1.65;
  }

  .faq-media {
    border-radius: 0;
  }

  section .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-row-user,
  .chat-row-answer .chat-avatar,
  .chat-row-answer .chat-answer {
    opacity: 1;
    animation: none !important;
  }

  .chat-row-answer .chat-typing {
    display: none;
  }
}

/* =========================================================
   Overrides responsivos — SEMPRE no fim do arquivo
   ========================================================= */

/* Âncoras sem JS (ou com JS falho) não ficam sob o nav fixo */
section[id], header[id] { scroll-margin-top: 88px; }

/* Hero 861–1100px: figura absoluta + copy de 520px não cabem juntas
   (badge "Atendimento 100% online" cobria o lede — auditoria 2026-07-04).
   Encolhe a figura e recolhe o badge esquerdo pra dentro dela. */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero-copy { max-width: min(440px, 46vw); }
  .hero-figure { height: min(520px, 66vh); }
  .b-atend { left: -4%; }
  .b-crp { left: -4%; }
}

/* Mobile: copy (H1 + CTA) antes da foto — conversão na primeira dobra.
   hero-mono e hero-grid são absolute, não entram no fluxo flex. */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero > .wrap { order: -1; }
  .hero-figure { margin-top: 34px; }
}

/* Footer completo: 4 col → 2 col → 1 col */
@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Float dos temas: SÓ desktop com mouse — em touch ficava bugado/acelerado
   (economia de bateria + loop infinito) e float sem cursor não comunica nada */
@media (hover: hover) and (pointer: fine) {
  .tema { animation: tema-float 6s ease-in-out infinite; }
  .tema:nth-child(2n) { animation-duration: 6.9s; animation-delay: .7s; }
  .tema:nth-child(3n) { animation-duration: 7.6s; animation-delay: 1.3s; }
  .tema:nth-child(4n+1) { animation-delay: 1.9s; }
  .tema:nth-child(5n) { animation-duration: 5.4s; animation-delay: .4s; }
}
