/* ==========================================================================
   Kelli Porto Planos & Benefícios — Landing Page
   Direção: TOKIO Studio
   Paleta oficial (Paleta Oficial — 03):
     Sweet Cream   #F0EAE7  — dominante (60%), fundos e respiro
     Red Gravel    #B7896C  — suporte quente (superfícies, detalhes)
     Terrarium     #5E6E5C  — suporte frio (tags, ícones, eyebrows)
     Charred Brown #400007  — texto principal / seções escuras
     Saving Light  #59000F  — acento único (CTA, coração)
   ========================================================================== */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --cream:  #F0EAE7;
  --gravel: #B7896C;
  --sage:   #5E6E5C;
  --brown:  #400007;
  --wine:   #59000F;
  --wine-hover:  #3F0009; /* estados definidos na paleta oficial */
  --wine-active: #2E0007;
  --white:  #FFFFFF;      /* neutro do sistema de logo (versão fundo claro) */

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(64, 0, 7, .05), 0 2px 8px rgba(64, 0, 7, .05);
  --shadow-md: 0 2px 6px rgba(64, 0, 7, .06), 0 12px 32px rgba(64, 0, 7, .10);
  --shadow-lg: 0 4px 12px rgba(64, 0, 7, .08), 0 24px 56px rgba(64, 0, 7, .16);

  --border: rgba(64, 0, 7, .10);

  /* Motion — Brand Book §4: elegante, ease-out, máx. 800ms */
  --t-fast: 160ms ease-out;   /* botões / hover: 150–200ms */
  --t-med:  320ms ease-out;
  --t-slow: 640ms cubic-bezier(.22, .61, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  --header-h: 88px;
  --z-float: 30;
  --z-menu: 40;
  --z-header: 50;
  --z-skip: 60;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--brown);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--wine); }
ul { padding: 0; margin: 0; }

.wrap { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-skip);
  background: var(--brown); color: var(--cream);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  padding: .8rem 1.7rem; font-size: 1rem; line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--t-fast), background-color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  will-change: transform;
}
.btn .ico { flex: none; }
.btn:hover  { transform: translateY(-2px); }  /* Brand Book §4 */
.btn:active { transform: translateY(0); transition-duration: 80ms; }

.btn-primary { background: var(--wine); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover  { background: var(--wine-hover); box-shadow: var(--shadow-md); }
.btn-primary:active { background: var(--wine-active); }

.btn-outline { background: transparent; color: var(--brown); border-color: rgba(64, 0, 7, .28); }
.btn-outline:hover { border-color: var(--wine); color: var(--wine); }

.btn-light { background: var(--cream); color: var(--wine); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-sm { padding: .55rem 1.2rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--sage); margin: 0 0 .9rem;
}
.eyebrow-dark { color: var(--gravel); } /* sobre Charred Brown — contraste ok p/ rótulo */

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-sub { color: rgba(64, 0, 7, .72); font-size: 1.05rem; margin-top: .35rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(89, 0, 15, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--t-med);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(64, 0, 7, .12), 0 8px 24px rgba(64, 0, 7, .18); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 64px; width: auto; } /* PNG com alpha real — sem hack de blend */

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.8rem); }
.nav a {
  font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--cream);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.nav a:hover { color: var(--gravel); }
.nav a.is-active { color: var(--gravel); text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.social-icons { display: flex; align-items: center; gap: .45rem; }
.social-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--cream); border: 1px solid rgba(240, 234, 231, .32);
  background: rgba(240, 234, 231, .06);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social-icon:hover { background: rgba(240, 234, 231, .13); border-color: rgba(240, 234, 231, .58); transform: translateY(-2px); }
.social-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .social-dot { fill: currentColor; stroke: none; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--cream);
  border-radius: 2px; transition: transform var(--t-med), opacity var(--t-med);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--sage); background: var(--white);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .45rem 1rem; margin: 0 0 1.4rem;
  box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

.hero h1 { margin-bottom: .45em; font-size: clamp(1.85rem, 3.6vw, 2.5rem); }
.hero h1 em { font-style: normal; color: var(--wine); }

.lede { font-size: clamp(1.08rem, 1.8vw, 1.22rem); color: rgba(64, 0, 7, .78); max-width: 34em; }
.lede strong { color: var(--brown); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2.4rem; }

.hero-assurance {
  display: flex; align-items: center; gap: .85rem;
  max-width: 36rem; margin-top: 0; padding: 1.15rem 0 0;
  border-top: 1px solid var(--border);
}
.hero-assurance p { margin: 0; color: rgba(64, 0, 7, .76); font-size: .95rem; line-height: 1.55; }
.hero-assurance strong { color: var(--brown); }
.assurance-mark {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--wine); background: rgba(89, 0, 15, .08);
  font-weight: 800;
}

/* Uma única entrada de assinatura: a mensagem chega antes do ornamento. */
.hero h1,
.hero .lede,
.hero .hero-ctas,
.hero .hero-assurance {
  opacity: 0;
  animation: hero-copy-in 720ms var(--ease-out-expo) forwards;
}
.hero h1 { animation-name: hero-title-in; }
.hero .lede { animation-delay: 140ms; }
.hero .hero-ctas { animation-delay: 260ms; }
.hero .hero-assurance { animation-delay: 380ms; }

@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 32% 0); }
  to   { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.trust-item dt {
  font-size: .74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--sage); margin-bottom: .15rem;
}
.trust-item dd { margin: 0; font-weight: 600; font-size: .95rem; }

/* --- visual --- */
.hero-visual { position: relative; }

/* Paralaxe via scroll-timeline nativo quando suportado — substitui o listener
   de scroll em JS por algo direto na thread de composição do navegador */
@supports (animation-timeline: scroll()) {
  .hero-visual.has-scroll-timeline {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 60vh;
  }
}
@keyframes hero-parallax {
  from { transform: translateY(0); }
  to   { transform: translateY(30px); }
}

.glow {
  position: absolute; z-index: 0;
  width: 340px; height: 340px; right: -30px; top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 137, 108, .55), rgba(183, 137, 108, 0) 72%);
  filter: blur(2px);
}

.protect-card {
  position: relative;
  max-width: 420px; margin-inline: auto;
  background: var(--brown); color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.9rem 1.6rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  animation: hero-card-in 780ms var(--ease-out-expo) 180ms forwards;
}
@keyframes hero-card-in {
  from { opacity: 0; transform: translateY(28px) scale(.965); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.protect-card-blob {
  position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(89, 0, 15, .35);
}
.protect-card-top {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.protect-card-id { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; }
.protect-card-icon { width: 30px; height: 30px; object-fit: contain; }
.protect-card-status {
  font-size: .74rem; font-weight: 700; color: var(--brown); background: var(--gravel);
  padding: .3rem .75rem; border-radius: 999px;
}
.protect-card-label { position: relative; margin: 0; font-size: .82rem; color: rgba(240, 234, 231, .62); }
.protect-card-title {
  position: relative; margin: .15rem 0 1.3rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em;
}
.protect-card-grid {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.3rem;
}
.protect-chip {
  display: flex; align-items: center; gap: .55rem;
  font-size: .88rem; font-weight: 600;
  background: rgba(240, 234, 231, .08); border: 1px solid rgba(240, 234, 231, .12);
  border-radius: var(--radius-sm); padding: .7rem .8rem;
}
.protect-chip svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gravel); color: var(--brown); }
.protect-card-foot {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid rgba(240, 234, 231, .14);
  font-size: .84rem; color: rgba(240, 234, 231, .68);
}
.protect-card-foot .accent { font-weight: 700; color: var(--gravel); }

.hero-photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 460px; margin: 0 auto;
  border-radius: 30px 30px 92px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 1;
}
.hero-photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 68% center;
  transform: scale(1.015);
}
.hero-photo-wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 52%, rgba(64, 0, 7, .24) 100%),
    linear-gradient(90deg, rgba(89, 0, 15, .14), transparent 48%);
  pointer-events: none;
}

.sobre-photo { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, .5);
  padding: .8rem 1.1rem;
}
.float-card-top { top: -8%; left: -8%; opacity: 0; animation: floatIn 620ms var(--ease-out-expo) 620ms forwards; }
.float-card-bottom { bottom: -8%; left: -8%; right: auto; opacity: 0; animation: floatIn 620ms var(--ease-out-expo) 760ms forwards; }

/* Entrada única, coreografada com o resto do Hero — sem loop ambiente (Brand Book §4) */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.float-heart, .float-check {
  flex: none; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
}
.float-heart { background: rgba(89, 0, 15, .09); color: var(--wine); }
.float-check { background: rgba(94, 110, 92, .14); color: var(--sage); font-weight: 700; }
.float-text { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.35; color: rgba(64, 0, 7, .75); }
.float-text strong { font-size: .86rem; color: var(--brown); }

/* ==========================================================================
   OPERADORAS (esteira infinita de logos)
   ========================================================================== */
.operadoras {
  padding: clamp(2.2rem, 4.5vw, 3rem) 0;
  background: var(--cream);
}

.operadoras-mais {
  flex: none;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  font-style: italic; color: rgba(64, 0, 7, .4); white-space: nowrap;
}

.operadoras-viewport {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.operadoras-track {
  display: flex; align-items: center; gap: 3rem;
  width: max-content;
  animation: operadoras-marquee 34s linear infinite;
}
.operadora-logo { flex: none; display: grid; place-items: center; }
.operadora-logo img { height: 34px; width: auto; max-width: none; }

@keyframes operadoras-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 560px) {
  .operadora-logo img { height: 26px; }
  .operadoras-track { gap: 2rem; }
  .operadoras-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }
}

/* ==========================================================================
   DIFERENCIAL
   ========================================================================== */
.diferencial { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.diff-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--border);
}
.diff-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto; column-gap: 1.2rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--border);
  border-radius: 0; padding: 2rem 0; box-shadow: none;
  transition: transform var(--t-fast);
  min-width: 0;
}
.diff-card:hover { transform: translateX(4px); }
.diff-card h3, .diff-card p { grid-column: 2; }
.diff-card p { margin: 0; color: rgba(64, 0, 7, .72); font-size: .98rem; overflow-wrap: anywhere; }

.diff-icon {
  display: grid; place-items: center; grid-row: 1 / 3;
  width: 56px; height: 56px;
  border-radius: var(--radius-md); background: var(--white); color: var(--wine);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.servicos { padding: clamp(3rem, 6vw, 5rem) 0; }

.servicos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.servico-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast),
    background-color var(--t-fast), color var(--t-fast);
}
.servico-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  background: var(--brown); border-color: var(--brown); color: var(--cream);
}
.servico-card:hover h3 { color: var(--cream); }
.servico-card:hover > p { color: rgba(240, 234, 231, .78); }
.servico-card:hover .servico-icon { background: rgba(240, 234, 231, .12); color: var(--gravel); }
.servico-card:hover li { color: rgba(240, 234, 231, .85); border-top-color: rgba(240, 234, 231, .14); }
.servico-card:hover li::before { color: var(--gravel); }

.servico-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 1.1rem;
  border-radius: var(--radius-md); background: rgba(94, 110, 92, .13); color: var(--sage);
}
.servico-card > p { color: rgba(64, 0, 7, .72); font-size: .95rem; }
.servico-card ul { list-style: none; margin-top: auto; padding-top: .4rem; }
.servico-card li {
  position: relative; padding: .3rem 0 .3rem 1.5rem;
  font-size: .9rem; color: rgba(64, 0, 7, .8);
  border-top: 1px solid rgba(64, 0, 7, .06);
}
.servico-card li::before {
  content: "✓"; position: absolute; left: 0; top: .3rem;
  color: var(--wine); font-weight: 700; font-size: .85rem;
}

/* ==========================================================================
   PARA QUEM
   ========================================================================== */
.para-quem { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.perfil-tabs {
  display: flex; justify-content: center; gap: .3rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: .35rem;
  width: fit-content; margin: 0 auto 2.2rem;
}
.perfil-tab {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: .65rem 1.3rem; border-radius: 999px; border: 0; background: transparent;
  color: rgba(64, 0, 7, .68); cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.perfil-tab:hover { color: var(--brown); }
.perfil-tab.is-active { background: var(--brown); color: var(--cream); }

.perfil-panels { max-width: 620px; margin-inline: auto; }
.perfil-panel {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-sm);
  text-align: center;
  animation: panelIn .4s ease-out;
}
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.perfil-tag {
  display: block;
  font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--sage); margin-bottom: .8rem;
}
.perfil-panel p:not(.perfil-tag) { color: rgba(64, 0, 7, .72); font-size: .98rem; max-width: 42ch; margin-inline: auto; }

.perfil-link {
  display: inline-flex; margin-top: 1.4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--wine);
  transition: color var(--t-fast);
}
.perfil-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.perfil-link span { display: inline-block; transition: transform var(--t-fast); }
.perfil-link:hover span { transform: translateX(4px); }

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.como-funciona {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--sage); /* bloco cheio — Sálvia sai do papel de acento pontual */
}
.como-funciona .eyebrow { color: rgba(240, 234, 231, .68); }
.como-funciona h2 { color: var(--cream); }

.timeline {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.6rem; position: relative;
}
.timeline::before,
.timeline::after {
  content: ""; position: absolute; z-index: 0;
  top: 22px; left: 22px; right: calc((100% - 4.8rem) / 4 - 22px);
  height: 2px;
}
.timeline::before { background: rgba(240, 234, 231, .3); }
.timeline::after {
  background: var(--wine);
  transform: scaleX(0); transform-origin: left center;
}
.timeline.is-active::after { animation: timeline-wine-x 1.8s linear forwards; }
@keyframes timeline-wine-x { to { transform: scaleX(1); } }
@keyframes timeline-wine-y { to { transform: scaleY(1); } }

.timeline-step { flex: 1; position: relative; z-index: 1; text-align: left; }
.timeline-node {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 1.3rem;
  border-radius: 50%;
  background: var(--cream); color: var(--sage);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  transition: none;
}
.timeline.is-active .timeline-step:nth-child(1) .timeline-node { animation: timeline-node-wine 420ms var(--ease-out-expo) 0ms forwards; }
.timeline.is-active .timeline-step:nth-child(2) .timeline-node { animation: timeline-node-wine 420ms var(--ease-out-expo) 550ms forwards; }
.timeline.is-active .timeline-step:nth-child(3) .timeline-node { animation: timeline-node-wine 420ms var(--ease-out-expo) 1100ms forwards; }
.timeline.is-active .timeline-step:nth-child(4) .timeline-node { animation: timeline-node-wine 420ms var(--ease-out-expo) 1650ms forwards; }
@keyframes timeline-node-wine {
  0% { background: var(--cream); color: var(--sage); transform: scale(1); }
  55% { background: var(--wine); color: var(--cream); transform: scale(1.14); }
  100% { background: var(--wine); color: var(--cream); transform: scale(1); }
}
.timeline-body h3 { font-size: 1.08rem; color: var(--cream); }
.timeline-body p { margin: 0; font-size: .93rem; color: var(--cream); } /* opaco: rgba(...,.75) media 3.34:1, falha AA */

.timeline.is-active .timeline-step:nth-child(1) .timeline-body { animation: timeline-body-in 480ms var(--ease-out-expo) 80ms both; }
.timeline.is-active .timeline-step:nth-child(2) .timeline-body { animation: timeline-body-in 480ms var(--ease-out-expo) 630ms both; }
.timeline.is-active .timeline-step:nth-child(3) .timeline-body { animation: timeline-body-in 480ms var(--ease-out-expo) 1180ms both; }
.timeline.is-active .timeline-step:nth-child(4) .timeline-body { animation: timeline-body-in 480ms var(--ease-out-expo) 1730ms both; }
@keyframes timeline-body-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.sobre-grid {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.sobre-frame {
  position: relative;
  aspect-ratio: 4 / 4.6; max-width: 380px; margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .4);
  overflow: hidden;
}

.sobre-copy .eyebrow { text-align: left; }
.sobre-copy h2 { margin-bottom: .6em; }
.sobre-copy p { color: rgba(64, 0, 7, .78); }

.sobre-pontos { list-style: none; margin: 1.4rem 0 1.8rem; }
.sobre-pontos li {
  position: relative; padding: .45rem 0 .45rem 2rem; font-weight: 500;
  border-top: 1px solid rgba(64, 0, 7, .07);
}
.sobre-pontos li:last-child { border-bottom: 1px solid rgba(64, 0, 7, .07); }
.sobre-pontos li::before {
  content: "✓"; position: absolute; left: .25rem; top: .45rem;
  color: var(--wine); font-weight: 700;
}

/* ==========================================================================
   FORMULÁRIO (seção escura)
   ========================================================================== */
.formulario {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background: var(--brown);
  color: var(--cream);
}
.form-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.form-copy h2 { color: var(--cream); }
.form-copy p { color: rgba(240, 234, 231, .78); max-width: 30em; }

.form-points { list-style: none; margin-top: 1.6rem; }
.form-points li {
  position: relative; padding: .5rem 0 .5rem 2rem; font-weight: 500;
  color: rgba(240, 234, 231, .92);
  border-top: 1px solid rgba(240, 234, 231, .12);
}
.form-points li:last-child { border-bottom: 1px solid rgba(240, 234, 231, .12); }
.form-points li::before {
  content: "✓"; position: absolute; left: .25rem; top: .5rem;
  color: var(--gravel); font-weight: 700;
}

.lead-form {
  background: var(--cream); color: var(--brown);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field label { font-weight: 600; font-size: .9rem; }
.field .opt { font-weight: 400; color: rgba(64, 0, 7, .65); }

.field input,
.field select,
.field textarea {
  font: inherit; font-size: .98rem; color: var(--brown);
  background: var(--white);
  border: 1.5px solid rgba(64, 0, 7, .16);
  border-radius: var(--radius-sm);
  padding: .78rem .95rem;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(64, 0, 7, .62); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(64, 0, 7, .32); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(89, 0, 15, .14);
}
.field input.is-invalid, .field select.is-invalid,
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(89, 0, 15, .14);
}
/* Só em <input> de texto — em <select> ia disputar espaço com a setinha nativa */
.field input.is-valid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .95rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}
.field-error {
  margin: 0; color: var(--wine); font-size: .84rem; font-weight: 600;
}
.form-status {
  min-height: 1.25rem; margin: 0; text-align: center;
  color: var(--wine); font-size: .86rem; font-weight: 600;
}
.btn:disabled { cursor: wait; opacity: .72; transform: none; }

.form-note { margin: 0; font-size: .8rem; color: rgba(64, 0, 7, .6); text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.faq-inner { max-width: 760px; }

.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-fast);
}
.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-mark { position: relative; flex: none; width: 22px; height: 22px; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--wine); border-radius: 2px;
  transition: transform var(--t-med);
}
.faq-mark::before { width: 14px; height: 2px; }
.faq-mark::after  { width: 2px;  height: 14px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); }

.faq-item p {
  margin: 0; padding: 0 1.4rem 1.3rem;
  color: rgba(64, 0, 7, .75); font-size: .97rem;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--wine);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.cta-heart-bg {
  position: absolute; z-index: 0;
  width: clamp(320px, 42vw, 620px); height: auto;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  color: rgba(240, 234, 231, .11);
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.cta-final h2 { color: var(--cream); }
.cta-final p { color: rgba(240, 234, 231, .8); font-size: 1.08rem; margin-bottom: 2rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--gravel); color: var(--brown);
  padding: 3.5rem 0 2.5rem;
}
.footer-inner { display: grid; justify-items: center; gap: 1.6rem; text-align: center; }
.footer-logo { width: 180px; height: auto; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.footer-nav a {
  color: var(--brown); text-decoration: none; font-size: .93rem; font-weight: 500;
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--wine); }

.footer-legal p { margin: 0 0 .4rem; font-size: .88rem; }
.footer-copy { font-size: .8rem; color: rgba(64, 0, 7, .85); }
.tokio { color: var(--brown); letter-spacing: .08em; font-weight: 600; text-underline-offset: 3px; }
.tokio:hover { color: var(--wine); }

/* ==========================================================================
   BOTÃO FLUTUANTE
   ========================================================================== */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: var(--z-float);
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wine); color: var(--cream);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), background-color var(--t-fast), opacity var(--t-med), visibility var(--t-med);
  opacity: 0; visibility: hidden;
}
.wa-float.is-visible { opacity: 1; visibility: visible; }
.wa-float:hover { transform: translateY(-2px); background: var(--wine-hover); }
.wa-float:active { background: var(--wine-active); }

/* Único "pop" na primeira vez que o botão aparece — não repete a cada scroll */
.wa-float.pop-in { animation: wa-float-pop .5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes wa-float-pop {
  from { transform: scale(.7); }
  to   { transform: scale(1); }
}

/* ==========================================================================
   REVEAL ON SCROLL (Brand Book §4 — fade + leve deslocamento, ease-out)
   ========================================================================== */
.reveal { opacity: 1; transform: none; filter: none; }
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity var(--t-slow), transform var(--t-slow), filter var(--t-slow);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.will-reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* Tratamento próprio pra foto do Sobre — é a única foto real de pessoa da
   página, merece um reveal diferente do fade genérico das outras seções */
.reveal.reveal-clip.will-reveal {
  opacity: 1; transform: none; filter: none;
  clip-path: inset(0 0 0 100%);
  transition: clip-path var(--t-slow);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.reveal-clip.will-reveal.is-visible { clip-path: inset(0 0 0 0%); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card-top { left: 0; }
  .float-card-bottom { left: 0; right: auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 50px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: .6rem 1.25rem 1.4rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a {
    padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid rgba(64, 0, 7, .07);
    color: var(--brown); /* painel do menu é creme — precisa de texto escuro, diferente da navbar (vinho) */
  }
  .nav a:hover { color: var(--wine); }
  .nav a.is-active { color: var(--wine); } /* gravel sobre creme não passa em contraste — vinho aqui, como o hover */
  .nav .nav-cta-mobile { display: block; color: var(--wine); font-weight: 600; border-bottom: 0; }
  .header-actions .btn { display: none; } /* CTA do header vira item do menu no mobile */
  .social-icon { width: 34px; height: 34px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }

  .diff-grid { grid-template-columns: 1fr; }
  .sobre-grid, .form-grid { grid-template-columns: 1fr; }
  .sobre-visual { order: -1; }

  .timeline { flex-direction: column; gap: 1.8rem; }
  .timeline::before, .timeline::after {
    top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto;
  }
  .timeline::after { transform: scaleY(0); transform-origin: top center; }
  .timeline.is-active::after { animation-name: timeline-wine-y; }
  .timeline-step { display: flex; align-items: flex-start; gap: 1.1rem; }
  .timeline-node { margin-bottom: 0; flex: none; }

  .perfil-tabs { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  /* quebras manuais de título só fazem sentido em tela larga */
  .section-head h2 br, .cta-final h2 br { display: none; }
  .hero-ctas .btn { width: 100%; }
  .servicos-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-assurance { gap: .7rem; }
  .float-card { padding: .6rem .85rem; }
  .float-text { font-size: .72rem; }
  .float-text strong { font-size: .78rem; }
  .wa-float { right: 1rem; bottom: 1rem; width: 54px; height: 54px; }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal.will-reveal { opacity: 1; transform: none; filter: none; }
  .reveal-clip.will-reveal { clip-path: none; }
  .timeline-step { opacity: 1; transform: none; animation: none !important; }
  .timeline::after { transform: none; animation: none !important; }
  .timeline-node { background: var(--wine); color: var(--cream); animation: none !important; }
  .timeline-body { opacity: 1; transform: none; animation: none !important; }
  .hero h1, .hero .lede, .hero .hero-ctas, .hero .hero-assurance,
  .protect-card, .hero-photo-card, .float-card {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .btn, .perfil-tab, .field input, .field select, .field textarea {
    border: 1px solid ButtonText;
  }
}
