/* ======================================================
   Auto Placas Itapema - CSS Corporativo
   Foco: performance, consistência visual e segurança
   ====================================================== */

:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --accent: #28a745;
  --light: #f8f9fa;
  --text: #212529;
}

/* Reset leve */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: #fff;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-link {
  transition: 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(13,27,42,0.85), rgba(13,27,42,0.85)),
              url('../img/placa.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ================= BOTÕES ================= */
.btn-success {
  background-color: var(--accent);
  border: none;
  transition: 0.3s;
}

.btn-success:hover {
  background-color: #218838;
}

/* ================= SEÇÕES ================= */
section {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-dark {
  background-color: var(--primary) !important;
}

/* ================= SERVIÇOS ================= */
#servicos .col-md-4 {
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

#servicos .col-md-4:hover {
  background-color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

/* ================= CTA ================= */
.cta {
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 20px;
}

/* ================= CONTATO ================= */
#contato p {
  margin: 5px 0;
}

/* ================= RODAPÉ ================= */
footer {
  font-size: 0.9rem;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent);
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float:hover {
  background-color: #218838;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ================= HARDENING CSS ================= */
/* Evita seleção de elementos sensíveis (não é segurança real, mas ajuda UX) */
.no-select {
  user-select: none;
}

/* Evita arrastar imagens */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Limita overflow acidental */
body {
  overflow-x: hidden;
}
