/* ===== VARIÁVEIS CSS ===== */
:root {
  /* Cores Primárias */
  --primary-blue: #2E86AB;
  --secondary-mint: #A8E6CF;
  --accent-gold: #F39C12;
  
  /* Cores Neutras */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --dark-gray: #343A40;
  --text-dark: #2C3E50;
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-mint) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, #E67E22 100%);
  
  /* Tipografia */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Sombras */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Transições */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 15px;
  --radius-large: 25px;
}

/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.8rem;
  font-weight: 600;
}

h3 {
  font-size: 2.2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.8rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ===== COMPONENTES REUTILIZÁVEIS ===== */

/* Botões */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  background: var(--gradient-gold);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius-medium);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
  text-decoration: none;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-medium);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* Seções */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-fast);
}

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

.logo {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::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 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Utilitários */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-gold {
  color: var(--accent-gold);
}

.bg-light {
  background-color: var(--light-gray);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Responsividade */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-whatsapp {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .section {
    padding: 40px 0;
  }
}


/* Improved Spacing and Alignment */
.section {
    padding: 4rem 0;
    margin: 0;
}

.section:first-of-type {
    padding-top: 2rem;
}

.section:last-of-type {
    padding-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Spacing */
.card, .benefit-card, .feature-card, .service-card {
    margin-bottom: 2rem;
    padding: 2rem;
}

/* Row Spacing */
.row {
    margin-bottom: 0;
}

.row + .row {
    margin-top: 2rem;
}

/* Column Spacing */
.col-lg-4, .col-lg-6, .col-md-6 {
    margin-bottom: 2rem;
}

/* Button Spacing */
.btn + .btn {
    margin-left: 1rem;
}

/* Text Alignment */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

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

/* Responsive Spacing */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
        font-size: 2rem;
    }
    
    .section-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .card, .benefit-card, .feature-card, .service-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .btn + .btn {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Container Improvements */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Header Spacing */
.header {
    padding: 1rem 0;
    margin-bottom: 0;
}

/* Hero Section Spacing */
.hero {
    padding: 2rem 0;
    margin-bottom: 0;
}

/* Footer Spacing */
.footer {
    margin-top: 4rem;
}

/* Form Spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    margin-bottom: 1rem;
}

/* List Spacing */
ul, ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Image Spacing */
img {
    margin-bottom: 1rem;
}

.img-fluid {
    margin-bottom: 0;
}

