/*
 * Design system des pages front (brief du 12/11/2026).
 * Tout est préfixé par .eds pour ne rien changer aux pages existantes.
 *
 * Teal #016981 (primaire) - Gold #EDB531 (accent) - ink #1f3b4d (texte)
 * steel #3a4a55 - muted #616c74 - bg #f5f2ec - line #dad5ca
 */
.eds { font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #1f3b4d; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.eds *, .eds *::before, .eds *::after { box-sizing: border-box; }
.eds a { text-decoration: none; }
.eds p { margin: 0; }
.eds h1, .eds h2, .eds h3 { margin: 0; color: #1f3b4d; text-transform: none; }
.eds img { max-width: 100%; height: auto; }

/* Sections */
.eds-section { padding: 72px 24px; background: #fff; }
.eds-section--bg { background: #f5f2ec; }
.eds-wrap { max-width: 1160px; margin: 0 auto; }
.eds-wrap--narrow { max-width: 760px; }
.eds-head { text-align: center; margin-bottom: 40px; }
.eds-eyebrow { font-size: 12px; font-weight: 500; color: #016981; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.eds-h2 { font-size: 29px; font-weight: 300; line-height: 1.2; letter-spacing: -0.3px; }
.eds-h2--teal { color: #016981 !important; }
.eds-lead { font-size: 16px; color: #616c74; max-width: 680px; margin: 12px auto 0 !important; }

/* Hero : toujours sur fond blanc */
.eds-hero { background: #fff; padding: 64px 24px 72px; text-align: center; }
.eds-hero .eds-wrap { max-width: 760px; }
.eds-badge { display: inline-block; padding: 6px 16px; background: rgba(1, 105, 129, .08); border: 1px solid rgba(1, 105, 129, .16); border-radius: 20px; font-size: 13px; color: #016981; margin-bottom: 22px; }
.eds-h1 { font-size: 38px; font-weight: 300; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 18px !important; }
.eds-hero-sub { font-size: 18px; font-weight: 300; color: #616c74; margin-bottom: 32px !important; }
.eds-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Boutons */
.eds-btn { display: inline-block; padding: 15px 30px; border-radius: 12px; font-size: 15px; font-weight: 500; line-height: 1.2; text-align: center; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.eds-btn--gold { background: #EDB531; color: #1f3b4d !important; }
.eds-btn--gold:hover, .eds-btn--gold:focus { background: #dfa51f; color: #1f3b4d; }
.eds-btn--teal { background: #016981; color: #fff !important; }
.eds-btn--teal:hover, .eds-btn--teal:focus { background: #015469; color: #fff; }
.eds-btn--outline { background: #fff; color: #016981 !important; border-color: #016981; }
.eds-btn--outline:hover, .eds-btn--outline:focus { background: rgba(1, 105, 129, .06); }
.eds-btn--white { background: #fff; color: #1f3b4d !important; }
.eds-btn--white:hover, .eds-btn--white:focus { background: #f5f2ec; }
.eds-btn--block { display: block; width: 100%; }
.eds-btn--sm { padding: 12px 20px; font-size: 14px; border-radius: 10px; }
.eds-link { color: #016981; font-weight: 500; }
.eds-link:hover { color: #1f3b4d; }

/* Bandeau chiffres : fond gold */
.eds-stats { background: #EDB531; padding: 30px 24px; color: #3a4a55; }
.eds-stats .eds-wrap { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; text-align: center; }
.eds-stat { flex: 1 1 220px; }
.eds-stat strong { display: block; font-size: 30px; font-weight: 500; line-height: 1.15; color: #1f3b4d; }
.eds-stat span { font-size: 14px; font-weight: 400; }

/* Cards */
.eds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.eds-card { background: #fff; border: 1px solid #dad5ca; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.eds-tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: #e8f0ea; color: #1a6b4a; margin-bottom: 14px; }
.eds-tag--neutral { background: #eae7e0; color: #3a4a55; }
.eds-card h3 { font-size: 18px; font-weight: 500; line-height: 1.3; margin-bottom: 16px; }
.eds-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 16px 0; border-top: 1px solid #ece8e0; margin: 0 0 8px; flex: 1; align-content: start; }
.eds-facts dt { font-size: 11px; font-weight: 400; color: #616c74; margin-bottom: 2px; }
.eds-facts dd { font-size: 14px; font-weight: 500; margin: 0; color: #1f3b4d; }
.eds-facts dd.eds-gold { color: #866422; }
.eds-after { text-align: center; margin-top: 26px !important; font-size: 14px; color: #616c74; }

/* Étapes numérotées */
.eds-split { display: flex; gap: 64px; align-items: center; }
.eds-split > div { flex: 1; min-width: 0; }
.eds-split .eds-h2 { font-size: 32px; margin-bottom: 14px; }
.eds-split .eds-text { font-size: 15px; color: #616c74; margin-bottom: 28px !important; }
.eds-stack { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.eds-steps { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.eds-step { display: flex; align-items: center; gap: 18px; padding: 20px; background: #f5f2ec; border: 1px solid #ece8e0; border-radius: 14px; }
.eds-step-n { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: #016981; color: #fff; font-size: 18px; font-weight: 400; display: flex; align-items: center; justify-content: center; }
.eds-step strong { display: block; font-size: 15px; font-weight: 500; color: #1f3b4d; }
.eds-step span { display: block; font-size: 13px; color: #616c74; margin-top: 2px; }
.eds-steps--row { flex-direction: row; gap: 18px; }
.eds-steps--row .eds-step { flex: 1; flex-direction: column; align-items: flex-start; }

/* Blocs de réassurance : texte + illustration, alternés */
.eds-features { display: flex; flex-direction: column; gap: 72px; }
.eds-feature { display: flex; align-items: center; gap: 56px; }
.eds-feature:nth-child(even) { flex-direction: row-reverse; }
.eds-feature-text { flex: 1; min-width: 0; }
.eds-feature-text .eds-h2 { margin-bottom: 12px; }
.eds-feature-sub { font-size: 16px; font-weight: 500; color: #3a4a55; margin-bottom: 14px !important; }
.eds-feature-body { font-size: 15px; font-weight: 400; color: #616c74; line-height: 1.7; margin-bottom: 24px !important; }
.eds-feature-img { flex: 0 0 420px; max-width: 42%; text-align: center; }
.eds-feature-img img { max-height: 300px; width: auto; }

/* FAQ */
.eds-faq-item { padding: 22px 0; border-bottom: 1px solid #dad5ca; }
.eds-faq-item:last-child { border-bottom: 0; }
.eds-faq-item h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.eds-faq-item p { font-size: 15px; color: #616c74; }

/* Pages de service : liste « inclus » + carte tarif */
.eds-offer { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.eds-offer .eds-h2 { margin-bottom: 22px; }
.eds-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.eds-checks li { position: relative; padding-left: 34px; font-size: 16px; color: #1f3b4d; line-height: 1.5; }
.eds-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(1, 105, 129, .1); }
.eds-checks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 11px; border: solid #016981; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.eds-checks li span { display: block; font-size: 14px; color: #616c74; }
.eds-checks--sm { gap: 9px; }
.eds-checks--sm li { font-size: 14px; padding-left: 28px; color: #3a4a55; }
.eds-checks--sm li::before { width: 18px; height: 18px; top: 2px; }
.eds-checks--sm li::after { left: 6px; top: 5px; width: 5px; height: 9px; }
.eds-price { background: #fff; border: 1px solid #dad5ca; border-radius: 16px; padding: 30px; text-align: center; }
.eds-price-label { font-size: 12px; font-weight: 500; color: #016981; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; }
.eds-price-amount { font-size: 44px; font-weight: 300; line-height: 1.1; color: #1f3b4d; letter-spacing: -1px; }
.eds-price-amount small { font-size: 17px; font-weight: 400; color: #616c74; letter-spacing: 0; }
.eds-price p { font-size: 14px; color: #616c74; margin: 14px 0 22px !important; }
.eds-price .eds-btn + .eds-btn { margin-top: 10px; }
.eds-price-logo { max-height: 34px; width: auto; margin-bottom: 16px; }
.eds-card h3.eds-card-title { color: #016981; margin-bottom: 14px; }
.eds-card p.eds-card-text { font-size: 14px; color: #616c74; }
.eds-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.eds-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.eds-note { text-align: center; font-size: 13px; color: #616c74; margin-top: 24px !important; }
/* Encart « point d'entrée » */
.eds-entry { border: 1px solid #dad5ca; border-left: 4px solid #EDB531; border-radius: 16px; padding: 30px 32px; display: flex; gap: 32px; align-items: center; background: #fff; }
.eds-entry > div:first-child { flex: 1; min-width: 0; }
.eds-entry .eds-h2 { font-size: 24px; margin-bottom: 10px; }
.eds-entry p { font-size: 15px; color: #616c74; }
.eds-entry .eds-tag { margin-bottom: 12px; }

/* Page Nos offres : onglets, formules, services */
.eds-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 6px; background: #f5f2ec; border: 1px solid #ece8e0; border-radius: 14px; max-width: 720px; margin: 0 auto; }
.eds-tab { flex: 1 1 180px; padding: 12px 18px; border: 0; border-radius: 10px; background: transparent; font-family: inherit; font-size: 15px; font-weight: 500; color: #3a4a55; cursor: pointer; transition: background .15s, color .15s; }
.eds-tab:hover { color: #016981; }
.eds-tab[aria-selected="true"] { background: #016981; color: #fff; }
.eds-tab:focus-visible { outline: 2px solid #EDB531; outline-offset: 2px; }
.eds-panel[hidden] { display: none; }
.eds-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.eds-plan { position: relative; background: #fff; border: 1px solid #dad5ca; border-radius: 16px; padding: 30px 26px 26px; display: flex; flex-direction: column; }
.eds-plan--pop { border: 2px solid #016981; padding: 29px 25px 25px; }
.eds-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #EDB531; color: #1f3b4d; font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.eds-plan h3 { font-size: 19px; font-weight: 500; margin-bottom: 14px; }
.eds-plan-price { font-size: 40px; font-weight: 300; line-height: 1.1; letter-spacing: -1px; color: #1f3b4d; }
.eds-plan-price small { font-size: 15px; font-weight: 400; color: #616c74; letter-spacing: 0; }
.eds-plan-term { font-size: 13px; color: #616c74; min-height: 20px; margin: 4px 0 14px !important; }
.eds-plan-desc { font-size: 14px; color: #616c74; margin-bottom: 18px !important; }
.eds-plan .eds-checks { flex: 1; margin-bottom: 24px; padding-top: 18px; border-top: 1px solid #ece8e0; }
.eds-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.eds-svc { display: block; background: #fff; border: 1px solid #dad5ca; border-radius: 14px; padding: 20px 22px; transition: border-color .15s; }
.eds-svc:hover, .eds-svc:focus { border-color: #016981; }
.eds-svc strong { display: block; font-size: 15px; font-weight: 500; color: #1f3b4d; }
.eds-svc b { display: block; font-size: 22px; font-weight: 400; color: #016981; margin: 6px 0 8px; }
.eds-svc b small { font-size: 13px; color: #616c74; font-weight: 400; }
.eds-svc span { display: block; font-size: 13px; color: #616c74; line-height: 1.5; }
.eds-subhead { font-size: 12px; font-weight: 500; color: #016981; text-transform: uppercase; letter-spacing: 1.5px; margin: 48px 0 16px !important; }
.eds-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .6); }
.eds-btn--ghost:hover, .eds-btn--ghost:focus { background: rgba(255, 255, 255, .12); }

/* Variante gold des titres de blocs (page conseil en cession) */
.eds-h2--gold { color: #866422 !important; }
/* Formulaire HubSpot intégré */
.eds-form-card { background: #fff; border: 1px solid #dad5ca; border-radius: 16px; padding: 32px; }

/* Inscription : sélecteur de profil */
.eds-profils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.eds-profil { position: relative; display: flex; flex-direction: column; text-align: left; width: 100%; background: #fff; border: 1px solid #dad5ca; border-radius: 16px; padding: 24px; font-family: inherit; color: #1f3b4d; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.eds-profil:hover { border-color: #016981; }
.eds-profil:focus-visible { outline: 2px solid #EDB531; outline-offset: 2px; }
.eds-profil[aria-checked="true"] { border-color: #016981; box-shadow: 0 0 0 1px #016981; }
.eds-profil-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(1, 105, 129, .08); color: #016981; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.eds-profil-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eds-profil[aria-checked="true"] .eds-profil-ico { background: #016981; color: #fff; }
.eds-profil strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.eds-profil em { display: block; font-style: normal; font-size: 14px; color: #616c74; margin: 4px 0 16px; }
.eds-profil .eds-checks { pointer-events: none; }
.eds-profil-dot { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #dad5ca; background: #fff; }
.eds-profil[aria-checked="true"] .eds-profil-dot { border-color: #016981; background: #016981; box-shadow: inset 0 0 0 4px #fff; }
.eds-profil-note { text-align: center; font-size: 15px; color: #3a4a55; margin-top: 26px !important; }

/* Bandeau CTA final : fond teal */
.eds-cta { background: #016981; padding: 60px 24px; text-align: center; }
.eds-cta h2 { color: #fff; font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; line-height: 1.25; margin-bottom: 12px; }
.eds-cta p { color: rgba(255, 255, 255, .85); font-size: 16px; margin-bottom: 26px !important; }

@media (max-width: 991px) {
  .eds-split { flex-direction: column; align-items: stretch; gap: 36px; }
  .eds-stack { max-width: none; flex-direction: row; flex-wrap: wrap; }
  .eds-feature, .eds-feature:nth-child(even) { flex-direction: column; gap: 28px; text-align: center; }
  .eds-feature-img { flex: none; max-width: 100%; }
  .eds-steps--row { flex-direction: column; }
  .eds-offer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .eds-profils { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; }
  .eds-plans { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 480px; margin: 0 auto; }
  .eds-entry { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
}
@media (max-width: 767px) {
  .eds-section { padding: 48px 18px; }
  .eds-hero { padding: 36px 18px 48px; }
  .eds-h1 { font-size: 30px; }
  .eds-hero-sub { font-size: 16px; }
  .eds-h2, .eds-split .eds-h2 { font-size: 24px; }
  .eds-actions .eds-btn, .eds-stack .eds-btn { width: 100%; }
  .eds-features { gap: 48px; }
  .eds-form-card { padding: 24px 20px; }
  .eds-stat strong { font-size: 26px; }
  .eds-cta h2 { font-size: 20px; }
}

/* Ancres : laisser la place du menu fixe */
.eds [id] { scroll-margin-top: 110px; }
