/* ==========================================================
   micaelythepilot.com — folha de estilo principal
   Paleta: clean (branco/preto) com toques de azul-marinho,
   bordô (cor dos livros de Piloto Comercial) e dourado.
   ========================================================== */

:root {
  --navy: #14304F;
  --navy-dark: #0B2038;
  --navy-light: #EBF0F5;
  --bordeaux: #7A1F3A;
  --bordeaux-dark: #591629;
  --bordeaux-light: #F6E9EC;
  --gold: #C9A227;
  --gold-dark: #9C7C1B;
  --gold-text: #7A5F14;
  --gold-light: #FBF3DC;
  --bg: #FAF9F6;
  --white: #ffffff;
  --ink: #15171B;
  --text: #15171B;
  --muted: #62666E;
  --border: #E7E2D8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(21, 23, 27, 0.06);
  --shadow-lg: 0 10px 28px rgba(21, 23, 27, 0.12);
  --container: 1100px;
  --on-color: #ffffff;
  --navy-dark-fixed: #0B2038;
  --bordeaux-text: var(--bordeaux);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / navegação ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: transparent;
  box-shadow: 0 2px 16px rgba(11, 32, 56, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  max-width: 1300px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo img { flex-shrink: 0; }
.logo-full { height: 52px; width: auto; }
.logo-full-dark { display: none; }
:root[data-theme="dark"] .logo-full-light { display: none; }
:root[data-theme="dark"] .logo-full-dark { display: block; }

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  border-bottom: none;
  font-size: 14px;
}

.nav-dropdown-menu a:hover { background: var(--gold-light); }

.nav-cta {
  background: var(--bordeaux);
  color: var(--on-color) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  border-bottom: none !important;
}

.nav-cta:hover { background: var(--bordeaux-dark); color: var(--on-color) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Alternador de modo claro/escuro ---------- */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.theme-toggle:hover { border-color: var(--gold-dark); color: var(--bordeaux-text); transform: translateY(-1px); }

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }

:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover::after { transform: translateX(4px); }

/* bordô — ação principal (comprar, adquirir, falar comigo) */
.btn-primary { background: var(--bordeaux); color: var(--on-color); box-shadow: 0 4px 14px rgba(122, 31, 58, 0); }
.btn-primary:hover { background: var(--bordeaux-dark); box-shadow: 0 10px 24px rgba(122, 31, 58, 0.32); }

/* dourado — ação de destaque secundária */
.btn-gold { background: var(--gold); color: var(--navy-dark-fixed); box-shadow: 0 4px 14px rgba(0, 0, 0, 0); }
.btn-gold:hover { background: var(--gold-dark); color: var(--on-color); box-shadow: 0 10px 24px rgba(156, 124, 27, 0.35); }

/* contorno — usado sobre fundos claros */
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-color); }

/* contorno claro — usado sobre fundos escuros (bordô/preto) */
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: var(--on-color); }
.btn-outline-light:hover { background: var(--on-color); color: var(--bordeaux); border-color: var(--on-color); }

.btn-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-navy:hover { background: var(--navy); color: var(--on-color); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--white);
  color: var(--text);
  padding: 48px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-plane-deco {
  position: absolute;
  top: 28px;
  left: -70px;
  width: 110px;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translateX(0) rotate(-6deg);
  will-change: transform, opacity;
}

.hero-plane-deco svg { width: 100%; height: auto; display: block; }

.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bordeaux);
  display: inline-block;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--navy-dark);
}

.hero p.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  aspect-ratio: 1 / 1;
  max-height: 320px;
  background: var(--navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(10, 20, 40, 0.16);
}

.hero-visual.is-empty { border: 2px dashed var(--gold); padding: 20px; box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-visual { animation: hero-float 5s ease-in-out infinite; }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Avião desliza pro lado conforme a página rola (efeito inspirado no site da Boeing) */
#planeHero {
  animation: none;
  will-change: transform, opacity;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  will-change: transform;
}

/* ---------- Trilha de etapas (avião viaja pela linha ao rolar) ---------- */

.journey { position: relative; }

.journey-line {
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.journey-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  transform: translate(-50%, -60%);
  z-index: 1;
  will-change: left;
  filter: drop-shadow(0 4px 6px rgba(10, 20, 40, 0.25));
}

.journey-plane img { width: 100%; height: auto; display: block; }

.journey-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.journey-step { text-align: center; }

.journey-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.journey-step.active .journey-num {
  border-color: var(--gold);
  color: var(--gold-text);
  background: var(--gold-light);
}

.journey-step h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy-dark); }
.journey-step h3 a { color: inherit; }
.journey-step h3 a:hover { color: var(--gold-dark); }
.journey-step p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 780px) {
  .journey-line { display: none; }
  .journey-plane { display: none; }
  .journey-steps { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .journey-step { display: flex; align-items: flex-start; gap: 14px; }
  .journey-num { flex-shrink: 0; margin-bottom: 0; }
}

.hero-sobre .container { grid-template-columns: 0.7fr 1.3fr; }

.hero-visual-square { aspect-ratio: 1 / 1; max-width: 260px; margin: 0 auto; border-radius: 50%; }

.avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--on-color);
  font-weight: 700;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Seções gerais ---------- */

section { padding: 72px 0; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }

.section-eyebrow {
  color: var(--gold-text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}

.section-head h2 { font-size: 30px; margin: 0 0 12px; color: var(--navy-dark); }
.section-head p { color: var(--muted); margin: 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Grids e cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h3 { margin: 0; font-size: 18px; color: var(--navy-dark); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.card .btn { align-self: flex-start; margin-top: 8px; }

.badge {
  display: inline-block;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Descontos / parcerias ---------- */

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.partner-card .coupon {
  align-self: flex-start;
  font-family: "Courier New", monospace;
  font-weight: 700;
  background: var(--gold-light);
  color: var(--bordeaux-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold-dark);
  letter-spacing: 0.03em;
}

/* ---------- CTA final ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-dark) 100%);
  color: var(--on-color);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.cta-band h2 { margin: 0 0 12px; font-size: 26px; }
.cta-band p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.85); }

/* ---------- Redes sociais ---------- */

.social-links { display: flex; gap: 14px; flex-wrap: wrap; }

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-dark);
  background: var(--white);
  transition: border-color 0.15s, transform 0.15s, color 0.15s;
}

.social-pill:hover { border-color: var(--gold-dark); color: var(--bordeaux-text); transform: translateY(-1px); }

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--ink);
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 24px;
  margin-top: 48px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--on-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Ferramentas embutidas (cronograma / simulados) ---------- */

.tool-frame-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tool-frame-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
  display: block;
  transition: height 0.15s ease;
}

/* ---------- Produtos (Resumos) ---------- */

.resumo-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  align-items: start;
}

.resumo-card img { border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }

.resumo-card h3 { font-size: 24px; color: var(--navy-dark); margin: 0 0 6px; }
.resumo-card .resumo-stat { color: var(--bordeaux-text); font-weight: 700; }
.resumo-card ul { margin: 10px 0 18px; padding-left: 20px; color: var(--text); font-size: 14.5px; }
.resumo-card ul li { margin-bottom: 4px; }
.resumo-card .price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

.resumo-price { font-size: 28px; font-weight: 700; color: var(--navy-dark); margin: 18px 0 0; }
.resumo-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.resumo-price .resumo-price-parcelas { display: inline-block; margin-left: 4px; }

.garantia-selo { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.garantia-selo strong { color: var(--navy-dark); }

.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.payment-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
}

.stat-row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin: 28px 0; }
.stat-row .stat { text-align: center; }
.stat-row .stat strong { display: block; font-size: 30px; color: var(--bordeaux-text); }
.stat-row .stat span { font-size: 13px; color: var(--muted); }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Carrossel de depoimentos ---------- */

.depoimentos-marquee {
  position: relative;
  padding: 32px 0 72px;
}

.depoimentos-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 44px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.depoimentos-track::-webkit-scrollbar { display: none; }

.depoimento-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-card img {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

.depo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--navy-dark);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.depo-arrow:hover { background: var(--gold-light); color: var(--bordeaux-text); }
.depo-arrow-left { left: 4px; }
.depo-arrow-right { right: 4px; }

@media (max-width: 640px) {
  .depo-arrow { width: 34px; height: 34px; font-size: 18px; }
}

/* ---------- Galeria de prévia ---------- */

.preview-gallery-label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.preview-gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.preview-gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.preview-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.preview-gallery a:hover img { transform: scale(1.08); }

@media (max-width: 640px) {
  .preview-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- Página interna simples (texto) ---------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { color: var(--navy-dark); margin-top: 36px; }
.prose h3 { color: var(--bordeaux-text); font-size: 19px; margin: 26px 0 6px; }
.prose p { color: var(--text); font-size: 16px; }
.prose ul { color: var(--text); font-size: 16px; }

/* ---------- Responsivo ---------- */

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resumo-card { grid-template-columns: 1fr; }
  .resumo-card img { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 1150px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; margin-top: 4px; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .cta-band { padding: 32px 20px; }
}

/* ---------- Botão voltar ao topo ---------- */

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-dark-fixed);
  color: var(--on-color);
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.15s;
  z-index: 90;
  box-shadow: var(--shadow-lg);
}

#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--bordeaux); }

/* ---------- Revelação suave ao rolar ---------- */

@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .card,
  body.reveal-ready .resumo-card,
  body.reveal-ready .partner-card,
  body.reveal-ready .section-head,
  body.reveal-ready .stat-row {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  body.reveal-ready .card.revealed,
  body.reveal-ready .resumo-card.revealed,
  body.reveal-ready .partner-card.revealed,
  body.reveal-ready .section-head.revealed,
  body.reveal-ready .stat-row.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .grid-3 .card:nth-child(2), .grid-2 .partner-card:nth-child(2) { transition-delay: 0.08s; }
  .grid-3 .card:nth-child(3) { transition-delay: 0.16s; }
  .grid-3 .card:nth-child(4) { transition-delay: 0.24s; }
}

/* ==========================================================
   Modo escuro
   Ativado via [data-theme="dark"] na tag <html> (ver main.js).
   Mantém a mesma paleta (navy / bordô / dourado), só troca os
   tons de fundo e texto pra ficar confortável à noite.
   ========================================================== */

body {
  transition: background-color 0.25s ease, color 0.25s ease;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D0F13;
  --white: #20242C;
  --text: #EAEAEC;
  --muted: #A2A7B1;
  --border: #383D49;
  --navy: #5B93C7;
  --navy-dark: #CFE1F5;
  --navy-light: #16233A;
  --gold-light: #2B2410;
  --gold-text: #E8C665;
  --bordeaux-text: #F0A8BC;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.6);
}

:root[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 17, 21, 0.82);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

:root[data-theme="dark"] .partner-card .coupon { color: #F3C6D2; }

:root[data-theme="dark"] .faq-item summary::after { color: var(--gold); }
