/* =========================================================
   FlowMeUp — Page Contact
   Style sobre, fluide et chaleureux.
   Version révisée : 15/10/2025
========================================================= */

/* ===== Structure générale ===== */
body {
  background: linear-gradient(to bottom, #fcfaf9 0%, #f9f6f7 100%);
}

.contact-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== En-tête de page ===== */
.page-head .lead {
  margin-top: 6px;
  margin-bottom: 10px;
}

.comfort {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 12px;
}

/* ===== Phrase manuscrite ===== */
.handline {
  font-family: "Allura", cursive;
  color: #955c78; /* teinte lavande-rose harmonisée */
  font-size: 34px;
  text-align: center;
  margin: -20px 0 40px 0px; /* rapprochée du paragraphe du dessus(h,g,b,d) */
  opacity: 0.98;
}

/* ===== Carte du formulaire ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 48px 50px; /* plus aéré */
  max-width: 1080px; /* plus large */
  margin: 0 auto;
}

/* ===== Grille du formulaire ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* ===== Labels et champs ===== */
label {
  font-weight: 700;
  font-size: 14px;
  color: var(--prune);
}

input,
textarea {
  width: 100%;
  padding: 14px 16px; /* plus spacieux */
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 70%, #fff 30%);
  outline-offset: 3px;
  border-color: #e8d9ed;
  box-shadow: 0 0 0 3px rgba(166, 111, 138, 0.15);
  background: #fffeff;
}

textarea {
  min-height: 220px; /* plus haut pour confort d’écriture */
  resize: vertical;
}

/* ===== Case de consentement ===== */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  text-align: left;
}

.consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--prune);
  cursor: pointer;
}

.consent label {
  display: block;
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Bouton d’envoi ===== */
.actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

/* ===== Encadré d’informations ===== */
.contact-info {
  background: linear-gradient(135deg, #f9f6f7 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 30px 34px;
  max-width: 820px;
  margin: 50px auto 10px;
  text-align: center;
  position: relative;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--prune);
  opacity: 0.7;
}

.contact-info h3 {
  font-family: "Caveat", cursive;
  font-size: 1.9rem;
  color: var(--prune);
  margin: 0 0 10px;
}

.contact-info p {
  font-size: 17px;
  color: var(--text);
  margin: 6px 0;
}

.contact-info a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.contact-info a:hover {
  color: var(--prune);
}

.contact-info .small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

/* ===== Petits textes ===== */
p.signature {
  font-family: "Allura", cursive;
  color: var(--prune);
  text-align: center;
  font-size: 24px;
  margin-top: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .contact-card {
    padding: 28px 22px;
  }
  .contact-info {
    margin-top: 36px;
  }
  textarea {
    min-height: 180px;
  }
}

/* =========================================================
   Footer
========================================================= */
/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.footer a {
  color: var(--accent-dark);
  font-weight: 600;
}
.legal {
  font-size: 14px;
  margin-top: 8px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .frise {
    flex-direction: column;
  }
  .fleche .arrow {
    display: none;
  }
  .examples-grid {
    grid-template-columns: 1fr;
  }
}
