/* jesuisunERO - charte issue du logo (cape rouge, losange bleu, trait noir) */
:root {
  --ero-red: #D3121B;
  --ero-red-dark: #A30D14;
  --ero-red-soft: #FDECEC;
  --ero-blue: #1478C0;
  --ero-blue-dark: #0B5A93;
  --ero-blue-soft: #EAF3FB;
  --ero-ink: #1E284B;
  --ero-ink-2: #3B4568;
  --ero-muted: #5E6672;
  --ero-line: #E6E8EC;
  --ero-bg: #FFFFFF;
  --ero-bg-2: #F6F7F9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(30, 40, 75, .08);
  --font-title: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ero-ink);
  --bs-link-color: var(--ero-blue);
  --bs-link-color-rgb: 20, 120, 192;
  --bs-link-hover-color: var(--ero-blue-dark);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-family: var(--font-body); color: var(--ero-ink); background: var(--ero-bg); font-size: 1.0625rem; line-height: 1.65; }
h1, h2, h3, h4, .display-title { font-family: var(--font-title); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--ero-ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
.lead { color: var(--ero-ink-2); font-size: 1.2rem; }
.text-muted-ero { color: var(--ero-muted); }
.text-red { color: var(--ero-red); }
.text-blue { color: var(--ero-blue); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ero-blue); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Boutons */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.35rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.08rem; }
.btn-sm { padding: .4rem .9rem; }
.btn-ero { background: var(--ero-red); border-color: var(--ero-red); color: #fff; box-shadow: 0 6px 16px rgba(211, 18, 27, .25); }
.btn-ero:hover, .btn-ero:focus { background: var(--ero-red-dark); border-color: var(--ero-red-dark); color: #fff; }
.btn-ero-blue { background: var(--ero-blue); border-color: var(--ero-blue); color: #fff; }
.btn-ero-blue:hover { background: var(--ero-blue-dark); border-color: var(--ero-blue-dark); color: #fff; }
.btn-ghost { border: 2px solid var(--ero-ink); color: var(--ero-ink); background: transparent; }
.btn-ghost:hover { background: var(--ero-ink); color: #fff; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ero-ink); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ero-blue); }
.link-arrow i { transition: transform .2s; display: inline-block; }
.link-arrow:hover i { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--ero-line); }
.site-header .navbar { padding: .6rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--ero-ink); text-decoration: none; letter-spacing: -.02em; }
.brand strong { color: var(--ero-red); font-weight: 900; }
.brand-light { color: #fff; }
.site-header .nav-link { color: var(--ero-ink-2); font-weight: 500; padding: .5rem .7rem !important; border-radius: 999px; white-space: nowrap; font-size: .97rem; }
.site-header .navbar > .container { flex-wrap: nowrap; }
.site-header .btn { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: 1.1rem; } .brand img { width: 36px; height: 36px; } }
.site-header .nav-link:hover { color: var(--ero-ink); background: var(--ero-bg-2); }
.site-header .nav-link.active { color: var(--ero-red); font-weight: 600; }
.navbar-toggler { border: 0; font-size: 1.8rem; padding: 0 .25rem; }
.mobile-nav li { list-style: none; }
.mobile-nav a { display: block; padding: .8rem 0; font-size: 1.15rem; font-weight: 600; color: var(--ero-ink); text-decoration: none; border-bottom: 1px solid var(--ero-line); }
.crumbs { padding-top: 1rem; font-size: .9rem; }
.crumbs a { color: var(--ero-muted); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--ero-bg-2); }
.section-dark { background: var(--ero-ink); color: #E9ECF1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-blue { background: var(--ero-blue-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ero-red); margin-bottom: .9rem; }
.eyebrow.blue { color: var(--ero-blue); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); display: inline-block; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); background: linear-gradient(180deg, #fff 0%, var(--ero-bg-2) 100%); }
.hero h1 .accent { color: var(--ero-red); }
.hero .lead { max-width: 580px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero-visual img { position: relative; width: min(100%, 440px); height: auto; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.signature { font-family: var(--font-title); font-size: 1.05rem; color: var(--ero-muted); }
.signature strong { color: var(--ero-ink); }
.site-footer .signature { color: #AEB5C0; }
.site-footer .signature strong { color: #fff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.6rem; color: var(--ero-muted); font-size: .95rem; }
.hero-proof i { color: var(--ero-blue); margin-right: .35rem; }

/* Cartes */
.card-ero { background: #fff; border: 1px solid var(--ero-line); border-radius: var(--radius); padding: 1.8rem; height: 100%; box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .2s, box-shadow .2s; }
.card-ero:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ero .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--ero-red-soft); color: var(--ero-red); margin-bottom: 1rem; }
.card-ero .icon.blue { background: var(--ero-blue-soft); color: var(--ero-blue); }
.pain-list { display: grid; gap: 1rem; }
.pain { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; border: 1px solid var(--ero-line); }
.pain i { color: var(--ero-red); font-size: 1.3rem; }

/* Lettres E R O */
.ero-pillar { position: relative; padding: 2rem 1.8rem 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--ero-line); height: 100%; }
.ero-letter { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 0 1.4rem 6px; position: relative; font-family: var(--font-title); font-weight: 900; font-size: 1.9rem; color: #fff; }
.ero-letter::before { content: ""; position: absolute; inset: 6px; background: var(--c, var(--ero-red)); transform: rotate(45deg); border-radius: 10px; z-index: 0; }
.ero-letter span { position: relative; z-index: 1; }
.ero-pillar h3 { margin-bottom: .4rem; }
.ero-pillar .sub { font-size: .9rem; color: var(--ero-muted); font-weight: 600; letter-spacing: .02em; }

/* Bloc diagnostic sombre */
.diag-card { background: #fff; color: var(--ero-ink); border-radius: 22px; padding: 1.6rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.diag-card .ero-radar { width: 100%; max-width: 360px; display: block; margin: 0 auto; color: var(--ero-ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list i { color: var(--ero-red); font-size: 1.15rem; margin-top: .1rem; }
.section-dark .check-list i { color: #FF5A61; }
.price-tag { display: inline-flex; align-items: baseline; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .55rem 1rem; font-weight: 600; }
.section:not(.section-dark) .price-tag { background: var(--ero-red-soft); border-color: transparent; color: var(--ero-red-dark); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .num { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--ero-ink); color: #fff; font-family: var(--font-title); font-weight: 800; display: grid; place-items: center; }

/* Sessions */
.session-card { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--ero-line); border-radius: var(--radius); padding: 1.1rem 1.3rem; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.session-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.session-date { flex: 0 0 74px; text-align: center; border-radius: 14px; background: var(--ero-red); color: #fff; padding: .55rem .3rem; line-height: 1.1; }
.session-date .d { font-family: var(--font-title); font-size: 1.7rem; font-weight: 900; display: block; }
.session-date .m { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.badge-ero { display: inline-block; font-size: .78rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: var(--ero-blue-soft); color: var(--ero-blue-dark); }
.badge-ero.red { background: var(--ero-red-soft); color: var(--ero-red-dark); }
.badge-ero.grey { background: var(--ero-bg-2); color: var(--ero-muted); }

/* Karine */
.portrait { aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(160deg, var(--ero-blue) 0%, var(--ero-blue-dark) 100%); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; }
.portrait::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; background: var(--ero-red); transform: rotate(45deg); border-radius: 24px; bottom: -30%; right: -20%; opacity: .9; }
.portrait .initials { position: relative; z-index: 1; font-family: var(--font-title); font-weight: 900; font-size: 5rem; }
.portrait .ph-note { position: absolute; z-index: 1; bottom: 14px; left: 16px; font-size: .8rem; opacity: .85; }

/* Outplacement */
.outplacement-block { border-radius: 26px; background: var(--ero-blue); color: #fff; padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.outplacement-block::after { content: ""; position: absolute; width: 320px; height: 320px; border: 40px solid rgba(255,255,255,.08); transform: rotate(45deg); right: -110px; top: -110px; border-radius: 30px; }
.outplacement-block h2 { color: #fff; }
.op-choice { display: block; background: #fff; color: var(--ero-ink); border-radius: 18px; padding: 1.3rem 1.4rem; text-decoration: none; height: 100%; position: relative; z-index: 1; transition: transform .2s; }
.op-choice:hover { transform: translateY(-3px); color: var(--ero-ink); }
.op-choice i.big { font-size: 1.6rem; color: var(--ero-blue); }

/* Témoignages */
.quote-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--ero-line); height: 100%; }
.quote-card .bi-quote { font-size: 2.2rem; color: var(--ero-red); line-height: 1; }

/* CTA final */
.cta-band { background: var(--ero-red); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; background: rgba(0,0,0,.12); transform: rotate(45deg); border-radius: 30px; }
.cta-band .btn-light { color: var(--ero-red-dark); }

/* FAQ */
.accordion-ero .accordion-item { border: 1px solid var(--ero-line); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; }
.accordion-ero .accordion-button { font-weight: 600; font-family: var(--font-title); font-size: 1.05rem; }
.accordion-ero .accordion-button:not(.collapsed) { background: var(--ero-red-soft); color: var(--ero-ink); box-shadow: none; }
.accordion-ero .accordion-button:focus { box-shadow: 0 0 0 3px rgba(20, 120, 192, .3); }

/* Formulaires */
.form-card { background: #fff; border: 1px solid var(--ero-line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 12px; padding: .7rem .95rem; border-color: #D5D9DF; }
.form-control:focus, .form-select:focus { border-color: var(--ero-blue); box-shadow: 0 0 0 3px rgba(20, 120, 192, .2); }
.form-label { font-weight: 600; font-size: .95rem; }
.form-check-input:checked { background-color: var(--ero-red); border-color: var(--ero-red); }
.hp-field { position: absolute; left: -9999px; }

/* Pages simples */
.page-hero { padding: 2.5rem 0 3rem; background: linear-gradient(180deg, #fff, var(--ero-bg-2)); }
.page-hero .lead { max-width: 720px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }

/* Footer */
.site-footer { background: var(--ero-ink); color: #C4CAD3; padding: 4rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #E9ECF1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-title { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #8D95A1; font-weight: 700; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; }
.contact-list i { color: #FF5A61; margin-right: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ============ Questionnaire step by step ============ */
.page-questionnaire { background: var(--ero-bg-2); }
.page-questionnaire .site-footer { display: none; }
.quiz-wrap { max-width: 760px; margin: 0 auto; padding: 1.5rem 0 4rem; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; font-size: .9rem; color: var(--ero-muted); font-weight: 600; }
.quiz-progress { height: 8px; background: #DDE1E7; border-radius: 99px; overflow: hidden; margin-bottom: 1.6rem; }
.quiz-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--ero-red), #F0454C); border-radius: 99px; transition: width .35s ease; }
.quiz-card { background: #fff; border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--ero-line); min-height: 380px; }
.quiz-card .q-kicker { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ero-blue); margin-bottom: .6rem; }
.quiz-card .q-title { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.25; margin-bottom: 1.6rem; }
.quiz-card .q-help { color: var(--ero-muted); margin-top: -1rem; margin-bottom: 1.4rem; }
.choices { display: grid; gap: .7rem; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .choices.cols-2 { grid-template-columns: 1fr; } }
.choice { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; background: #fff; border: 2px solid var(--ero-line); border-radius: 16px; padding: .9rem 1.1rem; font-weight: 600; color: var(--ero-ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; font-size: 1rem; }
@media (hover: hover) { .choice:hover { border-color: var(--ero-blue); background: var(--ero-blue-soft); } }
.choice:active { transform: scale(.99); }
.choice.selected { border-color: var(--ero-red); background: var(--ero-red-soft); }
.choice .key { flex: 0 0 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ero-bg-2); color: var(--ero-muted); font-size: .85rem; font-weight: 700; }
.choice.selected .key { background: var(--ero-red); color: #fff; }
.scale5 { display: grid; gap: .6rem; }
.scale5 .choice .dots { margin-left: auto; display: flex; gap: 4px; }
.scale5 .choice .dots span { width: 8px; height: 8px; border-radius: 50%; background: #D5D9DF; }
.scale5 .choice .dots span.on { background: var(--ero-red); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; gap: 1rem; }
.quiz-nav .btn-link { color: var(--ero-muted); text-decoration: none; font-weight: 600; padding-left: 0; }
.quiz-save { font-size: .85rem; color: var(--ero-muted); }
.quiz-anim { animation: qin .28s ease; }
@keyframes qin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-hint { font-size: .85rem; color: var(--ero-muted); margin-top: 1rem; }
.kbd { border: 1px solid #ccd; border-radius: 5px; padding: 0 5px; font-size: .8rem; background: #fff; }

/* Résultat */
.result-hero { background: var(--ero-ink); color: #fff; padding: 3rem 0; }
.result-hero h1 { color: #fff; }
.profile-badge { display: inline-flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .45rem 1.1rem .45rem .45rem; }
.profile-badge .dia { width: 38px; height: 38px; position: relative; display: grid; place-items: center; }
.profile-badge .dia::before { content: ""; position: absolute; inset: 5px; background: var(--ero-red); transform: rotate(45deg); border-radius: 6px; }
.profile-badge .dia i { position: relative; color: #fff; }
.score-bar { margin-bottom: 1.1rem; }
.score-bar .lbl { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: .35rem; }
.score-bar .track { height: 12px; background: var(--ero-bg-2); border-radius: 99px; overflow: hidden; }
.score-bar .fill { height: 100%; border-radius: 99px; }
.maturity-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 1rem; }
.maturity-scale div { height: 10px; border-radius: 99px; background: rgba(255,255,255,.15); }
.maturity-scale div.on { background: #FF5A61; }
.ero-radar { color: var(--ero-ink); }
@media print {
  .site-header, .site-footer, .no-print, .crumbs { display: none !important; }
  .result-hero { background: #fff !important; color: #000 !important; padding: 1rem 0; }
  .result-hero h1, .result-hero .lead { color: #000 !important; }
  .card-ero { break-inside: avoid; box-shadow: none; }
  body { font-size: 12pt; }
}

/* Apercu anime des profils */
.demo-head { display: flex; align-items: center; gap: .75rem; padding: .6rem 0 .2rem; min-height: 64px; }
.demo-dia { width: 40px; height: 40px; flex: 0 0 40px; position: relative; display: grid; place-items: center; }
.demo-dia::before { content: ""; position: absolute; inset: 6px; background: var(--ero-red); transform: rotate(45deg); border-radius: 7px; }
.demo-dia i { position: relative; color: #fff; }
.demo-name { font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; line-height: 1.1; color: var(--ero-ink); }
.demo-name.in { animation: demoIn .5s ease; }
@keyframes demoIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo-global { font-family: var(--font-title); font-size: 1.2rem; color: var(--ero-red); }
.demo-pips { display: flex; justify-content: center; gap: 6px; margin-top: .4rem; }
.demo-pips button { width: 10px; height: 10px; padding: 0; border: 0; background: #D5D9DF; transform: rotate(45deg); border-radius: 2px; transition: background .2s, transform .2s; }
.demo-pips button.on { background: var(--ero-red); transform: rotate(45deg) scale(1.25); }
.demo-pips button:focus-visible { outline: 2px solid var(--ero-blue); outline-offset: 2px; }

/* Portrait de Karine */
.portrait-photo { background: linear-gradient(165deg, var(--ero-blue-soft) 0%, #fff 70%); display: block; border: 1px solid var(--ero-line); }
.portrait-photo::after { background: var(--ero-blue); opacity: .12; width: 80%; bottom: -34%; right: -26%; }
.portrait-photo::before { content: ""; position: absolute; width: 38%; aspect-ratio: 1; background: var(--ero-red); opacity: .9; transform: rotate(45deg); border-radius: 16px; top: -12%; left: -12%; }
.portrait-photo picture, .portrait-photo img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Une carte qui n'est pas seule dans sa colonne prend sa hauteur naturelle (evite le debordement sur le pied de page) */
.card-ero:not(:only-child) { height: auto; }

/* Illustration reseau du hero */
.net-hero { width: 100%; max-width: 520px; height: auto; overflow: visible; font-family: 'Inter', sans-serif; }
.net-node { animation: netFloat 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes netFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.net-pulse { animation: netPulse 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes netPulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.25); } }
.net-badge { filter: drop-shadow(0 4px 10px rgba(30, 40, 75,.08)); }
@media (prefers-reduced-motion: reduce) { .net-dot { display: none; } .net-node, .net-pulse { animation: none; } }
@media (max-width: 575px) { .net-badge { display: none; } }

/* Hero sombre avec photo a droite et degrade */
.hero-dark { background: #1E284B; color: #fff; min-height: min(86vh, 720px); display: flex; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-dark .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; }
.hero-dark .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; }
.hero-dark::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #1E284B 0%, #1E284B 34%, rgba(30, 40, 75,.88) 44%, rgba(30, 40, 75,.45) 62%, rgba(30, 40, 75,.1) 82%, rgba(30, 40, 75,0) 100%); }
.hero-dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; background: linear-gradient(0deg, rgba(30, 40, 75,.55), transparent); pointer-events: none; }
.hero-dark .container { z-index: 2; }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: #D5DAE1; }
.hero-dark .eyebrow { color: #FF4750; }
.hero-dark .hero-proof { color: #C4CAD3; }
.hero-dark .hero-proof i { color: #FF4750; }
.hero-dark .signature { color: #AEB5C0; }
.hero-dark .signature strong { color: #fff; }
.hero-dark h1 .accent { color: #FF4750; }
@media (max-width: 991px) {
  .hero-dark { min-height: 0; align-items: flex-end; padding-top: 55vw; }
  .hero-dark .hero-bg { width: 100%; height: 75vw; bottom: auto; }
  .hero-dark .hero-bg img { object-position: 55% 30%; }
  .hero-dark::before { background: linear-gradient(180deg, rgba(30, 40, 75,.05) 0%, rgba(30, 40, 75,.35) 35vw, #1E284B 72vw, #1E284B 100%); }
}

/* Titre du hero : fin de phrase mise en valeur */
.hero-title .ht-main { display: block; font-size: .78em; line-height: 1.12; }
.hero-title .ht-accent { display: block; color: var(--ero-red); font-size: 1.08em; line-height: 1.05; margin-top: .12em; letter-spacing: -.03em; }

/* Boussole animee du hero */
.hero-compass { position: absolute; right: clamp(16px, 3vw, 48px); bottom: clamp(16px, 3vw, 40px); z-index: 3; display: flex; align-items: center; gap: 14px;
  background: rgba(30, 40, 75, .55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; padding: 10px 22px 10px 10px; color: #fff; max-width: 440px; }
.compass-svg { width: 76px; height: 76px; flex: 0 0 76px; }
.compass-needle { transform-origin: 60px 60px; transform-box: view-box; animation: compassSeek 9s ease-in-out infinite; }
@keyframes compassSeek {
  0%, 22% { transform: rotate(0deg); }
  26% { transform: rotate(-12deg); }
  30% { transform: rotate(8deg); }
  40% { transform: rotate(84deg); }
  45% { transform: rotate(56deg); }
  49% { transform: rotate(66deg); }
  52%, 86% { transform: rotate(62deg); }
  96%, 100% { transform: rotate(0deg); }
}
.compass-svg .c-n { animation: compassN 9s ease-in-out infinite; }
@keyframes compassN { 0%, 30% { fill: #fff; } 40%, 86% { fill: rgba(255,255,255,.35); } 96%, 100% { fill: #fff; } }
.compass-text { display: grid; font-family: var(--font-title); line-height: 1.25; }
.compass-text span { grid-area: 1 / 1; transition: none; }
.compass-text .ct-1 { font-size: .95rem; color: #D5DAE1; animation: ctOne 9s ease-in-out infinite; }
.compass-text .ct-2 { font-size: 1.12rem; font-weight: 800; color: #fff; animation: ctTwo 9s ease-in-out infinite; }
.compass-text .ct-2 b { color: #FF4750; }
@keyframes ctOne { 0%, 34% { opacity: 1; transform: none; } 40%, 88% { opacity: 0; transform: translateY(-6px); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes ctTwo { 0%, 38% { opacity: 0; transform: translateY(6px); } 46%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .compass-needle { animation: none; transform: rotate(62deg); }
  .compass-text span { grid-area: auto; animation: none; opacity: 1; }
}
@media (max-width: 991px) {
  .hero-compass { position: relative; right: auto; bottom: auto; margin: 2rem 16px 0; max-width: none; }
}
@media (max-width: 991px) { .hero-dark { flex-direction: column; align-items: stretch; justify-content: flex-end; } }

.diag-proof { margin-top: 1rem; color: #C4CAD3; }
.diag-proof i { color: #FF5A61; }

/* Boussole v2 : rotation rapide puis lettres E, R, O au centre (pilotee en JS) */
.hero-compass .compass-needle { animation: none; transform-origin: 60px 60px; transform-box: view-box; }
.hero-compass .c-n { animation: none; }
.hero-compass .compass-letter { opacity: 0; transition: opacity .25s ease; }
.hero-compass .compass-letter.show { opacity: 1; animation: letterPop .45s cubic-bezier(.2,1.6,.4,1); transform-origin: 60px 60px; transform-box: view-box; }
@keyframes letterPop { from { transform: scale(.3); } to { transform: scale(1); } }
.hero-compass .compass-text { display: block; min-width: 300px; }
@media (max-width: 575px) { .hero-compass .compass-text { min-width: 0; } }
.hero-compass .ct-line { display: block; font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; color: #fff; line-height: 1.2; transition: opacity .3s, transform .3s; }
.hero-compass .ct-line b { color: #FF4750; }
.hero-compass .ct-line.dim { font-weight: 500; font-size: .98rem; color: #D5DAE1; }
.hero-compass .ct-sub { display: block; font-size: .85rem; color: #AEB5C0; min-height: 1.2em; transition: opacity .3s; }
.hero-compass .fade { opacity: 0; transform: translateY(6px); }

/* Section « Le constat » : cartes animees probleme -> solution ERO */
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 575px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--ero-line); border-radius: 18px; padding: 1.3rem 1.3rem 1.2rem; min-height: 230px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; outline: none;
  opacity: 0; transform: translateY(26px) scale(.98); }
.pain-grid.in .pain-card { opacity: 1; transform: none; transition: opacity .6s ease var(--d), transform .6s cubic-bezier(.2,.8,.2,1) var(--d), box-shadow .35s, border-color .35s; }
.pain-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ero-red); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.pain-num { position: absolute; right: 16px; top: 10px; font-family: var(--font-title); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--ero-ink); opacity: .07; transition: opacity .35s, color .35s; }
.pain-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--ero-red-soft); color: var(--ero-red); margin-bottom: .8rem; transition: transform .45s cubic-bezier(.2,1.6,.4,1), background .35s, color .35s; }
.pain-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .35rem; }
.pain-text { font-size: .93rem; color: var(--ero-muted); margin: 0; transition: opacity .3s, transform .3s; }
.pain-sol { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--ero-ink); color: #fff;
  transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.pain-sol strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #FF6B72; margin-bottom: .15rem; }
.pain-sol span { font-size: .92rem; line-height: 1.4; }
.pain-letter { flex: 0 0 34px; height: 34px; display: grid; place-items: center; position: relative; font-family: var(--font-title); font-weight: 900; color: #fff; }
.pain-letter::before { content: ""; position: absolute; inset: 4px; transform: rotate(45deg); border-radius: 6px; background: var(--c, var(--ero-red)); z-index: -1; }
.pain-letter.pl-E { --c: var(--ero-blue); } .pain-letter.pl-R { --c: var(--ero-red); } .pain-letter.pl-O { --c: #8FA3C8; }
.pain-letter { isolation: isolate; }
.pain-card:hover, .pain-card:focus-visible, .pain-card.active { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,40,75,.14); border-color: transparent; }
.pain-card:hover::before, .pain-card:focus-visible::before, .pain-card.active::before { transform: scaleY(1); }
.pain-card:hover .pain-ico, .pain-card:focus-visible .pain-ico, .pain-card.active .pain-ico { transform: rotate(-8deg) scale(1.08); background: var(--ero-red); color: #fff; }
.pain-card:hover .pain-num, .pain-card.active .pain-num { opacity: .9; color: var(--ero-red); }
.pain-card:hover .pain-sol, .pain-card:focus-visible .pain-sol, .pain-card.active .pain-sol { transform: none; }
.pain-card:hover .pain-text, .pain-card.active .pain-text { opacity: .25; }
@media (prefers-reduced-motion: reduce) { .pain-card { opacity: 1; transform: none; } .pain-sol { position: static; transform: none; margin: 1rem -1.3rem -1.2rem; } .pain-card { min-height: 0; } }

/* Boussole v3 : centre qui grossit a chaque lettre */
.compass-core { transform-origin: 60px 60px; transform-box: view-box; transition: transform .7s cubic-bezier(.2,1.5,.4,1); }
@media (prefers-reduced-motion: reduce) { .compass-core { transition: none; } }

/* Page Boussole ERO : version XL */
.compass-stage { position: relative; background: radial-gradient(ellipse at 50% 40%, #2B3766 0%, #1E284B 55%, #141B36 100%); color: #fff;
  min-height: calc(100vh - 110px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(2.5rem, 6vw, 5rem) 16px; overflow: hidden; text-align: center; }
.compass-stage::before { content: ""; position: absolute; left: 50%; top: 42%; width: min(120vh, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(211,18,27,.16) 0%, rgba(211,18,27,0) 60%); pointer-events: none; }
.compass-stage .cs-eyebrow { position: relative; font-family: var(--font-title); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #AEB5C0; margin-bottom: 1rem; }
.hero-compass.compass-xl { position: relative; right: auto; bottom: auto; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.5rem);
  background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; max-width: none; margin: 0; }
.compass-xl .compass-svg { width: min(48vh, 82vw, 520px); height: min(48vh, 82vw, 520px); flex: none; filter: drop-shadow(0 20px 60px rgba(0,0,0,.35)); }
.compass-xl .compass-text { min-width: 0; min-height: 6.5rem; text-align: center; }
.compass-xl .ct-line { font-size: clamp(1.8rem, 4.5vw, 3.4rem); letter-spacing: -.02em; line-height: 1.1; }
.compass-xl .ct-line.dim { font-size: clamp(1.3rem, 3vw, 2.2rem); }
.compass-xl .ct-sub { font-size: clamp(1rem, 1.8vw, 1.3rem); margin-top: .6rem; }
.compass-stage .cs-actions { position: relative; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* Section « La Méthode ERO » : boussole animee en fond, l'aiguille designe tour a tour E, R, O */
.ero-levers { position: relative; overflow: hidden; isolation: isolate; }
.levers-compass { position: absolute; left: 50%; top: 50%; width: min(900px, 130vw); aspect-ratio: 1; transform: translate(-50%, -46%); z-index: -1; color: #1E284B; opacity: .09; pointer-events: none; }
.levers-compass svg { width: 100%; height: 100%; display: block; }
.levers-compass .lc-ring { transform-origin: 300px 300px; transform-box: view-box; animation: lcRing 90s linear infinite; }
.levers-compass .lc-rose { transform-origin: 300px 300px; transform-box: view-box; animation: lcRose 60s linear infinite; }
.levers-compass .lc-needle { transform-origin: 300px 300px; transform-box: view-box; transition: transform 1.6s cubic-bezier(.3,1.5,.5,1); }
.ero-levers.lc-live .levers-compass { opacity: .13; transition: opacity 1s; }
@keyframes lcRing { to { transform: rotate(360deg); } }
@keyframes lcRose { to { transform: rotate(-360deg); } }
.ero-levers .ero-pillar { transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease; }
.ero-levers .ero-pillar.active { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(30,40,75,.14); border-color: rgba(211,18,27,.35); }
.ero-levers .ero-pillar .ero-letter { transition: transform .45s cubic-bezier(.2,1.6,.4,1); }
.ero-levers .ero-pillar.active .ero-letter { transform: scale(1.12) rotate(-6deg); }
.ero-levers .ero-pillar { background-color: rgba(255,255,255,.88); backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: reduce) {
  .levers-compass .lc-ring, .levers-compass .lc-rose { animation: none; }
  .levers-compass .lc-needle { transition: none; }
  .ero-levers .ero-pillar.active { transform: none; }
}

/* Page Boussole ERO : meme format que la capsule du hero, en XL */
.compass-stage { justify-content: center; }
.compass-stage::before { display: block; }
.hero-compass.compass-xl { position: relative; right: auto; bottom: auto; flex-direction: row; align-items: center; gap: clamp(18px, 3vw, 40px);
  background: rgba(30, 40, 75, .55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; padding: clamp(12px, 1.6vw, 22px) clamp(28px, 4vw, 64px) clamp(12px, 1.6vw, 22px) clamp(12px, 1.6vw, 22px); max-width: 1100px; margin: 0; text-align: left; }
.compass-xl .compass-svg { width: clamp(150px, 20vw, 260px); height: clamp(150px, 20vw, 260px); flex: 0 0 auto; filter: none; }
.compass-xl .compass-text { min-width: clamp(280px, 40vw, 620px); min-height: 0; text-align: left; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.compass-xl .ct-line { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.compass-xl .ct-line.dim { font-size: clamp(1.2rem, 2.2vw, 2rem); }
.compass-xl .ct-sub { font-size: clamp(.95rem, 1.5vw, 1.25rem); margin-top: .5rem; }
.compass-stage .cs-eyebrow { position: relative; top: auto; margin: 0 0 1.5rem; }
.compass-stage::after { display: none; }
@media (max-width: 767px) {
  .hero-compass.compass-xl { flex-direction: column; border-radius: 32px; padding: 22px 20px 26px; text-align: center; }
  .compass-xl .compass-svg { width: min(62vw, 240px); height: min(62vw, 240px); }
  .compass-xl .compass-text { min-width: 0; text-align: center; }
}

/* Section « La Méthode ERO » v2 : paysage abstrait, un sentier gravit les sommets E, R, O */
.levers-compass { display: none; }
.levers-summits { position: absolute; left: 0; right: 0; bottom: 0; height: 78%; z-index: -1; pointer-events: none; }
.levers-summits svg { width: 100%; height: 100%; display: block; }
.levers-summits .ls-topo path { transform-box: fill-box; transform-origin: center; animation: lsTopo 14s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
@keyframes lsTopo { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.06); opacity: 1; } }
.levers-summits .ls-back { animation: lsDrift 26s ease-in-out infinite alternate; }
.levers-summits .ls-front { animation: lsDrift 18s ease-in-out infinite alternate-reverse; }
@keyframes lsDrift { from { transform: translateX(-24px); } to { transform: translateX(24px); } }
.levers-summits .ls-flag-pole { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; transition: transform .6s cubic-bezier(.2,1.5,.4,1), opacity .3s; }
.levers-summits .ls-flag.reached .ls-flag-pole { transform: scaleY(1); opacity: 1; }
.levers-summits .ls-flag.current circle { animation: lsPulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lsPulse { 50% { transform: scale(1.35); } }
.levers-summits .ls-halo { transform-box: fill-box; transform-origin: center; animation: lsPulse 1.4s ease-in-out infinite; }
.levers-summits .ls-walker, .levers-summits .ls-progress { transition: opacity .5s; }
.ero-levers .section-head, .ero-levers .ero-pillar { position: relative; }
@media (max-width: 767px) { .levers-summits { height: 45%; } }
@media (prefers-reduced-motion: reduce) {
  .levers-summits .ls-topo path, .levers-summits .ls-back, .levers-summits .ls-front, .levers-summits .ls-halo { animation: none; }
}
/* Sentier plus discret : ne doit jamais concurrencer le texte */
.levers-summits { height: 74%; }
.levers-summits .ls-flag, .levers-summits .ls-walker { opacity: .55; }
.levers-summits .ls-flag.current { opacity: .75; }
.levers-summits .ls-walker circle:last-child { r: 5; }
.levers-summits .ls-flag-pole line { stroke-width: 2; }

/* ---------- Ressources / articles ---------- */
.article-card { padding: 0 0 1.5rem; overflow: hidden; }
.article-card > :not(img) { margin-left: 1.5rem; margin-right: 1.5rem; }
.article-card-img { width: 100%; height: 190px; object-fit: cover; margin-bottom: 1.1rem; background: #eef2f7; }
.article-card:not(:has(img)) { padding-top: 1.5rem; }
.article-card:hover h3 { color: var(--ero-red, #D3121B); }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; }
.article-body { max-width: none; font-size: 1.06rem; line-height: 1.75; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2rem 0; display: block; }
.article-body blockquote { border-left: 4px solid var(--ero-red, #D3121B); padding: .4rem 0 .4rem 1.1rem; margin: 1.5rem 0; font-style: italic; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .35rem; }
.article-body a { word-break: break-word; }
.press-logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; }
