/* ===== VARIÁVEIS CSS ===== */
:root {
  --primary-color: #320957;
  --secondary-color: #fbbb04;
  --accent-color: #a76f2b;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #2c3e50;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --danger-color: #dc3545;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}



/* ===== HERO BANNER ===== */
.hero-banner {
  background: linear-gradient(135deg, #320957 0%, #5a2d4a 25%, #a76f2b 60%, #fbbb04 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

/* Logo Corinthians como marca d'água */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('Banner.jpg') center/cover;
  opacity: 0.3;
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--secondary-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* ===== CONSTRUCTION IMAGE ===== */
.construction-image {
  margin: 3rem 0;
}

.construction-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.construction-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

.contact-info h4 {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-info a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ===== SECTION STYLES ===== */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

/* ===== CARDS ===== */
.card-custom {
  background: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--text-light);
  border: none;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: #6c757d;
  line-height: 1.6;
}

/* ===== PROGRESS BAR ===== */
.progress {
  background-color: #e9ecef;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--success-color), var(--secondary-color));
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== STATUS ITEMS ===== */
.status-item {
  padding: 1rem;
  transition: var(--transition);
}

.status-item:hover {
  transform: translateY(-3px);
}

.status-item i {
  margin-bottom: 0.5rem;
}

.status-item p {
  font-weight: 500;
  color: var(--text-dark);
}

/* ===== NEWSLETTER ===== */
.input-group {
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.form-control-custom {
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(50, 9, 87, 0.25);
  outline: none;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(50, 9, 87, 0.4);
}



/* ===== ALERTS ===== */
.alert-custom {
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, var(--success-color), #20c997);
  color: var(--text-light);
}

.alert-warning {
  background: linear-gradient(135deg, var(--warning-color), #fd7e14);
  color: var(--text-dark);
}

.alert-info {
  background: linear-gradient(135deg, var(--info-color), #6f42c1);
  color: var(--text-light);
}

.alert-error {
  background: linear-gradient(135deg, var(--danger-color), #e83e8c);
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer-custom {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-color));
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-custom h5 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-custom a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-custom a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }



  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-danger { color: var(--danger-color) !important; }

.bg-light { background-color: var(--bg-light) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

/* ===== SCROLLBAR CUSTOMIZATION ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* ===== LOADING STATES ===== */
.spinner-border {
  width: 1rem;
  height: 1rem;
}

/* ===== HOVER EFFECTS ===== */
.nav-link, .btn, .card-custom {
  transition: var(--transition);
}

.nav-link:hover, .btn:hover, .card-custom:hover {
  transform: translateY(-2px);
}

/* ===== FOCUS STATES ===== */
.btn:focus, .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(50, 9, 87, 0.25);
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar-custom,
  .btn,
  .modal,
  .footer-custom {
    display: none !important;
  }

  .hero-banner {
    background: white !important;
    color: black !important;
  }

  .section-padding {
    padding: 1rem 0;
  }
}
