/* ═══════════════════════════════════════════════════════════
   99 Envios — Design System
   Identidade extraída do projeto React de referência:
   azul marinho (base) + laranja (CTAs), com profundidade,
   gradientes e glows.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores — mesmas HSL do projeto React */
  --primary: hsl(215 75% 18%);
  --primary-hover: hsl(215 75% 24%);
  --primary-deep: hsl(220 65% 12%);
  --primary-fg: hsl(0 0% 100%);
  --accent: hsl(18 100% 47%);
  --accent-hover: hsl(18 100% 42%);
  --accent-fg: hsl(0 0% 100%);
  --bg: hsl(220 30% 97%);
  --surface: hsl(0 0% 100%);
  --fg: hsl(215 50% 10%);
  --muted: hsl(215 20% 94%);
  --muted-fg: hsl(215 15% 42%);
  --border: hsl(214 22% 90%);
  --success: hsl(142 71% 40%);
  --danger: hsl(0 84% 60%);
  --warning: hsl(38 92% 50%);

  --blue-400: hsl(213 94% 68%);
  --blue-500: hsl(217 91% 60%);
  --blue-600: hsl(221 83% 53%);
  --green-500: hsl(142 71% 45%);

  /* Gradientes */
  --hero-gradient: linear-gradient(135deg, hsl(215 75% 18%), hsl(220 65% 12%));
  --gradient-orange: linear-gradient(135deg, hsl(18 100% 47%), hsl(12 97% 35%));
  --gradient-blue: linear-gradient(135deg, hsl(213 94% 68%), hsl(221 83% 53%));

  /* Sombras em camada */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-xs: 0 1px 3px hsl(215 75% 18% / .06);
  --shadow-sm: 0 2px 8px hsl(215 75% 18% / .08);
  --shadow: 0 4px 24px -4px hsl(215 75% 18% / .09);
  --shadow-md: 0 6px 20px hsl(215 75% 18% / .1);
  --shadow-lg: 0 16px 48px hsl(215 75% 18% / .14);
  --shadow-orange: 0 8px 28px hsl(18 100% 47% / .3);
  --shadow-blue: 0 8px 28px hsl(213 94% 68% / .25);

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: .2s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: hsl(18 100% 47% / .2); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--muted); }
::-webkit-scrollbar-thumb { background: hsl(213 94% 78%); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-400); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 84px 0; }
.section--tight { padding: 48px 0; }
.section--muted { background:
    radial-gradient(1200px 400px at 50% -10%, hsl(213 94% 68% / .06), transparent 70%); }

/* ── Tipografia ───────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }

.lead { font-size: 1.15rem; color: var(--muted-fg); }
.text-muted { color: var(--muted-fg); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(90deg, hsl(21 95% 55%), hsl(26 97% 65%) 45%, hsl(213 94% 78%));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cabeçalho de seção reutilizável */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: hsl(18 100% 47% / .1); color: var(--accent);
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; }

/* ── Botões ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn--accent {
  background: var(--gradient-orange);
  color: var(--accent-fg);
  box-shadow: var(--shadow-orange);
}
.btn--accent:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px hsl(18 100% 47% / .45);
}

.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-sm); }
.btn--primary:hover:not(:disabled) { background: var(--primary-hover); transform: translateY(-2px); }

.btn--outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn--outline:hover:not(:disabled) { border-color: var(--primary); background: var(--muted); }

/* Botão claro sobre fundo escuro (hero) */
.btn--ghost-light {
  background: hsl(0 0% 100% / .1);
  color: #fff;
  border-color: hsl(0 0% 100% / .2);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover:not(:disabled) { background: hsl(0 0% 100% / .18); transform: translateY(-2px); }

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--sm { padding: 8px 15px; font-size: .82rem; }
.btn--block { width: 100%; }

/* ── Tabelas ──────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td {
  padding: 13px 15px; text-align: left;
  border-bottom: 1px solid var(--border); vertical-align: middle;
}
.table th {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted-fg); white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: hsl(213 94% 68% / .05); }

@media (max-width: 640px) {
  .table { font-size: .875rem; }
  .table th, .table td { padding: 10px; }
}

/* ── Formulários ──────────────────────────────────────────── */
.field { margin-bottom: 18px; }
.label { display: block; margin-bottom: 7px; font-size: .875rem; font-weight: 600; }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder, .textarea::placeholder { color: hsl(215 15% 62%); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px hsl(18 100% 47% / .13);
}
.field-error { color: var(--danger); font-size: .8125rem; margin-top: 4px; }

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

/* ── Combobox com busca (searchable select) ───────────────── */
.ss { position: relative; }
.ss__list {
  position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0;
  max-height: 260px; overflow-y: auto; margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.ss__item { padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .94rem; }
.ss__item:hover { background: hsl(213 94% 68% / .1); }

/* ── Card ─────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card--hover { transition: transform var(--transition), box-shadow var(--transition); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--pad-lg { padding: 34px; }

/* Ícone circular usado em features/benefícios */
.feature-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center;
  background: hsl(213 94% 68% / .12);
  border: 1px solid hsl(213 94% 68% / .2);
  color: var(--blue-600);
  margin-bottom: 16px;
}
.feature-icon--orange {
  background: hsl(18 100% 47% / .1);
  border-color: hsl(18 100% 47% / .2);
  color: var(--accent);
}

/* Foto do hero (coluna direita) */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(0 0% 100% / .1);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Cartão flutuante sobre a foto */
.hero-badge-float {
  position: absolute; left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--fg);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.hero-badge-float .stars { color: hsl(38 92% 50%); display: flex; gap: 1px; }
.hero-badge-float strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.hero-badge-float span { font-size: .78rem; color: var(--muted-fg); }

/* check verde nos benefícios */
.benefit-row .check { color: var(--green-500); flex-shrink: 0; margin-top: 1px; display: inline-flex; }

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(0 0% 100% / .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.logo { display: flex; align-items: center; font-weight: 800; font-size: 1.4rem; color: var(--primary); letter-spacing: -.03em; }
.logo span { color: var(--accent); }
.logo__img { height: 40px; width: auto; }
.footer .logo__img { height: 44px; filter: brightness(0) invert(1); opacity: .95; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  padding: 9px 15px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; color: var(--muted-fg);
  transition: var(--transition);
}
.nav__link:hover { background: var(--muted); color: var(--fg); }
.nav__link.is-active { color: var(--accent); }

.nav__link--button { background: none; border: 0; font-family: inherit; font-size: .95rem; cursor: pointer; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--primary); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-gradient);
  color: #fff;
  padding: 96px 0 88px;
}
/* Grade sutil sobre o hero */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(213 94% 68% / .05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(213 94% 68% / .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero__sub { color: hsl(0 0% 100% / .62); font-size: 1.15rem; margin: 20px 0 24px; max-width: 34ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Glows */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.glow--blue {
  width: 620px; height: 620px; top: -200px; right: -140px;
  background: radial-gradient(circle, hsl(213 94% 68% / .16) 0%, transparent 65%);
}
.glow--orange {
  width: 360px; height: 360px; bottom: -100px; left: 4%;
  background: radial-gradient(circle, hsl(18 100% 47% / .14) 0%, transparent 65%);
}

/* Selo de economia */
.savings-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(142 71% 45% / .15); color: hsl(142 71% 72%);
  border: 1px solid hsl(142 71% 45% / .28);
  padding: 9px 16px; border-radius: 999px; font-size: .875rem; font-weight: 700;
  margin: 22px 0;
}

/* Stats do hero */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.hero-stat { text-align: center; }
.hero-stat__value { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: var(--accent); }
.hero-stat__label { font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: hsl(0 0% 100% / .42); margin-top: 4px; }

/* Card de benefícios (coluna direita do hero) */
.hero-card { background: var(--surface); color: var(--fg); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.benefit-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: .95rem; }
.benefit-row .check { color: var(--green-500); flex-shrink: 0; margin-top: 2px; }

/* Faixa de confiança */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 34px 0; }
.trust-item { text-align: center; }
.trust-item h4 { font-size: .95rem; font-weight: 700; }
.trust-item p { font-size: .82rem; color: var(--muted-fg); margin-top: 3px; }

/* Passos "como funciona" */
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--gradient-orange);
  box-shadow: var(--shadow-orange); margin-bottom: 16px;
}

/* Logos transportadoras (imagens reais) */
.carrier-logos {
  display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.carrier-logo {
  height: 64px; width: auto;
  padding: 18px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.carrier-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* CTA final em faixa */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--hero-gradient); color: #fff;
  border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: hsl(0 0% 100% / .7); margin: 14px auto 28px; max-width: 52ch; }

/* Cabeçalho das páginas internas (cotação, rastreio, sobre…) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--hero-gradient); color: #fff;
  padding: 56px 0;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsl(213 94% 68% / .05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(213 94% 68% / .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000 30%, transparent 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: hsl(0 0% 100% / .7); margin-top: 8px; }
.page-hero .glow--orange { width: 300px; height: 300px; bottom: -120px; right: 6%; left: auto; }

/* Título de seção dentro de formulários (barra laranja no lugar de emoji) */
.form-section-title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 1.05rem;
}
.form-section-title::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px;
  background: var(--gradient-orange);
}

/* Lista de contato com ícones */
.contato-lista li { display: flex; align-items: center; gap: 12px; }
.contato-ic { color: var(--accent); flex-shrink: 0; display: inline-flex; }

/* ── Timeline (rastreio) ──────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before {
  content: ""; position: absolute; left: -25px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--surface);
}
.timeline__item--current::before {
  background: var(--accent); box-shadow: 0 0 0 4px hsl(18 100% 47% / .18);
}
.timeline__date { font-size: .8125rem; color: var(--muted-fg); }
.timeline__status { font-weight: 600; margin: 2px 0; }
.timeline__location { font-size: .875rem; color: var(--muted-fg); }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700;
}
.badge--success { background: hsl(142 71% 40% / .12); color: var(--success); }
.badge--warning { background: hsl(38 92% 50% / .14); color: hsl(38 92% 38%); }
.badge--info    { background: hsl(215 75% 18% / .1); color: var(--primary); }
.badge--danger  { background: hsl(0 72% 51% / .12); color: var(--danger); }

/* ── Alert ────────────────────────────────────────────────── */
.alert { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid transparent; margin-bottom: 16px; }
.alert--danger  { background: hsl(0 84% 60% / .08);  border-color: hsl(0 84% 60% / .25);  color: hsl(0 70% 40%); }
.alert--success { background: hsl(142 71% 40% / .08); border-color: hsl(142 71% 40% / .25); color: hsl(142 71% 28%); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  position: relative;
  background: var(--primary-deep);
  color: hsl(0 0% 100% / .72);
  padding: 64px 0 26px;
  margin-top: 0;
}
.footer a { transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 36px; }
.footer__title { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.footer__list { list-style: none; display: grid; gap: 9px; font-size: .94rem; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid hsl(0 0% 100% / .12);
  text-align: center; font-size: .875rem;
}

/* ── Painel Admin ─────────────────────────────────────────── */
.admin { background: var(--muted); }
.admin__shell { display: flex; min-height: 100vh; }

.admin__sidebar {
  position: sticky; top: 0; align-self: flex-start;
  width: 240px; height: 100vh; flex-shrink: 0;
  background: var(--primary-deep); color: #fff;
  padding: 22px 16px; display: flex; flex-direction: column;
  overflow-y: auto;
}
.admin__sidebar .logo__img { height: 38px; filter: brightness(0) invert(1); }
.admin__nav { display: flex; flex-direction: column; gap: 3px; }
.admin__link {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: hsl(0 0% 100% / .72); font-weight: 600; font-size: .94rem;
  transition: var(--transition);
}
.admin__link:hover { background: hsl(0 0% 100% / .08); color: #fff; }
.admin__link.is-active { background: var(--accent); color: #fff; }

.admin__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin__topbar {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 28px; position: sticky; top: 0; z-index: 20;
}
.admin__topbar h1 { font-size: 1.15rem; margin-right: auto; }
.admin__toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--primary); }
.admin__content { padding: 28px; max-width: 1100px; }

/* Cards de métrica */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.metric {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.metric__label { color: var(--muted-fg); font-size: .82rem; font-weight: 600; }
.metric__value { font-size: 1.9rem; font-weight: 800; margin-top: 6px; letter-spacing: -.02em; }
.metric--alert { border-color: hsl(38 92% 50% / .5); background: hsl(38 92% 50% / .06); }
.metric--alert .metric__value { color: hsl(38 92% 38%); }

.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .admin-form-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .admin__sidebar {
    position: fixed; left: 0; top: 0; z-index: 60;
    transform: translateX(-100%); transition: transform .25s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .admin__sidebar.is-open { transform: translateX(0); }
  .admin__toggle { display: block; }
  .admin__content { padding: 18px; }
}

/* ── WhatsApp flutuante ───────────────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 6px 22px hsl(142 70% 40% / .45);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.06); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 22px hsl(142 70% 40% / .45); }
  70%  { box-shadow: 0 6px 34px hsl(142 70% 40% / .0); }
  100% { box-shadow: 0 6px 22px hsl(142 70% 40% / .45); }
}

/* ── Utilitários ──────────────────────────────────────────── */
.hidden { display: none !important; }

.animate-up { animation: fadeSlideUp .6s var(--ease) both; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .animate-up { animation: none; } }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid hsl(0 0% 100% / .3); border-top-color: #fff;
  border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsivo ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__sub { max-width: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }

  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px; gap: 2px; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav__link--button { text-align: left; }
  .nav-toggle { display: block; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn--block-mobile { width: 100%; }
  .hero-stats { gap: 12px; }
}
