/* En-tête de la page Contact : nom + « Retoucheur », comme sur l'accueil (règles reprises de une-page.css) */
#logo .logo-sub { display: block; margin-top: 2px; padding-left: .42em; font: 300 13px/1 Poppins, sans-serif; letter-spacing: .42em; text-transform: uppercase; color: #6e6e76; text-align: center; }
.contact-page .contact-text .list-layout-text { padding-top: 40px; padding-bottom: 79px; }
/* même écart (≈ 80 px) entre le menu et le texte, puis entre le texte et l'adresse e-mail (demande d'Hugo) */
@media (min-width: 768px) {
  .contact-page #header-main { padding-bottom: 30px; }   /* moins d'espace entre le menu et le texte (demande d'Hugo) */
}
@media (max-width: 767px) {
  .contact-page .contact-text .list-layout-text { padding-bottom: 38px; }   /* mobile : même écart (≈ 40 px) avant et après le texte */
  .contact-page #header #logo .logo-a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .contact-page #header #logo .logo-h1 { height: auto; line-height: 1.15; }
  #logo .logo-sub { margin-top: 5px; padding-left: 0; font-size: 10px; letter-spacing: .38em; text-align: left; }
}

/* Formulaire de contact (page Contact) */
.cf { max-width: 560px; margin: 56px auto 90px; padding: 0 16px; text-align: left; }
.cf .cf-intro { font: 300 15px/1.6 Poppins, sans-serif; color: #313139; margin: 0 0 26px; text-align: center; }
.cf .cf-row { margin: 0 0 22px; }
.cf .cf-label { display: block; margin: 0 0 7px; font: 500 11px/1.4 Poppins, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6e6e76; }
.cf .cf-in { display: block; width: 100%; height: auto; box-sizing: border-box; margin: 0; padding: 11px 13px;
  border: 1px solid #d9d9de; border-radius: 0; background: #fff; box-shadow: none; -webkit-appearance: none; appearance: none;
  font: 300 16px/1.5 Poppins, sans-serif; color: #313139; transition: border-color .2s ease; }
.cf .cf-in:focus { outline: none; border-color: #313139; }
.cf .cf-area { min-height: 160px; resize: vertical; }
.cf .cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf .cf-btn { display: block; margin: 30px auto 0; padding: 13px 34px; border: 0; border-radius: 0; background: #313139; color: #fff;
  font: 500 11px/1.4 Poppins, sans-serif; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, opacity .2s ease; }
.cf .cf-btn:hover, .cf .cf-btn:focus-visible { background: #000; }
.cf .cf-btn:focus-visible { outline: 2px solid #313139; outline-offset: 3px; }
.cf .cf-btn[disabled] { opacity: .55; cursor: default; }
.cf .cf-status { min-height: 1.6em; margin: 18px 0 0; font: 400 14px/1.6 Poppins, sans-serif; text-align: center; }
.cf .cf-status.is-ok { color: #2e7d32; }
.cf .cf-status.is-err { color: #b42318; }
.cf .cf-note { margin: 6px 0 0; font: 300 12px/1.5 Poppins, sans-serif; color: #6e6e76; text-align: center; }
@media (max-width: 767px) { .cf { margin: 40px auto 70px; } }

/* Page d'erreur 404 (404.html, même en-tête et pied de page que Contact) — validée par Hugo */
.nf { text-align: center; padding: 70px 20px 110px; }
.nf .nf-code { font: 300 96px/1 Poppins, sans-serif; letter-spacing: .06em; color: #e4e4e8; margin: 0 0 18px; }
.nf .nf-title { font: 300 30px/1.3 Poppins, sans-serif; letter-spacing: .02em; color: #313139; margin: 0 0 12px; }
.nf .nf-text { font: 300 15px/1.6 Poppins, sans-serif; color: #6e6e76; margin: 0 0 34px; }
.nf .nf-links { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0; }
.nf .nf-btn { display: inline-block; padding: 13px 30px; background: #313139; color: #fff; font: 500 11px/1.4 Poppins, sans-serif; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.nf .nf-btn:hover, .nf .nf-btn:focus-visible { background: #000; color: #fff; }
.nf .nf-link { font: 500 11px/1.4 Poppins, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #313139; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 767px) { .nf { padding: 50px 16px 80px; } .nf .nf-code { font-size: 72px; } .nf .nf-title { font-size: 24px; } }

/* lien de la mention sous le formulaire */
.cf .cf-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Page Mentions légales (page-mentions-legales.html) */
.ml { max-width: 760px; margin: 0 auto; padding: 40px 20px 100px; text-align: left; }
.ml .ml-title { font: 300 30px/1.3 Poppins, sans-serif; letter-spacing: .02em; color: #313139; text-align: center; margin: 0 0 44px; }
.ml .ml-sec { margin: 0 0 34px; }
.ml h2 { font: 500 11px/1.4 Poppins, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6e6e76; margin: 0 0 10px; }
.ml p { font: 300 15px/1.7 Poppins, sans-serif; color: #313139; margin: 0 0 10px; }
.ml a { color: #313139; text-decoration: underline; text-underline-offset: 2px; }
.ml .ml-a-completer { background: #fff3cd; padding: 0 4px; }
@media (max-width: 767px) { .ml { padding: 30px 16px 70px; } .ml .ml-title { font-size: 24px; margin-bottom: 30px; } .ml p { font-size: 14px; } }
