/* =========================================================
   1. RESET
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: inherit; }

/* =========================================================
   2. TOKENS
========================================================= */
:root {
  --bg-primary: #050D1A;
  --bg-secondary: #08162A;
  --bg-elevated: #0C1D35;
  --surface: #102440;
  --surface-soft: #132944;
  --text-primary: #F4F7FB;
  --text-secondary: #AAB7C8;
  --text-muted: #77879B;
  --brand-primary: #1672F3;
  --brand-bright: #2E9BFF;
  --brand-dark: #0D2C5A;
  --border: rgba(142, 177, 221, 0.20);
  --border-strong: rgba(142, 177, 221, 0.34);
  --silver: #D9E0E9;
  --success: #18A957;
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5A;

  --font-heading: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", Inter, Arial, Helvetica, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 12px -6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, 0.55);

  --container-max: 1200px;
  --header-h: 64px;
  --mobile-bar-h: 84px;

  --z-header: 100;
  --z-backdrop: 90;
  --z-mobile-nav: 110;
  --z-floating: 120;
  --z-mobile-bar: 130;
  --z-skip: 200;

  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 400ms ease;
}

@media (min-width: 900px) {
  :root { --header-h: 80px; }
}

/* =========================================================
   3. BASE
========================================================= */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: background-color var(--transition-base), color var(--transition-base);
}

body.has-mobile-bar {
  padding-bottom: calc(var(--mobile-bar-h) + var(--safe-bottom));
}

@media (min-width: 900px) {
  body.has-mobile-bar { padding-bottom: 0; }
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--text-primary); }

p { color: var(--text-secondary); }

a { text-decoration: none; }

::selection { background: var(--brand-primary); color: #fff; }

/* =========================================================
   4. LAYOUT
========================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

.categories, .benefits, .how-it-works, .institutional, .safety, .faq {
  padding: 64px 0;
}

@media (min-width: 900px) {
  .categories, .benefits, .how-it-works, .institutional, .safety, .faq {
    padding: 96px 0;
  }
}

.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head h2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.section-head p { font-size: 1rem; line-height: 1.6; }

.section-cta { display: flex; justify-content: center; margin-top: 8px; }

/* =========================================================
   5. COMPONENTES
========================================================= */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--brand-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: var(--z-skip);
  font-weight: 700;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.3;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: normal;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { min-height: 52px; padding: 0 32px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(18, 140, 76, 0.55);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--brand-bright); color: var(--brand-bright); }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-bright);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}
.link-cta::after { content: '→'; }
.link-cta:hover { border-color: currentColor; }

/* =========================================================
   6. CABEÇALHO
========================================================= */
/*
  backdrop-filter/background live on ::before (not on .site-header itself) so the
  header does not become a CSS containing block for its position:fixed descendants
  (.main-nav, .nav-backdrop), which must stay sized to the full viewport.
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 13, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
[data-theme="light"] .site-header::before { background: rgba(245, 247, 250, 0.78); }
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo { display: flex; align-items: center; height: 32px; flex-shrink: 0; }
.logo-img { height: 100%; width: auto; object-fit: contain; }

@media (min-width: 900px) {
  .logo { height: 40px; }
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}
.menu-toggle-bars {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  background: var(--text-primary);
  transform: translateY(-50%);
  transition: background-color var(--transition-fast);
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast), top var(--transition-fast);
}
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 900px) { .menu-toggle { display: none; } }

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(2, 6, 14, 0.55);
  z-index: var(--z-backdrop);
}
@media (min-width: 900px) { .nav-backdrop { display: none; } }

.main-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  padding: 28px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: var(--z-mobile-nav);
}
.main-nav.is-open { transform: translateX(0); }

.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-link {
  display: block;
  padding: 15px 4px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-fast);
}
.nav-link:hover { color: var(--brand-bright); }

@media (min-width: 900px) {
  .nav-backdrop { display: none !important; }
  .main-nav {
    position: static;
    width: auto;
    background: transparent;
    border-left: 0;
    padding: 0;
    overflow: visible;
    transform: none;
    z-index: auto;
  }
  .nav-list { flex-direction: row; gap: 28px; }
  .nav-link {
    padding: 8px 0;
    border-bottom: 0;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--brand-bright);
    transition: right var(--transition-base);
  }
  .nav-link:hover::after { right: 0; }
}

/* =========================================================
   7. HERO
========================================================= */
.hero { padding: 40px 0 48px; }

@media (min-width: 960px) {
  .hero { padding: 84px 0 96px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--brand-bright);
  margin-bottom: 16px;
}

.hero-title {
  font-weight: 600;
  font-size: clamp(1.9rem, 5.4vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-ctas .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-ctas .btn { width: auto; }
}

.hero-micro {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hero-note { font-size: 0.9rem; color: var(--text-muted); max-width: 52ch; line-height: 1.55; }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  border-radius: var(--radius-lg);
  z-index: 0;
}
.hero-media::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46, 155, 255, 0.28), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* =========================================================
   8. SEÇÕES
========================================================= */

/* Trust bar */
.trust-bar {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
@media (min-width: 720px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.trust-item svg {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: var(--brand-bright); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Categorias */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.category-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.category-icon {
  width: 30px; height: 30px;
  stroke: var(--brand-bright); fill: none; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.category-card h3 { font-size: 1.15rem; font-weight: 600; }
.category-card p { font-size: 0.92rem; line-height: 1.55; flex-grow: 1; }
.category-card p.category-complement {
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-grow: 0;
  margin-top: -6px;
}
.category-hint {
  font-size: 0.76rem; font-weight: 700; color: var(--brand-bright);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.category-card .btn { align-self: flex-start; margin-top: 4px; }

/* CTA intermediário */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark), var(--bg-elevated));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}
[data-theme="light"] .cta-banner-inner h2,
[data-theme="light"] .cta-banner-inner p { color: #ffffff; }
[data-theme="light"] .cta-banner-inner p { color: rgba(255, 255, 255, 0.85); }

.cta-banner-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 64px 0;
}
.cta-banner-inner h2 { font-weight: 600; font-size: clamp(1.5rem, 3.8vw, 2.2rem); }
.cta-banner-inner p { line-height: 1.6; color: var(--text-secondary); }

/* Benefícios */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
@media (min-width: 720px) { .benefit-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-list { grid-template-columns: repeat(3, 1fr); } }

.benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.benefit-list svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  fill: none; stroke: var(--success); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.benefit-list strong { display: block; color: var(--text-primary); font-weight: 700; margin-bottom: 4px; }
.benefit-list p { font-size: 0.9rem; line-height: 1.5; }

/* Como funciona */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 40px;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}
.step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--brand-bright);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.step p { font-size: 0.92rem; line-height: 1.55; }

/* Institucional */
.institutional-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .institutional-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

.institutional-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}
.institutional-media img { width: 100%; height: 100%; object-fit: cover; }

.institutional-content h2 { font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.28; margin-bottom: 16px; }
.institutional-content p { line-height: 1.65; margin-bottom: 24px; max-width: 56ch; }

.institutional-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 28px;
}
.institutional-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.institutional-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}

/* Segurança */
.safety-inner { max-width: 860px; }
.safety-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
@media (min-width: 720px) { .safety-list { grid-template-columns: repeat(2, 1fr); } }
.safety-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
}
.safety-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand-bright);
}

.safety-notice {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.safety-notice p { font-size: 0.88rem; line-height: 1.6; color: var(--text-secondary); }

/* CTA final */
.final-cta { background: var(--bg-elevated); border-top: 1px solid var(--border); }
.final-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.final-cta-inner h2 { font-weight: 600; font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.final-cta-inner p { line-height: 1.6; }
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 8px;
}
.final-cta-actions .btn { width: 100%; }
@media (min-width: 560px) {
  .final-cta-actions { flex-direction: row; justify-content: center; width: auto; }
  .final-cta-actions .btn { width: auto; }
}

/* =========================================================
   9. FAQ
========================================================= */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: var(--text-secondary); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition-base);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  padding: 0 22px 20px;
  transition: grid-template-rows var(--transition-base), padding-bottom var(--transition-base);
}
.faq-answer > p { overflow: hidden; min-height: 0; font-size: 0.94rem; line-height: 1.6; max-width: 70ch; }

.js .faq-answer { grid-template-rows: 0fr; padding-bottom: 0; }
.js .faq-answer.is-open { grid-template-rows: 1fr; padding-bottom: 20px; }

/* =========================================================
   10. RODAPÉ
========================================================= */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--brand-bright); }

/* Floating button */
.floating-btn {
  position: fixed;
  right: 24px;
  bottom: calc(24px + var(--safe-bottom));
  z-index: var(--z-floating);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 76, 0.55);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.floating-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -8px rgba(18, 140, 76, 0.6); }
.floating-btn-icon { width: 22px; height: 22px; fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.floating-btn-icon-detail { fill: #ffffff; stroke: none; }

@media (max-width: 899px) { .floating-btn { display: none; } }

/* Barra fixa mobile */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile-bar);
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 26px -18px rgba(0, 0, 0, 0.5);
}
.mobile-bar .btn { width: 100%; }

@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Páginas legais */
.legal-header .header-actions { gap: 10px; }
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 96px;
}
.legal-content h1 {
  font-weight: 600;
  font-size: clamp(1.8rem, 4.4vw, 2.6rem);
  margin-bottom: 10px;
}
.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.legal-content p {
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
}
.legal-content li {
  line-height: 1.65;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* =========================================================
   11. TEMA CLARO
========================================================= */
[data-theme="light"] {
  --bg-primary: #F5F7FA;
  --bg-secondary: #FFFFFF;
  --bg-elevated: #EDF2F7;
  --surface: #FFFFFF;
  --surface-soft: #E8EEF5;
  --text-primary: #07162A;
  --text-secondary: #526173;
  --text-muted: #778392;
  --brand-primary: #0E5ED7;
  --brand-bright: #1672F3;
  --brand-dark: #082B62;
  --border: rgba(12, 43, 80, 0.14);
  --border-strong: rgba(12, 43, 80, 0.25);
  --silver: #8693A3;
  --success: #128C4C;
  --whatsapp: #128C4C;
  --whatsapp-hover: #0F7A42;

  --shadow-sm: 0 4px 12px -6px rgba(20, 40, 70, 0.12);
  --shadow-md: 0 12px 28px -12px rgba(20, 40, 70, 0.16);
  --shadow-lg: 0 24px 48px -20px rgba(20, 40, 70, 0.18);
}

/* =========================================================
   12. RESPONSIVIDADE (ajustes complementares)
========================================================= */
@media (max-width: 374px) {
  .header-cta { padding: 0 12px; font-size: 0.76rem; }
  .hero-title { font-size: 1.7rem; }
}

/* =========================================================
   13. ACESSIBILIDADE
========================================================= */
a, button {
  outline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   14. REDUÇÃO DE MOVIMENTO
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Reveal (IntersectionObserver) — only active once JS confirms it can restore visibility */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
