/* ═══════════════════════════════════════════════════════════════════════════
   ESCOLA ENFERMAGEM DE VALOR — sistema de design
   Base clara (Ivory Care). Roxo transforma, marfim acolhe, dourado aquece,
   azul organiza. Escuro só em texto e detalhe — nunca como território.
   Mobile-first: tudo abaixo de 720px é o padrão, o resto é progressão.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────── tipografia */
@font-face {
  font-family: 'Darky';
  src: url('/fonts/Darky-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Darky';
  src: url('/fonts/Darky-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Darky';
  src: url('/fonts/Darky-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Darky';
  src: url('/fonts/Darky-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Parkinsans';
  src: url('/fonts/Parkinsans-Variable.woff2') format('woff2-variations'),
       url('/fonts/Parkinsans-Variable.ttf') format('truetype-variations');
  font-weight: 300 800; font-style: normal; font-display: swap;
}
/* A Darky cobre todos os acentos do português MENOS ç e Ç. Sem isto, o navegador
   escolhe sozinho e o cedilha muda de fonte no meio de "Formação", "confiança",
   "começar" — em quase todo título. Roteamos só esses dois códigos para a
   Parkinsans, ajustada para casar peso e altura, e a troca deixa de aparecer. */
@font-face {
  font-family: 'Darky';
  src: url('/fonts/Parkinsans-Variable.woff2') format('woff2-variations'),
       url('/fonts/Parkinsans-Variable.ttf') format('truetype-variations');
  font-weight: 600 900; font-style: normal; font-display: swap;
  unicode-range: U+00E7, U+00C7;
  size-adjust: 96%;
}

/* ─────────────────────────────────────────────────────────────────── tokens */
:root {
  /* Sistema cromático oficial */
  --ivory:        #F6F0E8;   /* base clara principal */
  --ivory-deep:   #EFE7DB;   /* segunda superfície, ainda clara */
  --white:        #FFFFFF;
  --purple:       #332332;   /* Purple Shadow — texto e reconhecimento */
  --violet:       #6E56D6;   /* Alchemy Violet — títulos, ícones, linhas */
  --violet-light: #A785FF;   /* iluminação; nunca fundo dominante */
  --gold:         #DBA05D;   /* apoio, bordas, detalhes editoriais */
  --gold-hot:     #BD6B25;   /* ação */
  --gold-deep:    #A8571E;   /* ação sobre texto claro — 5.2:1, AA */
  --gold-press:   #944C18;   /* hover/ativo: escurece em vez de clarear — 6.4:1 */
  --ink-blue:     #1A2742;   /* dados, método */
  --blue-light:   #4B96FF;   /* só indicadores; uso mínimo */

  /* Derivados de leitura */
  --ink:          var(--purple);
  --ink-soft:     #6E5C6C;
  --ink-faint:    #756574;   /* 4.8:1 sobre o marfim — AA */
  --line:         #E4D9CC;
  --line-soft:    #EFE6DA;

  /* Superfícies */
  --surface:      var(--white);
  --surface-warm: #FBF7F1;
  --surface-tint: #F3EEFA;   /* lavanda claríssima, derivada do violeta */

  /* Ritmo */
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 30px; --r-full: 999px;
  --pad: 20px;
  --max: 1180px;
  --gap: 16px;

  --shadow-1: 0 1px 2px rgba(51,35,50,.05), 0 2px 8px rgba(51,35,50,.04);
  --shadow-2: 0 2px 4px rgba(51,35,50,.05), 0 12px 28px rgba(51,35,50,.08);
  --shadow-3: 0 4px 8px rgba(51,35,50,.06), 0 24px 48px rgba(51,35,50,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: 160ms var(--ease);
  --slow: 320ms var(--ease);

  --header-h: 60px;
}

@media (min-width: 720px) { :root { --pad: 32px; --gap: 20px; --header-h: 72px; } }
@media (min-width: 1024px) { :root { --pad: 40px; --gap: 24px; } }

/* ───────────────────────────────────────────────────────────────────── reset */
*, *::before, *::after { box-sizing: border-box; }
/* precisa vencer .menu{display:flex} — sem isso o painel fechado fica no DOM */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Parkinsans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 720px) { body { font-size: 18px; } }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: 'Darky', 'Parkinsans', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--purple);
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

/* Escala fluida: cresce com a tela sem media query */
.t-display { font-size: clamp(1.95rem, 5.4vw, 3.25rem); line-height: 1.02; letter-spacing: -.025em; }
.t-h1      { font-size: clamp(1.85rem, 6.4vw, 3.1rem); line-height: 1.06; letter-spacing: -.02em; }
.t-h2      { font-size: clamp(1.55rem, 5.2vw, 2.4rem);  line-height: 1.12; }
.t-h3      { font-size: clamp(1.2rem, 3.8vw, 1.55rem);  line-height: 1.2; }
.t-lead    { font-size: clamp(1rem, 2.6vw, 1.22rem); line-height: 1.58; color: var(--ink-soft); font-weight: 400; }
.t-small   { font-size: .875rem; line-height: 1.5; }
.t-micro   { font-size: .78rem; line-height: 1.45; letter-spacing: .01em; }

.eyebrow {
  font-family: 'Parkinsans', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin: 0 0 .85em;
  display: flex; align-items: center; gap: .55em;
}
.eyebrow::before {
  content: ''; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  flex: none;
}
.eyebrow.is-centered { justify-content: center; }

/* ────────────────────────────────────────────────────────────────── estrutura */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 760px; }

section { position: relative; }
.band { padding-block: clamp(48px, 9vw, 96px); }
.band-tight { padding-block: clamp(32px, 6vw, 60px); }
.band-warm { background: var(--surface-warm); }
.band-tint { background: var(--surface-tint); }
.band-white { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.stack   { display: flex; flex-direction: column; gap: var(--gap); }
.row     { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid    { display: grid; gap: var(--gap); }
.grid-2  { grid-template-columns: 1fr; }
.grid-3  { grid-template-columns: 1fr; }
.grid-4  { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────── botões */
.btn {
  --btn-bg: var(--gold-deep);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--r-full);
  font-family: 'Parkinsans', sans-serif; font-weight: 600; font-size: 1rem;
  letter-spacing: -.005em; text-align: center;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast);
  box-shadow: 0 1px 2px rgba(51,35,50,.10), 0 6px 16px rgba(168,87,30,.18);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.btn:hover  { background: var(--gold-press); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(51,35,50,.10), 0 12px 24px rgba(168,87,30,.24); }
.btn:active { transform: translateY(0) scale(.99); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--purple);
  border: 1.5px solid var(--line); box-shadow: none;
  background: rgba(255,255,255,.6);
}
.btn-ghost:hover { background: var(--white); border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow-1); }

.btn-violet { --btn-bg: var(--violet); box-shadow: 0 1px 2px rgba(51,35,50,.10), 0 6px 16px rgba(110,86,214,.22); }
.btn-violet:hover { background: #5c46bd; }

.btn-sm  { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-lg  { min-height: 58px; padding: 17px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }
@media (min-width: 560px) { .btn-block\@m { width: auto; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--violet); font-weight: 600; font-size: .95rem;
  min-height: 44px;
}
.link-arrow svg { transition: transform var(--fast); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ────────────────────────────────────────────────────────────────── etiquetas */
.tag {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 5px 11px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  background: var(--surface-tint); color: var(--violet);
  border: 1px solid rgba(110,86,214,.14);
  white-space: nowrap;
}
.tag-gold  { background: #FBF1E4; color: var(--gold-deep); border-color: rgba(168,87,30,.16); }
.tag-blue  { background: #EDF3FD; color: var(--ink-blue); border-color: rgba(26,39,66,.12); }
.tag-live  { background: #FDF0EC; color: #A8371E; border-color: rgba(168,55,30,.18); }
.tag-live::before { content:''; width:6px; height:6px; border-radius:50%; background:#D4472B; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.35 } }

/* ─────────────────────────────────────────────────────────── card de produto */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--slow), box-shadow var(--slow), border-color var(--slow);
  box-shadow: var(--shadow-1);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line); }

/* O logo do produto ganha um palco próprio, claro e calmo */
.card-stage {
  display: grid; place-items: center;
  padding: 22px;
  background: linear-gradient(168deg, #FBF8F3 0%, #F5F0FA 100%);
  border-bottom: 1px solid var(--line-soft);
  min-height: 104px;
}
/* Limita os DOIS eixos: só a altura deixa símbolos largos dominarem a grade
   e símbolos estreitos sumirem. object-fit resolve o resto. */
.card-stage img { max-height: 62px; max-width: 92px; width: auto; object-fit: contain; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.card-name { font-family: 'Darky', sans-serif; font-weight: 700; font-size: 1.04rem; line-height: 1.18; margin: 0; }
.card-line { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); margin: 0; flex: 1; }
.card-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 12px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.card-price { font-family: 'Darky', sans-serif; font-weight: 700; font-size: 1.12rem; color: var(--purple); line-height: 1; }
.card-price small { display: block; font-family: 'Parkinsans', sans-serif; font-weight: 400; font-size: .68rem; color: var(--ink-faint); letter-spacing: 0; margin-top: 3px; }
.card-cta { font-size: .88rem; font-weight: 600; color: var(--gold-deep); display: inline-flex; align-items: center; gap: .35em; min-width: 0; }
.card-cta svg { transition: transform var(--fast); }
.card:hover .card-cta svg { transform: translateX(3px); }
/* Toda a área do card é clicável, sem aninhar links */
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-badge { position: absolute; top: 12px; right: 12px; z-index: 2; }

/* ───────────────────────────────────────────────────────────────────  header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,240,232,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast), background var(--fast);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(246,240,232,.94); }
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 34px; width: auto; }
@media (min-width: 720px) { .brand img { height: 40px; } }

.nav-desk { display: none; }
@media (min-width: 1024px) {
  .nav-desk { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
  .nav-desk a {
    padding: 9px 13px; border-radius: var(--r-full);
    font-size: .93rem; font-weight: 500; color: var(--ink-soft);
    transition: color var(--fast), background var(--fast);
  }
  .nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--purple); background: rgba(255,255,255,.75); }
}

.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-full);
  color: var(--purple); flex: none;
  transition: background var(--fast);
}
.icon-btn:hover { background: rgba(255,255,255,.8); }
.header .btn-sm { display: none; }
@media (min-width: 640px) { .header .btn-sm { display: inline-flex; } }
@media (min-width: 1024px) { .icon-btn.is-menu { display: none; } }

/* menu mobile — painel claro, um item por linha, alvo grande */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--ivory);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--slow);
  overscroll-behavior: contain;
}
.menu[data-open="true"] { transform: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--pad); border-bottom: 1px solid var(--line); }
.menu-body { flex: 1; overflow-y: auto; padding: 12px var(--pad) 32px; -webkit-overflow-scrolling: touch; }
.menu-body a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; font-size: 1.14rem; font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
  color: var(--purple);
}
.menu-body a svg { color: var(--ink-faint); }
.menu-foot { padding: 20px var(--pad) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

/* ───────────────────────────────────────────────────────────────────── busca */
.search-panel {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(51,35,50,.28);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--fast);
}
.search-panel[data-open="true"] { opacity: 1; pointer-events: auto; }
.search-sheet {
  background: var(--ivory);
  padding: 14px var(--pad) 24px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  max-height: 88vh; overflow-y: auto;
  transform: translateY(-14px); opacity: 0;
  transition: transform var(--slow), opacity var(--slow);
}
.search-panel[data-open="true"] .search-sheet { transform: none; opacity: 1; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--r-full); padding: 4px 6px 4px 16px;
  box-shadow: var(--shadow-1);
}
.search-field:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(110,86,214,.12); }
.search-field input { flex: 1; border: 0; background: none; outline: 0; min-height: 48px; font-size: 1rem; min-width: 0; }
.search-field input::placeholder { color: var(--ink-faint); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
/* No celular os filtros viram trilho: uma linha só, deslizando com o polegar,
   em vez de três fileiras empurrando os cards para fora da tela. */
.chips-trilho {
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1);
  scroll-snap-type: x proximity;
}
.chips-trilho::-webkit-scrollbar { display: none; }
.chips-trilho .chip { flex: none; scroll-snap-align: start; }
@media (min-width: 720px) {
  .chips-trilho { flex-wrap: wrap; overflow: visible; padding-inline: 0; margin-inline: 0; }
}
.chip {
  padding: 8px 14px; border-radius: var(--r-full);
  background: var(--white); border: 1px solid var(--line);
  font-size: .87rem; font-weight: 500; color: var(--ink-soft);
  min-height: 40px; display: inline-flex; align-items: center;
  transition: all var(--fast); cursor: pointer;
}
.chip:hover { border-color: var(--gold); color: var(--purple); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--purple); border-color: var(--purple); color: var(--ivory); }
.search-results { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.search-hit {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line-soft);
  transition: border-color var(--fast), transform var(--fast);
}
.search-hit:hover { border-color: var(--gold); transform: translateX(2px); }
.search-hit img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.search-hit strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.25; }
.search-hit span { font-size: .8rem; color: var(--ink-soft); }
.search-empty { padding: 24px 4px; color: var(--ink-soft); text-align: center; }

/* ────────────────────────────────────────────────────────────────────── hero */
.hero { position: relative; padding-top: clamp(24px, 6vw, 76px); padding-bottom: clamp(32px, 6vw, 68px); overflow: hidden; }
/* Luz suave — Purple Light como iluminação, nunca como fundo */
.hero::before {
  content: ''; position: absolute; z-index: 0;
  top: -32%; right: -18%; width: 78vw; height: 78vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(167,133,255,.20) 0%, rgba(219,160,93,.11) 42%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-title { margin-bottom: .38em; }
.hero-title em { font-style: normal; color: var(--violet); }
.hero-sub { max-width: 560px; margin-bottom: 24px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
@media (min-width: 560px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }

.proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.proof-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); }
.proof-item strong { color: var(--purple); font-weight: 600; }
.proof-item svg { color: var(--gold); flex: none; }

/* ─────────────────────────────────────────────────── portas (o que você precisa) */
.doors { display: grid; gap: 12px; }
@media (min-width: 700px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 20px;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  transition: transform var(--slow), box-shadow var(--slow), border-color var(--slow);
  overflow: hidden;
}
.door::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--gold));
  opacity: 0; transition: opacity var(--slow);
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line); }
.door:hover::after { opacity: 1; }
.door h3 { font-size: 1.1rem; line-height: 1.22; margin: 0; }
.door p { font-size: .92rem; color: var(--ink-soft); margin: 0; flex: 1; }
.door .card-cta { margin-top: 6px; }
/* A porta da Cuidadora Familiar fala outra língua — e mostra isso */
.door.is-familiar { background: linear-gradient(165deg, #FBF6EF 0%, #F7F2FB 100%); border-color: rgba(219,160,93,.28); }

/* ────────────────────────────────────────────────────────── escada do ecossistema */
.ladder { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 900px) { .ladder { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }
.rung {
  position: relative; counter-increment: step;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--slow), box-shadow var(--slow);
}
.rung::before {
  content: counter(step);
  font-family: 'Darky', sans-serif; font-size: 2.6rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--violet-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}
.rung:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.rung h3 { font-size: 1.06rem; margin: 0; }
.rung p { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1; }
/* Cada degrau um pouco mais "presente" que o anterior, sem escurecer */
.rung:nth-child(2) { background: linear-gradient(165deg, #FFFFFF, #FAF7FE); }
.rung:nth-child(3) { background: linear-gradient(165deg, #FFFFFF, #F6F1FC); border-color: rgba(110,86,214,.18); }
.rung:nth-child(4) { background: linear-gradient(165deg, #FDF8F1, #F5F0FB); border-color: rgba(219,160,93,.32); }

/* ─────────────────────────────────────────────────────────── destaque ecossistema */
.spotlight {
  display: grid; gap: 22px;
  padding: clamp(26px, 4.5vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, #FFFFFF 0%, #F7F2FC 58%, #FBF4EA 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
}
@media (min-width: 900px) { .spotlight { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 44px; } }
.spotlight-logo { max-height: 86px; width: auto; margin-bottom: 18px; }
.spotlight-side { display: grid; place-items: center; }
.spotlight-side img { max-height: 220px; width: auto; }

/* ───────────────────────────────────────────────────────────────── depoimentos */
.quote {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 22px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
}
.quote-mark { font-family: 'Darky', sans-serif; font-size: 2.4rem; line-height: .6; color: var(--gold); opacity: .5; }
.quote p { font-size: .98rem; line-height: 1.58; margin: 0; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.quote-who img, .quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; object-fit: cover;
  background: linear-gradient(135deg, var(--violet-light), var(--gold));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem;
}
.quote-who strong { display: block; font-size: .92rem; font-weight: 600; }
.quote-who span { font-size: .8rem; color: var(--ink-soft); }

/* Placeholder honesto: espaço preparado, sem depoimento inventado */
.placeholder {
  display: grid; place-items: center; gap: 10px; text-align: center;
  padding: 34px 24px; border-radius: var(--r-lg);
  border: 1.5px dashed var(--line);
  background: repeating-linear-gradient(135deg, transparent, transparent 9px, rgba(219,160,93,.045) 9px, rgba(219,160,93,.045) 18px);
  color: var(--ink-faint); font-size: .9rem;
}
.placeholder svg { color: var(--gold); opacity: .55; }
.hero-visual .placeholder img { border: 0; }

/* ───────────────────────────────────────────────────────────── carrossel/scroller */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1);
  padding-bottom: 6px; scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 560px) { .scroller { grid-auto-columns: 46%; } }
@media (min-width: 900px) {
  .scroller {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    overflow: visible; padding-inline: 0; margin-inline: 0;
  }
}

/* ───────────────────────────────────────────────────────────────── página produto */
.p-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 60px); }
.p-hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .p-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; } }
.p-logo { max-height: 92px; width: auto; margin-bottom: 20px; }
.p-visual {
  display: grid; place-items: center; padding: 38px;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, #FFFFFF 0%, #F6F1FC 55%, #FCF5EC 100%);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  min-height: 240px;
}
.p-visual img { max-height: 240px; width: auto; }

.pricebox {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  margin: 4px 0 22px;
}
.pricebox .now { font-family: 'Darky', sans-serif; font-size: clamp(1.7rem, 5vw, 2.3rem); font-weight: 800; line-height: 1; }
.pricebox .was { font-size: 1rem; color: var(--ink-faint); text-decoration: line-through; }
.pricebox .note { width: 100%; font-size: .85rem; color: var(--ink-soft); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.checklist svg { flex: none; margin-top: 3px; color: var(--violet); }
.checklist.is-gold svg { color: var(--gold-hot); }

.tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  padding: 16px 16px 15px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line-soft);
  font-size: .92rem; font-weight: 500;
}
.tile span { display: block; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 3px; }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r);
  background: #FCF6EC; border: 1px solid rgba(219,160,93,.34);
  font-size: .92rem; line-height: 1.52; color: #6B4A28;
}
.notice svg { flex: none; margin-top: 2px; color: var(--gold-hot); }

/* CTA fixa no rodapé do mobile — o checkout nunca fica a mais de um toque */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,240,232,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  transform: translateY(105%); transition: transform var(--slow);
}
.dock[data-show="true"] { transform: none; }
.dock-price { flex: none; line-height: 1.1; }
.dock-price strong { font-family: 'Darky', sans-serif; font-size: 1.12rem; }
.dock-price span { display: block; font-size: .68rem; color: var(--ink-soft); }
.dock .btn { flex: 1; }
@media (min-width: 900px) { .dock { display: none; } }
body.has-dock { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-dock { padding-bottom: 0; } }

/* ──────────────────────────────────────────────────────────────────── acordeão */
.acc { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 19px 2px; text-align: left;
  font-size: 1.01rem; font-weight: 600; color: var(--purple); line-height: 1.35;
}
.acc-q svg { flex: none; color: var(--violet); transition: transform var(--slow); }
.acc-item[data-open="true"] .acc-q svg { transform: rotate(45deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--slow); }
.acc-item[data-open="true"] .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 2px 20px; color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ──────────────────────────────────────────────────────────────────── GPS/quiz */
.quiz {
  border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(155deg, #FFFFFF 0%, #F6F1FC 100%);
  border: 1px solid rgba(110,86,214,.16);
  box-shadow: var(--shadow-1);
}
.quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background var(--slow); }
.quiz-progress i.is-done { background: linear-gradient(90deg, var(--violet), var(--gold)); }
.quiz-options { display: grid; gap: 10px; margin-top: 20px; }
.quiz-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 16px 18px; min-height: 58px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  font-size: 1rem; font-weight: 500; transition: all var(--fast);
}
.quiz-opt:hover { border-color: var(--violet); background: #FCFAFF; transform: translateX(3px); }
.quiz-opt b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-tint); color: var(--violet); font-size: .8rem; flex: none; }

/* ────────────────────────────────────────────────────────────────────── footer */
.footer { background: var(--ivory-deep); border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 64px) 28px; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; } }
.footer h4 { font-family: 'Parkinsans', sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer ul a { display: block; padding: 7px 0; font-size: .93rem; color: var(--ink-soft); transition: color var(--fast); }
.footer ul a:hover { color: var(--purple); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .8rem; color: var(--ink-faint);
}
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-full); background: var(--white); border: 1px solid var(--line); color: var(--ink-soft); transition: all var(--fast); }
.social a:hover { color: var(--violet); border-color: var(--violet); }

/* ────────────────────────────────────────────────────────────── LGPD / cookies */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  display: none; gap: 14px; flex-direction: column;
  font-size: .88rem; color: var(--ink-soft);
}
.cookie[data-show="true"] { display: flex; }
@media (min-width: 720px) { .cookie { left: auto; right: 20px; bottom: 20px; max-width: 400px; } }

/* ─────────────────────────────────────────────────────────────── revelação sutil */
/* Só esconde quando o JS assumiu o controle (html.js). Sem JS, ou se o script
   falhar, o conteúdo aparece normalmente — animação nunca esconde conteúdo. */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

/* ─────────────────────────────────────────────────────────────────── utilidades */
.center { text-align: center; }
.mt-s { margin-top: 12px } .mt-m { margin-top: 24px } .mt-l { margin-top: 40px }
.muted { color: var(--ink-soft); }
.hide-m { display: none; }
@media (min-width: 720px) { .hide-m { display: revert; } .only-m { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--purple); color: var(--ivory); border-radius: var(--r-sm);
  transition: top var(--fast);
}
.skip:focus { top: 12px; }
.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(32px, 5vw, 56px); }
.count { font-size: .8rem; color: var(--ink-faint); }

/* ─────────────────────────────────────── atalhos do hero (home como link da bio) */
.atalhos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.atalhos .chip { font-weight: 600; color: var(--purple); gap: 6px; }
.atalhos .chip svg { width: 16px; height: 16px; color: var(--ink-soft); }
.atalhos .chip:hover { border-color: var(--violet); background: #FCFAFF; }

/* ───────────────────────────── hero em duas colunas a partir do desktop médio */
.hero-grid { display: grid; gap: 32px; }
/* No celular a foto não compete com a decisão: o texto e os CTAs vêm primeiro. */
.hero-visual { display: none; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.16fr .84fr; gap: 48px; align-items: center; }
  .hero-visual { display: block; }
}
