/* =============================================================================
 * Instituto Bioquímico — estilos (mobile-first, tema escuro premium)
 * Marca: navy #2A2C73 · red #C73834 · headlines Anton
 * Estética: aurora background + glassmorphism + glow no CTA
 * ===========================================================================*/

/* --- Fonte de headline self-hosted (Anton, OFL) --- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
}

/* --- Tokens --- */
:root {
  --navy: #2a2c73;
  --red: #c73834;
  --red-bright: #ff5b56;   /* acento em fundo escuro */
  --red-grad-a: #e8433f;
  --red-grad-b: #b92f2b;

  --bg-0: #0d0e26;
  --bg-1: #15173a;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);

  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-strong: rgba(255, 255, 255, 0.22);

  --radius: 16px;
  --radius-lg: 22px;
  --tap: 54px;
  --maxw: 480px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Anton", "Arial Narrow", "Helvetica Neue Condensed", var(--font-sans);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --- Aurora background (fixo, leve) --- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(199, 56, 52, 0.42) 0%, transparent 60%),
    radial-gradient(70% 55% at 15% 12%, rgba(58, 62, 170, 0.5) 0%, transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(42, 44, 115, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 55%);
}

/* --- Layout --- */
.page {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 36px;
}

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.05s; }
.reveal:nth-child(3) { animation-delay: 0.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* --- Cabeçalho --- */
.header { text-align: center; }
.logo-badge {
  width: 124px;
  height: 124px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 18px 50px rgba(199, 56, 52, 0.28),
    0 10px 30px rgba(0, 0, 0, 0.4);
}
.logo-badge img { width: 100%; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 2.8rem);
  letter-spacing: 0.5px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #c9cbf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-tagline {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 0 0;
}

/* selo de destaque (1ª de MS / desde 1974) */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffe3e2;
  background: rgba(199, 56, 52, 0.18);
  border: 1px solid rgba(255, 91, 86, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); }

.bio {
  margin: 14px auto 0;
  max-width: 32ch;
  font-size: 0.92rem;
  color: var(--muted);
}

.socials { display: flex; gap: 12px; justify-content: center; margin: 20px 0 0; }
.social-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.social-ico:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: var(--glass-border-strong); }
.social-ico svg { width: 22px; height: 22px; }

/* --- Faixa de métricas (glass) --- */
.stats {
  display: flex;
  gap: 8px;
  margin: 26px 0 0;
  padding: 18px 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.stat { flex: 1; text-align: center; }
.stat__value {
  font-family: var(--font-head);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--red-bright);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 91, 86, 0.4);
}
.stat__label {
  display: block;
  font-size: 0.66rem;
  color: var(--faint);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Botões --- */
.actions { margin-top: 22px; display: grid; gap: 12px; }

.btn {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(0.985); }

/* CTA primário — WhatsApp com glow */
.btn--primary {
  background: linear-gradient(180deg, var(--red-grad-a) 0%, var(--red-grad-b) 100%);
  color: #fff;
  font-size: 1.14rem;
  min-height: 62px;
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(232, 67, 63, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(232, 67, 63, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 11px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Botões secundários — glass */
.btn--secondary {
  background: var(--glass);
  color: #fff;
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: var(--glass-border-strong); }
.btn--secondary svg { color: var(--red-bright); }

/* --- Seções --- */
.section { margin-top: 30px; }
.section__title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
  text-align: center;
}
.section__title::after {
  content: "";
  display: block;
  width: 54px; height: 3px;
  margin: 8px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.lines { display: grid; gap: 9px; }
.line-item {
  min-height: var(--tap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.line-item:hover { transform: translateY(-1px); border-color: rgba(255, 91, 86, 0.55); background: var(--glass-strong); }
.line-item .chev { color: var(--red-bright); flex: none; width: 20px; height: 20px; }

/* Depoimentos / feedbacks (glass cards) */
.quotes { display: grid; gap: 11px; }
.quote {
  margin: 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  backdrop-filter: blur(8px);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 2px; left: 14px;
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 91, 86, 0.45);
}
.quote blockquote {
  margin: 0;
  padding-left: 26px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}
.quote figcaption {
  margin: 10px 0 0 26px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-bright);
}

/* Aviso de conformidade */
.notice {
  margin-top: 24px;
  font-size: 0.76rem;
  color: var(--faint);
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  backdrop-filter: blur(8px);
}

/* --- Rodapé --- */
.footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.83rem;
  color: var(--muted);
}
.footer p { margin: 4px 0; }
.footer strong { color: #fff; }
.footer .credit { margin-top: 14px; font-size: 0.72rem; color: var(--faint); }
.footer .credit + .credit { margin-top: 3px; }
.footer a { color: #fff; font-weight: 700; text-decoration: underline; }

@media (min-width: 600px) {
  .page { padding-top: 56px; }
  .logo-badge { width: 132px; height: 132px; }
}

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