/*
 * Centro Car — estilos do site.
 * Azul como cor principal (inspirado nos detalhes azuis da fachada e da oficina),
 * com branco, vermelho e preto de apoio. As animações são coordenadas pelo assets/site.js.
 */

:root {
  --ink-950: #030a1c;
  --navy-900: #061433;
  --navy-800: #0a1f4d;
  --blue-700: #0f3290;
  --blue-600: #1544c4;
  --blue-500: #1d5df0;
  --blue-400: #4c86ff;
  --blue-300: #8db0ff;
  --blue-100: #dfe8ff;
  --blue-50: #f3f6fd;
  --red: #d7262d;
  --red-deep: #b61d20;
  --red-light: #ff5a61;
  --black: #04070f;
  --white: #fff;
  --ink: #0b1430;
  --ink-soft: #4a5672;
  --muted: #a7b4d4;
  --line-dark: #1c2a52;
  --line-light: #d5ddee;
  --surface: #0b1838;
  --container: 1180px;
  --hub-width: 1320px;
  --font-display: "Exo 2", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  background: var(--navy-900);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.2vw, 62px);
  font-style: italic;
  font-weight: 900;
  /* Na Exo 2 a perna do Q e a cedilha do Ç descem 0,28 em: com menos de 1,1 encostam na linha de baixo */
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-shell {
  overflow-x: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--red-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(112px, 12vw, 172px) 0;
}

.section--light {
  background: var(--blue-50);
  color: var(--ink);
}

.section--light .eyebrow {
  color: var(--red);
}

.section--light h2,
.section--light h3 {
  color: var(--navy-800);
}

/* ---------- Botões e links ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 30px;
  overflow: hidden;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  isolation: isolate;
  transition: background .3s, color .3s, box-shadow .3s, transform .45s var(--ease-out);
}

/* Reflexo que atravessa o botão no hover */
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, #0000 25%, #ffffff3d 50%, #0000 75%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}

.button svg {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform .4s var(--ease-out);
}

.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px #0000004d;
}

.button:hover::after {
  transform: translateX(120%);
}

.button:hover svg {
  transform: translate(3px, -3px);
}

.button--primary {
  margin-top: 34px;
  background: var(--red);
  color: var(--white);
}

.button--primary:hover {
  background: var(--red-deep);
}

.button--blue {
  background: var(--blue-500);
  color: var(--white);
}

.button--blue:hover {
  background: var(--blue-600);
}

.button--light {
  flex: none;
  background: var(--white);
  color: var(--navy-800);
}

.button--light:hover {
  background: var(--navy-900);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s, gap .35s var(--ease-out);
}

.text-link svg {
  flex: none;
}

.text-link:hover {
  gap: 18px;
  color: var(--red);
}

.text-link--light {
  color: var(--white);
}

.text-link--light:hover {
  color: var(--red-light);
}

/* ---------- Intro ---------- */

.cc-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, #1d5df04d, #0000 46%),
    repeating-linear-gradient(135deg, #ffffff06 0 1px, #0000 1px 10px),
    linear-gradient(160deg, #071636, var(--ink-950) 62%);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Se o JavaScript não carregar, a intro some sozinha */
  animation: cc-intro-fallback .5s ease 4.5s forwards;
}

.cc-intro--js {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .cc-intro {
    display: none;
  }
}

@keyframes cc-intro-fallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.cc-intro__band {
  position: absolute;
  top: -25%;
  right: -32%;
  width: 58%;
  height: 150%;
}

.cc-intro__band::before,
.cc-intro__band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  transform: skewX(-14deg);
}

.cc-intro__band::before {
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--blue-500), #0a2468);
  opacity: .9;
}

/* Filete vermelho que acompanha a faixa azul */
.cc-intro__band::after {
  left: -38px;
  width: 12px;
  background: var(--red);
}

.cc-intro__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff08 1px, #0000 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0, #0000 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0, #0000 72%);
}

.cc-intro__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.cc-intro__stage {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 900px);
  text-align: center;
}

.cc-intro__logo {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
}

.cc-logo-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* As peças da logo ficam escondidas até a animação começar */
.cc-intro .cc-logo-svg {
  visibility: hidden;
}

/* Luz azul de fundo, como o letreiro iluminado da fachada */
.cc-intro__glow {
  position: absolute;
  inset: -6% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #3d7bffa8, #1d5df047 55%, #1d5df000 100%);
  opacity: 0;
  pointer-events: none;
  transform: scale(.85);
}

/* Linhas de velocidade que cruzam o nome */
.cc-intro__streaks {
  position: absolute;
  top: 40%;
  left: -18%;
  right: -18%;
  height: 24%;
  z-index: 2;
  pointer-events: none;
}

.cc-intro__streaks i {
  position: absolute;
  left: 0;
  width: 42%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4c86ff00, #8db0ffd9 70%, #fff);
  opacity: 0;
}

.cc-intro__streaks i:nth-child(1) {
  top: 6%;
}

.cc-intro__streaks i:nth-child(2) {
  top: 28%;
  width: 30%;
}

.cc-intro__streaks i:nth-child(3) {
  top: 52%;
  width: 50%;
}

.cc-intro__streaks i:nth-child(4) {
  top: 74%;
  width: 26%;
}

.cc-intro__streaks i:nth-child(5) {
  top: 94%;
  width: 36%;
}

.cc-intro__tagline {
  margin: clamp(18px, 3.6vw, 40px) auto 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 5.4vw, 58px);
  font-style: italic;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.cc-intro__tagline .w {
  display: inline-block;
  opacity: 0;
}

.cc-intro__tagline .w:last-child {
  color: var(--blue-400);
}

.cc-intro__skip {
  position: absolute;
  right: 24px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 2;
  color: #ffffff80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
}

.cc-intro__wipe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  background: linear-gradient(180deg, var(--blue-500), #0a2468);
  box-shadow: -16px 0 0 var(--red);
  visibility: hidden;
}

/* ---------- Topo (links rápidos) ---------- */

.link-hub {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 132px 24px 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, #1d5df059, #0000 32%),
    radial-gradient(circle at 8% 92%, #1d5df02e, #0000 30%),
    repeating-linear-gradient(135deg, #ffffff05 0 1px, #0000 1px 10px),
    linear-gradient(145deg, #0a1a40 0%, var(--ink-950) 56%, #050d24 100%);
}

.link-hub__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#ffffff07 1px, #0000 1px), linear-gradient(90deg, #ffffff07 1px, #0000 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(#000, #0000 85%);
  mask-image: linear-gradient(#000, #0000 85%);
}

/* Faixa azul inclinada com filete vermelho; o GSAP move as variáveis --band-x e --band-y */
.link-hub__bands {
  position: absolute;
  top: -20%;
  right: -7%;
  z-index: -1;
  display: flex;
  gap: 18px;
  height: 135vh;
  pointer-events: none;
  transform: translate3d(var(--band-x, 0px), var(--band-y, 0px), 0) skew(-14deg) rotate(8deg);
  transform-origin: top;
}

.link-hub__stripe {
  width: 12px;
  background: var(--red);
  opacity: .95;
}

.link-hub__band {
  width: 36vw;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700) 72%, #0a2468);
  box-shadow: 0 0 140px #1d5df080;
  opacity: .95;
}

/* Pneu da logo ao fundo; o GSAP gira o pneu com a rolagem */
.link-hub__tire {
  position: absolute;
  left: -16vw;
  bottom: -34vw;
  z-index: -1;
  width: min(80vw, 1020px);
  aspect-ratio: 1;
  opacity: .07;
  pointer-events: none;
}

.link-hub__tire img {
  width: 100%;
  height: 100%;
  animation: cc-spin 140s linear infinite;
}

@keyframes cc-spin {
  to {
    transform: rotate(360deg);
  }
}

.topbar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--hub-width), calc(100% - 48px));
  padding-top: 26px;
  transform: translateX(-50%);
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 9px 16px 9px 13px;
  border: 1px solid #ffffff1f;
  border-radius: 999px;
  background: #050d24b3;
  color: #d4ddf3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-300);
  box-shadow: 0 0 0 4px #ffffff0f;
}

.is-live .status-dot {
  background: var(--red-light);
  box-shadow: 0 0 0 4px #ff5a6129;
}

.is-live.is-open .status-dot {
  background: var(--blue-400);
  box-shadow: 0 0 0 4px #4c86ff33;
  animation: cc-pulse 2.2s ease-out infinite;
}

@keyframes cc-pulse {
  0% {
    box-shadow: 0 0 0 0 #4c86ff99;
  }

  100% {
    box-shadow: 0 0 0 12px #4c86ff00;
  }
}

.topbar__action {
  padding: 10px 0;
  border-bottom: 1px solid #ffffff8c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .3s, border-color .3s;
}

.topbar__action:hover {
  border-color: var(--red-light);
  color: var(--red-light);
}

.hub-card {
  position: relative;
  width: min(var(--hub-width), 100%);
  padding: clamp(44px, 5.4vw, 72px);
  border: 1px solid #ffffff24;
  border-radius: 22px;
  background: #040b1ed6;
  box-shadow: 0 34px 100px #0000008c;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Durante a entrada do topo o desfoque de fundo do cartão fica desligado (o fundo dele é quase opaco) */
.link-hub.is-entering .hub-card {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hub-card__accent {
  position: absolute;
  top: 0;
  left: clamp(34px, 5vw, 64px);
  display: flex;
  width: 136px;
  height: 5px;
}

.hub-card__accent::before,
.hub-card__accent::after {
  content: "";
  flex: 1;
}

.hub-card__accent::before {
  background: var(--red);
}

.hub-card__accent::after {
  background: var(--blue-500);
}

.hub-card__head {
  display: grid;
  grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.logo {
  width: 100%;
  height: auto;
}

.hub-card__head .logo {
  filter: drop-shadow(0 0 34px #1d5df066);
}

/* Altura de linha 1,1: com menos, a perna do Q de "QUEM" invade a linha de baixo e parece um acento */
.hub-card h1 {
  margin: 0;
  font-size: clamp(46px, 6.4vw, 84px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hub-card h1 em {
  color: var(--blue-400);
  font-style: inherit;
}

/*
 * Máscara usada na entrada do título, palavra por palavra. A folga em volta (compensada pela
 * margem negativa) evita cortar acentos e a inclinação do itálico.
 */
.cc-word {
  display: inline-block;
  overflow: hidden;
  margin: -.25em -.3em -.2em -.1em;
  padding: .25em .3em .2em .1em;
  vertical-align: top;
}

.is-revealed .cc-word {
  overflow: visible;
}

.cc-word > * {
  display: inline-block;
}

.hub-news {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 30px;
  padding: 7px 18px 7px 7px;
  border: 1px solid #4c86ff73;
  border-radius: 999px;
  background: #1d5df01f;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .3s, border-color .3s;
}

.hub-news__tag {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hub-news svg {
  flex: none;
  transition: transform .35s var(--ease-out);
}

.hub-news:hover {
  border-color: var(--blue-400);
  background: #1d5df040;
}

.hub-news:hover svg {
  transform: translateX(4px);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(40px, 4.6vw, 56px);
}

.quick-link {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 100px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: #0a1430;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .45s var(--ease-out);
}

.quick-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, #0000 20%, #ffffff17 48%, #0000 72%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-35%);
  transition: opacity .25s, transform .55s var(--ease-out);
}

.quick-link:hover {
  border-color: var(--blue-400);
  background: #0d1b42;
  box-shadow: 0 18px 40px #00000059, 0 0 0 1px #4c86ff40;
  transform: translateY(-6px) scale(1.012);
}

.quick-link:hover::after {
  opacity: 1;
  transform: translateX(35%);
}

.quick-link__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 20px #1d5df04d;
  transition: transform .45s var(--ease-out);
}

.quick-link:hover .quick-link__icon {
  transform: rotate(-8deg) scale(1.06);
}

.quick-link strong,
.quick-link small {
  display: block;
}

.quick-link strong {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.quick-link small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.quick-link__arrow {
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .3s, transform .4s var(--ease-out);
}

.quick-link:hover .quick-link__arrow {
  color: var(--red-light);
  transform: translate(3px, -3px);
}

.hub-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hub-card__info address,
.hub-card__info p {
  margin: 0;
  font-style: normal;
}

/* Indicador de rolagem: fixo no rodapé da tela enquanto a pessoa está no topo */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.scroll-cue.scroll-cue--floating {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 19;
  width: max-content;
  margin: 0 auto;
  padding: 11px 16px 11px 20px;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  background: #040b1ebd;
  box-shadow: 0 14px 34px #00000073;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: none;
  transition: opacity .45s ease, transform .55s var(--ease-out), border-color .3s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.scroll-cue.scroll-cue--floating.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.scroll-cue--floating:hover {
  border-color: var(--blue-400);
}

.scroll-cue__char {
  display: inline-block;
  white-space: pre;
  animation: cc-cue-wave 2.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 55ms);
}

.scroll-cue__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
}

.scroll-cue__icon path {
  animation: cc-cue-chevron 1.6s ease-in-out infinite;
}

.scroll-cue__icon path + path {
  animation-delay: .2s;
}

@keyframes cc-cue-wave {
  0%,
  45%,
  100% {
    opacity: .72;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes cc-cue-chevron {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(4px);
  }
}

/* ---------- Serviços ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: clamp(48px, 8vw, 120px);
  margin-bottom: clamp(64px, 8vw, 96px);
}

.intro-copy {
  padding-left: 40px;
  border-left: 2px solid var(--blue-500);
}

.intro-copy p {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  padding: 40px 32px 38px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: var(--white);
  transition: border-color .35s, box-shadow .35s, color .35s, transform .45s var(--ease-out);
}

/* Fundo azul que sobe no hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 0%, #4c86ff66, #0000 45%),
    linear-gradient(160deg, var(--blue-600), var(--navy-800));
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}

/* Mantém a transição de entrada (reveal) junto com a de hover */
.service-card.reveal-item {
  transition:
    opacity .72s var(--ease-out) var(--reveal-delay, 0s),
    transform .84s var(--ease-out) var(--reveal-delay, 0s),
    filter .72s ease var(--reveal-delay, 0s),
    border-color .35s,
    box-shadow .35s,
    color .35s;
}

.service-card__num {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #c3cde3;
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
  transition: color .35s;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 46px;
  border-radius: 15px;
  background: var(--blue-100);
  color: var(--blue-600);
  transition: background .35s, color .35s, transform .5s var(--ease-out);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 21px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  transition: color .35s;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  transition: color .35s;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s, gap .35s var(--ease-out);
}

.service-card__link:hover {
  gap: 13px;
}

.service-card:hover {
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 26px 54px #0a1f4d40;
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card:hover p {
  color: #cbd7f6;
}

.service-card:hover .service-card__num {
  color: #ffffff59;
}

.service-card:hover .service-card__icon {
  background: #ffffff1f;
  color: var(--white);
  transform: rotate(-6deg);
}

.service-card:hover .service-card__link {
  color: var(--white);
}

/* Ícones animados dos serviços */
.icon-review__check {
  stroke-dasharray: 11;
}

.icon-scan__wave {
  stroke-dasharray: 26;
}

.icon-wrench,
.icon-gearbox__knob,
.icon-oil__drop,
.icon-wash__drop,
.icon-tow__hook,
.icon-diesel__drop {
  transform-box: fill-box;
}

.icon-wrench {
  transform-origin: 70% 30%;
}

.icon-tow__hook {
  transform-origin: 50% 0;
}

@keyframes cc-check-draw {
  from {
    stroke-dashoffset: 11;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cc-scan-wave {
  from {
    stroke-dashoffset: 26;
  }

  to {
    stroke-dashoffset: -26;
  }
}

@keyframes cc-bolt-flash {
  0%,
  100% {
    opacity: 1;
  }

  20%,
  50% {
    opacity: .15;
  }

  35%,
  65% {
    opacity: 1;
    stroke: var(--red-light);
  }
}

@keyframes cc-tighten {
  0%,
  100% {
    transform: rotate(0);
  }

  45% {
    transform: rotate(-32deg);
  }
}

@keyframes cc-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(0, -7px);
  }

  40% {
    transform: translate(0, 0);
  }

  60% {
    transform: translate(7px, 0);
  }

  80% {
    transform: translate(7px, -7px);
  }
}

@keyframes cc-drop {
  0% {
    opacity: 0;
    transform: translateY(-3px) scale(.6);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(6px) scale(1);
  }
}

@keyframes cc-swing {
  0%,
  100% {
    transform: rotate(0);
  }

  30% {
    transform: rotate(16deg);
  }

  65% {
    transform: rotate(-10deg);
  }
}

@media (hover: hover) {
  .service-card:hover .icon-review__check {
    animation: cc-check-draw .7s var(--ease-out) both;
  }

  .service-card:hover .icon-scan__wave {
    animation: cc-scan-wave 1.4s linear infinite;
  }

  .service-card:hover .icon-battery__bolt {
    animation: cc-bolt-flash 1.2s linear infinite;
  }

  .service-card:hover .icon-wrench {
    animation: cc-tighten 1s var(--ease-out) infinite;
  }

  .service-card:hover .icon-gearbox__knob,
  .feature-card:hover .icon-gearbox__knob {
    animation: cc-shift 2.4s cubic-bezier(.65, 0, .35, 1) infinite;
  }

  .service-card:hover .icon-oil__drop,
  .feature-card:hover .icon-diesel__drop {
    animation: cc-drop 1.1s cubic-bezier(.4, 0, .2, 1) infinite;
  }

  .service-card:hover .icon-wash__drop {
    animation: cc-drop 1s cubic-bezier(.4, 0, .2, 1) infinite;
  }

  .service-card:hover .icon-wash__drop:nth-of-type(2) {
    animation-delay: .25s;
  }

  .service-card:hover .icon-wash__drop:nth-of-type(3) {
    animation-delay: .5s;
  }

  .service-card:hover .icon-tow__hook {
    animation: cc-swing 1.3s ease-in-out infinite;
  }
}

/* Em telas de toque os ícones animam uma vez quando o cartão aparece */
@media (hover: none) {
  .service-card:hover {
    border-color: var(--line-light);
    box-shadow: none;
    color: inherit;
    transform: none;
  }

  .service-card:hover::before {
    transform: translateY(101%);
  }

  .service-card:hover h3 {
    color: var(--navy-800);
  }

  .service-card:hover p {
    color: var(--ink-soft);
  }

  .service-card:hover .service-card__icon {
    background: var(--blue-100);
    color: var(--blue-600);
    transform: none;
  }

  .service-card:hover .service-card__link {
    color: var(--red);
  }

  .service-card.is-visible .icon-review__check {
    animation: cc-check-draw .7s var(--ease-out) .25s both;
  }

  .service-card.is-visible .icon-scan__wave {
    animation: cc-scan-wave 1.4s linear .2s 2;
  }

  .service-card.is-visible .icon-battery__bolt {
    animation: cc-bolt-flash 1.2s linear .2s;
  }

  .service-card.is-visible .icon-wrench {
    animation: cc-tighten 1s var(--ease-out) .2s 2;
  }

  .service-card.is-visible .icon-gearbox__knob {
    animation: cc-shift 2.4s cubic-bezier(.65, 0, .35, 1) .2s;
  }

  .service-card.is-visible .icon-oil__drop,
  .service-card.is-visible .icon-wash__drop {
    animation: cc-drop 1.1s cubic-bezier(.4, 0, .2, 1) .2s 2;
  }

  .service-card.is-visible .icon-tow__hook {
    animation: cc-swing 1.3s ease-in-out .2s;
  }
}

/* ---------- Centrocar Performance ---------- */

.section--performance {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, #1d5df047, #0000 40%),
    radial-gradient(circle at 0% 100%, #d7262d1f, #0000 34%),
    repeating-linear-gradient(135deg, #ffffff04 0 1px, #0000 1px 10px),
    linear-gradient(180deg, #050f29, var(--navy-900));
}

.section--performance > .container {
  position: relative;
  z-index: 1;
}

/* Palavra de fundo; letra preenchida bem transparente para não pesar */
.performance-mark {
  position: absolute;
  top: clamp(18px, 2vw, 34px);
  right: clamp(-40px, -2vw, 0px);
  color: #ffffff0b;
  font-family: var(--font-display);
  font-size: clamp(84px, 13vw, 210px);
  font-style: italic;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.performance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.performance-lead {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.perf-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.perf-list li {
  padding: 18px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: #ffffff08;
}

.perf-list strong,
.perf-list span {
  display: block;
}

.perf-list strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.perf-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Conta-giros: o ponteiro sobe conforme a rolagem */
.gauge {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
}

.gauge::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #1d5df059, #0000);
  opacity: .7;
  transition: background .6s, opacity .6s;
}

.gauge.is-redline::before {
  background: radial-gradient(closest-side, #ff3b424d, #0000);
  opacity: 1;
}

.gauge__svg {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.gauge__face {
  fill: url(#gauge-face);
  stroke: #ffffff14;
  stroke-width: 2;
}

.gauge__bezel {
  fill: none;
  stroke: #1d5df040;
  stroke-width: 2;
}

.gauge__redzone {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  opacity: .9;
}

.gauge__track {
  fill: none;
  stroke: #0f1f4a;
  stroke-width: 16;
}

.gauge__fill {
  fill: none;
  stroke: url(#gauge-fill);
  stroke-width: 16;
  stroke-dasharray: 1 1;
  /* Sem JS o conta-giros fica parado perto da faixa vermelha (6.900 rpm) */
  stroke-dashoffset: .1375;
  filter: drop-shadow(0 0 8px #4c86ff8c);
}

.gauge__tick {
  stroke: #ffffff59;
  stroke-width: 2;
  stroke-linecap: round;
}

.gauge__tick--major {
  stroke: #ffffffd9;
  stroke-width: 3;
}

.gauge__tick--red {
  stroke: var(--red-light);
}

.gauge__num {
  fill: #dfe8ff;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
  text-anchor: middle;
}

.gauge__num--red {
  fill: var(--red-light);
}

.gauge__unit {
  fill: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-anchor: middle;
  text-transform: uppercase;
}

.gauge__rpm {
  fill: var(--white);
  font-family: var(--font-display);
  font-size: 40px;
  font-style: italic;
  font-weight: 900;
  text-anchor: middle;
}

.gauge.is-redline .gauge__rpm {
  fill: var(--red-light);
}

.gauge__needle-body {
  fill: var(--red);
  filter: drop-shadow(0 0 6px #ff3b42a6);
}

.gauge__needle-tail {
  fill: #7a1013;
}

.gauge__hub {
  fill: #0b1838;
  stroke: var(--blue-400);
  stroke-width: 3;
}

.gauge__hub-dot {
  fill: var(--red);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(80px, 9vw, 124px);
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 42px 40px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: linear-gradient(180deg, #0d1c45, #081534);
  transition: border-color .35s, box-shadow .35s, transform .45s var(--ease-out);
}

.feature-card.reveal-item {
  transition:
    opacity .72s var(--ease-out) var(--reveal-delay, 0s),
    transform .84s var(--ease-out) var(--reveal-delay, 0s),
    filter .72s ease var(--reveal-delay, 0s),
    border-color .35s,
    box-shadow .35s;
}

/* Faixa que acende no topo do cartão */
.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 42px;
  right: 42px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--red));
  box-shadow: 0 0 18px #4c86ffa6;
  transform: scaleX(0);
  transition: transform .55s var(--ease-out);
}

.feature-card:hover {
  border-color: #4c86ff8c;
  box-shadow: 0 24px 50px #0000004d;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 10px 24px #1d5df04d;
}

.feature-card__icon svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.feature-card__tag {
  margin-bottom: 12px;
  color: var(--red-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.feature-card p:not(.feature-card__tag) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.feature-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: auto;
  padding-top: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #4c86ff59;
  border-radius: 999px;
  background: #1d5df026;
  color: #dfe8ff;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Números ---------- */

.stats {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 92px) 0;
  background: linear-gradient(115deg, var(--blue-700), var(--blue-500) 55%, #2f6dff);
}

/* Listras diagonais que deslizam com a rolagem */
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, #ffffff0d 0 2px, #0000 2px 26px);
  background-position: var(--stripe-x, 0px) 0;
  pointer-events: none;
}

.stats::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 8px clamp(20px, 4vw, 56px);
}

.stat + .stat {
  border-left: 1px solid #ffffff40;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(58px, 7.4vw, 96px);
  font-style: italic;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-size: .36em;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stat__star {
  color: var(--white);
}

.stat__label {
  margin: 0;
  color: #e3ebff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Por que a Centrocar ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

.trust-copy h2 {
  max-width: 600px;
  margin-bottom: 34px;
}

.trust-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.benefit-list {
  border-top: 1px solid var(--line-light);
}

.benefit-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-light);
}

.benefit-list__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue-500);
  box-shadow: 0 10px 24px #0a1f4d14, inset 0 0 0 1px var(--line-light);
  transition: background .35s, color .35s, transform .5s var(--ease-out);
}

.benefit-list__icon svg {
  width: 26px;
  height: 26px;
}

.benefit-list article:hover .benefit-list__icon {
  background: var(--blue-500);
  color: var(--white);
  transform: rotate(-8deg) scale(1.05);
}

.benefit-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Avaliações ---------- */

.reviews {
  margin-top: clamp(96px, 11vw, 150px);
}

.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.rating-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 36px #0a1f4d14;
  transition: border-color .3s, transform .45s var(--ease-out);
}

.rating-badge:hover {
  border-color: var(--blue-400);
  transform: translateY(-4px);
}

.rating-badge strong {
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 44px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.rating-badge small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.stars {
  display: block;
  color: var(--red);
  font-size: 17px;
  letter-spacing: 3px;
  line-height: 1;
}

/* Sem o movimento contínuo (sem JS ou com "reduzir movimento"), os cartões rolam na horizontal */
.marquee {
  overflow-x: auto;
  padding: 12px 24px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.marquee::-webkit-scrollbar {
  display: none;
}

.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.marquee__group {
  display: flex;
  gap: 20px;
}

.review-card {
  scroll-snap-align: center;
}

/* O JS duplica o grupo de avaliações e liga o movimento contínuo */
.marquee.is-running {
  overflow: hidden;
  padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 7%, #000 93%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 7%, #000 93%, #0000);
}

.marquee.is-running .marquee__track {
  animation: cc-marquee 52s linear infinite;
}

.marquee.is-running:hover .marquee__track,
.marquee.is-running:focus-within .marquee__track {
  animation-play-state: paused;
}

@keyframes cc-marquee {
  to {
    transform: translateX(calc(-50% - 10px));
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  width: min(370px, 80vw);
  margin: 0;
  padding: 30px 30px 26px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 30px #0a1f4d0f;
  transition: border-color .3s, transform .45s var(--ease-out);
}

.review-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-6px);
}

.review-card blockquote {
  margin: 18px 0 26px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-card__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 800;
}

.review-card figcaption strong,
.review-card figcaption small {
  display: block;
}

.review-card figcaption strong {
  color: var(--navy-800);
  font-size: 15px;
}

.review-card figcaption small {
  color: var(--ink-soft);
  font-size: 12px;
}

.reviews__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: 40px;
}

/* ---------- Como funciona ---------- */

.section--process {
  background:
    radial-gradient(circle at 12% 0%, #1d5df033, #0000 38%),
    linear-gradient(180deg, var(--navy-900), #050f29);
}

.section-title {
  margin-bottom: clamp(56px, 7vw, 84px);
}

.process-rail {
  display: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.process-card {
  position: relative;
  min-height: 300px;
  padding: 44px 40px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color .35s, box-shadow .45s, transform .45s var(--ease-out);
}

.process-card.reveal-item {
  transition:
    opacity .72s var(--ease-out) var(--reveal-delay, 0s),
    transform .84s var(--ease-out) var(--reveal-delay, 0s),
    filter .72s ease var(--reveal-delay, 0s),
    border-color .35s,
    box-shadow .45s;
}

.process-card:hover,
.process-card.is-on {
  border-color: #4c86ffb3;
  box-shadow: 0 24px 50px #00000059, 0 0 0 1px #4c86ff33;
}

.process-card > span {
  display: block;
  margin-bottom: 64px;
  color: var(--red-light);
  font-family: var(--font-display);
  font-size: 52px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.process-card h3 {
  margin-bottom: 16px;
  font-size: 21px;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

@media (width > 900px) {
  .section-title {
    margin-bottom: 64px;
  }

  /* Linha que enche com a rolagem e acende cada passo */
  .process-rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    height: 52px;
  }

  .process-rail__track {
    position: absolute;
    top: 10px;
    left: calc((100% - 52px) / 6);
    right: calc((100% - 52px) / 6);
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--line-dark);
  }

  .process-rail__fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400) 70%, var(--blue-300));
    transform: scaleX(0);
    transform-origin: 0 50%;
  }

  .process-rail__node {
    position: relative;
    justify-self: center;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid var(--line-dark);
    border-radius: 50%;
    background: var(--navy-900);
    transition: border-color .3s, background .3s, box-shadow .45s;
  }

  .process-rail__node::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 2px;
    height: 34px;
    background: var(--line-dark);
    transform: translateX(-50%);
    transition: background .3s;
  }

  .process-rail__node.is-on {
    border-color: var(--blue-400);
    background: var(--blue-500);
    box-shadow: 0 0 0 6px #1d5df040, 0 0 22px #4c86ffb3;
  }

  .process-rail__node.is-on::after {
    background: linear-gradient(var(--blue-400), #4c86ff00);
  }
}

/* ---------- Dúvidas ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(64px, 10vw, 150px);
}

.faq-heading {
  position: sticky;
  top: 40px;
  align-self: start;
}

.faq-heading h2 {
  margin-bottom: 30px;
}

.faq-heading > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.faq-list {
  border-top: 1px solid var(--line-light);
}

.faq-list details {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  position: relative;
  padding: 30px 64px 30px 0;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  transition: color .28s, padding-left .35s var(--ease-out);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  padding-left: 10px;
  color: var(--blue-600);
}

.faq-icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-light);
  transform: translateY(-50%);
  transition: background .3s, box-shadow .3s, transform .45s var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--blue-600);
  transition: background .3s;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-list summary:hover .faq-icon {
  box-shadow: inset 0 0 0 1px var(--blue-400);
}

.faq-list details[open]:not(.is-closing) .faq-icon {
  background: var(--red);
  box-shadow: none;
  transform: translateY(-50%) rotate(135deg);
}

.faq-list details[open]:not(.is-closing) .faq-icon::before,
.faq-list details[open]:not(.is-closing) .faq-icon::after {
  background: var(--white);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  max-width: 660px;
  margin: 0;
  padding-bottom: 32px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.faq-answer a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Chamada final ---------- */

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0 150px;
  background:
    radial-gradient(circle at 85% 20%, #4c86ff66, #0000 40%),
    linear-gradient(120deg, var(--blue-700), var(--blue-500));
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, #ffffff0a 0 2px, #0000 2px 24px);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.cta-section .eyebrow {
  color: #ffffffc7;
}

.cta-section h2 {
  max-width: 760px;
  font-size: clamp(38px, 5.6vw, 66px);
}

.cta-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: #061433;
  pointer-events: none;
}

/* Faixa tracejada da pista */
.cta-road::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, #ffffffb3 0 34px, #0000 34px 70px);
  transform: translateY(-50%);
}

.cta-road::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.cta-tire {
  position: absolute;
  right: clamp(24px, 9vw, 140px);
  bottom: 30px;
  width: clamp(92px, 10vw, 140px);
  aspect-ratio: 1;
  pointer-events: none;
}

.cta-tire__wheel {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 18px #00000059);
}

/* ---------- Rodapé ---------- */

/* Folga embaixo para o botão flutuante do WhatsApp não cobrir o crédito */
.footer {
  padding: clamp(96px, 10vw, 124px) 0 100px;
  background: linear-gradient(180deg, var(--ink-950), var(--black));
}

.footer__heading {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr .6fr;
  align-items: start;
  gap: 48px;
  margin-bottom: 64px;
}

.logo--compact {
  width: min(250px, 62vw);
}

.footer__brand p {
  max-width: 320px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer__title {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer address,
.footer__hours {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
}

.footer address a {
  color: var(--white);
  font-weight: 700;
  transition: color .3s;
}

.footer address a:hover {
  color: var(--blue-400);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.footer__links a {
  transition: color .3s, transform .35s var(--ease-out);
}

.footer__links a:hover {
  color: var(--blue-400);
  transform: translateX(4px);
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: var(--surface);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #6f7c9c;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer__credit {
  transition: color .3s;
}

.footer__credit b {
  color: #b4c0de;
  font-weight: 700;
  transition: color .3s;
}

.footer__credit:hover,
.footer__credit:hover b {
  color: var(--blue-400);
}

/* Botão flutuante do WhatsApp: aparece depois do topo */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 12px 30px #0000006b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.9);
  transition: opacity .4s ease, transform .5s var(--ease-out), background .3s;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.floating-whatsapp:hover {
  background: var(--red-deep);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* ---------- Entrada dos blocos ao rolar ---------- */

.reveal-item {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(52px) scale(.975);
  transition:
    opacity .72s var(--ease-out) var(--reveal-delay, 0s),
    transform .84s var(--ease-out) var(--reveal-delay, 0s),
    filter .72s ease var(--reveal-delay, 0s);
}

.reveal-item[data-reveal-direction="up"] {
  transform: translateY(-42px) scale(.975);
}

.reveal-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* ---------- Responsivo ---------- */

/* Quatro links lado a lado só quando cada cartão tem espaço para o texto */
@media (width <= 1280px) {
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__heading {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width <= 980px) {
  .hub-card__head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hub-card__head .logo {
    width: min(320px, 100%);
  }

  .performance-grid,
  .trust-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gauge {
    width: min(100%, 440px);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width <= 900px) {
  .topbar__action {
    display: none;
  }

  .link-hub {
    padding-top: 104px;
  }

  .link-hub__bands {
    right: -42%;
    opacity: .75;
  }

  .link-hub__band {
    width: 70vw;
  }

  .intro-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .intro-copy {
    padding-left: 0;
    border-left: 0;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-card {
    min-height: 0;
  }

  .process-card > span {
    margin-bottom: 40px;
  }

  .faq-heading {
    position: static;
  }

  .reviews__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat {
    padding: 22px 0;
  }

  .stat + .stat {
    border-top: 1px solid #ffffff40;
    border-left: 0;
  }
}

/*
 * Em notebooks (até 860px de altura) o topo encolhe junto com a altura da tela, para caber inteiro
 * na primeira tela sem o aviso de rolagem cobrir o endereço e o horário (1366×657, 1280×720).
 */
@media (width > 980px) and (height <= 860px) {
  .link-hub {
    padding-top: clamp(84px, 13vh - 12px, 100px);
    padding-bottom: clamp(78px, 11vh, 96px);
  }

  .hub-card {
    padding-top: clamp(36px, 7vh - 10px, 56px);
    padding-bottom: clamp(32px, 7vh - 14px, 56px);
  }

  .hub-card__head {
    grid-template-columns: minmax(200px, min(330px, 44vh)) minmax(0, 1fr);
  }

  .hub-card .eyebrow {
    margin-bottom: clamp(12px, 2.4vh, 20px);
  }

  .hub-card h1 {
    font-size: clamp(44px, min(5.4vw, 9.6vh), 70px);
  }

  .hub-news {
    margin-top: clamp(20px, 3.4vh, 30px);
  }

  .quick-links {
    margin-top: clamp(24px, 4.2vh, 36px);
  }

  .quick-link {
    min-height: clamp(74px, 10.4vh, 88px);
    padding: 16px 18px;
  }

  .hub-card__info {
    margin-top: clamp(20px, 3.6vh, 34px);
  }
}

/* Notebook estreito e baixo (1280×720): com os links em duas fileiras, eles e o título ficam mais baixos */
@media (980px < width <= 1280px) and (height <= 760px) {
  .hub-card h1 {
    font-size: clamp(44px, min(5.4vw, 8.6vh), 64px);
  }

  .quick-links {
    gap: 12px;
  }

  .quick-link {
    min-height: 64px;
    padding-block: 12px;
  }
}

/*
 * Monitores grandes: o topo cresce junto com a tela. --hub-u vale 1px na tela de referência
 * (1440×900) e aumenta pela largura ou pela altura, o que for menor, para o cartão continuar
 * cabendo na altura. A largura do cartão acompanha só a largura da tela, com o logo e o título
 * repartindo o espaço; o título tem um teto próprio pela altura (são duas linhas).
 */
@media (width >= 1440px) and (height > 860px) {
  .link-hub {
    --hub-u: clamp(1px, min(100vw / 1440, 100vh / 900), 1.6px);
    --hub-gutter: clamp(60px, 7vw - 41px, 260px);
    --hub-pad-x: clamp(72px, 4.6vw + 6px, 120px);
    padding: calc(104 * var(--hub-u)) var(--hub-gutter) calc(92 * var(--hub-u));
  }

  .topbar {
    width: min(100% - 2 * var(--hub-gutter), 2300px);
    padding-top: calc(26 * var(--hub-u));
  }

  .topbar__status {
    gap: calc(11 * var(--hub-u));
    padding: calc(9 * var(--hub-u)) calc(16 * var(--hub-u)) calc(9 * var(--hub-u)) calc(13 * var(--hub-u));
    font-size: calc(12 * var(--hub-u));
  }

  .topbar__action {
    font-size: calc(13 * var(--hub-u));
  }

  .hub-card {
    width: min(100%, 2300px);
    padding: calc(72 * var(--hub-u)) var(--hub-pad-x);
    border-radius: calc(22 * var(--hub-u));
  }

  .hub-card__accent {
    left: var(--hub-pad-x);
    width: calc(136 * var(--hub-u));
    height: calc(5 * var(--hub-u));
  }

  .hub-card__head {
    grid-template-columns: minmax(0, 37fr) minmax(0, 63fr);
    gap: clamp(72px, 7.5vw - 36px, 140px);
  }

  .hub-card .eyebrow {
    margin-bottom: calc(20 * var(--hub-u));
    font-size: calc(13 * var(--hub-u));
  }

  .hub-card h1 {
    font-size: clamp(84px, min(5.6vw, 24vh - 128px), 150px);
  }

  .hub-news {
    gap: calc(12 * var(--hub-u));
    margin-top: calc(30 * var(--hub-u));
    padding: calc(7 * var(--hub-u)) calc(18 * var(--hub-u)) calc(7 * var(--hub-u)) calc(7 * var(--hub-u));
    font-size: calc(14 * var(--hub-u));
  }

  .hub-news__tag {
    padding: calc(6 * var(--hub-u)) calc(11 * var(--hub-u));
    font-size: calc(11 * var(--hub-u));
  }

  .hub-news svg {
    width: calc(16 * var(--hub-u));
    height: calc(16 * var(--hub-u));
  }

  .quick-links {
    gap: calc(16 * var(--hub-u)) clamp(16px, 1.1vw, 26px);
    margin-top: calc(56 * var(--hub-u));
  }

  .quick-link {
    grid-template-columns: calc(46 * var(--hub-u)) minmax(0, 1fr) auto;
    gap: calc(14 * var(--hub-u));
    min-height: calc(100 * var(--hub-u));
    padding: calc(20 * var(--hub-u)) calc(22 * var(--hub-u));
    border-radius: calc(14 * var(--hub-u));
  }

  .quick-link__icon {
    width: calc(46 * var(--hub-u));
    height: calc(46 * var(--hub-u));
    border-radius: calc(11 * var(--hub-u));
  }

  .quick-link__icon svg {
    width: calc(26 * var(--hub-u));
    height: calc(26 * var(--hub-u));
  }

  .quick-link strong {
    font-size: calc(16 * var(--hub-u));
  }

  .quick-link small {
    font-size: calc(13 * var(--hub-u));
  }

  .quick-link__arrow svg {
    width: calc(18 * var(--hub-u));
    height: calc(18 * var(--hub-u));
  }

  .hub-card__info {
    gap: calc(8 * var(--hub-u)) calc(28 * var(--hub-u));
    margin-top: calc(34 * var(--hub-u));
    font-size: calc(14 * var(--hub-u));
  }
}

/* Telas largas: o conteúdo das seções também se abre, para não ficar estreito embaixo do topo */
@media (width >= 1600px) {
  :root {
    --container: clamp(1180px, 66vw, 1480px);
  }

  h2 {
    font-size: clamp(62px, 3.4vw, 80px);
  }
}

@media (width <= 620px) {
  .container,
  .topbar {
    width: min(100% - 32px, var(--container));
  }

  .link-hub {
    place-items: start center;
    padding: 84px 16px 100px;
  }

  .topbar {
    padding-top: 18px;
  }

  .topbar__status {
    font-size: 11px;
  }

  .hub-card {
    padding: 38px 22px 34px;
    border-radius: 16px;
  }

  .hub-card__accent {
    left: 22px;
    width: 96px;
  }

  .hub-card__head .logo {
    width: min(280px, 100%);
  }

  .hub-card h1 {
    font-size: clamp(40px, 12.4vw, 56px);
  }

  .hub-news {
    font-size: 13px;
  }

  .quick-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 34px;
  }

  .quick-link {
    min-height: 84px;
    padding: 16px;
  }

  .hub-card__info {
    flex-direction: column;
    margin-top: 26px;
    font-size: 13px;
  }

  .section {
    padding: 104px 0;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .service-card {
    min-height: 0;
    padding: 34px 28px;
  }

  .service-card__icon {
    margin-bottom: 30px;
  }

  .perf-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card {
    padding: 36px 26px 32px;
  }

  .feature-card::before {
    left: 26px;
    right: 26px;
  }

  .benefit-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 28px 0;
  }

  .benefit-list__icon {
    width: 46px;
    height: 46px;
  }

  .review-card {
    padding: 26px 24px 22px;
  }

  .faq-list summary {
    padding-block: 26px;
    font-size: 17px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .cta-section {
    padding: 88px 0 150px;
  }

  /* Para à esquerda do botão flutuante do WhatsApp */
  .cta-tire {
    right: 96px;
  }

  .footer {
    padding-bottom: 96px;
  }

  .footer__heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .map-wrap iframe {
    min-height: 340px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* No celular o botão do WhatsApp vira um círculo com o ícone */
  .floating-whatsapp {
    width: 56px;
    min-height: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }

  .scroll-cue.scroll-cue--floating {
    margin: 0 0 0 16px;
  }
}

@media (width <= 420px) {
  .scroll-cue.scroll-cue--floating {
    gap: 10px;
    padding: 9px 12px 9px 15px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .topbar__status {
    padding: 8px 13px 8px 11px;
    letter-spacing: .04em;
  }
}

@media (hover: none) {
  .quick-link:hover {
    border-color: var(--line-dark);
    background: #0a1430;
    box-shadow: none;
    transform: none;
  }

  .button:hover {
    box-shadow: none;
    transform: none;
  }

  .feature-card:hover,
  .process-card:hover {
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
