/* ========================================================================
   Rubicon Eco Car Wash — Design tokens
   ======================================================================== */
:root {
  --navy: #0b2148;
  --navy-dark: #071633;
  --navy-light: #123067;
  --cyan: #17b8e3;
  --cyan-dark: #0f93b8;
  --red: #e31e24;
  --red-dark: #c01821;
  --white: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --text: #101828;
  --text-muted: #55617a;
  --border: #e3e8f0;
  --shadow: 0 10px 30px -12px rgba(11, 33, 72, 0.18);

  --header-h: 78px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

:root[data-theme="dark"] {
  --bg: #0a1224;
  --bg-alt: #0f1a30;
  --surface: #131f39;
  --text: #eef2fa;
  --text-muted: #9aa7c2;
  --border: #223056;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --navy-light: #1a3a75;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1224;
    --bg-alt: #0f1a30;
    --surface: #131f39;
    --text: #eef2fa;
    --text-muted: #9aa7c2;
    --border: #223056;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    --navy-light: #1a3a75;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font); margin: 0; color: var(--text); }
p { color: var(--text-muted); line-height: 1.6; margin: 0; }
a { color: inherit; text-decoration: none; }

/* ========================================================================
   Buttons
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(227, 30, 36, 0.55);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-dark); }

.btn-cta {
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
}
.btn-cta:hover { background: var(--navy-light); }

/* ========================================================================
   Header
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px -8px rgba(11,33,72,0.15); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo-dark { display: block; }
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 130px;
  background: var(--navy-dark);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -4%;
  background: url('../images/hero.jpg') center 35% / cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,22,51,0.82) 0%, rgba(7,22,51,0.62) 50%, rgba(7,22,51,0.85) 100%);
  z-index: 1;
}

.hero-bg { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: heroKen 24s ease-in-out infinite alternate; }
  @keyframes heroKen {
    from { transform: scale(1); }
    to { transform: scale(1.08) translateY(-1.5%); }
  }
  html.has-anim .hero-inner > * { animation: heroUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
  html.has-anim .hero-inner > :nth-child(1) { animation-delay: 0.05s; }
  html.has-anim .hero-inner > :nth-child(2) { animation-delay: 0.15s; }
  html.has-anim .hero-inner > :nth-child(3) { animation-delay: 0.3s; }
  html.has-anim .hero-inner > :nth-child(4) { animation-delay: 0.45s; }
  html.has-anim .hero-inner > :nth-child(5) { animation-delay: 0.6s; }
  @keyframes heroUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.hero-lede {
  color: rgba(255,255,255,0.85);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 38px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(7,22,51,0.25);
  backdrop-filter: blur(4px);
}
.hero .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-badges svg { color: var(--cyan); flex-shrink: 0; }

/* ========================================================================
   Animações de scroll + Como Funciona + CTA móvel
   ======================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.has-anim .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  html.has-anim .reveal.visible { opacity: 1; transform: none; }

  html.has-anim .reveal-stagger > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  html.has-anim .reveal-stagger.visible > * { opacity: 1; transform: none; }
  html.has-anim .reveal-stagger.visible > :nth-child(2) { transition-delay: 0.1s; }
  html.has-anim .reveal-stagger.visible > :nth-child(3) { transition-delay: 0.2s; }
  html.has-anim .reveal-stagger.visible > :nth-child(4) { transition-delay: 0.3s; }
  html.has-anim .reveal-stagger.visible > :nth-child(5) { transition-delay: 0.4s; }

  /* Segurança: se as animações não correrem, mostra tudo */
  html.anim-fallback .reveal,
  html.anim-fallback .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  html.anim-fallback .hero-inner > * { animation: none !important; }

  .price-card, .eco-card, .contact-card, .how-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                opacity 0.55s ease;
  }
  .price-card:hover, .eco-card:hover, .contact-card:hover, .how-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
  }
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.how-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 26px 30px;
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(227,30,36,0.5);
}
.how-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.how-card p { font-size: 0.92rem; }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px -12px rgba(11,33,72,0.35);
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; justify-content: center; padding: 13px 10px; font-size: 0.92rem; }
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
}

/* ========================================================================
   Sections (generic)
   ======================================================================== */
.section { padding: 96px 0; scroll-margin-top: var(--header-h); }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 640px;
}

.section-lede { max-width: 640px; margin-bottom: 48px; font-size: 1.02rem; }

/* ========================================================================
   Pricing tabs
   ======================================================================== */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 40px;
}
:root[data-theme="dark"] .tabs { background: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabs { background: var(--surface); } }

.tab {
  border: none;
  background: transparent;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tab.active { background: var(--navy); color: var(--white); }

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tab-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.75;
}

.tabs-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: -24px 0 36px;
  max-width: 640px;
}
.tabs-note strong { color: var(--red); }

@media (max-width: 560px) {
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--cyan); }

.price-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(23,184,227,0.15), rgba(11,33,72,0.08));
  color: var(--navy);
  margin-bottom: 18px;
}
:root[data-theme="dark"] .price-icon { color: var(--cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price-icon { color: var(--cyan); } }

.price-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.price-card h3 span { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }
.price-desc { font-size: 0.88rem; margin-bottom: 20px; min-height: 40px; }
.price-value { font-size: 1.6rem; font-weight: 800; color: var(--red); }

.notice-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(227,30,36,0.07);
  border: 1px solid rgba(227,30,36,0.25);
  border-radius: var(--radius-md);
}
.notice-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.notice-card p { color: var(--text); font-size: 0.94rem; }
.notice-card strong { color: var(--red); }

/* ========================================================================
   Eco section
   ======================================================================== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.eco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}

.eco-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--navy-light));
  color: var(--white);
  margin-bottom: 20px;
}

.eco-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.eco-card p { font-size: 0.92rem; }

/* ========================================================================
   Booking section
   ======================================================================== */
.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 860px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.label-optional { font-weight: 500; color: var(--text-muted); }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355617a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23,184,227,0.18);
}
.form-field textarea { resize: vertical; min-height: 80px; }

.field-hint { font-size: 0.78rem; color: var(--text-muted); }

/* --- Calendário personalizado --- */
.form-field-date { position: relative; }

.date-display {
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.date-display svg { flex-shrink: 0; color: var(--cyan-dark); }
.date-display.has-value { color: var(--text); font-weight: 600; }
.date-display:hover { border-color: var(--cyan); }
.date-display:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(23,184,227,0.18);
}

.calendar {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(360px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px -12px rgba(11,33,72,0.35);
  padding: 16px;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calendar-head strong { font-size: 1rem; color: var(--text); }

.cal-nav {
  width: 38px; height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cal-nav:hover:not(:disabled) { background: var(--cyan); color: var(--white); border-color: var(--cyan); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  min-height: 40px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.cal-day:hover:not(:disabled) { background: rgba(23,184,227,0.15); }
.cal-day:disabled { color: var(--text-muted); opacity: 0.35; cursor: default; }
.cal-day.today { border-color: var(--cyan); }
.cal-day.selected { background: var(--red); color: var(--white); }
.cal-day.selected:hover { background: var(--red-dark); }

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500 !important;
}
.check-label input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.check-label strong { color: var(--red); }

.booking-summary {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-summary strong { font-size: 1.15rem; color: var(--red); }

.booking-status {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
}
.booking-status a { font-weight: 700; text-decoration: underline; color: inherit; }
.booking-status.success { background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.35); color: #15803d; }
.booking-status.error { background: rgba(227,30,36,0.08); border: 1px solid rgba(227,30,36,0.3); color: var(--red-dark); }
.booking-status.info { background: rgba(23,184,227,0.08); border: 1px solid rgba(23,184,227,0.3); color: var(--cyan-dark); }
:root[data-theme="dark"] .booking-status.success { color: #4ade80; }
:root[data-theme="dark"] .booking-status.error { color: #f87171; }
:root[data-theme="dark"] .booking-status.info { color: var(--cyan); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .booking-status.success { color: #4ade80; }
  :root:not([data-theme="light"]) .booking-status.error { color: #f87171; }
  :root:not([data-theme="light"]) .booking-status.info { color: var(--cyan); }
}

.booking-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #1faa53;
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(31,170,83,0.55);
}
.btn-whatsapp:hover { background: #178a43; }

.booking-note { margin-top: 18px; font-size: 0.82rem; color: var(--text-muted); }
.booking-note a { color: var(--red); font-weight: 700; }

/* --- Empresas & Frotas (B2B) --- */
.b2b-form { margin-top: 48px; }
.b2b-form-title { font-size: 1.25rem; margin-bottom: 8px; }
.b2b-form-lede { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 24px; }

.price-book {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cyan-dark);
  letter-spacing: 0.3px;
}
.price-book::after { content: ' →'; }
.price-book:hover { color: var(--red); }
:root[data-theme="dark"] .price-book { color: var(--cyan); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price-book { color: var(--cyan); } }

/* ========================================================================
   Contact section
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: left;
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-link { font-weight: 700; color: var(--red); font-size: 1.05rem; }

.contact-card p strong { color: var(--red); }

.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.map-wrap { position: relative; }
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.map-actions {
  position: absolute;
  bottom: 16px;
  left: 16px;
}
.btn-map { padding: 11px 20px; font-size: 0.88rem; }

.contact-note { font-size: 0.88rem; font-style: italic; }

.payment-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.badge-mbway { background: rgba(227,30,36,0.12); color: var(--red); border: 1px solid rgba(227,30,36,0.3); }
.badge-mb { background: rgba(11,33,72,0.08); color: var(--navy); border: 1px solid rgba(11,33,72,0.2); }
:root[data-theme="dark"] .badge-mb { color: var(--cyan); background: rgba(23,184,227,0.1); border-color: rgba(23,184,227,0.3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-mb { color: var(--cyan); background: rgba(23,184,227,0.1); border-color: rgba(23,184,227,0.3); } }
.site-footer .badge-mb { color: var(--cyan); background: rgba(23,184,227,0.1); border-color: rgba(23,184,227,0.35); }
.site-footer .badge-mbway { background: rgba(227,30,36,0.18); border-color: rgba(227,30,36,0.45); }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo { height: 64px; width: auto; display: block; }
.footer-brand p { margin-top: 12px; color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
/* --- Páginas legais --- */
.legal-page { padding-top: 140px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { margin-bottom: 6px; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 36px; }
.legal-page h2 { font-size: 1.15rem; font-weight: 800; margin: 32px 0 12px; }
.legal-page p, .legal-page li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.legal-page ul { padding-left: 22px; margin: 10px 0; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--red); font-weight: 600; }
.legal-page mark {
  background: rgba(227,30,36,0.12);
  color: var(--red-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
:root[data-theme="dark"] .legal-page mark { color: #f87171; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal-page mark { color: #f87171; } }
.footer-inline-link { color: rgba(255,255,255,0.7); text-decoration: underline; }

.footer-legal { margin: 10px 0; font-size: 0.85rem; }
.footer-legal a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  font-weight: 600;
}
.footer-legal a:hover { color: var(--cyan); }

.footer-notice { max-width: 480px; }

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ========================================================================
   Responsive tweaks
   ======================================================================== */
@media (max-width: 900px) {
  .hero-car { opacity: 0.25; width: 70vw; right: -10%; }
  .hero { padding: 100px 0 70px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 90px 0 60px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
