/* ============================================================================
   EUKLES — Système de design unifié des PAGES (kit « epg »)
   UN SEUL design partagé par TOUTES les pages (style Accueil / Docaposte).
   Classes préfixées « epg- » : aucune collision avec le thème.
   Pages = HTML simple (texte + classes epg-). Chargé par le thème.
   ============================================================================ */
.epg, .epg * { box-sizing: border-box; }
.epg { font-family: "Montserrat", system-ui, sans-serif; color: #1a1a2e; }
.epg img { max-width: 100%; height: auto; display: block; }
.epg-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* HERO (bloc bleu) — compact */
.epg-hero { background: #0000FF; color: #fff; }
.epg-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 44px 0; }
.epg-hero__grid--solo { grid-template-columns: 1fr; }
.epg-hero__inner { max-width: 620px; }
.epg-hero__crumb { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 12px; letter-spacing: .03em; }
.epg-hero__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.epg-hero h1 { font-size: 34px; font-weight: 900; line-height: 1.14; margin: 0 0 14px; color: #fff; }
.epg-hero__sub { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.92); margin: 0 0 22px; max-width: 52ch; }

/* Carte blanche à droite du hero */
.epg-aside { background: #fff; color: #1a1a2e; border-radius: 10px; padding: 24px; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.epg-aside__title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #0000FF; margin-bottom: 14px; }
.epg-aside__row { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px solid #EEE; }
.epg-aside__row:first-of-type { border-top: none; }
.epg-aside__date { flex-shrink: 0; min-width: 96px; font-size: 12px; font-weight: 700; color: #0000FF; background: #EAF1FF; padding: 5px 8px; border-radius: 4px; text-align: center; }
.epg-aside__date.is-now { background: #E6FFE6; color: #006600; }
.epg-aside__text { font-size: 13px; color: #333; line-height: 1.5; }

/* SECTION */
.epg-section { padding: 56px 0; }
.epg-section--soft { background: #F5F6FA; }
.epg-head { max-width: 760px; margin-bottom: 26px; }
.epg-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.epg-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #0000FF; margin-bottom: 10px; }
.epg h2, .epg-h2 { font-size: 28px; font-weight: 900; line-height: 1.2; color: #0000FF; margin: 0 0 10px; }
.epg-lead { font-size: 15px; color: #444; line-height: 1.7; max-width: 720px; margin: 0 0 4px; }

/* GRID */
.epg-grid { display: grid; gap: 16px; }
.epg-grid--2 { grid-template-columns: repeat(2,1fr); }
.epg-grid--3 { grid-template-columns: repeat(3,1fr); }
.epg-grid--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px) { .epg-grid--3, .epg-grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .epg-grid--2, .epg-grid--3, .epg-grid--4 { grid-template-columns: 1fr; } }

/* CARD */
.epg-card { background: #fff; border: 1px solid #E3E3ED; border-radius: 8px; padding: 24px; }
.epg-card--featured { border: 2px solid #0000FF; }
.epg-card__ico { width: 46px; height: 46px; border-radius: 8px; background: #EAF1FF; display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px; }
.epg-card h3 { font-size: 17px; font-weight: 700; color: #0000FF; margin: 0 0 8px; }
.epg-card p { font-size: 13.5px; color: #444; line-height: 1.6; margin: 0; }
.epg-card__link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #0000FF; text-decoration: none; }
.epg-card__link::after { content: " \2192"; }

/* TAG */
.epg-tag { display: inline-block; font-size: 11px; font-weight: 700; background: #E6FFE6; color: #006600; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.epg-tag--blue { background: #EAF1FF; color: #0000FF; }

/* LISTE ✓ */
.epg-list { list-style: none; margin: 14px 0 0; padding: 0; }
.epg-list li { font-size: 13.5px; color: #333; line-height: 1.55; padding: 5px 0 5px 24px; position: relative; }
.epg-list li::before { content: "\2713"; position: absolute; left: 0; color: #0000FF; font-weight: 700; }

/* CHIFFRES */
.epg-stat { text-align: center; border-radius: 8px; padding: 24px 16px; background: #fff; border: 1px solid #E3E3ED; }
.epg-stat--y { background: #FFFBCC; border-color: transparent; }
.epg-stat--b { background: #EAF1FF; border-color: transparent; }
.epg-stat--d { background: #1a1a2e; border-color: transparent; color: #fff; }
.epg-stat strong { display: block; font-size: 28px; font-weight: 900; color: #0000FF; }
.epg-stat--d strong { color: #fff; }
.epg-stat span { font-size: 12.5px; color: #555; line-height: 1.4; }
.epg-stat--d span { color: rgba(255,255,255,.85); }

/* CHIPS */
.epg-chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.epg-chip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #1a1a2e; }
.epg-chip__dot { width: 18px; height: 18px; border-radius: 50%; background: #0000FF; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.epg-hero .epg-chip { color: #fff; }
.epg-hero .epg-chip__dot { background: #fff; color: #0000FF; }

/* ÉTAPES */
.epg-step { background: #fff; border: 1px solid #E3E3ED; border-radius: 8px; padding: 22px; }
.epg-step__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #EAF1FF; color: #0000FF; font-weight: 900; font-size: 15px; margin-bottom: 12px; }
.epg-step h3 { font-size: 15px; font-weight: 700; color: #0000FF; margin: 0 0 6px; }
.epg-step p { font-size: 13px; color: #444; line-height: 1.55; margin: 0; }
.epg-step__note { font-size: 12px; color: #0000FF; margin-top: 8px; font-weight: 600; }

/* DOULEURS (✕) */
.epg-pain { display: flex; gap: 12px; background: #fff; border: 1px solid #E3E3ED; border-radius: 8px; padding: 18px; }
.epg-pain__x { color: #B00000; font-weight: 700; flex-shrink: 0; }
.epg-pain p { font-size: 13.5px; color: #333; line-height: 1.55; margin: 0; }

/* BANDEAU INFO */
.epg-bandeau { background: #EAF1FF; border-radius: 8px; padding: 16px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.epg-bandeau p { font-size: 13.5px; color: #1a1a2e; line-height: 1.5; flex: 1 1 320px; margin: 0; }
.epg-bandeau strong { color: #0000FF; }

/* SANCTIONS */
.epg-warn { background: #FFF4F4; border: 1px solid #F3D6D6; border-radius: 8px; padding: 22px; }
.epg-warn strong { display: block; font-size: 28px; font-weight: 900; color: #B00000; margin-bottom: 6px; }
.epg-warn span { font-size: 12.5px; color: #444; line-height: 1.5; }

/* CTA FINALE */
.epg-cta { background: #0000FF; color: #fff; border-radius: 10px; padding: 44px; text-align: center; }
.epg-cta h2 { color: #fff; font-size: 25px; margin-bottom: 8px; }
.epg-cta p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 0 auto 22px; font-size: 15px; }

/* BOUTONS */
.epg-btn { display: inline-block; font-family: inherit; font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 4px; text-decoration: none; cursor: pointer; border: none; transition: background .15s, border-color .15s; }
.epg-btn--light { background: #fff; color: #0000FF; }
.epg-btn--light:hover { background: #EAF1FF; }
.epg-btn--primary { background: #0000FF; color: #fff; }
.epg-btn--primary:hover { background: #0000CC; }
.epg-btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); padding: 11px 24px; }
.epg-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.epg-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.epg-btn-row--center { justify-content: center; }

/* FAQ */
.epg-faq { max-width: 860px; }
.epg-faq__item { border-bottom: 1px solid #E3E3ED; }
.epg-faq__q { width: 100%; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; color: #1a1a2e; text-align: left; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.epg-faq__q:hover { color: #0000FF; }
.epg-faq__chev { color: #0000FF; font-size: 20px; flex-shrink: 0; transition: transform .2s; }
.epg-faq__chev.is-open { transform: rotate(180deg); }
.epg-faq__a { font-size: 13.5px; color: #333; line-height: 1.7; padding: 0 0 16px; display: none; }
.epg-faq__a.is-open { display: block; }

/* UTILITAIRES */
.epg-center { text-align: center; }
.epg-mt { margin-top: 24px; }

@media (max-width: 600px) {
  .epg-hero h1 { font-size: 27px; }
  .epg h2, .epg-h2 { font-size: 23px; }
  .epg-cta { padding: 30px 20px; }
  .epg-section { padding: 44px 0; }
  .epg-hero__grid { padding: 36px 0; }
}

/* FORMULAIRE (page contact) */
.epg-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.epg-field label { font-size: 13px; font-weight: 600; color: #1a1a2e; }
.epg-field input, .epg-field textarea, .epg-field select { font-family: inherit; font-size: 14px; color: #1a1a2e; padding: 11px 14px; border: 1px solid #D8D8E2; border-radius: 6px; background: #fff; width: 100%; }
.epg-field input:focus, .epg-field textarea:focus, .epg-field select:focus { outline: none; border-color: #0000FF; }
.epg-field textarea { min-height: 130px; resize: vertical; }
.epg-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: #555; line-height: 1.5; margin-bottom: 18px; }
.epg-consent input { margin-top: 3px; accent-color: #0000FF; flex-shrink: 0; }
.epg-contact-list { list-style: none; margin: 0; padding: 0; }
.epg-contact-list li { font-size: 14px; color: #333; line-height: 1.7; padding: 6px 0; }
.epg-contact-list strong { color: #0000FF; }

/* Chiffre — variante neutre (blanc bordé) */
.epg-stat--g { background: #fff; border: 1px solid #E3E3ED; }

/* ============================================================================
   Pages de TEXTE courant (déclarations d'accessibilité, mentions légales,
   politique de confidentialité…) : colonne de lecture centrée et confortable.
   Les pages bâties avec le kit epg (<div class="epg">) restent PLEINE LARGEUR.
   ============================================================================ */
.page-body > :not(.epg) {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.page-body > :not(.epg):first-child { margin-top: 48px; }
.page-body > :not(.epg):last-child { margin-bottom: 64px; }
.page-body > :not(.epg) h1,
.page-body > :not(.epg) h2 { color: #0000FF; }

/* Lignes à 2 colonnes alignées verticalement (texte + carte) */
.epg-grid--middle { align-items: center; }
