/* Famille d'Accueil Page Styles */

.page-content {
  padding: 2rem 0;
}

/* Fix for form inputs with icons */
.form-input-wrapper .form-input {
  padding-left: 2.5rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: var(--light-cream, #FEF3F0);
  border: 2px solid var(--primary-color);
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--dark-gray, #666);
  margin: 0;
}

/* Info Section */
.info-section {
  margin-bottom: 3rem;
}

.info-content h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--light-cream);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* Requirements and Support Boxes */
.requirements-box,
.support-box {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 2rem;
}

.requirements-box h3,
.support-box h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.requirements-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-box li {
  padding: 0.5rem 0;
  color: var(--dark-gray);
  line-height: 1.6;
}

.support-box p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* Form Section */
.form-section {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
  color: var(--primary-color);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-intro {
  text-align: center;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 2rem 0;
}

.success-icon-large {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.5s ease-out;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.host-family-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-section-title {
  margin: 2rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.form-section-title h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-note {
  color: var(--dark-gray);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-content {
    padding: 1rem;
  }

  .hero-section {
    margin-bottom: 2rem;
    border-radius: 0.5rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-card,
  .requirements-box,
  .support-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .form-section {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

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

  .form-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form section appears immediately */
.form-section {
  animation: fadeInUp 0.6s ease-out;
}
