/* ============================================================
   MagZap — Design Tokens
   ============================================================ */
:root {
  /* --- Cores principais --- */
  --clr-lime:            #B2EA27;
  --clr-lime-text:       #2A3A08;   /* texto escuro sobre fundo lime */
  --clr-lime-subtext:    #33400F;   /* texto secundário sobre lime  */

  /* --- Neutros escuros --- */
  --clr-dark:            #1E1E1E;
  --clr-card-dark:       #2A2A26;
  --clr-card-border-dark:#363632;
  --clr-ink:             #0F0F0E;
  --clr-ink-soft:        #16160F;

  /* --- Neutros claros --- */
  --clr-white:           #ffffff;
  --clr-surface:         #F6F6F1;
  --clr-surface-2:       #F4F4EE;
  --clr-border:          #ECECE4;
  --clr-border-soft:     #E6E6DC;

  /* --- Texto --- */
  --clr-text-body:       #45453C;
  --clr-text-dim:        #56564C;
  --clr-text-muted:      #5C5C50;
  --clr-text-pale:       #A8A89E;
  --clr-text-subtle:     #7A7A6E;
  --clr-text-light:      #B6B6AC;
  --clr-text-medium:     #8A8A7E;
  --clr-text-on-dark:    #D6D6CC;
  --clr-text-nav:        #9A9A8E;
  --clr-text-footer:     #7A7A6E;

  /* --- Tipografia --- */
  --ff-display: 'Unbounded', sans-serif;
  --ff-body:    'Archivo', sans-serif;
  --ff-mono:    'Space Mono', monospace;

  /* --- Escala de fontes fluida (clamp: mínimo mobile, preferido viewport, máximo desktop) --- */
  --fs-hero:      clamp(2.5rem, 1.85rem + 3vw, 4rem);        /* 40px → 64px */
  --fs-h2:        clamp(1.75rem, 1.35rem + 1.9vw, 2.875rem); /* 28px → 46px */
  --fs-h2-lg:     clamp(2rem, 1.4rem + 2.8vw, 3.625rem);     /* 32px → 58px */
  --fs-h3:        clamp(1.25rem, 1.1rem + 0.7vw, 1.6875rem); /* 20px → 27px */
  --fs-stat:      clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);   /* 28px → 40px */
  --fs-quote:     clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); /* 22px → 30px */
  --fs-price:     clamp(2.5rem, 1.9rem + 2.8vw, 3.5rem);     /* 40px → 56px */
  --fs-post-title:clamp(2rem, 1.5rem + 2.2vw, 3rem);         /* 32px → 48px (títulos de post) */
  --fs-prose:     clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem); /* 17px → 19px (corpo de artigo) */

  /* --- Sinalização de perda (calculadora das landing pages) --- */
  --clr-loss:            #E8734A;   /* horário que vagou e não foi reocupado */
  --clr-loss-soft:       rgba(232,115,74,.16);

  /* --- Layout --- */
  --page-max: 1180px;
  --page-pad: 32px;
  --measure:  46rem;   /* largura de leitura confortável (~68ch) para o corpo dos posts */
}

/* ============================================================
   Reset / base
   ============================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--clr-white);
  font-family: var(--ff-body);
  color: var(--clr-ink-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; }

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* ============================================================
   Section helpers
   ============================================================ */
.section {
  padding: 100px 32px;
}
.section-dark   { background: var(--clr-dark); color: #fff; }
.section-surface{ background: var(--clr-surface); }
.section-white  { background: var(--clr-white); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin: 0 0 18px;
}
.eyebrow-lime  { color: var(--clr-lime); }
.eyebrow-center{ text-align: center; }

.section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}
.section-title-lg { font-size: var(--fs-h2-lg); }
.section-title-sm { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.625rem); }

.section-lead {
  font-size: clamp(1rem, 0.93rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  margin: 24px 0 0;
}

.hero-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--clr-ink);
  text-wrap: balance;
}

.step-title, .flip-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: -.02em;
  margin: 0;
}

.quote-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-quote);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 16px 0 0;
}

.price-amount {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-price);
  letter-spacing: -.03em;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}
.btn-lime {
  background: var(--clr-lime);
  color: var(--clr-ink-soft);
}
.btn-outline-dark {
  background: #fff;
  color: var(--clr-ink-soft);
  border: 1.5px solid #16160F;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid #3A3A34;
}

/* ============================================================
   Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid var(--clr-border);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
}
.nav {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { height: 30px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-text-body);
  font-family: var(--ff-body);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--clr-surface-2); }
.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 14px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--clr-ink-soft);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1036px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 63px 0 0 0;
    z-index: 49;
    background: var(--clr-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px var(--page-pad) 32px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links .nav-link {
    width: 100%;
    padding: 14px 4px;
    font-size: 18px;
    border-bottom: 1px solid var(--clr-border);
  }
  .nav-links .btn {
    width: 100%;
    margin-top: 16px;
  }
  body.nav-open { overflow: hidden; }
}

/* ============================================================
   Cards
   ============================================================ */
.card-dark {
  background: var(--clr-card-dark);
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 18px;
  padding: 30px;
}
.card-stat {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-stat);
  color: var(--clr-lime);
  letter-spacing: -.02em;
}
.card-stat-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--clr-text-light);
  margin: 12px 0 0;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 4px 24px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--clr-ink-soft);
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] .mz-faq-plus { transform: rotate(45deg); }
.mz-faq-plus {
  flex: 0 0 auto;
  font-size: 24px;
  color: var(--clr-text-nav);
  transition: transform .2s;
  line-height: 1;
}
.faq-answer {
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text-dim);
  margin: 0 0 22px;
  font-family: var(--ff-body);
}

/* ============================================================
   ROI calculator
   ============================================================ */
input[type=range] { accent-color: var(--clr-lime); width: 100%; height: 6px; }

/* ============================================================
   Misc animation
   ============================================================ */
@keyframes mz-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ============================================================
   Responsividade geral
   ============================================================ */
html { overflow-x: hidden; }

/* Evita que cards flex com texto/números grandes forcem overflow
   horizontal quando encolhem em telas pequenas. Uma declaração inline
   de min-width tem prioridade e continua funcionando normalmente. */
[style*="flex:1 1"] { min-width: 0; }
h1, h2, h3, .price-amount, .card-stat { overflow-wrap: break-word; }
.pricing-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.hero-copy, .hero-visual {
  min-width: 340px;
}

@media (max-width: 900px) {
  .hero-copy, .hero-visual {
    min-width: 0;
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    position: static;
    margin: 16px auto 0;
    right: auto;
    bottom: auto;
  }
  .pricing-checklist {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Consent banner (LGPD)
   ============================================================ */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--clr-card-dark);
  border-top: 1px solid var(--clr-card-border-dark);
  color: #fff;
  padding: 22px var(--page-pad);
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  box-shadow: 0 -18px 44px -24px rgba(15,15,14,.65);
}
.consent-banner.is-open { display: flex; }
.consent-banner-text { flex: 1 1 320px; max-width: 640px; }
.consent-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clr-lime);
  margin: 0 0 6px;
}
.consent-banner-text p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--clr-text-on-dark);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   Blog — post (artigo) e índice
   ============================================================ */
.post { padding: 40px 32px 90px; }
.post-container { max-width: var(--measure); margin: 0 auto; }

.post-breadcrumb {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--clr-text-subtle);
  margin-bottom: 28px;
}
.post-breadcrumb a { color: var(--clr-text-subtle); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--clr-ink-soft); }
.post-breadcrumb span { margin: 0 6px; color: var(--clr-text-pale); }

.post-header { margin-bottom: 40px; }
.post-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-post-title);
  line-height: 1.08;
  color: var(--clr-ink-soft);
  margin: 14px 0 0;
  text-wrap: balance;
}
.post-meta {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--clr-text-subtle);
  margin: 18px 0 0;
}

/* Corpo do artigo — tipografia de leitura sobre os tokens existentes */
.prose {
  font-family: var(--ff-body);
  font-size: var(--fs-prose);
  line-height: 1.7;
  color: var(--clr-text-body);
}
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  color: var(--clr-ink-soft);
  margin: 2em 0 .7em;
  text-wrap: balance;
}
.prose h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--clr-ink-soft);
  margin: 1.6em 0 .5em;
}
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.prose li { margin: 0 0 .55em; padding-left: .2em; }
.prose li::marker { color: var(--clr-text-medium); }
.prose a { color: var(--clr-lime-text); text-decoration: underline; text-decoration-color: var(--clr-lime); text-underline-offset: 2px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { font-weight: 700; color: var(--clr-ink-soft); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--clr-lime);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--clr-ink-soft);
}
.prose blockquote p { margin: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 1.6em 0; display: block; }
.prose hr { border: 0; border-top: 1px solid var(--clr-border); margin: 2.4em 0; }
.prose code {
  font-family: var(--ff-mono);
  font-size: .88em;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  padding: .1em .4em;
}
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-family: var(--ff-mono); font-size: 12.5px; color: var(--clr-text-subtle); margin-top: 8px; }

/* Tabelas: rolam dentro do próprio container em telas estreitas */
.prose .table-wrap, .prose table { display: block; }
.prose table {
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .95rem;
  margin: 0 0 1.5em;
}
.prose thead th {
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--clr-text-nav);
  border-bottom: 2px solid var(--clr-border);
  padding: 10px 14px;
}
.prose tbody td { border-bottom: 1px solid var(--clr-border); padding: 12px 14px; vertical-align: top; }

/* FAQ dentro do post */
.post-faq { margin: 56px 0 0; }

/* Bloco de conversão ao final do post */
.post-cta {
  margin: 56px 0 0;
  background: var(--clr-dark);
  border-radius: 22px;
  padding: 44px 40px;
}

/* Índice do blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 30px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -26px rgba(15,15,14,.4);
  border-color: var(--clr-border-soft);
}
.post-card-tipo {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-lime-text);
  background: var(--clr-lime);
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
}
.post-card-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--clr-ink-soft);
  margin: 16px 0 0;
}
.post-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--clr-text-dim);
  margin: 12px 0 20px;
  flex: 1;
}
.post-card-meta {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--clr-text-subtle);
}

@media (max-width: 640px) {
  .post { padding: 32px 22px 72px; }
  .post-cta { padding: 32px 24px; }
}

/* ============================================================
   Landing pages de campanha (/lp/*)
   Mobile-first: o layout em duas colunas só existe a partir de 880px.
   ============================================================ */

/* ---------- casca ---------- */
/* O `overflow-x: hidden` global do body computa overflow-y para `auto`, o que
   transforma o body em contêiner de rolagem e faz todo position:sticky interno
   nunca grudar. `clip` corta o transbordo horizontal sem criar esse contêiner. */
.lp-body,
.lp-guia-body {
  overflow-x: clip;
}

.lp-body {
  background: var(--clr-dark);
  color: var(--clr-text-on-dark);
}
.lp-header {
  padding: 20px var(--page-pad);
  border-bottom: 1px solid #232320;
}
.lp-header-inner,
.lp-footer-inner {
  max-width: 1020px;
  margin: 0 auto;
}
.lp-header-logo { height: 30px; width: auto; display: block; }

.lp-footer {
  border-top: 1px solid #232320;
  padding: 36px var(--page-pad) 44px;
}
.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}
.lp-footer-logo { height: 28px; width: auto; display: block; }
.lp-footer-note {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--clr-text-subtle);
  margin: 0;
}

.lp-main {
  max-width: 1020px;
  margin: 0 auto;
  padding: 36px var(--page-pad) 40px;
}

/* ---------- hero ---------- */
.lp-hero { margin-bottom: 28px; }
.lp-hero-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
  margin: 12px 0 14px;
  max-width: 17ch;
  text-wrap: balance;
}
.lp-hero-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--clr-text-pale);
  margin: 0;
  max-width: 52ch;
}

/* ---------- grade de colunas ----------
   No mobile é uma coluna flex e o .lp-panel-side vira display:contents, para
   que o card da semana possa ser reordenado ACIMA das perguntas. Sticky exige
   um container mais alto que o próprio elemento — daí o flex/grid em vez de
   block flow solto. */
.lp-cols {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.lp-panel-side { display: contents; }
.lp-week       { order: 1; }
.lp-panel-form { order: 2; }
.lp-result     { order: 3; }
.lp-actions    { order: 4; }

/* ---------- card "Sua semana" (sticky durante o preenchimento) ---------- */
.lp-week {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--clr-card-dark);
  border: 1px solid var(--clr-card-border-dark);
  padding: 16px 18px 14px;
  /* Full-bleed no mobile: sem cantos no topo, o conteúdo não vaza pelas bordas
     arredondadas ao rolar por baixo. */
  margin: 0 calc(var(--page-pad) * -1);
  border-left: none;
  border-right: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 24px -18px rgba(0,0,0,.9);
}
.lp-week-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lp-week-title {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-text-pale);
}
.lp-week-count {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--clr-text-medium);
  font-variant-numeric: tabular-nums;
}
.lp-week-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lp-day-name {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-subtle);
  text-align: center;
  margin-bottom: 6px;
}
/* --lp-slot é ajustado por lp-calculadora.js conforme a densidade da agenda:
   uma clínica com 6 cadeiras × 16 atendimentos tem 96 pontos por dia e
   estouraria o card se o ponto tivesse tamanho fixo. */
.lp-week { --lp-slot: 8px; }
.lp-slots {
  display: flex;
  flex-wrap: wrap;
  gap: max(2px, calc(var(--lp-slot) * .35));
  justify-content: center;
}
.lp-slot {
  width: var(--lp-slot);
  height: var(--lp-slot);
  border-radius: 50%;
  background: rgba(178,234,39,.14);
  box-shadow: inset 0 0 0 1px rgba(178,234,39,.34);
  transition: background .25s ease, box-shadow .25s ease;
}
.lp-slot.is-recovered {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--clr-lime);
}
.lp-slot.is-lost {
  background: var(--clr-loss-soft);
  box-shadow: inset 0 0 0 1px var(--clr-loss);
}
.lp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--clr-card-border-dark);
  font-size: 12px;
  color: var(--clr-text-pale);
}
.lp-legend > span { display: flex; align-items: center; gap: 6px; }
/* As amostras da legenda não acompanham a densidade da grade. */
.lp-legend .lp-slot { width: 8px; height: 8px; flex: none; }

/* ---------- perguntas ---------- */
.lp-field {
  border-top: 1px solid var(--clr-card-border-dark);
  padding: 22px 0 20px;
}
.lp-field:first-child { border-top: none; }
.lp-field-index {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--clr-text-subtle);
}
.lp-field-label {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  color: #fff;
  margin: 4px 0 6px;
}
.lp-field-help {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--clr-text-pale);
  max-width: 44ch;
}

/* botões-segmento (nº de cadeiras) */
.lp-segments { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-segment {
  font-family: var(--ff-mono);
  font-size: 15px;
  min-width: 52px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 10px;
  background: var(--clr-card-dark);
  color: var(--clr-text-on-dark);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.lp-segment:hover { border-color: #4A4A44; }
.lp-segment[aria-pressed="true"] {
  background: var(--clr-lime);
  border-color: var(--clr-lime);
  color: var(--clr-ink);
  font-weight: 700;
}

/* stepper −/+ */
.lp-stepper { display: flex; align-items: center; gap: 14px; }
.lp-stepper-btn {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 10px;
  background: var(--clr-card-dark);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, opacity .15s ease;
}
.lp-stepper-btn:hover:not(:disabled) { border-color: #4A4A44; }
.lp-stepper-btn:disabled { opacity: .3; cursor: not-allowed; }
.lp-stepper-value {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 26px;
  color: var(--clr-lime);
  min-width: 2.2ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.lp-stepper-unit { font-size: 13.5px; color: var(--clr-text-pale); }

/* slider de ticket médio */
.lp-slider-value {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: 26px;
  color: var(--clr-lime);
  font-variant-numeric: tabular-nums;
}
.lp-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--clr-text-subtle);
  margin-top: 4px;
}
.lp-field input[type=range] { margin: 14px 0 0; }

/* ---------- resumo compacto (fase result) ---------- */
.lp-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px;
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 12px;
  background: var(--clr-card-dark);
}
.lp-summary-values {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--clr-text-pale);
  margin: 0;
}
.lp-redo {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-lime);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- card de resultado ---------- */
.lp-result {
  background: var(--clr-lime);
  color: var(--clr-ink);
  border-radius: 18px;
  padding: 30px 24px 26px;
}
.lp-result:focus { outline: none; }
.lp-result-eyebrow {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-lime-text);
  margin: 0;
}
.lp-result-number {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-price);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 10px 0 0;
}
.lp-result-days {
  font-size: 16px;
  line-height: 1.5;
  color: var(--clr-lime-subtext);
  margin: 14px 0 0;
}
.lp-result-year {
  font-family: var(--ff-mono);
  font-size: 13.5px;
  color: var(--clr-lime-subtext);
  margin: 6px 0 0;
}
.lp-result-note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--clr-lime-subtext);
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(15,15,14,.18);
}
.lp-result-formula {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(42,58,8,.72);
  margin: 18px 0 0;
}

/* ---------- ações pós-resultado ---------- */
.lp-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.lp-actions .btn { width: 100%; padding: 16px 22px; font-size: 15px; }
.lp-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 1px solid var(--clr-card-border-dark);
}
.lp-share-feedback {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--clr-lime);
  margin: 0;
  min-height: 1em;
}

/* ---------- captura de telefone ---------- */
.lp-phone {
  background: var(--clr-card-dark);
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 14px;
  padding: 18px;
}
.lp-phone-title {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15.5px;
  color: #fff;
  margin: 0 0 10px;
}
.lp-phone-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-phone-input {
  flex: 1 1 180px;
  min-width: 0;
  font-family: var(--ff-mono);
  font-size: 16px; /* 16px evita o zoom automático do iOS ao focar */
  color: #fff;
  background: var(--clr-dark);
  border: 1px solid var(--clr-card-border-dark);
  border-radius: 10px;
  padding: 14px 14px;
}
.lp-phone-input::placeholder { color: var(--clr-text-subtle); }
.lp-phone-input:focus {
  outline: none;
  border-color: var(--clr-lime);
}
.lp-phone-input[aria-invalid="true"] { border-color: var(--clr-loss); }
.lp-phone .btn { flex: 0 0 auto; padding: 14px 24px; }
.lp-phone .btn[disabled] { opacity: .55; cursor: progress; }
.lp-phone-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--clr-text-subtle);
  margin: 12px 0 0;
}
.lp-phone-error {
  font-size: 12.5px;
  color: var(--clr-loss);
  margin: 10px 0 0;
}

/* ---------- barra de CTA fixa (mobile) ---------- */
.lp-ctabar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(30,30,30,.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid #232320;
  padding: 12px var(--page-pad) calc(12px + env(safe-area-inset-bottom));
}
.lp-ctabar-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.lp-ctabar .btn { flex: 1; padding: 15px 18px; }
/* Espaço para a barra não cobrir o fim do conteúdo. */
.lp-has-ctabar { padding-bottom: 96px; }

/* ---------- máquina de estados input/result ---------- */
[data-phase="input"] .lp-result,
[data-phase="input"] .lp-actions,
[data-phase="input"] .lp-summary { display: none; }
[data-phase="result"] .lp-fields,
[data-phase="result"] .lp-submit { display: none; }

/* Terminado o preenchimento, a semana não precisa mais acompanhar a rolagem —
   e grudada no topo ela cobriria justamente o resultado que queremos ler. */
[data-phase="result"] .lp-week { position: static; }

/* ---------- desktop ---------- */
@media (min-width: 880px) {
  .lp-main { padding: 56px var(--page-pad) 72px; }
  .lp-hero { margin-bottom: 44px; }
  /* align-items:start é o que faz o sticky funcionar: o item não estica, mas a
     ÁREA da grid continua com a altura da linha (a coluna das perguntas), dando
     curso para o .lp-panel-side deslizar. */
  .lp-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
  .lp-panel-form {
    grid-column: 1;
    grid-row: 1;
  }
  .lp-panel-side {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 24px;
  }
  .lp-week {
    margin: 0;
    border: 1px solid var(--clr-card-border-dark);
    border-radius: 16px;
  }

  /* Sem as perguntas, duas colunas deixariam metade da tela vazia. O resultado
     vira uma coluna única e estreita, para o olho ir direto ao número. */
  .lp-cols[data-phase="result"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 620px;
  }
  .lp-cols[data-phase="result"] .lp-panel-form { grid-column: 1; grid-row: 1; }
  .lp-cols[data-phase="result"] .lp-panel-side {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }
  .lp-result { padding: 36px 32px 30px; }
  .lp-actions-group { flex-direction: row; }
  .lp-actions-group .btn { flex: 1 1 200px; }
  /* Na calculadora o CTA vive ao fim das perguntas no desktop; a barra fixa é
     só do mobile. Na LP do guia ela permanece (.lp-ctabar-always), porque os
     dois CTAs precisam estar visíveis durante toda a leitura. */
  .lp-ctabar { display: none; }
  .lp-ctabar-always { display: block; }
  /* Botões de largura natural e centralizados: esticados por 1180px eles
     parecem uma barra de sistema, não um CTA. */
  .lp-ctabar-always .lp-ctabar-inner { justify-content: center; gap: 14px; }
  .lp-ctabar-always .btn { flex: 0 0 auto; min-width: 220px; }
  .lp-has-ctabar { padding-bottom: 0; }
  .lp-has-ctabar:has(.lp-ctabar-always) { padding-bottom: 88px; }
  .lp-submit { display: block; margin-top: 26px; }
  .lp-submit .btn { width: 100%; padding: 17px 24px; font-size: 15px; }
}

/* No mobile o CTA de submit vive na barra fixa, não no fluxo. */
@media (max-width: 879px) {
  .lp-submit { display: none; }
}

/* ============================================================
   LP do guia — leitura longa em fundo claro
   ============================================================ */
.lp-guia-body { background: var(--clr-white); color: var(--clr-text-body); }
.lp-guia-body .lp-header,
.lp-guia-body .lp-footer {
  background: var(--clr-dark);
  border-color: #232320;
}
.lp-guia-main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 44px var(--page-pad) 40px;
}
.lp-guia-title {
  font-family: var(--ff-display);
  font-weight: 700;
  /* Escala própria em vez de --fs-post-title: em 375px o tamanho dos posts
     estoura a largura em "cancelamentos" e a regra global de overflow-wrap
     parte a palavra no meio. */
  font-size: clamp(1.65rem, 1.15rem + 2.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--clr-ink-soft);
  margin: 12px 0 16px;
  text-wrap: balance;
}
.lp-guia-lead {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--clr-text-dim);
  margin: 0 0 12px;
}
.lp-guia-closing {
  margin-top: 40px;
  background: var(--clr-dark);
  border-radius: 18px;
  padding: 32px 26px;
}
.lp-guia-closing-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 14px;
  max-width: 20ch;
}
.lp-guia-closing p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--clr-text-pale);
  margin: 0 0 24px;
  max-width: 52ch;
}
.lp-guia-closing .lp-actions-group { border-top: none; padding-top: 0; margin-top: 0; }
