/* =============================================================
   LPS Logística & Transporte — style.css
   Design system, layout e componentes
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Cores da marca */
  --red: #ff0000;
  --red-soft: #ff2d2d;
  --graphite: #2b2b2b;
  --black: #0a0a0a;
  --gray: #181818;
  --white: #ffffff;

  /* Superfícies e texto */
  --surface: rgba(255, 255, 255, 0.028);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.94);
  --text-muted: rgba(255, 255, 255, 0.56);
  --text-dim: rgba(255, 255, 255, 0.38);

  /* Tipografia */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-alt: "Manrope", system-ui, sans-serif;

  /* Ritmo */
  --shell: min(1280px, 100% - 3rem);
  --section-y: clamp(6rem, 12vh, 11rem);
  --radius: 18px;

  /* Efeitos */
  --glow-red: 0 0 0 1px rgba(255, 0, 0, 0.28), 0 18px 60px -20px rgba(255, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.03rem);
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

/* ---------- 3. Tipografia ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  max-width: 62ch;
}

.accent {
  color: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.lead {
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.18rem);
  color: var(--text-muted);
}

/* ---------- 4. Layout ---------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(4rem, 8vh, 7rem);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 780px;
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* ---------- 5. Botões ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-alt);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.25s var(--ease);
  will-change: transform;
}

.btn i {
  font-size: 0.85em;
}

.btn::after {
  /* halo interno usado no hover */
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 0, 0, 0.5), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  --btn-bg: var(--red);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 16px 50px -18px rgba(255, 0, 0, 0.75);
}

.btn--primary:hover {
  box-shadow: 0 20px 60px -14px rgba(255, 0, 0, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.btn--ghost:hover {
  border-color: rgba(255, 0, 0, 0.55);
}

.btn--sm {
  padding: 0.72rem 1.25rem;
  font-size: 0.8rem;
}

/* ondulação (ripple) injetada por JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: ripple 0.65s var(--ease) forwards;
}

/* ---------- 6. Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  gap: 1.6rem;
  justify-items: center;
  background: var(--black);
}

.loader__logo {
  width: 132px;
  opacity: 0;
}

.loader__track {
  width: min(240px, 55vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loader__bar {
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.8);
}

.loader__label {
  font-family: var(--font-alt);
  font-size: 0.68rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- 7. Header / navegação ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background 0.5s var(--ease),
    border-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  transition: padding 0.5s var(--ease);
}

.header.is-stuck {
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom-color: var(--line);
}

.header.is-stuck .header__inner {
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__logo {
  width: 96px;
  transition: width 0.5s var(--ease);
}

.header.is-stuck .brand__logo {
  width: 74px;
}

.brand__tag {
  font-family: var(--font-alt);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-left: 1px solid var(--line-strong);
  padding-left: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav__link {
  position: relative;
  font-family: var(--font-alt);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.35s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  place-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: center;
  gap: 0.4rem;
  padding: 6rem 2rem 3rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(26px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease);
  pointer-events: none;
}

.drawer.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.drawer a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.drawer .btn {
  margin-top: 1.6rem;
  justify-content: center;
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(255, 0, 0, 0.11), transparent 55%),
    radial-gradient(90% 70% at 50% 50%, transparent, rgba(10, 10, 10, 0.72) 78%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.35) 35%, var(--black));
}

.hero__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.9rem;
  padding-block: 9rem 6rem;
}

.hero__logo {
  width: clamp(150px, 20vw, 230px);
  filter: drop-shadow(0 12px 44px rgba(255, 0, 0, 0.35));
}

.hero h1 {
  max-width: 15ch;
}

.hero p {
  max-width: 60ch;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
  justify-content: center;
  margin-top: 1.4rem;
  font-family: var(--font-alt);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__meta i {
  color: var(--red);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-family: var(--font-alt);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--red), transparent);
}

/* ---------- 9. Sobre + timeline ---------- */
.about {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transform: scale(1.06);
  will-change: transform;
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.8));
}

.figure__stamp {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.figure__stamp strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 2.4rem;
  border-left: 1px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.9rem;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 1.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.14);
}

.timeline h3 {
  font-family: var(--font-alt);
  font-size: 0.95rem;
  font-weight: 600;
}

.timeline span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.timeline p {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ---------- 10. Cards de diferenciais ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.1rem;
}

.card {
  position: relative;
  padding: 1.9rem 1.7rem 2.1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-strong), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  transition:
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
  will-change: transform;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 0, 0, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(255, 0, 0, 0.35);
  box-shadow: 0 30px 70px -40px rgba(255, 0, 0, 0.55);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.3rem;
  border-radius: 13px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.25);
  color: var(--red);
  font-size: 1.05rem;
  transform: translateZ(30px);
}

.card h3 {
  transform: translateZ(20px);
}

.card p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  transform: translateZ(14px);
}

.card__index {
  position: absolute;
  top: 1.5rem;
  right: 1.6rem;
  font-family: var(--font-alt);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* ---------- 11. Segurança (circuito) ---------- */
.security {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.security::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255, 0, 0, 0.09), transparent 70%),
    linear-gradient(180deg, var(--black), #060606);
  pointer-events: none;
}

.circuit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.circuit__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.circuit__svg path {
  fill: none;
  stroke: rgba(255, 0, 0, 0.45);
  stroke-width: 1;
  stroke-dasharray: 6 8;
}

.node {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: #0c0c0c;
  transition: background 0.45s var(--ease);
}

.node:hover {
  background: var(--gray);
}

.node i {
  color: var(--red);
  font-size: 1.15rem;
  filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.55));
}

.node h3 {
  font-family: var(--font-alt);
  font-size: 0.94rem;
  font-weight: 600;
}

.node p {
  font-size: 0.85rem;
}

/* ---------- 12. Frota ---------- */
.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}

.fleet__card {
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.fleet__card:hover {
  border-color: rgba(255, 0, 0, 0.35);
  transform: translateY(-4px);
}

.fleet__card i {
  color: var(--red);
  font-size: 1.2rem;
}

.fleet__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 1.1rem 0 0.35rem;
}

.fleet__tag {
  display: block;
  width: fit-content;
  font-family: var(--font-alt);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255, 0, 0, 0.32);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  margin: 1.9rem 0 0.9rem;
}


.fleet__card h3 {
  font-family: var(--font-alt);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.fleet__card p {
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

/* ---------- 13. Tecnologia ---------- */
.tech {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.laptop {
  perspective: 1400px;
}

.laptop__screen {
  position: relative;
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 22px;
  background: linear-gradient(180deg, #2f2f2f, #141414);
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 100px -50px rgba(255, 0, 0, 0.4), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transform: rotateX(8deg);
  transform-style: preserve-3d;
}

.laptop__screen img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.laptop__screen::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  translate: -50% 0;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.laptop__base {
  height: 12px;
  margin: 0 auto;
  width: 112%;
  max-width: none;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #262626, #0d0d0d);
  border: 1px solid var(--line);
  border-top: 0;
  transform: translateX(-5.5%);
}

.laptop__glow {
  height: 60px;
  margin-top: -10px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 0, 0, 0.3), transparent 70%);
  filter: blur(6px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.42rem;
  font-family: var(--font-alt);
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list i {
  color: var(--red);
  font-size: 0.72rem;
}

/* KPIs / gráfico */
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2.6rem;
}

.kpi {
  padding: 1.25rem 1.3rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.kpi span {
  font-family: var(--font-alt);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 0.4rem;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: 1rem;
}

.bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red), rgba(255, 0, 0, 0.15));
  transform-origin: bottom;
  transform: scaleY(0);
}

/* ---------- 14. Cobertura ---------- */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.map {
  position: relative;
}

.map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.map__state {
  fill: rgba(255, 255, 255, 0.045);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
  transition: fill 0.5s var(--ease), stroke 0.5s var(--ease);
}

.map__state.is-active {
  fill: rgba(255, 0, 0, 0.09);
  stroke: rgba(255, 0, 0, 0.55);
  filter: drop-shadow(0 0 18px rgba(255, 0, 0, 0.28));
}


.map__link {
  fill: none;
  stroke: rgba(255, 0, 0, 0.55);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.map__dot {
  fill: var(--red);
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.9));
}

.map__label {
  font-family: var(--font-alt);
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: rgba(255, 255, 255, 0.72);
}

.bases {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
}

.base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-family: var(--font-alt);
  font-size: 0.9rem;
}

.base small {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- 15. Estatísticas ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 2.1rem 1.6rem;
  background: #0c0c0c;
  display: grid;
  gap: 0.35rem;
}

.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span {
  font-family: var(--font-alt);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- 16. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

#cta-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(255, 0, 0, 0.22), transparent 65%),
    linear-gradient(180deg, var(--black), rgba(10, 10, 10, 0.6));
}

.cta__inner {
  display: grid;
  justify-items: center;
  gap: 1.8rem;
}

.cta h2 {
  max-width: 24ch;
}

/* ---------- 17. Rodapé ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #070707;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer__logo {
  width: 104px;
  margin-bottom: 1.3rem;
}

.footer h4 {
  font-family: var(--font-alt);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.footer li + li,
.footer p + p {
  margin-top: 0.6rem;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}

.footer a:hover {
  color: var(--red);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.socials a:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- 18. WhatsApp flutuante ---------- */
.wa {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.4);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.12), 0 18px 50px -22px rgba(37, 211, 102, 0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.3), 0 24px 60px -20px rgba(37, 211, 102, 0.85);
}

.wa i {
  color: #25d366;
  font-size: 1.25rem;
}

.wa__tooltip {
  font-family: var(--font-alt);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.5s var(--ease), opacity 0.4s var(--ease);
}

.wa:hover .wa__tooltip,
.wa:focus-visible .wa__tooltip {
  max-width: 220px;
  opacity: 1;
}

/* ---------- 19. Barra de progresso ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
}
