/* ==========================================================================
   1. VARIÁVEIS GLOBAIS (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* Cores da Paleta */
  --gold: #c19b46;
  --gold-light: #dac17e;
  --white: #ffffff;
  --black: #000000;
  
  /* Mapeamento de cores antigas para a nova paleta */
  --dark: var(--black);
  --soft: var(--white);
  --muted: var(--gold-light);
  --line: rgba(255, 255, 255, .12);

  /* Efeitos */
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --radius: 24px;
}

/* ==========================================================================
   2. RESET E BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-style: normal;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   3. LAYOUT / UTILITÁRIOS
   ========================================================================== */
.container {
  width: min(1180px, 92%);
  margin: auto;
}

.section {
  padding: 96px 0;
}

.gold {
  color: var(--gold-light);
}

/* ==========================================================================
   4. TIPOGRAFIA
   ========================================================================== */
h1, h2, h3 {
  font-family: "Exo","Oswald", "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
  /*line-height: 1.02;*/
  text-transform: uppercase;
  /*letter-spacing: .035em;*/
}

h1 {
  font-size: 35px;
  max-width: 980px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.55rem;
}

p {
  font-family: "Barlow", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--white);
  /*opacity: 0.9;  Substitui o antigo cinza claro */
}

.eyebrow {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--gold-light);
  font-size: .85rem;
  margin-bottom: 14px;
}

/* ==========================================================================
   5. BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 10px 35px rgba(193, 155, 70, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(193, 155, 70, .28);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .22);
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  /*backdrop-filter: blur(12px);*/
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. HEADER / NAVEGAÇÃO
   ========================================================================== */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .2), transparent);
  transition: .25s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 150px;
  max-width: 48vw;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
}

.menu a:hover {
  color: var(--gold-light);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  font-size: 1.3rem;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  background: url('assets/hero-car.jpg') center/cover no-repeat, var(--black);
  isolation: isolate;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .74) 40%, rgba(0, 0, 0, .25)),
    radial-gradient(circle at 70% 30%, rgba(193, 155, 70, .18), transparent 32%);
  z-index: -1;
}

.hero-content {
  max-width: 820px;
}

.hero p {
  font-size: 1.14rem;
  max-width: 670px;
  margin: 24px 0 34px;
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
  max-width: 720px;
}

.stat {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(12px);
}

.stat strong {
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.stat span {
  font-size: .87rem;
  color: var(--gold-light);
}

/* ==========================================================================
   8. ABOUT
   ========================================================================== */
.about {
  background: linear-gradient(180deg, var(--black), var(--dark));
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.about-card {
  position: relative;
  border: 1px solid rgba(218, 193, 126, .22);
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.about-card img {
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 24px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.check b {
  color: var(--gold-light);
}

/* ==========================================================================
   9. SERVIÇOS
   ========================================================================== */
.services {
  background: var(--white);
  color: var(--black);
}

.services p,
.fleet p,
.booking p {
  color: var(--black);
  opacity: 0.8;
}

.services .eyebrow,
.fleet .eyebrow {
  color: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.service {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 28px;
  min-height: 230px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  transition: .25s;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .12);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.service h3 {
  color: var(--black);
  margin-bottom: 12px;
}

.service p {
  font-size: .96rem;
}

/* ==========================================================================
   10. FROTA
   ========================================================================== */
.fleet {
  background: var(--white);
  color: var(--black);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.car-card {
  border: 1px solid var(--gold-light);
  border-radius: 26px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .09);
  transition: .25s;
}

.car-card:hover {
  transform: translateY(-7px);
}

.car-img {
  height: 235px;
  object-fit: cover;
  width: 100%;
  background: var(--black);
}

.car-body {
  padding: 22px;
}

.car-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--black);
  font-weight: 800;
  font-size: .78rem;
}

.price {
  font-size: .95rem;
  color: var(--black);
  margin: 14px 0 20px;
}

.car-body .btn {
  width: 100%;
  padding: 12px 18px;
}

/* ==========================================================================
   11. DIFERENCIAIS
   ========================================================================== */
.differentials {
  background: linear-gradient(135deg, var(--black), var(--dark));
  position: relative;
  overflow: hidden;
}

.differentials:after {
  content: "";
  position: absolute;
  right: -140px;
  top: 80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(193, 155, 70, .18);
  filter: blur(70px);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.diff {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .045);
  border-radius: 22px;
  padding: 24px;
}

.diff h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.diff p {
  font-size: .95rem;
}

/* ==========================================================================
   12. BOOKING / RESERVA
   ========================================================================== */
.booking {
  background: var(--white);
  color: var(--black);
}

.booking-box {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
  background: var(--white);
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .12);
  overflow: hidden;
  border: 1px solid var(--gold);
}

.booking-aside {
  padding: 38px;
  background: linear-gradient(150deg, var(--black), var(--dark));
  color: var(--white);
  position: relative;
}

.booking-aside:after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(193, 155, 70, .32);
  filter: blur(40px);
}

.booking-aside p {
  color: var(--white);
  opacity: 0.9;
}

.booking-form {
  padding: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: .9rem;
  color: var(--black);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: var(--white);
  color: var(--black);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(193, 155, 70, .14);
}

/* ==========================================================================
   13. CTA (CALL TO ACTION)
   ========================================================================== */
.cta {
  position: relative;
  background: url('assets/cta-bg.jpg') center/cover no-repeat, var(--black);
  padding: 96px 0;
  isolation: isolate;
}

.cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .58));
  z-index: -1;
}

.cta-content {
  max-width: 760px;
}

.cta p {
  margin: 18px 0 28px;
  color: var(--white);
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, .7fr);
  gap: 28px;
}

.footer-logo {
  width: 200px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--gold-light);
  margin: 7px 0;
  font-size: .95rem;
  opacity: 0.8;
}

.copy {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  color: var(--gold);
  font-size: .9rem;
}

/* ==========================================================================
   15. WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--white);
  font-size: 1.75rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
  transition: .2s;
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

/* ==========================================================================
   16. RESPONSIVIDADE
   ========================================================================== */

/* --- Tablet (até 900px) --- */
@media (max-width: 900px) {
  .menu {
    position: fixed;
    top: 86px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, .96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav .btn {
    display: none;
  }

  .split,
  .booking-box,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .fleet-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile (até 600px) --- */
@media (max-width: 600px) {
  .nav {
    height: 76px;
  }

  .logo {
    width: 178px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .fleet-grid,
  .check-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .booking-aside,
  .booking-form {
    padding: 26px;
  }

  .car-img {
    height: 210px;
  }

  h1 {
    font-size: 3rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
}