/* ============================================================
   COMI: sistema visual padrão dieta.ai (teardown seção 3)
   SaaS clean tipo Untitled UI. Paleta roxa, tema claro com
   seções dark #131415, verde WhatsApp só nos chats.
   Fonte única: Inter. H2 36px semibold.
   ============================================================ */

:root {
  --brand: #7F56D9;        /* roxo primário */
  --brand-700: #6941C6;    /* eyebrows, links em fundo claro */
  --brand-900: #42307D;    /* labels fortes */
  --brand-300: #D6BBFB;    /* links sobre dark */
  --brand-50: #F9F5FF;     /* fundos de badge */
  --cta: #4F46E5;          /* indigo do botão pill */
  --cta-active: #4338CA;

  --dark: #131415;         /* seções dark */
  --gray-bg: #F9FAFB;      /* card de números */
  --line: #EAECF0;         /* divisores e bordas */

  --ink: #101828;          /* títulos */
  --body: #475467;         /* corpo */
  --note: #667085;         /* notas */

  --wa: #4FA84F;           /* verde WhatsApp (chats) */
  --wa-deep: #3D8A3D;
  --wa-bubble: #d9fdd3;    /* balão enviado */
  --wa-bg: #efe7dd;        /* fundo do chat */

  --ok-bg: #D1FADF;  --ok-tx: #027A48;   /* checks verdes */
  --no-bg: #FEE4E2;  --no-tx: #B42318;   /* X vermelho */

  --r-recv: 12px 12px 12px 2px;  /* balão recebido */
  --r-sent: 12px 12px 2px 12px;  /* balão enviado */

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: #fff;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo__name { font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: -0.03em; }
.logo__dot { color: var(--brand); }
.logo__tag { font-size: 12px; color: var(--note); display: none; }
@media (min-width: 720px) { .logo__tag { display: inline; } }
.navlinks { display: none; align-items: center; gap: 28px; }
@media (min-width: 860px) { .navlinks { display: flex; } }
.navlinks a { font-size: 15px; font-weight: 600; color: var(--body); }
.navlinks a:hover { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { background: var(--cta-active); }
.btn--sm { font-size: 14px; padding: 10px 18px; }
.btn--full { display: block; width: 100%; }
.btn--card {
  background: var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.btn--card:active { background: #6544ad; }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #D0D5DD;
}
.btn--ghost:active { background: var(--gray-bg); }
.btn--green { background: linear-gradient(135deg, #5BC25B, var(--wa-deep)); border-radius: 8px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.cta-micro { margin-top: 10px; font-size: 13.5px; color: var(--note); text-align: center; }

/* Link-CTA de seção (padrão "Assinar agora ->") */
.linkcta { font-weight: 600; color: var(--brand-700); font-size: 16px; }
.linkcta:hover { text-decoration: underline; }
.split--dark .linkcta { color: var(--brand-300); }

/* Eyebrow */
.eyebrow {
  display: block;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.split--dark .eyebrow, .section--dark .eyebrow { color: var(--brand-300); }

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
@media (min-width: 860px) { .section { padding: 96px 0; } }
.section--soft { background: var(--gray-bg); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, 0.7); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(28px, 4.5vw, 36px); margin-bottom: 12px; }
.section__head .lead { font-size: 17px; color: var(--body); }
.section--dark .section__head .lead { color: rgba(255, 255, 255, 0.7); }
.prose { max-width: 680px; margin: 0 auto; font-size: 17px; }
.prose p { margin-bottom: 16px; }
.prose .destaque {
  background: var(--brand-50);
  border-left: 4px solid var(--brand);
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
  font-weight: 600; color: var(--brand-900);
}
.section--dark .prose { color: rgba(255, 255, 255, 0.75); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero__eyebrow {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 14px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 5.5vw, 52px); margin-bottom: 18px; }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--body); max-width: 540px; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
@media (max-width: 640px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}
.hero__seals { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__seals span { font-size: 14px; font-weight: 500; color: var(--note); display: inline-flex; align-items: center; gap: 6px; }
.hero__seals .tick { color: var(--ok-tx); font-weight: 700; }

/* ---------- Mockup de iPhone (HTML/CSS puro) ---------- */
.iphone {
  width: min(400px, 90vw);
  margin: 0 auto;
  background: #1b1b1f;
  border-radius: 48px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0, 0, 0, 0.5);
  position: relative;
}
.iphone__screen { border-radius: 38px; overflow: hidden; position: relative; background: var(--wa-bg); }
.iphone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #1b1b1f;
  border-radius: 999px; z-index: 5;
}
.demo-tag {
  position: absolute; top: 14px; right: 14px; z-index: 6;
  background: rgba(16, 24, 40, 0.65); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}

/* ---------- Chat WhatsApp ---------- */
.wa { background: var(--wa-bg); }
.wa__top {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--wa), var(--wa-deep));
  color: #fff;
  padding: 34px 14px 12px; /* respiro pro notch */
}
.wa--flat .wa__top { padding-top: 12px; }
.wa__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F9F5FF, var(--brand) 80%);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.wa__who { line-height: 1.2; }
.wa__name { font-weight: 700; font-size: 15px; }
.wa__status { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.wa__chat { padding: 14px 12px 18px; display: flex; flex-direction: column; }
.msg {
  max-width: 86%;
  background: #fff;
  border-radius: var(--r-recv);
  padding: 8px 10px 6px;
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.09);
  color: #111b21;
}
.msg--bot { align-self: flex-start; border-radius: var(--r-recv); }
.msg--me { align-self: flex-end; background: var(--wa-bubble); border-radius: var(--r-sent); }
.msg__meta {
  display: flex; justify-content: flex-end; align-items: center; gap: 4px;
  font-size: 11px; color: #8696a0; margin-top: 3px;
}
.msg__ticks { color: #53bdeb; font-size: 12px; letter-spacing: -2px; }
.msg--foto { padding: 5px; }
.foto {
  width: 100%; min-width: 200px; height: 148px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 42%, #fff7ea 0 34%, transparent 35%),
    radial-gradient(circle at 30% 75%, rgba(255, 211, 165, 0.6), transparent 45%),
    linear-gradient(145deg, #FFD3A5, #FD9853 60%, #c96a3a);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
}
.foto__emoji { font-size: 56px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); }
.foto__label {
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px; border-radius: 999px;
  text-align: center; max-width: 92%;
}
.wa-caption { text-align: center; font-size: 15px; color: var(--note); margin-top: 18px; }

/* Balão de áudio */
.audio { display: flex; align-items: center; gap: 8px; min-width: 190px; padding: 4px 2px; }
.audio__mic { font-size: 18px; }
.audio__bars { display: flex; align-items: center; gap: 2px; flex: 1; }
.audio__bars i {
  width: 3px; border-radius: 2px; background: #7fa88a; display: block;
}
.audio__bars i:nth-child(odd) { height: 14px; }
.audio__bars i:nth-child(even) { height: 8px; }
.audio__bars i:nth-child(3n) { height: 18px; }
.audio__time { font-size: 12px; color: #667781; }

/* ---------- Faixa de números (count-up) ---------- */
.stats {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 40px 28px;
}
.stats__eyebrow { text-align: center; font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 28px; }
.stats__grid { display: grid; gap: 32px; text-align: center; }
@media (min-width: 760px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stats__grid > div:not(:first-child) { border-left: 1px solid #F3F4F7; }
}
.stat__num {
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat__unit { font-size: 0.42em; font-weight: 600; opacity: 0.8; }
.stat__label { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.stat__sub { font-size: 14px; color: var(--note); }

/* ---------- Blocos alternados (como funciona) ---------- */
.split { padding: 64px 0; }
@media (min-width: 860px) { .split { padding: 96px 0; } }
.split--dark { background: var(--dark); color: rgba(255, 255, 255, 0.7); }
.split__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--invert .split__media { order: 2; }
}
.split__icon { font-size: 52px; line-height: 1; margin-bottom: 18px; }
.split__txt h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; margin-bottom: 14px; }
.split--dark .split__txt h2 { color: #fff; }
.split__txt p { font-size: 16px; margin-bottom: 18px; opacity: 0.85; }
.split__media { max-width: 440px; margin: 0 auto; width: 100%; }
.mediaframe {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.mediaframe .demo-tag { top: 10px; right: 10px; }

/* Intro dos 3 passos (eyebrow centralizado antes dos splits) */
.steps-intro { text-align: center; padding: 56px 24px 0; }
.steps-intro .eyebrow { margin-bottom: 0; font-size: 15px; }
.split--dark .mediaframe { border-color: rgba(255, 255, 255, 0.1); }
.honesty {
  max-width: 640px; margin: 8px auto 0; text-align: center;
  font-size: 15px; color: var(--brand-900);
  background: var(--brand-50); border-radius: 999px; padding: 12px 22px;
}

/* Selos (cancela por mensagem) */
.seals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.seal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); color: var(--brand-900);
  font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
}
.split--dark .seal { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ---------- Grid de funcionalidades ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.feature__emoji { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--body); }
.features-more { text-align: center; color: var(--note); font-size: 15px; margin-top: 28px; }

/* ---------- Faixa de pratos BR ---------- */
.brfoods { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 8px; }
.brfood {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; min-width: 108px;
  box-shadow: var(--shadow-sm);
}
.brfood span { font-size: 36px; line-height: 1; }
.brfood b { font-size: 14px; font-weight: 600; color: var(--ink); }
.brfoods-more { text-align: center; color: var(--note); font-size: 15px; margin-top: 22px; }

/* ---------- Carrossel de vereditos ---------- */
.carousel {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 24px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.vcard {
  flex: 0 0 300px;
  width: 300px;
  min-height: 360px;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wa-bg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column;
}
.vcard__tag {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(16, 24, 40, 0.65); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.vcard__foto {
  height: 120px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background:
    radial-gradient(circle at 50% 45%, #fff7ea 0 30%, transparent 31%),
    linear-gradient(145deg, #FFD3A5, #FD9853 65%, #c96a3a);
}
.vcard__foto span { font-size: 46px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); }
.vcard__foto b {
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, 0.35); padding: 2px 10px; border-radius: 999px;
}
.vcard__chat { padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.vcard__chat .msg { font-size: 13px; max-width: 94%; }
.car-note { text-align: center; font-size: 13px; color: var(--note); margin-top: 4px; padding: 0 24px; }
.car-nav { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.car-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  font-size: 18px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.car-btn:hover { background: var(--gray-bg); }

/* ---------- Garantia ---------- */
.guarantee-box { max-width: 640px; margin: 0 auto; text-align: center; }
.guarantee-seal {
  width: 110px; height: 110px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--brand-50);
  border: 2px dashed var(--brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--brand-700);
}
.guarantee-seal b { font-size: 30px; font-weight: 700; line-height: 1; }
.guarantee-seal span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.guarantee-box h2 { font-size: clamp(28px, 4.5vw, 36px); margin-bottom: 14px; }
.guarantee-box p { margin-bottom: 16px; }
.guarantee-box .trust { font-weight: 600; color: var(--ink); }

/* ---------- Planos ---------- */
.plans { display: grid; gap: 24px; max-width: 880px; margin: 0 auto; align-items: start; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan--featured { border: 2px solid var(--brand); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-300);
  font-size: 13px; font-weight: 600;
  padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
}
.plan__label { font-size: 15px; font-weight: 600; color: var(--brand-900); margin-bottom: 8px; }
.plan__price { font-size: clamp(38px, 5vw, 56px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
.plan__price small { font-size: 0.42em; font-weight: 600; color: var(--note); }
.plan__billing { font-size: 14px; color: var(--note); margin: 8px 0 4px; }
.plan__hook { font-size: 14px; color: var(--brand-700); font-weight: 500; margin-bottom: 20px; }
.plist { list-style: none; margin: 20px 0 26px; }
.plist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; color: var(--body); }
.plist li b { color: var(--ink); font-weight: 600; }
.plist .ok, .plist .no {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 2px;
}
.plist .ok { background: var(--ok-bg); color: var(--ok-tx); }
.plist .no { background: var(--no-bg); color: var(--no-tx); }
.plan .btn--ghost { border-radius: 8px; }
.plans-compare { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: 15px; color: var(--body); }
.disclaimer { font-size: 12.5px; color: var(--note); max-width: 720px; margin: 18px auto 0; text-align: center; }

/* Checklist genérica (compat) */
.checklist { list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; }
.checklist .ck {
  background: var(--ok-bg); color: var(--ok-tx);
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 768px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 22px 4px;
  font-weight: 600; font-size: 17px;
  cursor: pointer; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--brand); flex-shrink: 0; font-weight: 400; }
.faq details[open] summary::after { content: "×"; }
.faq .faq__a { padding: 0 4px 22px; font-size: 15.5px; color: var(--body); }

/* ---------- CTA final de suporte ---------- */
.support { text-align: center; padding: 72px 0; background: var(--gray-bg); }
.avatars { display: flex; justify-content: center; margin-bottom: 20px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid #fff;
  margin: 0 -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-sm);
}
.avatar--1 { background: #DDC0CE; }
.avatar--2 { background: #C6D0CB; width: 60px; height: 60px; font-size: 30px; z-index: 2; }
.avatar--3 { background: #FFD3A5; }
.support h2 { font-size: 22px; margin-bottom: 8px; }
.support p { color: var(--body); margin-bottom: 22px; }
.support .btn { border-radius: 8px; background: var(--brand); padding: 13px 22px; }

/* ---------- CTA final (resultado.html) ---------- */
.final { background: var(--dark); text-align: center; padding: 80px 0; }
.final h2 { color: #fff; font-size: clamp(28px, 4.5vw, 36px); margin-bottom: 14px; }
.final p { color: rgba(255, 255, 255, 0.75); max-width: 640px; margin: 0 auto 14px; }
.final .btn { margin-top: 8px; }
.final .cta-micro { color: rgba(255, 255, 255, 0.55); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
}
.sticky-cta .btn { flex: 1; font-size: 15px; padding: 13px 16px; }
.sticky-cta .micro { color: var(--note); font-size: 12px; font-weight: 600; white-space: nowrap; }
@media (min-width: 860px) { .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 76px; }

/* ---------- Footer ---------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 110px;
  font-size: 14px; color: var(--body);
}
@media (min-width: 860px) { .footer { padding-bottom: 56px; } }
.footer__cols { display: grid; gap: 32px; margin-bottom: 36px; }
@media (min-width: 720px) { .footer__cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand p { margin-top: 8px; color: var(--note); max-width: 320px; }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--note); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--body); font-weight: 500; }
.footer a:hover { color: var(--ink); }
.footer__legal { font-size: 12.5px; color: var(--note); border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 12px; }
.footer__copy { font-size: 13px; color: var(--note); }

/* ============================================================
   QUIZ (caminho secundário; classes preservadas, cores novas)
   ============================================================ */
.quiz-page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.quiz-top { padding: 16px 0 0; }
.quiz-top .logo { justify-content: center; }
.progress { max-width: 560px; margin: 18px auto 0; padding: 0 20px; }
.progress__info { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--note); margin-bottom: 8px; }
.progress__track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--cta)); border-radius: 999px; transition: width 0.35s ease; }

.quiz-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 30px 20px 60px; }
.step-q { display: none; width: 100%; max-width: 560px; }
.step-q.active { display: block; animation: fadeUp 0.3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-q h1 { font-size: clamp(24px, 5.5vw, 32px); text-align: center; margin-bottom: 26px; }
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  width: 100%;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 17px 18px;
  font-size: 16px; font-weight: 500; color: var(--ink);
  text-align: left;
  display: flex; align-items: center; gap: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.opt:hover { border-color: var(--brand-300); }
.opt.sel { border-color: var(--brand); background: var(--brand-50); }
.opt .opt__emoji { font-size: 22px; flex-shrink: 0; }
.step-foot { text-align: center; font-size: 14px; color: var(--note); margin-top: 22px; }
.quiz-back {
  display: block; margin: 26px auto 0;
  background: none; border: none;
  color: var(--note); font-weight: 600; font-size: 14px;
}
.quiz-back:hover { color: var(--ink); }

/* Loader (passo 6) */
.loader-box { text-align: center; padding-top: 30px; }
.spinner {
  width: 74px; height: 74px; margin: 0 auto 26px;
  border-radius: 50%;
  border: 6px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-phrase { font-size: 16px; color: var(--note); min-height: 26px; transition: opacity 0.25s ease; }

/* ============================================================
   RESULTADO (caminho secundário)
   ============================================================ */
.diag-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 18px;
}
.diag { text-align: center; padding: 46px 0 10px; }
.diag h1 { font-size: clamp(27px, 5vw, 40px); max-width: 720px; margin: 0 auto 18px; }
.diag .prose { text-align: left; }
.diag .sab {
  background: var(--brand-50);
  border-left: 4px solid var(--brand);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  font-weight: 600; color: var(--brand-900);
  margin: 18px 0 8px;
  text-align: left;
}
.diag-phone { max-width: 380px; margin: 0 auto; }

/* Mini-form de captura (compat) */
.lead-form h3 { font-size: 17px; margin-bottom: 12px; text-align: center; }
.lead-form .fields { display: grid; gap: 10px; margin-bottom: 14px; }
.lead-form input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  background: var(--gray-bg);
  color: var(--ink);
}
.lead-form input:focus { outline: none; border-color: var(--brand); background: #fff; }
.lead-form .hint { font-size: 12.5px; color: var(--note); text-align: center; margin-top: 8px; }

/* ============================================================
   Páginas legais e admin
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 22px 80px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 6px; }
.legal .upd { color: var(--note); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--body); font-size: 16px; line-height: 1.7; }
.legal ul { margin: 8px 0 8px 22px; }
.legal a { color: var(--brand-700); font-weight: 600; }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--note); font-weight: 600; }

.admin { max-width: 1100px; margin: 0 auto; padding: 30px 20px 80px; }
.admin h1 { font-size: 28px; margin-bottom: 18px; }
.admin .bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.admin input {
  flex: 1; min-width: 220px;
  border: 2px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 15px; background: #fff;
}
.admin table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); font-size: 13.5px; }
.admin th, .admin td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { background: var(--ink); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.admin tr:hover td { background: var(--gray-bg); }
.admin .st { font-weight: 700; padding: 2px 10px; border-radius: 999px; font-size: 12px; display: inline-block; }
.admin .st--pago { background: var(--ok-bg); color: var(--ok-tx); }
.admin .st--iniciado { background: var(--no-bg); color: var(--no-tx); }
.admin .empty { padding: 40px; text-align: center; color: var(--note); }

/* tagline nos footers de termos/privacidade */
.footer__tag { color: var(--note, #98a2b3); font-size: 14px; margin-top: 8px; }
