/* =========================================================
   DEIVÃO CAR — ESTÉTICA AUTOMOTIVA
   Tokens: fundo #050608 · painel #0d1117 · azul #0b63f6
   azul-claro #4fb3ff · branco #f2f4f8 · texto secundário #7c8493
   Display: Barlow Condensed · Corpo: Manrope · Dados: JetBrains Mono
   ========================================================= */

:root {
  --bg: #050608;
  --panel: #0d1117;
  --panel-2: #12161f;
  --line: #1d2330;
  --blue: #0b63f6;
  --blue-light: #4fb3ff;
  --white: #f2f4f8;
  --text-muted: #8892a0;
  --text-dim: #5b6472;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  --shadow-glow: 0 0 40px rgba(11, 99, 246, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

@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;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--blue-light); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0847b8);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 99, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 99, 246, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }

.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border-color: rgba(79, 179, 255, 0.4);
}
.btn-outline:hover { background: rgba(79, 179, 255, 0.1); border-color: var(--blue-light); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn.full { width: 100%; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 6, 8, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 6, 8, 0.92);
  border-bottom-color: rgba(79, 179, 255, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.brand { flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue-light);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.header-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--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); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 78px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 5%, rgba(5,6,8,0.55) 45%, rgba(5,6,8,0.35) 100%),
    linear-gradient(100deg, rgba(5,6,8,0.55) 0%, rgba(5,6,8,0.05) 55%);
}

/* Signature element: scanning light line sweeping across the hero image */
.hero-scanline {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-scanline::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -20%;
  width: 45%;
  height: 130%;
  background: linear-gradient(100deg, transparent 0%, rgba(79, 179, 255, 0.15) 45%, rgba(79, 179, 255, 0.35) 50%, rgba(79, 179, 255, 0.15) 55%, transparent 100%);
  transform: skewX(-15deg);
  animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep {
  0%   { left: -40%; }
  45%  { left: 110%; }
  100% { left: 110%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
  padding-top: 120px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(79, 179, 255, 0.3);
  border-radius: 999px;
  background: rgba(79, 179, 255, 0.06);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 14ch;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.trust-ico { width: 22px; height: 22px; fill: var(--blue-light); flex-shrink: 0; }
.trust-item strong { color: var(--white); font-weight: 700; }

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--panel); }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1.02;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 56px;
}

/* ---------- SERVICE CARDS ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 179, 255, 0.35);
  box-shadow: var(--shadow-glow);
}

/* HUD-style corner brackets on media, echoing diagnostic-panel framing */
.service-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.moto-media { aspect-ratio: 3 / 4; }

.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }

.service-media::before,
.service-media::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--blue-light);
  border-style: solid;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}
.service-media::before {
  top: 12px; left: 12px;
  border-width: 2px 0 0 2px;
}
.service-media::after {
  bottom: 12px; right: 12px;
  border-width: 0 2px 2px 0;
}

.service-tag {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: rgba(5, 6, 8, 0.75);
  border: 1px solid rgba(79, 179, 255, 0.4);
  color: var(--blue-light);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.service-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.service-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.service-list { display: flex; flex-direction: column; gap: 7px; }
.service-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.8rem;
}

.moto-desc { color: var(--text-muted); font-size: 0.92rem; }

.price-panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-mono);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
}
.price-row span { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.03em; }
.price-row strong { color: var(--blue-light); font-size: 0.92rem; }

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.time-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.price-inline {
  font-family: var(--font-mono);
  color: var(--blue-light);
  font-size: 1.1rem;
}

/* ---------- MOTOS ---------- */
.moto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.moto-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.moto-card:hover { transform: translateY(-6px); border-color: rgba(79, 179, 255, 0.35); }
.moto-card .service-body { gap: 14px; }

/* ---------- PACOTE PERSONALIZADO ---------- */
.pacote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.pacote-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.pacote-media img { width: 100%; height: 100%; object-fit: cover; }

.pacote-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.pacote-check li {
  font-size: 0.92rem;
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}
.pacote-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-light);
}

.steps-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-num {
  font-family: var(--font-mono);
  color: var(--blue-light);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 14px;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}
.step p { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- ÁREA DE ATENDIMENTO ---------- */
.area-inner { max-width: 780px; }
.area-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.area-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.area-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.area-card strong { font-size: 1rem; }

.area-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- ORÇAMENTO ---------- */
.orcamento-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue-light);
  outline: none;
}
.form-row select { appearance: none; cursor: pointer; }

.form-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 32ch; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blue-light); }
.footer-muted { color: var(--text-dim); font-size: 0.85rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0847b8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(11, 99, 246, 0.5);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}
.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .pacote-inner,
  .orcamento-inner {
    grid-template-columns: 1fr;
  }
  .pacote-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: rgba(5, 6, 8, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav .nav-link { padding: 12px 0; width: 100%; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 26px; }
}

@media (max-width: 620px) {
  .section { padding: 76px 0; }
  .hero { min-height: 100vh; }
  .hero-content { padding-top: 90px; padding-bottom: 48px; }
  .pacote-check { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
}