﻿/* =========================================================
   Mentes com Sentido — Meyre Ellen S. Crispim
   Avaliação Neuropsicológica · Psicologia + Literatura
   Design system: creme quente + vinho profundo + dourado
   (paleta espelhada na identidade visual da Meyre —
    faixa vinho, ornamentos dourados, fundo marfim)
   ========================================================= */

:root {
  /* Neutrals — creme/marfim quente */
  --cream:        #FAF5EE;
  --cream-2:      #F3E9DC;
  --cream-3:      #E8D9C6;
  --paper:        #FFFFFF;

  /* Brand vinho (faixa da identidade) */
  --wine-900:    #26060F;
  --wine-800:    #390A1A;
  --wine-700:    #4E1128;   /* BRAND — capa/hero */
  --wine-600:    #642039;
  --wine-500:    #7E3552;
  --rose:         #C08FA0;
  --rose-soft:    #F2DDE2;

  /* Dourado (ornamentos e destaques da identidade) */
  --gold:         #D8AE62;   /* MENU */
  --gold-soft:    #EDD5A2;
  --gold-deep:    #B08637;
  --gold-ink:     #8A6524;   /* dourado legível sobre creme */

  --wa:           #25D366;
  --wa-dark:      #1eb257;

  /* Text */
  --ink:          #2E1720;
  --ink-soft:     #5B4650;
  --ink-muted:    #8E7A82;
  --on-wine:     #F8F0E7;
  --on-wine-soft:#E4CBD3;

  --line:         rgba(46,23,32,.14);
  --line-soft:    rgba(46,23,32,.09);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;  /* display / headings */
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:   4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 10px rgba(46,10,26,.06);
  --shadow:    0 18px 50px -22px rgba(46,10,26,.30);
  --shadow-lg: 0 40px 80px -30px rgba(46,10,26,.38);

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 52px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.68;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
/* height:auto neutraliza o atributo height="" do HTML, que sobrescrevia o
   aspect-ratio dos retratos e os esticava (ex.: 358x1024 no mobile) */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(54px, 6vw, 92px); }
.bg-cream   { background: var(--cream); }
.bg-cream2  { background: var(--cream-2); }
.bg-paper   { background: var(--paper); }
.bg-wine   { background: var(--wine-700); color: var(--on-wine); }
.bg-wine.deep { background: var(--wine-800); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: .004em; color: var(--ink); overflow-wrap: break-word; }
.bg-wine h1, .bg-wine h2, .bg-wine h3 { color: #fff; }

.display { font-size: clamp(1.95rem, 4vw, 3.35rem); font-weight: 600; letter-spacing: .01em; line-height: 1.12; }
h2.title { font-size: clamp(1.95rem, 3.9vw, 3.05rem); line-height: 1.08; letter-spacing: 0; }
h3 { font-size: 1.35rem; font-weight: 600; }

/* Emphasis: corpo → itálico verde; títulos → Poppins bold em dourado (contraste com a serifada) */
em, .accent-serif { font-style: italic; color: var(--wine-600); }
h1 em, h2 em, h3 em, h4 em, .display em, .title em {
  font-family: var(--sans); font-weight: 700; font-style: normal; letter-spacing: -.015em; color: var(--gold-ink); }
.bg-wine em { color: var(--gold-soft); }
.bg-wine h1 em, .bg-wine h2 em, .bg-wine h3 em { color: var(--gold); font-family: var(--sans); font-weight: 700; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-deep); display: inline-block; }
.eyebrow.centered::after { content: ""; width: 34px; height: 1px; background: var(--gold-deep); display: inline-block; }
.bg-wine .eyebrow { color: var(--gold); }
.bg-wine .eyebrow::before, .bg-wine .eyebrow.centered::after { background: var(--gold); }

.lead { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.65; }
.bg-wine .lead { color: var(--on-wine-soft); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--wine-700); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 50px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(46,10,26,.5); }
.btn svg { width: 18px; height: 18px; }
.btn-gold    { --bg: var(--gold); --fg: #3A0C1A; }
.btn-gold:hover { background: var(--gold-deep); color:#fff; }
.btn-wa      { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover{ background: var(--wa-dark); }
.btn-outline { background: transparent; color: var(--wine-700); border-color: var(--line); }
.btn-outline:hover { background: var(--wine-700); color:#fff; border-color: var(--wine-700); }
.bg-wine .btn-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.bg-wine .btn-outline:hover { background:#fff; color: var(--wine-800); }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* Attention-grabbing CTA — laranja para destaque sobre o verde */
.btn-cta {
  --bg: #D9822F; --fg: #fff;
  position: relative; overflow: hidden;
  padding: 18px 42px; font-size: 1.06rem; font-weight: 700; letter-spacing: .015em;
  background: linear-gradient(135deg, #F0A85B 0%, #D9822F 50%, #B95F16 100%);
  color: #fff; border: none;
  box-shadow: 0 14px 32px -10px rgba(185,95,22,.65);
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-cta .cta-ico {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.22); animation: ctaWiggle 2.6s ease-in-out infinite;
}
.btn-cta .cta-ico svg { width: 16px; height: 16px; }
.btn-cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); animation: ctaShine 3.4s ease-in-out infinite;
}
.btn-cta:hover { background: linear-gradient(135deg, #FFBC72 0%, #D9822F 55%, #A85311 100%);
  transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 44px -10px rgba(185,95,22,.85); animation-play-state: paused; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 14px 32px -10px rgba(185,95,22,.65), 0 0 0 0 rgba(217,130,47,.55); }
  50%      { box-shadow: 0 16px 36px -10px rgba(185,95,22,.75), 0 0 0 16px rgba(217,130,47,0); }
}
@keyframes ctaWiggle { 0%,88%,100% { transform: rotate(0); } 92% { transform: rotate(-12deg); } 96% { transform: rotate(12deg); } }
@keyframes ctaShine { 0%, 62% { left: -60%; } 100% { left: 130%; } }

/* ============================================================
   HEADER — menu dourado
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: box-shadow .35s ease, padding .35s ease, background .35s ease;
  padding-block: 16px;
  background: var(--gold);
}
.site-header.scrolled {
  box-shadow: 0 6px 24px -14px rgba(46,10,26,.5), 0 1px 0 rgba(0,0,0,.05);
  padding-block: 11px;
  background: var(--gold);
}
/* menu equilibrado: logo à esquerda, navegação centralizada, CTA à direita */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; grid-column: 1; justify-self: start; }
.brand-logo { height: 58px; width: auto; display: block; border-radius: 12px;
  box-shadow: 0 4px 14px -8px rgba(46,10,26,.5); transition: height .35s ease; }
.site-header.scrolled .brand-logo { height: 50px; }

/* ---- Marca tipográfica ----------------------------------------------------
   O briefing informa que a Meyre TEM identidade visual, mas o arquivo do logo
   não veio junto com o material. Até ele chegar, a marca é composta em texto
   (mesma tipografia da identidade: Cormorant Garamond + Poppins).
   PARA TROCAR PELO LOGO DEFINITIVO: salve o arquivo em assets/img/logo.png e
   substitua, no index.html, o bloco <span class="brand-wm">…</span> por
   <img class="brand-logo" src="assets/img/logo.png" alt="Mentes com Sentido">
   (isso vale nos 2 lugares: cabeçalho e rodapé).
   -------------------------------------------------------------------------- */
.brand-wm { display: flex; flex-direction: column; align-items: stretch; line-height: 1; }
.brand-wm .wm-name { font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--wine-800);
  white-space: nowrap; transition: font-size .35s ease; }
.brand-wm .wm-rule { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.brand-wm .wm-rule::before, .brand-wm .wm-rule::after {
  content: ""; flex: 1; height: 1px; background: rgba(58,10,26,.35); }
.brand-wm .wm-sub { font-family: var(--sans); font-weight: 600; font-size: .55rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wine-700); white-space: nowrap; }
.site-header.scrolled .brand-wm .wm-name { font-size: 1.26rem; }
/* versão do rodapé (fundo vinho escuro) */
.footer-brand .brand-wm .wm-name { color: #fff; }
.footer-brand .brand-wm .wm-sub { color: var(--gold); }
.footer-brand .brand-wm .wm-rule::before,
.footer-brand .brand-wm .wm-rule::after { background: rgba(255,255,255,.28); }
/* versão do menu lateral (fundo creme) */
.nav-panel .brand-wm { margin-bottom: 10px; }

.nav-links { display: flex; align-items: center; gap: 26px; grid-column: 2; justify-self: center; }
.nav-links a { font-size: .9rem; font-weight: 600; color: #4A1226; position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--wine-700); transition: width .3s ease; }
.nav-links a:hover { color: var(--wine-800); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; grid-column: 3; justify-self: end; }
.nav-cta .nav-wa { padding: 11px 22px; font-size: .87rem; }
.nav-links { column-gap: 22px; }
.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--wine-800); margin: 5px auto; transition: .3s; border-radius: 2px; }

/* ============================================================
   HERO — capa vinho #4E1128, retrato emoldurado
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(580px, 90vh, 880px);
  display: flex; align-items: center; color: var(--on-wine);
  background: var(--wine-700);
}
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 50% at 78% 30%, rgba(216,174,98,.20), rgba(216,174,98,0) 60%),
    radial-gradient(60% 62% at 18% 82%, rgba(126,53,82,.42), rgba(126,53,82,0) 62%),
    radial-gradient(80% 70% at 90% 90%, rgba(46,10,26,.5), rgba(46,10,26,0) 60%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 128px clamp(22px, 5vw, 52px) 104px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 66px); align-items: center; }
.hero-content { max-width: 580px; animation: hero-up .9s cubic-bezier(.2,.7,.2,1) both; }
/* padronizado com o estilo .eyebrow do restante do site */
.hero-eyebrow { display: inline-flex; align-items: center; gap: .8em; font-family: var(--sans); font-size: .74rem;
  font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); display: inline-block; }
.hero-title { margin: 0 0 16px; line-height: 1.06; font-weight: 600; }
.hero-title .t-thin { display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem); letter-spacing: .01em; color: var(--rose-soft); }
.hero-title .nowrap { white-space: nowrap; }
@media (max-width: 560px) { .hero-title .nowrap { white-space: normal; } }
.hero-title .t-bold { display: block; font-family: var(--sans); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3.05rem); letter-spacing: -.015em; color: #fff; margin-top: .06em; }
.hero-title .t-bold em { font-style: normal; color: var(--gold); }
.hero-title em { font-family: var(--sans); font-weight: 700; font-style: normal; color: var(--gold); letter-spacing: -.01em; white-space: nowrap; }
/* subtítulo e checks harmonizados: mesma família (Poppins) e mesmo tamanho */
.hero-sub { font-family: var(--sans); font-weight: 400; font-size: 1.04rem;
  color: var(--on-wine-soft); letter-spacing: 0; line-height: 1.6; max-width: 34em; margin-bottom: 24px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-points { display: grid; gap: 7px; margin-bottom: 32px; }
.hero-points li { position: relative; display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans);
  font-size: 1.04rem; line-height: 1.4; color: var(--on-wine); font-weight: 500; }
.hero-points svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-actions .btn-cta { padding: 20px 48px; font-size: 1.14rem; }
.hero-actions .btn-cta .cta-ico { width: 28px; height: 28px; }
/* ---- retrato emoldurado com animação sutil ---- */
.hero-media { position: relative; justify-self: center; width: 100%; max-width: 430px;
  animation: hero-up 1s cubic-bezier(.2,.7,.2,1) .12s both; }
.hero-blob { position: absolute; z-index: 0; inset: -12% -10% -6% -8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216,174,98,.4), rgba(216,174,98,0) 72%);
  filter: blur(6px); animation: heroGlow 7s ease-in-out infinite; }
.hero-frame-wrap { position: relative; z-index: 1; animation: heroFloat 6.5s ease-in-out infinite; }
.hero-ring { position: absolute; z-index: 0; top: 50%; left: 50%; width: 122%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(216,174,98,.45);
  pointer-events: none; animation: heroRing 30s linear infinite; }
.hero-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px 3px rgba(216,174,98,.6); }
.hero-frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5;
  border-radius: 24px 24px 20px 20px; overflow: hidden; border: 6px solid #fff; background: #fff;
  box-shadow: 0 34px 74px -30px rgba(30,6,14,.6), 0 8px 22px -12px rgba(30,6,14,.4); }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* selo do serviço sobre a foto da capa */
.hero-tag { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%);
  background: var(--gold); color: var(--wine-800); font-family: var(--sans); font-weight: 700;
  font-size: 1rem; letter-spacing: .01em; padding: 11px 28px; border-radius: 50px;
  box-shadow: 0 12px 26px -10px rgba(30,6,14,.5), inset 0 0 0 1px rgba(255,255,255,.35); white-space: nowrap;
  /* keyframes próprio: heroBadge zerava o translateX(-50%) e jogava o selo pra fora da tela */
  animation: heroTag 6.5s ease-in-out .4s infinite; }
@keyframes heroTag { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.hero-badge { position: absolute; z-index: 2; left: -18px; bottom: 30px;
  display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow); animation: heroBadge 6.5s ease-in-out .4s infinite; }
.hero-badge .hb-num { font-family: var(--serif); font-size: 2.5rem; line-height: .9; color: var(--wine-700); font-weight: 700; }
.hero-badge .btxt { font-size: .74rem; color: var(--ink-soft); line-height: 1.2; }
.hero-badge .btxt b { display: block; color: var(--ink); font-weight: 700; font-size: .82rem; }
.hero-wave { position: absolute; left: 0; bottom: -1px; z-index: 4; width: 100%;
  height: clamp(46px, 6vw, 88px); color: var(--cream-2); pointer-events: none; display: block; }
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroGlow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.04); } }
@keyframes heroBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes heroRing { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line-soft); background: var(--cream-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 32px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.trust-item svg { width: 27px; height: 27px; color: var(--gold-deep); flex: none; }
.trust-item .t { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1.05; }
.trust-item .s { font-size: .82rem; color: var(--ink-muted); }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }

/* ============================================================
   INTRO — retrato de apresentação (2ª seção)

   Este bloco ocupa o lugar do antigo player de vídeo do modelo.
   A moldura mantém o mesmo formato vertical 9/16 e a mesma borda
   branca, mas exibe uma foto fixa com a assinatura da Meyre na
   faixa vinho — sem <video>, sem autoplay, sem peso extra.
   ============================================================ */
.intro-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 66px); align-items: center; margin-bottom: clamp(44px, 5vw, 64px); }
.intro-copy .title { font-size: clamp(1.95rem, 3.9vw, 3.05rem); }
.intro-figure { position: relative; width: 100%; max-width: 330px; margin: 0 auto; aspect-ratio: 9/16;
  border-radius: 22px; overflow: hidden; border: 6px solid #fff; background: var(--cream-2);
  box-shadow: 0 34px 74px -30px rgba(30,6,14,.55), 0 8px 22px -12px rgba(30,6,14,.4); }
.intro-figure::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(216,174,98,.45); }
.intro-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 24%; display: block; }
.intro-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 54px 20px 20px; text-align: center; color: #fff;
  background: linear-gradient(180deg, rgba(38,6,15,0) 0%, rgba(38,6,15,.58) 42%, rgba(38,6,15,.94) 100%); }
.intro-figure figcaption .q { display: block; font-family: var(--serif); font-style: italic;
  font-size: 1.18rem; line-height: 1.3; color: var(--gold-soft); }
.intro-figure figcaption .n { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-wine-soft); margin-top: 9px; }
.fig-seal { position: absolute; z-index: 3; top: 14px; left: 14px;
  background: var(--gold); color: var(--wine-800); font-family: var(--sans); font-weight: 700;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 50px;
  box-shadow: 0 10px 22px -10px rgba(30,6,14,.65), inset 0 0 0 1px rgba(255,255,255,.3); }
@media (max-width: 1024px) {
  .intro-split { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .intro-copy .eyebrow { justify-content: center; }
  .intro-figure { max-width: 300px; }
}

/* ============================================================
   SERVIÇOS / AVALIAÇÕES (dois cards grandes)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 38px 34px 34px; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  display: flex; flex-direction: column;
}
.svc-card::before { content:""; position:absolute; left:0; top:0; width:100%; height:5px;
  background: linear-gradient(90deg, var(--wine-600), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .svc-ico { width: 62px; height: 62px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--wine-600), var(--wine-800));
  box-shadow: inset 0 0 0 1px rgba(216,174,98,.28), 0 10px 22px -12px rgba(46,10,26,.6); }
.svc-card .svc-ico svg { width: 32px; height: 32px; stroke-width: 1.7; }
.svc-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.svc-card p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.svc-tags span { font-size: .76rem; font-weight: 600; color: var(--wine-700);
  background: var(--rose-soft); border: 1px solid rgba(126,53,82,.28); padding: 6px 12px; border-radius: 50px; }
.svc-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   BANDA DE AVALIAÇÃO (split verde/creme) — funções & demandas
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: -1; }
.approach-media, .about-media, .ben-media, .constel .split-media { max-width: 400px; width: 100%; margin-inline: auto; }
.approach-media { position: relative; }
.approach-media img { border-radius: 12px 12px 120px 12px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width:100%; }
.approach-media .tag {
  position: absolute; right: -18px; top: 30px; background: var(--gold); color: #3A0C1A;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 700; padding: 14px 22px; border-radius: 10px;
  box-shadow: var(--shadow); text-align: center; line-height: 1.1;
}
.approach-media .tag small { display:block; font-family: var(--sans); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; opacity:.75; }

/* pill/chips de funções cognitivas */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { font-size: .84rem; font-weight: 600; padding: 9px 16px; border-radius: 50px; }
.bg-wine .pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: var(--on-wine); }
.bg-cream .pill, .bg-cream2 .pill { background: var(--paper); border: 1px solid var(--line-soft); color: var(--wine-700); box-shadow: var(--shadow-sm); }

/* lista de demandas com check */
.ben-list { display: grid; gap: 16px; margin-top: 30px; }
.ben-list li { display: flex; gap: 15px; align-items: flex-start; }
.ben-list .ck { flex:none; width: 30px; height: 30px; border-radius: 50%; background: var(--wine-700); color: var(--gold); display:grid; place-items:center; margin-top:2px; }
.ben-list .ck svg { width: 15px; height: 15px; }
.ben-list p { font-size: 1.04rem; color: var(--ink-soft); }
.ben-list b { color: var(--ink); font-weight: 700; }
.bg-wine .ben-list .ck { background: var(--gold); color: var(--wine-800); }
.bg-wine .ben-list p { color: var(--on-wine); }
.bg-wine .ben-list b { color: #fff; }
.ben-media { position: relative; }
.ben-media img { border-radius: 120px 12px 12px 12px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width:100%; }

/* grid de demandas investigadas (tags em card) */
.demand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.demand-grid .dm { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: .92rem; font-weight: 500; color: var(--on-wine);
  transition: background .25s, transform .25s; }
.demand-grid .dm:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.demand-grid .dm .dot { flex:none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,174,98,.18); }
/* variante clara (fundo creme) */
.bg-cream .demand-grid .dm, .bg-cream2 .demand-grid .dm {
  background: var(--paper); border: 1px solid var(--line-soft); color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.bg-cream .demand-grid .dm:hover, .bg-cream2 .demand-grid .dm:hover { background: var(--paper); box-shadow: var(--shadow); }

/* ============================================================
   CHIPS (pílulas/tags) — layout harmônico + efeito mosaico
   ============================================================ */
.pill-cloud, .svc-tags { justify-content: center; }
.chips-block.reveal { opacity: 1; transform: none; }        /* container fixo; quem anima são as pílulas */
.demand-grid.reveal { opacity: 1; transform: none; }
.pill-cloud .pill, .svc-tags span, .demand-grid .dm {
  opacity: 0; animation-fill-mode: both;
  transition: box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
/* ao entrar em cena, cada pílula "monta" no lugar em cascata */
.reveal.in .pill-cloud .pill,
.reveal.in .svc-tags span,
.demand-grid.reveal.in .dm {
  animation-name: chipPop; animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.85,.3,1.4);
}
@keyframes chipPop { from { opacity: 0; transform: scale(.7) translateY(14px); } to { opacity: 1; transform: none; } }
.pill-cloud .pill:hover, .svc-tags span:hover, .demand-grid .dm:hover { box-shadow: 0 9px 20px -8px rgba(46,10,26,.4); }
/* atrasos em cascata */
.pill-cloud .pill:nth-child(1), .svc-tags span:nth-child(1), .demand-grid .dm:nth-child(1) { animation-delay: .05s; }
.pill-cloud .pill:nth-child(2), .svc-tags span:nth-child(2), .demand-grid .dm:nth-child(2) { animation-delay: .10s; }
.pill-cloud .pill:nth-child(3), .svc-tags span:nth-child(3), .demand-grid .dm:nth-child(3) { animation-delay: .15s; }
.pill-cloud .pill:nth-child(4), .svc-tags span:nth-child(4), .demand-grid .dm:nth-child(4) { animation-delay: .20s; }
.pill-cloud .pill:nth-child(5), .svc-tags span:nth-child(5), .demand-grid .dm:nth-child(5) { animation-delay: .25s; }
.pill-cloud .pill:nth-child(6), .demand-grid .dm:nth-child(6) { animation-delay: .30s; }
.pill-cloud .pill:nth-child(7), .demand-grid .dm:nth-child(7) { animation-delay: .35s; }
.pill-cloud .pill:nth-child(8), .demand-grid .dm:nth-child(8) { animation-delay: .40s; }
.pill-cloud .pill:nth-child(9), .demand-grid .dm:nth-child(9) { animation-delay: .45s; }
.pill-cloud .pill:nth-child(10) { animation-delay: .50s; }
.pill-cloud .pill:nth-child(11) { animation-delay: .55s; }
.pill-cloud .pill:nth-child(12) { animation-delay: .60s; }
@media (prefers-reduced-motion: reduce) {
  .pill-cloud .pill, .svc-tags span, .demand-grid .dm { opacity: 1 !important; animation: none !important; }
}

/* ============================================================
   CONTEXTOS (avaliação psicológica) — cards com ícone
   ============================================================ */
.ctx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ctx-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  position: relative; overflow: hidden;
}
.ctx-card::after { content:""; position:absolute; left:0; top:0; height:100%; width:3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.ctx-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ctx-card:hover::after { transform: scaleY(1); }
.ctx-card .cico { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; color: var(--wine-700);
  background: linear-gradient(150deg, var(--rose-soft), #EBCBD5);
  box-shadow: inset 0 0 0 1px rgba(216,174,98,.22), 0 6px 16px -10px rgba(46,10,26,.5);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, color .4s ease, box-shadow .4s ease; }
.ctx-card .cico svg { width: 27px; height: 27px; stroke-width: 1.85; }
.ctx-card:hover .cico { transform: translateY(-2px) scale(1.08) rotate(-4deg);
  background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff;
  box-shadow: 0 12px 24px -8px rgba(216,174,98,.7); }
.ctx-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.ctx-card p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.6; }
.ctx-card ul.mini { margin-top: 12px; display: grid; gap: 7px; }
.ctx-card ul.mini li { display: flex; gap: 9px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.ctx-card ul.mini .d { flex:none; width:6px; height:6px; border-radius:50%; background: var(--gold-deep); margin-top: 8px; }

.cta-band { text-align: center; margin-top: 54px; }
.cta-band .q { font-family: var(--serif); font-size: clamp(1.7rem,3.4vw,2.5rem); font-weight: 600; color: var(--wine-700); max-width: 18em; margin: 0 auto 12px; line-height: 1.2; letter-spacing: .01em; }
.cta-band .q em { font-family: var(--sans); font-weight: 700; font-style: normal; color: var(--gold-ink); letter-spacing: -.015em; }
.bg-wine .cta-band .q { color: #fff; }
.bg-wine .cta-band .q em { color: var(--gold); }
.cta-band p { color: var(--ink-soft); margin-bottom: 26px; }
.bg-wine .cta-band p { color: var(--on-wine-soft); }

/* ============================================================
   COMO FUNCIONA (3 passos)
   ============================================================ */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.step {
  position: relative; padding: 40px 30px 34px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .n { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; color: var(--gold-deep); line-height: 1; margin-bottom: 14px; }
.step .sico { position: absolute; top: 34px; right: 30px; color: var(--rose); }
.step .sico svg { width: 34px; height: 34px; }
.step h4 { font-size: 1.35rem; margin-bottom: 10px; color: var(--ink); }
.step p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.6; }
.step .flags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.step .flags span { font-size: .72rem; font-weight: 600; color: var(--wine-700); background: var(--cream-2); border: 1px solid var(--line-soft); padding: 5px 11px; border-radius: 50px; }

/* ============================================================
   SOBRE
   ============================================================ */
.about-media { position: relative; }
.about-media img { border-radius: 12px 12px 12px 120px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width:100%; object-position: 50% 15%; }
.about-media .crp {
  position: absolute; left: -20px; bottom: 34px; background: var(--wine-700); color: #fff;
  padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow); text-align:center;
}
.about-media .crp .n { font-family: var(--serif); font-size: 2rem; font-weight:700; line-height:1; color: var(--gold); }
.about-media .crp .l { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-wine-soft); margin-top:4px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin-top: 30px; }
.about-cols h4 { font-family: var(--sans); font-size: .78rem; letter-spacing:.16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: 14px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); margin-bottom: 9px; }
.mini-list .d { flex:none; width:6px; height:6px; border-radius:50%; background: var(--gold-deep); margin-top: 9px; }
.about blockquote { font-family: var(--serif); font-size: clamp(1.3rem,2.5vw,1.85rem); font-style: italic; color: var(--wine-600); line-height: 1.32; margin: 28px 0; padding-left: 22px; border-left: 3px solid var(--gold); letter-spacing: .01em; }

/* ============================================================
   DEPOIMENTOS / GOOGLE
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.quote-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 32px 30px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); position: relative;
}
.quote-card .mark { font-family: var(--serif); font-size: 4rem; line-height: .8; color: var(--rose); height: 30px; }
.quote-card p { font-size: 1.04rem; color: var(--ink); line-height: 1.65; font-style: italic; font-family: var(--sans); font-weight: 400; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--rose-soft); color: var(--wine-700); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.quote-card .who > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.quote-card .who .nm { font-family: var(--sans); font-size: .86rem; font-weight: 700; font-style: normal; color: var(--ink); }
.quote-card .who .rl { font-size: .78rem; color: var(--ink-muted); }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; }

/* ============================================================
   MENTES COM SENTIDO — bloco do projeto autoral

   Ocupa o lugar da antiga seção de avaliações do Google do
   modelo. A Meyre ainda não tem perfil no Google Meu Negócio
   (ver briefing), então nada de notas/estrelas aqui.
   Quando o perfil existir, esta seção pode receber o widget.
   ============================================================ */
.method-quote { max-width: 760px; margin: clamp(40px,5vw,56px) auto 0; text-align: center;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px;
  padding: clamp(30px,4vw,44px); box-shadow: var(--shadow-sm); position: relative; }
.method-quote::before { content: "\201C"; position: absolute; top: -6px; left: 22px;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold-soft); }
.method-quote .mq { font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.28; color: var(--wine-700); letter-spacing: .01em; }
.method-quote .mw { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-top: 18px; }

/* ============================================================
   AMBIENTE gallery
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 188px; gap: 14px; margin-top: 42px; }
.gallery figure { overflow: hidden; border-radius: var(--radius-lg); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery figure::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34,8,18,.5)); opacity:0; transition: opacity .4s; }
.gallery figure:hover::after { opacity: 1; }

/* ============================================================
   LOCAIS E HORÁRIOS
   ============================================================ */
.locs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.loc-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; padding: 30px 30px;
  box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; }
.loc-card .lic { flex:none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color:#fff;
  background: linear-gradient(150deg, var(--wine-600), var(--wine-800)); }
.loc-card .lic svg { width: 26px; height: 26px; }
.loc-card h4 { font-size: 1.35rem; margin-bottom: 6px; }
.loc-card .addr { font-size: .92rem; color: var(--ink-soft); margin-bottom: 12px; }
.loc-card .hours { display: grid; gap: 5px; font-size: .88rem; color: var(--ink-soft); }
.loc-card .hours b { color: var(--ink); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-accordion { max-width: 780px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-q { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-q[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-q summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); transition: color .2s ease; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary:hover, .faq-q[open] summary { color: var(--wine-700); }
.faq-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 3px;
  border-right: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; }
.faq-q[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; font-size: 1.04rem; color: var(--ink-soft); line-height: 1.65; }
.faq-q[open] .faq-a { animation: faqOpen .35s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq-cta { text-align: center; margin-top: 42px; }
.faq-cta p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 18px; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,80px); align-items: center; }
.contact-list { display: grid; gap: 8px; margin-top: 30px; }
.contact-list a, .contact-list .item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .25s; }
.contact-list a:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(216,174,98,.18); color: var(--gold); display:grid; place-items:center; flex:none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list a > span:last-child, .contact-list .item > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.contact-list .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-wine-soft); }
.contact-list .v { font-size: 1rem; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.contact-cta { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); text-align: center; }
.contact-cta .eyebrow { justify-content: center; margin-bottom: 18px; }
.contact-cta h3 { color:#fff; font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 14px; }
.contact-cta p { color: var(--on-wine-soft); margin-bottom: 26px; }
.map-wrap { margin-top: 18px; border-radius: 12px; overflow:hidden; border:1px solid rgba(255,255,255,.14); }
.map-wrap iframe { display:block; width:100%; height: 240px; border:0; filter: grayscale(.2) contrast(1.05); }
.map-wrap img { display:block; width:100%; height: 300px; object-fit: cover; object-position: 50% 14%; }

.site-footer { background: var(--wine-900); color: var(--on-wine-soft); padding-block: 54px 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { max-width: 360px; }
.footer-brand .brand .mark { background: rgba(255,255,255,.06); }
.footer-brand .brand .wm strong { color: #fff; }
.footer-brand .brand .wm span { color: var(--gold); }
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: var(--on-wine-soft); transition: .25s; }
.footer-social a:hover { background: var(--gold); color: var(--wine-900); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-nav { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-nav h5 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 700; }
.footer-nav a { display: block; font-size: .9rem; margin-bottom: 10px; color: var(--on-wine-soft); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: var(--on-wine-soft); }
.footer-bottom a { color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
/* REGRA DE OURO deste botão: o alvo de toque é uma caixa fixa, ESTÁTICA e
   SEMPRE PRESENTE. No WebKit (iPhone), um position:fixed que MUDA DE ESTADO
   depois que a página já rolou fica com a área de toque desatualizada: ele é
   desenhado no lugar certo, mas o toque é testado no lugar antigo. O 1º toque
   se perde "acordando" o elemento e só o 2º abre.

   Diagnosticado em 28/07/2026, testando em iPhone (Safari e Chrome, anônima):
     · canto + liga/desliga ............ 2 toques
     · meio da tela + liga/desliga ..... 2 toques  <- descarta a barra de baixo
     · estático, sempre visível ........ 1 toque   <- OK
   O culpado era o IntersectionObserver alternando visibility/pointer-events,
   NÃO o transform e NÃO o pulso (removê-los sozinhos não resolveu). Por isso:
     · nada de transform no botão (nem na entrada, nem no hover)
     · nenhuma animação infinita — nem no botão, nem em pseudo-elemento dele
     · NÃO esconder/mostrar: nada de opacity/visibility/pointer-events
       alternando. Se um dia quiser o efeito "aparece depois da capa", tem
       que ser via display (reconstrói a área de toque), nunca visibility. */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  height: 54px; padding: 0 22px 0 15px; border-radius: 50px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: background .25s ease;        /* só cor: nada que mexa no layout */
  touch-action: manipulation;             /* sem espera por duplo-toque */
  -webkit-tap-highlight-color: rgba(0,0,0,.12);
}
.wa-float:active { background: var(--wa-dark); }   /* retorno visual no toque */

/* O pulso foi removido: ele animava box-shadow, que não é compositável, então
   repintava o botão fixo na thread principal a cada frame, para sempre. Morar
   no ::after não isolava nada — pseudo-elemento pinta na mesma camada do pai.
   Era essa repintura contínua que deixava a área de toque desatualizada.
   Se um dia voltar, tem que ser transform/opacity em camada própria.        */

.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float-label { white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Lightbox ---------- */
.gallery img, .hero-frame img, .approach-media img, .about-media img, .ben-media img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 44px); background: rgba(30,7,16,.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  cursor: zoom-out; opacity: 0; transition: opacity .3s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(94vw, 1040px); max-height: 90vh; width: auto; height: auto; border-radius: 10px;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.6); cursor: default; animation: lbIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox-close { position: absolute; top: clamp(14px,3vw,24px); right: clamp(14px,3vw,26px);
  width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }

/* ============================================================
   PARA QUEM É — cards por fase da vida
   ============================================================ */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.who-card { position: relative; overflow: hidden; text-align: center;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 32px 24px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease; }
.who-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--wine-500)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.who-card:hover::after { transform: scaleX(1); }
.who-card .wico { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--wine-600), var(--wine-800));
  box-shadow: inset 0 0 0 1px rgba(216,174,98,.3), 0 10px 22px -12px rgba(46,10,26,.6);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease; }
.who-card .wico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform-origin: center; }
.who-card:hover .wico { transform: translateY(-2px) scale(1.08); background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.who-card h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--ink); }
.who-card p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.55; }
/* animações idle sutis dos ícones */
.who-grid .who-card:nth-child(1) .wico svg { animation: tlBreathe 4.4s ease-in-out infinite; }
.who-grid .who-card:nth-child(2) .wico svg { animation: tlFloat 4s ease-in-out infinite; }
.who-grid .who-card:nth-child(3) .wico svg { animation: tlBreathe 4.6s ease-in-out .4s infinite; }
.who-grid .who-card:nth-child(4) .wico svg { animation: tlScan 4s ease-in-out infinite; }
@media (max-width: 1024px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .who-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ============================================================
   TIMELINE — etapas da avaliação neuropsicológica
   ============================================================ */
.timeline { position: relative; max-width: 780px; margin: 54px auto 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 26px; bottom: 30px; width: 3px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--wine-500) 100%); border-radius: 3px; }
.tl-step { position: relative; padding: 0 0 26px 96px; }
.tl-step:last-child { padding-bottom: 0; }

/* marcador com ícone animado + número */
.tl-marker { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep)); color: #fff;
  display: grid; place-items: center; z-index: 1;
  box-shadow: 0 12px 26px -10px rgba(176,134,55,.75), inset 0 0 0 1px rgba(255,255,255,.25);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.tl-marker::after { content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(216,174,98,.5); opacity: 0; transition: opacity .4s ease, transform .4s ease; }
.tl-ico { display: grid; place-items: center; }
.tl-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transform-origin: center; will-change: transform; }
.tl-num { position: absolute; top: -5px; right: -5px; width: 25px; height: 25px; border-radius: 50%;
  background: var(--wine-700); color: #fff; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--cream-2); box-shadow: 0 3px 8px -3px rgba(46,10,26,.5); }

.tl-body { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 20px 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.tl-body::before { content: ""; position: absolute; left: -8px; top: 26px; width: 15px; height: 15px;
  background: var(--paper); border-left: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  transform: rotate(45deg); transition: border-color .35s ease; }
.tl-kicker { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.tl-step h3 { font-size: 1.35rem; margin-bottom: 6px; color: var(--ink); }
.tl-step p { font-size: 1.04rem; color: var(--ink-soft); line-height: 1.6; }

/* hover */
.tl-step:hover .tl-marker { transform: scale(1.09); box-shadow: 0 16px 32px -10px rgba(176,134,55,.9); }
.tl-step:hover .tl-marker::after { opacity: 1; transform: scale(1.02); }
.tl-step:hover .tl-body { transform: translateX(5px); box-shadow: var(--shadow); border-color: transparent; }
.tl-cta { text-align: center; margin-top: 46px; }

/* animações idle dos ícones — uma por etapa */
.tl-step:nth-child(1) .tl-ico svg { animation: tlBreathe 4s ease-in-out infinite; }
.tl-step:nth-child(2) .tl-ico svg { animation: tlBeat 2.8s ease-in-out infinite; }
.tl-step:nth-child(3) .tl-ico svg { animation: tlScan 3.4s ease-in-out infinite; }
.tl-step:nth-child(4) .tl-ico svg { animation: tlFloat 3.6s ease-in-out infinite; }
.tl-step:nth-child(5) .tl-ico svg { animation: tlPulse 3s ease-in-out infinite; }
@keyframes tlBreathe { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.12);} }
@keyframes tlBeat { 0%,100%{ transform: scale(1);} 14%{ transform: scale(1.2);} 28%{ transform: scale(1);} 42%{ transform: scale(1.12);} 56%{ transform: scale(1);} }
@keyframes tlScan { 0%,100%{ transform: translate(-1.5px,-1.5px) rotate(-5deg);} 50%{ transform: translate(1.5px,1.5px) rotate(5deg);} }
@keyframes tlFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }
@keyframes tlPulse { 0%,100%{ transform: scale(1); opacity:1;} 50%{ transform: scale(1.1); opacity:.82;} }

/* reveal ao rolar */
.tl-step.reveal { opacity: 1; transform: none; }
.tl-step.reveal .tl-marker { opacity: 0; transform: scale(.3);
  transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.tl-step.reveal .tl-body { opacity: 0; transform: translateX(-30px) scale(.97); transform-origin: left center;
  transition: opacity .6s ease .12s, transform .6s cubic-bezier(.2,.85,.25,1) .12s; }
.tl-step.reveal.in .tl-marker { opacity: 1; transform: scale(1); }
.tl-step.reveal.in .tl-body { opacity: 1; transform: none; }
/* o ajuste mobile da timeline ficou no bloco "AJUSTES MOBILE" no fim do arquivo */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr; }
  .ctx-grid { grid-template-columns: repeat(2, 1fr); }
  .steps3 { grid-template-columns: 1fr; }
  .demand-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 760px) { .mbr { display: none; } }

@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .nav-toggle { display: block; }
  .split, .contact-grid, .locs { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .section-head .eyebrow { justify-content: center; }
  .hero { min-height: 0; display: block; align-items: stretch; }
  .hero-glow { background: radial-gradient(70% 34% at 50% 86%, rgba(126,53,82,.4), rgba(126,53,82,0) 74%); }
  .hero-inner { grid-template-columns: 1fr; padding: 104px clamp(20px,6vw,32px) 64px; gap: 8px; }
  .hero-content { max-width: none; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-points { max-width: 25em; margin-inline: auto; text-align: left; }
  .hero-actions { justify-content: center; }
  /* foto no topo no mobile */
  .hero-media { order: -1; max-width: 290px; margin: 6px auto 30px; }
  .hero-badge { left: -8px; bottom: 20px; }
  .hero-wave { height: clamp(38px, 9vw, 60px); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .trust-item:nth-child(3) { border-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .about-cols { grid-template-columns: 1fr; }
  .approach-media .tag { right: 10px; top: 14px; }
  .about-media .crp { left: 10px; }
  .hero-badge { left: 10px; }

  .nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--cream);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
    padding: 100px 34px 40px; z-index: 105; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
    display: flex; flex-direction: column; gap: 6px;
  }
  body.menu-open .nav-panel { transform: translateX(0); }
  .nav-panel a { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-panel .btn-wa { margin-top: 20px; font-family: var(--sans); font-size: 1rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(34,8,18,.5); opacity: 0; visibility: hidden; transition: .35s; z-index: 104; }
  body.menu-open .nav-scrim { opacity: 1; visibility: visible; }
  body.menu-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg);}
  body.menu-open .nav-toggle span:nth-child(2){ opacity:0;}
  body.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg);}
}
@media (min-width: 1025px) { .nav-panel, .nav-scrim { display: none; } }
@media (max-width: 560px) {
  .section-pad { padding-block: clamp(46px, 9vw, 72px); }
  .ctx-grid { grid-template-columns: 1fr; }
  .demand-grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; }
  .quote-card { padding: 28px 24px; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 34px; }
  .about-media .crp, .hero-badge { transform: scale(.92); transform-origin: left bottom; }
  .approach-media .tag, .about-media .crp, .hero-badge { position: absolute; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery .big, .gallery .tall { grid-column: auto; grid-row: auto; }
  .hero-actions .btn, .nav-panel .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .trust-item { border-left: 0 !important; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   AJUSTES MOBILE
   O header é fixed (90px, 72px depois do scroll). Sem
   scroll-margin, âncoras e rolagem escondiam os títulos.
   ============================================================ */
section[id], .site-footer, #top { scroll-margin-top: 96px; }

@media (max-width: 1024px) {
  /* trilha do grid podia crescer além da tela por causa do min-content
     do botão do CTA — minmax(0,1fr) prende no viewport */
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-inline: var(--gutter); }
  .hero-content, .hero-media { min-width: 0; }
}

@media (max-width: 640px) {
  /* ---- CTA: cabia em 442px num viewport de 390 ---- */
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 15px 26px; font-size: .95rem; }
  .hero-actions, .cta-band, .tl-cta, .svc-cta { width: 100%; }
  .hero-actions .btn-cta,
  .cta-band .btn-cta,
  .tl-cta .btn,
  .btn-lg.btn-cta {
    width: 100%; max-width: 380px; padding: 17px 22px; font-size: 1rem;
  }
  .hero-actions .btn-cta { margin-inline: auto; }
  .cta-band .btn-cta, .tl-cta .btn { margin-inline: auto; }
  .hero-actions .btn-cta .cta-ico { width: 24px; height: 24px; }

  /* ---- selo sobre a foto da capa ----
     "Avaliação Neuropsicológica" é longo e o selo é nowrap: no celular ele
     encostava nas bordas da moldura (290px). Encolhe junto com a foto. ---- */
  .hero-tag { font-size: .84rem; padding: 9px 18px; }

  /* ---- eyebrows: o traço decorativo ficava órfão quando o texto quebrava ---- */
  .eyebrow { font-size: .66rem; letter-spacing: .16em; gap: .6em; }
  .eyebrow::before, .eyebrow.centered::after { width: 22px; }
  .hero-eyebrow { font-size: .64rem; letter-spacing: .14em; }
  .hero-eyebrow::before { display: none; }

  /* ---- retratos: 4/5 em largura cheia comia uma tela inteira ---- */
  .approach-media, .about-media, .ben-media { max-width: 320px; }
  .approach-media .tag { right: 6px; top: 10px; font-size: 1rem; padding: 10px 15px; }
  .approach-media .tag br { display: none; }
  .approach-media .tag small { font-size: .55rem; letter-spacing: .12em; }
  .about-media .crp { left: 6px; }

  /* ---- timeline: o marcador espremia o card em ~275px ---- */
  .timeline { margin-top: 38px; }
  .timeline::before { left: 23px; }
  .tl-step { padding-left: 66px; padding-bottom: 20px; }
  .tl-marker { width: 48px; height: 48px; }
  .tl-ico svg { width: 24px; height: 24px; }
  .tl-num { width: 21px; height: 21px; font-size: .68rem; top: -4px; right: -4px; }
  .tl-body { padding: 18px 18px; }
  .tl-step h3 { font-size: 1.22rem; }
  .tl-step p, .tl-body p { font-size: .98rem; }

  /* ---- e-mail longo quebrando no meio da palavra ---- */
  .contact-list .v { font-size: .94rem; }
  .contact-list a, .contact-list .item { padding: 14px 16px; gap: 12px; }
  .contact-list .ic { width: 38px; height: 38px; }

  /* ---- botão flutuante: mantém o rótulo, encolhido para caber ---- */
  .wa-float {
    right: 14px;
    /* Longe da faixa de baixo: no Safari iOS os ~60px inferiores pertencem à
       barra do navegador. Com ela recolhida, o 1º toque ali só a reabre — e a
       barra reaberta encobre o botão, exigindo mais dois toques para acertar. */
    /* Folga da barra de baixo do Safari iOS. O teste do meio da tela provou
       que a barra NÃO era a causa dos 2 toques, mas a folga continua valendo
       para o botão não ficar encoberto quando a barra reabre. */
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    height: 52px; padding: 0 16px 0 12px; gap: 7px; font-size: .82rem;
  }
  .wa-float svg { width: 22px; height: 22px; }
  /* respiro para o flutuante nunca cobrir a última linha */
  .site-footer { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 400px) {
  :root { --gutter: 18px; }   /* mesmo recuo do .container e do hero */
}

/* a marca tipográfica é o item mais largo do cabeçalho: encolhe antes de
   espremer o botão do menu em telas pequenas */
@media (max-width: 480px) {
  .brand-wm .wm-name, .site-header.scrolled .brand-wm .wm-name { font-size: 1.08rem; letter-spacing: .09em; }
  .brand-wm .wm-sub { font-size: .48rem; letter-spacing: .14em; }
  .brand-wm .wm-rule { gap: 6px; margin-top: 5px; }
}
@media (max-width: 340px) {
  .brand-wm .wm-name, .site-header.scrolled .brand-wm .wm-name { font-size: .95rem; }
}
