* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

:root {
  --gold: #D4AF37;
  --gold-light: #F0C45A;
  --gold-dark: #B49450;
  --gold-glow: rgba(212, 175, 55, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== HERO SECTION AJUSTADA PARA RESPONSIVIDADE ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background-image: url('img/imgHero.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) and (min-width: 577px) {
  .hero {
    min-height: 600px;
    background-position: center 20%;
    background-size: cover;
  }
}

@media (max-width: 576px) {
  .hero {
    /* ↓ DIMINUI ALTURA (tira aquele espaço gigante) */
    min-height: 420px;
    height: auto;

    /* ↓ SOBE O CONTEÚDO */
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;

    /* ↓ MANTÉM SUA IMAGEM CERTA */
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #000;
  }

  /* ↓ AJUSTE FINO (sobe mais um pouco) */
  .hero-content {
    margin-top: -30px;
  }
}

/* Dispositivos muito pequenos (375px ou menos) */
@media (max-width: 375px) {
  .hero {
    min-height: 450px;
    height: 80vh;
    background-position: center 10%;
  }
}

/* Para telas muito altas em dispositivos móveis */
@media (max-height: 600px) and (max-width: 992px) {
  .hero {
    min-height: 400px;
    height: auto;
    padding: 80px 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(0,0,0,0) 0%,           
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.4) 70%,        
    #000000 100%                 
  );
  z-index: 1;
  pointer-events: none; 
}

/* Ajuste no gradiente para mobile */
@media (max-width: 576px) {
  .hero-overlay {
    background: linear-gradient(
      180deg, 
      rgba(0,0,0,0.2) 0%,     
      rgba(0,0,0,0.2) 30%,          
      rgba(0,0,0,0.5) 60%,        
      #000000 100%                 
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.logo-large {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 0 2px 15px rgba(0,0,0,0.7);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Ajustes nos textos para mobile */
@media (max-width: 576px) {
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  }
  
  .hero-subtitle {
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  }
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold);
  color: #000000;
  box-shadow: 0 10px 25px var(--gold-glow);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000000;
  transform: translateY(-3px);
}

.btn-large {
  padding: 18px 50px;
  font-size: 1.2rem;
}

.btn i {
  margin-left: 10px;
  transition: transform 0.2s;
}

.btn:hover i {
  transform: translateX(5px);
}

/* ===== PROGRAM SECTION ===== */
.program-section {
  padding: 80px 0;
  background: #000000;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.program-card {
  background: linear-gradient(145deg, #0a0a0a 0%, #111111 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 175, 55, 0.1) inset;
  max-width: 1000px;
  margin: 0 auto;
}

.section-tag {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.mentoria-bold {
  font-weight: 700;
  color: var(--gold);
}

.divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 40px;
}

.program-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.program-subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  text-align: left;
}

.program-description {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.7;
  text-align: left;
}

.program-description.highlight {
  color: var(--gold);
  font-weight: 500;
  border-left: 4px solid var(--gold);
  padding-left: 25px;
  margin: 35px 0;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 100%);
  text-align: left;
}

.about-mentoring {
  padding: 100px 0;
  background: #000000;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
  white-space: normal;
}

.about-text .accent {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 5px;
  white-space: nowrap; 
}

.about-text p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 35px;
  line-height: 1.7;
}

.about-image-placeholder {
  height: 400px;
  background-image: url('img/imgDown.jpg');

  background-size: contain; /* NÃO CORTA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;

  border-radius: 80px;
}

.about-image-placeholder:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 25px 40px -15px rgba(212, 175, 55, 0.3);
}

footer {
  padding: 60px 0;
  background: #0a0a0a;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

footer p {
  color: #888888;
  font-size: 0.95rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #111111;
  max-width: 550px;
  width: 90%;
  border-radius: 30px;
  padding: 50px 45px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transform: translateY(40px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.active .modal-card {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.close-modal:hover {
  transform: rotate(90deg);
  color: #ffffff;
}

.modal-card h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: #222222;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.counter {
  text-align: right;
  font-size: 0.85rem;
  color: #888888;
  margin-top: 5px;
}

.btn-full {
  width: 100%;
  margin-top: 15px;
}

@media (max-width: 992px) {
  .about-grid {
    gap: 40px;
  }
  
  .program-card {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .program-section {
    padding: 60px 0;
  }
  
  .program-card {
    padding: 30px 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-text {
    order: 1;
  }
  
  .about-image-placeholder {
    height: 300px;
    order: 2;
  }
  
  .program-content {
    text-align: left;
    margin: 0 auto;
  }
  
  .btn-large {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .logo-large {
    font-size: 1.3rem;
    font-weight: 300;
  }
  
  .program-subtitle {
    font-size: 1.6rem;
  }
  
  .program-description {
    font-size: 1rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 14px 30px;
    font-size: 1rem;
  }
  
  .modal-card {
    padding: 40px 25px;
  }
  
  .modal-card h2 {
    font-size: 1.6rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

/* Adicione esta regra no final do arquivo CSS */
.required {
  color: #ff4444;
  margin-left: 3px;
}

/* Estilo para campos inválidos */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ff4444;
}

.form-group input:invalid:not(:placeholder-shown):focus,
.form-group textarea:invalid:not(:placeholder-shown):focus {
  border-color: #ff4444;
  box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;  /* Esta linha centraliza tudo */
  }
  
  .about-text {
    order: 1;
  }
}

/* Mantém o texto alinhado à esquerda em mobile */
@media (max-width: 768px) {
  .about-text {
    text-align: left;
  }
  
  .about-text h2,
  .about-text p {
    text-align: left;
  }
}

/* ===== HERO TITLE AJUSTES ===== */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.hero-title-light {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0,0,0,0.7);
  display: block;
}

.hero-title-bold {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 4px 25px rgba(0,0,0,0.7);
  display: block;
  margin-top: -5px;
}

/* Texto com contorno para "Terapia" */
.outline-text {
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  text-stroke: 2px var(--gold);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  display: inline-block;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
  .hero-title-light {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
  }
  
  .hero-title-bold {
    font-size: clamp(2.2rem, 8vw, 4rem);
  }
  
  .outline-text {
    -webkit-text-stroke: 1.5px var(--gold);
    text-stroke: 1.5px var(--gold);
  }
}

@media (max-width: 576px) {
  .hero-title-light {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  
  .hero-title-bold {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  
  .outline-text {
    -webkit-text-stroke: 1px var(--gold);
    text-stroke: 1px var(--gold);
  }
}

@media (max-width: 375px) {
  .hero-title-light {
    font-size: 1.2rem;
  }
  
  .hero-title-bold {
    font-size: 1.6rem;
  }
}