/* ==========================================================================
   MAG Innovation — LP
   Build estático. Estrutura: index.html + css/style.css + assets/img/
   ========================================================================== */

:root {
  --bg: #04070e;
  --bg-2: #061128;
  --bg-3: #0a1426;
  --brand: #0044bc;
  --brand-dark: #003d89;
  --brand-bright: #0d5ff0;
  --link: #6fa2ff;
  --link-2: #4d8dfd;
  --fg: #e8e6e3;
  --fg-soft: #cfd6e4;
  --fg-muted: #9fb0c8;
  --fg-dim: #7f8da3;
  --line: rgba(255, 255, 255, .09);
  --pad-x: clamp(20px, 5vw, 88px);
  --max: 1560px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
a { color: var(--link-2); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--fg); }
button { font: inherit; }

.wrap { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.deco { position: absolute; pointer-events: none; user-select: none; }

/* Eyebrow -------------------------------------------------------------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.eyebrow::before {
  content: "";
  flex: none;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #2894F2, #7fb0ff, #2894F2) 0 0 / 200% 100%;
  animation: magLine 3.4s linear infinite;
}
.eyebrow span { font-size: 12px; font-weight: 600; letter-spacing: .28em; color: var(--link-2); white-space: nowrap; }
@media (max-width: 560px) { .eyebrow span { white-space: normal; } }

/* Section titles ------------------------------------------------------- */
.section { position: relative; overflow: hidden; padding: clamp(90px, 11vh, 150px) var(--pad-x); }
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
  margin-bottom: clamp(52px, 8vh, 110px);
}
.section-title {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.section-lead {
  max-width: 400px;
  justify-self: end;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-muted);
}
@media (max-width: 900px) { .section-lead { justify-self: start; } }

/* Logo ----------------------------------------------------------------- */
.logo { display: block; line-height: 0; }
.logo img { width: clamp(200px, 17vw, 262px); height: auto; display: block; }

/* Header --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  background: linear-gradient(180deg, rgba(4, 7, 14, .92) 0%, rgba(4, 7, 14, .55) 70%, rgba(4, 7, 14, 0) 100%);
  backdrop-filter: blur(8px);
  transition: background .45s ease, padding .45s ease, box-shadow .45s ease;
}
.site-header.is-stuck {
  padding-top: 13px;
  padding-bottom: 13px;
  background: linear-gradient(180deg, rgba(4, 7, 14, .97) 0%, rgba(4, 7, 14, .94) 100%);
  box-shadow: 0 1px 0 rgba(77, 141, 253, .18);
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--link); transition: color .25s ease, opacity .25s ease; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1px; margin: 4px auto; background: currentColor; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 var(--pad-x);
    max-height: 0;
    overflow: hidden;
    background: rgba(4, 7, 14, .97);
    transition: max-height .35s ease;
  }
  .site-nav a { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.is-open .site-nav { max-height: 340px; }
}

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(980px, 100vh);
  overflow: hidden;
  padding: 150px var(--pad-x) 90px;
  background: radial-gradient(120% 90% at 78% 42%, #0a2a63 0%, #061634 38%, var(--bg) 78%);
}
.hero-mind-wrap { inset: 0; animation: magFade 1.6s ease .1s both; }
.hero-nebula { animation: magFade 2s ease both; top: -10%; right: -6%; width: min(1240px, 88%); opacity: .85; mix-blend-mode: screen; }
.hero-glow {
  top: 50%;
  right: 2%;
  width: min(1000px, 66%);
  aspect-ratio: 1 / 1;
  transform: translate(12%, -50%);
  background: radial-gradient(circle, rgba(20, 86, 200, .5) 0%, rgba(10, 42, 99, .28) 42%, rgba(4, 7, 14, 0) 70%);
  animation: magGlow 9s ease-in-out infinite;
}
.hero-circuit { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; mix-blend-mode: screen; }
.hero-mind {
  top: 50%;
  right: clamp(-90px, -2vw, 20px);
  height: min(104%, 1040px);
  transform: translateY(-48%);
  object-fit: contain;
  object-position: right center;
  animation: magFloat 16s ease-in-out infinite;
}
.hero-veil {
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 7, 14, .9) 0%, rgba(4, 7, 14, .55) 30%, rgba(4, 7, 14, 0) 54%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-stack { position: relative; max-width: 780px; }

.hero-title,
.hero-meta,
.hero-actions,
.hero-tracks,
.hero-card { animation: magRise .95s cubic-bezier(.18, .72, .2, 1) both; }
.hero-title { animation-delay: .05s; }
.hero-meta { animation-delay: .24s; }
.hero-actions { animation-delay: .42s; }
.hero-tracks { animation-delay: .54s; }
.hero-card { animation-delay: .66s; animation-duration: 1.1s; }

.hero-title {
  font-size: clamp(46px, 6.6vw, 100px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--brand-bright); }
.hero-title .dot { color: var(--brand); }
.hero-tracks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
  gap: 34px 56px;
  margin-top: clamp(60px, 9vh, 118px);
}
.hero-tracks div { display: flex; flex-direction: column; gap: 8px; }
.hero-tracks b { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--link-2); }
.hero-tracks span { font-size: 14px; color: #c9d1e0; }

.hero-card {
  position: absolute;
  right: clamp(20px, 22vw, 430px);
  bottom: clamp(-40px, 2vh, 40px);
  width: 268px;
  padding: 24px 26px 26px;
  background: rgba(6, 17, 40, .72);
  border: 1px solid rgba(77, 141, 253, .28);
  backdrop-filter: blur(10px);
}
.hero-card b { display: block; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--link-2); }
.hero-card strong { display: block; font-size: 16px; font-weight: 600; color: var(--fg); }
.hero-card span { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12px; color: var(--fg-muted); }
.hero-card span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--link-2); flex: none; }
@media (max-width: 1100px) { .hero-card { position: static; margin-top: 44px; } }

.hero-meta { display: flex; align-items: center; gap: 12px; margin-top: 38px; font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.hero-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }

.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 32px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  transition: background .3s ease, gap .3s ease, box-shadow .3s ease;
}
.btn--sm { align-self: flex-start; margin-top: 10px; padding: 15px 26px; font-size: 12px; }
.btn:hover { background: var(--brand-bright); color: #fff; gap: 22px; box-shadow: 0 12px 34px rgba(13, 95, 240, .28); }

.link-underline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--fg);
  border-bottom: 1px solid rgba(232, 230, 227, .5);
  padding-bottom: 4px;
}
.link-underline:hover { color: var(--link-2); border-bottom-color: var(--link-2); }

/* Pilares -------------------------------------------------------------- */
.pillars-section { background: var(--bg); }
.pillars-circuit { top: 6%; left: 0; width: 100%; height: 74%; object-fit: cover; opacity: .3; mix-blend-mode: screen; }

.dot-grid {
  background-image: radial-gradient(circle, rgba(77, 141, 253, .55) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.dot-grid--pillars { top: 42%; right: 4%; width: 150px; height: 120px; opacity: .5; }
.dot-grid--tracks { top: 30%; right: 6%; width: 130px; height: 105px; opacity: .45; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(28px, 3vw, 56px); }

.pillar-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .45s ease, box-shadow .45s ease;
}
.pillar:hover .pillar-icon {
  transform: translateY(-6px);
  border-color: rgba(77, 141, 253, .55);
  box-shadow: 0 14px 40px rgba(13, 95, 240, .22);
}
.pillar-icon.is-highlight {
  background: rgba(0, 68, 188, .34);
  border-color: rgba(77, 141, 253, .5);
  box-shadow: 0 0 44px rgba(13, 95, 240, .28);
}
.pillar-num { position: absolute; top: -22px; right: 0; font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--link-2); }
.pillar h3 { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--fg-soft); }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--fg-muted); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 16px;
  background: rgba(0, 68, 188, .2);
  border: 1px solid rgba(77, 141, 253, .4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #9dc4ff;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--link-2); animation: magPulse 2.4s ease-in-out infinite; }

/* Trilhas -------------------------------------------------------------- */
.tracks-section { background: var(--bg); }
.tracks-circuit { top: 2%; right: 0; width: 74%; height: 40%; object-fit: cover; opacity: .34; mix-blend-mode: screen; }
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(24px, 2.4vw, 40px); }

.track {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(77, 141, 253, .22);
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 100% 12%, calc(100% - 36px) 12%, calc(100% - 36px) 30%, 100% 30%, 100% 100%, 0 100%);
  transition: border-color .45s ease, box-shadow .55s ease;
}
.track:hover {
  border-color: rgba(77, 141, 253, .75);
  box-shadow:
    inset 0 0 0 1px rgba(77, 141, 253, .45),
    inset 0 -90px 120px -60px rgba(13, 95, 240, .5),
    inset 0 0 90px rgba(13, 95, 240, .22);
}
.track > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.track:hover > img { transform: scale(1.06); }
.track-veil { inset: 0; background: linear-gradient(180deg, rgba(4, 7, 14, .28) 0%, rgba(4, 7, 14, .6) 42%, rgba(4, 9, 20, .95) 100%); }
.track-body { position: relative; z-index: 2; }
.track h3 { margin-bottom: 16px; font-size: clamp(24px, 2vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.track p { max-width: 460px; font-size: 15px; line-height: 1.65; color: #c2cbdb; }

.tag {
  display: inline-block;
  margin-bottom: 26px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid rgba(77, 141, 253, .85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #2894F2;
}

.rows { display: grid; gap: 14px; margin-top: 40px; }
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  scroll-margin-top: 120px;
}
.row dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--fg-soft); margin: 0; }
.row dd { margin: 0; font-size: 12px; letter-spacing: .1em; color: #2894F2; }

/* Botões de categoria (MDRT) ------------------------------------------- */
.row--action {
  width: 100%;
  padding: 17px 20px;
  background: rgba(4, 7, 14, .35);
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.row--action:hover {
  background: rgba(13, 95, 240, .22);
  border-color: #2894F2;
  transform: translateX(4px);
}
.row-label { min-width: 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.row-brand { min-width: 0; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.row-label { flex: none; }
.row-logo { flex: none; width: auto; max-width: 100%; display: block; }
.row-logo--galo { height: 30px; }
.row-logo--exclusive { height: 20px; }
.row-cta { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .1em; color: #2894F2; transition: gap .3s ease; }
.row--action:hover .row-cta { gap: 14px; }

/* Modal ----------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 5, 12, .82); backdrop-filter: blur(6px); animation: magFade .3s ease both; }

.modal-shell {
  position: relative;
  width: min(720px, 100%);
  max-height: 100%;
  display: flex;
  animation: magRise .45s cubic-bezier(.18, .72, .2, 1) both;
}
.modal-x {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--fg);
  background: #0044bc;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.modal-x:hover { background: var(--brand-bright); transform: rotate(90deg); }
@media (max-width: 640px) { .modal-x { top: -10px; right: -6px; } }

.modal-card {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1c3c 0%, #061128 100%);
  border: 1px solid rgba(77, 141, 253, .45);
  clip-path: none;
}
.modal-track { display: flex; width: 200%; transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.modal-track.is-detail { transform: translateX(-50%); }
.modal-pane {
  width: 50%;
  flex: none;
  padding: clamp(28px, 4vw, 46px);
  max-height: min(78vh, 760px);
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-pane[aria-hidden="true"] { visibility: hidden; }
.modal-pane { scrollbar-width: thin; scrollbar-color: rgba(77, 141, 253, .85) rgba(255, 255, 255, .1); scrollbar-gutter: stable; }
.modal-pane::-webkit-scrollbar { width: 8px; }
.modal-pane::-webkit-scrollbar-track { background: rgba(255, 255, 255, .08); }
.modal-pane::-webkit-scrollbar-thumb { background: rgba(77, 141, 253, .85); border-radius: 4px; }

/* Indicador de "tem mais conteúdo abaixo" ------------------------------- */
.modal-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  height: 78px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 40, 0) 0%, rgba(6, 17, 40, .88) 70%, rgba(6, 17, 40, .96) 100%);
  opacity: 1;
  transition: opacity .3s ease;
}
.modal-hint.is-hidden { opacity: 0; }
.modal-hint span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #cfe0ff;
  background: rgba(0, 68, 188, .55);
  border: 1px solid rgba(77, 141, 253, .6);
  animation: magNudge 1.8s ease-in-out infinite;
}

.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  margin-bottom: 22px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--fg);
  background: rgba(4, 7, 14, .4);
  border: 1px solid rgba(255, 255, 255, .55);
}
.modal-crumb { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: #2894F2; white-space: nowrap; }
.modal-intro { font-size: 15px; font-style: italic; line-height: 1.6; color: #cfd6e4; margin-bottom: 30px; }
.modal-intro p { margin: 0 0 12px; }
.modal-intro p:last-child { margin-bottom: 0; }
.modal-intro .modal-intro-lead { font-style: normal; font-weight: 600; color: var(--fg); }
.modal-heading-brand { min-width: 0; display: inline-flex; align-items: center; gap: 14px; }
.modal-heading-logo { flex: none; width: auto; display: block; }
.modal-heading-logo--galo { height: 32px; }
.modal-heading-logo--exclusive { height: 21px; }
.modal-note { font-size: 13px; font-style: italic; line-height: 1.6; color: var(--fg-muted); margin-bottom: 26px; }

.modal-list { display: grid; gap: 10px; }
.modal-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 15px;
  text-align: left;
  color: var(--fg);
  background: rgba(4, 7, 14, .3);
  border: 1px solid rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: background .28s ease, border-color .28s ease, transform .28s ease;
}
.modal-list button:hover { background: rgba(13, 95, 240, .24); border-color: #2894F2; transform: translateX(4px); }
.modal-list button span { font-size: 12px; letter-spacing: .08em; color: #2894F2; }
.modal-group {
  margin: 22px 0 4px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--fg-soft);
  background: rgba(13, 95, 240, .16);
  border: 1px solid rgba(255, 255, 255, .28);
}
.modal-group:first-child { margin-top: 0; }
.modal-empty { font-size: 14px; line-height: 1.6; color: var(--fg-muted); }

.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #2894F2;
  background: none;
  border: 1px solid rgba(40, 148, 242, .5);
  cursor: pointer;
  transition: background .28s ease, gap .28s ease;
}
.modal-back:hover { background: rgba(13, 95, 240, .18); gap: 16px; }

.modal-detail { display: grid; gap: 26px; }
.modal-block { border: 1px solid rgba(255, 255, 255, .16); }
.modal-block h3 {
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--fg);
  background: rgba(13, 95, 240, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.modal-block-text { padding: 14px 16px 4px; font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .04em; color: var(--fg-soft); }
.modal-block-note { padding: 12px 16px 14px; font-size: 11px; font-style: italic; line-height: 1.6; color: var(--fg-muted); border-top: 1px solid rgba(255, 255, 255, .08); }
.modal-block table { width: 100%; border-collapse: collapse; }
.modal-block th,
.modal-block td { padding: 11px 16px; text-align: left; font-size: 13px; }
.modal-block th { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--fg-soft); }
.modal-block tbody tr { border-top: 1px solid rgba(255, 255, 255, .08); }
.modal-block td { color: var(--fg-muted); }
.modal-block td:last-child { font-weight: 600; color: var(--fg); }
.modal-block td:first-child { width: 58%; }
.modal-block table:not(:has(thead)) td:first-child { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--fg-soft); }

body.is-locked { overflow: hidden; }

/* Edições anteriores --------------------------------------------------- */
.editions-section { background: var(--bg); }
.edition {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.edition + .edition { margin-top: clamp(24px, 2.4vw, 40px); }
.edition { overflow: hidden; }
.edition img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.edition:hover img { transform: scale(1.04); }
.edition-body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(36px, 4vw, 64px); }
.edition-body h3 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.edition-body p { max-width: 460px; font-size: 15px; line-height: 1.65; color: var(--fg-muted); }
.edition--reverse img { order: -1; }
@media (max-width: 900px) { .edition--reverse img { order: 0; } }

.badge {
  align-self: flex-start;
  padding: 9px 16px;
  border: 1px solid var(--brand-bright);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--link-2);
}

.facts { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 4px; }
.facts span { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--fg-soft); }

/* Rodapé --------------------------------------------------------------- */
.site-footer {
  padding: clamp(60px, 8vh, 96px) var(--pad-x) clamp(44px, 6vh, 72px);
  background: var(--bg-3);
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
}
.footer-logo img { width: 148px; height: auto; display: block; }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col h2 { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--fg-dim); }
.footer-col a { font-size: 15px; color: var(--link); transition: color .25s ease, transform .3s ease; }
.footer-col a:hover { transform: translateX(4px); }

.support { gap: 22px; }
.footer-col a.support-item { display: flex; align-items: flex-start; gap: 14px; color: var(--fg); }
.footer-col a.support-item:hover { color: var(--link); }
.support-item svg { margin-top: 3px; flex: none; }
.support-item strong { display: block; font-size: 15px; font-weight: 600; }
.support-item small { display: block; margin-top: 4px; font-size: 13px; color: var(--fg-muted); }

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: clamp(48px, 6vh, 76px) auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
  color: var(--fg-dim);
}

/* Reveal + keyframes --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }

/* Mobile ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding: 116px var(--pad-x) 72px; text-align: center; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .hero-stack { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(36px, 11vw, 54px); text-wrap: pretty; }
  .hero-meta { justify-content: center; }
  .hero-actions { justify-content: center; width: 100%; gap: 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-tracks { justify-content: center; justify-items: center; text-align: center; }
  .hero-card { position: static; text-align: center; width: 100%; max-width: 340px; margin: 40px auto 0; }
  .hero-card span { justify-content: center; }

  /* a imagem sai do fundo e vira um bloco visível acima do texto */
  .hero-mind-wrap {
    position: relative;
    inset: auto;
    order: -1;
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 341 / 456;
    max-height: 62vh;
    margin-bottom: 4px;
    transform: none !important;
  }
  .hero-mind {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    animation: none;
    object-fit: contain;
    object-position: center bottom;
  }
  .hero-mind-wrap picture { display: block; }
  .hero-veil { background: linear-gradient(180deg, rgba(4, 7, 14, .55) 0%, rgba(4, 7, 14, .8) 100%); }
  .hero-glow { right: auto; left: 50%; transform: translate(-50%, -50%) !important; width: min(120vw, 620px); height: min(120vw, 620px); animation: none; }
  .hero-nebula { width: 150%; right: -25%; opacity: .7; }

  .eyebrow { justify-content: center; }
  .section-head { text-align: center; justify-items: center; }
  .section-title, .section-lead { max-width: 100%; }
  .section-lead { justify-self: center; }
  .edition-body { text-align: center; align-items: center; }
  .edition-body p { max-width: 100%; }
  .facts { justify-content: center; }
  .badge { align-self: center; }
  .footer-grid { text-align: center; justify-items: center; }
  .footer-col { align-items: center; }
  /* Títulos e botões centralizados */
  .section-title { text-align: center; margin-left: auto; margin-right: auto; }
  .section-lead { text-align: center; }
  .btn--sm { align-self: center; }

  /* Pilares centralizados */
  .pillar { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .pillar-icon { margin-top: 26px; margin-bottom: 22px; }
  .pillar-num { position: absolute; top: -24px; left: 50%; right: auto; transform: translateX(-50%); }
  .pillar p { max-width: 420px; }
  .chip { align-self: center; }

  /* Trilhas / cards */
  .track { min-height: 520px; padding: 30px 22px; text-align: center; }
  .track p { max-width: 100%; }
  .tag { align-self: center; }
  .track-body { display: flex; flex-direction: column; align-items: center; }
  .rows { width: 100%; }
  .row--action { text-align: left; padding: 15px 16px; gap: 10px; }
  .row--action .row-label { font-size: 12px; letter-spacing: .12em; }
  .row--action .row-cta { font-size: 11px; }

  /* Rodapé — suporte centralizado */
  .support-item { text-align: center; }
  .footer-col a.support-item { flex-direction: column; align-items: center; gap: 8px; }
  .support-item svg { margin-top: 0; }
}

/* Modal no mobile ------------------------------------------------------- */
@media (max-width: 1024px) {
  .modal { padding: 14px 12px; align-items: center; }
  .modal-shell { width: 100%; max-width: 100%; min-width: 0; max-height: 100%; }
  .modal-card { min-width: 0; max-width: 100%; }
  .modal-track { width: 200%; max-width: 200%; }
  .modal-pane { width: 50%; min-width: 0; padding: 22px 16px 26px; max-height: calc(100svh - 110px); }
  .modal-x { top: -8px; right: -4px; width: 38px; height: 38px; font-size: 20px; }
  .modal-heading { padding: 11px 14px; font-size: 16px; flex-wrap: wrap; gap: 8px; }
  .modal-intro { font-size: 14px; margin-bottom: 22px; }
  .row-brand { gap: 6px 10px; }
  .row-logo--galo { height: 22px; }
  .row-logo--exclusive { height: 14px; }
  .modal-heading-brand { gap: 10px; }
  .modal-heading-logo--galo { height: 26px; }
  .modal-heading-logo--exclusive { height: 17px; }
  .modal-list button { padding: 13px 14px; font-size: 14px; }
  .modal-block th,
  .modal-block td { padding: 9px 12px; font-size: 12px; }
  .modal-block table { table-layout: fixed; }
  .modal-block td:first-child { width: 55%; word-break: break-word; }
}

@keyframes magRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes magFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes magLine { to { background-position: -200% 0; } }
@keyframes magGlow { 0%, 100% { opacity: .55; transform: translate(12%, -50%) scale(1); } 50% { opacity: .85; transform: translate(12%, -50%) scale(1.06); } }
@keyframes magFloat { 0%, 100% { transform: translateY(-48%); } 50% { transform: translateY(-52%); } }
@keyframes magPulse { 0%, 100% { opacity: .35; } 50% { opacity: .8; } }
@keyframes magNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
