/*
 * Cillu — site institucional. CSS mobile-first, sem framework nem build.
 * Organização: 1. Fontes · 2. Base · 3. Layout · 4. Componentes · 5. Páginas.
 * Cores só por token (tokens.css); nenhuma cor literal neste arquivo.
 */

/* ==========================================================================
   1. Fontes (auto-hospedadas)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.woff2') format('woff2-variations'), url('../fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Fraunces: a mesma serifa do app (OFL), subconjunto latino. Sem itálico. */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-Variable.woff2') format('woff2-variations'), url('../fonts/Fraunces-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
/* hidden vence o display das classes (abas, painéis, botão de tema antes do JS). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-4)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--selection); }

img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
/* Link no meio do texto: sublinhado, para não depender só da cor. */
p a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.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-link {
  position: absolute;
  top: -60px;
  left: var(--space-4);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-control);
  background: var(--action);
  color: var(--on-action);
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--space-2); color: var(--on-action); }

/* Tipografia */
.display,
.h1,
.h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  color: var(--text-heading);
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.display { font-size: var(--font-size-display); line-height: 1.04; letter-spacing: -0.02em; }
.h1 { font-size: var(--font-size-h1); line-height: 1.1; }
.h2 { font-size: var(--font-size-h2); line-height: 1.15; }
.h3 { font-size: var(--font-size-h3); line-height: 1.3; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.lead { font-size: var(--font-size-lead); line-height: 1.6; color: var(--text-muted); }
.text-muted,
.text-secondary { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }

.kicker,
.overline {
  font-size: var(--font-size-overline);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker--teal { color: var(--teal); }
.kicker--success { color: var(--success); }
.kicker--danger { color: var(--danger); }

/* ==========================================================================
   3. Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 600px) { .container { padding: 0 var(--space-6); } }

.section { padding: var(--space-20) 0; }
.section--tight { padding: var(--space-10) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: var(--space-24) 0; } }

/*
 * Seções abaixo da dobra só passam por layout e pintura quando se aproximam
 * da tela. Reduz o trabalho da primeira pintura em celulares mais lentos;
 * a altura estimada evita saltos na barra de rolagem.
 */
main > section ~ section ~ section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.section-heading { max-width: 760px; }
.section-heading > * + * { margin-top: var(--space-3); }
.section-heading .lead { margin-top: var(--space-4); font-size: 17px; }
.section-heading--center { margin: 0 auto; text-align: center; }

.split { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-14); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse > :first-child { order: 2; }
}

.grid-auto { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ==========================================================================
   4. Componentes
   ========================================================================== */

/* --- Cabeçalho ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  max-width: var(--content-max-width);
  min-height: 72px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
}
.site-header__brand { display: flex; align-items: center; margin-right: auto; }
.site-header__brand:hover { text-decoration: none; }
.site-header__tools { display: flex; align-items: center; gap: var(--space-2); }

/* Logo por tema: os dois <img> ficam no HTML e o CSS mostra um só. */
.logo { height: 40px; width: auto; }
.logo--light { display: none; }
:root[data-theme="light"] .logo--dark { display: none; }
:root[data-theme="light"] .logo--light { display: block; }
.site-footer .logo { height: 34px; }

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text-heading);
  cursor: pointer;
}
.icon-button:hover { border-color: var(--accent); }

/* Alternância de tema: o ícone mostra o tema para o qual o botão leva. */
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ''; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) 0 var(--space-2);
  border-top: 1px solid var(--border);
}
.site-nav.is-open { display: flex; }
.site-nav__link {
  display: block;
  padding: var(--space-3) 0;
  color: var(--text-nav);
  font-size: 15px;
  font-weight: var(--font-weight-medium);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--text-heading); text-decoration: none; }
.site-nav__actions { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.site-nav__login { color: var(--text-heading); font-weight: var(--font-weight-medium); padding: var(--space-3) 0; }
.site-nav__login:hover { color: var(--accent); text-decoration: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-header__bar { flex-wrap: nowrap; gap: var(--space-6); }
  .site-header__brand { margin-right: 0; }
  .site-header__tools { order: 3; }
  .site-nav {
    display: flex;
    flex: 1 1 auto;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
    padding: 0;
    border-top: 0;
  }
  .site-nav__link { padding: var(--space-2) 0; }
  .site-nav__actions { flex-direction: row; align-items: center; gap: var(--space-3); margin: 0 0 0 auto; }
  .site-nav__login { padding: var(--space-3) var(--space-2); }
}

/* --- Rodapé --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-12) 0 var(--space-8); color: var(--text-subtle); font-size: var(--font-size-small); }
.site-footer__grid { display: grid; gap: var(--space-8); }
.site-footer__tagline { margin-top: var(--space-4); max-width: 32ch; color: var(--text-muted-2); }
.site-footer__title { font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-heading); margin-bottom: var(--space-3); }
.site-footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__col a { color: var(--text-muted-2); }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.site-footer__credit { font-size: var(--font-size-caption); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* --- Botões --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--large { min-height: 56px; padding: var(--space-4) var(--space-8); font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--action); color: var(--on-action); box-shadow: 0 10px 30px var(--action-shadow); }
.btn--primary:hover { background: var(--action-hover); color: var(--on-action); }
.btn--ghost { border-color: var(--border-strong); color: var(--text-heading); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--text-heading); }
.btn--small { min-height: 44px; padding: var(--space-2) var(--space-4); }
/* Botões sobre os destaques escuros (iguais nos dois temas). */
.btn--on-highlight { background: var(--highlight-button-bg); color: var(--highlight-button-text); }
.btn--on-highlight:hover { background: var(--highlight-accent); color: var(--highlight-button-text); }
.btn--on-highlight-ghost { border-color: var(--highlight-outline); color: var(--highlight-text); }
.btn--on-highlight-ghost:hover { border-color: var(--highlight-text); color: var(--highlight-text); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 599px) {
  .btn-row .btn { width: 100%; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --- Selos, etiquetas e pílulas ------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
}
.chip--plain { border-color: transparent; padding: 4px 10px; font-size: 12px; }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill-row--center { justify-content: center; }
.pill {
  padding: var(--space-2) 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--text);
  font-size: var(--font-size-small);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
}
.tag--success { color: var(--success); background: var(--success-bg); }
.tag--warning { color: var(--warning); background: var(--warning-bg); }
.tag--danger { color: var(--danger); background: var(--danger-bg); }
.tag--teal { color: var(--teal); background: var(--teal-bg); }
.tag--accent { color: var(--chip-text); background: var(--chip-bg); }

/* --- Ícones em bloco e listas -------------------------------------------- */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  flex: none;
}
.icon-tile--large { width: 52px; height: 52px; border-radius: 16px; }
.icon-tile--success { background: var(--success-bg); color: var(--success); }
.icon-tile--teal { background: var(--teal-bg); color: var(--teal); }
.icon-tile--danger { background: var(--danger-bg); color: var(--danger); }
.icon-tile--action { background: var(--action); color: var(--on-action); }

.feature-list { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature { display: flex; gap: var(--space-3); }
.feature__title { font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.feature__text { margin-top: var(--space-1); font-size: var(--font-size-small); color: var(--text-muted-2); }

.check-list { display: flex; flex-direction: column; gap: var(--space-3); color: var(--text); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { margin-top: 3px; color: var(--success); }
.check-list--accent svg { color: var(--accent); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  flex: none;
}
.step-number--large { width: 32px; height: 32px; font-size: 14px; background: var(--action); color: var(--on-action); }

/* --- Cartões e painéis ---------------------------------------------------- */
.card {
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.band {
  padding: var(--space-10) var(--space-5);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-band);
  background: var(--shield-bg);
}
@media (min-width: 768px) { .band { padding: var(--space-14) var(--space-12); } }

/* --- Molduras de tela ----------------------------------------------------- */
.browser-frame {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 50px 120px var(--glow);
}
.browser-frame__dots { display: flex; gap: 6px; padding: 6px 8px 12px; }
.browser-frame__dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--dot); }
.browser-frame img { width: 100%; border-radius: var(--radius-control); }
.browser-frame--plain { padding: var(--space-2); box-shadow: 0 40px 90px var(--shadow); }

/* --- Perguntas frequentes ------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 820px; margin: var(--space-10) auto 0; }
.faq-item { padding: var(--space-5) var(--space-6); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; color: var(--accent); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: var(--space-3); color: var(--text-muted); }

/* --- Formulários ---------------------------------------------------------- */
.form-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: var(--font-size-small); font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.form-field__optional { font-weight: var(--font-weight-regular); color: var(--text-subtle); }
.form-field input,
.form-field select,
.form-field textarea {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-control);
  background: var(--input-bg);
  color: var(--text);
  font: 400 15px var(--font-body);
}
.form-field textarea { min-height: 110px; padding: var(--space-3) 14px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-subtle); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: transparent; }
.form-field--error input,
.form-field--error select,
.form-field--error textarea { border-color: var(--danger); }
.form-field__error { color: var(--danger); font-size: var(--font-size-caption); font-weight: var(--font-weight-medium); }
.form-note { font-size: 12px; color: var(--text-subtle); }

/* Campo isca: escondido de pessoas, ainda alcançável por robôs simples. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: var(--space-4); border-radius: var(--radius-control); margin-bottom: var(--space-4); }
.form-alert--success { background: var(--success-bg); color: var(--success); }
.form-alert--error { background: var(--danger-bg); color: var(--danger); }

/* --- Vídeo explicativo (partials/explainer-video.php) --------------------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: 0 30px 80px var(--shadow);
}
.video-embed__cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video-embed__cover img { width: 100%; height: 100%; object-fit: cover; }
/* No canto inferior direito: o lado esquerdo da capa tem o título do vídeo. */
.video-embed__play {
  position: absolute;
  right: 5%;
  bottom: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 12%, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--action);
  color: var(--on-action);
  box-shadow: 0 18px 50px var(--action-shadow);
  transition: transform 0.15s ease;
}
.video-embed__play svg { margin-left: 4px; }
.video-embed__cover:hover .video-embed__play { transform: scale(1.06); }
.video-embed__cover:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.video-embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Cartão de plano (partials/plan-card.php) ----------------------------- */
/*
 * Escada de cinco planos: uma coluna no celular, duas no tablet e 3 + 2 em
 * telas largas, como a etapa Plano do cadastro no app (sem cartão sozinho na
 * última linha).
 */
.plan-grid { display: grid; gap: var(--space-4); align-items: stretch; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .plan-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .plan-grid > * { grid-column: span 2; }
  .plan-grid > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.plan-card__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.plan-card__name { font-size: 20px; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.plan-card__badge { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--highlight-badge-bg); color: var(--highlight-badge-text); font-size: 12px; font-weight: var(--font-weight-bold); letter-spacing: 0.04em; white-space: nowrap; }
.plan-card__badge--free { background: var(--success-bg); color: var(--success); }
/* Até 3 linhas de descrição sem desalinhar os preços entre cartões. */
.plan-card__desc { margin-top: 6px; min-height: calc(3 * 1.45em); font-size: var(--font-size-small); line-height: 1.45; color: var(--text-muted-2); }
.plan-card__amount { font-family: var(--font-display); font-size: clamp(28px, 2.3vw, 36px); font-weight: var(--font-weight-bold); color: var(--text-heading); white-space: nowrap; }
.plan-card__period,
.plan-card__daily { color: var(--text-subtle); }
.plan-card__daily { margin-top: 2px; font-size: var(--font-size-caption); }
.plan-card__savings { margin-top: 2px; font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); color: var(--success); }
.plan-card__highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}
.plan-card__body { flex-grow: 1; }
.plan-card__additions-title { margin-bottom: 10px; font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); color: var(--accent); }
.plan-card__additions { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--font-size-small); color: var(--text); }
.plan-card__additions li { display: flex; gap: var(--space-2); align-items: flex-start; }
.plan-card__additions svg { margin-top: 3px; color: var(--success); }

.plan-card--recommended {
  border-color: var(--highlight-border);
  background: var(--highlight-bg);
  box-shadow: 0 30px 70px var(--action-shadow);
}
.plan-card--recommended .plan-card__name,
.plan-card--recommended .plan-card__amount,
.plan-card--recommended .plan-card__highlights { color: var(--highlight-text); }
.plan-card--recommended .plan-card__desc { color: var(--highlight-muted); }
.plan-card--recommended .plan-card__period,
.plan-card--recommended .plan-card__daily { color: var(--highlight-subtle); }
.plan-card--recommended .plan-card__savings,
.plan-card--recommended .plan-card__additions svg { color: var(--highlight-check); }
.plan-card--recommended .plan-card__highlights { border-color: var(--highlight-divider); }
.plan-card--recommended .plan-card__additions-title { color: var(--highlight-accent); }
.plan-card--recommended .plan-card__additions { color: var(--highlight-text-soft); }

/* Alternância mensal/anual: só existe quando o catálogo traz preço anual. */
.plan-card__price--annual { display: none; }
[data-billing="annual"] .plan-card__price--monthly { display: none; }
[data-billing="annual"] .plan-card__price--annual { display: block; }
/* O gratuito não tem preço anual: "Grátis" fica nos dois modos. */
[data-billing="annual"] .plan-card--free .plan-card__price--monthly { display: block; }

.billing-toggle {
  display: inline-flex;
  gap: var(--space-1);
  margin: var(--space-8) auto 0;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.billing-toggle__wrap { display: flex; justify-content: center; }
.billing-toggle button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-nav);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }

.plan-note { margin-top: var(--space-2); text-align: center; color: var(--text-subtle); font-size: var(--font-size-small); }

/* --- Preço promocional de lançamento (partials/launch-pricing-*.php) ------ */
.launch-strip { position: relative; overflow: hidden; background: var(--launch-strip-bg); color: var(--launch-strip-text); }
/* Brilho que atravessa a faixa a cada 7 s, só para chamar o olhar. */
.launch-strip::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--launch-strip-shine);
  transform: translateX(-120%);
  animation: launch-shine 7s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes launch-shine {
  0% { transform: translateX(-120%); }
  22%, 100% { transform: translateX(320%); }
}
.launch-strip__inner { position: relative; z-index: 1; }
.launch-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}
.launch-strip__text strong { font-weight: var(--font-weight-bold); }
.launch-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--launch-tag-bg);
  color: var(--launch-tag-text);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.launch-strip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--launch-tag-dot);
  animation: launch-pulse 2.2s ease-out infinite;
}
@keyframes launch-pulse {
  0% { box-shadow: 0 0 0 0 var(--launch-tag-pulse); }
  70% { box-shadow: 0 0 0 8px var(--launch-tag-pulse-end); }
  100% { box-shadow: 0 0 0 0 var(--launch-tag-pulse-end); }
}
@media (prefers-reduced-motion: reduce) {
  .launch-strip__dot,
  .launch-strip::after { animation: none; }
  .launch-strip::after { display: none; }
}
.launch-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid var(--launch-strip-link-border);
  border-radius: var(--radius-pill);
  background: var(--launch-strip-link-bg);
  color: var(--launch-strip-text);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}
/* Mais específico que `p a:not(.btn)`, que sublinha links em parágrafo. */
.launch-strip .launch-strip__link { text-decoration: none; }
.launch-strip .launch-strip__link:hover { color: var(--launch-strip-text); border-color: var(--launch-strip-text); }
.launch-strip__link:focus-visible { outline-color: var(--launch-strip-text); }
.launch-strip__short { display: none; }
/* Contagem regressiva até LAUNCH_PRICING_ENDS_AT (main.js atualiza). */
.launch-timer {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--launch-strip-link-border);
  border-radius: var(--radius-control);
  background: var(--launch-timer-bg);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.launch-timer__digits { display: inline-flex; align-items: center; gap: 3px; }
.launch-timer__unit { display: inline-flex; align-items: baseline; gap: 2px; }
.launch-timer__unit b { display: inline-block; min-width: 2ch; font-size: 15px; font-weight: var(--font-weight-bold); line-height: 1.3; text-align: center; }
.launch-timer__unit i { font-size: 10px; font-style: normal; font-weight: var(--font-weight-semibold); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.85; }
.launch-timer__sep { font-weight: var(--font-weight-bold); opacity: 0.6; }
.launch-timer.is-tick [data-launch-unit="s"] { animation: launch-tick 0.35s ease-out; }
@keyframes launch-tick {
  0% { transform: translateY(-3px); opacity: 0.4; }
  100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .launch-timer.is-tick [data-launch-unit="s"] { animation: none; }
}
/* Celular: faixa compacta, sem o selo em texto (o ponto pulsante fica junto do
   texto). Linha 1: "Preço promocional de lançamento termina em"; linha 2: a
   contagem e o botão. */
@media (max-width: 599px) {
  .launch-strip__inner {
    gap: var(--space-2) var(--space-3);
    padding: var(--space-2) var(--space-4);
    font-size: 13px;
    line-height: 1.35;
  }
  .launch-strip__extra { display: none; }
  .launch-strip__short { display: inline; }
  .launch-timer__unit b { font-size: 14px; }
  .launch-strip__tag { padding: 0; background: none; font-size: 0; letter-spacing: 0; }
  .launch-strip__dot { background: var(--launch-strip-text); }
  .launch-strip__link { min-height: 36px; padding: 4px 12px; font-size: 13px; }
}
/* Confete da primeira visita (main.js): canvas por cima da página. */
.confetti-canvas { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; pointer-events: none; }

.launch-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4);
  max-width: 820px;
  margin: var(--space-8) auto;
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-card);
  background: var(--accent-bg);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}
.launch-notice__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-control);
  background: var(--action);
  color: var(--on-action);
}
.launch-notice__body { display: grid; gap: 6px; min-width: 0; }
.launch-notice__tag { font-size: 12px; font-weight: var(--font-weight-bold); letter-spacing: 0.05em; text-transform: uppercase; color: var(--chip-text); }
.launch-notice__title { font-size: var(--font-size-body); font-weight: var(--font-weight-semibold); line-height: 1.4; color: var(--text-heading); }
.launch-notice__text { font-size: var(--font-size-small); line-height: 1.55; color: var(--text-muted); }
@media (max-width: 519px) {
  .launch-notice { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
}

.plan-card__launch {
  display: inline-flex;
  width: fit-content;
  margin-bottom: var(--space-2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--success-bg);
  color: var(--success);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.03em;
}
.plan-card--recommended .plan-card__launch { background: var(--launch-seal-on-highlight-bg); color: var(--highlight-check); }

.agency-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding: 26px 30px;
  border: 1px dashed var(--chip-border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.agency-band__copy { display: flex; gap: var(--space-4); align-items: center; flex: 1 1 420px; min-width: 0; }
.agency-band__title { font-size: 19px; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.agency-band__text { margin-top: var(--space-1); font-size: 15px; color: var(--text-muted-2); }

/* --- Abas (tour do app) --------------------------------------------------- */
.tablist { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 6px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-nav);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--action); color: var(--on-action); }

/* ==========================================================================
   5. Páginas
   ========================================================================== */

/* --- Hero (home e agências) ---------------------------------------------- */
.hero { padding: var(--space-12) 0 var(--space-10); }
.hero__grid { display: grid; gap: var(--space-14); align-items: center; }
.hero__copy { min-width: 0; }
.hero__title { margin-top: var(--space-5); }
.hero__lead { margin-top: var(--space-6); max-width: 34em; }
.hero .btn-row { margin-top: var(--space-8); }
.hero__back { display: inline-block; margin-bottom: var(--space-4); font-size: var(--font-size-small); font-weight: var(--font-weight-semibold); }

@media (min-width: 960px) {
  .hero { padding: var(--space-20) 0 var(--space-10); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* --- Simulador "Do objetivo ao resultado" -------------------------------- */
.simulator__body { display: grid; gap: var(--space-6); margin-top: var(--space-10); }
@media (min-width: 960px) { .simulator__body { grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); } }
.goal-options { display: flex; flex-direction: column; gap: 10px; }
.goal-options__label { margin-bottom: var(--space-1); font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); letter-spacing: 0.08em; color: var(--text-subtle); }
.goal-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-heading);
  text-align: left;
  cursor: pointer;
}
.goal-option:hover { border-color: var(--chip-border); }
.goal-option__label { font-weight: var(--font-weight-semibold); }
.goal-option__hint { font-size: var(--font-size-caption); color: var(--text-muted-2); }
.goal-option[aria-checked="true"] { border-color: var(--action); background: var(--action); color: var(--on-action); box-shadow: 0 12px 30px var(--action-shadow); }
.goal-option[aria-checked="true"] .goal-option__hint { color: var(--on-action); }

.goal-plan {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: 0 30px 80px var(--shadow);
}
.goal-plan[hidden] { display: none; }
@media (min-width: 600px) { .goal-plan { padding: 30px; } }
.goal-plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); }
.goal-plan__owner { font-size: var(--font-size-caption); color: var(--text-subtle); }
.goal-plan__title { margin-top: var(--space-1); font-family: var(--font-display); font-size: 28px; line-height: 1.2; font-weight: var(--font-weight-bold); color: var(--text-heading); }
.progress__labels { display: flex; justify-content: space-between; font-size: var(--font-size-small); color: var(--text-muted-2); }
.progress__value { font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.progress__track { height: 10px; margin-top: var(--space-2); border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
.progress__bar { height: 100%; border-radius: var(--radius-pill); background: var(--progress-fill); transition: width 0.3s ease; }
.step-list { display: flex; flex-direction: column; gap: 10px; }
.step-toggle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 14px var(--space-4);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.step-toggle__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid var(--border-strong);
  border-radius: var(--space-2);
  color: transparent;
  flex: none;
}
.step-toggle__text { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.step-toggle__title { font-size: 15px; font-weight: var(--font-weight-medium); color: var(--text-heading); }
.step-toggle__meta { font-size: 12px; color: var(--text-subtle); }
.step-toggle[aria-pressed="true"] .step-toggle__box { border-color: var(--action); background: var(--action); color: var(--on-action); }
.step-toggle[aria-pressed="true"] .step-toggle__title { color: var(--text-muted-2); text-decoration: line-through; }
/* Sem JavaScript os passos são só leitura (o simulador marca .is-interactive). */
.simulator:not(.is-interactive) .step-toggle { cursor: default; }
.outcome-box { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: 14px; background: var(--teal-bg); font-size: var(--font-size-small); color: var(--text); }
.outcome-box svg { margin-top: 2px; color: var(--teal); }
.outcome-box strong { color: var(--teal); }
.goal-plan__note { font-size: 12px; color: var(--text-subtle); }

/* --- Chamada final -------------------------------------------------------- */
.final-cta {
  padding: 72px var(--space-6);
  border: 1px solid var(--highlight-outline);
  border-radius: var(--radius-band);
  background: var(--highlight-cta-bg);
  text-align: center;
}
.final-cta__title { max-width: 15em; margin: 0 auto; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: var(--font-weight-bold); color: var(--highlight-text); }
.final-cta__text { max-width: 32em; margin: 18px auto 0; font-size: 18px; color: var(--highlight-muted); }
.final-cta .btn-row { justify-content: center; margin-top: var(--space-8); }

/* --- Página de planos ----------------------------------------------------- */
.plans-section .plan-grid { margin-top: var(--space-12); }
.ondemand-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); margin-top: var(--space-6); }
.ondemand-panel__copy { flex: 1 1 420px; min-width: 0; }
.ondemand-panel__copy p { margin-top: var(--space-2); color: var(--text-muted-2); }

/* --- Página de agências --------------------------------------------------- */
.org-diagram { display: flex; flex-direction: column; align-items: center; margin-top: var(--space-12); }
.org-diagram__root { display: flex; gap: 14px; align-items: center; padding: var(--space-5) 28px; border-radius: var(--radius-card); background: var(--action); color: var(--on-action); box-shadow: 0 20px 50px var(--action-shadow); }
.org-diagram__root strong { display: block; font-size: 18px; }
.org-diagram__root span { font-size: var(--font-size-small); }
.org-diagram__stem { width: 2px; height: 32px; background: var(--chip-border); }
.org-diagram__rail { width: min(900px, 90%); height: 2px; background: var(--chip-border); }
.org-diagram__children { display: grid; gap: var(--space-4); width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.org-diagram__child { display: flex; flex-direction: column; align-items: center; }
.org-diagram__child::before { content: ''; width: 2px; height: 28px; background: var(--chip-border); }
.client-card { width: 100%; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.client-card--alert { border-color: var(--danger); }
.client-card--new { border-style: dashed; border-color: var(--border-strong); }
.client-card__name { font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.client-card__networks { margin-top: var(--space-1); font-size: var(--font-size-caption); color: var(--text-muted-2); }
.client-card__status { margin-top: 10px; font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); color: var(--teal); }
.client-card--alert .client-card__status { color: var(--danger); }
.client-card--new .client-card__status { color: var(--accent); }
@media (max-width: 599px) { .org-diagram__rail, .org-diagram__child::before { display: none; } .org-diagram__children { margin-top: var(--space-4); } }

.figure-caption { margin-top: var(--space-3); text-align: center; font-size: var(--font-size-caption); color: var(--text-subtle); }

.proposal { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 960px) { .proposal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.proposal .pill-row { margin-top: var(--space-5); }
.proposal .pill { background: var(--surface); }
.numbered-steps { display: flex; flex-direction: column; gap: 18px; margin-top: var(--space-8); }
.numbered-steps li { display: flex; gap: 14px; }
.numbered-steps strong { color: var(--text-heading); }
.numbered-steps p { margin-top: 2px; font-size: var(--font-size-small); color: var(--text-muted-2); }
.lead-form-card { padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-panel); background: var(--surface); box-shadow: 0 30px 80px var(--shadow); }
@media (min-width: 600px) { .lead-form-card { padding: var(--space-8); } }
.lead-form-card__title { font-size: var(--font-size-h3); font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.lead-form-card__subtitle { margin-top: var(--space-1); font-size: var(--font-size-small); color: var(--text-muted-2); }
.lead-success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lead-success__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.lead-success p { color: var(--text-muted); }

/* --- Contato -------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--space-12); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-grid .card { margin-top: var(--space-6); }

/* --- Documentos legais ---------------------------------------------------- */
.legal-hero { padding: var(--space-16) 0 var(--space-12); border-bottom: 1px solid var(--border); }
.legal-hero__grid { display: grid; gap: var(--space-8); align-items: end; }
.legal-hero .display { margin-top: var(--space-2); }
.legal-hero__lead { max-width: 660px; margin-top: var(--space-4); color: var(--text-muted); font-size: 18px; line-height: 1.55; }
.legal-hero__updated { margin-top: var(--space-3); color: var(--text-subtle); font-size: var(--font-size-caption); }
.legal-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.legal-review-note { padding: var(--space-6); border: 1px solid var(--border); border-left: 3px solid var(--warning); border-radius: var(--radius-control); background: var(--surface); }
.legal-review-note strong { color: var(--text-heading); }
.legal-review-note p { margin-top: var(--space-2); color: var(--text-muted); }
.legal-doc-section { padding: var(--space-8) 0 var(--space-16); }
.legal-doc-layout { display: grid; gap: var(--space-6); }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
.legal-toc li + li { margin-top: var(--space-2); }
.legal-toc a { color: var(--text-muted-2); font-size: var(--font-size-caption); line-height: 18px; }
.legal-toc a:hover,
.legal-toc a:focus-visible { color: var(--accent); text-decoration: underline; }
.legal-toc__mobile { padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); }
.legal-toc__mobile summary { font-weight: var(--font-weight-semibold); color: var(--text-heading); cursor: pointer; }
.legal-toc__mobile ol { margin-top: var(--space-4); }
.legal-toc__desktop { display: none; }
.legal-doc { min-width: 0; max-width: 72ch; padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); overflow-wrap: break-word; }
.legal-doc__intro { margin-bottom: var(--space-8); padding: var(--space-4); border-left: 3px solid var(--teal); border-radius: var(--space-1); background: var(--teal-bg); color: var(--text); }
.legal-doc section { scroll-margin-top: 96px; }
.legal-doc section + section { margin-top: var(--space-8); }
.legal-doc h2 { font-size: 20px; line-height: 1.4; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.legal-doc p,
.legal-doc ul { margin-top: var(--space-3); line-height: 1.65; }
.legal-doc ul { padding-left: var(--space-6); list-style: disc; }
.legal-doc li + li { margin-top: var(--space-2); }
@media (min-width: 900px) {
  .legal-hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .legal-doc-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: var(--space-8); }
  .legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
  .legal-toc__mobile { display: none; }
  .legal-toc__desktop { display: block; }
  .legal-toc__desktop ol { margin-top: var(--space-3); }
}
@media (max-width: 599px) {
  .legal-actions .btn { width: 100%; }
  .legal-doc { padding: var(--space-6) var(--space-4); }
}

/* ==========================================================================
   Home explicativa (change explanatory-home-and-plans-refresh)
   ========================================================================== */

/* Hero: o que é, para quem é e o vídeo */
.hero__title-accent { color: var(--accent); }
.hero__audience { margin-top: var(--space-5); max-width: 36em; font-size: var(--font-size-small); color: var(--text-subtle); }
.hero__shot { min-width: 0; }

/* Escolha de perfil (abas sobre [data-tabs]; sem JavaScript, os painéis em sequência) */
.profiles__tabs { margin-top: var(--space-8); }
.profile-panel {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-5);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.profile-panel__copy > * + * { margin-top: var(--space-3); }
.profile-panel__copy p:not(.kicker) { color: var(--text-muted-2); line-height: 1.55; }
.profile-panel__title { font-size: 24px; line-height: 1.25; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.profile-panel__link { display: inline-block; font-weight: var(--font-weight-semibold); color: var(--accent); }
.profile-panel__link:hover { color: var(--accent-hover); }
@media (min-width: 900px) { .profile-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }

/* O problema e Como funciona */
.problem-grid,
.how-steps { margin-top: var(--space-10); }
.problem-grid .card p,
.how-steps .card p { margin-top: var(--space-2); color: var(--text-muted-2); line-height: 1.55; }
.how-steps__number { display: block; margin-bottom: var(--space-2); font-family: var(--font-display); font-size: 40px; font-weight: var(--font-weight-bold); line-height: 1; color: var(--accent); }
.how-simulator { margin-top: var(--space-12); padding: var(--space-8); border: 1px solid var(--border-strong); border-radius: var(--radius-band); background: var(--bg); }
.how-simulator .simulator__body { margin-top: var(--space-6); }
@media (max-width: 599px) { .how-simulator { padding: var(--space-5) var(--space-4); } }

/* Quando a crise vem */
.crisis__list { margin-top: var(--space-6); }
.crisis__note { margin-top: var(--space-5); color: var(--text-muted-2); }

/* Comparativo: a tabela rola dentro do próprio bloco em telas estreitas */
.compare { margin-top: var(--space-6); overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
.compare:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.compare__table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare__table th,
.compare__table td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); color: var(--text-muted-2); }
.compare__table thead th,
.compare__table thead td { border-top: 0; background: var(--surface); font-weight: var(--font-weight-semibold); }
.compare__table tbody th { font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.compare__table .compare__cillu { background: var(--accent-bg); color: var(--text-heading); }
.compare__table thead .compare__cillu { font-weight: var(--font-weight-bold); }

/* Seus dados */
.security__items { display: grid; gap: var(--space-4); margin-top: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Resumo de planos da home (partials/plans-summary.php) */
.plan-summary { display: grid; gap: var(--space-4); margin-top: var(--space-12); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.plan-summary__card { display: flex; flex-direction: column; gap: var(--space-2); padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.plan-summary__card--recommended { border-color: var(--highlight-border); background: var(--highlight-bg); }
.plan-summary__card--recommended .plan-summary__name { color: var(--highlight-text); }
.plan-summary__card--recommended .plan-summary__desc { color: var(--highlight-muted); }
.plan-summary__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.plan-summary__name { font-size: 20px; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.plan-summary__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--font-size-small); line-height: 1.45; color: var(--text-muted-2); }
.plan-summary__actions { display: flex; justify-content: center; margin-top: var(--space-6); }

/* ==========================================================================
   Fotos de estilo de vida (change add-lifestyle-imagery)
   ========================================================================== */

/* Foto de conteúdo: cantos do sistema, recorte sem distorcer. */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius-panel); object-fit: cover; background: var(--surface-2); }

/* Hero da home com o vídeo explicativo (change home-hero-video-and-launch-countdown).
   Celular: selo e título, vídeo, texto e botões (a ordem do HTML).
   Computador: texto à esquerda em duas áreas, vídeo à direita. */
.hero--video .hero__grid { gap: var(--space-8); grid-template-areas: "intro" "video" "rest"; }
.hero__intro { grid-area: intro; min-width: 0; }
.hero__rest { grid-area: rest; min-width: 0; }
.hero--video .hero__lead { margin-top: 0; }
.hero__video { grid-area: video; min-width: 0; max-width: 100%; }
@media (min-width: 960px) {
  /* Menos respiro no topo: os botões ficam na primeira dobra em 1280×800. */
  .hero--video { padding-top: var(--space-12); }
  .hero--video .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    grid-template-areas: "intro video" "rest video";
    column-gap: var(--space-14);
    row-gap: var(--space-6);
  }
  .hero--video .hero__intro { align-self: end; }
  .hero--video .hero__rest { align-self: start; }
  .hero--video .hero__video { align-self: center; }
}

/* Chamado "Assista ao vídeo" acima da capa e legenda abaixo. */
.video-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}
.video-cta:hover { color: var(--accent-hover); text-decoration: none; }
.video-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--action); color: var(--on-action); }
.video-cta__icon svg { margin-left: 2px; }
.video-cta__time { padding: 3px 10px; border: 1px solid var(--chip-border); border-radius: var(--radius-pill); background: var(--chip-bg); color: var(--chip-text); font-family: var(--font-body); font-size: var(--font-size-caption); font-weight: var(--font-weight-semibold); }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); font-size: var(--font-size-small); color: var(--text-subtle); }
.video-meta strong { color: var(--text-heading); font-weight: var(--font-weight-semibold); }
.video-meta a { font-weight: var(--font-weight-semibold); white-space: nowrap; }
@media (max-width: 599px) { .video-cta { font-size: 20px; margin-bottom: var(--space-3); } }

/* Print do painel no início de "Como funciona" */
.how-shot { margin-top: var(--space-10); }

/* Faixa "Enquanto você vive, o Cillu cuida" */
.peace-band__photo .photo { aspect-ratio: 4 / 3; }
.peace-band__list { margin-top: var(--space-6); }

/* Retrato de cada perfil em "Para quem" */
.profile-panel__portrait { width: 112px; height: 112px; border-radius: var(--radius-card); object-fit: cover; background: var(--surface-2); }
@media (min-width: 900px) { .profile-panel__portrait { width: 160px; height: 160px; } }

/* Foto de acompanhamento na página de agências */
.agency-photo { max-width: 880px; margin: var(--space-10) auto 0; }
.agency-photo .photo { aspect-ratio: 16 / 9; object-position: 55% 30%; }

/* Marca d'água decorativa: a foto vem por --watermark-image (style inline,
   só quando o arquivo existe). Fundo CSS não é anunciado por leitor de tela.
   A camada ::after garante o contraste do texto (spec, 4.5:1). */
.final-cta--photo,
.band--photo { position: relative; isolation: isolate; overflow: hidden; }
.final-cta--photo::before,
.band--photo::before,
.final-cta--photo::after,
.band--photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.final-cta--photo::before,
.band--photo::before { z-index: -2; background: var(--watermark-image) center / cover no-repeat; }
.final-cta--photo::before { opacity: var(--highlight-watermark-opacity); }
.final-cta--photo::after { z-index: -1; background: var(--highlight-watermark-overlay); }
.band--photo::before { opacity: var(--watermark-opacity); }
.band--photo::after { z-index: -1; background: var(--watermark-overlay); }
@media (prefers-reduced-data: reduce) {
  .final-cta--photo::before,
  .band--photo::before { background-image: none; }
}

/* ==========================================================================
   Ajustes de celular (até 599 px)
   ========================================================================== */
@media (max-width: 599px) {
  /* Menos respiro entre seções: o conteúdo chega antes. */
  .section { padding: var(--space-14) 0; }

  /* "Para quem": as quatro abas em grade 2×2, em vez de empilhadas. */
  .profiles__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; }
  .profiles__tabs[hidden] { display: none; }
  .profiles__tabs .tab { padding: 8px 6px; font-size: 13px; line-height: 1.25; text-align: center; }
  .profile-panel { padding: var(--space-6) var(--space-5); }

  /* Simulador: objetivos em carrossel horizontal; o plano aparece logo abaixo. */
  .goal-options { flex-direction: row; gap: var(--space-2); margin: 0 calc(-1 * var(--space-4)); padding: 2px var(--space-4) var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .goal-options::-webkit-scrollbar { display: none; }
  .goal-options__label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .goal-option { flex: 0 0 auto; width: auto; min-width: 168px; min-height: 56px; padding: 10px 14px; scroll-snap-align: start; }
  .simulator__body { gap: var(--space-4); margin-top: var(--space-5); }
  .goal-plan { padding: var(--space-5) var(--space-4); }

  /* Comparativo: cada linha vira um cartão; a resposta do Cillu em destaque. */
  .compare { overflow: visible; border: 0; border-radius: 0; }
  .compare__table { min-width: 0; font-size: 14px; }
  .compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table tbody th,
  .compare__table td { display: block; }
  .compare__table tr { margin-top: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
  .compare__table tbody th { padding: 14px 16px 8px; border-top: 0; font-size: 16px; }
  .compare__table td { display: flex; justify-content: space-between; gap: var(--space-4); padding: 8px 16px; text-align: right; }
  .compare__table td::before { content: attr(data-label); flex: none; font-weight: var(--font-weight-semibold); color: var(--text-subtle); text-align: left; }
  .compare__table td.compare__cillu { padding-top: 12px; padding-bottom: 12px; font-weight: var(--font-weight-semibold); }
  .compare__table td.compare__cillu::before { color: var(--accent); }

  /* Barra fixa "Começar grátis" (partials/mobile-cta-bar.php). */
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 -12px 30px var(--shadow);
    transform: translateY(0);
    transition: transform 0.25s ease, visibility 0s linear 0s;
  }
  .mobile-cta.is-away { transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
  .mobile-cta__text { font-size: 13px; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
  .mobile-cta__btn { flex: none; min-height: 44px; padding: 10px 18px; }
}
@media (min-width: 600px) {
  .mobile-cta { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: none; }
}

/* Seção "Está começando?" (partials/aspiring-creators.php) */
.aspiring__lead { margin-top: var(--space-4); max-width: 34em; }
.aspiring__steps { margin-top: var(--space-8); }
.aspiring__cta { margin-top: var(--space-8); }
.aspiring__note { margin-top: var(--space-3); font-size: var(--font-size-small); color: var(--text-subtle); }
.aspiring__photo { min-width: 0; }
.aspiring__photo .photo { aspect-ratio: 4 / 5; max-height: 620px; object-position: 50% 20%; box-shadow: 0 40px 90px var(--shadow); }
@media (max-width: 959px) {
  .aspiring__photo .photo { aspect-ratio: 4 / 3; object-position: 50% 25%; }
}

/* --- Aviso de cookies (partials/cookie-banner.php, assets/js/consent.js) ----
 * Faixa inferior não modal. Só tokens de tema: funciona no escuro e no claro.
 * No celular, consent.js sobe a faixa acima da barra "Começar grátis" (sem
 * cobri-la) e reserva espaço no fim da página com --cookie-banner-space. */
html.has-cookie-banner body { padding-bottom: var(--cookie-banner-space, 0px); }
.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  max-height: calc(100vh - var(--space-16));
  overflow-y: auto;
  border-top: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 -12px 30px var(--shadow);
  transition: bottom 0.25s ease;
}
.cookie-banner__inner {
  display: grid;
  gap: var(--space-4);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
}
.cookie-banner__title { font-size: 17px; font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.cookie-banner__text { margin-top: var(--space-1); font-size: var(--font-size-small); line-height: 1.5; color: var(--text-muted); }
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--accent-hover); }
.cookie-banner__fieldset { display: grid; gap: var(--space-3); margin: 0; padding: 0; border: 0; }
.cookie-option { display: flex; align-items: flex-start; gap: var(--space-3); }
.cookie-option__input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action); cursor: pointer; }
.cookie-option__input:disabled { cursor: default; }
.cookie-option__label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.cookie-option__name { font-size: var(--font-size-small); font-weight: var(--font-weight-semibold); color: var(--text-heading); }
.cookie-option__tag { margin-left: var(--space-1); font-size: 12px; font-weight: var(--font-weight-medium); color: var(--text-subtle); }
.cookie-option__desc { font-size: var(--font-size-caption); color: var(--text-muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
/* "Aceitar todos" e "Só o necessário": mesma classe, mesmo destaque. */
.cookie-banner__btn { flex: 1 1 140px; color: var(--text-heading); background: var(--surface-2); }
.cookie-banner__more {
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-banner__more:hover { color: var(--accent-hover); }
@media (min-width: 900px) {
  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-8);
    padding: var(--space-5) var(--space-6);
  }
  .cookie-banner__choices { grid-column: 1 / -1; grid-row: 2; }
  .cookie-banner__actions { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
  .cookie-banner__btn { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}
