/* =========================================================
   SHARK MAP SCHOOL — SITE DE VENDAS
   Índice:
   1. Reset e variáveis
   2. Base / tipografia
   3. Layout utilitário (container, grid)
   4. Componentes: botões, checklist, cards
   5. Topbar / Header / Menu
   6. Hero
   7. Métricas
   8. Problema
   9. Método / Tríade
   10. Jornada
   11. Recursos / Diferenciais / Público
   12. Plataforma / Vídeo
   13. Depoimentos
   14. Professor
   15. Oferta
   16. FAQ / Accordion
   17. CTA final
   18. Footer
   19. Modal / Lightbox / Back to top
   20. Responsividade (media queries mobile-first já embutidas por componente)
   21. Acessibilidade / prefers-reduced-motion
   ========================================================= */

/* 1. RESET E VARIÁVEIS ------------------------------------ */
:root {
  --background-primary: #050b14;
  --background-secondary: #081524;
  --surface: #0d1c2e;
  --surface-light: #13283f;
  --primary: #0ea5e9;
  --primary-light: #38bdf8;
  --text-primary: #f8fafc;
  --text-secondary: #a9b6c8;
  --border: rgba(255, 255, 255, 0.10);
  --success: #22c55e;
  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --font-heading: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Geist', 'Segoe UI', Arial, sans-serif;

  --container: 1220px;
  --header-h: 76px;
  --topbar-h: 38px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; margin: 0; color: var(--text-primary); }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #04121f;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* 2. BASE / TIPOGRAFIA ------------------------------------ */
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); font-weight: 700; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 16px;
}

.text-highlight {
  color: var(--primary-light);
  background: linear-gradient(180deg, transparent 62%, rgba(14, 165, 233, 0.28) 62%);
}

/* 3. LAYOUT UTILITÁRIO ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: clamp(56px, 8vw, 108px) 0; }
.section--dark { background: var(--background-secondary); }
.section--narrow { max-width: 760px; }

.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { margin-bottom: 16px; }
.section__head p { color: var(--text-secondary); font-size: 1.05rem; margin-top: 12px; max-width: 68ch; }
.section__head p + p { margin-top: 12px; }

.section__transition {
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  max-width: 60ch;
}

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

@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* 4. COMPONENTES: BOTÕES, CHECKLIST, CARDS ------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #04121f;
  box-shadow: 0 8px 24px -8px rgba(14, 165, 233, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}
.btn--ghost:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn--lg { padding: 16px 30px; font-size: 1rem; white-space: normal; }
.btn--nav { padding: 10px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; white-space: normal; }

.checklist { display: grid; gap: 12px; }
.checklist--grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist--grid { grid-template-columns: repeat(2, 1fr); } }

.checklist--check li, .checklist--cross li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
}
.checklist--check li::before, .checklist--cross li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.checklist--check li::before { content: "✓"; color: var(--success); }
.checklist--cross li::before { content: "✕"; color: var(--text-secondary); }

.checklist--grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
}

.pain-card, .feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.feature-card p { color: var(--text-secondary); margin-top: 8px; }
.feature-card--sm { padding: 18px 20px; }
.feature-card--sm h3 { font-size: 1rem; }

/* Spotlight de precisão: brilho sutil que acompanha o cursor, ligado à identidade "brilhos controlados" da marca */
.pain-card, .feature-card, .triad__card {
  position: relative;
  overflow: hidden;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.pain-card::before, .feature-card::before, .triad__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(56, 189, 248, 0.16), transparent 72%);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
}
.pain-card:hover, .feature-card:hover, .triad__card:hover { border-color: rgba(56, 189, 248, 0.35); transform: translateY(-2px); }
.pain-card:hover::before, .feature-card:hover::before, .triad__card:hover::before { opacity: 1; }

/* 5. TOPBAR / HEADER / MENU --------------------------------- */
.topbar {
  background: var(--surface-light);
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 11, 20, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}
.header.is-scrolled {
  background: rgba(5, 11, 20, 0.94);
  border-bottom-color: var(--border);
}

/* Linha de progresso — eco discreto da linha de preço que o site usa como motivo visual */
.header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

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

.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img { height: 28px; width: auto; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-heading); }
.header__logo-text strong { font-size: 0.92rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.01em; }
.header__logo-text small { font-size: 0.6rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.2em; }
.brand-accent { color: var(--primary-light); }

.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__logo img { height: 25px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 24px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text-primary); border-color: var(--primary-light); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
}
.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-primary);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--background-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: calc(var(--header-h) + 24px) 24px 24px;
    transform: translateX(100%);
    transition: transform 260ms var(--ease);
    z-index: 95;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .btn--nav { margin-top: 12px; width: 100%; }
  .menu-toggle { display: flex; }
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .menu-overlay { display: none !important; }
}

/* 6. HERO ---------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 100px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.12), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 64px);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__title { font-size: clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem); margin-bottom: 20px; }
.hero__subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 56ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__microcopy { color: var(--text-secondary); font-size: 0.85rem; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__photo-card {
  width: min(360px, 82vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.hero__photo-card img { width: 100%; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 28, 46, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.55);
  max-width: 240px;
  font-size: 0.82rem;
}
.floating-card strong { display: block; font-family: var(--font-heading); font-size: 0.85rem; }
.floating-card span { color: var(--text-secondary); }
.floating-card__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.18);
  flex-shrink: 0;
}
.floating-card--triad { top: 6%; left: -4%; }
.floating-card--platform { bottom: 8%; right: -6%; }
.floating-card--platform img { width: 68px; height: auto; border-radius: 6px; flex-shrink: 0; }

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

/* 7. MÉTRICAS ------------------------------------------------ */
.metrics-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.metrics-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
@media (min-width: 720px) { .metrics-band__grid { grid-template-columns: repeat(4, 1fr); } }
.metric__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 800;
  color: var(--primary-light);
}
.metric__label { color: var(--text-secondary); font-size: 0.85rem; }

/* 8. PROBLEMA ------------------------------------------------- */
.pain-card { text-align: left; }
.pain-card h3 { font-size: 1rem; font-weight: 600; }

/* 9. MÉTODO / TRÍADE ------------------------------------------- */
.triad { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 860px) { .triad { grid-template-columns: repeat(3, 1fr); } }

.triad__card {
  background: linear-gradient(180deg, var(--surface-light), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
}
.triad__index {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.triad__card h3 { margin-bottom: 10px; }
.triad__card p { color: var(--text-secondary); }

.triad__highlight {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 700;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
  color: var(--text-primary);
}

/* 10. JORNADA --------------------------------------------------- */
.journey {
  display: grid;
  gap: 22px;
  position: relative;
  counter-reset: step;
}
.journey__step {
  position: relative;
  padding-left: 34px;
  border-left: 2px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 500ms var(--ease);
}
.journey__step.is-visible { border-left-color: var(--primary-light); }
.journey__step:last-child { border-left-color: transparent; }
.journey__marker {
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 5px var(--background-primary), 0 0 0 6px var(--border);
  transform: scale(0);
  transition: transform 420ms var(--ease) 120ms;
}
.journey__step.is-visible .journey__marker { transform: scale(1); }
.journey__step h3 { margin-bottom: 6px; }
.journey__step p { color: var(--text-secondary); }

@media (min-width: 720px) {
  .journey { padding-left: 4px; }
}

/* 11. AUDIENCE ------------------------------------------------- */
.audience__col h2 { margin-bottom: 20px; }
.audience__col--muted { opacity: 0.85; }

/* 12. PLATAFORMA / VÍDEO ----------------------------------------- */
.platform-demo { align-items: start; }
.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-wrapper__play {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.video-wrapper__play img { width: 100%; height: 100%; object-fit: cover; }
.video-wrapper__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  display: none;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.platform-list h3 { margin-bottom: 14px; }
.platform-list .checklist { margin-bottom: 20px; }
.platform-list__shot { border-radius: var(--radius-md); border: 1px solid var(--border); }

/* 13. DEPOIMENTOS ------------------------------------------------ */
.testimonials {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.testimonials::-webkit-scrollbar { height: 6px; }
.testimonials::-webkit-scrollbar-thumb { background: var(--surface-light); border-radius: 4px; }

.testimonial-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  margin: 0;
}
.testimonial-card--video { flex-basis: min(210px, 62vw); }
.testimonial-card--video .video-wrapper { height: auto; }
.testimonial-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}
.testimonial-card figcaption {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.testimonials__controls { display: flex; gap: 10px; margin-top: 18px; }
.testimonials__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1.2rem;
}
.testimonials__arrow:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* 14. PROFESSOR --------------------------------------------------- */
.about__photo img { border-radius: var(--radius-lg); border: 1px solid var(--border); }
.about__name { color: var(--primary-light); margin: 4px 0 14px; }
.about__content h2 { margin-bottom: 6px; }
.about__content p { color: var(--text-secondary); margin-bottom: 14px; }
.about__content .checklist { margin-top: 18px; }

/* 15. OFERTA ------------------------------------------------------- */
.offer { display: grid; gap: 32px; }
@media (min-width: 960px) { .offer { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.offer__card {
  background: linear-gradient(180deg, var(--surface-light), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.offer__card img { margin: 0 auto 16px; }
.offer__card-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.offer__card-summary { color: var(--text-secondary); font-size: 0.9rem; margin: 10px 0 20px; }
.offer__price { font-family: var(--font-heading); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.2rem); font-weight: 800; color: var(--primary-light); }
.offer__installments { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 18px; }
.offer__access { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 18px; }
.offer__microcopy { color: var(--text-secondary); font-size: 0.78rem; margin-top: 12px; }
.offer__guarantee { color: var(--text-secondary); font-size: 0.78rem; margin-top: 6px; }

/* 16. FAQ / ACCORDION ------------------------------------------------ */
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__heading { margin: 0; }
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 34px 20px 0;
  position: relative;
}
.accordion__trigger::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: transform 200ms var(--ease);
}
.accordion__trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion__panel { padding: 0 0 20px; color: var(--text-secondary); max-width: 68ch; }

/* 17. CTA FINAL --------------------------------------------------- */
.cta-final {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.14), transparent 60%), var(--background-secondary);
}
.cta-final__inner { margin: 0 auto; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { color: var(--text-secondary); margin-bottom: 28px; }
.cta-final__microcopy { color: var(--text-secondary); font-size: 0.85rem; margin-top: 18px; }

/* 18. FOOTER -------------------------------------------------------- */
.footer { background: var(--background-secondary); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer__inner { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 780px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 40ch; }
.footer__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.footer__social a { color: var(--text-secondary); font-size: 0.85rem; }
.footer__social a:hover { color: var(--primary-light); }
.footer__col h3 { font-size: 0.9rem; margin-bottom: 14px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--text-secondary); font-size: 0.9rem; }
.footer__col a:hover { color: var(--primary-light); }
.badge-confirm { font-size: 0.68rem; color: var(--warning); border: 1px solid var(--warning); border-radius: 4px; padding: 1px 5px; margin-left: 4px; }

.footer__risk { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__risk p { color: var(--text-secondary); font-size: 0.78rem; max-width: 90ch; }

.footer__bottom { padding: 18px 0 28px; }
.footer__bottom p { color: var(--text-secondary); font-size: 0.78rem; }

/* 19. MODAL / LIGHTBOX / BACK TO TOP ------------------------------- */
.modal, .lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal__overlay, .lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.86);
}
.modal__dialog {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 16/9;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.modal__video-frame { position: absolute; inset: 0; }
.modal__video-frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close, .lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(5, 11, 20, 0.8);
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1;
}
.lightbox__dialog {
  position: relative;
  max-width: min(560px, 100%);
  margin: 0;
}
.lightbox__dialog img { border-radius: var(--radius-md); border: 1px solid var(--border); }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--primary);
  color: #04121f;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 80;
  box-shadow: 0 10px 24px -8px rgba(14, 165, 233, 0.5);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

[hidden] { display: none !important; }

/* 20. ANIMAÇÕES DE ENTRADA ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Revelação coreografada: itens de um mesmo grupo entram em sequência, não todos de uma vez */
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }
.reveal:nth-child(n+6) { transition-delay: 300ms; }

/* Botões magnéticos: leve atração ao cursor nos CTAs principais */
.btn--magnetic { transition: transform 200ms var(--ease); will-change: transform; }

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