/* ============================================================
   DINALEX REPARAÇÃO AUTOMOTIVA — Design System
   Dark premium automotivo · preto profundo + laranja/vermelho/cobre
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Fundos */
  --bg-0: #050506;
  --bg-1: #0b0c0e;
  --bg-2: #121316;
  --surface-card: #16181c;
  --surface-card-hover: #1b1e23;
  --surface-glass: rgba(22, 24, 28, 0.55);

  /* Bordas */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(255, 106, 0, 0.35);

  /* Texto */
  --text-primary: #f5f6f7;
  --text-secondary: #a6abb3;
  --text-muted: #82878f;
  --silver: #c9cdd3;

  /* Marca */
  --accent-orange: #ff6a00;
  --accent-orange-soft: #ff8a3d;
  --accent-red: #ff3b1f;
  --accent-copper: #c77b3f;
  --gradient-primary: linear-gradient(100deg, #ff6a00 0%, #ff3b1f 55%, #c77b3f 100%);
  --gradient-text: linear-gradient(110deg, #ff8a3d 0%, #ff3b1f 60%, #c77b3f 100%);
  --gradient-line: linear-gradient(90deg, transparent 0%, #ff6a00 30%, #ff3b1f 70%, transparent 100%);

  /* Sombras e brilhos */
  --glow-orange: 0 0 24px rgba(255, 106, 0, 0.35);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-card-hover: 0 18px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(255, 106, 0, 0.12);
  --shadow-btn: 0 8px 20px rgba(255, 80, 20, 0.28);
  --focus-ring: 0 0 0 3px rgba(255, 138, 61, 0.75);

  /* Cor de texto sobre o gradiente laranja (contraste AA ~7:1) */
  --btn-ink: #1d0e04;

  /* Layout */
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --grid-gap: 2rem;
  --card-pad: 2rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg-0);
  color: var(--text-secondary);
  font: 400 1rem/1.7 var(--font-body);
  /* clip (e não hidden): hidden transformaria o body em scroll container
     e quebraria o position:sticky da seção de orçamento */
  overflow-x: clip;
}

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

a {
  color: var(--accent-orange-soft);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(255, 106, 0, 0.35);
  color: #fff;
}

/* Texto só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Link "pular para conteúdo" */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--accent-orange);
  color: #0b0b0e;
  font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 3. Tipografia ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-stretch: 125%;
  color: var(--text-primary);
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 1.2rem + 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.005em;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.6;
}

.small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange-soft);
}

.overline::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Título com varredura de luz metálica (roda 1x ao entrar na tela) */
.shine-title {
  background: linear-gradient(110deg, #c9cdd3 42%, #ffffff 50%, #c9cdd3 58%);
  background-size: 250% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shine-title.in-view {
  animation: title-shine 2.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s 1 forwards;
}

@keyframes title-shine {
  to {
    background-position: -120% 0;
  }
}

/* ---------- 4. Utilitários ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .overline {
  justify-content: center;
}

.bg-1 {
  background: var(--bg-1);
}

.bg-2 {
  background: var(--bg-2);
}

/* Texturas em CSS puro */
.tex-carbon {
  position: relative;
}

.tex-carbon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(rgba(0, 0, 0, 0.9) 15%, transparent 16%) 0 0 / 12px 12px,
    radial-gradient(rgba(0, 0, 0, 0.9) 15%, transparent 16%) 6px 6px / 12px 12px,
    radial-gradient(rgba(255, 255, 255, 0.06) 15%, transparent 20%) 0 1px / 12px 12px,
    radial-gradient(rgba(255, 255, 255, 0.06) 15%, transparent 20%) 6px 7px / 12px 12px;
}

.tex-carbon > * {
  position: relative;
}

/* Divisor diagonal (linha automotiva) */
.diag {
  position: relative;
}

.diag::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4vw;
  max-height: 56px;
  background: inherit;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- 5. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    background-position 400ms var(--ease-out),
    transform 250ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    border-color 250ms ease,
    background-color 250ms ease,
    color 250ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 150% 100%;
  background-position: 0% 0;
  /* texto escuro sobre o gradiente laranja: contraste AA (≈7:1) */
  color: var(--btn-ink);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 80, 20, 0.38);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  box-shadow: var(--shadow-btn), var(--focus-ring);
}

/* Varredura de brilho */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-150%) skewX(-18deg);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  animation: shine 650ms cubic-bezier(0.4, 0, 0.2, 1) 1;
}

@keyframes shine {
  to {
    transform: translateX(320%) skewX(-18deg);
  }
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--border-accent);
  background: rgba(255, 106, 0, 0.08);
  color: var(--accent-orange-soft);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 6. Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 250; /* acima do banner de cookies (200) para o menu mobile aberto */
  height: 76px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 300ms ease,
    height 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.navbar.is-scrolled {
  height: 64px;
  background: rgba(5, 5, 6, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.navbar .container {
  width: 100%;
  max-width: 1380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  flex: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 300ms ease;
}

.navbar.is-scrolled .nav-logo img {
  height: 44px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  position: relative;
  padding-block: 0.25rem;
  white-space: nowrap;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gradient-primary);
  transition: width 250ms var(--ease-out);
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-cta-mobile {
  display: none;
}

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1299px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(5, 5, 6, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    /* visibility atrasada para o fechamento também animar o deslize */
    transition: transform 350ms var(--ease-out), visibility 0s linear 350ms;
    visibility: hidden;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 350ms var(--ease-out), visibility 0s;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 0.75rem;
  }

  .nav-cta-mobile a.btn {
    font-size: 1rem;
    white-space: normal;
  }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.55) 0%, rgba(5, 5, 6, 0.35) 40%, rgba(5, 5, 6, 0.92) 100%),
    radial-gradient(80% 60% at 70% 20%, rgba(255, 106, 0, 0.10), transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: float var(--dur, 16s) linear infinite alternate;
  animation-delay: var(--delay, 0s);
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--dx, 40px), var(--dy, -60px), 0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 10vh, 6rem);
  max-width: 780px;
  display: grid;
  gap: 1.5rem;
}

.hero-content .lead {
  max-width: 560px;
  color: #c4c9d0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver);
}

.hero-badges svg {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
  flex: none;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

/* Botão de pausa/reprodução do vídeo de fundo */
.hero-video-toggle {
  position: absolute;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(5, 5, 6, 0.6);
  color: var(--silver);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out);
}

.hero-video-toggle:hover {
  color: var(--accent-orange-soft);
  border-color: var(--border-accent);
  transform: scale(1.06);
}

.hero-video-toggle svg {
  width: 18px;
  height: 18px;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--accent-orange), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------- 8. Badges / chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--accent-orange-soft);
}

/* ---------- 9. Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(5, 5, 6, 0.55));
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

.about-copy {
  display: grid;
  gap: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.stat {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
  display: grid;
  gap: 0.375rem;
}

.stat b {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.stat .stat-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- 10. Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--grid-gap);
}

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition:
    transform 350ms var(--ease-out),
    box-shadow 350ms var(--ease-out),
    border-color 350ms ease,
    background 350ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient-line);
  opacity: 0;
  transition: opacity 350ms ease;
  z-index: 1;
}

.card:hover,
.card:focus-within {
  background: var(--surface-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

/* Enquanto o tilt segue o cursor, a transição longa do reveal não pode interferir */
.service-card.tilting {
  transition: transform 150ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-media {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22, 24, 28, 0.9));
}

.service-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  flex: 1;
  align-content: start;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: var(--accent-orange);
  margin-top: -46px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: filter 300ms ease;
}

.service-card:hover .service-icon {
  filter: drop-shadow(var(--glow-orange));
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-body p {
  font-size: 0.9375rem;
}

.service-link {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent-orange-soft);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 250ms var(--ease-out);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ---------- 11. Antes e Depois ---------- */
.ba-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.ba-filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 250ms ease;
}

.ba-filter:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

.ba-filter[aria-pressed="true"] {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--btn-ink);
  box-shadow: var(--shadow-btn);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--grid-gap);
}

.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 350ms var(--ease-out), box-shadow 350ms, border-color 350ms;
}

.ba-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover);
}

.ba-card.hidden {
  display: none;
}

/* Comparador deslizante */
.ba-compare {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-compare .ba-after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
}

.ba-handle::after {
  content: "⟨ ⟩";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-btn);
  letter-spacing: -1px;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}

/* Foco de teclado visível no comparador (o range em si é invisível) */
.ba-compare:focus-within {
  outline: 3px solid rgba(255, 138, 61, 0.85);
  outline-offset: -3px;
}

.ba-tag {
  position: absolute;
  top: 0.875rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  pointer-events: none;
}

.ba-tag.antes {
  left: 0.875rem;
  background: rgba(5, 5, 6, 0.75);
  color: var(--silver);
  border: 1px solid var(--border-strong);
}

.ba-tag.depois {
  right: 0.875rem;
  background: var(--gradient-primary);
  color: var(--btn-ink);
}

.ba-info {
  padding: 1.25rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.625rem;
}

.ba-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ba-info p {
  font-size: 0.9375rem;
}

.ba-duration {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.ba-duration svg {
  width: 14px;
  height: 14px;
  color: var(--accent-orange);
}

.ba-cta-row {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- 12. Processo (timeline) ---------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  padding-left: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #ff6a00 0%, #ff3b1f 60%, transparent 100%);
}

.timeline-item {
  position: relative;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

@supports not (backdrop-filter: blur(1px)) {
  .timeline-item {
    background: rgba(22, 24, 28, 0.92);
  }
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -3rem;
  top: 1.75rem;
  transform: translateX(-50%) translateX(9px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--accent-orange);
  box-shadow: var(--glow-orange);
}

.timeline-num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 2.25rem;
}

.timeline-item h3 {
  margin-bottom: 0.375rem;
}

.timeline-item p {
  font-size: 0.9375rem;
}

/* ---------- 13. Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.diff-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.625rem;
  align-content: start;
  position: relative;
  transition: transform 300ms var(--ease-out), border-color 300ms ease, background 300ms ease;
}

/* borda com brilho gradiente no hover */
.diff-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, #ff6a00, #ff3b1f 50%, #c77b3f);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.diff-card:hover {
  transform: translateY(-4px);
  background: var(--surface-card-hover);
}

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

.diff-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(255, 106, 0, 0.1);
  color: var(--accent-orange);
}

.diff-icon svg {
  width: 22px;
  height: 22px;
}

.diff-card h3 {
  font-size: 1.0625rem;
}

.diff-card p {
  font-size: 0.875rem;
}

/* ---------- 14. Galeria ---------- */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 0, 0.4) transparent;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 106, 0, 0.35);
  border-radius: 3px;
}

.gallery-item {
  flex: 0 0 clamp(240px, 28vw, 320px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  cursor: zoom-in;
  padding: 0;
  display: block;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 6, 0.9));
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver);
  text-align: left;
}

.carousel-nav {
  display: flex;
  gap: 0.625rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  transition: all 250ms ease;
}

.carousel-btn:hover {
  border-color: var(--border-accent);
  background: rgba(255, 106, 0, 0.08);
  color: var(--accent-orange-soft);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- 15. Depoimentos ---------- */
.testimonial-card {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@supports not (backdrop-filter: blur(1px)) {
  .testimonial-card {
    background: rgba(22, 24, 28, 0.92);
  }
}

.testimonial-stars {
  color: var(--accent-orange);
  display: inline-flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card blockquote {
  font-size: 0.9875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.testimonial-author b {
  color: var(--text-primary);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.testimonial-author b svg {
  width: 15px;
  height: 15px;
  color: var(--accent-orange);
}

.testimonial-author .small {
  display: block;
}

/* ---------- 16. Faixa CTA ---------- */
.cta-band {
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
  max-width: 560px;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 120% at 15% 50%, rgba(255, 106, 0, 0.12), transparent 60%),
    radial-gradient(50% 120% at 85% 50%, rgba(255, 59, 31, 0.08), transparent 60%);
  pointer-events: none;
}

/* ---------- 17. Formulário de orçamento ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.quote-aside {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.quote-aside ul {
  display: grid;
  gap: 0.875rem;
}

.quote-aside li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.quote-aside li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-orange);
  flex: none;
  margin-top: 0.2rem;
}

.quote-form {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.field {
  display: grid;
  gap: 0.375rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field label .req {
  color: var(--accent-orange);
}

.field input,
.field select,
.field textarea {
  background: #0f1013;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font: 400 1rem var(--font-body);
  caret-color: var(--accent-orange);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a6abb3' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 106, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
}

.field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f1013 inset;
  -webkit-text-fill-color: #f5f6f7;
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: rgba(255, 59, 31, 0.7);
}

.field .field-error {
  font-size: 0.8125rem;
  color: #ff8a70;
  display: none;
}

.field.error .field-error {
  display: block;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

/* Área de arrastar e soltar */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.625rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 250ms ease, background 250ms ease;
}

.dropzone:hover,
.dropzone.dragover,
.dropzone:focus-within {
  border-color: var(--accent-orange);
  background: rgba(255, 106, 0, 0.05);
}

.dropzone:focus-within {
  box-shadow: var(--focus-ring);
}

.dropzone svg {
  width: 36px;
  height: 36px;
  color: var(--accent-orange);
}

.dropzone .small {
  max-width: 340px;
}

.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--accent-orange-soft);
  font-size: 0.8125rem;
  max-width: 100%;
}

.file-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.file-chip button {
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.125rem;
}

/* honeypot anti-spam */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.form-feedback.error {
  display: block;
  background: rgba(255, 59, 31, 0.1);
  border: 1px solid rgba(255, 59, 31, 0.35);
  color: #ff9d88;
}

.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-card-hover);
}

.form-success.visible {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.form-success .success-icon svg {
  width: 30px;
  height: 30px;
}

/* ---------- 18. Estrutura ---------- */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.structure-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.structure-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.structure-item:hover img {
  transform: scale(1.04);
}

.structure-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 6, 0.92));
  font-weight: 600;
  color: var(--silver);
  font-size: 0.9375rem;
}

/* ---------- 19. FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary .faq-icon {
  flex: none;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1;
  transition: transform 250ms var(--ease-out), color 250ms ease;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-body > div {
  overflow: hidden;
}

.faq-body p {
  padding: 0 2.5rem 1.25rem 0;
  font-size: 0.9375rem;
}

/* ---------- 20. Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 250ms ease, transform 250ms var(--ease-out);
}

a.contact-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.contact-card .diff-icon {
  flex: none;
}

.contact-card b {
  color: var(--text-primary);
  display: block;
  font-size: 0.9375rem;
}

.contact-card span,
.contact-card address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.pickup-highlight {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--surface-card), var(--surface-card)) padding-box,
    linear-gradient(130deg, #ff6a00, #ff3b1f 50%, #c77b3f) border-box;
  border: 1px solid transparent;
  display: grid;
  gap: 0.5rem;
}

.pickup-highlight b {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.pickup-highlight b svg {
  width: 22px;
  height: 22px;
  color: var(--accent-orange);
}

.pickup-highlight p {
  font-size: 0.9375rem;
}

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  min-height: 320px;
  display: grid;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.7) invert(0.92) contrast(0.9) hue-rotate(180deg);
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
  min-height: 380px;
  color: var(--text-muted);
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--accent-orange);
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  transition: all 250ms ease;
}

.social-row a:hover {
  color: var(--accent-orange-soft);
  border-color: var(--border-accent);
  background: rgba(255, 106, 0, 0.08);
  transform: translateY(-2px);
}

.social-row svg {
  width: 20px;
  height: 20px;
}

/* ---------- 21. Rodapé ---------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient-line);
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}

.footer-brand {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.footer-brand img {
  height: 64px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: grid;
  gap: 0.75rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-orange-soft);
}

.footer-hours {
  display: grid;
  gap: 0.375rem;
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent-orange-soft);
}

/* ---------- 22. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70%, 100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Botão voltar ao topo ---------- */
.to-top {
  position: fixed;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(11, 12, 14, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--silver);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 300ms ease,
    transform 300ms var(--ease-out),
    color 250ms ease,
    border-color 250ms ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  color: var(--accent-orange-soft);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- 23. Modal / lightbox ---------- */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  max-height: 92vh;
}

.lightbox::backdrop {
  background: rgba(5, 5, 6, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-card);
  border: 1px solid var(--border-strong);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--bg-0);
}

.lightbox figcaption {
  padding: 1rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(5, 5, 6, 0.75);
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  z-index: 2;
}

.lightbox-close:hover {
  border-color: var(--border-accent);
  color: var(--accent-orange-soft);
}

/* ---------- 24. Banner de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 200;
  width: min(680px, calc(100vw - 2rem));
  background: rgba(11, 12, 14, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card-hover);
  display: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner.visible {
  display: flex;
}

/* No mobile, o banner sobe para não cobrir o botão flutuante de WhatsApp */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: calc(1.25rem + 76px);
  }
}

.cookie-banner p {
  flex: 1 1 320px;
  font-size: 0.875rem;
}

.cookie-actions {
  display: flex;
  gap: 0.625rem;
}

/* ---------- 25. Cursor personalizado ---------- */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, opacity 200ms ease;
  opacity: 0;
}

body.cursor-active .cursor-ring {
  opacity: 1;
}

.cursor-ring.is-hover {
  transform: scale(1.5);
  border-color: rgba(255, 106, 0, 0.7);
}

@media (pointer: coarse) {
  .cursor-ring {
    display: none;
  }
}

/* ---------- 26. Páginas de conteúdo (privacidade/termos) ---------- */
.page-content {
  padding-top: clamp(8rem, 16vh, 10rem);
  max-width: 800px;
}

.page-content h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.875rem;
}

.page-content p,
.page-content li {
  margin-bottom: 0.875rem;
  font-size: 0.9875rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ---------- 27. Responsividade ---------- */
@media (max-width: 900px) {
  .about-grid,
  .quote-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quote-aside {
    position: static;
  }

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

  .form-row.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --grid-gap: 1.25rem;
    --card-pad: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .timeline {
    padding-left: 2.25rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-item::before {
    left: -2.25rem;
  }

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

  .cta-band .container {
    justify-content: center;
    text-align: center;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-particles,
  .cursor-ring {
    display: none;
  }
}

/* ---------- 29. Impressão ---------- */
@media print {
  .navbar,
  .wa-float,
  .cookie-banner,
  .cursor-ring,
  .hero-scroll {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
