/* ========================================
   LAYOUT FIXES - Alinhamento e Simetria
   ======================================== */

/* ========== CONTAINER GLOBAL ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  width: 100%;
}

/* ========== SEÇÕES ========== */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--color-text-medium);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== GRIDS SIMÉTRICOS ========== */
.symptoms-grid,
.benefits-grid,
.method-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  align-items: start;
}

/* Cards com altura uniforme */
.symptom-card,
.benefit-card,
.method-card,
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.symptom-card:hover,
.benefit-card:hover,
.method-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.2;
  margin: 1.5rem 0;
  color: var(--color-text);
}

.hero-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  margin: 1.5rem 0;
  color: var(--color-text-medium);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========== FORMULÁRIO CENTRALIZADO ========== */
.section-form {
  padding: 5rem 0;
  background: linear-gradient(135deg, #F8F5F0 0%, #FFFFFF 100%);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-step {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.form-step-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.form-step-description {
  font-size: 1.125rem;
  color: var(--color-text-medium);
  margin-bottom: 2rem;
  max-width: 500px;
}

/* ========== AUTORIDADE SECTION ========== */
.section-authority {
  padding: 5rem 0;
  background: white;
}

.authority-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.authority-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 0 auto;
  display: block;
}

.authority-text {
  text-align: left;
}

/* ========== TRANSFORMAÇÕES ========== */
.transformations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.transformation-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
}

.transformation-card:hover {
  transform: translateY(-8px);
}

.transformation-image-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #E0E0E0;
}

.transformation-before,
.transformation-after {
  aspect-ratio: 1;
  overflow: hidden;
}

.transformation-before img,
.transformation-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== CTAs OTIMIZADOS ========== */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary-light) 100%);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.cta-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: var(--color-text-medium);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .authority-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .authority-text {
    text-align: center;
  }
  
  .form-container {
    padding: 2rem 1.5rem;
  }
  
  .symptoms-grid,
  .benefits-grid,
  .method-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .transformations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 400px;
  }
}

/* ========== Z-INDEX MANAGEMENT ========== */
.urgency-banner {
  z-index: 1000;
}

.header {
  z-index: 999;
}

.parallax-bg {
  z-index: 1;
}

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

.modal {
  z-index: 1001;
}

/* ========== SCROLL BEHAVIOR ========== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

/* ========== LEGIBILIDADE ========== */
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin-bottom: 1rem;
  max-width: 70ch;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Melhor contraste para texto */
.section-light {
  background: white;
  color: var(--color-text);
}

.section-dark {
  background: var(--color-text);
  color: white;
}

/* ========== IMAGENS RESPONSIVAS ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}
