/* ==========================================================================
   CONFIGURAÇÕES GERAIS E VARIÁREIS
   ========================================================================== */
:root {
  --primary-color: #233971; /* Azul Marinho G3 */
  --secondary-color: #ef9b4e; /* Laranja G3 */
  --white: #ffffff;
  --gray-light: #f4f4f4;
  --text-dark: #333;
  --transition: 0.3s ease-in-out;
}

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

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
  overflow-x: hidden; /* Evita scroll horizontal indesejado */
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVBAR & MENU
   ========================================================================== */
.navbar {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  margin-left: 25px;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--secondary-color);
}

/* Hamburguer Icon (Escondido no Desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 85vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-content {
  width: 100%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: var(--secondary-color);
  color: var(--white);
  padding: 18px 35px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition:
    transform 0.3s,
    background 0.3s;
}

.btn-cta:hover {
  background: #d6813a;
  transform: scale(1.05);
}

.btn-cta i {
  margin-right: 8px;
}

/* ==========================================================================
   SERVIÇOS (GRID)
   ========================================================================== */
.services {
  padding: 100px 0;
  background: var(--gray-light);
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 60px;
  font-size: 2.5rem;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-bottom: 5px solid transparent;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 5px solid var(--secondary-color);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* ==========================================================================
   FOOTER (CONTATO E LOCALIZAÇÃO)
   ========================================================================== */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.footer-section p {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-section i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-top: 5px;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--secondary-color);
}

/* Mapa */
.footer-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 0; /* Remove espaço extra abaixo do iframe */
}

/* Redes Sociais */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
}

.social-icons a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  opacity: 0.8;
}

.dev-credits {
  margin-top: 8px;
}

.dev-credits a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
  /* Navbar Mobile */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: flex; /* Garante que o menu use flex */
    position: fixed;
    top: 85px; /* Altura da navbar */
    left: -100%; /* Escondido */
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    height: calc(100vh - 85px);
    text-align: center;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 50px 0;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .nav-links li a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 0;
  }

  /* Hero Mobile */
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Footer Mobile */
  .footer-content {
    text-align: center;
  }

  .footer-section p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}
