/* ==========================================================================
   Notre Héritage — page « Contact » (code court [nh_contact])
   Bleu nuit #0F213C · Rouge #C4232C · Blanc — EB Garamond / Montserrat
   Chaque règle est préfixée par body.nh-site pour l'emporter sur les styles généraux du thème et de Hello Elementor.
   ========================================================================== */

body.nh-site .nh-contact {
	--c-bleu: #0F213C;
	--c-rouge: #C4232C;
	--c-bouton: #B5121B;
	--c-texte: #4A5468;
	--c-trait: rgba(15, 33, 60, 0.12);
	--c-champ: #B9BFCB;
	--c-voile: #F4F6F9;
	--c-titre: "EB Garamond", Georgia, "Times New Roman", serif;
	--c-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--c-largeur: 1240px;
	--c-marge: clamp(20px, 5vw, 48px);
	font-family: var(--c-sans);
	color: var(--c-texte);
	background: #fff;
	overflow-x: clip;
}
body.nh-site .nh-contact *, body.nh-site .nh-contact *::before, body.nh-site .nh-contact *::after { box-sizing: border-box; }
body.nh-site .nh-contact :where(p, h1, h2, h3, figure, blockquote, ol, ul) { margin: 0; padding: 0; }
body.nh-site .nh-contact svg { display: block; width: 100%; height: auto; }
body.nh-site .nh-contact [hidden] { display: none !important; }
body.nh-site .nh-contact h2 {
	font-family: var(--c-titre); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; color: var(--c-bleu); margin-bottom: 14px;
}

/* Repères, boutons, liens ------------------------------------------------- */
body.nh-site .nh-c-surtitre {
	display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
	font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #fff;
}
body.nh-site .nh-c-surtitre::before { content: ""; width: 36px; height: 2px; background: var(--c-rouge); }
body.nh-site .nh-c-repere {
	font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-rouge); margin-bottom: 12px;
}
body.nh-site .nh-c-repere--centre { text-align: center; }
body.nh-site .nh-c-repere--clair { color: #F0B8BB; }
body.nh-site .nh-c-bouton {
	display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px;
	min-height: 56px; padding: 0 36px; border: 0; border-radius: 0; cursor: pointer;
	background: var(--c-bouton); color: #fff !important; text-decoration: none;
	font: 600 13px/1.2 var(--c-sans); letter-spacing: 0.16em; text-transform: uppercase;
	transition: background .2s, transform .2s;
}
body.nh-site .nh-c-bouton:hover, body.nh-site .nh-c-bouton:focus-visible { background: #8F0E16; color: #fff !important; transform: translateY(-1px); }
body.nh-site .nh-c-bouton[disabled] { opacity: .7; cursor: progress; transform: none; }
body.nh-site .nh-c-lien {
	display: inline-flex; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid currentColor; text-decoration: none;
	font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-bleu);
}
body.nh-site .nh-c-lien:hover { color: var(--c-rouge); }
body.nh-site .nh-c-lien--clair, body.nh-site .nh-c-lien--clair:hover { color: #fff; }
body.nh-site .nh-c-lien--clair:hover { border-color: var(--c-rouge); }

/* Ouverture ---------------------------------------------------------------- */
body.nh-site .nh-c-ouverture {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(60% 75% at 74% 50%, #182D50 0%, var(--c-bleu) 70%);
	border-top: 4px solid var(--c-rouge);
	padding: clamp(64px, 8vw, 112px) var(--c-marge) clamp(72px, 9vw, 120px);
}
body.nh-site .nh-c-ouverture__grille {
	max-width: var(--c-largeur); margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center;
}
body.nh-site .nh-c-titre {
	font-family: var(--c-titre); font-weight: 500; color: #fff;
	font-size: clamp(44px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -0.012em; margin-bottom: 28px;
}
body.nh-site .nh-c-titre em { display: block; font-style: italic; color: #F4E9E9; }
body.nh-site .nh-c-chapo { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: rgba(255,255,255,0.8); max-width: 540px; }
body.nh-site .nh-c-ouverture__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
body.nh-site .nh-c-lien-clair {
	color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
	padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.45); word-break: break-word;
}
body.nh-site .nh-c-lien-clair:hover { color: #fff; border-color: var(--c-rouge); }
body.nh-site .nh-c-delai { margin-top: 22px; font-size: 13px; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
body.nh-site .nh-c-delai span { color: var(--c-rouge); margin-right: 6px; }
body.nh-site .nh-c-enveloppe { width: 100%; max-width: 600px; justify-self: center; }
body.nh-site .nh-c-enveloppe svg { filter: drop-shadow(0 28px 46px rgba(0,0,0,0.42)); }

/* Formulaire et coordonnées ------------------------------------------------ */
body.nh-site .nh-c-corps { background: var(--c-voile); padding: clamp(64px, 8vw, 110px) var(--c-marge); scroll-margin-top: 24px; }
body.nh-site .nh-c-corps__grille {
	max-width: var(--c-largeur); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start;
}
body.nh-site .nh-c-carte { background: #fff; border: 1px solid var(--c-trait); padding: clamp(26px, 3vw, 36px); }
body.nh-site .nh-c-carte--formulaire { padding: clamp(28px, 4.5vw, 60px); }
body.nh-site .nh-c-carte--bleu { background: var(--c-bleu); border-color: var(--c-bleu); color: rgba(255,255,255,0.82); }
body.nh-site .nh-c-carte--bleu .nh-c-repere { color: #F0B8BB; }
body.nh-site .nh-c-carte--bleu p:not(.nh-c-repere) { font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
body.nh-site .nh-c-aide { font-size: 14px; color: var(--c-texte); margin-bottom: 28px; }
body.nh-site .nh-c-requis { color: var(--c-rouge); }
body.nh-site .nh-c-facultatif { font-weight: 500; letter-spacing: 0.06em; text-transform: none; color: var(--c-texte); margin-left: 4px; }
body.nh-site .nh-c-statut:empty { display: none; }
body.nh-site .nh-c-statut { margin-bottom: 24px; padding: 14px 18px; font-size: 14.5px; line-height: 1.6; background: var(--c-voile); border-top: 2px solid var(--c-bleu); color: var(--c-bleu); }
body.nh-site .nh-c-statut.est-erreur { border-top-color: var(--c-rouge); background: #FBEFF0; }
body.nh-site .nh-c-statut a { color: inherit; }

body.nh-site .nh-c-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.nh-site .nh-c-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 24px; }
body.nh-site .nh-c-champ { display: flex; flex-direction: column; gap: 8px; margin: 0; }
body.nh-site .nh-c-champ--large { grid-column: 1 / -1; }
body.nh-site .nh-c-champ > label {
	font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-bleu);
}
body.nh-site .nh-c-champ input[type="text"],
body.nh-site .nh-c-champ input[type="email"],
body.nh-site .nh-c-champ select,
body.nh-site .nh-c-champ textarea {
	width: 100%; min-height: 54px; margin: 0; padding: 14px 16px;
	font: 400 15.5px/1.5 var(--c-sans); color: var(--c-bleu);
	background: #fff; border: 1px solid var(--c-champ); border-radius: 0; box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
body.nh-site .nh-c-champ textarea { min-height: 190px; resize: vertical; }
body.nh-site .nh-c-champ select {
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230F213C' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
body.nh-site .nh-c-champ input::placeholder { color: #8A93A5; }
body.nh-site .nh-c-champ input:focus,
body.nh-site .nh-c-champ select:focus,
body.nh-site .nh-c-champ textarea:focus { outline: none; border-color: var(--c-bleu); box-shadow: 0 0 0 3px rgba(15, 33, 60, 0.1); }
body.nh-site .nh-c-champ [aria-invalid="true"] { border-color: var(--c-rouge); box-shadow: 0 0 0 3px rgba(196, 35, 44, 0.1); }
body.nh-site .nh-c-erreur { font-size: 13px; line-height: 1.5; color: var(--c-rouge); }
body.nh-site .nh-c-erreur:empty { display: none; }

body.nh-site .nh-c-accord { display: grid; grid-template-columns: 22px 1fr; gap: 4px 14px; align-items: start; }
body.nh-site .nh-c-accord > label {
	font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.6; color: var(--c-texte); cursor: pointer;
}
body.nh-site .nh-c-accord > label a { color: var(--c-bleu); }
body.nh-site .nh-c-accord .nh-c-erreur { grid-column: 2; }
body.nh-site .nh-c-accord input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; cursor: pointer;
	border: 1px solid var(--c-champ); border-radius: 0; background: #fff; transition: background .2s, border-color .2s;
}
body.nh-site .nh-c-accord input[type="checkbox"]:checked {
	background: var(--c-bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: var(--c-bleu);
}
body.nh-site .nh-c-accord input[aria-invalid="true"] { border-color: var(--c-rouge); }

body.nh-site .nh-c-envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--c-trait); }
body.nh-site .nh-c-envoi__note { font-size: 13px; color: var(--c-texte); }

body.nh-site .nh-c-merci { text-align: center; padding: clamp(10px, 3vw, 40px) 0; outline: none; }
body.nh-site .nh-c-merci__cachet {
	width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 50%; padding: 18px;
	background: var(--c-voile); border: 1px solid var(--c-trait);
}
body.nh-site .nh-c-merci__cachet img { width: 100%; height: auto; display: block; }
body.nh-site .nh-c-merci p:not(.nh-c-repere) { font-size: 16px; line-height: 1.8; max-width: 480px; margin: 0 auto; }
body.nh-site .nh-c-merci p.nh-c-merci__liens { margin-top: 30px; }

body.nh-site .nh-c-cote { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
body.nh-site .nh-c-email {
	display: inline-block; margin-bottom: 14px; text-decoration: none; word-break: break-word;
	font-family: var(--c-titre); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; color: var(--c-bleu);
	border-bottom: 1px solid var(--c-trait);
}
body.nh-site .nh-c-email:hover { color: var(--c-rouge); border-color: var(--c-rouge); }
body.nh-site .nh-c-copier {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 16px; padding: 0 16px; cursor: pointer;
	font: 600 11.5px/1 var(--c-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-bleu);
	background: #fff; border: 1px solid var(--c-bleu); border-radius: 0;
}
body.nh-site .nh-c-copier:hover, body.nh-site .nh-c-copier.est-copie { background: var(--c-bleu); color: #fff; }
body.nh-site .nh-c-petit { font-size: 14px; line-height: 1.7; color: var(--c-texte); }
body.nh-site .nh-c-reseaux { margin-top: 14px; }
body.nh-site .nh-c-signature { display: flex; align-items: center; gap: 16px; padding: 8px 4px; }
body.nh-site .nh-c-signature img { flex: none; width: 56px; height: auto; }
body.nh-site .nh-c-signature p { font-family: var(--c-titre); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--c-bleu); }

/* Questions fréquentes ------------------------------------------------------ */
body.nh-site .nh-c-faq { max-width: 880px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--c-marge); }
body.nh-site .nh-c-faq h2 { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
body.nh-site .nh-c-fleuron { width: 150px; margin: 0 auto 28px; }
body.nh-site .nh-c-faq__liste { border-top: 1px solid var(--c-trait); }
body.nh-site .nh-c-question { border-bottom: 1px solid var(--c-trait); }
body.nh-site .nh-c-question summary {
	list-style: none; cursor: pointer; position: relative; padding: 24px 48px 24px 0;
	font-family: var(--c-titre); font-size: clamp(20px, 1.9vw, 23px); line-height: 1.3; color: var(--c-bleu);
}
body.nh-site .nh-c-question summary::-webkit-details-marker { display: none; }
body.nh-site .nh-c-question summary::before,
body.nh-site .nh-c-question summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.6px; background: var(--c-rouge); transition: transform .25s;
}
body.nh-site .nh-c-question summary::after { transform: rotate(90deg); }
body.nh-site .nh-c-question[open] summary::after { transform: rotate(0deg); }
body.nh-site .nh-c-question summary:hover { color: var(--c-rouge); }
body.nh-site .nh-c-question p { padding: 0 48px 26px 0; font-size: 16px; line-height: 1.8; }
body.nh-site .nh-c-question p a { color: var(--c-bleu); font-weight: 600; margin-left: 4px; }

/* En attendant --------------------------------------------------------------- */
body.nh-site .nh-c-final {
	background: var(--c-voile); color: var(--c-texte); text-align: center; border-top: 1px solid var(--c-trait);
	padding: clamp(72px, 8vw, 110px) var(--c-marge);
}
body.nh-site .nh-c-final h2 { font-size: clamp(32px, 3.6vw, 48px); }
body.nh-site .nh-c-final > p:not(.nh-c-repere) { max-width: 560px; margin: 0 auto; font-size: 16.5px; line-height: 1.8; }
body.nh-site .nh-c-final__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: center; align-items: center; }

@media (prefers-reduced-motion: reduce) {
	body.nh-site .nh-c-bouton, body.nh-site .nh-c-question summary::after { transition: none; }
}

/* Tablette ----------------------------------------------------------------- */
@media (max-width: 960px) {
	body.nh-site .nh-c-ouverture__grille { grid-template-columns: 1fr; }
	body.nh-site .nh-c-enveloppe { max-width: 520px; }
	body.nh-site .nh-c-corps__grille { grid-template-columns: 1fr; }
	body.nh-site .nh-c-cote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.nh-site .nh-c-signature { grid-column: 1 / -1; }
}

/* Mobile ------------------------------------------------------------------- */
@media (max-width: 600px) {
	body.nh-site .nh-c-champs { grid-template-columns: 1fr; gap: 20px; }
	body.nh-site .nh-c-cote { display: flex; }
	body.nh-site .nh-c-ouverture__actions { flex-direction: column; align-items: flex-start; }
	body.nh-site .nh-c-envoi .nh-c-bouton { width: 100%; }
	body.nh-site .nh-c-final__actions { flex-direction: column; }
	body.nh-site .nh-c-final__actions .nh-c-bouton { width: 100%; }
	body.nh-site .nh-c-question summary { padding-right: 36px; }
	body.nh-site .nh-c-question p { padding-right: 0; }
}

/* Liens vers les réseaux (icônes du thème) ----------------------------------- */
body.nh-site .nh-c-reseaux .nh-reseaux { display: flex; gap: 10px; }
body.nh-site .nh-c-reseaux .nh-icone {
	display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
	border: 1px solid var(--c-trait); color: var(--c-bleu); transition: background .2s, color .2s, border-color .2s;
}
body.nh-site .nh-c-reseaux .nh-icone:hover { background: var(--c-bleu); border-color: var(--c-bleu); color: #fff; }
body.nh-site .nh-c-reseaux svg { width: 20px; height: 20px; }
