/* ==========================================================================
   CALCULA CRUZEIRO · DESIGN SYSTEM
   Tropical Ocean Editorial: viagem cinematográfica + design editorial +
   calculadora funcional + liquid glass sutil.

   Ordem do arquivo
   1. Tokens (cores, tipografia, espaçamento, raios, sombras, motion)
   2. Base (reset, tipografia, foco, acessibilidade)
   3. Layout (container, seções, cabeçalho de seção)
   4. Componentes (botão, campo, navegação, estatística)
   5. Seções (hero, logos, calculadora, blog, guia, dúvidas, fechamento, rodapé)
   6. Responsivo e movimento reduzido
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Cores de marca */
  --ocean-700: #06616B;
  --ocean-500: #087E8B;
  --ocean-300: #69B7B9;
  --sun-500: #FFC700;
  --sun-400: #FFD23D;
  --sand-100: #FFF8E8;
  --sand-200: #F2E9D8;
  --seafoam-100: #DDF1EC;
  --ink-900: #173D46;
  --text-muted: #536970;
  --white: #FFFFFF;

  /* Cores semânticas */
  --color-primary: var(--ocean-500);
  --color-primary-hover: var(--ocean-700);
  --color-accent: var(--sun-500);
  --color-accent-hover: var(--sun-400);
  --color-background: var(--sand-100);
  --color-surface: var(--white);
  --color-surface-secondary: var(--sand-200);
  --color-support: var(--seafoam-100);
  --color-text-primary: var(--ink-900);
  --color-text-secondary: var(--text-muted);
  --color-text-inverse: var(--white);
  --color-border: rgba(23, 61, 70, .14);
  --color-border-strong: rgba(23, 61, 70, .28);
  --color-focus: var(--ocean-700);
  --color-error: #A32A24;

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'DM Serif Display', 'Times New Roman', serif;
  --text-display: clamp(3rem, 7.2vw, 5.5rem);   /* 48 → 88 */
  --text-h1: clamp(2.5rem, 5.6vw, 4rem);        /* 40 → 64 */
  --text-h2: clamp(2.25rem, 4.4vw, 3rem);       /* 36 → 48 */
  --text-h3: clamp(1.5rem, 2.6vw, 2rem);        /* 24 → 32 */
  --text-h4: clamp(1.25rem, 1.8vw, 1.5rem);     /* 20 → 24 */
  --text-body-lg: 1.125rem;                     /* 18 */
  --text-body: 1rem;                            /* 16 */
  --text-small: .875rem;                        /* 14 */
  --text-caption: .75rem;                       /* 12 */

  /* Espaçamento (múltiplos de 4) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);

  /* Raios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Sombras (suaves) */
  --shadow-sm: 0 1px 2px rgba(23, 61, 70, .06);
  --shadow-md: 0 10px 28px -14px rgba(23, 61, 70, .24);

  /* Movimento */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;

  /* Controles */
  --control-h: 48px;
  --nav-h: 60px;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-surface); }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.hero :focus-visible, .guia :focus-visible, .finale :focus-visible, .foot :focus-visible,
.cc-stats :focus-visible, .cc-mbar :focus-visible { outline-color: var(--sun-500); }
.nav :focus-visible { outline-color: var(--ocean-700); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: var(--space-4); top: -80px; z-index: 200;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--ink-900); font-weight: 600;
  transition: top var(--dur-base);
}
.skip:focus { top: var(--space-4); }

/* Títulos: serifa editorial. Valores, formulários e controles ficam em Inter. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); line-height: 1.04; letter-spacing: -.015em; }
h2 { font-size: var(--text-h2); line-height: 1.08; letter-spacing: -.01em; color: var(--color-text-primary); }
h3 { font-size: var(--text-h3); line-height: 1.15; }
h4 { font-size: var(--text-h4); line-height: 1.2; }

/* Palavra em destaque: itálico serifado. Sobre claro ganha marca-texto (ink sobre amarelo);
   sobre escuro fica amarela. */
.gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-900);
  background: linear-gradient(transparent 58%, var(--sun-500) 58% 92%, transparent 92%);
  padding-inline: .08em;
}
.guia .gold {
  background: none; padding: 0; color: var(--sun-500);
}
.hero em, .finale em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--sun-500);
}

.eyebrow {
  margin-bottom: var(--space-4);
  font-size: var(--text-small); font-weight: 600; letter-spacing: .02em;
  color: var(--color-text-secondary);
}
.lead {
  margin-top: var(--space-4); max-width: 640px;
  font-size: var(--text-body-lg); line-height: 1.6; color: var(--color-text-secondary);
}
.lead-note {
  margin-top: var(--space-2); max-width: 720px;
  font-size: var(--text-small); color: var(--color-text-secondary);
}

/* ---------- 3. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--section-y); }
.sec-head { margin-bottom: var(--space-12); }

/* ---------- 4. COMPONENTES ---------- */

/* Botão: variantes accent (padrão do site), primary, secondary, ghost, glass */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-h); padding: 0 var(--space-8);
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer; box-shadow: none;
  transition: background-color var(--dur-base) ease, color var(--dur-base) ease,
              border-color var(--dur-base) ease, transform var(--dur-base) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--ink-900); border-top-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-accent { background: var(--color-accent); color: var(--ink-900); }
.btn-accent:hover { background: var(--color-accent-hover); }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-secondary { background: var(--color-surface); color: var(--color-text-primary); border-color: var(--color-border-strong); }
.btn-secondary:hover { border-color: var(--ink-900); }
.btn-ghost {
  min-height: 0; padding: var(--space-1) 0; border-radius: 0; background: none;
  border: 0; border-bottom: 1px solid var(--color-border-strong);
  color: var(--color-text-primary); font-size: var(--text-small); font-weight: 500;
}
.btn-ghost::after { content: "→"; margin-left: 6px; transition: transform var(--dur-base) var(--ease); }
.btn-ghost:hover { transform: none; border-bottom-color: var(--ink-900); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-glass {
  background: rgba(255, 255, 255, .14); color: var(--white);
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.btn-glass:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .8); }

/* Campos */
.gf { display: flex; flex-direction: column; gap: var(--space-2); }
.gf label, .gq legend, .cc-sel > span { font-size: var(--text-small); font-weight: 600; color: var(--color-text-primary); }
.gf input, .cc-sel select, .cc-row-s input {
  width: 100%; min-height: var(--control-h); padding: 0 var(--space-6);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  background-color: var(--color-surface); color: var(--color-text-primary);
  font-size: var(--text-body); font-weight: 500;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.gf input::placeholder { color: #6B7F85; }
.gf input:hover, .cc-sel select:hover { border-color: var(--ocean-500); }
.gf input:focus-visible, .cc-sel select:focus-visible, .cc-ad-n:focus-visible {
  outline: 3px solid var(--color-focus); outline-offset: 2px;
}
.gf input[aria-invalid="true"] { border-color: var(--color-error); }
.gf input:disabled, .cc-sel select:disabled { background: var(--sand-100); color: var(--color-text-secondary); cursor: not-allowed; }
.gf-err, .g-alert, .guia-form .err {
  margin: 0; font-size: var(--text-small); font-weight: 500; color: var(--color-error);
}
.g-alert { display: flex; align-items: center; gap: var(--space-2); }
.g-alert::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px;
  border-radius: 50%; background: var(--color-error); color: #fff; font-size: 12px; font-weight: 700; line-height: 1;
}
.cc-sel select {
  padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173D46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}

/* Opção em formato de rádio (perfis da calculadora) */
.cc-opt {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start;
  gap: 0 var(--space-3); padding: var(--space-3) 0 var(--space-3) 32px;
  border: 0; background: none; color: var(--ink-900); font-weight: 500; text-align: left; cursor: pointer;
}
.cc-opt b { font-weight: 600; }
.cc-opt small { font-size: var(--text-small); font-weight: 400; color: var(--color-text-secondary); }
.cc-opt::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px;
  border: 2px solid var(--color-border-strong); border-radius: 50%;
  transition: border-color var(--dur-fast);
}
.cc-opt::after {
  content: ""; position: absolute; left: 6px; top: 20px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--ocean-700); transform: scale(0);
  transition: transform var(--dur-fast);
}
.cc-opt:hover::before, .cc-opt[aria-pressed="true"]::before { border-color: var(--ocean-700); }
.cc-opt[aria-pressed="true"]::after { transform: scale(1); }

/* Navegação: liquid glass branco → transparente */
.nav {
  position: fixed; z-index: 100; top: var(--space-4); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px)); border-radius: var(--radius-pill);
  background: linear-gradient(100deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.58) 55%, rgba(255,255,255,.34) 100%);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: .5px solid rgba(255, 255, 255, .6);
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.8), 0 8px 24px -14px rgba(6, 40, 46, .35);
}
.nav-in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-8);
  min-height: var(--nav-h); padding: 6px 6px 6px 28px;
}
.nav-in > .logo { justify-self: start; }
.nav-in > .btn { justify-self: end; }
.logo { display: inline-flex; align-items: center; color: var(--ink-900); }
.logo-txt { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.logo-txt b { margin-left: .3em; font-weight: 500; }
.logo-light { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: var(--space-6); height: 43px; font-size: 15px; font-weight: 500; }
.nav-links a {
  position: relative; display: flex; align-items: center; height: 43px; color: var(--ink-900);
  transition: transform var(--dur-base) ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; border-radius: 3px;
  background: var(--sun-500); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { transform: translateY(-1px); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: 0 var(--space-6); }
.nav-toggle {
  display: none; justify-self: end; width: 44px; height: 44px; margin-right: 2px;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin: 0 auto; border-radius: 2px; background: var(--ink-900);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
/* ---------- 5. SEÇÕES ---------- */

/* Hero cinematográfico */
.hero {
  position: relative; min-height: max(100svh, 760px); display: flex; flex-direction: column;
  justify-content: space-between; overflow: hidden; isolation: isolate;
  padding-top: calc(clamp(190px, 34vh, 340px) + 80px); color: var(--white);
}
.hero-img { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: var(--ocean-700); }
.hv {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transform: scale(1.03); opacity: 0; transition: opacity 1.6s ease;
}
.hv.is-on { opacity: 1; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-h { font-size: var(--text-display); line-height: 1; letter-spacing: -.02em; color: var(--white); }
.ln { display: block; overflow: hidden; padding: .06em 0 .14em; margin-bottom: -.06em; }
.ln > span { display: inline-block; white-space: nowrap; }
.hero-sub { margin: var(--space-4) auto 0; max-width: min(560px, 90%); font-size: var(--text-body-lg); color: rgba(255,255,255,.92); }
.hero-sub b { font-weight: 600; color: var(--white); }
.hero-bottom { width: min(1180px, calc(100% - 32px)); margin: 0 auto clamp(40px, 7vh, 64px); display: flex; justify-content: center; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: var(--space-3); color: var(--white); font-size: var(--text-small); font-weight: 600; letter-spacing: .02em; }
.scroll-mouse { position: relative; width: 26px; height: 42px; border: 2px solid currentColor; border-radius: var(--radius-pill); }
.scroll-mouse i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: var(--radius-pill); background: currentColor; animation: scroll-dot 1.8s var(--ease) infinite; }
.scroll-chev { width: 20px; height: 20px; animation: scroll-bob 1.8s ease-in-out infinite; }
.scroll-cue:hover .scroll-label { text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(14px); opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }
@keyframes scroll-bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }

/* Logos das companhias (faixa contínua) */
.lines { --logo-h: 28px; --logo-gap: clamp(36px, 4.5vw, 64px); padding-block: var(--space-8); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.lines-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lines-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--logo-gap); width: max-content; animation: tick 36s linear infinite; }
.lines-view:hover .lines-track { animation-play-state: paused; }
.lines-track li { flex: none; }
.lines-track img { display: block; height: var(--logo-h); width: auto; filter: grayscale(1) contrast(1.1); opacity: .62; transition: filter var(--dur-base) ease, opacity var(--dur-base) ease; }
.lines-track li:hover img { filter: none; opacity: 1; }
@keyframes tick { to { transform: translateX(calc(-50% - var(--logo-gap) / 2)); } }

/* Calculadora */
.calc { background: var(--color-surface); }
.cc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: var(--space-8); align-items: start; }
.cc-hidden { display: none !important; }

.cc-step { border-top: 1px solid var(--color-border); }
.cc-step:first-child { border-top: 0; }
.cc-h { margin: 0; font-family: var(--font-sans); font-size: var(--text-h4); line-height: 1.2; }
.cc-toggle {
  display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-6) 0;
  border: 0; background: none; color: var(--ink-900); font: inherit; font-size: 18px; font-weight: 600; text-align: left; cursor: pointer;
}
.cc-toggle:disabled { cursor: not-allowed; opacity: .45; }
.cc-num { color: var(--ocean-700); font-variant-numeric: tabular-nums; }
.cc-num::after { content: "."; }
.cc-title { flex: none; }
.cc-sum { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--text-small); font-weight: 400; color: var(--color-text-secondary); }
.cc-chev { flex: none; width: 20px; height: 20px; margin-left: auto; transition: transform .35s var(--ease); }
.cc-step.is-open .cc-chev { transform: rotate(180deg); }
.cc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.cc-step.is-open .cc-body { grid-template-rows: 1fr; }
.cc-body-in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear .45s; }
.cc-step.is-open .cc-body-in { visibility: visible; transition-delay: 0s; padding-bottom: var(--space-8); }
.cc-hint { margin: 0 0 var(--space-4); font-size: var(--text-small); line-height: 1.5; color: var(--color-text-secondary); }
.cc-next { margin-top: var(--space-6); }
.cc-sel-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .7fr); gap: var(--space-4); margin-top: var(--space-2); }
.cc-sel { display: flex; flex-direction: column; gap: var(--space-2); }
.cc-sub { margin: var(--space-6) 0 var(--space-1); font-size: var(--text-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-secondary); }

.cc-row { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; border-top: 1px solid var(--color-border); }
.cc-row:first-of-type { border-top: 0; }
.cc-row-l { flex: 1; min-width: 0; }
.cc-row-t { font-weight: 600; }
.cc-row-s { font-size: var(--text-small); color: var(--color-text-secondary); }
.cc-row-s input { width: 72px; min-height: 32px; padding: 0 var(--space-3); text-align: right; }
.cc-stp { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.cc-stp button {
  width: 44px; height: 44px; border: 1.5px solid var(--color-border-strong); border-radius: 50%;
  background: var(--color-surface); color: var(--ink-900); font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.cc-stp button:hover { background: var(--color-accent); border-color: var(--color-accent); }
.cc-stp output { min-width: 28px; text-align: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

.cc-ad { margin-bottom: var(--space-3); padding: var(--space-4) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--sand-100); }
.cc-ad-h { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-2); }
.cc-ad-n { flex: 1; min-width: 140px; padding: var(--space-1) 0; border: 0; border-bottom: 1px dashed var(--color-border-strong); background: transparent; font-size: 18px; font-weight: 600; color: var(--ink-900); outline: none; }
.cc-ad-n:focus { border-bottom-color: var(--ocean-700); }
.cc-ad-tot { font-size: var(--text-small); color: var(--color-text-secondary); text-align: right; }
.cc-ad-tot b { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.cc-opts { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.cc-ad details, .cc-precos { margin-top: var(--space-3); }
.cc-ad summary, .cc-precos summary {
  display: inline; list-style: none; cursor: pointer; font-size: var(--text-small); font-weight: 600; color: var(--ink-900);
  text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-fast);
}
.cc-ad summary::-webkit-details-marker, .cc-precos summary::-webkit-details-marker { display: none; }
.cc-ad summary::after, .cc-precos summary::after { content: " +"; }
.cc-ad details[open] summary::after, .cc-precos[open] summary::after { content: " -"; }
.cc-ad summary:hover { text-decoration-color: var(--ink-900); }
.cc-ad .cc-row { padding: var(--space-3) 0; }
.cc-warn { margin-top: var(--space-3); font-size: var(--text-small); font-weight: 600; color: var(--color-error); }

/* Resultado: fixo na tela, estreito e baixo */
.cc-ticket {
  position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 104px); overflow: hidden auto;
  scrollbar-width: thin; border-radius: var(--radius-xl); background: var(--color-support);
}
.cc-tk-in { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6) var(--space-8); }
.cc-tk-top { padding-bottom: var(--space-1); }
.cc-ticket-k { font-size: var(--text-small); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ocean-700); }
.cc-verdict { margin: var(--space-2) 0; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink-900); font-family: var(--font-sans); }
.cc-verdict em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 55%, var(--sun-500) 55% 92%, transparent 92%); padding-inline: .12em; color: var(--ink-900); }
.cc-vsub { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--sun-500); font-size: var(--text-small); font-weight: 600; line-height: 1.2; color: var(--ink-900); }
.cc-vsub:empty { display: none; }
.cc-ref { display: none !important; }
.cc-tk-body, #cc-scen { display: flex; flex-direction: column; gap: var(--space-2); }
.cc-sc { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text-secondary); box-shadow: var(--shadow-sm); animation: cc-pop .35s var(--ease); }
@keyframes cc-pop { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cc-sc-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-size: 13px; font-weight: 500; }
.cc-sc-top span { white-space: nowrap; }
.cc-sc-top b { display: flex; flex-direction: column; align-items: flex-end; flex: none; white-space: nowrap; font-size: 22px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-align: right; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.cc-usd { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; text-align: right; color: var(--color-text-secondary); }
.cc-sc-bar { height: 4px; margin-top: var(--space-2); border-radius: 4px; background: rgba(23,61,70,.1); overflow: hidden; }
.cc-sc-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ocean-500); transition: width .35s var(--ease); }
.cc-sc-d { margin-top: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.cc-sc.win { background: var(--ocean-700); color: rgba(255,255,255,.88); box-shadow: none; }
.cc-sc.win .cc-sc-top b { font-size: 26px; color: var(--sun-500); }
.cc-sc.win .cc-usd { color: rgba(255,255,255,.82); }
.cc-sc.win .cc-sc-bar { background: rgba(255,255,255,.22); }
.cc-sc.win .cc-sc-bar i { background: var(--sun-500); }
.cc-sc.win .cc-sc-top span::after { content: "Menor custo"; margin-left: 6px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--sun-500); font-size: 11px; font-weight: 700; color: var(--ink-900); vertical-align: 1px; }
.cc-pp { margin: 2px 0 0; padding-top: var(--space-2); border-top: 1px solid rgba(23,61,70,.14); }
.cc-pp-t { margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-secondary); }
.cc-pp-r { display: flex; justify-content: space-between; gap: var(--space-3); padding: 3px 0; font-size: 13px; }
.cc-pp-s { display: block; font-size: 12px; color: var(--color-text-secondary); }
.cc-pp-v { font-variant-numeric: tabular-nums; text-align: right; }
.cc-break { padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: rgba(255,255,255,.7); font-size: 12px; line-height: 1.4; color: var(--color-text-secondary); }
.cc-tk-foot { margin-top: var(--space-2); font-size: 11px; line-height: 1.4; color: var(--color-text-secondary); }
.cc-mbar { display: none; }

/* Blog */
.blog-sec { background: var(--color-surface); }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6) var(--space-12); margin-bottom: var(--space-12); }
.blog-head .btn { flex: none; }
/* Guia grátis: painel oceânico com formulário claro */
.guia { background: var(--ocean-700); color: var(--color-text-inverse); }
.guia h2 { color: var(--white); }
.guia .lead { color: rgba(255,255,255,.88); }
.guia-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.guia-copy { display: flex; flex-direction: column; gap: var(--space-6); }
.guia-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3); border-radius: var(--radius-pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: var(--text-small); font-weight: 600; color: var(--white); }
.guia-badge svg { width: 18px; height: 18px; }
.guia-copy .lead { margin: 0; max-width: 30em; }
.guia-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.guia-list li { position: relative; padding-left: 36px; font-weight: 500; color: var(--white); }
.guia-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--sun-500)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173D46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.guia-form { padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius-xl); background: var(--color-surface); color: var(--color-text-primary); }
.guia-form form { display: flex; flex-direction: column; gap: var(--space-6); }
.gprog { display: flex; align-items: center; gap: var(--space-4); font-size: var(--text-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary); }
.gbar { flex: 1; height: 6px; border-radius: 6px; background: var(--color-support); }
.gbar i { display: block; height: 100%; width: 50%; border-radius: 6px; background: var(--ocean-500); transition: width .35s var(--ease); }
.gstep { display: flex; flex-direction: column; gap: var(--space-6); }
.gstep-h { font-size: 28px; line-height: 1.1; outline: none; }
.gq { margin: 0; padding: 0; border: 0; min-width: 0; }
.gq legend { padding: 0; margin-bottom: var(--space-3); font-size: var(--text-body); }
.gopts { display: grid; gap: var(--space-2); }
.gopts.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gopts.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gopt { position: relative; display: block; }
.gopt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gopt span { position: relative; display: flex; align-items: center; min-height: var(--control-h); padding: var(--space-3) var(--space-4) var(--space-3) 44px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl); background: var(--color-surface); font-size: 14.5px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.gopt span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); transition: border-color var(--dur-fast), background-color var(--dur-fast), box-shadow var(--dur-fast); }
.gopt:hover span { border-color: var(--ocean-500); }
.gopt input:checked + span { border-color: var(--ocean-700); background: var(--color-support); }
.gopt input:checked + span::before { border-color: var(--ocean-700); background: var(--ocean-700); box-shadow: inset 0 0 0 4px var(--color-support); }
.gopt input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.g-optin { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-small); line-height: 1.45; color: var(--color-text-secondary); cursor: pointer; }
.g-optin input { flex: none; width: 24px; height: 24px; accent-color: var(--ocean-700); cursor: pointer; }
.gbtn { width: 100%; }
.gback { align-self: center; padding: var(--space-2) var(--space-4); border: 0; background: none; font-weight: 600; color: var(--ocean-700); cursor: pointer; }
.gback:hover { text-decoration: underline; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.sent-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sun-500); color: var(--ink-900); }
.sent-ic svg { width: 28px; height: 28px; }
.sent-h { margin-top: var(--space-1); font-size: var(--text-h3); }
.sent-t { overflow-wrap: anywhere; }
.sent-s { font-size: var(--text-small); color: var(--color-text-secondary); }
.sent-btn { margin-top: var(--space-2); }

/* Dúvidas: lista editorial com divisórias */
.faq { background: var(--color-background); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 104px; }
.qa { border-top: 1px solid var(--color-border-strong); }
.qa details { border-bottom: 1px solid var(--color-border-strong); }
.qa summary { position: relative; list-style: none; padding: var(--space-6) 56px var(--space-6) 0; font-size: 18px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa details p { padding: 0 56px var(--space-6) 0; color: var(--color-text-secondary); }

/* Fechamento */
.finale { position: relative; min-height: min(100svh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 12vw, 160px); background: var(--ocean-700); color: var(--white); }
.finale-media { position: absolute; inset: 0; z-index: -1; }
.finale-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.finale-in { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); text-align: center; }
.finale h2 { max-width: 16ch; color: var(--white); }
.finale-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* Rodapé */
.foot { background: var(--ink-900); color: rgba(255,255,255,.82); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-8); padding-block: var(--space-8); font-size: var(--text-small); }
.foot-link { font-weight: 600; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; transition: border-color var(--dur-fast), color var(--dur-fast); }
.foot-link:hover { color: var(--sun-500); border-color: var(--sun-500); }

/* ---------- 6. RESPONSIVO ---------- */
@media (max-width: 980px) {
  .cc-grid { grid-template-columns: minmax(0, 1fr); }
  .cc-ticket { position: static; max-height: none; overflow: visible; }  .cc-mbar {
    display: flex; position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 50;
    align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-pill); background: var(--ocean-700); color: var(--white); font-size: 15px; font-weight: 600;
    transition: opacity var(--dur-base), transform var(--dur-base);
  }
  .cc-mbar.off { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .cc-mbar a { font-weight: 700; text-transform: uppercase; white-space: nowrap; color: var(--sun-500); }
}
@media (max-width: 900px) {
  .guia-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq .sec-head { position: static; margin-bottom: var(--space-8); }
}
@media (max-width: 880px) {
  .nav-in { grid-template-columns: 1fr auto auto; gap: var(--space-2); min-height: 56px; padding-left: var(--space-6); }
  .nav-toggle { display: block; }
  .nav-cta { padding: 0 var(--space-4); min-height: 44px; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-2) var(--space-6); border-radius: var(--radius-xl);
    background: rgba(255,255,255,.94); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: var(--shadow-md); visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity var(--dur-base), transform var(--dur-base), visibility 0s linear var(--dur-base);
  }
  .nav.is-open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { height: 48px; border-bottom: 1px solid var(--color-border); font-size: 16px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { bottom: 10px; right: auto; width: 32px; }
}
@media (max-width: 767px) {
  .hero { padding-top: calc(clamp(150px, 26vh, 240px) + 80px); min-height: max(100svh, 640px); }
  .hero-h .ln > span { white-space: normal; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .cc-sel-row { grid-template-columns: minmax(0, 1fr); }
  .gopts.g2, .gopts.g3 { grid-template-columns: minmax(0, 1fr); }
  .lines { --logo-h: 22px; }
  .cc-tk-in { padding: var(--space-6) var(--space-4); }
  .qa summary { padding-right: 48px; font-size: 17px; }
  .qa details p { padding-right: 0; }
}
@media (max-width: 560px) {  .cc-ad { padding: var(--space-4); }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lines-track { animation: none; }
}

/* feedback ao atualizar o cálculo */
.cc-verdict.is-updated, .cc-vsub.is-updated { animation: cc-pop .35s var(--ease); }

/* ajustes de telas pequenas (320–560 px) */
@media (max-width: 560px) {
  .cc-sc-top { flex-wrap: wrap; row-gap: var(--space-1); }
  .cc-sc-top span { white-space: normal; }
  .cc-sc-top b, .cc-sc.win .cc-sc-top b { font-size: 22px; }
}
@media (max-width: 420px) {
  .nav-cta { display: none; }
  .nav-in { grid-template-columns: 1fr auto; }
}
@media (max-width: 560px) {
  .cc-toggle { flex-wrap: wrap; row-gap: 2px; }
  .cc-title { flex: 1 1 0; min-width: 0; }
  .cc-sum { order: 3; flex: 0 0 100%; padding-left: 26px; white-space: normal; }
  .cc-sum:empty { display: none; }
}

.cc-mbar { opacity: 1; }

/* calculadora: respiro maior entre formulário e resultado; número da etapa dentro de um círculo */
.cc-grid { gap: 110px; }
@media (max-width: 1200px) { .cc-grid { gap: var(--space-12); } }
@media (max-width: 980px) { .cc-grid { gap: var(--space-8); } }
.cc-num {
  display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; margin-right: var(--space-1);
  border-radius: 50%; background: var(--ocean-700); color: var(--white);
  font-size: 15px; font-weight: 600; line-height: 1;
}
.cc-num::after { content: none; }

/* tipografia dos parágrafos: <p> em 16px; rótulos e rodapé do resultado em 12px; subtítulos em 40px */
p { font-size: var(--text-body); }.cc-tk-foot, .cc-pp-t, .cc-pp-s, .cc-usd, .cc-sc-d, .cc-break, .cc-sub { font-size: 12px; }
.lead, .hero-sub {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); /* 24 → 40px */
  line-height: 1.25; letter-spacing: -.01em; font-weight: 400;
}
.lead { max-width: 900px; }
.hero-sub { max-width: min(900px, 92%); }
.guia-copy .lead { max-width: 20em; }
/* com o subtítulo em 40px o bloco do hero fica mais alto: reduz o espaço acima para não encostar no convite para rolar */
.hero { padding-top: calc(clamp(120px, 22vh, 260px) + 80px); }
@media (max-width: 767px) { .hero { padding-top: calc(clamp(110px, 18vh, 200px) + 80px); } }
/* subtítulo do hero: no máximo 16px (o bloco volta à posição anterior, 80px mais baixo) */
.hero-sub { font-size: 16px; line-height: 1.55; letter-spacing: 0; max-width: min(560px, 90%); }
.hero { padding-top: calc(clamp(190px, 34vh, 340px) + 80px); }
@media (max-width: 767px) { .hero { padding-top: calc(clamp(150px, 26vh, 240px) + 80px); } }
/* subtítulos sempre em 16px, em qualquer tamanho de tela */
.lead, .hero-sub, .calc .lead, .guia .lead, .guia-copy .lead { font-size: 16px; line-height: 1.6; letter-spacing: 0; }
.lead { max-width: 640px; }
.guia-copy .lead { max-width: 30em; }

/* separação entre informação (título + descrição) e ação (campos que a pessoa preenche) */
.cc-hint { margin-bottom: var(--space-6); }
.cc-fields {
  padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  background: var(--sand-100);
}
.cc-fields .cc-sel-row { margin-top: 0; }
.cc-fields .cc-ad { background: var(--color-surface); }
.cc-fields .cc-row:first-child { padding-top: 0; }
.cc-fields .cc-row:last-of-type { padding-bottom: var(--space-2); }
.cc-fields .cc-next { margin-top: var(--space-6); }
@media (max-width: 560px) { .cc-fields { padding: var(--space-4); } }
/* .cc-fields sem borda */
.cc-fields { border: 0; }

/* subtítulo da calculadora em largura total */
.calc .sec-head .lead { max-width: none; }

/* Formulário do guia: perguntas numeradas, opções em chips e botão inativo até responder */
.guia-form form, .gstep { gap: var(--space-8); }
.gstep-h { margin: 0; }
.gstep-sub { margin-top: calc(var(--space-6) * -1 + var(--space-2)); color: var(--color-text-secondary); font-size: 16px; }
.gq { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.gq legend { display: flex; align-items: center; gap: var(--space-3); float: left; width: 100%; margin: 0 0 var(--space-3); padding: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.gq legend + * { clear: both; }
.gq-n { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-support); color: var(--ocean-700); font-size: 13px; font-weight: 700; }
.gopts, .gopts.g2, .gopts.g3 { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gopt span { min-height: 44px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); font-size: 15px; line-height: 1.2; }
.gopt span::before { position: static; flex: none; width: 0; height: 16px; margin: 0; margin-right: 0; border: 0; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306616B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; opacity: 0; transition: width var(--dur-base) var(--ease), margin var(--dur-base) var(--ease), opacity var(--dur-base); box-shadow: none; }
.gopt input:checked + span { border-color: var(--ocean-700); background: var(--ocean-700); color: var(--white); }
.gopt input:checked + span::before { width: 16px; margin-right: var(--space-2); opacity: 1; border: 0; background-color: var(--white); box-shadow: none; }
.gopt:hover span { border-color: var(--ocean-500); }
.gprog .gbar i { width: 0; }
.gbtn:disabled { background: var(--sand-200); color: rgba(23,61,70,.55); opacity: 1; cursor: not-allowed; transform: none; }
.g-hint { margin: calc(var(--space-4) * -1) 0 0; text-align: center; font-size: var(--text-small); color: var(--color-text-secondary); }
.gopt span::before { width: 0; height: 18px; background-size: 12px; }
.gopt input:checked + span::before { width: 18px; }

/* espaço abaixo do cabeçalho de seção */
.sec-head { margin-bottom: 64px; }
/* Guia: uma pergunta por vez (formulário curto, sem rolagem) */
.guia-form { padding: clamp(24px, 3vw, 40px); }
.guia-form form { gap: var(--space-6); }
.gstep { gap: var(--space-6); }
.gq { gap: var(--space-4); padding: 0; border-top: 0; animation: gq-in .35s var(--ease); }
.gq[hidden] { display: none; }
@keyframes gq-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.gq-n { display: none; }
.gq legend { float: none; display: block; width: auto; margin: 0 0 var(--space-4); font-family: var(--font-serif); font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 400; line-height: 1.15; outline: none; }
.gq .gopts { gap: var(--space-3); }
.gopt span { min-height: 48px; padding: var(--space-3) var(--space-6); font-size: 16px; }
.gback[hidden] { display: none; }
#g-back-q, #g-back { align-self: flex-start; padding-left: 0; }
@media (prefers-reduced-motion: reduce) { .gq { animation: none; } }

/* guia: o subtítulo cabe em uma linha no desktop (coluna do texto mais larga) e quebra de forma equilibrada quando falta espaço */
.guia-copy .lead { max-width: none; text-wrap: balance; }
@media (min-width: 1101px) {
  .guia-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
}

/* título do fechamento: continua <h2>, com o mesmo tamanho e ritmo do título do hero */
.finale h2 { font-size: var(--text-display); line-height: 1; letter-spacing: -.02em; max-width: 12ch; }

.finale-media video { object-position: 70% 50%; }

/* ===== "Bom saber antes de decidir": cartões lado a lado, movidos pela rolagem da página ===== */
.cc-stats { margin: 0; padding: 0; background: var(--ocean-700); color: var(--color-text-inverse); overflow: hidden; }
.cc-stats-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 40px); padding-block: clamp(48px, 7vh, 80px); }
.cc-stats-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); }
.cc-stats-h { margin: 0; max-width: 12em; color: var(--white); }
.cc-stats-meter { display: none; }
.cc-counter { display: flex; align-items: flex-end; gap: var(--space-2); font-variant-numeric: tabular-nums; }
.cc-counter #stat-count { font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 400; line-height: .9; color: #FFC700; }
.cc-counter .of { padding-bottom: .4em; font-size: var(--text-small); font-weight: 500; color: rgba(255,255,255,.72); }
.cc-progress { height: 2px; margin-top: var(--space-3); background: rgba(255,255,255,.22); overflow: hidden; }
.cc-progress i { display: block; height: 100%; background: #FFC700; transform: scaleX(.25); transform-origin: left center; }
.cc-stats-view { overflow: visible; }
.cc-stats-l::-webkit-scrollbar { display: none; }
.cc-stats-l {
  list-style: none; margin: 0; display: flex; align-items: flex-start; gap: var(--space-6); width: auto;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.cc-stat { flex: none; display: flex; flex-direction: column; gap: var(--space-4); width: clamp(240px, 22vw, 340px); scroll-snap-align: start; }
.cc-stat-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-xl); background: var(--ocean-500); }
.cc-stat-frame img { width: 120%; max-width: none; height: 100%; margin-left: -10%; object-fit: cover; }
.cc-stat-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,97,107,.9) 0%, rgba(6,97,107,.3) 50%, rgba(6,97,107,0) 100%); }
.cc-stat-v { position: absolute; z-index: 1; left: var(--space-6); bottom: var(--space-4); font-size: clamp(2.75rem, 4.5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #FFC700; -webkit-font-smoothing: subpixel-antialiased; }
.cc-stat-ic { position: absolute; z-index: 1; top: var(--space-4); right: var(--space-4); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun-500); color: var(--ink-900); }
.cc-stat-ic svg { width: 22px; height: 22px; }
.cc-stat-copy { display: flex; flex-direction: column; gap: var(--space-2); padding-inline: var(--space-1); }
.cc-stat-n { font-size: var(--text-small); font-weight: 600; letter-spacing: .08em; color: #FFC700; white-space: nowrap; }
.cc-stat-t { margin: 0; font-size: var(--text-h3); line-height: 1.1; color: var(--white); }
.cc-stat-copy p { max-width: 28em; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
/* celular e tablet: carrossel com rolagem lateral nativa, sem fixar a seção */
@media (max-width: 900px) {
  .cc-stats-pin { min-height: 0; padding-block: var(--section-y); }
  .cc-stats-head { flex-direction: column; align-items: flex-start; }
  .cc-stats-meter { display: none; }
  .cc-stats-l { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter); }
  .cc-stats-l::-webkit-scrollbar { display: none; }
  .cc-stat { width: min(80vw, 380px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-stats-pin { min-height: 0; padding-block: var(--section-y); }
  .cc-stats-meter { display: none; }
  .cc-stats-l { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
  .cc-stat { scroll-snap-align: start; }
}

/* rótulo longo do cenário "Sem álcool (...)": quebra em duas linhas ao lado do preço */
.cc-sc-top span { white-space: normal; }
.cc-sc-top > span { flex: 1 1 0; min-width: 0; }
.cc-sc.win .cc-sc-top > span { white-space: nowrap; flex: 0 1 auto; }
.cc-sc.win .cc-sc-top > span { white-space: normal; flex: 1 1 0; }

/* nomes dos cenários em negrito */
.cc-sc-top > span { font-weight: 700; color: var(--ink-900); }
.cc-sc.win .cc-sc-top > span { color: var(--white); }

/* regras da companhia (etapa 1) e notas do resultado */
.cc-break { white-space: pre-line; }

/* ícone "+" das dúvidas: traços desenhados no CSS, centralizados no círculo (sem depender da fonte) */
.qa summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background-color: var(--seafoam-100); color: var(--ocean-700);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: 12px 2px, 2px 12px; background-position: center, center; background-repeat: no-repeat;
  transition: transform .4s var(--ease), background-color var(--dur-fast), color var(--dur-fast);
}
.qa summary:hover::after { background-color: var(--sun-500); color: var(--ink-900); }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--sun-500); color: var(--ink-900); }

/* botão Continuar do questionário do guia */
.gstep .gbtn { align-self: stretch; }
.g-hint[hidden] { display: none; }/* opções do questionário: sem bolinha; a escolhida fica preenchida em azul-oceano */
.gopt span::before, .gopt input:checked + span::before { content: none; display: none; }
.gopt input:checked + span { padding-left: var(--space-6); }

/* Voltar ao lado do botão principal */
.g-actions { display: flex; align-items: stretch; gap: var(--space-3); }
.g-actions .gbtn { flex: 1 1 auto; width: auto; }
.gback, #g-back-q, #g-back {
  align-self: auto; display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: var(--control-h); padding: 0 var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  background: var(--color-surface); color: var(--ink-900); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color var(--dur-base), background-color var(--dur-base);
}
.gback:hover { border-color: var(--ink-900); text-decoration: none; }
.gback[hidden] { display: none; }

/* regras da companhia: título + blocos com o essencial em destaque */
.cc-rules-t { margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--color-border); font-size: var(--text-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ocean-700); }
.cc-rules-t:empty { display: none; }
.cc-rules { list-style: none; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); }
.cc-rules li { display: flex; flex-direction: column; gap: 2px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface); }
.cc-rule-t { font-size: var(--text-caption); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary); }
.cc-rule-v { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ink-900); }
.cc-rule-d { margin-top: 2px; font-size: var(--text-small); line-height: 1.45; color: var(--color-text-secondary); }
.cc-rules li.is-aviso .cc-rule-v { color: var(--color-text-secondary); font-weight: 600; }

/* ===== Página do blog (estrutura de revista: título, busca e filtro, grade de cartões e inscrição) ===== */
.blog-hero { padding: calc(var(--section-y) + 24px) 0 var(--space-12); background: var(--color-surface); text-align: center; }
.blog-title { max-width: none; margin: 0 auto; font-size: var(--text-h1); line-height: 1.04; letter-spacing: -.015em; color: var(--ink-900); }
.blog-sub { margin: var(--space-4) auto 0; font-size: 16px; color: var(--color-text-secondary); }
.blog-body { padding: var(--space-8) 0 var(--section-y); background: var(--color-background); }
.blog-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); align-items: stretch; }
.bpost { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-sm); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow var(--dur-base); }
.bpost[hidden] { display: none; }
.bpost:hover { box-shadow: var(--shadow-md); }
.bpost-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.bpost-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.bpost:hover .bpost-img img { transform: scale(1.05); }
.bpost-body { display: flex; flex: 1; flex-direction: column; gap: var(--space-2); padding: var(--space-6); }
.bpost-cat { font-size: var(--text-caption); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean-700); }
.bpost-t { margin: 0; font-family: var(--font-serif); font-size: 24px; font-weight: 400; line-height: 1.15; }
.bpost-t a:hover { text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.bpost-x { font-size: var(--text-small); line-height: 1.55; color: var(--color-text-secondary); }
.bpost-f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--space-6); }
.bpost-more { font-size: var(--text-small); font-weight: 600; color: var(--ocean-700); }
.bpost-more span { display: inline-block; transition: transform var(--dur-base) var(--ease); }
.bpost-more:hover span { transform: translateX(4px); }
.bnews { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--seafoam-100); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bnews.is-solo { grid-column: 1 / -1; }
.bnews-t { margin: 0; max-width: 12em; font-size: var(--text-h2); line-height: 1.08; color: var(--ink-900); }
.bnews-t em { font-style: italic; }
.bnews-x { max-width: 34em; font-size: 16px; color: var(--color-text-secondary); }
.bnews-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-3); max-width: 560px; }
.bnews-form label { flex: 1 0 100%; font-size: var(--text-small); font-weight: 600; }
.bnews-form input { flex: 1 1 220px; min-height: var(--control-h); padding: 0 var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); font-size: 16px; }
.bnews-form input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.bnews-form input[aria-invalid="true"] { border-color: var(--color-error); }
.bnews-form .gf-err { flex: 1 0 100%; }
.bnews-ok { font-size: 18px; font-weight: 600; color: var(--ocean-700); }
.bpost.is-pre, .bnews.is-pre { opacity: 0; transform: translateY(24px); }
.blog-empty { margin: var(--space-8) 0 0; color: var(--color-text-secondary); }
@media (max-width: 1000px) { .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bnews { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .blog-cards { grid-template-columns: minmax(0, 1fr); }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .blog-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bpost, .bpost.is-pre, .bnews, .bnews.is-pre { opacity: 1; transform: none; transition: none; } }

/* filtros do blog: chips lado a lado, alinhados à esquerda; busca à direita */
.blog-tools { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); }
.blog-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--space-2); }
.chip { min-height: 44px; padding: 0 var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--ink-900); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.chip:hover { border-color: var(--ocean-500); }
.chip.is-on { background: var(--ocean-700); border-color: var(--ocean-700); color: var(--white); }
.blog-search { width: min(260px, 100%); min-height: 44px; padding: 0 var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--ink-900); font-size: 15px; font-weight: 500; }
.blog-search:hover { border-color: var(--ocean-500); }
.blog-search:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 640px) { .blog-tools { flex-direction: column; align-items: stretch; } .blog-search { width: 100%; } }

/* ===== Blog (home): cartões que se abrem ao passar o mouse, como na referência ===== */
.blog-sec { background: var(--color-surface); }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6) var(--space-12); margin-bottom: var(--space-12); }
.blog-head .btn { flex: none; }
.bnav { display: none !important; }
.bcards { display: flex; gap: var(--space-4); height: 420px; }
.bcard {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-8);
  border-radius: var(--radius-xl); color: var(--ink-900);
  background: linear-gradient(180deg, #E4F4F0 0%, #CDE9E3 100%);
  transition: flex-grow .7s var(--ease), background-color .5s ease;
}
.bcard.is-open { flex-grow: 2.4; background: var(--sand-100); }
.bcard::before, .bcard::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.4); transition: opacity .4s ease; }
.bcard::before { left: -36px; bottom: -40px; width: 150px; height: 150px; }
.bcard::after { left: 70px; bottom: 54px; width: 56px; height: 56px; background: rgba(255,255,255,.55); }
.bcard.is-open::before, .bcard.is-open::after { opacity: 0; }
.bcard-main { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; transition: padding-right .7s var(--ease); }
.bcard.is-open .bcard-main { padding-right: 46%; }
.bcard h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.1; color: var(--ink-900); }
.bcard-main p { font-size: 16px; line-height: 1.5; color: var(--color-text-secondary); opacity: 0; transform: translateY(8px); max-height: 0; overflow: hidden; transition: opacity .35s ease, transform .5s var(--ease), max-height .6s var(--ease); }
.bcard.is-open .bcard-main p { opacity: 1; transform: none; max-height: 12em; transition-delay: .2s; }
.bcard-pic { position: absolute; top: var(--space-6); right: var(--space-6); bottom: 96px; width: 40%; overflow: hidden; border-radius: var(--radius-xl); background: var(--sand-200); opacity: 0; transform: translateX(32px); pointer-events: none; transition: opacity .4s ease, transform .7s var(--ease); }
.bcard.is-open .bcard-pic { opacity: 1; transform: none; transition-delay: .15s; }
.bcard-pic img { width: 100%; height: 100%; object-fit: cover; }
.bcard-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.bcard.is-open .bcard-foot { justify-content: flex-start; }
.bcard-more { font-size: var(--text-small); font-weight: 600; }
.bcard-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink-900); transition: background-color .4s ease, color .4s ease, transform .4s var(--ease); }
.bcard.is-open .bcard-go { background: var(--ocean-700); color: var(--white); }
.bcard-go svg { width: 18px; height: 18px; }
.bcard:hover .bcard-go { transform: rotate(45deg); }
.bcard:focus-visible { outline-offset: 4px; }
@media (max-width: 900px) {
  .blog-head { flex-direction: column; align-items: flex-start; }
  .bcards { flex-direction: column; height: auto; }
  .bcard, .bcard.is-open { flex: none; background: var(--sand-100); padding: var(--space-6); gap: var(--space-4); }
  .bcard::before, .bcard::after { display: none; }
  .bcard-main, .bcard.is-open .bcard-main { padding-right: 0; }
  .bcard-main p, .bcard.is-open .bcard-main p { opacity: 1; transform: none; max-height: none; }
  .bcard-pic, .bcard.is-open .bcard-pic { position: static; width: auto; aspect-ratio: 16 / 10; opacity: 1; transform: none; order: -1; }
  .bcard-foot, .bcard.is-open .bcard-foot { justify-content: space-between; }
  .bcard-go, .bcard.is-open .bcard-go { background: var(--ocean-700); color: var(--white); }
}
@media (prefers-reduced-motion: reduce) { .bcard, .bcard-main, .bcard-main p, .bcard-pic, .bcard-go, .bcard::before, .bcard::after { transition: none; } }

/* ===== Regras da companhia em carrossel (ocupa uma linha só) ===== */
.cc-rules-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin: var(--space-6) 0 var(--space-3); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.cc-rules-head .cc-rules-t { margin: 0; padding: 0; border: 0; }
.cc-rules-nav { display: flex; gap: var(--space-2); flex: none; }
.cc-rules-nav button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); color: var(--ink-900); cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast), opacity var(--dur-fast); }
.cc-rules-nav button:hover:not(:disabled) { background: var(--sun-500); border-color: var(--sun-500); }
.cc-rules-nav button:disabled { opacity: .35; cursor: default; }
.cc-rules-nav svg { width: 16px; height: 16px; }
.cc-rules { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 2px; scrollbar-width: none; }
.cc-rules::-webkit-scrollbar { display: none; }
.cc-rules li { flex: 0 0 min(230px, 78%); scroll-snap-align: start; padding: var(--space-3) var(--space-4); gap: 1px; }
.cc-rule-v { font-size: 17px; }
.cc-rule-d { font-size: 13px; line-height: 1.4; }

/* resultado: sem rolagem interna; fixo só quando cabe na tela (classe .is-tall é aplicada pelo JavaScript) */
.cc-ticket { max-height: none; overflow: visible; padding-bottom: 0; }
.cc-ticket.is-tall { position: static; }
.cc-tk-in { padding-bottom: var(--space-8); }

/* cartões do blog: sem as bolhas decorativas */
.bcard::before, .bcard::after { content: none; display: none; }

/* foto do cartão aberto: mesma distância do topo, da lateral e da base (igual ao padding do cartão) */
.bcard-pic { top: var(--space-8); right: var(--space-8); bottom: var(--space-8); }
@media (max-width: 900px) { .bcard-pic, .bcard.is-open .bcard-pic { top: auto; right: auto; bottom: auto; } }

/* cartão aberto do blog: o texto termina 24px antes da foto (largura calculada a partir da foto) */
.bcard-main { transition: max-width .7s var(--ease); }
.bcard.is-open .bcard-main { padding-right: 0; max-width: calc(60% - 52px); }
@media (max-width: 900px) { .bcard.is-open .bcard-main, .bcard-main { max-width: none; } }

/* ===== Páginas de post ===== */
.read-bar { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; background: transparent; pointer-events: none; }
.read-bar i { display: block; height: 100%; background: var(--sun-500); transform: scaleX(0); transform-origin: left center; }
.bpost-min { font-size: var(--text-caption); color: var(--color-text-secondary); }
.post-head { max-width: 860px; padding-top: calc(var(--section-y) + 24px); padding-bottom: var(--space-8); }
.post-back { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-8); font-size: var(--text-small); font-weight: 600; color: var(--ocean-700); }
.post-back span { transition: transform var(--dur-base) var(--ease); }
.post-back:hover span { transform: translateX(-4px); }
.post-cat { margin-bottom: var(--space-3); font-size: var(--text-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean-700); }
.post-title { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; letter-spacing: -.015em; color: var(--ink-900); }
.post-lead { margin-top: var(--space-6); font-size: var(--text-body-lg); line-height: 1.55; color: var(--color-text-secondary); }
.post-meta { margin-top: var(--space-4); font-size: var(--text-small); color: var(--color-text-secondary); }
.post-cover { max-width: 1100px; margin: var(--space-8) auto 0; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-xl); }
.prose { max-width: 760px; padding-top: var(--space-12); padding-bottom: var(--section-y); }
.prose p, .prose li { font-size: 18px; line-height: 1.75; color: var(--ink-900); }
.prose p { margin: 0 0 var(--space-6); }
.prose h2 { margin: var(--space-12) 0 var(--space-4); font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; }
.prose ul, .prose ol { margin: 0 0 var(--space-6); padding-left: 1.4em; display: grid; gap: var(--space-2); }
.prose li::marker { color: var(--ocean-700); font-weight: 700; }
.prose strong { font-weight: 600; }
.callout { margin: var(--space-8) 0; padding: var(--space-6); border-left: 4px solid var(--sun-500); border-radius: var(--radius-lg); background: var(--seafoam-100); font-size: 17px; line-height: 1.6; color: var(--ink-900); }
.table-wrap { margin: var(--space-6) 0 var(--space-8); overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: var(--space-3) var(--space-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.prose th { background: var(--sand-100); font-size: var(--text-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ocean-700); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.post-cta { margin-top: var(--space-16); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl); background: var(--ocean-700); color: var(--white); }
.prose .post-cta h2 { margin: 0 0 var(--space-3); color: var(--white); }
.prose .post-cta p { margin: 0 0 var(--space-6); max-width: 32em; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.9); }
.post-more { padding: var(--section-y) 0; background: var(--color-background); }
.post-more h2 { margin-bottom: var(--space-8); }
.post-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-related .bpost.is-pre { opacity: 0; transform: translateY(24px); }
.post-all { margin-top: var(--space-8); }
@media (max-width: 1000px) { .post-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-related { grid-template-columns: minmax(0, 1fr); } .post-cover img { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .read-bar i { transition: none; } .post-related .bpost.is-pre { opacity: 1; transform: none; } }

/* nome do adulto sem a linha tracejada (o foco continua visível pelo contorno) */
.cc-ad-n, .cc-ad-n:focus { border: 0; border-bottom: 0; }
.cc-ad-n:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }

/* páginas de post sem o menu principal: menos espaço no topo */
.page-post .post-head { padding-top: var(--space-12); }

/* subtítulos do texto: uma linha fluida, sem largura máxima forçando a quebra */
.prose h2 { max-width: none; text-wrap: wrap; }

/* Questionário do guia: opções em formato de rádio (como os perfis da calculadora), sem chip */
.gq .gopts, .gopts, .gopts.g2, .gopts.g3 { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; }
.gopt span, .gopt:hover span, .gopt input:checked + span {
  position: relative; display: flex; align-items: center; min-height: 0;
  padding: var(--space-3) 0 var(--space-3) 32px; border: 0; border-radius: 0; background: none;
  color: var(--ink-900); font-size: 16px; font-weight: 500; line-height: 1.35;
}
.gopt input:checked + span { padding-left: 32px; font-weight: 600; }
.gopt span::before, .gopt input:checked + span::before {
  content: ""; display: block; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin: -10px 0 0;
  border: 2px solid var(--color-border-strong); border-radius: 50%; background: transparent; box-shadow: none; opacity: 1;
  transition: border-color var(--dur-fast);
}
.gopt span::after {
  content: ""; position: absolute; left: 6px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--ocean-700); transform: scale(0); transition: transform var(--dur-fast);
}
.gopt:hover span::before, .gopt input:checked + span::before { border-color: var(--ocean-700); }
.gopt input:checked + span::after { transform: scale(1); }
.gopt input:focus-visible + span::before { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* tela de sucesso do guia: redes sociais */
.sent-social { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.sent-social p { margin: 0 0 var(--space-3); font-size: var(--text-small); font-weight: 600; color: var(--color-text-secondary); }
.sent-social-l { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sent-social-l a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-4); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); font-size: 15px; font-weight: 600; color: var(--ink-900); transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.sent-social-l a:hover { background: var(--seafoam-100); border-color: var(--ocean-700); }
.sent-social-l svg { width: 18px; height: 18px; }

/* inscrição do blog: nome + e-mail lado a lado, botão amarelo */
.bnews-form { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: var(--space-4); max-width: 640px; }
.bnews-f { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.bnews-form label { flex: none; }
.bnews-form input { flex: none; width: 100%; }
.bnews-form .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 560px) { .bnews-form { grid-template-columns: minmax(0, 1fr); } }

/* inscrição: nome menor, e-mail e botão na mesma linha */
.bnews-form { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; max-width: 760px; }
.bnews-form .btn { grid-column: auto; justify-self: auto; align-self: start; margin-top: 31px; white-space: nowrap; }
@media (max-width: 760px) { .bnews-form { grid-template-columns: minmax(0, 1fr); } .bnews-form .btn { margin-top: 0; justify-self: start; } }

/* inscrição: texto de apoio usa toda a largura do cartão */
.bnews-x { max-width: none; }

/* rodapé: redes sociais */
.foot-social { display: flex; gap: var(--space-2); }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-base) var(--ease); }
.foot-social a:hover { background: var(--sun-500); border-color: var(--sun-500); color: var(--ink-900); transform: translateY(-2px); }
.foot-social a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.foot-social svg { width: 18px; height: 18px; }

/* resultado: mais respiro entre os blocos */
.cc-tk-in { gap: var(--space-6); padding: var(--space-8) var(--space-8); }
.cc-tk-top { padding-bottom: 0; }
.cc-tk-body { gap: var(--space-6); }
#cc-scen { gap: var(--space-3); }
.cc-sc { padding: var(--space-4) var(--space-4); }
.cc-pp { margin: 0; padding-top: var(--space-6); }
.cc-pp-t { margin-bottom: var(--space-3); }
.cc-pp-r { padding: var(--space-1) 0; }
.cc-break { padding: var(--space-3) var(--space-4); }
.cc-tk-foot { margin-top: 0; }
@media (max-width: 900px) { .cc-tk-in { padding: var(--space-6) var(--space-4); } }

/* economia colada ao cartão de menor custo */
.cc-sc.win { position: relative; z-index: 1; }
.cc-sc-save { margin: var(--space-3) calc(-1 * var(--space-4)) calc(-1 * var(--space-4)); padding: var(--space-2) var(--space-4); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--sun-500); font-size: var(--text-small); font-weight: 600; line-height: 1.3; color: var(--ink-900); }

/* lista por adulto no resultado: nomes em negrito */
.cc-pp-r > span:first-child { font-weight: 700; color: var(--ink-900); }
.cc-pp-s { font-weight: 400; }

/* rodapé sem logo: aviso alinhado à esquerda, redes à direita */
.foot-in > span { text-align: left; margin-right: auto; }

/* ===== Calculadora no celular (mobile first): resultado em gaveta fixa no rodapé ===== */
.cc-sheet-bar { display: none; }
.cc-tk-det { display: contents; }
@media (max-width: 980px) {
  .cc-mbar { display: none !important; }
  .calc { padding-bottom: calc(var(--section-y) + 72px); }
  .cc-ticket, .cc-ticket.is-tall {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; top: auto; width: auto; margin: 0;
    max-height: 86vh; max-height: 86dvh; overflow: hidden; display: flex; flex-direction: column;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: 0 -8px 32px rgba(23,61,70,.18);
    transform: translateY(105%); transition: transform .45s var(--ease);
  }
  .cc-ticket.is-on { transform: none; }
  .cc-tk-in, .cc-ticket .cc-tk-in { padding: 0; gap: 0; min-height: 0; display: flex; flex-direction: column; }
  .cc-sheet-bar {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 64px;
    padding: var(--space-3) var(--space-6) calc(var(--space-3) + env(safe-area-inset-bottom)); border: 0; background: transparent; color: var(--ink-900); text-align: left; cursor: pointer; font-family: var(--font-sans);
  }
  .cc-sheet-l { display: flex; flex-direction: column; min-width: 0; }
  .cc-sheet-l small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ocean-700); }
  .cc-sheet-l b { font-size: 17px; font-weight: 700; line-height: 1.2; }
  .cc-sheet-r { display: flex; align-items: center; gap: var(--space-2); flex: none; }
  .cc-sheet-r b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .cc-sheet-r svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sun-500); transition: transform var(--dur-base) var(--ease); }
  .cc-ticket.is-open .cc-sheet-r svg { transform: rotate(180deg); }
  .cc-tk-det { display: none; padding: 0 var(--space-6) var(--space-8); flex-direction: column; gap: var(--space-6); overflow-y: auto; overscroll-behavior: contain; }
  .cc-ticket.is-open .cc-tk-det { display: flex; }
  .cc-ticket.is-open .cc-sheet-bar { border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-4); }
  .cc-ticket.is-open .cc-tk-top .cc-ticket-k { display: none; }
  html.sheet-open { overflow: hidden; }
  /* formulário mais enxuto */
  .cc-fields { gap: var(--space-3); }
}
@media (max-width: 560px) {
  .cc-row { gap: var(--space-3); }
  .cc-tk-det { padding-inline: var(--space-4); }
  .cc-sheet-bar { padding-inline: var(--space-4); }
}
@media (prefers-reduced-motion: reduce) { .cc-ticket { transition: none; } }
@media (max-width: 980px) {
  .cc-ticket.is-open .cc-verdict { display: none; }
  .cc-ticket.is-open .cc-tk-top { margin-top: calc(-1 * var(--space-2)); }
  .cc-tk-det { gap: var(--space-4); }
  .cc-sheet-l b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cc-sheet-l { flex: 1 1 auto; }
}
@media (max-width: 980px) {
  .cc-sheet-l b { white-space: normal; overflow: visible; text-overflow: clip; font-size: 16px; }
  .cc-sheet-r b { font-size: 18px; }
}

/* atalhos para editar (só na gaveta do celular) */
.cc-edit { display: none; }
@media (max-width: 980px) {
  .cc-edit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
  .cc-edit span { margin-right: var(--space-1); font-size: var(--text-small); font-weight: 600; color: var(--color-text-secondary); }
  .cc-edit button { min-height: 36px; padding: 0 var(--space-4); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); font: 600 14px/1 var(--font-sans); color: var(--ink-900); cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
  .cc-edit button:hover, .cc-edit button:active { background: var(--sun-500); border-color: var(--sun-500); }
}

/* "Bom saber" no celular: o cartão encaixa respeitando a margem da tela, em vez de colar na borda */
@media (max-width: 900px) {
  .cc-stats-l { scroll-padding-inline: var(--gutter); }
}

/* guia: botões nunca ultrapassam o cartão em telas pequenas */
.g-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.g-actions .btn { min-width: 0; max-width: 100%; }
.g-actions .btn-accent, .g-actions [type="submit"] { flex: 1 1 220px; padding-inline: var(--space-4); text-align: center; white-space: normal; }
@media (max-width: 480px) { .g-actions .btn { flex: 1 1 100%; } .g-actions .btn-secondary, .g-actions .btn-ghost { order: 2; } }
.g-actions .gbtn { flex: 1 1 0; min-width: 0; padding-inline: var(--space-4); white-space: normal; line-height: 1.2; }
.g-actions .gbtn:first-child:not(:last-child) { flex: 0 0 auto; }
@media (max-width: 420px) { .g-actions { flex-direction: column-reverse; } .g-actions .gbtn, .g-actions .gbtn:first-child:not(:last-child) { flex: 1 1 auto; width: 100%; } }
.g-actions .gback { flex: 0 0 auto; }
@media (max-width: 420px) { .g-actions .gback { width: 100%; } }

/* rodapé em telas menores: informações centralizadas */
@media (max-width: 700px) {
  .foot-in { flex-direction: column; align-items: center; text-align: center; }
  .foot-in > span { text-align: center; margin-right: 0; }
  .foot-social { justify-content: center; }
}

/* gaveta do resultado: mais alta e com cantos bem arredondados */
@media (max-width: 980px) {
  .cc-ticket, .cc-ticket.is-tall { border-radius: 32px 32px 0 0; }
  .cc-sheet-bar { min-height: 88px; padding-top: var(--space-6); padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
  .cc-sheet-l small { font-size: 12px; }
  .cc-sheet-l b { font-size: 18px; }
  .cc-sheet-r b { font-size: 22px; }
  .cc-sheet-r svg { width: 28px; height: 28px; padding: 4px; }
  .calc { padding-bottom: calc(var(--section-y) + 96px); }
}
@media (max-width: 980px) { .cc-edit { padding-top: var(--space-4); border-top: 1px solid var(--color-border); } }

.cc-edit button { display: inline-flex; align-items: center; gap: var(--space-2); }
.cc-edit button svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 980px) { .cc-ticket, .cc-ticket.is-tall { box-shadow: 0 -2px 16px rgba(23,61,70,.08); } }

/* nome da marca no menu em negrito */
.logo-txt, .logo-txt b { font-weight: 700; }
.cc-edit button { padding-inline: var(--space-3); }

/* resultado em telas menores: textos 1px maiores para leitura no celular */
@media (max-width: 980px) {
  .cc-sc-top { font-size: 14px; }
  .cc-sc-top b { font-size: 23px; }
  .cc-sc.win .cc-sc-top b { font-size: 27px; }
  .cc-usd { font-size: 12px; }
  .cc-sc-d { font-size: 13px; }
  .cc-sc.win .cc-sc-top span::after { font-size: 12px; }
  .cc-sc-save { font-size: 15px; }
  .cc-pp-t { font-size: 12px; }
  .cc-pp-r { font-size: 14px; }
  .cc-pp-s { font-size: 13px; }
  .cc-break { font-size: 13px; }
  .cc-tk-foot { font-size: 12px; }
  .cc-vsub { font-size: 15px; }
}

/* resultado em telas menores: mais +1px */
@media (max-width: 980px) {
  .cc-sc-top { font-size: 15px; }
  .cc-sc-top b { font-size: 24px; }
  .cc-sc.win .cc-sc-top b { font-size: 28px; }
  .cc-usd { font-size: 13px; }
  .cc-sc-d { font-size: 14px; }
  .cc-sc.win .cc-sc-top span::after { font-size: 13px; }
  .cc-sc-save { font-size: 16px; }
  .cc-pp-t { font-size: 13px; }
  .cc-pp-r { font-size: 15px; }
  .cc-pp-s { font-size: 14px; }
  .cc-break { font-size: 14px; }
  .cc-tk-foot { font-size: 13px; }
  .cc-vsub { font-size: 16px; }
}
@media (max-width: 980px) { .cc-sc.win .cc-sc-top span::after { content: none; display: none; } }
@media (max-width: 980px) { .cc-sc-bar { display: none; } .cc-sc-d { margin-top: var(--space-2); } }

/* celular: nome e "Por dia" juntos à esquerda, valor à direita */
@media (max-width: 980px) {
  .cc-sc { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: center; }
  .cc-sc-top { display: contents; }
  .cc-sc-top span { grid-column: 1; grid-row: 1; align-self: end; }
  .cc-sc-top b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .cc-sc-d { grid-column: 1; grid-row: 2; align-self: start; margin-top: 2px; }
  .cc-sc-save { grid-column: 1 / -1; }
}

.cc-scen-k { margin: 0 0 calc(-1 * var(--space-3)); font-size: var(--text-small); font-weight: 600; color: var(--ocean-700); }
.cc-scen-k:empty { display: none; }
@media (max-width: 980px) { .cc-scen-k { font-size: 15px; } }

/* botão Calcular: só no celular, no fim da etapa 3, abre o resultado */
.cc-calc-wrap { display: none; }
@media (max-width: 980px) {
  .cc-calc-wrap { display: block; margin-top: var(--space-6); }
  .cc-calc-btn { width: 100%; }
}

/* listas suspensas: mesmo tamanho e fonte do campo (16px), também nas opções */
select, select option, .cc-sel select, .cc-sel select option { font-family: var(--font-sans); font-size: 16px; line-height: 1.4; }
select option { padding: 8px 12px; color: var(--ink-900); background: var(--white); }

/* lista suspensa própria */
.cc-sel { position: relative; }
.cc-sel.is-custom select { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cc-dd-btn {
  width: 100%; min-height: var(--control-h); padding: 0 44px 0 var(--space-6); border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill);
  background-color: var(--color-surface); color: var(--color-text-primary); font: 500 16px/1.2 var(--font-sans); text-align: left; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173D46' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
  transition: border-color var(--dur-fast) ease;
}
.cc-dd-btn:hover { border-color: var(--ocean-500); }
.cc-dd-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.cc-dd-btn:disabled { background-color: var(--sand-100); color: var(--color-text-secondary); cursor: not-allowed; }
.cc-sel.is-open .cc-dd-btn { border-color: var(--ocean-700); }
.cc-dd-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: var(--space-2); list-style: none;
  max-height: 264px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 8px 24px rgba(23,61,70,.14);
}
.cc-dd-list[hidden] { display: none; }
.cc-sel.dd-up .cc-dd-list { top: auto; bottom: calc(100% + 6px); }
.cc-dd-list li { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 16px; line-height: 1.3; color: var(--ink-900); cursor: pointer; }
.cc-dd-list li.is-active { background: var(--seafoam-100); }
.cc-dd-list li[aria-selected="true"] { font-weight: 600; }
.cc-dd-list li[aria-selected="true"]::after { content: "✓"; float: right; color: var(--ocean-700); font-weight: 700; }
.cc-sel-row { overflow: visible; }

/* hero no celular: texto mais abaixo, deixando os drinks do vídeo à mostra */
@media (max-width: 767px) { .hero { padding-top: calc(clamp(260px, 42vh, 380px) + 80px); } }

/* seção da calculadora: menos espaço no topo (metade do padrão das seções) */
.sec.calc { padding-top: clamp(8px, 1.5vw, 20px); }
.lines { padding-bottom: 8px; }

/* regras da companhia: mais espaço entre rótulo, valor e descrição */
.cc-rules li { gap: var(--space-2); padding: var(--space-4); }
.cc-rule-t { margin-bottom: 0; }
.cc-rule-v { margin-bottom: var(--space-1); }
.cc-rule-d { line-height: 1.5; }
.sec.calc { padding-top: 0; }
.lines { padding-bottom: 0; }
.sec.calc .sec-head { padding-top: var(--space-6); }

/* seção da calculadora: padding-top de 60px em todas as telas */
.sec.calc { padding-top: 60px; }
.sec.calc .sec-head { padding-top: 0; }

/* faixa de logos: espaço embaixo restaurado (a linha não gruda nas logos) */
.lines { padding-bottom: var(--space-8); }

/* carrossel das regras: vai até a borda do quadro (sem cortar antes), com o início alinhado ao conteúdo */
.cc-fields { --fp: var(--space-6); }
@media (max-width: 560px) { .cc-fields { --fp: var(--space-4); } }
.cc-rules { margin-inline: calc(-1 * var(--fp)); padding-inline: var(--fp); scroll-padding-inline: var(--fp); border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }

/* lista suspensa fora do fluxo: nunca é cortada pelo corpo da etapa */
.cc-dd-list { position: fixed; left: auto; right: auto; top: auto; z-index: 200; }

/* "Bom saber": conteúdo começa no topo (padding fixo) em vez de centralizado na altura da tela */
.cc-stats-pin { justify-content: flex-start; padding-top: clamp(48px, 7vh, 72px); padding-bottom: clamp(40px, 6vh, 64px); }

/* blocos das regras com borda */
.cc-rules li { border: 1px solid var(--color-border-strong); }

/* hero: véu neutro (sem azul) atrás do texto para leitura sobre o vídeo claro */
.hero-img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 50% 44%, rgba(8,24,30,.62) 0%, rgba(8,24,30,.36) 55%, rgba(8,24,30,0) 100%),
    linear-gradient(180deg, rgba(8,24,30,.4) 0%, rgba(8,24,30,0) 28%, rgba(8,24,30,0) 70%, rgba(8,24,30,.45) 100%);
}

/* hero: véu leve e uniforme sobre todo o vídeo (somado ao reforço no centro) */
.hero-img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(8,24,30,.3); }
.hero-img::after {
  background:
    radial-gradient(ellipse 75% 60% at 50% 44%, rgba(8,24,30,.3) 0%, rgba(8,24,30,.14) 55%, rgba(8,24,30,0) 100%),
    linear-gradient(180deg, rgba(8,24,30,.3) 0%, rgba(8,24,30,0) 25%, rgba(8,24,30,0) 75%, rgba(8,24,30,.35) 100%);
}

/* hero: véu mais claro */
.hero-img::before { background: rgba(8,24,30,.14); }
.hero-img::after {
  background:
    radial-gradient(ellipse 75% 60% at 50% 44%, rgba(8,24,30,.18) 0%, rgba(8,24,30,.08) 55%, rgba(8,24,30,0) 100%),
    linear-gradient(180deg, rgba(8,24,30,.2) 0%, rgba(8,24,30,0) 25%, rgba(8,24,30,0) 75%, rgba(8,24,30,.22) 100%);
}

/* hero: véu ainda mais claro */
.hero-img::before { background: rgba(8,24,30,.05); }
.hero-img::after {
  background:
    radial-gradient(ellipse 75% 60% at 50% 44%, rgba(8,24,30,.12) 0%, rgba(8,24,30,.05) 55%, rgba(8,24,30,0) 100%),
    linear-gradient(180deg, rgba(8,24,30,.12) 0%, rgba(8,24,30,0) 22%, rgba(8,24,30,0) 78%, rgba(8,24,30,.14) 100%);
}

/* carrossel das regras: o corte na lateral é reto (sem arredondar o canto do bloco cortado) */
.cc-rules { border-radius: 0; }

/* inscrição do blog: nome em cima do e-mail, botão embaixo (uma coluna) */
.bnews-form { grid-template-columns: minmax(0, 1fr); max-width: 480px; gap: var(--space-4); }
.bnews-form .btn { grid-column: auto; justify-self: start; margin-top: var(--space-2); }
@media (max-width: 760px) { .bnews-form .btn { margin-top: var(--space-2); } }

/* inscrição do blog: texto à esquerda, formulário à direita (aproveita a largura do cartão) */
.bnews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: clamp(32px, 5vw, 72px); row-gap: var(--space-4); }
.bnews-t { grid-column: 1; grid-row: 1; align-self: end; }
.bnews-x { grid-column: 1; grid-row: 2; align-self: start; max-width: 28em; }
.bnews-form, .bnews-ok { grid-column: 2; grid-row: 1 / span 2; }
.bnews-form { max-width: none; width: 100%; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--white); }
.bnews-form .btn { justify-self: stretch; width: 100%; margin-top: var(--space-2); }
.bnews-form input { background: var(--color-background); }
@media (max-width: 760px) {
  .bnews { grid-template-columns: minmax(0, 1fr); }
  .bnews-t, .bnews-x, .bnews-form, .bnews-ok { grid-column: 1; grid-row: auto; }
}

/* Hiperlinks de texto: sempre com o risquinho amarelo */
.btn-ghost, .post-back, .bpost-more {
  text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 5px;
  border-bottom: 0; padding-block: 0; font-weight: 600;
  transition: text-decoration-color var(--dur-fast);
}
.btn-ghost:hover, .post-back:hover, .bpost-more:hover { border-bottom-color: transparent; text-decoration-color: var(--ink-900); }
.post-back, .bpost-more { color: var(--color-text-primary); }
.prose a:not(.btn) { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.prose a:not(.btn):hover { text-decoration-color: var(--ink-900); }
.btn-ghost { display: inline-block; }
.foot-link { border-bottom: 0; padding-bottom: 0; text-decoration: underline; text-decoration-color: var(--sun-500); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.foot-link:hover { color: var(--white); text-decoration-color: var(--white); }
/* Destaque sobre fundo escuro: só a cor amarela, sem marca-texto */
.cc-stats-h .gold, .guia .gold { color: var(--sun-500); background: none; padding: 0; }
