:root {
  --weg-blue: #0066cc;
  --weg-dark-blue: #1b1c3b;
  --weg-gray: #f2f3f7;
}

/* RESET GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--weg-dark-blue);
  color: #fff;
  z-index: 1000;
  padding: 1rem 2rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--weg-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* 🔒 BOTÃO ACESSO RESTRITO */
.btn-acesso-restrito {
  background: #ffffff;
  color: var(--weg-blue);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
  margin-left: 1rem;
  border: 2px solid #ffffff;
}

.btn-acesso-restrito:hover {
  background: var(--weg-gray);
  color: var(--weg-blue);
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 900px) {
  .btn-acesso-restrito {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--weg-dark-blue), var(--weg-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 80px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--weg-blue);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #0088ff;
  transform: translateY(-2px);
}

/* ===== SEÇÕES ===== */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--weg-dark-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* ===== SERVIÇOS ===== */
.services {
  background: var(--weg-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--weg-blue);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.diferencial-item {
  background: var(--weg-gray);
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.diferencial-item:hover {
  transform: translateY(-5px);
}

.diferencial-item .numero {
  font-size: 3rem;
  color: var(--weg-blue);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* ===== FAQ ===== */
.faq {
  background: linear-gradient(rgba(27, 28, 59, 0.9), rgba(0, 102, 204, 0.7)),
    url("../assets/img/bg.jpg") center/cover fixed;
  color: #fff;
  padding: 6rem 2rem;
}

.faq .section-title {
  color: #fff;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.faq-item p {
  color: #eee;
  line-height: 1.5;
}

/* ===== ORÇAMENTO ===== */
.orcamento {
  background: var(--weg-gray);
}

.orcamento form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.orcamento label {
  font-weight: 600;
  color: var(--weg-dark-blue);
}

.orcamento input,
.orcamento textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.orcamento input:focus,
.orcamento textarea:focus {
  border-color: var(--weg-blue);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.status {
  text-align: center;
  font-weight: bold;
  margin-top: 1rem;
}

/* ===== MAPA ===== */
.mapa-section {
  background: #fff;
  padding-bottom: 8rem;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #e0ecff;
}

/* ===== FOOTER ===== */
footer {
  background: var(--weg-dark-blue);
  color: #fff;
  padding: 3rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  width: 160px;
  margin-bottom: 1rem;
}

.footer-column h4 {
  color: var(--weg-blue);
  margin-bottom: 1rem;
}

.email-link {
  color: #fff;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ===== ANIMAÇÕES ===== */
.fade-in,
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--weg-dark-blue);
    width: 100%;
    text-align: center;
    padding: 2rem;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 25px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}
/* ===== MATERIAL 3 - BOTÃO ACESSO RESTRITO ===== */

.btn-acesso-restrito {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--weg-blue);
  padding: 10px 18px;
  border-radius: 12px; /* Material 3 */
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 
      0px 1px 2px rgba(0,0,0,0.08),
      0px 2px 4px rgba(0,0,0,0.08); /* Elevation M3 */
  transition: background 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

/* Ícone */
.btn-acesso-restrito .material-icon {
  font-size: 1.1rem;
  line-height: 0;
}

/* Hover Material 3 */
.btn-acesso-restrito:hover {
  background: #f6f6f6;
  transform: translateY(-2px);
}

/* Pressed (efeito de toque) */
.btn-acesso-restrito:active {
  transform: scale(0.96);
}

/* Ripple Material 3 */
.btn-acesso-restrito::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 204, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-acesso-restrito:active::after {
  opacity: 1;
  transition: opacity 0s;
}

/* Mobile */
@media (max-width: 900px) {
  .btn-acesso-restrito {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  .btn-acesso-restrito .material-icon {
    font-size: 1rem;
  }
}

/* ===== BOTÃO ACESSO RESTRITO - MATERIAL 3 ===== */
.btn-acesso-restrito {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--weg-blue) !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 
      0px 1px 2px rgba(0,0,0,0.08),
      0px 2px 4px rgba(0,0,0,0.12);
  transition: 0.2s ease;
  margin-left: 1rem;
}

.btn-acesso-restrito:hover {
  background: #f4f4f4;
  transform: translateY(-2px);
}

.btn-acesso-restrito:active {
  transform: scale(0.97);
}

/* Ícone Material */
.btn-acesso-restrito .icon-lock {
  color: var(--weg-blue);
}

/* RIPPLE SIMPLES */
.btn-acesso-restrito::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0,102,204,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-acesso-restrito:active::after {
  opacity: 1;
  transition: opacity 0s;
}

/* Corrige herança de nav-link */
nav a {
  text-decoration: none;
}
/* ===== BOTÃO ACESSO RESTRITO - MATERIAL 3 FILLED ===== */

.btn-acesso-restrito {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  background: var(--weg-blue) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 
      0px 2px 6px rgba(0,0,0,0.2),
      0px 1px 2px rgba(0,0,0,0.15) !important;
  position: relative !important;
  z-index: 1001 !important;
}

/* Ícone branco */
.btn-acesso-restrito .icon-lock {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* Hover */
.btn-acesso-restrito:hover {
  background: #0077ee !important;
  transform: translateY(-1px);
}

/* Active */
.btn-acesso-restrito:active {
  transform: scale(0.97);
}

/* Ripple */
.btn-acesso-restrito::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-acesso-restrito:active::after {
  opacity: 1;
  transition: opacity 0s;
}

/* Remove underline e cor roxa no nav */
nav a {
  color: inherit !important;
  text-decoration: none !important;
}

a.btn-acesso-restrito {
  color: white !important;
}
