/* ============================================================
   GARAGE 67 - CARTÃO VIRTUAL
   Acabamento: grafite + cromo + latão + oxblood da marca.
   ============================================================ */

:root {
  color-scheme: dark;

  /* Base grafite */
  --ink: #06060a;
  --ink-2: #0a0b0f;
  --blacktop: #101216;
  --asphalt: #171a1f;

  /* Cromo / aço */
  --chrome: #eef1f5;
  --chrome-2: #c3c9d1;
  --steel: #8d939c;
  --steel-dark: #3d4249;

  /* Latão da marca */
  --brass: #c79a4f;
  --brass-light: #efd9a4;
  --brass-deep: #6f5527;

  /* Oxblood da marca */
  --oxblood: #5e1714;
  --oxblood-light: #a32d25;

  /* Osso / tipografia */
  --bone: #f4efe4;
  --bone-soft: rgba(244, 239, 228, 0.64);
  --bone-faint: rgba(244, 239, 228, 0.54);

  --line: rgba(239, 217, 164, 0.14);
  --line-strong: rgba(239, 217, 164, 0.34);

  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;

  --radius-xl: 30px;
  --radius-md: 18px;
  --radius-sm: 13px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.5, 0.64, 1);

  /* Sombra em camadas: contato + difusa + ambiente */
  --depth:
    0 1px 1px rgba(0, 0, 0, 0.6),
    0 4px 10px -3px rgba(0, 0, 0, 0.55),
    0 18px 34px -14px rgba(0, 0, 0, 0.72),
    0 56px 96px -34px rgba(0, 0, 0, 0.95);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-ui);
  color: var(--bone);
  background-color: #050507;
  background-image:
    radial-gradient(120% 62% at 50% -16%, rgba(239, 217, 164, 0.10), transparent 62%),
    radial-gradient(58% 42% at 4% 16%, rgba(163, 45, 37, 0.20), transparent 70%),
    radial-gradient(56% 44% at 98% 86%, rgba(199, 154, 79, 0.14), transparent 70%),
    radial-gradient(115% 95% at 50% 46%, #14161b 0%, #0a0b0e 52%, #040406 100%);
  overflow-x: hidden;
}

/* Vinheta de estúdio */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(105% 80% at 50% 42%, transparent 44%, rgba(0, 0, 0, 0.62) 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(199, 154, 79, 0.32);
  color: #fff;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 486px);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(18px, 5vw, 44px) 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feixe de luz superior, como spot de oficina sobre a peça */
.page-shell::before {
  content: "";
  position: fixed;
  top: -4vh;
  left: 50%;
  width: 100vw;
  height: 60vh;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(46% 100% at 50% 0%, rgba(239, 217, 164, 0.12), rgba(239, 217, 164, 0.04) 46%, transparent 72%);
}

/* ============================================================
   CARTÃO
   ============================================================ */

.card {
  position: relative;
  width: 100%;
  padding: clamp(15px, 4.4vw, 22px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(239, 217, 164, 0.15);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 15%),
    radial-gradient(88% 42% at 50% 0%, rgba(199, 154, 79, 0.13), transparent 68%),
    linear-gradient(168deg, #1b1d22 0%, #111317 34%, #08090b 76%, #0c0d11 100%);
  box-shadow:
    var(--depth),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}

/* Fio de luz cromado na aresta superior */
.card::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
}

/* Luz de estúdio presa ao cartão. Era um conic girando numa camada de
   1242x2831px (~143 MB de textura a 3x): o celular não dava conta. */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(70% 32% at 18% 4%, rgba(239, 217, 164, 0.1), transparent 70%),
    radial-gradient(60% 26% at 88% 62%, rgba(163, 45, 37, 0.1), transparent 72%);
}

/* Moldura interna gravada */
.bezel {
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
  border: 1px solid rgba(244, 239, 228, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

/* Verniz: reflexo fixo de lacca, como um cartão sob luz de estúdio */
.sheen {
  position: absolute;
  inset: -1px;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(103deg, rgba(255, 255, 255, 0.075) 0 16%, rgba(255, 255, 255, 0.015) 26%, transparent 40%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18px 18px, rgba(255, 255, 255, 0.055) 1px, transparent 1.4px),
    radial-gradient(circle at 4px 9px, rgba(255, 255, 255, 0.03) 0.8px, transparent 1px);
  background-size: 38px 38px, 19px 19px;
}

.light-orb {
  position: absolute;
  width: 260px;
  height: 260px;
  z-index: -2;
  pointer-events: none;
  opacity: 0.34;
  transition: opacity 420ms ease;
}

.light-orb--left {
  top: 74px;
  left: -112px;
  background: radial-gradient(circle, rgba(163, 45, 37, 0.62), rgba(163, 45, 37, 0.18) 42%, transparent 70%);
}

.light-orb--right {
  right: -114px;
  bottom: 116px;
  background: radial-gradient(circle, rgba(199, 154, 79, 0.5), rgba(199, 154, 79, 0.14) 42%, transparent 70%);
}

/* ============================================================
   TOPO DO CARTÃO
   ============================================================ */

.hero {
  position: relative;
  text-align: center;
  padding: 8px 2px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(239, 217, 164, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)),
    rgba(8, 8, 10, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.45);
  color: var(--brass-light);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brass-light);
  box-shadow: 0 0 0 3px rgba(239, 217, 164, 0.13), 0 0 10px rgba(239, 217, 164, 0.9);
  animation: livePulse 2.6s ease-in-out infinite;
}

/* ============================================================
   MOTOR EM V - geometria original preservada, acabamento refeito
   em cromo escovado. A cinemática vem das keyframes reais
   (biela-manivela) no fim do arquivo.
   ============================================================ */

.engine-rig {
  --cycle: 1.05s;
  position: relative;
  width: min(84%, 320px);
  height: 132px;
  margin: 2px auto -38px;
  pointer-events: none;
  z-index: 3;
}

/* Bloco central do motor */
.engine-rig::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 88px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 46px 46px 12px 12px;
  background:
    radial-gradient(circle at 50% 26%, rgba(239, 217, 164, 0.4), transparent 40%),
    linear-gradient(180deg, #2f3238 0%, #14161a 66%, #06070a 100%);
  border: 1px solid rgba(239, 217, 164, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -12px 18px rgba(0, 0, 0, 0.62),
    0 8px 18px rgba(0, 0, 0, 0.5),
    0 22px 26px -10px rgba(0, 0, 0, 0.7);
}

/* Eixo central (virabrequim) - uma volta por ciclo completo dos pistões */
.engine-rig::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(255, 252, 240, 0.6) 0deg 13deg, transparent 19deg 341deg, rgba(255, 252, 240, 0.6) 347deg 360deg),
    radial-gradient(circle at 50% 50%, #08090b 0 27%, #e4d6b6 29% 38%, #4c4f56 40% 58%, #101216 61% 100%);
  border: 1px solid rgba(239, 217, 164, 0.3);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.22),
    0 8px 14px rgba(0, 0, 0, 0.55);
  animation: crankSpin var(--cycle) linear infinite;
}

/* Camisas do cilindro: o "cano" fixo por onde o pistão desliza */
.cylinder {
  position: absolute;
  top: 0;
  width: 78px;
  height: 124px;
  transform-origin: 50% 112px;
  z-index: 1;
}

.cylinder--left {
  left: 23%;
  transform: rotate(-25deg);
}

.cylinder--right {
  right: 23%;
  transform: rotate(25deg);
}

.cylinder::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 68px;
  height: 96px;
  transform: translateX(-50%);
  border-radius: 15px 15px 8px 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(255, 255, 255, 0.09) 9%, transparent 22% 78%, rgba(255, 255, 255, 0.06) 91%, rgba(0, 0, 0, 0.66) 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #22252b 0%, #14161a 46%, #08090b 100%);
  border: 1px solid rgba(239, 217, 164, 0.13);
  box-shadow:
    inset 0 14px 18px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(0, 0, 0, 0.42),
    0 8px 14px rgba(0, 0, 0, 0.38);
}

/* Aro cromado na boca do cilindro, onde a luz bate */
.cylinder::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 68px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 244, 235, 0.62), rgba(140, 145, 155, 0.24) 58%, transparent);
  opacity: 0.8;
}

/* Conjunto pistão + biela */
.piston {
  position: absolute;
  top: 0;
  width: 78px;
  height: 124px;
  transform-origin: 50% 112px;
  z-index: 2;
  /* curva calculada pela cinemática real de biela-manivela (não é um easing genérico) */
  animation: pistonStrokeReal var(--cycle) linear infinite;
}

.piston--left {
  left: 23%;
  --tilt: -25deg;
  --side: -1;
  animation-delay: 0s;
}

.piston--right {
  right: 23%;
  --tilt: 25deg;
  --side: 1;
  animation-delay: calc(var(--cycle) / -2);
}

/* Corpo real do pistão, em alumínio polido */
.piston i {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 2;
  display: block;
  width: 66px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 13px 13px 19px 19px / 12px 12px 18px 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 14% 84%, rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(
      180deg,
      transparent 0 8px,
      rgba(0, 0, 0, 0.5) 8px 10px,
      rgba(255, 252, 240, 0.16) 10px 11px
    ),
    linear-gradient(180deg, #eef1f5 0%, #b3b9c2 30%, #5c6169 66%, #20232a 100%);
  border: 1px solid rgba(248, 244, 235, 0.38);
  box-shadow:
    inset 0 8px 10px rgba(255, 255, 255, 0.22),
    inset 0 -14px 18px rgba(0, 0, 0, 0.55),
    0 9px 16px rgba(0, 0, 0, 0.45);
}

/* Coroa arredondada do pistão */
.piston i::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -7px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(180deg, #f6f8fb, #9aa0a9 70%, #4b4f57);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 -5px 7px rgba(0, 0, 0, 0.3);
}

/* Pino do pistão */
.piston i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 11px;
  width: 34px;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, #05060a 0 23%, #7f858f 25% 38%, #14161a 41% 100%);
  border: 1px solid rgba(248, 244, 235, 0.22);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.16),
    0 1px 3px rgba(0, 0, 0, 0.48);
}

/* Biela em aço com aresta de latão */
.piston b {
  position: absolute;
  left: 50%;
  top: 47px;
  z-index: 1;
  display: block;
  width: 16px;
  height: 76px;
  transform-origin: top center;
  border-radius: 999px;
  background: linear-gradient(90deg, #24272d 0%, #c9b28b 30%, #f3e2be 50%, #6b7079 74%, #15171b 100%);
  border-left: 1px solid rgba(255, 252, 240, 0.18);
  border-right: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.38),
    0 5px 10px rgba(0, 0, 0, 0.45);
  animation: rodAngleReal var(--cycle) linear infinite;
}

.piston--left b {
  animation-delay: 0s;
}

.piston--right b {
  animation-delay: calc(var(--cycle) / -2);
}

/* Olhal pequeno da biela, preso no pino do pistão */
.piston b::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -11px;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #06070a 0 28%, #e0cfa8 30% 42%, #565b63 44% 64%, #14161a 67% 100%);
  border: 1px solid rgba(248, 244, 235, 0.3);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.18),
    0 4px 8px rgba(0, 0, 0, 0.45);
}

/* Olhal grande da biela, próximo ao eixo */
.piston b::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19px;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #05060a 0 25%, #decba2 27% 38%, #4d5259 40% 62%, #121418 65% 100%);
  border: 1px solid rgba(248, 244, 235, 0.26);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.16),
    0 7px 12px rgba(0, 0, 0, 0.5);
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brass-light);
  box-shadow: 0 0 14px var(--brass-light), 0 0 28px rgba(163, 45, 37, 0.9);
  opacity: 0;
  z-index: 3;
  /* dispara a cada 2 voltas de virabrequim, como a centelha de um 4 tempos */
  animation: sparkBlink calc(var(--cycle) * 2) linear infinite;
}

.spark--one {
  left: 27%;
  top: 18px;
}

.spark--two {
  right: 25%;
  top: 48px;
  animation-delay: var(--cycle);
}

/* Acelerada: o motor esquenta enquanto o toque acontece.
   Só opacidade e brilho de fundo - nada que obrigue a redesenhar os pistões. */
.card.is-revving .light-orb {
  opacity: 0.6;
}

.card.is-revving .spark {
  box-shadow: 0 0 18px var(--brass-light), 0 0 38px rgba(163, 45, 37, 1);
}

/* Pistões e emblema param quando saem da tela: numa rolagem longa o
   celular não gasta bateria animando o que ninguém está vendo. */
.engine-rig.is-asleep::after,
.engine-rig.is-asleep .piston,
.engine-rig.is-asleep .piston b,
.engine-rig.is-asleep .spark,
.logo-stage.is-asleep::before,
.logo-stage.is-asleep .logo-halo,
.logo-stage.is-asleep .logo-frame {
  animation-play-state: paused;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo-stage {
  position: relative;
  /* o 40vh evita que o emblema domine a tela em telas baixas / paisagem */
  width: min(64vw, 40vh, 244px);
  margin: 0 auto 14px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  z-index: 2;
}

/* Anel de marcações, como bisel de instrumento */
.logo-stage::before {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.34;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(244, 239, 228, 0.5) 0deg 0.5deg,
    transparent 0.5deg 6deg
  );
  mask: radial-gradient(circle, transparent 0 65%, #000 66% 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 0 65%, #000 66% 70%, transparent 71%);
  animation: haloSpin 46s linear infinite;
}

.logo-halo {
  position: absolute;
  inset: -20px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    rgba(239, 217, 164, 0.14),
    rgba(163, 45, 37, 0.26),
    rgba(239, 217, 164, 0.08),
    rgba(141, 147, 156, 0.3),
    rgba(239, 217, 164, 0.14)
  );
  opacity: 0.55;
  transition: opacity 360ms ease;
  mask: radial-gradient(circle, #000 44%, rgba(0, 0, 0, 0.35) 68%, transparent 82%);
  -webkit-mask: radial-gradient(circle, #000 44%, rgba(0, 0, 0, 0.35) 68%, transparent 82%);
  animation: haloSpin 14s linear infinite;
}

/* Bisel usinado: gradiente cônico simulando cromo torneado */
.logo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 7px;
  background: conic-gradient(
    from 212deg,
    #f8f4eb 0deg,
    #8b8f98 32deg,
    #23262c 76deg,
    #e8dcbc 128deg,
    #474b53 186deg,
    #d9c8a0 242deg,
    #1d2024 300deg,
    #f8f4eb 360deg
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.72),
    0 20px 40px -12px rgba(0, 0, 0, 0.85),
    0 0 46px -10px rgba(199, 154, 79, 0.3);
  animation: engineIdle 0.64s steps(2, end) infinite;
}

/* Gloss de vidro sobre o emblema */
.logo-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(202deg, rgba(255, 255, 255, 0.16) 0 16%, rgba(255, 255, 255, 0.03) 28%, transparent 44%);
}

.logo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #050507;
  box-shadow:
    inset 0 0 0 1px rgba(244, 239, 228, 0.12),
    inset 0 0 26px rgba(0, 0, 0, 0.75);
}

/* ============================================================
   MARCA
   ============================================================ */

.brand-copy {
  position: relative;
  z-index: 2;
}

.metal-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #16120b;
  background:
    linear-gradient(100deg, transparent 34%, rgba(255, 255, 255, 0.5) 46%, transparent 58%),
    linear-gradient(180deg, #f7e6bf 0%, #d8b169 44%, #a67c33 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  border: 1px solid rgba(255, 248, 232, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 5px rgba(88, 60, 16, 0.4),
    0 8px 18px -6px rgba(0, 0, 0, 0.6);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: badgeSheen 3.4s var(--ease-out) 800ms both;
}

.metal-badge::before,
.metal-badge::after {
  content: "★";
  color: var(--oxblood);
  font-size: 0.62rem;
  text-shadow: none;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  /* o teto menor garante uma linha só mesmo se a webfont não carregar */
  font-size: clamp(3.2rem, 18.5vw, 5.2rem);
  line-height: 0.9;
  color: var(--bone);
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.6))
    drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 26px rgba(199, 154, 79, 0.18));
}

/* Letreiro cromado com brilho que atravessa o texto */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1 {
    background-image:
      linear-gradient(100deg, transparent 22%, rgba(255, 255, 255, 0.9) 42%, transparent 60%),
      linear-gradient(180deg, #fffdf7 2%, #f1e6d0 30%, #cbbc9c 49%, #7e7869 60%, #efe3ca 76%, #fffdf7 100%);
    background-size: 240% 100%, 100% 100%;
    background-position: -70% 0, 0 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* uma passada só: animar background-position repinta o texto
       a cada quadro, e em loop infinito isso pesa no celular */
    animation: chromeSheen 4s var(--ease-out) 500ms both;
  }
}

.brand-copy p {
  max-width: 33ch;
  margin: 13px auto 0;
  color: var(--bone-soft);
  font-size: 0.925rem;
  line-height: 1.62;
  letter-spacing: 0.004em;
  text-wrap: balance;
}

/* Divisória gravada entre a marca e os direcionamentos */
.rule {
  position: relative;
  height: 1px;
  margin: 20px 6px 16px;
  background: linear-gradient(90deg, transparent, rgba(239, 217, 164, 0.28) 22%, rgba(239, 217, 164, 0.28) 78%, transparent);
}

.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, var(--brass-light), var(--brass-deep));
  box-shadow: 0 0 0 4px #101216, 0 0 14px rgba(239, 217, 164, 0.5);
}

/* ============================================================
   DIRECIONAMENTOS
   ============================================================ */

.actions {
  display: grid;
  gap: 10px;
}

.action {
  --accent: 199, 154, 79;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 26px;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 10px 12px;
  overflow: hidden;
  isolation: isolate;
  color: var(--bone);
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(244, 239, 228, 0.09);
  border-radius: var(--radius-md);
  background-image:
    radial-gradient(130px 90px at var(--mx, 16%) var(--my, 50%), rgba(var(--accent), 0.16), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 44%),
    linear-gradient(180deg, rgba(24, 26, 31, 0.94), rgba(11, 12, 15, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 8px 18px -9px rgba(0, 0, 0, 0.78);
  transition:
    transform 440ms var(--ease-out),
    border-color 260ms ease,
    box-shadow 440ms var(--ease-out);
  cursor: pointer;
}

/* Faixa de luz que varre o botão */
.action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease-out);
}

/* Traço de latão que se desenha na base */
.action::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--accent), 0.95), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms var(--ease-out);
}

.action-icon,
.action-text,
.action-go {
  position: relative;
  z-index: 1;
}

.action-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--brass-light);
  background-image:
    radial-gradient(circle at 50% 122%, rgba(var(--accent), 0.4), transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.01) 46%),
    linear-gradient(180deg, #23262c, #0f1114);
  border: 1px solid rgba(244, 239, 228, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 4px rgba(0, 0, 0, 0.62),
    0 4px 10px -4px rgba(0, 0, 0, 0.8);
  transition:
    transform 520ms var(--ease-spring),
    box-shadow 320ms ease,
    color 320ms ease;
}

.action-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

.action strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--bone);
}

.action small {
  display: block;
  margin-top: 3px;
  color: var(--bone-faint);
  font-size: 0.755rem;
  line-height: 1.3;
  text-wrap: balance;
}

.action-go {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1;
  padding-bottom: 2px;
  color: rgba(239, 217, 164, 0.82);
  border: 1px solid rgba(239, 217, 164, 0.18);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 520ms var(--ease-spring),
    background 300ms ease,
    color 300ms ease,
    border-color 300ms ease;
}

/* O emblema reage antes do clique, como quem gira a chave */
@media (hover: hover) and (pointer: fine) {
  .logo-stage:hover .logo-halo {
    opacity: 0.85;
  }

  .logo-stage:hover .logo-frame {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 0 0 1px rgba(0, 0, 0, 0.72),
      0 22px 44px -12px rgba(0, 0, 0, 0.85),
      0 0 62px -8px rgba(199, 154, 79, 0.55);
  }
}

/* Estados de realce: hover no desktop, pressão no toque */
@media (hover: hover) and (pointer: fine) {
  .action:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--accent), 0.46);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.13),
      0 16px 28px -12px rgba(0, 0, 0, 0.88),
      0 0 0 1px rgba(var(--accent), 0.16),
      0 0 30px -12px rgba(var(--accent), 0.6);
  }

  .action:hover::before {
    transform: translateX(130%);
  }

  .action:hover::after {
    transform: scaleX(1);
  }

  .action:hover .action-icon {
    transform: translateY(-1px) scale(1.07) rotate(-4deg);
    color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -2px 4px rgba(0, 0, 0, 0.62),
      0 6px 14px -4px rgba(0, 0, 0, 0.8),
      0 0 22px -6px rgba(var(--accent), 0.95);
  }

  .action:hover .action-go {
    transform: translateX(5px);
    color: #100e09;
    border-color: rgba(var(--accent), 0.7);
    background: linear-gradient(180deg, rgba(var(--accent), 1), rgba(var(--accent), 0.72));
  }
}

.action:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(var(--accent), 0.55);
  box-shadow:
    0 0 0 2px rgba(239, 217, 164, 0.85),
    0 0 0 6px rgba(199, 154, 79, 0.2),
    0 14px 26px -12px rgba(0, 0, 0, 0.85);
}

.action:focus-visible::after {
  transform: scaleX(1);
}

.action.is-pressed,
.action:active {
  transform: scale(0.976);
  border-color: rgba(var(--accent), 0.5);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.7),
    0 2px 6px -2px rgba(0, 0, 0, 0.7);
}

.action.is-pressed::after {
  transform: scaleX(1);
}

.action.is-pressed .action-go {
  transform: translateX(7px);
  color: #100e09;
  background: linear-gradient(180deg, rgba(var(--accent), 1), rgba(var(--accent), 0.72));
}

/* Ignição sob o dedo: o chip do ícone acende no toque */
.action.is-pressed .action-icon {
  transform: scale(0.94);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 4px rgba(0, 0, 0, 0.62),
    0 0 0 3px rgba(var(--accent), 0.22),
    0 0 26px 0 rgba(var(--accent), 0.95);
}

/* Onda que nasce exatamente onde o dedo toca */
.ripple {
  position: absolute;
  z-index: 0;
  width: var(--r-size);
  height: var(--r-size);
  top: var(--r-y);
  left: var(--r-x);
  margin: calc(var(--r-size) / -2) 0 0 calc(var(--r-size) / -2);
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent), 0.55), rgba(var(--accent), 0.14) 52%, transparent 72%);
  transform: scale(0);
  animation: rippleOut 640ms var(--ease-out) forwards;
}

/* Acentos por direcionamento, dentro da paleta da marca */
.action[data-link="whatsapp"] { --accent: 108, 188, 132; }
.action[data-link="miniaturas"] { --accent: 199, 154, 79; }
.action[data-link="pecas"] { --accent: 154, 163, 175; }
.action[data-link="carros"] { --accent: 176, 62, 50; }
.action[data-link="localizacao"] { --accent: 216, 177, 105; }
.action[data-link="instagram"] { --accent: 186, 104, 142; }

/* ============================================================
   RODAPÉ
   ============================================================ */

.footer {
  margin-top: 20px;
  padding-top: 16px;
  text-align: center;
  color: var(--bone-faint);
  border-top: 1px solid rgba(244, 239, 228, 0.07);
}

.footer p {
  margin: 0;
  font-size: 0.815rem;
  line-height: 1.5;
}

/* Assinatura da casa: nome em placa de latão */
.footer p:first-child {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.footer p:nth-child(2) {
  margin-top: 3px;
  color: var(--bone-soft);
  font-size: 0.78rem;
}

.developer-credit {
  margin-top: 12px;
}

.developer-credit a {
  display: inline-block;
  padding: 2px 4px;
  color: rgba(239, 217, 164, 0.66);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 217, 164, 0.22);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.developer-credit a:hover,
.developer-credit a:focus-visible {
  color: var(--brass-light);
  border-bottom-color: var(--line-strong);
}

.developer-credit a:focus-visible {
  outline: 2px solid var(--line-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   AVISO
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  max-width: min(92vw, 430px);
  padding: 13px 18px;
  transform: translate(-50%, 18px);
  color: var(--bone);
  background: linear-gradient(180deg, rgba(30, 32, 38, 0.96), rgba(13, 14, 17, 0.96));
  border: 1px solid rgba(239, 217, 164, 0.34);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  transition: opacity 260ms ease, transform 380ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   CINEMATICA REAL DO MOTOR (preservada da versao original)
   ============================================================ */


/* Curso do pistão derivado da fórmula real de biela-manivela:
   s(θ) = r(1-cosθ) + L - √(L² - r²sin²θ), com raio de manivela r e biela L.
   Isso produz o "dwell" característico perto do ponto morto (a curva não é senoidal),
   diferente de um easing genérico. */
@keyframes pistonStrokeReal {
  0% { transform: rotate(var(--tilt)) translateY(0px); }
  2.08% { transform: rotate(var(--tilt)) translateY(0.1px); }
  4.17% { transform: rotate(var(--tilt)) translateY(0.41px); }
  6.25% { transform: rotate(var(--tilt)) translateY(0.91px); }
  8.33% { transform: rotate(var(--tilt)) translateY(1.59px); }
  10.42% { transform: rotate(var(--tilt)) translateY(2.43px); }
  12.5% { transform: rotate(var(--tilt)) translateY(3.41px); }
  14.58% { transform: rotate(var(--tilt)) translateY(4.51px); }
  16.67% { transform: rotate(var(--tilt)) translateY(5.7px); }
  18.75% { transform: rotate(var(--tilt)) translateY(6.95px); }
  20.83% { transform: rotate(var(--tilt)) translateY(8.23px); }
  22.92% { transform: rotate(var(--tilt)) translateY(9.51px); }
  25% { transform: rotate(var(--tilt)) translateY(10.78px); }
  27.08% { transform: rotate(var(--tilt)) translateY(11.99px); }
  29.17% { transform: rotate(var(--tilt)) translateY(13.15px); }
  31.25% { transform: rotate(var(--tilt)) translateY(14.22px); }
  33.33% { transform: rotate(var(--tilt)) translateY(15.2px); }
  35.42% { transform: rotate(var(--tilt)) translateY(16.08px); }
  37.5% { transform: rotate(var(--tilt)) translateY(16.85px); }
  39.58% { transform: rotate(var(--tilt)) translateY(17.5px); }
  41.67% { transform: rotate(var(--tilt)) translateY(18.04px); }
  43.75% { transform: rotate(var(--tilt)) translateY(18.46px); }
  45.83% { transform: rotate(var(--tilt)) translateY(18.76px); }
  47.92% { transform: rotate(var(--tilt)) translateY(18.94px); }
  50% { transform: rotate(var(--tilt)) translateY(19px); }
  52.08% { transform: rotate(var(--tilt)) translateY(18.94px); }
  54.17% { transform: rotate(var(--tilt)) translateY(18.76px); }
  56.25% { transform: rotate(var(--tilt)) translateY(18.46px); }
  58.33% { transform: rotate(var(--tilt)) translateY(18.04px); }
  60.42% { transform: rotate(var(--tilt)) translateY(17.5px); }
  62.5% { transform: rotate(var(--tilt)) translateY(16.85px); }
  64.58% { transform: rotate(var(--tilt)) translateY(16.08px); }
  66.67% { transform: rotate(var(--tilt)) translateY(15.2px); }
  68.75% { transform: rotate(var(--tilt)) translateY(14.22px); }
  70.83% { transform: rotate(var(--tilt)) translateY(13.15px); }
  72.92% { transform: rotate(var(--tilt)) translateY(11.99px); }
  75% { transform: rotate(var(--tilt)) translateY(10.78px); }
  77.08% { transform: rotate(var(--tilt)) translateY(9.51px); }
  79.17% { transform: rotate(var(--tilt)) translateY(8.23px); }
  81.25% { transform: rotate(var(--tilt)) translateY(6.95px); }
  83.33% { transform: rotate(var(--tilt)) translateY(5.7px); }
  85.42% { transform: rotate(var(--tilt)) translateY(4.51px); }
  87.5% { transform: rotate(var(--tilt)) translateY(3.41px); }
  89.58% { transform: rotate(var(--tilt)) translateY(2.43px); }
  91.67% { transform: rotate(var(--tilt)) translateY(1.59px); }
  93.75% { transform: rotate(var(--tilt)) translateY(0.91px); }
  95.83% { transform: rotate(var(--tilt)) translateY(0.41px); }
  97.92% { transform: rotate(var(--tilt)) translateY(0.1px); }
  100% { transform: rotate(var(--tilt)) translateY(0px); }
}

/* Ângulo da biela derivado da mesma cinemática: φ(θ) = asin(r·sinθ / L) */
@keyframes rodAngleReal {
  0% { transform: translateX(-50%) rotate(calc(var(--side) * 0deg)); }
  2.08% { transform: translateX(-50%) rotate(calc(var(--side) * 1.97deg)); }
  4.17% { transform: translateX(-50%) rotate(calc(var(--side) * 3.92deg)); }
  6.25% { transform: translateX(-50%) rotate(calc(var(--side) * 5.8deg)); }
  8.33% { transform: translateX(-50%) rotate(calc(var(--side) * 7.58deg)); }
  10.42% { transform: translateX(-50%) rotate(calc(var(--side) * 9.24deg)); }
  12.5% { transform: translateX(-50%) rotate(calc(var(--side) * 10.75deg)); }
  14.58% { transform: translateX(-50%) rotate(calc(var(--side) * 12.08deg)); }
  16.67% { transform: translateX(-50%) rotate(calc(var(--side) * 13.21deg)); }
  18.75% { transform: translateX(-50%) rotate(calc(var(--side) * 14.11deg)); }
  20.83% { transform: translateX(-50%) rotate(calc(var(--side) * 14.77deg)); }
  22.92% { transform: translateX(-50%) rotate(calc(var(--side) * 15.17deg)); }
  25% { transform: translateX(-50%) rotate(calc(var(--side) * 15.3deg)); }
  27.08% { transform: translateX(-50%) rotate(calc(var(--side) * 15.17deg)); }
  29.17% { transform: translateX(-50%) rotate(calc(var(--side) * 14.77deg)); }
  31.25% { transform: translateX(-50%) rotate(calc(var(--side) * 14.11deg)); }
  33.33% { transform: translateX(-50%) rotate(calc(var(--side) * 13.21deg)); }
  35.42% { transform: translateX(-50%) rotate(calc(var(--side) * 12.08deg)); }
  37.5% { transform: translateX(-50%) rotate(calc(var(--side) * 10.75deg)); }
  39.58% { transform: translateX(-50%) rotate(calc(var(--side) * 9.24deg)); }
  41.67% { transform: translateX(-50%) rotate(calc(var(--side) * 7.58deg)); }
  43.75% { transform: translateX(-50%) rotate(calc(var(--side) * 5.8deg)); }
  45.83% { transform: translateX(-50%) rotate(calc(var(--side) * 3.92deg)); }
  47.92% { transform: translateX(-50%) rotate(calc(var(--side) * 1.97deg)); }
  50% { transform: translateX(-50%) rotate(calc(var(--side) * 0deg)); }
  52.08% { transform: translateX(-50%) rotate(calc(var(--side) * -1.97deg)); }
  54.17% { transform: translateX(-50%) rotate(calc(var(--side) * -3.92deg)); }
  56.25% { transform: translateX(-50%) rotate(calc(var(--side) * -5.8deg)); }
  58.33% { transform: translateX(-50%) rotate(calc(var(--side) * -7.58deg)); }
  60.42% { transform: translateX(-50%) rotate(calc(var(--side) * -9.24deg)); }
  62.5% { transform: translateX(-50%) rotate(calc(var(--side) * -10.75deg)); }
  64.58% { transform: translateX(-50%) rotate(calc(var(--side) * -12.08deg)); }
  66.67% { transform: translateX(-50%) rotate(calc(var(--side) * -13.21deg)); }
  68.75% { transform: translateX(-50%) rotate(calc(var(--side) * -14.11deg)); }
  70.83% { transform: translateX(-50%) rotate(calc(var(--side) * -14.77deg)); }
  72.92% { transform: translateX(-50%) rotate(calc(var(--side) * -15.17deg)); }
  75% { transform: translateX(-50%) rotate(calc(var(--side) * -15.3deg)); }
  77.08% { transform: translateX(-50%) rotate(calc(var(--side) * -15.17deg)); }
  79.17% { transform: translateX(-50%) rotate(calc(var(--side) * -14.77deg)); }
  81.25% { transform: translateX(-50%) rotate(calc(var(--side) * -14.11deg)); }
  83.33% { transform: translateX(-50%) rotate(calc(var(--side) * -13.21deg)); }
  85.42% { transform: translateX(-50%) rotate(calc(var(--side) * -12.08deg)); }
  87.5% { transform: translateX(-50%) rotate(calc(var(--side) * -10.75deg)); }
  89.58% { transform: translateX(-50%) rotate(calc(var(--side) * -9.24deg)); }
  91.67% { transform: translateX(-50%) rotate(calc(var(--side) * -7.58deg)); }
  93.75% { transform: translateX(-50%) rotate(calc(var(--side) * -5.8deg)); }
  95.83% { transform: translateX(-50%) rotate(calc(var(--side) * -3.92deg)); }
  97.92% { transform: translateX(-50%) rotate(calc(var(--side) * -1.97deg)); }
  100% { transform: translateX(-50%) rotate(calc(var(--side) * 0deg)); }
}

/* ============================================================
   ENTRADA EM CENA - "dar a partida" quando o cartão abre.

   Duas regras de ouro aqui:
   1. O estado padrão é VISÍVEL. A entrada só existe enquanto o
      <html> tem .is-booting, que o script coloca na abertura e
      tira depois. Se o script não rodar, ou se o celular engasgar
      e a animação não completar, nada fica invisível.
   2. Anima translate/scale (propriedades isoladas), nunca transform,
      para não sobrescrever o hover dos botões na cascata.
   ============================================================ */

@keyframes cardBoot {
  from { opacity: 0; translate: 0 24px; scale: 0.982; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes rimIgnite {
  0% { left: 50%; right: 50%; opacity: 0; }
  35% { opacity: 1; }
  100% { left: 14%; right: 14%; opacity: 1; }
}

@keyframes heroIn {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes logoIn {
  from { opacity: 0; scale: 0.9; }
  to { opacity: 1; scale: 1; }
}

@keyframes actionIn {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

.is-booting .card {
  animation: cardBoot 720ms var(--ease-out) both;
}

.is-booting .card::before {
  animation: rimIgnite 1.1s var(--ease-out) 100ms both;
}

.is-booting .eyebrow {
  animation: heroIn 560ms var(--ease-out) 120ms both;
}

.is-booting .engine-rig {
  animation: heroIn 620ms var(--ease-out) 160ms both;
}

.is-booting .logo-stage {
  animation: logoIn 700ms var(--ease-spring) 200ms both;
}

.is-booting .brand-copy {
  animation: heroIn 620ms var(--ease-out) 280ms both;
}

.is-booting .rule {
  animation: heroIn 520ms var(--ease-out) 340ms both;
}

.is-booting .action {
  animation: actionIn 520ms var(--ease-out) both;
  animation-delay: calc(380ms + var(--i, 0) * 45ms);
}

.is-booting .footer {
  animation: heroIn 520ms var(--ease-out) 620ms both;
}

/* ============================================================
   BRILHOS E PULSOS
   ============================================================ */

@keyframes chromeSheen {
  0% { background-position: -70% 0, 0 0; }
  38% { background-position: 170% 0, 0 0; }
  100% { background-position: 170% 0, 0 0; }
}

@keyframes badgeSheen {
  0% { background-position: 140% 0, 0 0; }
  42% { background-position: -60% 0, 0 0; }
  100% { background-position: -60% 0, 0 0; }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(239, 217, 164, 0.13), 0 0 10px rgba(239, 217, 164, 0.9); }
  50% { opacity: 0.55; box-shadow: 0 0 0 5px rgba(239, 217, 164, 0.05), 0 0 6px rgba(239, 217, 164, 0.5); }
}

@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}

@keyframes crankSpin {
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes sparkBlink {
  0%, 3%, 100% { opacity: 0; transform: scale(0.6); }
  1%, 1.6% { opacity: 1; transform: scale(1); }
}

@keyframes engineIdle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  30% { transform: translate3d(0.8px, -0.4px, 0) rotate(0.08deg); }
  62% { transform: translate3d(-0.7px, 0.5px, 0) rotate(-0.08deg); }
}

@keyframes haloSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (min-width: 560px) {
  .card {
    padding: 24px;
  }

  .logo-stage {
    margin-bottom: 16px;
  }

  .actions {
    gap: 11px;
  }
}

@media (max-width: 380px) {
  .card {
    padding: 14px;
    border-radius: 24px;
  }

  .bezel {
    inset: 7px;
    border-radius: 17px;
  }

  .engine-rig {
    width: min(92%, 300px);
    margin-bottom: -34px;
  }

  .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    padding: 6px 12px 6px 10px;
  }

  .action {
    grid-template-columns: 40px 1fr 24px;
    gap: 10px;
    min-height: 74px;
    padding: 10px 10px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .action-icon svg {
    width: 20px;
    height: 20px;
  }

  .action-go {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .action strong {
    font-size: 0.885rem;
  }

  .action small {
    font-size: 0.725rem;
  }
}

/* Telas baixas (celular deitado): o cartão continua compacto */
@media (max-height: 620px) and (orientation: landscape) {
  .engine-rig {
    margin-bottom: -30px;
    transform: scale(0.82);
    transform-origin: 50% 100%;
  }

  .brand-copy p {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

}
