/* =============================================
   ÉCLAT DE VIVIE — Pages CMS, Contact, Conditions de retour
   ============================================= */

/* ── Hero commun (CMS + contact) ── */
.edv-cms-hero {
  background: #EFF6F7;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
}
.edv-cms-hero__eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1B6B77;
  margin-bottom: 0.85rem;
}
.edv-cms-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: #0D1B1E;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── Corps de page CMS ── */
.edv-cms-body {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #4A5F63;
}
.edv-cms-body h1,
.edv-cms-body h2,
.edv-cms-body h3,
.edv-cms-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  color: #0D1B1E;
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}
.edv-cms-body h1 { font-size: 30px; }
.edv-cms-body h2 { font-size: 26px; }
.edv-cms-body h3 { font-size: 21px; }
.edv-cms-body h4 { font-size: 18px; }
.edv-cms-body > *:first-child { margin-top: 0; }
.edv-cms-body p { margin: 0 0 1.25rem; }
.edv-cms-body ul,
.edv-cms-body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.edv-cms-body li { margin-bottom: 0.5rem; }
.edv-cms-body a {
  color: #1B6B77;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 107, 119, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.edv-cms-body a:hover { color: #134F59; border-bottom-color: #134F59; }
.edv-cms-body strong { color: #0D1B1E; font-weight: 500; }
.edv-cms-body img { max-width: 100%; height: auto; }
.edv-cms-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.edv-cms-body th,
.edv-cms-body td { padding: 0.75rem; border-bottom: 1px solid #EFF6F7; text-align: left; }
.edv-cms-body hr { border: none; border-top: 1px solid #EFF6F7; margin: 2.5rem 0; }

.edv-cms-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  color: #0D1B1E;
  margin: 0 0 1.25rem;
}
.edv-cms-empty { color: #7A9499; }

/* ── Cards de pages CMS ── */
.edv-cms-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .edv-cms-cards { grid-template-columns: 1fr 1fr; }
}
.edv-cms-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: #EFF6F7;
  border-bottom: none !important;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.edv-cms-card:hover { background: #1B6B77; }
.edv-cms-card__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #0D1B1E;
  transition: color 0.25s ease;
}
.edv-cms-card__arrow { color: #1B6B77; transition: color 0.25s ease; }
.edv-cms-card:hover .edv-cms-card__title,
.edv-cms-card:hover .edv-cms-card__arrow { color: #FFFFFF; }

/* ============================================================
   CONTACT
   ============================================================ */
.edv-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 5rem;
}
@media (min-width: 900px) {
  .edv-contact__grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
}
.edv-contact__col-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  color: #0D1B1E;
  margin: 0 0 0.75rem;
}
.edv-contact__col-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #7A9499;
  margin: 0 0 2rem;
}

/* Bloc infos (colonne droite) */
.edv-contact__info {
  background: #EFF6F7;
  padding: 2rem;
  align-self: start;
}
.edv-contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(27, 107, 119, 0.15);
}
.edv-contact__item:last-child { border-bottom: none; }
.edv-contact__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1B6B77;
  display: flex; align-items: center; justify-content: center;
}
.edv-contact__item-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A9499;
  margin: 0 0 0.25rem;
}
.edv-contact__item-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #0D1B1E;
  margin: 0;
  text-decoration: none;
}

/* ── Override des champs natifs du module contactform ── */
.edv-contact__form .form-fields,
.edv-contact__form .form-group,
.edv-contact__form .row { margin: 0; }
.edv-contact__form .form-group {
  display: block;
  margin-bottom: 1.35rem;
}
.edv-contact__form label,
.edv-contact__form .form-control-label {
  display: block;
  width: 100%;
  max-width: none;
  flex: none;
  text-align: left;
  padding: 0 0 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0D1B1E;
}
.edv-contact__form .form-control,
.edv-contact__form input[type="text"],
.edv-contact__form input[type="email"],
.edv-contact__form textarea,
.edv-contact__form select {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #0D1B1E;
  background: transparent;
  border: none;
  border-bottom: 1px solid #C5DDE0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.2s ease;
}
.edv-contact__form textarea { min-height: 130px; resize: vertical; }
.edv-contact__form .form-control:focus,
.edv-contact__form input:focus,
.edv-contact__form textarea:focus { border-bottom-color: #1B6B77; }
.edv-contact__form ::placeholder { color: #B8C9CC; }
.edv-contact__form .form-control-comment,
.edv-contact__form .help-block {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #7A9499;
  margin-top: 0.4rem;
}
/* Bouton d'envoi */
.edv-contact__form [type="submit"],
.edv-contact__form .btn-primary,
.edv-contact__form button[type="submit"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #1B6B77;
  border: 1px solid #1B6B77;
  border-radius: 0;
  padding: 0.95rem 2.5rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.edv-contact__form [type="submit"]:hover,
.edv-contact__form .btn-primary:hover,
.edv-contact__form button[type="submit"]:hover {
  background: #134F59;
  border-color: #134F59;
}
.edv-contact__form .alert {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 1rem 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
/* Le module contactform rend son propre <header> (h1 + intro) : doublon
   avec .edv-contact__col-title / __col-sub → masqué. */
.edv-contact__form .login-form > form > header,
.edv-contact__form .login-form header { display: none; }
/* Champ fichier lisible */
.edv-contact__form input[type="file"] {
  border: none;
  border-bottom: 1px solid #C5DDE0;
  padding: 0.55rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  width: 100%;
}
.edv-contact__form input[type="file"]::file-selector-button {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B6B77;
  background: #EFF6F7;
  border: 1px solid #C5DDE0;
  border-radius: 0;
  padding: 0.5rem 1rem;
  margin-right: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.edv-contact__form input[type="file"]::file-selector-button:hover {
  background: #1B6B77;
  color: #FFFFFF;
}

/* ============================================================
   CONDITIONS DE RETOUR (order-return)
   ============================================================ */
.edv-return-conditions {
  background: #EFF6F7;
  padding: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: #4A5F63;
}
.edv-return-conditions__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #0D1B1E;
  margin: 0 0 1rem;
}
.edv-return-conditions p { margin: 0 0 0.85rem; }
.edv-return-conditions p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   PAGE CONTACT — formulaire centré + infos
   ═══════════════════════════════════════════ */
.edv-contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.edv-contact-hero {
  text-align: center;
  margin-bottom: 3rem;
}

/* Champs formulaire */
.contact-form .form-group,
.contact-form .form-fields > div {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #7A9499 !important;
  font-family: 'DM Sans', sans-serif !important;
  margin-bottom: 6px !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: 'DM Sans', sans-serif !important;
  color: #0D1B1E !important;
  background: #FFFFFF !important;
  border: 0.5px solid #C5DDE0 !important;
  border-radius: 0 !important;
  outline: none !important;
  transition: border-color 0.25s !important;
  appearance: none !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #1B6B77 !important;
}

.contact-form textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B6B77' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}

.contact-form button[type="submit"] {
  width: 100% !important;
  background: #1B6B77 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 14px 32px !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-family: 'DM Sans', sans-serif !important;
  cursor: pointer !important;
  transition: opacity 0.25s !important;
  margin-top: 0.5rem !important;
}

.contact-form button[type="submit"]:hover {
  opacity: 0.85 !important;
}

/* Colonne infos contact */
.edv-contact-info {
  background: #EFF6F7;
  padding: 2rem;
  margin-top: 2.5rem;
}

.edv-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.6;
}

.edv-contact-info-item:last-child {
  margin-bottom: 0;
}

.edv-contact-info-item svg {
  stroke: #1B6B77;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Masque le header natif éventuel du module contactform */
.contact-form > header,
.login-form > header {
  display: none !important;
}

/* Honeypot anti-spam masqué */
.contact-form input[name="url"] {
  display: none !important;
}
