/* La page EPH (#/eph), refonte du 22/11/2026 : des panneaux OPAQUES (jamais du texte posé sur le fond animé), une hiérarchie nette, lisible sur téléphone.
   Les couleurs viennent du thème (themes.css) : la page suit le thème choisi. */
.eph { max-width: 1040px; margin: 0 auto; padding-bottom: 40px; }
.eph-panneau { background: var(--surface); border: 1px solid var(--trait); border-radius: 18px; padding: 20px 22px; }
.eph-doux { color: var(--doux); }
.eph-bloc { margin-top: 34px; }
.eph-titre { font-size: 1.35rem; margin: 0 0 14px; }

/* l'en-tête */
.eph-hero { display: flex; gap: 24px; align-items: flex-start; padding: 28px 30px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-color: rgba(var(--lueur), .4); }
.eph-flamme { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; font-size: 2.8rem; background: #1a0f09; border: 1px solid rgba(var(--lueur), .5); box-shadow: 0 0 34px rgba(var(--lueur), .35); }
.eph-hero-texte { min-width: 0; }
.eph-sur-titre { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--braise); }
.eph-hero h1 { margin: 0; font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.12; color: var(--encre); }
.eph-phrase { margin: 12px 0 0; font-size: 1.1rem; color: var(--doux); max-width: 60ch; }
.eph-action { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 22px; }
.eph-dl { display: flex; }
.eph-gros { display: inline-block; padding: 18px 38px; font-size: 1.25rem; font-weight: 800; text-decoration: none; text-align: center; color: var(--sur-grad); background: var(--grad); border-radius: 16px;
  box-shadow: 0 10px 34px rgba(var(--lueur), .38); transition: transform .12s, box-shadow .15s; }
.eph-gros:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(var(--lueur), .5); }
.eph-gros:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.eph-gros[aria-busy=true] { opacity: .7; pointer-events: none; }
.eph-gros.eph-grise { background: var(--surface-2); color: var(--doux); box-shadow: none; border: 1px dashed var(--trait); cursor: not-allowed; }
.eph-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--trait); max-width: 100%; }
.eph-badge-pastille { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 800; font-size: .85rem; color: #0b0f0c; background: var(--pale); }
.eph-badge[data-etat=ok] { border-color: rgb(52 211 153 / .6); }
.eph-badge[data-etat=ok] .eph-badge-pastille { background: var(--bien); }
.eph-badge[data-etat=non] { border-color: rgb(251 113 133 / .6); }
.eph-badge[data-etat=non] .eph-badge-pastille { background: var(--mal); }
.eph-note-dl { margin: 12px 0 0; min-height: 1.2em; color: var(--doux); font-size: .95rem; }

/* les étapes */
.eph-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eph-etapes li { padding: 22px; }
.eph-num { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--braise); }
.eph-etapes h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.eph-etapes p, .eph-garantie p { margin: 0; color: var(--doux); line-height: 1.5; }

/* les garanties */
.eph-garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eph-garantie { display: flex; gap: 16px; align-items: flex-start; }
.eph-garantie h3 { margin: 0 0 6px; font-size: 1.1rem; }
.eph-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.6rem; background: var(--surface-2); border: 1px solid var(--trait); }

/* les conditions */
.eph-conditions { list-style: none; margin: 0; display: grid; gap: 12px; }
.eph-conditions li { position: relative; padding-left: 32px; line-height: 1.45; }
.eph-conditions li::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .8rem; font-weight: 800; color: #0b0f0c; background: var(--bien); }

/* les chiffres */
.eph-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eph-chiffre { text-align: center; padding: 22px 14px; }
.eph-chiffre b { display: block; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; color: var(--braise); font-variant-numeric: tabular-nums; }
.eph-chiffre span { display: block; margin-top: 6px; color: var(--doux); }
.eph-chiffres-note { margin: 10px 2px 0; font-size: .92rem; }

/* le merci */
.eph-merci { display: flex; gap: 18px; align-items: center; margin-top: 34px; padding: 24px 28px; border-radius: 18px; border: 1px solid rgba(var(--lueur), .45);
  background: linear-gradient(120deg, var(--surface-2), #2a1636); }
.eph-coeur { flex: none; font-size: 2.6rem; }
.eph-merci h2 { margin: 0 0 4px; font-size: 1.5rem; }
.eph-merci p { margin: 0; color: var(--doux); line-height: 1.5; }

/* la FAQ */
.eph-faq { display: grid; gap: 10px; }
.eph-faq details { padding: 0; }
.eph-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.eph-faq summary::-webkit-details-marker { display: none; }
.eph-faq summary::after { content: '+'; flex: none; font-size: 1.4rem; line-height: 1; color: var(--braise); }
.eph-faq details[open] summary::after { content: '−'; }
.eph-faq summary:focus-visible { outline: 2px solid var(--braise); outline-offset: -2px; border-radius: 16px; }
.eph-faq details p { margin: 0; padding: 0 20px 18px; color: var(--doux); line-height: 1.55; }

/* téléphone */
@media (max-width: 760px) {
  .eph-hero { flex-direction: column; padding: 22px 20px; gap: 14px; }
  .eph-flamme { width: 64px; height: 64px; font-size: 2.1rem; border-radius: 18px; }
  .eph-etapes, .eph-garanties { grid-template-columns: 1fr; }
  .eph-chiffres { grid-template-columns: 1fr; }
  .eph-action { flex-direction: column; align-items: stretch; }
  .eph-gros { width: 100%; padding: 20px 16px; }
  .eph-badge { border-radius: 16px; }
  .eph-merci { flex-direction: column; text-align: center; padding: 22px 18px; }
}
/* Mon nom dans le classement (22/11/2026) */
.eph-nom { display: grid; gap: 12px; }
.eph-nom p { margin: 0; }
.eph-nom-champ { display: grid; gap: 4px; font-size: .9rem; color: var(--doux); max-width: 340px; }
.eph-nom-champ input { padding: 10px 12px; background: var(--surface-2); color: var(--encre); border: 1px solid var(--trait); border-radius: 10px; font: inherit; }
.eph-nom-champ input:disabled { opacity: .55; }
.eph-nom-anonyme { display: flex; align-items: center; gap: 8px; }
.eph-nom button.eph-gros { padding: 12px 26px; font-size: 1.05rem; border: 0; cursor: pointer; font-family: inherit; }
