:root{
  --preto-logo:#1d1d1b; /* TROQUE AQUI se quiser ajustar a cor do cabeçalho */
  --vermelho:#e00000;
  --vermelho-escuro:#b90000;
  --verde-whats:#25D366;
  --verde-whats-escuro:#16a34a;
  --texto:#111111;
  --cinza:#f5f5f5;
  --borda:#eeeeee;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#fff;
  color:var(--texto);
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* ================= CABEÇALHO ================= */

.header{
  position:fixed;
  top:0;
  width:100%;
  background:var(--preto-logo);
  z-index:999;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-content{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 0;
}

.logo{
  width:210px;
  max-width:70vw;
  display:block;
}

/* ================= HERO ================= */

.hero{
  min-height:94vh;
  padding-top:95px;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(224,0,0,.35), transparent 30%),
    linear-gradient(135deg, #161616 0%, #222 45%, #0b0b0b 100%);
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.05) 0 8%, transparent 8% 18%, rgba(255,255,255,.04) 18% 25%, transparent 25%),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.65));
  z-index:1;
}

.hero-art{
  position:absolute;
  right:-80px;
  bottom:80px;
  width:720px;
  height:210px;
  background:linear-gradient(90deg, rgba(224,0,0,.95), rgba(255,20,20,.55));
  clip-path:polygon(5% 70%, 18% 42%, 36% 28%, 58% 24%, 73% 38%, 88% 42%, 96% 60%, 92% 75%, 70% 78%, 45% 83%, 20% 82%);
  opacity:.22;
  filter:blur(.2px);
  z-index:1;
}

.hero-content{
  position:relative;
  z-index:2;
  color:#fff;
  max-width:780px;
}

.tag{
  display:inline-block;
  background:rgba(224,0,0,.15);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  padding:9px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:18px;
}

.hero h1{
  font-size:64px;
  line-height:1.02;
  font-weight:900;
  margin-bottom:20px;
}

.hero p{
  font-size:19px;
  line-height:1.6;
  max-width:650px;
  color:rgba(255,255,255,.86);
  margin-bottom:34px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  padding:15px 24px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:.25s;
}

.btn-primary{
  background:var(--vermelho);
  color:white;
  box-shadow:0 14px 30px rgba(224,0,0,.28);
}

.btn-primary:hover{
  background:var(--vermelho-escuro);
  transform:translateY(-2px);
}

.btn-secondary{
  background:#fff;
  color:#111;
}

.btn-secondary:hover{
  transform:translateY(-2px);
}

/* ================= PESQUISA ================= */

.search-section{
  padding:34px 0 10px;
  background:#fff;
}

#searchInput{
  width:100%;
  padding:17px 18px;
  border-radius:15px;
  border:1px solid var(--borda);
  font-size:16px;
  outline:none;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}

#searchInput:focus{
  border-color:var(--vermelho);
}

/* ================= ESTOQUE ================= */

.catalogo{
  padding:60px 0 90px;
}

.section-heading{
  text-align:center;
  margin-bottom:36px;
}

.section-heading span{
  color:var(--vermelho);
  text-transform:uppercase;
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
}

.section-heading h2{
  font-size:42px;
  margin:8px 0 8px;
}

.section-heading p{
  color:#666;
  line-height:1.6;
}

.cars-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:26px;
}

.car-card{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.08);
  border:1px solid #f1f1f1;
  transition:.3s;
}

.car-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 45px rgba(0,0,0,.13);
}

.car-image-wrap{
  width:100%;
  background:#eee;
  aspect-ratio:4/5;
  overflow:hidden;
}

.car-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.car-content{
  padding:22px;
}

.car-content h3{
  font-size:20px;
  line-height:1.25;
  margin-bottom:10px;
  min-height:50px;
  text-align:center;
}

.price{
  display:block;
  color:var(--vermelho);
  font-size:27px;
  font-weight:700;
  margin-bottom:18px;
  text-align:center;
}

.car-info{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-bottom:18px;
}

.info-item{
  background:#f7f7f7;
  border-radius:13px;
  padding:10px 8px;
  text-align:center;
}

.info-item span{
  display:block;
  font-size:18px;
  margin-bottom:4px;
}

.info-item p{
  font-size:13px;
  font-weight:700;
}

.card-btn-whats{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  text-align:center;
  background:var(--verde-whats);
  color:#fff;
  text-decoration:none;
  padding:15px;
  border-radius:14px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(37,211,102,.24);
  transition:.25s;
}

.card-btn-whats:hover{
  background:var(--verde-whats-escuro);
  transform:translateY(-2px);
}

.wpp-icon{
  font-size:18px;
}

/* ================= SOBRE ================= */

.sobre{
  padding:90px 0;
  background:#f6f6f6;
}

.sobre-content{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:54px;
  align-items:center;
}

.sobre-image img{
  width:100%;
  border-radius:24px;
  display:block;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.sobre-text span{
  color:var(--vermelho);
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.08em;
}

.sobre-text h2{
  font-size:42px;
  margin:10px 0 20px;
}

.sobre-text p{
  color:#444;
  line-height:1.8;
  margin-bottom:16px;
}

/* ================= CONTATO ================= */

.contato{
  padding:70px 0;
  background:#fff;
}

.contato-box{
  background:linear-gradient(135deg,#151515,#252525);
  color:#fff;
  border-radius:26px;
  padding:48px 24px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.contato-box:before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-70px;
  top:-70px;
  background:rgba(224,0,0,.32);
  border-radius:50%;
}

.contato-box span{
  color:#ff4a4a;
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.08em;
}

.contato-box h2{
  font-size:34px;
  margin:10px auto 12px;
  max-width:720px;
  position:relative;
  z-index:2;
}

.contato-box p{
  color:rgba(255,255,255,.8);
  margin-bottom:24px;
  position:relative;
  z-index:2;
}

.btn-contato{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--verde-whats);
  color:white;
  text-decoration:none;
  padding:15px 24px;
  border-radius:14px;
  font-weight:900;
  position:relative;
  z-index:2;
}

/* ================= RODAPÉ ================= */

.footer{
  background:var(--preto-logo);
  color:#fff;
  padding:36px 0;
  text-align:center;
}

.footer-logo{
  width:170px;
  margin-bottom:14px;
}

.footer p{
  color:rgba(255,255,255,.7);
  font-size:13px;
}

/* ================= WHATSAPP FLUTUANTE ================= */

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--verde-whats);
  color:white;
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  font-size:25px;
  z-index:998;
  box-shadow:0 10px 30px rgba(37,211,102,.35);
}

/* ================= MOBILE ================= */

@media(max-width:780px){

  .container{
    width:92%;
  }

  .header-content{
    padding:12px 0;
  }

  .logo{
    width:175px;
  }

  .hero{
    min-height:88vh;
    padding-top:82px;
  }

  .hero-art{
    width:420px;
    height:135px;
    right:-120px;
    bottom:90px;
  }

  .hero h1{
    font-size:40px;
  }

  .hero p{
    font-size:16px;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
    text-align:center;
  }

  .section-heading h2{
    font-size:34px;
  }

  .catalogo{
    padding-top:40px;
  }

  .cars-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .car-content h3{
    min-height:auto;
  }

  .sobre{
    padding:70px 0;
  }

  .sobre-content{
    grid-template-columns:1fr;
    gap:28px;
  }

  .sobre-text h2{
    font-size:34px;
  }

  .contato{
    padding:50px 0;
  }

  .contato-box{
    padding:38px 18px;
  }

  .contato-box h2{
    font-size:28px;
  }
}
