/* Exprimez-vous — Élysée Conseils. Tout est préfixé .ed- ; la feuille ne se charge que sur la page concernée.
   Polices du thème (inherit). Couleurs : bleu et rouge d'Élysée Conseils, fond crème. */
.ed-page {
  --ink: #151821; --muted: #5d6472; --paper: #fbfaf7; --line: #e6e2d9;
  --blue: #153e8a; --blue-soft: #eaf0fc; --red: #d93030; --red-soft: #fdecec;
  --green: #157a5c; --green-soft: #e3f5ee; --sun: #a8710c; --sun-soft: #fff4dc;
  --shadow: 0 24px 70px rgba(21, 62, 138, .14);
  /* pleine largeur, même dans la colonne étroite du thème */
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  box-sizing: border-box; color: var(--ink); line-height: 1.55; background: var(--paper);
  font-family: inherit; text-align: left;
}
body:has(.ed-page) { overflow-x: clip; }
.ed-page *, .ed-page *::before, .ed-page *::after { box-sizing: border-box; }
.ed-page [hidden] { display: none !important; }
.ed-page .ed-i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.ed-noscript { margin: 0; padding: 14px 20px; background: var(--red-soft); color: #8f1717; text-align: center; font-weight: 700; }

.ed-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.ed-center { text-align: center; }

/* Accueil */
.ed-hero { position: relative; overflow: hidden; text-align: center; padding: 72px 0 150px;
  background:
    radial-gradient(520px 320px at 8% 10%, rgba(246,183,60,.30), transparent 70%),
    radial-gradient(560px 360px at 94% 0%, rgba(21,62,138,.16), transparent 70%),
    radial-gradient(480px 320px at 80% 100%, rgba(217,48,48,.12), transparent 70%),
    linear-gradient(180deg, #fff9ec, var(--paper)); }
.ed-merci-hero { padding-bottom: 90px; }
.ed-hello { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 16px 8px 12px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(21,24,33,.06); }
.ed-hello .ed-i { color: var(--red); fill: var(--red); }
.ed-page h1.ed-h1 { margin: 0; padding: 0; font-size: clamp(34px, 6.4vw, 84px); line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: 0; }
.ed-page h1.ed-h1 span { color: var(--blue); }
.ed-page h1.ed-une-ligne { white-space: nowrap; }
.ed-page h1.ed-h1-moyen { font-size: clamp(32px, 5.2vw, 62px); }
.ed-lead { max-width: 760px; margin: 26px auto 0; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.45; color: #2a3040; }
.ed-lead strong { color: var(--blue); }
.ed-lead2 { max-width: 680px; margin: 16px auto 0; font-size: 17px; color: var(--muted); }

.ed-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px auto 0; max-width: 920px; text-align: left; }
.ed-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(21,24,33,.06); }
.ed-step b { display: block; font-size: 16px; line-height: 1.2; }
.ed-step span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.35; }

.ed-ico { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--blue-soft); color: var(--blue); }
.ed-ico .ed-i { width: 28px; height: 28px; }
.ed-ico.ed-rouge { background: var(--red-soft); color: var(--red); }
.ed-ico.ed-vert { background: var(--green-soft); color: var(--green); }
.ed-ico.ed-soleil { background: var(--sun-soft); color: var(--sun); }
.ed-bulle { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 30px; }
.ed-bulle .ed-i { width: 46px; height: 46px; }
.ed-grand-ico { width: 72px; height: 72px; border-radius: 24px; }
.ed-grand-ico .ed-i { width: 36px; height: 36px; }

/* Formulaire pleine largeur */
.ed-formwrap { margin-top: -96px; padding-bottom: 60px; position: relative; z-index: 2; }
.ed-card { padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.ed-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.ed-page h2 { font-family: inherit; letter-spacing: 0; }
.ed-card h2 { margin: 0; padding: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--ink); }
.ed-sub { margin: 4px 0 28px; color: var(--muted); font-size: 16px; }
.ed-sect { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; padding-top: 22px; border-top: 1px dashed var(--line);
  font-weight: 700; font-size: 17px; color: var(--blue); }
.ed-card-head + .ed-sub + .ed-notice + form .ed-sect:first-of-type, #ed-form .ed-sect:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.ed-page label { display: block; margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.ed-page label small { font-weight: 400; color: var(--muted); }
.ed-field { position: relative; }
.ed-field > .ed-i { position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; color: #8a90a0; pointer-events: none; z-index: 1; }
.ed-page input[type=text], .ed-page input[type=email], .ed-page input[type=tel], .ed-page select, .ed-page textarea {
  display: block; width: 100%; max-width: none; border: 1.5px solid #d8d4ca; border-radius: 14px; margin: 0 0 16px; background: #fdfcfa; color: var(--ink);
  font: inherit; font-size: 16px; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.ed-page input[type=text], .ed-page input[type=email], .ed-page input[type=tel], .ed-page select { height: 50px; padding: 0 16px; }
.ed-field input, .ed-field select { padding-left: 46px !important; }
.ed-page textarea { min-height: 190px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.ed-page input:hover, .ed-page select:hover, .ed-page textarea:hover { border-color: #b9b4a8; }
.ed-page input:focus, .ed-page select:focus, .ed-page textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(21,62,138,.14); }
.ed-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ed-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-count { margin: -8px 4px 14px 0; text-align: right; color: var(--muted); font-size: 12px; }
.ed-hp { position: absolute; left: -10000px; opacity: 0; height: 0; overflow: hidden; }

.ed-page .ed-check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin: 0; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fdfcfa; color: #3a4050; font-size: 14px; font-weight: 400; cursor: pointer; }
.ed-page .ed-check:hover { border-color: #b9b4a8; }
.ed-page .ed-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.ed-page .ed-check a { color: var(--blue); text-decoration: underline; }
.ed-page .ed-check b { color: var(--ink); }

.ed-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.ed-note { margin: 0; max-width: 620px; color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.ed-note .ed-i { color: var(--blue); margin-top: 1px; }
.ed-page .ed-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border: 0; border-radius: 99px;
  background: var(--blue); color: #fff; text-decoration: none; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; line-height: 1.2;
  box-shadow: 0 12px 26px rgba(21,62,138,.30); transition: transform .12s, box-shadow .12s, background .12s; }
.ed-page .ed-button:hover { background: #0f2f6c; color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px rgba(21,62,138,.36); }
.ed-page .ed-button[disabled] { opacity: .6; cursor: wait; transform: none; }
.ed-page .ed-sauter { background: none; border: 0; padding: 12px 16px; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; box-shadow: none; }
.ed-notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; margin: 0 0 20px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.ed-notice.ed-erreur { color: #8f1717; background: var(--red-soft); border: 1px solid #f2b6b6; }

/* Écran « boîte mail » */
#ed-etape-mail { padding: 20px 0 10px; }
#ed-etape-mail h2 { font-size: clamp(30px, 4vw, 44px); }
.ed-grand { max-width: 620px; margin: 14px auto 0; font-size: 18px; color: #3a4050; }
.ed-petit { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* Étape 2 : e-mail envoyé */
.ed-envoye { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 20px 22px; border-radius: 20px;
  background: var(--green-soft); border: 1px solid #b8e6d2; }
.ed-envoye .ed-ico { background: #fff; color: var(--green); }
.ed-card .ed-envoye h2 { font-size: clamp(20px, 2.4vw, 26px); color: #0b5b43; margin-bottom: 6px; }
.ed-envoye p { margin: 0; color: #2a3040; font-size: 16px; }
.ed-envoye .ed-petit { justify-content: flex-start; margin-top: 8px; font-size: 14px; }
.ed-suite-titre { margin-top: 32px; }
.ed-page fieldset.ed-civ { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.ed-page .ed-civ legend { width: 100%; margin: 0 0 8px; padding: 0; font-weight: 700; font-size: 14px; color: var(--ink); }
.ed-page .ed-civ label { margin: 0; cursor: pointer; }
.ed-page .ed-civ input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ed-page .ed-civ span { display: inline-block; padding: 11px 20px; border: 1.5px solid #d8d4ca; border-radius: 99px; background: #fdfcfa; font-weight: 700; font-size: 15px; transition: background .15s, border-color .15s, color .15s; }
.ed-page .ed-civ input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.ed-page .ed-civ input:focus-visible + span { box-shadow: 0 0 0 4px rgba(21,62,138,.2); }
.ed-fusion .ed-grid3 { grid-template-columns: minmax(0, 320px); }
.ed-fusion .ed-pile { margin-top: 4px; }
#ed-etape-fin { padding: 20px 0 10px; }
#ed-etape-fin h2 { font-size: clamp(28px, 3.6vw, 40px); }
.ed-merci-hero + .ed-sadoleance { margin-top: -60px; position: relative; }

/* Faisons connaissance */
.ed-pile { display: grid; gap: 18px; }
.ed-bloc-opt { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 20px; background: #fdfcfa; }
.ed-bloc-opt h3 { margin: 2px 0 4px; padding: 0; font-size: 18px; line-height: 1.25; color: var(--ink); }
.ed-bloc-opt p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.ed-bloc-opt .ed-check { background: #fff; }
.ed-bloc-opt .ed-field input { margin-bottom: 12px; }

/* Partage */
.ed-sadoleance, .ed-share { width: min(1120px, calc(100% - 32px)); margin: 0 auto 28px; padding: clamp(22px, 3.5vw, 40px); border-radius: 28px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(21,24,33,.07); }
.ed-share { margin-bottom: 70px; margin-top: 28px; text-align: center; }
.ed-sadoleance h2, .ed-share h2 { margin: 0 0 6px; padding: 0; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.15; display: flex; gap: 12px; align-items: center; color: var(--ink); }
.ed-share h2 { justify-content: center; }
.ed-share h2 .ed-i { color: var(--red); width: 30px; height: 30px; }
.ed-sadoleance > p, .ed-share > p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.ed-share > p { max-width: 640px; margin-left: auto; margin-right: auto; }
.ed-quote { margin: 0 0 18px; padding: 16px 18px; border: 0; border-left: 5px solid var(--red); border-radius: 0 14px 14px 0; background: var(--red-soft);
  font-size: 17px; line-height: 1.5; font-style: italic; color: #2a3040; }
.ed-quote small { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 13px; }
.ed-sbtns { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-share .ed-sbtns { justify-content: center; }
.ed-page .ed-sbtn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .12s; }
.ed-page .ed-sbtn:hover { background: var(--c); border-color: var(--c); color: #fff; transform: translateY(-1px); }
.ed-page .ed-sbtn:focus-visible { outline: 3px solid rgba(21,62,138,.35); outline-offset: 2px; }
.ed-sico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; }
.ed-sbtn:hover .ed-sico { background: rgba(255,255,255,.22); }
.ed-sico svg { width: 16px; height: 16px; fill: currentColor; display: block; }
html:not(.ed-js) .ed-page [data-ed-si] { display: none !important; }
html:not(.ed-mobile) .ed-page [data-ed-si="mobile"] { display: none !important; }
html:not(.ed-natif) .ed-page [data-ed-si="natif"] { display: none !important; }
.ed-wa { display: inline-flex; gap: 12px; align-items: center; margin-top: 22px; padding: 12px 18px; border-radius: 16px; background: var(--green-soft); color: #0b5b43; font-size: 15px; text-align: left; }
.ed-wa a { color: #0b5b43; font-weight: 700; text-decoration: underline; }
.ed-info { margin-top: 14px; color: var(--green); font-weight: 700; font-size: 14px; min-height: 20px; }

/* citoyen.direct */
.ed-initiative { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 36px); align-items: center;
  margin: 0 auto 28px; width: min(1120px, calc(100% - 32px)); padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: linear-gradient(135deg, #eaf0fc, #fff4dc); border: 1px solid #d5e3fa; }
.ed-initiative h2 { margin: 4px 0 10px; padding: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; color: #172033; }
.ed-initiative p { max-width: 720px; margin: 0; color: #455468; line-height: 1.65; font-size: 17px; }
.ed-page p.ed-eyebrow { margin: 0 0 4px; color: var(--blue); font-weight: 700; text-transform: uppercase; font-size: 13px; }
.ed-merci-hero + .ed-initiative { margin-top: -60px; position: relative; }

@media (max-width: 900px) {
  .ed-steps, .ed-grid3, .ed-grid2 { grid-template-columns: 1fr; gap: 12px; }
  .ed-initiative { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ed-hero { padding: 48px 0 130px; }
  .ed-foot { flex-direction: column-reverse; align-items: stretch; }
  .ed-page .ed-button { width: 100%; }
}
@media (max-width: 600px) { .ed-page h1.ed-une-ligne { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .ed-page * { transition: none !important; } }
