/* RESET */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  color:#222;
  background:#fff;
}

/* CONTAINER */

.container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* HEADER */

.header{
  background:#0f0f0f;
  border-bottom:3px solid #c40000;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 0;
}

.logo{
  width:170px;
}

nav a{
  color:#fff;
  text-decoration:none;
  margin-left:25px;
  font-weight:600;
  transition:.2s;
}

nav a:hover{
  color:#ff2b2b;
}

/* HERO */

.hero{
  background:#0a0a0a;
  color:#fff;
  padding:60px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.hero-text h1{
  font-size:40px;
  margin-bottom:15px;
}

.hero-text p{
  color:#bbb;
  margin-bottom:25px;
  line-height:1.6;
}

.hero-image img{
  width:100%;
  border-radius:10px;
}

/* BOTÕES */

.hero-buttons{
  display:flex;
  gap:15px;
}

.btn-primary{
  background:#c40000;
  color:#fff;
  padding:14px 26px;
  text-decoration:none;
  font-weight:bold;
  border-radius:6px;
  transition:.2s;
}

.btn-primary:hover{
  background:#ff1a1a;
}

.btn-outline{
  border:2px solid #c40000;
  color:#fff;
  padding:12px 24px;
  text-decoration:none;
  border-radius:6px;
  transition:.2s;
}

.btn-outline:hover{
  background:#c40000;
}

/* SEÇÕES */

.section{
  padding:60px 0;
}

.section.light{
  background:#f4f4f4;
}

.section-title{
  text-align:center;
  font-size:28px;
  margin-bottom:35px;
}

/* CARDS */

.card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.card{
  border:1px solid #ddd;
  border-radius:10px;
  overflow:hidden;
  text-align:center;
  background:#fff;
  transition:.2s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card h3{
  padding:15px;
}

/* TEXTO CENTRAL */

.text-center{
  text-align:center;
  max-width:700px;
  margin:auto;
  line-height:1.6;
}

/* FOOTER */

.footer{
  background:#111;
  color:#bbb;
  padding:40px 0;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:30px;
}

.footer h3{
  color:#fff;
  margin-bottom:10px;
}

/* RESPONSIVO */

@media(max-width:900px){

.hero-grid{
  grid-template-columns:1fr;
}

nav{
  display:none;
}

}
/* FOOTER PROFISSIONAL */

.footer{
    background:#0b0b0b;
    color:#aaa;
    padding-top:50px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-logo{
    width:150px;
    margin-bottom:20px;
}

.footer-col h3{
    color:#fff;
    margin-bottom:15px;
}

.footer-col a{
    display:block;
    color:#bbb;
    text-decoration:none;
    margin-bottom:8px;
    transition:.2s;
}

.footer-col a:hover{
    color:#ff2b2b;
}

.footer-phone{
    background:#151515;
    padding:12px;
    margin-top:10px;
    border-left:3px solid #c40000;
}

.footer-bottom{
    border-top:1px solid #222;
    text-align:center;
    padding:18px;
    margin-top:40px;
    font-size:14px;
}
/* HERO */
.motos-hero {
  background:#111;
  color:#fff;
  padding:60px 20px;
  text-align:center;
}

.motos-hero h1{
  font-size:36px;
  margin-bottom:10px;
}

/* GRID */
.motos-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
  padding:40px 0;
}

/* CARD PRO */
.moto-pro{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
  transition:.3s;
}

.moto-pro:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 28px rgba(0,0,0,0.2);
}

.moto-pro img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.moto-info{
  padding:20px;
}

.moto-info h3{
  margin-bottom:10px;
}

.moto-info ul{
  padding-left:18px;
  margin-bottom:15px;
  color:#444;
}

.moto-info li{
  margin-bottom:6px;
}
.moto-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn-fin{
  background:#2e7d32;
  color:#fff;
  padding:10px 14px;
  text-decoration:none;
  border-radius:5px;
  font-size:14px;
}
.motos-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  padding:30px 15px;
}

.moto-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  text-align:center;
}

.moto-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.moto-card h3{
  margin:10px 0;
}

.moto-card p{
  font-size:14px;
  padding:0 12px;
}

.moto-buttons{
  display:flex;
  gap:8px;
  justify-content:center;
  padding:12px;
}

.btn-primary{
  background:#c40000;
  color:#fff;
  padding:8px 12px;
  border-radius:6px;
  text-decoration:none;
}

.btn-fin{
  background:#2e7d32;
  color:#fff;
  padding:8px 12px;
  border-radius:6px;
  text-decoration:none;
}
/* HERO */
.contact-hero{
  background:#0f0f0f;
  color:#fff;
  text-align:center;
  padding:70px 20px;
}

.contact-section{
  padding:50px 20px;
}

/* GRID */
.contact-grid{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

/* BOX */
.contact-box{
  background:#fff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  text-align:center;
}

.contact-box h2{
  margin-bottom:10px;
}

.phone{
  font-weight:bold;
  margin:10px 0 20px 0;
}

/* BOTÃO WHATS */
.btn-whats{
  display:inline-block;
  background:#25D366;
  color:#fff;
  padding:14px 24px;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
  transition:0.2s;
}

.btn-whats:hover{
  transform:scale(1.05);
}

/* RESPONSIVO */
@media(max-width:768px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}
/* MAPA */
.map-section{
  padding:60px 20px;
  background:#f5f5f5;
}

.map-title{
  text-align:center;
  margin-bottom:30px;
}

.map-container{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}

.map-container iframe{
  width:100%;
  height:350px;
  border:0;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

/* RESPONSIVO */
@media(max-width:768px){
  .map-container{
    grid-template-columns:1fr;
  }
}
/* CALL PEÇAS */

.pecas-call {
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("img/fachadaip.jpeg");
  background-size: cover;
  background-position: center;
}

.pecas-box {
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 20px;
}

.pecas-box h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.pecas-box p {
  margin-bottom: 30px;
  font-size: 17px;
}

/* BOTÃO GRANDE CONVERSÃO */

.btn-ml-big {
  display: inline-block;
  background: #ffe600;
  color: #111;
  font-weight: bold;
  padding: 18px 45px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s;
}

.btn-ml-big:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.page-content{
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.7;
}

.page-content h1{
  margin-bottom: 20px;
}

.page-content h3{
  margin-top: 25px;
}
/* =========================
   ANIMAÇÕES / POLISH (ADD-ON)
   Cole no FINAL do CSS
   ========================= */

html { scroll-behavior: smooth; }

/* transições suaves padrão */
a, button, .card, .moto-card, .moto-pro, .contact-box, .footer-phone {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, opacity .18s ease;
}

/* HERO: leve profundidade */
.hero, .motos-hero, .contact-hero {
  position: relative;
  overflow: hidden;
}

.hero::after, .motos-hero::after, .contact-hero::after {
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 20% 20%, rgba(196,0,0,.22), transparent 55%),
              radial-gradient(circle at 80% 40%, rgba(255,255,255,.08), transparent 60%);
  transform: rotate(8deg);
  pointer-events:none;
}

/* Menu: efeito underline */
nav a{
  position: relative;
}
nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:#c40000;
  transition:width .2s ease;
}
nav a:hover::after{
  width:100%;
}

/* Botões: hover mais “agência” */
.btn-primary:hover,
.btn-outline:hover,
.btn-whats:hover,
.btn-ml-big:hover {
  transform: translateY(-2px);
}

/* Cards: hover premium */
.card:hover,
.moto-card:hover,
.moto-pro:hover,
.contact-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

/* Imagens: zoom leve no hover */
.card img,
.moto-card img,
.moto-pro img{
  transition: transform .25s ease;
}
.card:hover img,
.moto-card:hover img,
.moto-pro:hover img{
  transform: scale(1.04);
}

/* Seções: animação de entrada (sem JS) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* aplica em blocos principais */
.section, .pecas-call, .page-content, .map-section, .contact-section {
  animation: fadeUp .45s ease both;
}

/* Footer: melhora leitura */
.footer-col p { line-height: 1.6; }
.footer-col a:hover { transform: translateX(2px); }

/* =========================
   MOBILE: não esconder menu
   (menu simples empilhado)
   ========================= */
@media (max-width: 900px){
  nav{
    display:flex;            /* sobrescreve o nav{display:none} antigo */
    flex-wrap:wrap;
    gap:12px;
    justify-content:center;
    padding-top:10px;
  }
  nav a{ margin-left:0; }
  .nav{
    flex-direction:column;
    gap:10px;
  }
  .logo{ width:150px; }
}
/* WHATSAPP FLUTUANTE */

.whatsapp-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover{
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
