*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1D9E75;
  --green-dark:  #124d39;
  --green-mid:   #178a63;
  --green-light: #e8f5ef;
  --ink:         #0e1512;
  --charcoal:    #1a1f1c;
  --gray:        #f6f7f6;
  --border:      #e7eae7;
  --text:        #2b312e;
  --muted:       #6b746f;
  --white:       #fff;
  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 20px 50px rgba(14, 21, 18, .12);
  --max:         1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

/* ─── NAV ──────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-nav.solid {
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); transition: color .25s; }
.nav-logo svg { height: 24px; width: auto; flex-shrink: 0; }
.site-nav.solid .nav-logo { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  color: rgba(255,255,255,.9); transition: color .2s;
}
.site-nav.solid .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: 12px 24px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 10px 24px rgba(29,158,117,.35); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.site-nav.solid .btn-ghost-light { background: transparent; color: var(--text); border-color: var(--border); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.nav-menu { display: contents; }
/* Entrar na plataforma web: no computador vai junto dos botões (nav-right);
   no celular fica fora do menu, ao lado do hambúrguer, sempre visível. */
.nav-entrar {
  display: none; margin-left: auto; margin-right: 10px; padding: 7px 14px;
  border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white); font-weight: 700; font-size: .85rem; text-decoration: none;
}
.site-nav.solid .nav-entrar, .site-nav.menu-aberto .nav-entrar { color: var(--ink); border-color: var(--border); }
.nav-burger {
  display: none; width: 44px; height: 44px; margin-right: -10px; padding: 12px 10px;
  background: none; border: none; cursor: pointer; color: var(--white);
  flex-direction: column; justify-content: space-between;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.site-nav.solid .nav-burger { color: var(--ink); }
.site-nav.menu-aberto .nav-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.site-nav.menu-aberto .nav-burger span:nth-child(2) { opacity: 0; }
.site-nav.menu-aberto .nav-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  padding: 140px 0 90px; overflow: hidden; color: var(--white);
  background-size: cover; background-position: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,21,18,.45) 0%, rgba(14,21,18,.35) 40%, rgba(14,21,18,.92) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82);
  max-width: 560px; margin-bottom: 34px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── SECTION SCAFFOLDING ──────────────────────────────────────── */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px; display: block;
}
h2.title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 18px; }
p.sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 620px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.bg-dark { background: var(--ink); color: rgba(255,255,255,.85); }
.bg-dark h2.title, .bg-dark h3 { color: var(--white); }
.bg-dark p.sub { color: rgba(255,255,255,.62); }
.bg-gray { background: var(--gray); }

/* ─── FEATURE ROWS (imagem + texto alternando) ─────────────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-row + .feature-row { margin-top: 90px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.1;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.feature-text h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.feature-text p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 14px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.feature-list li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.feature-list li::before { content: '✓'; color: var(--green); font-weight: 800; }

/* ─── CARDS GRID (formatos/pilares) ─────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
/* Quatro cards: 2x2 em vez de 3+1 (as media queries abaixo seguem valendo). */
.card-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
}
.card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }

.bg-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-dark .card h4 { color: var(--white); }
.bg-dark .card p { color: rgba(255,255,255,.6); }
.bg-dark .card-icon { background: rgba(29,158,117,.2); }

/* ─── PILLS ──────────────────────────────────────────────────────── */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill-tag {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: .88rem; font-weight: 600; color: var(--text);
}

/* ─── QUOTE / MANIFESTO STRIP ────────────────────────────────────── */
.quote-strip {
  position: relative; background-size: cover; background-position: center;
  padding: 130px 0; color: var(--white); text-align: center;
}
.quote-strip::after { content: ''; position: absolute; inset: 0; background: rgba(14,21,18,.55); }
.quote-strip blockquote {
  position: relative; z-index: 1; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.3;
  max-width: 820px; margin: 0 auto;
}
.quote-strip cite {
  position: relative; z-index: 1; display: block; margin-top: 22px;
  font-style: normal; font-size: .9rem; color: rgba(255,255,255,.7);
}

/* ─── DOWNLOAD FORM ──────────────────────────────────────────────── */
.cta-dark { background: linear-gradient(160deg, #0d2b1f 0%, #16382a 100%); color: var(--white); }
.download-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.download-copy h2 { color: var(--white); }
.download-copy p.sub { color: rgba(255,255,255,.65); }
.form-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35); color: var(--text);
}
.form-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .95rem; font-family: inherit; outline: none; transition: border-color .2s;
}
.field input:focus { border-color: var(--green); }
.platform-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-option {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px; text-align: center;
  cursor: pointer; font-weight: 700; font-size: .9rem; transition: border-color .2s, background .2s;
}
.platform-option input { display: none; }
.platform-option.selected { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.form-msg { font-size: .88rem; margin-top: 14px; padding: 10px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: var(--green-light); color: var(--green-dark); }
.form-msg.err { display: block; background: #fdeceb; color: #b3261e; }

/* ─── PÁGINA BAIXAR (Android por APK, iPhone pelo navegador) ────── */
.card-link { display: inline-block; margin-top: 14px; font-size: .9rem; font-weight: 700; color: var(--green-mid); text-decoration: none; }
.card-link:hover { color: var(--green-dark); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; align-items: start; }
.dl-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.dl-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.dl-card > p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 20px; }
.steps { list-style: none; counter-reset: passo; margin: 26px 0 18px; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: passo; position: relative; padding-left: 42px; font-size: .95rem; line-height: 1.6; }
.steps li::before {
  content: counter(passo); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark); font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.dl-note { font-size: .86rem; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.assinatura-curta { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; color: var(--ink) !important; margin-top: 6px; }
.prose .assinatura { margin-top: 36px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ink); line-height: 1.3; }
.prose .assinatura span { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .92rem; color: var(--muted); }
.baixar-teaser { text-align: center; }
.baixar-teaser h2.title { color: var(--white); }
.baixar-teaser p.sub { color: rgba(255,255,255,.65); }
.baixar-teaser .hero-actions { justify-content: center; margin-top: 28px; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .dl-card { padding: 24px; } }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-top: 14px; max-width: 300px; }
.footer-col h5 { font-size: .82rem; font-weight: 800; color: var(--white); margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col a { display: block; font-size: .88rem; color: rgba(255,255,255,.55); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* ─── PÁGINAS DE CONTEÚDO E BLOG (geradas por build.mjs) ─────────── */
.page-main { padding-top: 64px; }
.wrap-prose { max-width: 760px; }
.page-hero {
  position: relative; color: var(--white); padding: 90px 0 70px;
  background-size: cover; background-position: center;
}
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,21,18,.55), rgba(14,21,18,.88)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; margin: 14px 0 18px; }
.page-hero .lede { color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.6; margin-bottom: 28px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,.7); }

.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }

.prose { padding-top: 56px; padding-bottom: 24px; font-size: 1.06rem; line-height: 1.8; }
.prose.post { padding-top: 48px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; margin: 10px 0 16px; }
.prose > .lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.25; margin: 48px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin-bottom: 18px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green-mid); font-weight: 600; }
.prose blockquote { border-left: 4px solid var(--green); background: var(--green-light); padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; color: var(--green-dark); }
.prose li > p { margin: 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.prose figure { margin: 28px 0; }
.prose figure img, .prose figure video { width: 100%; border-radius: var(--radius); background: var(--gray); }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.prose .video-embed { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.prose .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 8px 0 32px; }
.post-meta { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }

.post-cta {
  background: linear-gradient(160deg, #0d2b1f 0%, #16382a 100%); color: rgba(255,255,255,.8);
  border-radius: var(--radius); padding: 34px; margin: 48px 0 64px;
}
.post-cta h3 { color: var(--white); font-size: 1.35rem; margin: 0 0 10px; }
.post-cta p { margin-bottom: 22px; font-size: 1rem; line-height: 1.6; }
.post-cta .btn { color: var(--white); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 8px 0 8px; }
.post-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.footer-grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .post-grid, .footer-grid-4 { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 0 48px; }
  .prose { font-size: 1rem; }
}

/* ─── PÁGINAS LEGAIS (conteudo/legal/*.md) ───────────────────────── */
.prose.legal { padding-top: 48px; padding-bottom: 72px; }
.legal-vigencia {
  background: var(--green-light); border-left: 4px solid var(--green); color: var(--green-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 20px; font-size: .95rem; line-height: 1.6;
}
.prose .legal-vigencia strong { color: var(--green-dark); }
.legal-docs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.prose .legal-docs a {
  font-size: .85rem; font-weight: 600; padding: 7px 14px; border: 1px solid var(--border);
  border-radius: 999px; text-decoration: none; color: var(--text);
}
.prose .legal-docs a:hover { border-color: var(--green); color: var(--green-mid); }
.prose .legal-docs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.legal-toc { background: var(--gray); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px; }
.legal-toc-titulo { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px !important; }
.prose .legal-toc ul { margin: 0; padding: 0; list-style: none; font-size: .95rem; columns: 2; column-gap: 32px; }
.prose .legal-toc li { margin-bottom: 4px; break-inside: avoid; }
.prose .legal-toc a { font-weight: 500; text-decoration: none; }
.prose .legal-toc a:hover { text-decoration: underline; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 88px; }
.prose .tabela { overflow-x: auto; margin: 8px 0 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--gray); font-weight: 700; color: var(--ink); }
.prose .alerta { border-left: 4px solid #c0392b; background: #fdecea; padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 18px; }
.prose .alerta p { margin: 0; color: #7b1d14; }
.prose .alerta p + p { margin-top: 10px; }
mark.preencher {
  background: #fff3cd; color: #7a4d00; font-weight: 700; padding: 1px 5px; border-radius: 4px;
  outline: 1px dashed #d99a00;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--green); }
@media (max-width: 720px) {
  .prose .legal-toc ul { columns: 1; }
  .prose.legal { padding-top: 36px; }
}

/* ─── UTILITIES ──────────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-row, .download-grid { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-nav, .site-nav.solid { padding: 12px 20px; }
  .so-desktop { display: none; }

  /* Menu do celular: links e botões do cabeçalho viram um painel abaixo da barra */
  .nav-burger { display: flex; }
  .nav-entrar { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 20px; padding: 8px 20px 16px;
    background: var(--white); box-shadow: 0 16px 30px rgba(14,21,18,.14);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-nav.menu-aberto { background: var(--white); box-shadow: 0 1px 0 var(--border); }
  .site-nav.menu-aberto .nav-logo { color: var(--ink); }
  .site-nav.menu-aberto .nav-burger { color: var(--ink); }
  .site-nav.menu-aberto .nav-menu { display: flex; }
  .nav-menu .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu .nav-links a {
    display: block; padding: 15px 0; font-size: 1.05rem; color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .nav-menu .nav-links li:last-child a { border-bottom: none; }
  .site-nav.solid .nav-menu .nav-links a, .nav-menu .nav-links a { color: var(--ink); }
  .nav-menu .nav-links a.active { color: var(--green); }
  /* Os botões do cabeçalho ficam só no computador; no menu, só os links. */
  .nav-menu .nav-right { display: none; }
  .hero { padding: 120px 0 60px; min-height: 80vh; }
  section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .platform-choice { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── Banner de cookies (assets/js/medicao.js) ─────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin: 0 auto; padding: 18px 20px;
  background: var(--charcoal); color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  font-size: .9rem; line-height: 1.5;
}
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-acoes { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-acoes .btn { flex: 0 0 auto; }
.cookie-recusar { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.cookie-recusar:hover { background: rgba(255,255,255,.12); }
@media (max-width: 480px) { .cookie-acoes .btn { flex: 1; } }
