/**
 * AB EMPREENDIMENTOS - STYLE.CSS
 * Design: Corporativo Moderno Premium
 * Cores: Azul Royal, Laranja Vibrante, Cinza Elegante
 * Tipografia: Poppins (títulos), Inter (corpo)
 */

/* ============================================================================
   1. RESET E VARIÁVEIS CSS
   ============================================================================ */

:root {
  --primary-blue: #1E3A8A;
  --primary-blue-light: #3B82F6;
  --accent-orange: #FF6B35;
  --accent-orange-light: #FFA500;
  --secondary-teal: #0891B2;
  --neutral-dark: #1F2937;
  --neutral-light: #F3F4F6;
  --neutral-white: #FFFFFF;
  --accent-gold: #FBBF24;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --border-color: #E5E7EB;
  --shadow-light: 0 2px 12px rgba(30, 58, 138, 0.1);
  --shadow-medium: 0 8px 24px rgba(255, 107, 53, 0.15);
  --transition-smooth: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--neutral-white);
  line-height: 1.6;
  font-size: 16px;
}

/* ============================================================================
   2. TIPOGRAFIA
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 52px;
  letter-spacing: -0.5px;
  color: var(--neutral-white);
}

h2 {
  font-size: 40px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 28px;
  letter-spacing: -0.2px;
}

h4 {
  font-size: 24px;
  color: var(--primary-blue);
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

p {
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-orange);
}

/* ============================================================================
   3. COMPONENTES GLOBAIS
   ============================================================================ */

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.section-title p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Linha divisória com gradiente */
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  margin: 20px auto 30px;
  border-radius: 2px;
}

/* Cards com sombra moderna */
.card {
  background: var(--neutral-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
}

.card:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-orange);
  transform: translateY(-5px);
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--neutral-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
  color: var(--neutral-white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--neutral-white);
  border: 2px solid var(--neutral-white);
}

.btn-outline:hover {
  background-color: var(--neutral-white);
  color: var(--primary-blue);
}

/* ============================================================================
   4. HEADER E NAVEGAÇÃO
   ============================================================================ */

header {
  background-color: var(--neutral-white);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo span {
  color: var(--accent-orange);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-blue);
}

/* ============================================================================
   5. HERO SECTION
   ============================================================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  color: var(--neutral-white);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--neutral-white);
  margin-bottom: 20px;
  font-size: 56px;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   6. SEÇÃO INSTITUCIONAL
   ============================================================================ */

.institutional {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.institutional-content h2 {
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.institutional-content p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.institutional-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-white);
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--primary-blue);
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================================
   7. SEÇÃO DE SERVIÇOS
   ============================================================================ */

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

.service-card {
  background: var(--neutral-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-10px);
  border-color: var(--accent-orange);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-orange);
}

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

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 14px;
}

/* ============================================================================
   8. SEÇÃO DE INFORMAÇÕES
   ============================================================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
  border-left: 4px solid var(--accent-orange);
  padding: 25px;
  border-radius: 8px;
}

.info-box h4 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.info-box p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 14px;
}

/* ============================================================================
   9. FORMULÁRIOS
   ============================================================================ */

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: var(--transition-smooth);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================================
   10. FOOTER
   ============================================================================ */

footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  color: var(--neutral-white);
  padding: 60px 0 20px;
  margin-top: 80px;
}

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

.footer-section h4 {
  color: var(--neutral-white);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.footer-section p strong {
  color: var(--accent-gold);
  display: block;
  font-weight: 700;
}

.footer-section a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.footer-section a:hover {
  color: var(--neutral-white);
  text-decoration: underline;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.8;
}

.footer-divider a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 500;
}

.footer-divider a:hover {
  color: var(--neutral-white);
  text-decoration: underline;
}

/* ============================================================================
   11. UTILITÁRIOS
   ============================================================================ */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ============================================================================
   12. RESPONSIVIDADE
   ============================================================================ */

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }

  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.active {
    display: block;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .institutional {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .footer-content {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .container {
    padding: 0 15px;
  }

  nav ul {
    gap: 10px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .card {
    padding: 20px;
  }

  .service-card {
    padding: 25px 20px;
  }

  .info-grid {
    gap: 20px;
  }

  .form-row {
    gap: 15px;
  }
}

/* ============================================================================
   13. ANIMAÇÕES
   ============================================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}
