/* ============================================
   ESTER CONSTRUÇÕES - STYLESHEET
   Cores Oficiais: Azul Marinho (#001F3F) e Dourado (#D4AF37)
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: #001F3F;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text h1 {
  font-size: 22px;
  color: #D4AF37;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 12px;
  color: #ccc;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #D4AF37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #001F3F 0%, #003d6b 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #D4AF37;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.cta-button {
  display: inline-block;
  background-color: #D4AF37;
  color: #001F3F;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

section {
  margin-bottom: 80px;
}

section h2 {
  font-size: 36px;
  color: #001F3F;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 15px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #D4AF37;
  border-radius: 2px;
}

section h3 {
  color: #001F3F;
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 10px;
}

section p {
  color: #555;
  margin-bottom: 15px;
  font-size: 16px;
}

/* ============================================
   SERVIÇOS
   ============================================ */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-left: 5px solid #D4AF37;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.service-card h3 {
  color: #D4AF37;
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  color: #666;
  font-size: 15px;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */

.differentials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.differential-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
  background-color: #f0f4f8;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.differential-item:hover {
  border-color: #D4AF37;
  background-color: #fefef5;
}

.differential-icon {
  width: 50px;
  height: 50px;
  background-color: #D4AF37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #001F3F;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

.differential-text h4 {
  color: #001F3F;
  margin-bottom: 5px;
  font-size: 16px;
}

.differential-text p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* ============================================
   CONTATO
   ============================================ */

.contact-section {
  background-color: #001F3F;
  color: white;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
}

.contact-section h2 {
  color: #D4AF37;
  margin-bottom: 10px;
}

.contact-section h2::after {
  background-color: white;
  left: 50%;
  transform: translateX(-50%);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.contact-item {
  padding: 20px;
}

.contact-item h4 {
  color: #D4AF37;
  margin-bottom: 10px;
  font-size: 18px;
}

.contact-item p {
  color: #ccc;
  font-size: 16px;
}

.contact-item a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.phone-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.contact-item a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #000d1f;
  color: #999;
  text-align: center;
  padding: 30px 20px;
  border-top: 3px solid #D4AF37;
}

footer p {
  margin: 0;
  font-size: 14px;
}

footer a {
  color: #D4AF37;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  section h2 {
    font-size: 28px;
  }

  .contact-info {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 14px;
  }
}
