/* ============================================================
   SUN GARD — site institucional
   Paleta da embalagem: roxo #240C54 · laranja #D87818 · branco
   Animações estilo 21st.dev · Hostinger HTML/CSS/JS
   ============================================================ */

:root {
  --purple: #240c54;
  --purple-deep: #1a0840;
  --purple-mid: #301854;
  --bg: #ffffff;
  --bg-elev: #f6f3fa;
  --bg-card: #ffffff;
  --gold: #d87818;
  --gold-2: #e48a20;
  --gold-3: #b85e10;
  --gold-dim: rgba(216, 120, 24, 0.14);
  --cream: #240c54;
  --muted: #6c6084;
  --line: rgba(36, 12, 84, 0.12);
  --white: #fff;
  --ok: #2f9e6b;
  --danger: #c0392b;
  --glass: rgba(255, 255, 255, 0.9);
  --blur: 22px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header: 80px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 140px);
  --font: "Montserrat", system-ui, sans-serif;
  --display: "Barlow Condensed", "Montserrat", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.45s var(--ease);
  --shadow: 0 24px 60px rgba(36, 12, 84, 0.1);
  --wa: #25d366;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  color-scheme: light;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10001;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--purple);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  text-align: center;
}
.preloader__logo {
  height: 92px;
  width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px rgba(216, 120, 24, 0.35));
}
.preloader__bar {
  width: 220px;
  height: 2px;
  margin: 0 auto 14px;
  background: #1a1a1c;
  overflow: hidden;
  border-radius: 2px;
}
.preloader__progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
  animation: loadBar 1.6s var(--ease) forwards;
}
.preloader__text {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 9998;
}
.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header) + var(--safe-top));
  padding-top: var(--safe-top);
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(36, 12, 84, 0.06);
}
.header.hidden {
  transform: translateY(-110%);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.nav__logo {
  height: 52px;
  width: auto;
}
.nav__endorsement {
  display: none;
}
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1002;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--purple);
  transition: var(--t);
}
.nav__toggle span:nth-child(1) {
  top: 14px;
}
.nav__toggle span:nth-child(2) {
  top: 20px;
}
.nav__toggle span:nth-child(3) {
  top: 26px;
}
.nav__toggle.is-open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 8px 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--purple);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__dropdown {
  position: relative;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--t);
  box-shadow: var(--shadow);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--muted);
}
.nav__dropdown-menu a:hover {
  background: var(--gold-dim);
  color: var(--gold-2);
}

/* ---------- Buttons (shimmer 21st.dev) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: var(--gold);
  box-shadow: none;
}
.btn--primary:hover {
  background: #e48a20;
  transform: translateY(-1px);
}
.btn--ghost {
  color: var(--purple);
  border: 1px solid rgba(36, 12, 84, 0.22);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--outline {
  border: 1px solid var(--gold-3);
  color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: #fff;
}
.btn--sm {
  padding: 11px 18px;
  font-size: 11px;
}
.btn--full {
  width: 100%;
}

@keyframes shimmer {
  100% {
    transform: translateX(120%);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + var(--safe-top)) 0 0;
  overflow: hidden;
  background: #fff;
}
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__shapes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  flex: 1;
  padding: 48px 0 24px;
}
.hero__content {
  max-width: none;
  border-left: 0;
  padding: 0;
  color: var(--purple);
}
.hero__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 7.6vw, 100px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.hero__title span { display: block; }
.hero__claim {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero__subtitle {
  max-width: 460px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.hero .btn--ghost {
  color: var(--purple);
  border-color: rgba(36, 12, 84, 0.22);
}
.hero .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}
.hero__visual img {
  width: min(124%, 760px);
  max-width: none;
  height: auto;
  max-height: 58vh;
  object-fit: contain;
  transform: translateX(6%);
  filter: drop-shadow(22px 28px 36px rgba(36, 12, 84, 0.32));
}
.hero__rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  background: var(--purple);
  color: #fff;
}
.hero__rail-item {
  padding: 22px var(--pad);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero__rail-item:last-child { border-right: 0; }
.hero__rail-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__rail-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: var(--section) 0;
}
.section--tight {
  padding: 64px 0;
}
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section__desc {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}
.section__header {
  margin-bottom: 48px;
}
.section__header--center {
  text-align: center;
}
.section__header--center .section__desc {
  margin: 0 auto;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(216, 120, 24, 0.04), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 36px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item i {
  color: var(--gold);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Paths / bento */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.path-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--t), border-color var(--t);
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(216, 120, 24, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 120, 24, 0.4);
}
.path-card:hover::before {
  opacity: 1;
}
.path-card h3 {
  font-size: 24px;
  margin: 10px 0 8px;
  font-family: var(--display);
}
.path-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.path-card .num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* Magic / spotlight cards */
.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform var(--t), border-color var(--t);
}
.card.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0), rgba(216, 120, 24, 0.16), transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.card.spotlight:hover::after {
  opacity: 1;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 120, 24, 0.35);
}
.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(216, 120, 24, 0.3);
  color: var(--gold);
  background: var(--gold-dim);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 15px;
}

.beam {
  position: relative;
}
.beam::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--beam, 0deg), transparent 55%, var(--gold), var(--gold-2), transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinBeam 5s linear infinite;
  pointer-events: none;
}

@keyframes spinBeam {
  to {
    --beam: 360deg;
  }
}

@property --beam {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Products */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 6, 24, 0.1), rgba(12, 6, 24, 0.92));
  z-index: -1;
}
.product-card:hover img {
  transform: scale(1.08);
}
.product-card__body {
  padding: 28px;
}
.product-card small {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}
.product-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0 8px;
  color: #fff;
}
.product-card p {
  color: #cfc8ba;
  margin-bottom: 16px;
}
.pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #240C54;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Transparency table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
th,
td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
td strong,
.good {
  color: var(--gold-2);
}
.note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.media-frame--pack {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 12px;
}
.media-frame--pack img {
  object-fit: contain;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: 560px;
}
.media-frame .glow {
  position: absolute;
  inset: auto -20% -20% auto;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(216, 120, 24, 0.35), transparent 70%);
  pointer-events: none;
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 12px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}
.timeline__item {
  position: relative;
  padding: 0 0 32px 36px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  box-shadow: 0 0 16px rgba(216, 120, 24, 0.5);
}
.timeline__item strong {
  color: var(--gold);
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.timeline__item h3 {
  font-size: 20px;
  margin: 4px 0 6px;
}
.timeline__item p {
  color: var(--muted);
}

/* Map / finder */
.finder {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: stretch;
}
.finder__panel {
  padding: 28px;
}
.finder__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}
.finder__tab {
  padding: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.finder__tab.is-active {
  background: var(--gold);
  color: #240C54;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--purple);
  font-size: 16px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field option {
  background: #121214;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.results {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}
.result-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.result-card h4 {
  font-size: 15px;
}
.result-card p {
  font-size: 13px;
  color: var(--muted);
}
.result-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-2);
}
.brazil-map {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brazil-map img {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(216, 120, 24, 0.15));
}
.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(216, 120, 24, 0.6);
  animation: ping 2.4s infinite;
}
.map-dot::after {
  content: attr(data-city);
  position: absolute;
  left: 14px;
  top: -6px;
  white-space: nowrap;
  font-size: 11px;
  color: var(--cream);
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 14px transparent;
  }
}

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-box {
  text-align: center;
  padding: 28px 16px;
}
.stat-box strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
}
.stat-box span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 4px 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  color: var(--muted);
  padding-bottom: 16px;
}

/* Articles */
.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}
.article-card small {
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

/* Page hero */
.page-hero {
  position: relative;
  padding: calc(var(--header) + var(--safe-top) + 48px) 0 40px;
}
.page-hero .section__title {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 18ch;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(216, 120, 24, 0.16), transparent 46%),
    radial-gradient(ellipse at 0% 0%, rgba(36, 12, 84, 0.08), transparent 42%),
    #fff;
  z-index: -1;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.crumbs a:hover {
  color: var(--gold);
}

/* Specs */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.spec {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.spec b {
  display: block;
  color: var(--gold-2);
  font-size: 18px;
}
.spec span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Forms */
.form-card {
  padding: 28px;
}
.form-success {
  display: none;
  padding: 16px;
  border-radius: 12px;
  background: rgba(125, 206, 160, 0.12);
  color: var(--ok);
  margin-top: 12px;
}
.form-success.show {
  display: block;
}
.partner-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.partner-tabs button {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.partner-tabs button.is-active {
  background: var(--gold);
  color: #240C54;
  border-color: var(--gold);
}
.form-panel {
  display: none;
}
.form-panel.is-active {
  display: block;
}

/* Footer */
.footer {
  padding: 64px 0 28px;
  background: var(--purple);
}
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.footer a:hover {
  color: var(--gold);
}
.footer h4 {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer__logo {
  height: 78px;
  width: auto;
  margin-bottom: 16px;
}
.footer li {
  margin-bottom: 8px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.wa {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + var(--safe-bottom));
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}
.wa:hover {
  transform: scale(1.08);
}
.wa svg {
  width: 28px;
  height: 28px;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.fade-left {
  transform: translateX(-28px);
}
.fade-right {
  transform: translateX(28px);
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  border: 0;
  background: var(--purple);
  color: #fff;
  text-align: center;
}
.cta-band .section__title,
.cta-band .section__desc {
  color: #fff;
}
.cta-band .section__desc {
  opacity: 0.75;
}
.cta-band .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-band .hero__actions {
  margin-bottom: 0;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.only-mobile {
  display: none;
}

/* Responsive */
@media (max-width: 1280px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: block;
    z-index: 1003;
  }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: calc(var(--header) + var(--safe-top) + 24px) 28px calc(32px + var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav__menu.is-open {
    transform: none;
  }
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
  }
  .nav__link {
    font-size: 20px;
    color: var(--purple);
    padding: 10px 12px;
  }
  .nav__link::after {
    left: 50%;
    right: auto;
    width: 28px;
    margin-left: -14px;
  }
  .nav__dropdown {
    width: 100%;
  }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    padding: 4px 0 10px;
  }
  .nav__dropdown-menu a {
    font-size: 14px;
    padding: 6px 4px;
  }
  .nav__cta {
    margin-top: 12px;
    width: min(100%, 280px);
  }
  .paths,
  .grid-3,
  .grid-4,
  .split,
  .split--reverse,
  .finder,
  .footer__grid,
  .stats-band,
  .specs,
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .hero__layout {
    gap: 18px;
  }
  .hero__visual img {
    width: 100%;
    max-width: 100%;
    transform: none;
    max-height: 42vh;
  }
}

@media (max-width: 720px) {
  .only-mobile {
    display: block;
  }
  .paths,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .finder,
  .footer__grid,
  .stats-band,
  .specs,
  .values,
  .row-2 {
    grid-template-columns: 1fr;
  }
  .header.hidden {
    transform: none;
  }
  .nav__logo {
    height: 42px;
  }
  .nav__link {
    font-size: 18px;
    padding: 8px 12px;
  }
  .hero {
    min-height: 0;
    overflow-x: hidden;
  }
  .hero__shapes {
    opacity: 0.45;
  }
  .hero__layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0 12px;
  }
  .hero__visual {
    min-height: 0;
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }
  .hero__visual img {
    width: 100%;
    max-width: 100%;
    max-height: min(220px, 28vh);
    transform: none;
    filter: drop-shadow(10px 16px 22px rgba(36, 12, 84, 0.22));
  }
  .hero__kicker {
    margin-bottom: 10px;
  }
  .hero__title {
    font-size: clamp(34px, 11vw, 46px);
    letter-spacing: 0;
    line-height: 0.9;
    margin-bottom: 8px;
  }
  .hero__claim {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .hero__subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: none;
  }
  .hero__rail {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
  }
  .hero__rail-item {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    padding: 16px 8px;
    text-align: center;
  }
  .hero__rail-item:last-child {
    border-right: 0;
  }
  .hero__rail-item strong {
    font-size: 22px;
  }
  .hero__rail-item span {
    font-size: 9px;
    letter-spacing: 0.08em;
    display: block;
    line-height: 1.3;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__actions .btn,
  .path-card .btn,
  .cta-band .btn,
  .form-card .btn,
  .product-card .btn {
    width: 100%;
    white-space: normal;
  }
  .nav__cta {
    width: min(100%, 280px);
  }
  .header {
    height: calc(var(--header) + var(--safe-top));
  }
  :root {
    --header: 64px;
    --pad: 20px;
    --section: 64px;
  }
  .page-hero {
    padding: calc(var(--header) + var(--safe-top) + 28px) 0 28px;
  }
  .page-hero .section__title {
    font-size: clamp(32px, 10vw, 44px);
    max-width: none;
  }
  .section__title {
    font-size: clamp(28px, 8.5vw, 40px);
  }
  .product-card {
    min-height: 320px;
  }
  .path-card {
    min-height: 220px;
    padding: 24px;
  }
  .cta-band {
    padding: 36px 20px;
    border-radius: 18px;
  }
  .cta-band .hero__actions {
    flex-direction: column;
  }
  .footer {
    padding: 48px 0 calc(88px + var(--safe-bottom));
  }
  .footer__bottom {
    padding-bottom: 8px;
  }
  .marquee__item {
    padding: 14px 24px;
    font-size: 11px;
  }
  .card,
  .form-card {
    padding: 22px;
  }
}

@media (hover: none) {
  .path-card:hover,
  .card:hover,
  .btn--primary:hover {
    transform: none;
  }
  .product-card:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
