/* =========================================================
   Dra. Ana Flávia Brolio — Landing Page
   Paleta e tipografia baseadas no Manual de Marca
   Dia -> Noite dirigido pelo scroll (variável --night: 0..1)
   ========================================================= */

@property --night { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  /* Cores fixas da marca */
  --sage:      #958E65;
  --sage-dark: #7c764f;
  --sage-60:   #b7b291;
  --sage-20:   #e5e3d5;
  --navy:      #383850;
  --coral:     #F2734C;
  --coral-soft:#f8a582;
  --wa-green:  #25D366;
  --wa-green-d:#1ebe5a;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 26px;
  --radius-lg: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* progresso do texto: clareia um pouco antes do fundo, p/ manter contraste */
  --ntext: clamp(0, calc((var(--night) - .06) * 1.7), 1);

  /* ---- Tokens que transitam de DIA para NOITE via color-mix(--night) ---- */
  --bg:        color-mix(in oklab, #F7F3EB, #14162a calc(var(--night) * 100%));
  --bg-alt:    color-mix(in oklab, #efe6d6, #191b31 calc(var(--night) * 100%));
  --surface:   color-mix(in oklab, #fffdf9, #222541 calc(var(--night) * 100%));
  --surface-solid: var(--surface);
  --text:      color-mix(in oklab, #45445c, #d3d1e2 calc(var(--ntext) * 100%));
  --text-soft: color-mix(in oklab, #6a6982, #a2a0ba calc(var(--ntext) * 100%));
  --heading:   color-mix(in oklab, #383850, #f1eee4 calc(var(--ntext) * 100%));
  --border:    color-mix(in oklab, rgba(149,142,101,.22), rgba(255,255,255,.12) calc(var(--night) * 100%));
  --tag:       color-mix(in oklab, #7c764f, #b7b291 calc(var(--night) * 100%));
  --header-bg: color-mix(in oklab, rgba(247,243,235,.86), rgba(16,18,34,.82) calc(var(--night) * 100%));

  --btn-bg:    color-mix(in oklab, #383850, #a49a6d calc(var(--night) * 100%));
  --btn-bg-h:  color-mix(in oklab, #2c2c42, #b4ab7f calc(var(--night) * 100%));
  --btn-fg:    color-mix(in oklab, #F7F3EB, #14162a calc(var(--night) * 100%));
  --ghost-fg:  var(--heading);

  --shadow-sm: 0 4px 20px rgba(20, 16, 30, calc(.06 + var(--night) * .22));
  --shadow-md: 0 18px 50px rgba(15, 12, 25, calc(.12 + var(--night) * .28));
  --shadow-lg: 0 30px 80px rgba(10, 8, 20, calc(.16 + var(--night) * .4));
  --img-filter: brightness(calc(1 - var(--night) * .08));
}

/* Suaviza o "pin" manual (botão dia/noite). O scroll NÃO usa transição. */
html.tweening { transition: --night .85s var(--ease); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* =========================================================
   CÉU DE FUNDO (fixo) — dia -> noite + estrelas piscando
   ========================================================= */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.sky::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in oklab, #bfe0f4, #0c1024 calc(var(--night) * 100%)) 0%,
      color-mix(in oklab, #e9edf3, #141834 calc(var(--night) * 100%)) 45%,
      color-mix(in oklab, #f7f3eb, #191b31 calc(var(--night) * 100%)) 100%);
}
/* brilho do sol/lua no alto */
.sky-glow {
  position: absolute; top: 8%; right: 14%; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in oklab, rgba(255,236,190,.85), rgba(226,230,255,.7) calc(var(--night) * 100%)) 0%,
    transparent 68%);
  filter: blur(6px);
  transform: translateY(calc(var(--night) * 10vh));
  opacity: calc(.7 - var(--night) * .25);
}
/* Estrelas: sempre animando; visibilidade cresce com a noite */
.sky-stars { position: absolute; inset: 0; opacity: var(--night); }
.sky-stars::before, .sky-stars::after {
  content: ""; position: absolute; inset: -10%;
  background-repeat: repeat;
}
.sky-stars::before {
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 27% 62%, #fff, transparent),
    radial-gradient(1.8px 1.8px at 41% 30%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 56% 74%, #fff, transparent),
    radial-gradient(1.7px 1.7px at 68% 22%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 79% 55%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 88% 34%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 8% 82%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 33% 88%, #fff, transparent);
  background-size: 100% 100%;
  animation: twinkleA 3.6s ease-in-out infinite alternate;
}
.sky-stars::after {
  background-image:
    radial-gradient(1.3px 1.3px at 18% 44%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 37% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 49% 58%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 63% 40%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 73% 78%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 84% 16%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 93% 66%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 22% 70%, #fff, transparent);
  background-size: 100% 100%;
  animation: twinkleB 4.8s ease-in-out infinite alternate;
}
@keyframes twinkleA { 0% { opacity: .35; } 50% { opacity: .9; } 100% { opacity: .5; } }
@keyframes twinkleB { 0% { opacity: .7; } 50% { opacity: .3; } 100% { opacity: .85; } }

/* =========================================================
   Tipografia base
   ========================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--heading); }
.section-title { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 500; }
.section-title em { font-style: italic; color: var(--sage); }
em { font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1.05em 1.7em; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn-sm { padding: .8em 1.35em; font-size: .92rem; }
.btn-lg { padding: 1.2em 2.1em; font-size: 1.08rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-h); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ghost-fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--sage); background: color-mix(in oklab, transparent, var(--sage) 10%); transform: translateY(-3px); }
.btn-whatsapp { background: var(--wa-green); color: #fff; box-shadow: 0 14px 34px rgba(37,211,102,.34); }
.btn-whatsapp:hover { background: var(--wa-green-d); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(37,211,102,.44); }
.btn-whatsapp .wa-icon { width: 22px; height: 22px; fill: currentColor; }

/* =========================================================
   Botão de tema (dia / noite)
   ========================================================= */
.theme-toggle { margin-left: 6px; background: none; border: 0; padding: 4px; border-radius: 100px; line-height: 0; }
.theme-toggle-track {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  width: 62px; height: 32px; padding: 0 8px; border-radius: 100px;
  background: linear-gradient(120deg,
    color-mix(in oklab, #bfe0f5, #2a2c50 calc(var(--night) * 100%)),
    color-mix(in oklab, #8ec4ec, #444a86 calc(var(--night) * 100%)));
  box-shadow: inset 0 1px 4px rgba(0,0,0,.15);
}
.theme-toggle-track svg { width: 16px; height: 16px; position: relative; z-index: 1; transition: opacity .4s var(--ease); }
.ic-sun { fill: none; stroke: #f6a623; stroke-width: 2; stroke-linecap: round; color: #f6a623; }
.ic-sun circle { fill: #f9b73e; stroke: none; }
.ic-moon { fill: #e9ecff; }
html[data-nightview="0"] .ic-moon { opacity: .35; }
html[data-nightview="1"] .ic-sun  { opacity: .35; }
.theme-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7e6, #ffd98a);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transform: translateX(calc(var(--night) * 30px));
  transition: transform .4s var(--ease), background .4s var(--ease);
}
html[data-nightview="1"] .theme-toggle-thumb { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd4f2); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: box-shadow .4s var(--ease), padding .4s var(--ease); }
.site-header.scrolled { background: var(--header-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--border); padding: 8px 0; }
.header-inner { display: flex; align-items: center; gap: 20px; }
.brand-logo-wrap { position: relative; display: inline-block; height: 42px; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo-wrap { height: 36px; }
.brand-logo { height: 100%; width: auto; }
.brand-logo--night { position: absolute; inset: 0; opacity: var(--night); }
.brand-logo--day { opacity: calc(1 - var(--night)); }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav > a { font-weight: 500; font-size: .96rem; color: var(--text-soft); position: relative; padding: 4px 0; }
.nav > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); transition: width .3s var(--ease); }
.nav > a:hover { color: var(--heading); }
.nav > a:hover::after { width: 100%; }
.header-cta { margin-left: 4px; }
.nav-cta { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: 130px; padding-bottom: 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* o vídeo dissolve na base e nas bordas, fundindo-se com o céu estrelado (sem borda seca) */
.hero-video {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.05);
  opacity: calc(.55 - var(--night) * .2);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0,0,0,.35) 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0,0,0,.35) 72%, transparent 100%);
}
/* véu suave só atrás do texto, para leitura — não cobre as estrelas */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(115% 82% at 20% 42%,
    color-mix(in oklab, rgba(247,243,235,.74), rgba(14,16,32,.62) calc(var(--night) * 100%)) 0%,
    transparent 56%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; min-height: min(78vh, 700px); }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 500; letter-spacing: -.02em; margin-bottom: 1.3rem; }
.hero-title em { font-style: italic; color: var(--sage); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--text-soft); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.3rem; }
.hero-note { font-size: .92rem; color: var(--tag); font-weight: 500; }
.hero-figure { position: relative; }
.hero-photo-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--sage-20); border-bottom-right-radius: 90px; }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: var(--img-filter); animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-badge { position: absolute; left: -18px; bottom: 34px; background: var(--surface); padding: 14px 22px; border-radius: 18px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--coral); }
.hero-badge strong { font-family: var(--font-display); font-weight: 600; color: var(--heading); font-size: 1.02rem; }
.hero-badge span { font-size: .82rem; color: var(--text-soft); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust { background: color-mix(in oklab, #383850, #0f1122 calc(var(--night) * 100%)); color: #e9e6dd; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 44px); padding: 22px 0; text-align: center; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: #e9e6dd; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; }

/* =========================================================
   SECTIONS — fundo translúcido p/ o céu aparecer sutilmente
   ========================================================= */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-lead { font-size: 1.14rem; color: var(--text-soft); margin-top: 1.1rem; }

.sinais, .abordagem, .condicoes { background: color-mix(in srgb, var(--bg) 86%, transparent); }
.sobre, .como, .faq { background: color-mix(in srgb, var(--bg-alt) 87%, transparent); }

/* ---------- Sinais ---------- */
.sinais-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sinal-card { background: var(--surface); border-radius: var(--radius); padding: 30px 28px; font-size: 1.06rem; color: var(--heading); box-shadow: var(--shadow-sm); border: 1.5px solid var(--border); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.sinal-card::before {
  content: ""; display: block; width: 30px; height: 30px; margin-bottom: 16px; border-radius: 9px; background-color: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 100 18 9 9 0 000-18zm0 4v5l3 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/68% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 100 18 9 9 0 000-18zm0 4v5l3 2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/68% no-repeat;
}
.sinal-card:hover { border-color: var(--sage); background: color-mix(in oklab, var(--surface), var(--sage) 10%); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sinais-close { margin-top: 40px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 400; line-height: 1.4; color: var(--heading); max-width: 40ch; }

/* ---------- Sobre ---------- */
.sobre-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px, 6vw, 80px); align-items: center; }
.sobre-figure { position: relative; max-width: 480px; }
.sobre-figure::before { content: ""; position: absolute; inset: -18px -18px -18px 22px; z-index: 0; background: color-mix(in oklab, var(--sage-20), rgba(149,142,101,.2) calc(var(--night) * 100%)); border-radius: 34px; }
.sobre-figure img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 30px; box-shadow: var(--shadow-md); object-fit: cover; object-position: center 30%; aspect-ratio: 1/1; filter: var(--img-filter); }
.sobre-text p { margin-top: 1.1rem; color: var(--text-soft); }
.formacao-chip { display: inline-flex; align-items: center; gap: 13px; margin-top: 1.7rem; padding: 8px 20px 8px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow-sm); }
.formacao-chip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.formacao-chip span { font-size: .92rem; color: var(--text-soft); line-height: 1.35; }
.formacao-chip strong { color: var(--heading); font-weight: 600; }
.cred-list { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 12px; }
.cred-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--heading); }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: var(--sage); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in oklab, var(--sage-20), rgba(149,142,101,.2) calc(var(--night) * 100%)); }

/* ---------- Abordagem / Pilares ---------- */
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pilar-card { background: var(--surface); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pilar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pilar-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; font-style: italic; color: var(--sage); line-height: 1; margin-bottom: 18px; }
.pilar-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.pilar-card p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Banda Sono (vídeo noturno) ---------- */
.sono-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.sono-bg { position: absolute; inset: 0; z-index: 0; }
.sono-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.sono-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,32,52,.62), rgba(30,32,52,.72)); }
.sono-inner { position: relative; z-index: 1; padding: clamp(90px, 14vw, 170px) 0; max-width: 900px; }
.sono-quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.32; color: #fff; margin: 0 auto 1.4rem; letter-spacing: -.01em; }
.sono-sub { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 46ch; margin-inline: auto; }

/* ---------- Como funciona ---------- */
.passos { list-style: none; padding: 0; display: grid; gap: 8px; max-width: 820px; }
.passo { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; padding: 26px 30px; border-radius: var(--radius); background: transparent; transition: background .35s var(--ease); position: relative; }
.passo:not(:last-child)::after { content: ""; position: absolute; left: 51px; top: 78px; bottom: -8px; width: 2px; background: linear-gradient(var(--sage-60), transparent); }
.passo:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.passo-num { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; flex: none; z-index: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg-alt) 87%, transparent); }
.passo h3 { font-size: 1.28rem; margin-bottom: 5px; }
.passo p { color: var(--text-soft); font-size: 1rem; }

/* ---------- Condições ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cond-card { background: var(--surface); border-radius: 22px; padding: 28px 24px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s var(--ease); }
.cond-card:hover { transform: translateY(-6px); border-color: var(--sage); }
.cond-card h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--heading); }
.cond-card p { font-size: .94rem; color: var(--text-soft); }
.cond-note { margin-top: 38px; text-align: center; max-width: 62ch; margin-inline: auto; color: var(--text-soft); font-size: 1.02rem; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--surface); border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; padding-right: 60px; font-family: var(--font-display); font-size: 1.16rem; font-weight: 500; color: var(--heading); position: relative; transition: color .25s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 13px; height: 13px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item summary:hover { color: var(--coral); }
.faq-answer { padding: 0 28px 26px; color: var(--text-soft); }
.faq-answer p { max-width: 66ch; }

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(56,56,80,.66), rgba(124,118,79,.62)); }
.cta-inner { position: relative; z-index: 1; padding: clamp(80px, 12vw, 150px) 0; max-width: 760px; }
.cta-title { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 500; color: #fff; margin-bottom: 1.1rem; }
.cta-title em { color: var(--coral-soft); }
.cta-sub { font-size: 1.16rem; color: rgba(255,255,255,.9); margin-bottom: 2.2rem; max-width: 48ch; margin-inline: auto; }
.cta-note { margin-top: 1.3rem; font-size: .95rem; color: rgba(255,255,255,.78); }

/* =========================================================
   FOOTER — noite profunda (deixa as estrelas passarem)
   ========================================================= */
.site-footer { background: color-mix(in srgb, color-mix(in oklab, #2f3350, #0d0f20 calc(var(--night) * 100%)) 90%, transparent); color: #cfcedd; padding-top: 64px; position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.5fr; gap: 50px; padding-bottom: 44px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .96rem; color: #9d9db5; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-60); margin-bottom: 12px; }
.footer-col p { font-size: .95rem; color: #b7b6c8; line-height: 1.7; }
.footer-col a { color: #dcdbe8; border-bottom: 1px solid rgba(220,219,232,.3); transition: color .25s; }
.footer-col a:hover { color: var(--coral-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: #86859c; }

/* =========================================================
   Balão flutuante do WhatsApp (vira balão amigável após 3s)
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; height: 60px; max-width: 60px;
  padding: 0 17px; border-radius: 100px; background: var(--wa-green); color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,.4); overflow: hidden; white-space: nowrap;
  animation: waIn .6s var(--ease) .3s both, waBob 3.4s ease-in-out 1.2s infinite;
  transition: max-width .55s var(--ease), padding .55s var(--ease), background .3s;
}
.wa-float .wa-moon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.wa-float .wa-moon svg { width: 26px; height: 26px; fill: #fff; }
.wa-float-label { font-weight: 600; font-size: .98rem; opacity: 0; margin-left: 0; transition: opacity .4s var(--ease) .1s, margin-left .4s var(--ease); }
.wa-float.expanded { max-width: 320px; padding-right: 24px; animation: waIn .6s var(--ease) both, waBob 3.4s ease-in-out infinite; }
.wa-float.expanded .wa-float-label { opacity: 1; margin-left: 11px; }
.wa-float:hover { background: var(--wa-green-d); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 100px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.8s infinite; }
@keyframes waIn { from { transform: translateY(70px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes waBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* =========================================================
   Animações de revelação (scroll)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.sinais-grid .sinal-card:nth-child(2), .pilares .pilar-card:nth-child(2), .cond-grid .cond-card:nth-child(2) { transition-delay: .08s; }
.sinais-grid .sinal-card:nth-child(3), .pilares .pilar-card:nth-child(3), .cond-grid .cond-card:nth-child(3) { transition-delay: .16s; }
.cond-grid .cond-card:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: 20px; }
  .hero-text { order: 1; }
  .hero-figure { order: 2; max-width: 380px; margin-inline: auto; }
  .hero-sub, .hero-actions { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-figure { max-width: 440px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .nav > a, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header .header-inner { position: relative; }
  .nav.open { display: flex; flex-direction: column; gap: 4px; align-items: stretch; position: absolute; top: calc(100% + 10px); left: var(--gutter); right: var(--gutter); background: var(--surface); padding: 14px; border-radius: 20px; box-shadow: var(--shadow-md); }
  .nav.open > a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--heading); }
  .nav.open > a:hover { background: var(--bg); }
  .nav.open .nav-cta { display: block; text-align: center; margin-top: 6px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
  .nav.open .nav-cta:hover { background: var(--btn-bg-h); }
  .nav.open .nav-cta::after { display: none; }
  .sinais-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sinais-grid, .cond-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .passo { padding: 20px; gap: 18px; }
  .passo:not(:last-child)::after { left: 40px; }
  .hero-photo-wrap { border-bottom-right-radius: 60px; }
  .footer-bottom { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float.expanded { max-width: calc(100vw - 32px); }
  .wa-float-label { font-size: .88rem; }
}

/* =========================================================
   Acessibilidade — reduzir movimento
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video, .sono-video, .cta-video { display: none; }
  .sky-stars::before, .sky-stars::after { animation: none; opacity: .6; }
}
