/* =============================================================
   Section Intro — Template Solution Single Enfant
   Bloc 2 colonnes : texte/CTAs à gauche, carte formulaire à droite.
   ============================================================= */

.child-intro {
  padding: 80px;
  background-color: #ffffff;
}

.child-intro__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* =============================================================
   Colonne gauche
   ============================================================= */

.child-intro__left {
  width: 550px;
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.child-intro__label {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #21B593;
  margin: 0;
}

.child-intro__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  color: #003c3d;
  margin: 0;
}

.child-intro__title p {
  margin: 0;
}

.child-intro__desc {
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #4a4a6a;
  max-width: 512px;
  margin: 0;
}

.child-intro__desc p {
  margin: 0;
}

/* ── Boutons (réutilise les classes page-header__btn) ── */

.child-intro__btns {
  --ph-accent: #21b593;
  --ph-light:  #d4f7a5;
  --ph-dark:   #003c3d;
  --ph-white:  #fefefe;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Bordure vert foncé sur le bouton secondaire */
.child-intro__btns .page-header__btn--secondary {
  border-color: #025253;
}

/* ── Badges ── */

.child-intro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.child-intro__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: rgba(2, 84, 85, 0.1);
  border: 1px solid rgba(2, 84, 85, 0.20);
  border-radius: 100px;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #025455;
  white-space: nowrap;
}

/* =============================================================
   Colonne droite — Carte formulaire
   ============================================================= */

.child-intro__right {
  width: 718px;
  flex-shrink: 1;
  min-width: 0;
}

.child-intro__card {
  background-color: #ffffff;
  border: 1px solid rgba(221, 227, 225, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 0px 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* En-tête sombre */
.child-intro__card-header {
  background-color: #025d5f;
  border-bottom: 1px solid rgba(221, 227, 225, 0.4);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.child-intro__card-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

.child-intro__card-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

/* Corps blanc */
.child-intro__card-body {
  background-color: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Formulaire Gravity Forms */
.child-intro__form {
  margin-bottom: 16px;
}

.child-intro__form .gform_wrapper {
  margin: 0;
}

#gform_fields_2 {
  row-gap: 10px;
}

.child-intro__form .gform_wrapper .gfield {
  margin-bottom: 0;
  position: relative;
}

.child-intro__form .gform_wrapper .gfield_label {
  position: absolute;
  top: 10px;
  left: 17px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(103, 126, 126, 0.8);
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 1;
  margin: 0;
  line-height: 1;
}

.child-intro__form .gform_wrapper .gfield_required {
  display: none;
}

.child-intro__form .gform_wrapper input[type="text"],
.child-intro__form .gform_wrapper input[type="email"],
.child-intro__form .gform_wrapper input[type="tel"],
.child-intro__form .gform_wrapper input[type="number"],
.child-intro__form .gform_wrapper textarea,
.child-intro__form .gform_wrapper select {
  background-color: #f9f9f6;
  border: 1px solid #dde3e1;
  border-radius: 12px;
  padding: 28px 17px 10px;
  height: 70px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #003c3d;
  width: 100%;
  box-sizing: border-box;
}

.child-intro__form .gform_wrapper input[type="text"]::placeholder,
.child-intro__form .gform_wrapper input[type="email"]::placeholder,
.child-intro__form .gform_wrapper input[type="tel"]::placeholder,
.child-intro__form .gform_wrapper textarea::placeholder {
  color: rgba(103, 126, 126, 0.5);
}

.child-intro__form .gform_wrapper input[type="text"]:focus,
.child-intro__form .gform_wrapper input[type="email"]:focus,
.child-intro__form .gform_wrapper input[type="tel"]:focus,
.child-intro__form .gform_wrapper textarea:focus,
.child-intro__form .gform_wrapper select:focus {
  outline: none;
  border-color: #025455;
}

.child-intro__form .gform_wrapper .gform_footer,
.child-intro__form .gform_wrapper .gform_page_footer {
  padding: 0;
  margin: 0;
}

/* Fallback input */
.child-intro__form .gform_wrapper .gform_footer input[type="submit"],
.child-intro__form .gform_wrapper .gform_page_footer input[type="submit"] {
  background-color: #025253;
  color: #fefefe;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  height: 45px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease;
}

.child-intro__form .gform_wrapper .gform_footer input[type="submit"]:hover,
.child-intro__form .gform_wrapper .gform_page_footer input[type="submit"]:hover {
  background-color: #003c3d;
}

/* Bouton custom .dioqa-gf-submit (rendu PHP avec flèche) */
.child-intro__form .gform_wrapper .dioqa-gf-submit,
#gform_submit_button_2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: 100% !important;
  background-color: #025253 !important;
  color: #fefefe !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 20px !important;
  height: 60px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.3s ease !important;
  position: relative !important;
  margin-top: 10px !important;
}

.child-intro__form .gform_wrapper .dioqa-gf-submit:hover,
#gform_submit_button_2:hover {
  background-color: #003c3d !important;
}

.child-intro__form .gform_wrapper .dioqa-gf-submit .dioqa-gf-submit__label {
  line-height: 1;
}

.child-intro__form .gform_wrapper .dioqa-gf-submit .dioqa-gf-submit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  transition: transform 0.25s ease;
}

.child-intro__form .gform_wrapper .dioqa-gf-submit .dioqa-gf-submit__icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.child-intro__form .gform_wrapper .dioqa-gf-submit:hover .dioqa-gf-submit__icon,
.child-intro__form .gform_wrapper .dioqa-gf-submit:focus-visible .dioqa-gf-submit__icon {
  transform: translateX(4px);
}

/* Points clés */
.child-intro__card-bullets {
  list-style: none;
  margin: 0 0 5px;
  padding: 5px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.child-intro__card-bullet {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #003c3d;
  line-height: 1.4;
}

.child-intro__card-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #025455;
  flex-shrink: 0;
}

/* Mentions confidentialité */
.child-intro__privacy {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #003c3d;
  margin: 0 0 16px;
  line-height: 1.4;
}

.child-intro__privacy-link {
  color: #003c3d;
  text-decoration: underline;
}

/* Pied : téléphone + séparateur + horaires */
.child-intro__card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(221, 227, 225, 0.4);
}

.child-intro__card-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #003c3d;
  text-decoration: none;
  white-space: nowrap;
}

.child-intro__card-sep {
  font-size: 16px;
  color: rgba(103, 126, 126, 0.4);
  line-height: 1;
}

.child-intro__card-hours {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #003c3d;
  white-space: nowrap;
}

/* =============================================================
   Responsive — ≤ 1280px
   ============================================================= */
@media (max-width: 1280px) {
  .child-intro {
    padding: 80px 40px;
  }

  .child-intro__inner {
    gap: 48px;
  }

  .child-intro__right {
    width: 580px;
  }

  .child-intro__title {
    font-size: 42px;
  }
}

/* =============================================================
   Responsive — ≤ 991px
   ============================================================= */
@media (max-width: 991px) {
  .child-intro {
    padding: 60px 24px;
  }

  .child-intro__inner {
    flex-direction: column;
    padding: 0;
    gap: 40px;
  }

  .child-intro__left {
    width: 100%;
  }

  .child-intro__right {
    width: 100%;
  }

  .child-intro__title {
    font-size: 32px;
  }

  .child-intro__desc {
    max-width: none;
  }
}

/* =============================================================
   Responsive — ≤ 767px
   ============================================================= */
@media (max-width: 767px) {
  .child-intro__btns {
    flex-direction: column;
  }

  .child-intro__btns .page-header__btn {
    width: 100%;
    justify-content: space-between;
  }

  .child-intro__card-header {
    padding: 20px 20px;
  }

  .child-intro__card-body {
    padding: 20px 20px;
  }

  .child-intro__card-footer {
    padding: 16px 20px;
  }
}

/* =============================================================
   Responsive — ≤ 575px
   ============================================================= */
@media (max-width: 575px) {
  .child-intro {
    padding: 40px 16px;
  }

  .child-intro__inner {
    padding: 0;
    gap: 32px;
  }

  .child-intro__title {
    font-size: 21px;
  }

  .child-intro__desc {
    font-size: 15px;
  }
}
