/* ============================================================
   SECTION CONTACT — assets/css/style.css
   ============================================================ */

/* ---------- Section wrapper ---------- */
#contact {
  background: #eef7f1;
  padding: 80px 40px 0px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
  padding-bottom: 120px;
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(84, 166, 106, .10);
  color: var(--vert-mid);
  border: 1px solid rgba(84, 166, 106, .28);
  border-radius: 20px;
  padding: 5px 14px;
  font-family:     var(--font-texte);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contact-badge i {
  font-size: 0.8rem;
  color:     var(--vert);
}

.contact-titre {
  font-family: 'Schoolbell', cursive;
  font-size: 2.2rem;
  color: #b5833e;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.contact-sous-titre {
  color: #6b5644;
  font-size: 1rem;
  margin: 0 auto;
  max-width: 480px;
  line-height: 1.6;
}

/* ---------- Layout 2 colonnes ---------- */
.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- Carte formulaire ---------- */
.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(181, 131, 62, 0.10);
}

/* ---------- Groupes de champs ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b5833e;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.form-group label i {
  font-size: 0.78rem;
  color: #b5833e;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.required {
  color: #e05252;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e8dfd0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #3d2b1f;
  background: #fdfaf5;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #54a66a;
  box-shadow: 0 0 0 3px rgba(84, 166, 106, 0.12);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* Ligne nom + téléphone */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---------- Bouton envoyer ---------- */
.btn-envoyer {
  width: 100%;
  padding: 14px;
  background: #b5833e;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}

.btn-envoyer i {
  font-size: 0.95rem;
}

.btn-envoyer:hover {
  background: #9c6e30;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(181, 131, 62, 0.25);
}

.btn-envoyer:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-envoyer:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- Feedback messages ---------- */
.form-feedback {
  display: none;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.form-feedback i {
  font-size: 1rem;
  flex-shrink: 0;
}

.form-feedback.success {
  background: #e8f5ec;
  color: #2e7d47;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

/* ---------- Colonne infos ---------- */
.contact-infos {
  padding-top: 6px;
}

.contact-infos-titre {
  font-family: 'Schoolbell', cursive;
  font-size: 1.6rem;
  color: #b5833e;
  margin: 0 0 12px 0;
}

.contact-infos-desc {
  color: #6b5644;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ---------- Items coordonnées ---------- */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #e8f5ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54a66a;
  font-size: 1rem;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}

.info-content strong {
  font-size: 0.74rem;
  font-weight: 700;
  color: #b5833e;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-content span,
.info-content a {
  color: #3d2b1f;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s;
}

.info-content a:hover {
  color: #54a66a;
}

/* ---------- Horaires ---------- */
.horaires-box {
  background: #fff8c9;
  border: 1px dashed #eec9ae;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.horaires-titre {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Schoolbell', cursive;
  color: #b5833e;
  font-size: 1.1rem;
  margin: 0 0 12px 0;
}

.horaires-titre i {
  font-size: 0.95rem;
  color: #b5833e;
}

.horaires-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.horaires-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: #6b5644;
}

.horaires-list li i {
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.horaires-list li .fa-circle-check  { color: #54a66a; }
.horaires-list li .fa-circle-xmark  { color: #d9534f; }

/* ---------- CTA Disponibilités ---------- */
.btn-dispo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #ffffff;
  color: #54a66a;
  border: 2px solid #54a66a;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-sizing: border-box;
}

.btn-dispo i {
  font-size: 0.95rem;
  transition: color 0.2s;
}

.btn-dispo-arrow {
  margin-left: auto;
}

.btn-dispo:hover {
  background: #54a66a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(84, 166, 106, 0.25);
}

.btn-dispo:hover i {
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  #contact {
    padding: 50px 20px 170px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-titre {
    font-size: 1.8rem;
  }

  .contact-form-card {
    padding: 26px 20px;
  }
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}