/* ============================================================
   Salves Executive Táxi — estilos
   Mesma identidade do site original: preto quente + dourado,
   Playfair Display (títulos) + Work Sans (texto).
   ============================================================ */

:root {
  --background: #110d06;
  --card: #1c180f;
  --secondary: #292319;
  --accent: #302817;
  --foreground: #f2eee3;
  --muted-foreground: #aaa497;
  --primary: #e4bc53;
  --primary-hover: #ecca78;
  --primary-foreground: #1b150b;
  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.15);
  --destructive: #ff5a5f;
  --radius: 4px;
  --radius-lg: 12px;
  --container: 1152px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.display { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
.gold { color: var(--primary); }
.muted { color: var(--muted-foreground); }
.small { font-size: 14px; }
.center { text-align: center; }
.narrow { max-width: 36rem; margin-left: auto; margin-right: auto; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--primary); color: var(--primary-foreground);
  padding: 8px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.noscript-aviso { background: var(--accent); padding: 12px; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font: 500 15px/1.2 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--primary); color: var(--primary-foreground); }
.btn-gold:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--secondary); }
.btn[disabled] { opacity: .6; cursor: wait; }

.link-button {
  background: none; border: 0; padding: 0; color: inherit; font: inherit;
  text-decoration: underline; cursor: pointer;
}

.icon { width: 32px; height: 32px; fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.eyebrow {
  font-size: 12px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .35em; color: var(--primary);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(17, 13, 6, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 52px; height: auto; }
.brand-text { font-family: var(--font-display); font-size: 18px; letter-spacing: .02em; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.main-nav a { color: var(--muted-foreground); text-decoration: none; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--foreground); }
.nav-cta-mobile { display: none !important; }

.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--foreground); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .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); }

  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--background); border-bottom: 1px solid var(--border);
    padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 16px; border-bottom: 0 !important; color: var(--primary-foreground) !important; }
}
@media (max-width: 400px) { .brand-text { font-size: 16px; } .brand-logo { width: 44px; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,13,6,.55) 0%, rgba(17,13,6,.75) 55%, var(--background) 100%);
}
.hero-content { position: relative; padding-top: 144px; padding-bottom: 64px; }
.hero h1 { margin-top: 24px; max-width: 48rem; font-size: clamp(40px, 7vw, 72px); line-height: 1.1; }
.hero .lead { margin-top: 24px; max-width: 36rem; font-size: 18px; line-height: 1.7; color: var(--muted-foreground); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.about { margin-top: 64px; max-width: 48rem; border-left: 2px solid var(--primary); padding-left: 24px; scroll-margin-top: 96px; }
.about h2 { margin-top: 12px; font-size: clamp(28px, 4vw, 36px); }
.about p:last-child { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--muted-foreground); }

.fade-up { animation: fade-up .9s ease-out both; }
.fade-up:nth-child(2) { animation-delay: .1s; }
.fade-up:nth-child(3) { animation-delay: .2s; }
.fade-up:nth-child(4) { animation-delay: .3s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Seções ---------- */
.section { border-top: 1px solid var(--border); padding: 96px 0; scroll-margin-top: 68px; }
.section-alt { background: var(--card); }
.section-title { margin-top: 16px; font-size: clamp(32px, 5vw, 48px); }
@media (max-width: 600px) { .section { padding: 72px 0; } }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }

.rounded-img { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); width: 100%; object-fit: cover; }

/* Serviços */
.cards { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; transition: border-color .3s;
}
.card:hover { border-color: var(--primary); }
.card h3 { margin-top: 24px; font-size: 24px; }
.card p { margin-top: 12px; color: var(--muted-foreground); line-height: 1.7; flex: 1; }
.card-link { margin-top: 20px; color: var(--primary); font-size: 14px; font-weight: 500; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Frota */
.split .muted { margin-top: 24px; line-height: 1.7; }
.dot-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.dot-list li { display: flex; align-items: center; gap: 12px; color: rgba(242,238,227,.9); }
.dot-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* Diferenciais */
.img-stack { display: grid; gap: 24px; order: 2; }
@media (min-width: 1024px) { .img-stack { order: 0; } }
.features { display: grid; gap: 32px; margin-top: 40px; }
.feature { display: flex; gap: 20px; }
.feature .icon { width: 28px; height: 28px; margin-top: 4px; }
.feature h3 { font-size: 20px; }
.feature p { margin-top: 4px; color: var(--muted-foreground); line-height: 1.7; }

/* Onde atendemos */
.area { display: grid; gap: 32px; align-items: end; }
.area .muted { margin-top: 20px; max-width: 40rem; line-height: 1.7; }
.area-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) { .area { grid-template-columns: 1.4fr 1fr; } .area-actions { justify-content: flex-end; } }

/* Contato */
#contato .muted.narrow { margin-top: 16px; line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
@media (max-width: 600px) { .contact-actions .btn { width: 100%; } }

.form-box {
  max-width: 42rem; margin: 48px auto 0; text-align: left;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px;
}
@media (max-width: 480px) { .form-box { padding: 24px 16px; } }
.form-box > h3 { font-size: 24px; }
.form-box > .muted { margin-top: 8px; }

.quote-form { display: grid; gap: 16px; margin-top: 24px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted-foreground); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px;
  background: var(--background); color: var(--foreground);
  border: 1px solid var(--input); border-radius: var(--radius);
  font: 400 16px/1.4 var(--font-body);
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d776b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field .invalid, .field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--destructive); }
.form-error { color: var(--destructive); font-size: 14px; }
.form-note { font-size: 12px; color: var(--muted-foreground); text-align: center; }
.form-note a { color: var(--primary); }

.form-success { display: grid; gap: 12px; margin-top: 24px; text-align: center; }
.form-success h3 { font-size: 24px; color: var(--primary); }
.form-success p { color: var(--muted-foreground); }
.protocol strong { color: var(--foreground); letter-spacing: .05em; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 112px; font-size: 14px; color: var(--muted-foreground); }
.footer-inner { display: grid; gap: 24px; }
.footer-inner .brand-text { color: var(--foreground); font-size: 18px; }
.footer-inner .small { margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; }
.footer-bottom a { color: inherit; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-links { justify-content: flex-end; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Flutuantes ---------- */
.floating { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.floating-phone { padding: 12px 20px; font-size: 14px; box-shadow: 0 10px 25px rgba(0,0,0,.45); }
.floating-wa {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; box-shadow: 0 10px 25px rgba(0,0,0,.45);
  transition: transform .2s;
}
.floating-wa:hover { transform: scale(1.06); }
.floating-wa svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .floating { right: 16px; bottom: 16px; }
  .floating-phone span { display: none; }
  .floating-phone { width: 56px; height: 56px; padding: 0; border-radius: 50%; }
}

/* ---------- Banner de cookies ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 560px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.6);
  font-size: 14px; color: var(--muted-foreground);
}
.consent a { color: var(--primary); }
.consent-actions { display: flex; gap: 12px; margin-top: 16px; justify-content: flex-end; }
.consent-actions .btn { flex: 1; }
@media (min-width: 640px) { .consent { right: auto; left: 24px; bottom: 24px; } .consent-actions .btn { flex: 0 0 auto; } }

/* ---------- Páginas internas (política, 404) ---------- */
.page { padding: 140px 0 96px; }
.page .container { max-width: 48rem; }
.page h1 { font-size: clamp(32px, 5vw, 44px); }
.page h2 { margin-top: 40px; font-size: 24px; }
.page p, .page li { margin-top: 12px; color: var(--muted-foreground); line-height: 1.75; }
.page ul { padding-left: 20px; }
.page a { color: var(--primary); }
