/* ==========================================================================
   EnQuête de Nature — habillage Divi
   Palette : forêt #203D32 · sauge #70816A · crème #F4F1E8 · rouille #A84F32 · nuit #202A25
   Contrastes mesurés : forêt/crème 10,5:1 · nuit/crème 13,1:1 · rouille/crème 4,9:1 · blanc/rouille 5,5:1 · ocre clair/forêt 5,7:1
   (la sauge reste décorative : 3,7:1 sur crème, jamais pour du texte courant)
   ========================================================================== */
:root {
	--edn-foret: #203D32;
	--edn-sauge: #70816A;
	--edn-creme: #F4F1E8;
	--edn-rouille: #A84F32;
	--edn-nuit: #202A25;
	--edn-brume: #DDE3D6;
	--edn-brume-fonce: #C7D2C2;
	--edn-ocre-clair: #E8A57F;
	--edn-font-titre: 'Lora', Georgia, 'Times New Roman', serif;
	--edn-font-texte: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--edn-radius: 14px;
	--edn-radius-lg: 28px;
	--edn-shadow: 0 10px 30px rgba(32, 42, 37, .12);
}

/* ---------- Base ---------- */
body.edn, body.edn #page-container, body.edn #main-content { background: var(--edn-creme); }
body.edn { color: var(--edn-nuit); font-family: var(--edn-font-texte); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.edn p, body.edn li, body.edn input, body.edn select, body.edn textarea, body.edn button { font-family: var(--edn-font-texte); }
body.edn h1, body.edn h2, body.edn h3, body.edn h4, body.edn .entry-title {
	font-family: var(--edn-font-titre); color: var(--edn-foret); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; padding-bottom: 0;
}
body.edn h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
body.edn h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
body.edn h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 600; }
body.edn a { color: var(--edn-rouille); text-underline-offset: 3px; }
body.edn a:hover { color: var(--edn-foret); }
body.edn :focus-visible { outline: 3px solid var(--edn-rouille); outline-offset: 3px; border-radius: 4px; }
body.edn ::selection { background: var(--edn-foret); color: var(--edn-creme); }
.edn-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

/* ---------- Divi : sections « sur mesure » pleine largeur ---------- */
.et_pb_section.edn-sec { padding: 0 !important; background: transparent !important; }
.edn-sec .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; }
.edn-sec .et_pb_column, .edn-sec .et_pb_text, .edn-sec .et_pb_text_inner { margin: 0 !important; padding: 0 !important; }
.edn-sec .et_pb_text_inner > p:empty { display: none; }

/* ---------- En-tête ---------- */
#main-header, #main-header.et-fixed-header { background: var(--edn-creme) !important; box-shadow: none !important; border-bottom: 1px solid rgba(32, 61, 50, .1); }
#main-header .container.et_menu_container { width: 92%; max-width: 1240px; display: flex; align-items: center; justify-content: space-between; height: 92px; }
#main-header.et-fixed-header .container.et_menu_container { height: 76px; }
.et_header_style_left .logo_container { position: static; width: auto; height: auto; display: flex; align-items: center; }
#logo { height: 58px; max-height: 58px !important; width: auto; margin: 0; }
.et-fixed-header #logo { height: 48px; max-height: 48px !important; }
#et-top-navigation { float: none; padding: 0 !important; display: flex; align-items: center; }
#top-menu-nav { display: flex; align-items: center; }
#top-menu { display: flex; align-items: center; gap: 6px; }
#top-menu li { padding-right: 0; }
#top-menu li a {
	font-family: var(--edn-font-texte); font-weight: 700; font-size: 15.5px; color: var(--edn-foret) !important;
	padding: 10px 14px !important; opacity: 1; transition: color .2s ease;
}
#top-menu li a:hover, #top-menu li.current-menu-item > a { color: var(--edn-rouille) !important; opacity: 1; }
#top-menu li.edn-menu-cta { margin-left: 10px; }
#top-menu li.edn-menu-cta > a { background: var(--edn-rouille); color: #fff !important; border-radius: 999px; padding: 12px 24px !important; }
#top-menu li.edn-menu-cta > a:hover { background: var(--edn-foret); color: #fff !important; }
#et_top_search, #et_search_icon { display: none !important; }
.mobile_menu_bar:before { color: var(--edn-foret); }
.et_mobile_menu { background: var(--edn-creme); border-top: 3px solid var(--edn-rouille); box-shadow: var(--edn-shadow); }
.et_mobile_menu li a { color: var(--edn-foret); font-weight: 700; border-bottom: 1px solid rgba(32, 61, 50, .1); }
.et_mobile_menu li.edn-menu-cta a { color: var(--edn-rouille); }
@media (max-width: 980px) {
	#main-header .container.et_menu_container { height: 76px; }
	#logo { height: 46px; max-height: 46px !important; }
	#et-top-navigation { padding: 0 !important; }
}

/* ---------- Boutons ---------- */
.edn-btn, body.edn .et_pb_button.edn-btn, .edn-form button.edn-btn {
	display: inline-block; font-family: var(--edn-font-texte); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .01em;
	background: var(--edn-rouille); color: #fff !important; border: 2px solid var(--edn-rouille); border-radius: 999px;
	padding: .85em 1.7em; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.edn-btn:hover { background: var(--edn-foret); border-color: var(--edn-foret); color: #fff !important; transform: translateY(-1px); }
.edn-btn--ghost { background: transparent; color: var(--edn-foret) !important; border-color: var(--edn-foret); }
.edn-btn--ghost:hover { background: var(--edn-foret); color: var(--edn-creme) !important; }
.edn-btn--light { background: var(--edn-creme); color: var(--edn-foret) !important; border-color: var(--edn-creme); }
.edn-btn--light:hover { background: #fff; border-color: #fff; color: var(--edn-foret) !important; }
.edn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 0; }

/* ---------- Typographie utilitaire ---------- */
.edn-surtitre, .edn-kicker {
	font-family: var(--edn-font-texte); font-weight: 700; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
	color: var(--edn-rouille); margin: 0 0 .9em; line-height: 1.4; padding: 0;
}
.edn-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--edn-nuit); max-width: 40em; }
.edn-head { text-align: center; margin: 0 0 3rem; }
.edn-head--split { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 24px; flex-wrap: wrap; }

/* ---------- Bandes de contenu ---------- */
.edn-band { position: relative; padding: clamp(56px, 8vw, 110px) 0; }
.edn-band--creme { background: var(--edn-creme); }
.edn-band--brume { background: var(--edn-brume); }
.edn-band--foret { background: var(--edn-foret); color: var(--edn-creme); }
.edn-band--rouille { background: var(--edn-rouille); color: #fff; }
.edn-band--quote { background-image: url(../img/motif-pistes-sombre.svg); background-size: 320px; padding-top: clamp(90px, 11vw, 150px); }
.edn-band--quote::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: clamp(50px, 7vw, 110px); background: url(../img/separateur-brume.svg) center / 100% 100% no-repeat; transform: scaleY(-1); }

/* ---------- Hero ---------- */
.edn-hero {
	position: relative; overflow: hidden;
	background: url(../img/hero-paysage.svg) center bottom / 100% auto no-repeat, linear-gradient(180deg, #F7F2E6 0%, #F3E2C4 62%, #EBC9A0 100%);
	padding: clamp(44px, 6vw, 96px) 0 calc(38vw);
}
.edn-hero::before { /* soleil roux */
	content: ""; position: absolute; right: 11%; top: clamp(70px, 8vw, 130px); width: clamp(110px, 12vw, 200px); aspect-ratio: 1; border-radius: 50%;
	background: var(--edn-rouille); box-shadow: 0 0 0 clamp(18px, 3vw, 46px) rgba(232, 165, 127, .28), 0 0 clamp(90px, 14vw, 220px) clamp(40px, 6vw, 90px) rgba(232, 165, 127, .4);
}
.edn-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 8vw, 120px); background: url(../img/separateur-creme.svg) center / 100% 100% no-repeat; }
.edn-hero__inner { position: relative; z-index: 2; }
.edn-hero h1 { max-width: 12em; margin: 0 0 .35em; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; }
.edn-hero .edn-lead { max-width: 34em; }
.edn-hero .edn-btn--ghost { background: var(--edn-creme); }
.edn-hero .edn-btn--ghost:hover { background: var(--edn-foret); }
@media (max-width: 700px) {
	.edn-hero { background-size: auto 230px, 100% 100%; background-position: 34% bottom, 0 0; padding-bottom: 250px; }
	.edn-hero::before { right: 8%; top: auto; bottom: 190px; width: 64px; box-shadow: 0 0 40px 20px rgba(232, 165, 127, .35); }
}

/* ---------- Valeurs ---------- */
.edn-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.edn-value p { margin: .6em auto 0; max-width: 22em; }
.edn-ico { display: block; width: 52px; height: 52px; background: center / contain no-repeat; margin: 0 auto; }
.edn-value .edn-ico { width: 96px; height: 96px; border-radius: 50%; background-color: var(--edn-brume); background-size: 52px; margin-bottom: 22px; }
.edn-ico--loupe { background-image: url(../img/icones/loupe.svg); }
.edn-ico--empreinte-loup { background-image: url(../img/icones/empreinte-loup.svg); }
.edn-ico--sapin { background-image: url(../img/icones/sapin.svg); }
.edn-ico--empreinte-cerf { background-image: url(../img/icones/empreinte-cerf.svg); }
.edn-ico--empreinte-cerf.edn-ico--light { background-image: url(../img/icones/empreinte-cerf-clair.svg); }
@media (max-width: 800px) { .edn-values { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Illustrations / tuiles ---------- */
.edn-tile--traces { background: var(--edn-creme) url(../img/illustration-sortie-traces.svg) center / cover no-repeat; }
.edn-tile--brame { background: var(--edn-nuit) url(../img/illustration-sortie-brame.svg) center / cover no-repeat; }
.edn-tile--loup { background: var(--edn-nuit) url(../img/motif-pistes-sombre.svg) 0 0 / 240px; position: relative; }
.edn-tile--loup::after { content: ""; position: absolute; inset: 0; background: url(../img/icones/empreinte-loup-clair.svg) center / 120px no-repeat; }

/* ---------- Cartes de sorties ---------- */
.edn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.edn-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--edn-radius-lg); box-shadow: var(--edn-shadow); overflow: hidden; }
.edn-card__img { height: 230px; }
.edn-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.edn-card__body h3 { margin: 0 0 .5em; }
.edn-card__body p { margin: 0 0 1em; }
.edn-more { margin-top: auto; font-weight: 700; text-decoration: none; }
.edn-more:hover { text-decoration: underline; }
@media (max-width: 980px) { .edn-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Citation ---------- */
.edn-quote { text-align: center; max-width: 960px; }
.edn-quote__text { font-family: var(--edn-font-titre); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.16; color: var(--edn-creme); margin: 0 0 1em; }

/* ---------- Lieux ---------- */
.edn-where { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.edn-place { position: relative; min-height: 320px; border-radius: var(--edn-radius-lg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 28px; color: var(--edn-creme); isolation: isolate; }
.edn-place::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(32, 42, 37, 0) 35%, rgba(32, 42, 37, .86) 100%); }
.edn-place .edn-kicker { color: var(--edn-ocre-clair); margin-bottom: .3em; }
.edn-place strong { font-family: var(--edn-font-titre); font-size: 1.9rem; line-height: 1.1; }
.edn-place--alt { background-position: 20% 50%; }
@media (max-width: 980px) { .edn-where { grid-template-columns: 1fr; } .edn-place { min-height: 220px; } }

/* ---------- Le guide ---------- */
.edn-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.edn-about__badge { aspect-ratio: 1; border-radius: var(--edn-radius-lg); background: var(--edn-foret) url(../img/logo-icone-clair.svg) center / 62% no-repeat; box-shadow: var(--edn-shadow); }
.edn-about h2 { margin: 0 0 .5em; }
@media (max-width: 800px) { .edn-about { grid-template-columns: 1fr; } .edn-about__badge { max-width: 280px; } }

/* ---------- Appel à l'action ---------- */
.edn-cta { text-align: center; }
.edn-cta h2 { color: #fff; margin: 0 0 .4em; }
.edn-cta p { margin: 0 0 1.2em; font-size: 1.2rem; }

/* ---------- Pages de texte ---------- */
body.edn #main-content .container { max-width: 1080px; }
body.edn #main-content .container::before { display: none; }
body.edn #left-area { width: 100%; padding-bottom: 60px; }
body.edn .entry-title.main_title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); padding: 26px 0 .3em; }
.edn-prose { max-width: 820px; }
.edn-prose h2 { margin: 1.7em 0 .5em; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.edn-prose p { margin: 0 0 1.1em; }
.edn-checks { list-style: none; margin: 1em 0 1.4em; padding: 0; }
.edn-checks li { position: relative; padding: .45em 0 .45em 2em; }
.edn-checks li::before { content: ""; position: absolute; left: 0; top: .85em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--edn-rouille) url(../img/icones/feuille-clair.svg) center / 70% no-repeat; }
.edn-contact { max-width: none; }
.edn-contact__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 2em; }
.edn-contact__aside { background: var(--edn-brume); border-radius: var(--edn-radius-lg); padding: 28px 30px; }
.edn-contact__aside h2 { margin: 0 0 .6em !important; font-size: 1.6rem !important; }
.edn-contact-infos { list-style: none; margin: 0; padding: 0; }
.edn-contact-infos li { padding: .7em 0; border-top: 1px solid rgba(32, 61, 50, .15); line-height: 1.5; }
.edn-contact-infos li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .edn-contact__grid { grid-template-columns: 1fr; } }

/* ---------- Formulaire de contact ---------- */
.edn-form-wrap { background: #fff; border-radius: var(--edn-radius-lg); box-shadow: var(--edn-shadow); padding: clamp(22px, 4vw, 40px); }
.edn-form p { margin: 0; padding: 0; }
.edn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 640px) { .edn-form__row { grid-template-columns: 1fr; } }
.edn-field { margin: 0 0 1.15em !important; }
.edn-field label { display: block; font-weight: 700; font-size: .98rem; color: var(--edn-foret); margin-bottom: .4em; }
.edn-field small { font-weight: 400; color: #4d5a52; }
.edn-field input[type="text"], .edn-field input[type="email"], .edn-field input[type="tel"], .edn-field input[type="number"], .edn-field select, .edn-field textarea {
	width: 100%; box-sizing: border-box; font-size: 1.05rem; line-height: 1.4; color: var(--edn-nuit); background: var(--edn-creme);
	border: 1.5px solid var(--edn-brume-fonce); border-radius: 12px; padding: 14px 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.edn-field textarea { resize: vertical; min-height: 150px; }
.edn-field input:focus, .edn-field select:focus, .edn-field textarea:focus { outline: none; border-color: var(--edn-foret); box-shadow: 0 0 0 3px rgba(32, 61, 50, .22); }
.edn-field [aria-invalid="true"] { border-color: #9b2c1a; background: #fdf3ef; }
.edn-field__err { display: block; color: #9b2c1a; font-size: .9rem; margin-top: .35em; font-weight: 500; }
.edn-field__err:empty { display: none; }
.edn-field--check { display: grid; grid-template-columns: 22px 1fr; gap: 0 12px; align-items: start; }
.edn-field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--edn-foret); }
.edn-field--check label { font-weight: 400; font-size: .95rem; margin: 0; color: var(--edn-nuit); }
.edn-field--check .edn-field__err { grid-column: 2; }
.edn-form__actions { margin: 1.4em 0 0 !important; }
.edn-form__actions .edn-btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.edn-form__alt { margin-top: 1.1em !important; font-size: .95rem; color: #4d5a52; }
.edn-form__status { border-radius: 12px; padding: 14px 18px; margin-bottom: 1.2em; font-weight: 500; }
.edn-form__status:empty { display: none; }
.edn-form__status.is-ok { background: #E3EDDD; border-left: 4px solid var(--edn-foret); color: var(--edn-foret); }
.edn-form__status.is-error { background: #F8E5DD; border-left: 4px solid var(--edn-rouille); color: #6e2a14; }
.edn-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: .4em 0 1em; min-height: 65px; }

/* ---------- Pages légales ---------- */
.edn-legal { max-width: 860px; }
.edn-legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 1.9em 0 .5em; }
.edn-legal p, .edn-legal li { font-size: 1.02rem; }
.edn-legal ul { margin: .6em 0 1.2em 1.2em; }
.edn-legal table, .edn-table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.edn-legal th, .edn-legal td { border: 1px solid var(--edn-brume-fonce); padding: 10px 12px; text-align: left; vertical-align: top; }
.edn-legal th { background: var(--edn-brume); color: var(--edn-foret); }
.edn-legal__maj { margin-top: 2.5em; color: #4d5a52; font-size: .95rem; }
.edn-todo { background: #fff3b0; color: #5a4a00; padding: .1em .45em; border-radius: 4px; font-size: .92em; }

/* ---------- Pied de page ---------- */
body.edn #main-footer.edn-footer { background: var(--edn-foret); color: var(--edn-brume); padding: 0; }
.edn-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; width: 92%; max-width: 1240px; margin: 0 auto; padding: 72px 0 48px; }
.edn-footer__brand img { width: 300px; max-width: 100%; height: auto; display: block; }
.edn-footer__tagline { font-family: var(--edn-font-titre); font-style: italic; font-size: 1.35rem; color: var(--edn-creme); margin: 1.2em 0 .2em; padding: 0; }
.edn-footer__by { color: var(--edn-brume); font-size: .95rem; padding: 0; }
.edn-footer__title { font-family: var(--edn-font-texte) !important; font-size: .78rem !important; letter-spacing: .24em; text-transform: uppercase; color: var(--edn-ocre-clair) !important; margin: 0 0 1em; font-weight: 700 !important; }
.edn-footer__col ul { list-style: none; margin: 0; padding: 0; }
.edn-footer__col li { padding: .25em 0; }
.edn-footer a, body.edn #main-footer a { color: var(--edn-brume); text-decoration: none; }
.edn-footer a:hover { color: #fff; text-decoration: underline; }
.edn-footer__bottom { border-top: 1px solid rgba(244, 241, 232, .16); }
.edn-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; width: 92%; max-width: 1240px; margin: 0 auto; padding: 22px 0 28px; font-size: .9rem; }
.edn-footer__bottom p { margin: 0; padding: 0; color: var(--edn-brume); }
.edn-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .edn-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .edn-footer__inner { grid-template-columns: 1fr; padding-top: 52px; } .edn-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
