/* =========================================================
   Sinoscar Autoelétrica — Landing Page
   Paleta: branco, preto e vermelho
   ========================================================= */
:root {
  --red: #e30613;
  --red-dark: #b0000c;
  --black: #0a0a0a;
  --ink: #141414;
  --gray-900: #1c1c1c;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --wa: #25d366;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; } /* a faixa rolante é inclinada e não pode alargar a página no celular */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.02; margin: 0 0 .5em; letter-spacing: .5px; text-transform: uppercase; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.hl { color: var(--red); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 200;
  background: linear-gradient(90deg, var(--red), #ff4d4d);
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px var(--red);
}

/* ---------- Engrenagem de fundo ---------- */
.bg-gear {
  position: fixed; right: -180px; bottom: -180px; width: 520px; height: 520px;
  color: var(--red); opacity: .045; z-index: 0; pointer-events: none;
  will-change: transform;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 25px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { box-shadow: 0 16px 30px -10px rgba(37, 211, 102, .9); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 25px -10px rgba(227, 6, 19, .8); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--white { background: #fff; color: var(--black); }
.btn--white .ico { color: var(--wa); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: box-shadow .3s, height .3s;
}
/* O desfoque fica no pseudo-elemento: no próprio .header ele prenderia o menu móvel (fixed) à altura do cabeçalho */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.header.is-scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  --header-h: 64px;
}
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; }
.brand__logo { height: 50px; width: auto; }
.brand--footer { display: inline-flex; }
.brand--footer .brand__logo { height: 118px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; position: relative; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 50px) 0 120px;
  background: radial-gradient(ellipse at 20% 0%, #2a0004 0%, var(--black) 55%);
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero__glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 6, 19, .45), transparent 65%);
  top: -200px; right: -150px; filter: blur(30px); z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .25;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(227, 6, 19, .15); border: 1px solid rgba(227, 6, 19, .45); color: #ff9a9f;
  margin-bottom: 22px;
}
.tag .ico { color: var(--red); }
.hero__title { font-size: clamp(3rem, 6.2vw, 5.2rem); font-weight: 800; margin-bottom: .35em; }
.hero__title .hl { position: relative; display: inline-block; }
.hero__title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em;
  background: var(--red); opacity: .35; transform: scaleX(0); transform-origin: left;
  animation: underline 1s .9s var(--ease) forwards;
}
.hero__text { font-size: 1.12rem; color: rgba(255, 255, 255, .75); max-width: 540px; }
.hero__text strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 30px; }
.hero__badges li { color: rgba(255, 255, 255, .6); font-size: .9rem; display: flex; flex-direction: column; }
.hero__badges span { font-family: var(--font-head); font-size: 2.2rem; color: #fff; font-weight: 800; line-height: 1.1; }

.hero__media { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; }
.photo-frame {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(227, 6, 19, .55), 0 0 0 8px rgba(255, 255, 255, .03);
  background: linear-gradient(145deg, #1d1d1d, #0e0e0e);
}
/* Enquadra o portão e o muro pintado, que ficam à direita na foto */
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

.hero__gear { position: absolute; color: var(--red); pointer-events: none; }
.hero__gear--a { width: 130px; height: 130px; top: -40px; right: -40px; animation: spin 14s linear infinite; }
.hero__gear--b { width: 70px; height: 70px; top: 62px; right: -64px; color: #fff; opacity: .9; animation: spin 9s linear infinite reverse; }

.hero__card {
  position: absolute; left: -30px; bottom: 40px; display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: 16px; color: var(--black);
  background: rgba(255, 255, 255, .95); box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__card .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--red); color: #fff; }
.hero__card strong { display: block; font-size: .95rem; }
.hero__card small { color: var(--gray-500); }

.hero__wire { position: absolute; left: 0; right: 0; bottom: 20px; width: 100%; height: 120px; z-index: -1; }
.hero__wire path {
  fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 14 18; animation: current 1.6s linear infinite;
  filter: drop-shadow(0 0 6px var(--red));
}

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg) scale(1.04); margin-top: -30px; position: relative; z-index: 2; box-shadow: 0 10px 30px -10px rgba(227, 6, 19, .6); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 1px; }
.marquee__track .ico { width: 22px; height: 22px; color: var(--black); }

/* ---------- Seções ---------- */
.section { position: relative; padding: 120px 0; z-index: 1; }
.section--alt { background: var(--gray-100); }
.section--dark { background: var(--black); color: #fff; overflow: hidden; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.section__lead { color: var(--gray-500); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--red); margin-bottom: 14px; padding-left: 36px; position: relative;
}
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 2px; background: var(--red); }
.section__head .eyebrow { padding-right: 36px; }
.section__head .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 2px; background: var(--red); }
.section__gear { position: absolute; width: 480px; height: 480px; left: -160px; top: -120px; color: #fff; opacity: .04; will-change: transform; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; padding: 38px 32px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--gray-200); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(227, 6, 19, .1), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card { isolation: isolate; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(227, 6, 19, .35); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--black); color: #fff; transition: background .4s, transform .6s var(--ease);
}
.card__icon svg { width: 38px; height: 38px; }
.card:hover .card__icon { background: var(--red); transform: rotate(-8deg) scale(1.05); }
.card h3 { font-size: 1.9rem; }
.card p { color: var(--gray-500); }
.card__list { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px dashed var(--gray-200); }
.card__list li { position: relative; padding-left: 22px; font-weight: 600; font-size: .93rem; margin-bottom: 6px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.card--featured { background: var(--black); color: #fff; border-color: var(--black); }
.card--featured p { color: rgba(255, 255, 255, .7); }
.card--featured .card__icon { background: var(--red); }
.card--featured .card__list { border-color: rgba(255, 255, 255, .15); }

/* ---------- Quem faz ---------- */
.work-photo {
  position: relative; margin: 56px 0 34px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(227, 6, 19, .55);
}
/* A foto original é uma selfie espelhada (o logo da camiseta sai invertido): aqui ela volta ao normal */
.work-photo img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
/* A posição aponta para o alternador na foto já desinvertida */
.hotspot {
  position: absolute; left: 69.8%; top: 59.7%; display: flex; align-items: center; gap: 10px;
  margin-left: -8px; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; line-height: 1;
  color: #fff; white-space: nowrap;
}
.hotspot::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--red);
  border: 3px solid #fff; animation: hotspot 2s ease-out infinite;
}
.hotspot span { padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 10, .88); border: 1px solid rgba(255, 255, 255, .25); }
.checks--row { grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }

/* ---------- Split / Oficinas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; position: relative; }
.split--center { align-items: center; }
.split__text p { color: rgba(255, 255, 255, .75); font-size: 1.08rem; }
.split__text strong { color: #fff; }
.eyebrow--light { color: #ff5a63; }
.checks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before {
  content: "✓"; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 800;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 34px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--red), transparent); }
.step {
  display: flex; gap: 22px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px); position: relative; transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover { background: rgba(227, 6, 19, .1); border-color: rgba(227, 6, 19, .45); transform: translateX(6px); }
.step__num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; }
.step h3 { font-size: 1.4rem; margin-bottom: .2em; }
.step p { margin: 0; color: rgba(255, 255, 255, .6); }

/* ---------- Peças ---------- */
.gallery-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: .6em 1.3em; border-radius: 999px; border: 1.5px solid var(--gray-200); background: #fff;
  font: 600 .93rem var(--font-body); cursor: pointer; transition: all .25s;
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); border-color: var(--black); color: #fff; }

/* Carrossel: a rolagem é nativa, para o dedo deslizar no celular; o JS só faz andar sozinho */
.carousel { position: relative; }
.carousel__btn {
  position: absolute; top: 40%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--black); color: #fff; cursor: pointer; box-shadow: var(--shadow);
  transform: translateY(-50%); transition: background .25s;
}
.carousel__btn:hover { background: var(--red); }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn--prev { left: -16px; }
.carousel__btn--prev svg { transform: scaleX(-1); }
.carousel__btn--next { right: -16px; }
.gallery {
  position: relative; display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none;
  /* A rolagem cortaria a elevação e a sombra do hover: esta folga dá espaço a elas sem mudar o layout */
  padding-block: 10px 40px; margin-block: -10px -40px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 calc((100% - 54px) / 4);
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--gray-200);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.gallery__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(227, 6, 19, .35); }
.gallery__media { display: block; flex: none; aspect-ratio: 1; margin-bottom: 14px; overflow: hidden; }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* Fotos de fundo branco aparecem inteiras: o corte da capa cortaria as peças nas laterais.
   O brilho leva o fundo quase branco ao branco do card, para o retângulo da foto não aparecer */
.gallery__media--contain img { object-fit: contain; filter: brightness(1.06); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; line-height: 1.1; margin: 0 20px 12px; }
.gallery__cta { display: inline-flex; align-items: center; gap: 6px; margin: auto 20px 18px; color: #0f7a40; font-weight: 700; font-size: .88rem; }
.gallery__item.is-hidden { display: none; }

/* ---------- Localização ---------- */
.info p { font-size: 1.1rem; }
.link { color: var(--red); font-weight: 700; font-size: 1.3rem; }
.storefront { margin: 0; border-radius: 24px; overflow: hidden; background: var(--black); color: #fff; box-shadow: var(--shadow); }
.storefront img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 60%; }
.storefront figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; font-size: .95rem; }
.storefront figcaption .ico { color: var(--red); width: 1.4em; height: 1.4em; }
.map { margin-top: 44px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 8; border: 6px solid #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; text-align: center; color: #fff; overflow: hidden; background: var(--red); }
.cta::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 0, 0, .35), transparent 30%);
  animation: spin 10s linear infinite;
}
.cta__inner { position: relative; }
/* A silhueta é "desenhada" da frente para a traseira ao entrar na tela */
.cta__car {
  width: min(460px, 78%); height: auto; margin: 0 auto 30px;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.4s .25s var(--ease);
}
.cta__inner.is-visible .cta__car { clip-path: inset(0 0 0 0); }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
.cta p { font-size: 1.15rem; opacity: .9; margin-bottom: 30px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .7); padding-top: 80px; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer__link { display: block; margin-bottom: 8px; transition: color .2s; }
.footer__link:hover { color: var(--red); }
.footer__wa { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.footer__wa .ico { color: var(--wa); width: 24px; height: 24px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
  height: 62px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1;
  animation: ring 2.2s ease-out infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float__label { font-weight: 700; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover { transform: scale(1.05); }
.wa-float:hover .wa-float__label { max-width: 140px; }

/* ---------- Animações de entrada ---------- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal:not(.is-visible) { opacity: 0; transform: translateY(40px); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes pulse { 50% { transform: scale(1.15); opacity: .7; } }
@keyframes current { to { stroke-dashoffset: -64; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes hotspot { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, .8); } 100% { box-shadow: 0 0 0 18px rgba(227, 6, 19, 0); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero__inner, .split { grid-template-columns: 1fr; gap: 50px; }
  .split--intro { gap: 18px; }
  .hero__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; }
  .gallery__item { flex-basis: calc((100% - 36px) / 3); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); padding: 100px 30px 30px;
    flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--black); visibility: hidden;
    transform: translateX(100%); transition: transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); }
  .nav a:not(.btn) { font-size: 1.2rem; }
  .menu-toggle { position: relative; z-index: 2; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .brand__logo { height: 42px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  /* No celular a próxima foto aparece pela metade, mostrando que dá para deslizar: as setas não são necessárias */
  .carousel__btn { display: none; }
  .gallery { gap: 12px; margin-inline: -20px; padding-inline: 20px; }
  .gallery__item { flex-basis: 72%; }
  .work-photo { margin: 36px 0 28px; border-radius: 16px; }
  /* No celular a etiqueta vai para a esquerda do ponto, senão seria cortada na borda da foto */
  .hotspot { flex-direction: row-reverse; font-size: .85rem; gap: 6px; margin-left: 6px; transform: translate(-100%, -50%); }
  .hotspot::before { width: 12px; height: 12px; border-width: 2px; }
  .hotspot span { padding: 4px 9px; }
  .checks--row { grid-template-columns: 1fr; gap: 12px; }
  .map { aspect-ratio: 4 / 3; margin-top: 32px; }
  .hero__card { left: 10px; bottom: 16px; }
  .hero__gear--a { right: -10px; }
  .hero__gear--b { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { height: 58px; right: 16px; bottom: 16px; padding: 0 13px; }
}
