/* ============================================================================
   DRA. ISABELLA MARTINS · ESTÉTICA AVANÇADA
   Direção "Ritual & Pele" — ateliê editorial de skincare.
   Sumário:
     01. Tokens & reset
     02. Tipografia base & utilitários
     03. Layout (shell) & grão
     04. Botões
     05. Header / navegação
     06. Hero
     07. Sobre
     08. Método (sequência)
     09. Protocolos (lista-índice expansível)
     10. Benefícios (faixa oliva)
     11. Depoimentos
     12. Antes & Depois (comparador)
     13. FAQ
     14. CTA final
     15. Rodapé
     16. Motion / reveal
     17. Responsivo
   ========================================================================== */

/* ============================ 01. TOKENS & RESET ========================== */
:root {
  /* Paleta — porcelana, areia, linho, oliva, dourado fosco */
  --porcelain: #F8EBE5;
  --porcelain-2: #F1EAD9;
  --sand: #E9E0CF;
  --linen: #DACDB2;
  --olive: #5C6347;
  --olive-mid: #3A3F2C;
  --olive-deep: #24281A;
  --olive-soft: #8A8E6E;
  --gold: #7D6638;
  --gold-soft: #C7AE79;
  --ink: #282720;
  --ink-2: #58564a;
  --ink-3: #6B6860;

  --line: rgba(40, 39, 32, 0.14);
  --line-strong: rgba(40, 39, 32, 0.28);
  --line-light: rgba(247, 244, 237, 0.16);

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Kaisei Tonic", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Métricas */
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
  --radius: 4px;

  /* Easing curves — variad conforme contexto */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-smooth: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.09rem);
  line-height: 1.62;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (não hidden) evita transbordo sem quebrar position:sticky */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Acessibilidade: skip link + foco visível */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--olive-deep); color: var(--porcelain);
  padding: 10px 16px; border-radius: var(--radius);
  transform: translateY(-160%); transition: transform 0.25s var(--ease);
  text-decoration: none; font-size: 0.9rem;
}
.skip-link:focus { transform: translateY(0); }

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

/* ==================== 02. TIPOGRAFIA & UTILITÁRIOS ======================== */
.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65em;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.eyebrow--light { color: rgba(247, 244, 237, 0.66); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 0 4px rgba(173, 143, 82, 0.16);
}

.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 370;
  font-size: clamp(2.1rem, 1.25rem + 3.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.section-title--light { color: var(--porcelain); }

/* Palavra em itálico dourado — assinatura tipográfica */
.ital-gold {
  font-style: italic;
  font-weight: 340;
  color: var(--gold);
}
.section-title--light .ital-gold,
.cta .ital-gold { color: var(--gold-soft); }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 340; font-style: italic;
  font-size: clamp(1.32rem, 0.98rem + 1.6vw, 1.95rem);
  line-height: 1.32;
  color: var(--olive);
  padding-left: clamp(18px, 2.2vw, 28px);
  border-left: 2px solid var(--gold);
  margin: clamp(30px, 3.8vw, 46px) 0;
}

/* ==================== 03. LAYOUT (SHELL) & GRÃO ========================== */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Salvaguarda: itens de grid podem encolher abaixo do min-content
   (evita transbordo horizontal quando um filho tem max-width fixo). */
.hero__grid > *, .about__grid > *, .protocols__grid > *,
.benefits__grid > *, .testimonials__grid > *,
.faq__grid > * { min-width: 0; }

/* Textura de grão sutil sobre toda a página */
.grain {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer { position: relative; z-index: 2; }

/* ============================ 04. BOTÕES ================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  padding: 0.92em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.32s var(--ease-out), color 0.32s var(--ease-out),
              border-color 0.32s var(--ease-out), transform 0.28s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--olive-deep); color: var(--porcelain); }
.btn--solid:hover { background: var(--olive); transform: translateY(-1px); }

.btn--gold { background: var(--gold); color: #221c0c; }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--olive); background: rgba(92, 99, 71, 0.04); color: var(--olive); }
.btn--ghost-light { color: var(--porcelain); border-color: var(--line-light); }
.btn--ghost-light:hover { border-color: var(--gold-soft); background: rgba(247, 244, 237, 0.04); color: var(--gold-soft); }

.btn--pill {
  border-radius: 100px; padding: 0.6em 1.25em;
  font-size: 0.82rem;
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn--pill:hover { border-color: var(--olive); color: var(--olive); transform: translateY(-1px); }

/* ==================== 05. HEADER / NAVEGAÇÃO ============================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border: 1px solid var(--gold); color: var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 430; font-size: 1.12rem; letter-spacing: 0.01em; }
.brand__role { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav__list a {
  text-decoration: none; font-size: 0.94rem; color: var(--ink);
  position: relative; padding: 4px 0;
  transition: color 0.3s var(--ease-out);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}
.nav__list a:hover { color: var(--olive); }
.nav__list a:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 4px; }

/* Botão hambúrguer (mobile) */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: transparent;
  position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { bottom: 17px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu-mobile {
  background: var(--porcelain-2); border-top: 1px solid var(--line);
  padding: 14px var(--gutter) 26px;
}
.menu-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.menu-mobile a {
  display: block; text-decoration: none; font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 380; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.menu-mobile .btn { margin-top: 14px; border: 1px solid var(--line-strong); font-family: var(--font-sans); font-size: 0.9rem; }

/* ============================ 06. HERO ================================== */
.hero {
  padding-top: calc(var(--header-h) + clamp(30px, 6vw, 74px));
  padding-bottom: clamp(30px, 5vw, 60px);
  background:
    radial-gradient(120% 80% at 82% 6%, var(--porcelain-2) 0%, transparent 46%),
    linear-gradient(180deg, var(--porcelain) 0%, var(--sand) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: clamp(2.65rem, 1.25rem + 5.4vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin-bottom: clamp(24px, 3.2vw, 36px);
}
.hero__lead {
  max-width: 46ch; color: var(--ink-2);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin: clamp(30px, 4vw, 42px) 0 clamp(26px, 3vw, 34px);
}
.hero__sign {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 0.94rem;
}
.hero__sign .mono { color: var(--ink); }
.hero__sign strong { color: var(--olive); font-weight: 600; }
.hero__sign-sep { width: 1px; height: 20px; background: var(--line-strong); }

/* Mídia do hero — retrato deslocado + cartão flutuante */
.hero__media { position: relative; }
.portrait {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--linen);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .portrait {
  aspect-ratio: 4 / 5;
  box-shadow: -30px 40px 80px -40px rgba(36, 40, 26, 0.5);
}
.hero__card {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--porcelain); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 20px 50px -28px rgba(36, 40, 26, 0.55);
}
.hero__card-label { color: var(--ink-3); }
.hero__card-value { font-family: var(--font-display); font-size: 1.2rem; font-weight: 420; }
.hero__card-meta { color: var(--gold); font-size: 0.66rem; }

/* Índice editorial (linha de categorias) */
.hero__index { margin-top: clamp(34px, 5vw, 60px); }
.hero__index ul {
  display: flex; flex-wrap: wrap; gap: 8px 26px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__index li {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
  position: relative; padding-left: 20px;
}
.hero__index li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 1px;
  background: var(--gold); transform: translateY(-50%);
}

/* ============================ 07. SOBRE ================================= */
.about { padding: clamp(75px, 10.5vw, 150px) 0; }
.about__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.portrait--framed { aspect-ratio: 4 / 5; }
.about__media::before {
  /* moldura deslocada — assimetria elegante */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  z-index: -1;
}
.about__badge {
  position: absolute; top: 18px; right: -10px;
  background: var(--olive-deep); color: var(--porcelain);
  padding: 8px 14px; border-radius: var(--radius); font-size: 0.62rem;
}
.about__text p { color: var(--ink-2); margin-top: 18px; max-width: 52ch; }
.about__text .section-title { margin-top: 6px; }

.creds { margin-top: clamp(26px, 3vw, 34px); display: grid; gap: 2px; }
.creds li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
  padding: 15px 0; border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.creds li:last-child { border-bottom: 1px solid var(--line); }
.creds .mono { color: var(--gold); font-size: 0.7rem; }

/* ============================ 08. MÉTODO =============================== */
.method {
  padding: clamp(75px, 9.5vw, 130px) 0;
  background: var(--porcelain-2);
  border-top: 1px solid var(--line);
}
.method__head { max-width: 42ch; margin-bottom: clamp(40px, 5vw, 66px); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 30px);
}
.step {
  padding-top: 26px; border-top: 1px solid var(--line-strong);
}
/* ritmo assimétrico: passos alternados descem um pouco */
.step:nth-child(even) { transform: translateY(clamp(0px, 3vw, 34px)); }
.step__num {
  display: block; color: var(--gold); font-size: 0.82rem;
  margin-bottom: 20px;
}
.step__title {
  font-family: var(--font-display); font-weight: 420;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); line-height: 1.15;
  margin-bottom: 12px;
}
.step p { color: var(--ink-2); font-size: 0.96rem; }

/* ==================== 09. PROTOCOLOS (lista-índice) ==================== */
.protocols { padding: clamp(75px, 10.5vw, 150px) 0; }
.protocols__grid {
  display: grid; grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.protocols__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.protocols__intro p { color: var(--ink-2); margin-top: 18px; max-width: 34ch; }
.sprig { width: 120px; height: 60px; color: var(--gold); margin-top: 34px; }

.proto { border-top: 1px solid var(--line); }
.proto:last-child { border-bottom: 1px solid var(--line); }
.proto__head {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: clamp(14px, 2vw, 28px);
  padding: clamp(22px, 2.6vw, 30px) 0;
  transition: color 0.28s var(--ease-out);
}
.proto__head:hover { color: var(--olive); transform: translateX(2px); }
.proto__index { color: var(--gold); font-size: 0.68rem; }
.proto__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.06;
  letter-spacing: -0.01em;
}
.proto__tag { color: var(--ink-3); }
.proto__icon { position: relative; width: 16px; height: 16px; flex: none; }
.proto__icon::before, .proto__icon::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 0.32s var(--ease-out), background 0.28s var(--ease-out);
}
.proto__icon::before { top: 50%; left: 0; right: 0; height: 1.4px; transform: translateY(-50%); }
.proto__icon::after { left: 50%; top: 0; bottom: 0; width: 1.4px; transform: translateX(-50%); }
.proto.is-open .proto__icon::after { transform: translateX(-50%) scaleY(0); }
.proto.is-open .proto__icon::before { background: var(--gold); }
.proto__head:hover .proto__icon::before,
.proto__head:hover .proto__icon::after { background: var(--olive); }

/* Painel expansível — truque grid 0fr → 1fr (sem medir no JS) */
.proto__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.proto.is-open .proto__panel { grid-template-rows: 1fr; }
.proto__panel-inner { overflow: hidden; }
.proto__panel-inner > * {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease) 0.06s, transform 0.4s var(--ease) 0.06s;
}
.proto.is-open .proto__panel-inner > * { opacity: 1; transform: none; }
.proto__panel-inner p {
  max-width: 58ch; color: var(--ink-2);
  padding-bottom: 20px;
}
.proto__meta {
  display: flex; flex-wrap: wrap; gap: 12px 44px;
  padding-bottom: clamp(24px, 3vw, 34px);
}
.proto__meta dt { color: var(--gold); margin-bottom: 4px; }
.proto__meta dd { font-size: 0.98rem; }

/* ==================== 10. BENEFÍCIOS (faixa oliva) ==================== */
.benefits {
  background:
    radial-gradient(90% 120% at 12% 0%, #30351f 0%, transparent 55%),
    var(--olive-deep);
  color: var(--porcelain);
  padding: clamp(72px, 10vw, 130px) 0;
}
.benefits__grid {
  display: grid; grid-template-columns: 0.9fr 1.5fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.benefits__head { position: sticky; top: calc(var(--header-h) + 30px); }
.benefits__list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 4vw, 52px) clamp(28px, 4vw, 56px);
}
.benefit { max-width: 34ch; }
/* assimetria: segunda coluna desce */
.benefit--b, .benefit--d { transform: translateY(clamp(0px, 3vw, 40px)); }
.benefit__icon { width: 40px; height: 40px; color: var(--gold-soft); margin-bottom: 20px; }
.benefit h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.32rem; margin-bottom: 10px;
}
.benefit p { color: rgba(247, 244, 237, 0.72); font-size: 0.96rem; }

/* ==================== 11. DEPOIMENTOS ================================= */
.testimonials { padding: clamp(78px, 10.5vw, 150px) 0; }
.testimonials__head { max-width: 40ch; margin-bottom: clamp(40px, 5vw, 64px); }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 3vw, 40px);
}
.testimonials__head { grid-column: 1 / -1; }
.testi {
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(22px, 2.6vw, 30px);
}
.testi blockquote {
  font-family: var(--font-display); font-weight: 360;
  font-size: clamp(1.1rem, 0.98rem + 0.6vw, 1.35rem); line-height: 1.4;
  color: var(--ink); margin-bottom: 22px;
}
.testi--feature {
  grid-column: 1 / -1; border-top-color: var(--gold);
}
.testi--feature blockquote {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem); line-height: 1.24;
  max-width: 20ch;
}
.testi--feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; }
.testi--feature blockquote { grid-column: 1; margin-bottom: 0; }
.testi--feature figcaption { grid-column: 2; }
.testi figcaption { display: flex; flex-direction: column; gap: 4px; }
.testi__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 440; }
.testi__meta { color: var(--gold); }

/* ============================ 12. FAQ ================================= */
.faq { padding: clamp(78px, 10.5vw, 150px) 0; }
.faq__grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(36px, 6vw, 90px); align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.4vw, 26px) 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  transition: color 0.28s var(--ease-out);
}
.faq__q:hover { color: var(--olive); transform: translateX(2px); }
.faq__icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform 0.32s var(--ease-out);
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.4px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1.4px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel-inner p { color: var(--ink-2); max-width: 62ch; padding-bottom: clamp(20px, 2.4vw, 28px); }

/* ============================ 14. CTA FINAL ========================== */
.cta {
  background:
    radial-gradient(80% 120% at 50% 0%, #31371f 0%, transparent 60%),
    var(--olive-deep);
  color: var(--porcelain);
  padding: clamp(88px, 12.5vw, 160px) 0;
  text-align: center;
}
.cta__inner { max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; }
.sprig--light { color: var(--gold-soft); margin: 0 0 8px; }
.cta__title { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4rem); margin-bottom: 22px; }
.cta__lead { color: rgba(247, 244, 237, 0.74); max-width: 52ch; margin-bottom: 38px; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================ 15. RODAPÉ ============================= */
.site-footer { background: var(--porcelain-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 84px); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr;
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: clamp(44px, 6vw, 70px);
}
.site-footer__brand .brand__mark { margin-bottom: 20px; }
.site-footer__tag { color: var(--ink-2); font-size: 0.96rem; max-width: 30ch; }
.site-footer__col h3 { color: var(--gold); margin-bottom: 20px; font-weight: 400; }
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col a { text-decoration: none; color: var(--ink-2); transition: color 0.28s var(--ease-out); }
.site-footer__col a:hover { color: var(--olive); }
.site-footer__col li { color: var(--ink-2); font-size: 0.94rem; line-height: 1.5; }
.site-footer__hint { color: var(--ink-3); }
.site-footer__bar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 22px 0 30px; border-top: 1px solid var(--line);
  color: var(--ink-3);
}
.site-footer__bar .mono { font-size: 0.66rem; }
.site-footer__legal a { color: var(--ink-2); text-decoration: none; transition: color 0.28s var(--ease-out); }
.site-footer__legal a:hover { color: var(--olive); }
.site-footer__legal { display: inline-flex; gap: 10px; align-items: center; }

/* ==================== 16. MOTION / REVEAL ============================ */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Hover elevations — micro-interactions elegantes */
.proto, .faq__item { transition: box-shadow 0.32s var(--ease-out); }
.proto:hover, .faq__item:hover { box-shadow: inset 0 1px 0 0 rgba(173, 143, 82, 0.08); }

.testi { transition: box-shadow 0.32s var(--ease-out); }
.testi:hover { box-shadow: 0 4px 12px -6px rgba(36, 40, 26, 0.08); }

/* Micro refinement: link underlines mais elegantes */
a {
  position: relative;
}
a:not(.btn):not([class*="nav"]):not([class*="brand"]) {
  text-decoration: underline; text-decoration-color: rgba(173, 143, 82, 0.3);
  text-underline-offset: 4px; text-decoration-thickness: 0.8px;
  transition: text-decoration-color 0.28s var(--ease-out);
}
a:not(.btn):not([class*="nav"]):not([class*="brand"]):hover {
  text-decoration-color: rgba(173, 143, 82, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:active { transform: none; }
  .compare__clip { will-change: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==================== 17. RESPONSIVO ================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 0.9fr; }
  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .protocols__grid, .benefits__grid, .faq__grid { grid-template-columns: 1fr; }
  .protocols__intro, .benefits__head, .faq__head { position: static; }
  .benefits__list { gap: 40px 40px; }
}

@media (max-width: 860px) {
  .nav, .nav__cta { display: none; }
  .nav-toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: min(460px, 100%); }
  .hero__card { left: auto; right: 16px; bottom: 16px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: min(440px, 100%); }
  .about__media::before { inset: 16px -16px -16px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .step:nth-child(even) { transform: none; }
  .results__grid { grid-template-columns: 1fr; gap: 44px; }
  .compare { max-width: min(440px, 100%); }
  .testi--feature { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .testi--feature figcaption { grid-column: 1; }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }
  .benefits__list, .testimonials__grid { grid-template-columns: 1fr; }
  .benefit--b, .benefit--d { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .proto__head { grid-template-columns: auto 1fr auto; row-gap: 6px; }
  .proto__tag { grid-column: 2 / 3; grid-row: 2; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .hero__card { position: static; margin-top: 16px; box-shadow: none; }
  .hero__media .portrait { box-shadow: -16px 24px 50px -34px rgba(36,40,26,.5); }
}

@media (max-width: 400px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
