/* ═══════════════════════════════════════════════════════════════════
   BUBBLE WATCH — Feuille de style
   Palette : bleu marine (sérieux) + orange soleil (chaleur) + crème (lisibilité)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --navy:        #1B2F5E;
  --navy-deep:   #0F1E42;
  --navy-ink:    #0B1731;
  --navy-soft:   #2A4380;
  --navy-tint:   #E9EEF8;
  --orange:      #F47B20;
  --orange-deep: #D9651A;
  --orange-light:#FFA45C;
  --orange-tint: #FFF1E4;
  --sun:         #FFC247;
  --paper:       #FFFFFF;
  --cream:       #FFF9F3;
  --sand:        #F6EBDD;
  --mist:        #F3F6FB;
  --ink:         #14213D;
  --ink-2:       #3E4B68;
  --muted:       #5B6B87;
  --muted-ui:    #71809A;
  --orange-text: #A94708;
  --line:        #E6E9F1;
  --line-2:      #D5DBE8;
  --green:       #1E9E6A;
  --green-tint:  #E4F6EE;
  --amber:       #E4A500;
  --amber-tint:  #FFF6D9;
  --red:         #D64545;
  --red-tint:    #FDE8E8;
  --blue:        #3A78D8;
  --blue-tint:   #E8F0FC;
  --font-head:   'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15,30,66,.06), 0 2px 8px rgba(15,30,66,.05);
  --shadow:    0 6px 24px rgba(15,30,66,.08), 0 2px 6px rgba(15,30,66,.05);
  --shadow-lg: 0 24px 60px rgba(15,30,66,.16);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--cream);
  line-height: 1.65; font-size: 16px; overflow-x: hidden; min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.012em; color: var(--navy-ink); }
strong { font-weight: 700; }
::selection { background: rgba(244,123,32,.25); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; box-shadow: 0 0 0 6px #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

.skip { position: absolute; left: -9999px; top: 10px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 10px; }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-mist { background: var(--mist); }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-lead { color: rgba(255,255,255,.8); }
.section-navy .kicker { color: var(--orange-light); }
.section-head { margin-bottom: 44px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 680px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700;
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 14px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Icônes inline : taille par défaut, surchargée par les conteneurs */
.ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.18em; flex-shrink: 0; }

/* ─── Boutons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head);
  font-weight: 700; font-size: .95rem; padding: 14px 26px; border-radius: 999px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 8px 24px rgba(244,123,32,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244,123,32,.40); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(27,47,94,.22); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-ghost { background: var(--paper); color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.30); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; min-height: 40px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none !important; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange-text); font-family: var(--font-head); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ─── Badges ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .03em; line-height: 1; white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-navy { background: var(--navy-tint); color: var(--navy); }
.badge-orange { background: var(--orange-tint); color: var(--orange-text); }
.badge-green { background: var(--green-tint); color: #157A50; }
.badge-amber { background: var(--amber-tint); color: #7a5a00; }
.badge-red { background: var(--red-tint); color: #B03030; }
.badge-blue { background: var(--blue-tint); color: #2559B3; }
.badge-grey { background: var(--mist); color: var(--muted); }
.badge-demo { background: repeating-linear-gradient(135deg, var(--amber-tint) 0 6px, #fff 6px 12px); color: #7a5a00; border: 1px dashed #d8b64a; }

/* ─── Navigation ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  background: rgba(255,249,243,.86); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(20,33,61,.06); transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1500px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.brand-name b { color: var(--orange); }
.brand-tag { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink-2);
  padding: 10px 14px; border-radius: 10px; transition: .2s; position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: rgba(27,47,94,.06); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-live { display: inline-flex; align-items: center; gap: 8px; }
.nav-live.nav-phase #navCompassLabel { white-space: nowrap; }
.nav-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,194,71,.3); animation: pulse 2s infinite; }
/* « Market Trends » prend la couleur du niveau de vigilance du marché (même code couleur que la Boussole) : vert calme, ambre vigilance, orange prudence, rouge alerte */
.nav-live.nav-phase .dot { background: rgba(255,255,255,.92); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.nav-live.nav-vig-calme { background: linear-gradient(135deg, var(--green), #157A50); box-shadow: 0 8px 24px rgba(30,158,106,.28); }
.nav-live.nav-vig-calme:hover { box-shadow: 0 12px 30px rgba(30,158,106,.38); }
.nav-live.nav-vig-vigilance { background: linear-gradient(135deg, #F5BD1F, var(--amber)); color: var(--navy-ink); box-shadow: 0 8px 24px rgba(228,165,0,.28); }
.nav-live.nav-vig-vigilance:hover { box-shadow: 0 12px 30px rgba(228,165,0,.38); }
.nav-live.nav-vig-vigilance .dot { background: var(--navy-ink); box-shadow: 0 0 0 3px rgba(11,23,49,.18); }
.nav-live.nav-vig-alerte { background: linear-gradient(135deg, var(--red), #B33636); box-shadow: 0 8px 24px rgba(214,69,69,.28); }
.nav-live.nav-vig-alerte:hover { box-shadow: 0 12px 30px rgba(214,69,69,.38); }
/* Visiteur : « Créer un compte gratuit » en bouton, « Connexion » en lien discret */
.nav-login-link { background: none; border: 0; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--navy); padding: 8px 10px; border-radius: 10px; white-space: nowrap; cursor: pointer; transition: .2s; }
.nav-login-link:hover { background: rgba(27,47,94,.06); }
.nav-signup { white-space: nowrap; }
#navAuth { display: inline-flex; align-items: center; gap: 6px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mob-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(255,249,243,.98); z-index: 890;
  display: none; flex-direction: column; padding: 24px; gap: 4px; overflow-y: auto;
}
.mob-menu.open { display: flex; }
body.menu-open .cookie, body.menu-open .helia { display: none !important; }
.mob-menu a { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; padding: 14px 12px; border-radius: 12px; color: var(--navy); }
.mob-menu a.active { background: var(--orange-tint); color: var(--orange-deep); }
.mob-menu .btn { margin-top: 12px; }

/* ─── Pages ──────────────────────────────────────────────────────── */
main { padding-top: var(--nav-h); min-height: 70vh; }
.page { display: none; }
.page.active { display: block; animation: pageIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.page-head { padding: 64px 0 40px; position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.page-head .section-lead { font-size: 1.15rem; }
.page-head-navy { background: var(--navy-deep); color: #fff; padding: 56px 0 48px; }
.page-head-navy h1 { color: #fff; }
.page-head-navy .section-lead { color: rgba(255,255,255,.82); }
.page-head-navy .kicker { color: var(--orange-light); }
.page-head-navy::before { content: ''; position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg at 80% 30%, rgba(255,255,255,.04) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
.page-head-navy::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 20%, rgba(244,123,32,.25), transparent 50%); pointer-events: none; }
.page-head-navy .container { position: relative; z-index: 1; }
.page-head-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-head-visual img { width: min(100%, 250px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 32%; margin: 0 auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: rotate(2deg); }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; padding: 76px 0 120px; }
.hero::before { content: ''; position: absolute; inset: -25%; background: repeating-conic-gradient(from 0deg at 70% 45%, rgba(255,255,255,.045) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 72% 42%, rgba(244,123,32,.30), transparent 52%), linear-gradient(180deg, rgba(15,30,66,0) 55%, rgba(15,30,66,.75)); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 26px;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,194,71,.25); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 800; color: #fff; letter-spacing: -.028em; line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange-light); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .26em; background: rgba(244,123,32,.30); z-index: -1; border-radius: 4px; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.84); max-width: 540px; margin-bottom: 32px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.78); font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--sun); flex-shrink: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.10); transform: rotate(-2.5deg);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,30,66,.55)); }
.hero-name { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; }
.hero-name strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.hero-name span { font-size: .8rem; opacity: .8; }
.float-card {
  position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center; min-width: 230px; animation: floaty 6s ease-in-out infinite;
}
.float-card.fc1 { left: -8%; top: 10%; }
.float-card.fc2 { right: -6%; bottom: 14%; animation-delay: -3s; }
.float-card .fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-deep); flex-shrink: 0; }
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card small { display: block; font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.float-card strong { font-family: var(--font-head); font-size: .95rem; color: var(--navy-ink); line-height: 1.2; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255,194,71,.25); } 50% { box-shadow: 0 0 0 9px rgba(255,194,71,.06); } }
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.bubble {
  position: absolute; bottom: -80px; border-radius: 50%; border: 2px solid rgba(255,164,92,.45);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(244,123,32,.12) 55%, transparent 72%);
  animation: rise linear infinite;
}
@keyframes rise { from { transform: translateY(0) scale(.9); opacity: 0; } 8% { opacity: 1; } 85% { opacity: .7; } to { transform: translateY(-115vh) scale(1.08); opacity: 0; } }

/* ─── Bandeau Baromètre (accueil) ────────────────────────────────── */
.baro-strip-wrap { position: relative; z-index: 3; margin-top: -64px; }
.baro-strip {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 24px 28px;
  display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line);
}
.baro-strip .gauge-wrap { width: 200px; }
.baro-strip-main .lbl { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.baro-strip-main h3, .baro-strip-title { font-size: 1.6rem; font-weight: 800; margin: 6px 0 4px; }
.baro-strip-main p { color: var(--ink-2); font-size: .95rem; }
.baro-strip-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

/* ─── Jauge ──────────────────────────────────────────────────────── */
.gauge { width: 100%; height: auto; display: block; overflow: visible; }
.gauge-needle, .compass-needle, .wheel-needle { transition: transform 1.6s cubic-bezier(.34, 1.3, .64, 1); }
.cp-val { font-family: var(--font-head); font-weight: 800; font-size: 30px; fill: var(--navy-ink); }
.cp-sub { font-family: var(--font-body); font-weight: 700; font-size: 9px; fill: var(--muted); letter-spacing: .12em; }
.cp-num { font-family: var(--font-head); font-weight: 800; font-size: 12px; }
.cp-lbl { font-family: var(--font-body); font-weight: 700; font-size: 9px; fill: var(--muted); letter-spacing: .14em; }
.gauge-val { font-family: var(--font-head); font-weight: 800; font-size: 44px; fill: var(--navy-ink); }
.gauge-sub { font-family: var(--font-body); font-weight: 600; font-size: 12px; fill: var(--muted); letter-spacing: .08em; }
.gauge-tick { font-family: var(--font-body); font-size: 10px; font-weight: 600; fill: var(--muted); }

/* ─── Ruban des phases ───────────────────────────────────────────── */
.phase-ribbon { display: flex; gap: 6px; align-items: stretch; }
.phase-ribbon span {
  flex: 1; height: 8px; border-radius: 4px; background: var(--line); position: relative; transition: .3s;
}
.phase-ribbon span.on { transform: scaleY(1.6); }
.phase-ribbon span[data-v="Calme"] { background: var(--green); opacity: .55; }
.phase-ribbon span[data-v="Vigilance"] { background: var(--amber); opacity: .55; }
.phase-ribbon span[data-v="Prudence"] { background: var(--orange); opacity: .55; }
.phase-ribbon span[data-v="Alerte"] { background: var(--red); opacity: .55; }
.phase-ribbon span.on { opacity: 1; box-shadow: 0 0 0 3px rgba(20,33,61,.08); }

/* ─── Cartes ─────────────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.card.hover:hover, a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.card p { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-deep); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card-icon.navy { background: var(--navy-tint); color: var(--navy); }
.card-icon.green { background: var(--green-tint); color: var(--green); }
.card-icon.blue { background: var(--blue-tint); color: var(--blue); }
.card-icon.sun { background: var(--amber-tint); color: #b07d00; }
.card .link-arrow { margin-top: 16px; }
.card-soft { background: var(--sand); border: 0; }
.card-navy { background: var(--navy); color: #fff; border: 0; }
.card-navy h3, .card-navy p { color: #fff; }
.card-navy p { opacity: .85; }

/* Pourquoi : cartes horizontales */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; padding: 30px 32px; }
.why-card .card-icon { margin: 0; width: 56px; height: 56px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { font-size: 1rem; line-height: 1.7; }

/* Piliers */
.pillar { display: flex; flex-direction: column; }
.pillar .num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--orange-text); letter-spacing: .1em; margin-bottom: 8px; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { flex: 1; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; position: relative; counter-reset: step; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.grid-contact { grid-template-columns: 1.2fr .8fr; align-items: start; }
.step { position: relative; padding: 34px 28px 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -16px; left: 22px;
  width: 40px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 6px 16px rgba(244,123,32,.35);
}
.step h3 { font-size: 1.15rem; line-height: 1.3; margin: 4px 0 12px; }
.step p { color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; }
.how-visual { position: relative; }
.how-visual img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); transform: rotate(2deg); width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }

/* Modules Académie */
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mod-card { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: start; padding: 24px; cursor: pointer; }
.mod-card .mod-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-deep); }
.mod-card .mod-icon svg { width: 30px; height: 30px; }
.mod-card .mod-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.mod-card .mod-order { font-family: var(--font-head); font-weight: 800; font-size: .74rem; color: var(--muted); letter-spacing: .08em; }
.mod-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.mod-card p { font-size: .93rem; }
.mod-card .link-arrow { margin-top: 12px; font-size: .9rem; }
.mod-card.done .mod-icon { background: var(--green-tint); color: var(--green); }
.path-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: .88rem; color: var(--ink-2); }
.path-bar .bar { flex: 1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.path-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--sun)); border-radius: 4px; transition: width .6s; }

/* Article (module / analyse) */
.article-head { background: var(--navy-tint); padding: 56px 0 48px; }
.article-head .meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.article-head .meta a.badge { min-height: 40px; padding: 0 14px; }
.article-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.02em; }
.article-head .sub { font-size: 1.12rem; color: var(--ink-2); max-width: 720px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-body { max-width: 720px; min-width: 0; }
.article-body h2 { font-size: 1.5rem; margin: 40px 0 14px; font-weight: 800; scroll-margin-top: calc(var(--nav-h) + 16px); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--ink-2); font-size: 1.03rem; margin-bottom: 14px; line-height: 1.75; }
.article-body ul.bul { margin: 6px 0 18px; padding-left: 4px; }
.article-body ul.bul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink-2); font-size: 1rem; }
.article-body ul.bul li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.article-side { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.side-card ul li { padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.side-card ul li:first-child { border-top: 0; padding-top: 0; }
.side-card ul li strong { color: var(--navy-ink); }
.toc a { display: block; padding: 9px 0 9px 12px; font-size: .9rem; color: var(--ink-2); border-left: 2px solid var(--line); transition: .2s; }
.toc a:hover { color: var(--orange-deep); border-color: var(--orange); }
.key-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.key-num { background: var(--sand); border-radius: var(--r); padding: 18px; }
.key-num strong { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--orange-text); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.key-num span { font-size: .84rem; color: var(--ink-2); line-height: 1.4; display: block; }
.takeaways { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 28px; margin: 36px 0; }
.takeaways h3 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.takeaways h3 svg { width: 20px; height: 20px; color: var(--sun); }
.takeaways li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .98rem; color: rgba(255,255,255,.9); }
.takeaways li:first-of-type { border-top: 0; }
.takeaways li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sun); margin-top: 3px; }
.helia-note { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; margin: 32px 0; }
.helia-note img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange-light); }
.helia-note .speech { position: relative; background: var(--orange-tint); border-radius: var(--r-lg); padding: 18px 22px; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.helia-note .speech::before { content: ''; position: absolute; left: -10px; top: 22px; border: 10px solid transparent; border-right-color: var(--orange-tint); border-left: 0; }
.helia-note .speech b { display: block; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-text); margin-bottom: 6px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-nav a { flex: 1; min-width: 220px; }
.article-nav a small { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.article-nav a strong { font-family: var(--font-head); color: var(--navy); }
.article-nav a.next { text-align: right; }

/* Quiz */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin: 36px 0; }
.quiz h3 { font-size: 1.15rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.quiz h3 .badge { margin-left: auto; }
.quiz .q { font-size: 1.05rem; color: var(--ink); margin-bottom: 18px; font-weight: 500; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt {
  text-align: left; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-size: .97rem;
  display: flex; align-items: center; gap: 12px; transition: .2s;
}
.quiz-opt .k { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--mist); font-family: var(--font-head); font-weight: 800; font-size: .8rem; color: var(--navy); flex-shrink: 0; }
.quiz-opt:hover { border-color: var(--navy); }
.quiz-opt.correct { border-color: var(--green); background: var(--green-tint); }
.quiz-opt.correct .k { background: var(--green); color: #fff; }
.quiz-opt.wrong { border-color: var(--red); background: var(--red-tint); }
.quiz-opt.wrong .k { background: var(--red); color: #fff; }
.quiz-opt[disabled] { cursor: default; }
.quiz-expl { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--mist); color: var(--ink-2); font-size: .95rem; display: none; }
.quiz-expl.show { display: block; animation: pageIn .35s; }
.quiz-expl strong { color: var(--navy-ink); }

/* Simulateur */
.sim { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin: 36px 0; }
.sim h3 { font-size: 1.2rem; margin-bottom: 4px; }
.sim .sim-lead { color: var(--ink-2); font-size: .93rem; margin-bottom: 22px; }
.sim-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.sim-controls { display: grid; gap: 16px; }
.sim-ctl label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.sim-ctl label output { font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); }
.sim-ctl input[type=range] { width: 100%; accent-color: var(--orange); height: 28px; }
.sim-ctl.a label output { color: var(--orange-text); }
.sim-ctl.b label output { color: var(--navy); }
.sim-canvas-wrap { position: relative; overflow: hidden; }
.sim canvas { width: 100%; height: 280px; display: block; border-radius: 12px; background: var(--cream); }
.sim-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.sim-res { border-radius: 14px; padding: 14px 16px; background: var(--mist); }
.sim-res small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.sim-res strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -.01em; }
.sim-res.a { background: var(--orange-tint); } .sim-res.a strong { color: var(--orange-text); }
.sim-res.b { background: var(--navy-tint); } .sim-res.b strong { color: var(--navy); }
.sim-res.diff { background: var(--red-tint); } .sim-res.diff strong { color: var(--red); }
.sim-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.sim-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-2); margin-top: 10px; }
.sim-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* Analyses */
.featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; padding: 0; }
.featured-main { padding: 36px; }
.featured-side { background: var(--navy); color: #fff; padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.featured-side .gauge-val, .featured-side .cp-val { fill: var(--navy-ink); } .featured-side .gauge-sub, .featured-side .gauge-tick, .featured-side .cp-lbl { fill: rgba(255,255,255,.75); } .featured-side .cp-rose { fill: rgba(255,255,255,.10); } .featured-side .compass circle[fill="var(--mist)"] { fill: rgba(255,255,255,.06); } .featured-side .cp-num[fill="var(--navy-ink)"] { fill: var(--navy-ink); }
.featured-side .gauge-needle line { stroke: #fff; } .featured-side .gauge-needle circle:first-of-type { fill: #fff; } .featured-side .gauge-needle circle:last-of-type { fill: var(--navy); }
.featured-side .gauge path:first-of-type { stroke: rgba(255,255,255,.12); } .featured-side .compass > circle:first-of-type { stroke: rgba(255,255,255,.2); }
.featured-side h4 { color: #fff; font-size: 1.35rem; font-weight: 800; }
.featured-side p { color: rgba(255,255,255,.8); font-size: .9rem; }
.featured-side .gauge-wrap { width: 220px; }
.featured h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.featured .summary { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 20px; }
.an-list { display: grid; gap: 14px; }
.an-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px; }
.an-row .date { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted); line-height: 1.3; }
.an-row .date b { display: block; color: var(--navy-ink); font-size: 1rem; }
.an-row h3 { font-size: 1.08rem; margin-bottom: 4px; }
.an-row p { font-size: .9rem; }
.an-row .badge { justify-self: end; }
.an-block { margin: 30px 0; }
.for-you { display: grid; gap: 12px; }
.for-you .fy { border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.for-you .fy b { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); color: var(--navy-ink); margin-bottom: 6px; }
.for-you .fy b i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.for-you .fy p { font-size: .96rem; margin: 0; }
.fy.prudent b i { background: var(--green); } .fy.equilibre b i { background: var(--amber); } .fy.dynamique b i { background: var(--orange); }

/* Baromètre page */
.baro-now { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.baro-now .gauge-wrap { width: 100%; max-width: 340px; }
.baro-now h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 8px; font-weight: 800; }
.baro-now .trend { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.baro-now .trend svg { width: 18px; height: 18px; color: var(--orange-deep); }
.baro-now .legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; font-size: .82rem; color: var(--ink-2); }
.baro-now .legend span { display: inline-flex; align-items: center; gap: 6px; }
.baro-now .legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.wheel-layout { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: center; }
.wheel { width: 100%; max-width: 420px; margin: 0 auto; display: block; }
.wheel path.seg { cursor: pointer; transition: opacity .2s, transform .2s, filter .2s; transform-origin: 210px 210px; }
.wheel path.seg:hover { opacity: 1 !important; filter: brightness(1.06); }
.wheel path.seg.sel { opacity: 1 !important; stroke: var(--navy-ink); stroke-width: 3; }
.wheel text.num { font-family: var(--font-head); font-weight: 800; font-size: 15px; fill: #fff; pointer-events: none; }
.wheel text.ctr1 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; fill: var(--muted); text-transform: uppercase; }
.wheel text.ctr2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; fill: var(--navy-ink); }
.wheel text.ctr3 { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--ink-2); }
.wheel .here { pointer-events: none; }
.wheel .here text { font-family: var(--font-head); font-size: 10px; font-weight: 800; fill: var(--navy-ink); letter-spacing: .04em; }
.phase-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; min-height: 380px; }
.phase-detail .ph-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.phase-detail .ph-head .idx { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; }
.phase-detail h3 { font-size: 1.6rem; font-weight: 800; }
.phase-detail .one { color: var(--ink-2); font-style: italic; margin-bottom: 16px; }
.phase-detail .blk { margin-top: 16px; }
.phase-detail .blk b { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; font-family: var(--font-head); }
.phase-detail .blk p { color: var(--ink); font-size: .97rem; }
.phase-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.phase-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--ink-2); text-align: left; transition: .2s; }
.phase-chip i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.phase-chip:hover, .phase-chip.sel { border-color: var(--navy); color: var(--navy-ink); }
.phase-chip.cur::after { content: 'ici'; margin-left: auto; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; background: var(--orange); color: #fff; padding: 2px 7px; border-radius: 999px; font-weight: 800; }
.v-Calme { background: var(--green); } .v-Vigilance { background: var(--amber); } .v-Prudence { background: var(--orange); } .v-Alerte { background: var(--red); }
.climates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.climate { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--line); }
.climate.calme { border-top-color: var(--green); } .climate.echauffement { border-top-color: var(--amber); } .climate.retournement { border-top-color: var(--orange); } .climate.tempete { border-top-color: var(--red); }
.climate h4 { font-size: 1.05rem; margin-bottom: 6px; }
.climate small { color: var(--muted); font-weight: 600; display: block; margin-bottom: 8px; font-size: .78rem; }
.climate p { font-size: .9rem; color: var(--ink-2); }

/* Profils / allocation */
.tabs { display: inline-flex; gap: 4px; background: var(--mist); padding: 5px; border-radius: 999px; }
.tab { padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink-2); transition: .2s; }
.tab.active { background: #fff; color: var(--navy-ink); box-shadow: var(--shadow-sm); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: .85rem; font-weight: 600; color: var(--ink-2); background: #fff; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.chip.active { border-color: var(--navy); color: var(--navy-ink); background: var(--navy-tint); }
.alloc-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-top: 28px; }
.donut { width: 100%; max-width: 300px; margin: 0 auto; display: block; }
.donut circle.seg { fill: none; stroke-width: 34; transition: stroke-dasharray .8s cubic-bezier(.16,1,.3,1), stroke-dashoffset .8s cubic-bezier(.16,1,.3,1); }
.donut text.d1 { font-family: var(--font-head); font-weight: 800; font-size: 30px; fill: var(--navy-ink); }
.donut text.d2 { font-family: var(--font-body); font-weight: 600; font-size: 11px; fill: var(--muted); letter-spacing: .08em; }
.alloc-table { width: 100%; border-collapse: collapse; }
.alloc-table td { padding: 11px 6px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.alloc-table td .ac { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.alloc-table td .ac i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex-shrink: 0; }
.alloc-table td.pct { text-align: right; font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); width: 70px; }
.alloc-table td.bar { width: 40%; }
.alloc-table .bar span { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.alloc-table .bar span i { display: block; height: 100%; border-radius: 4px; transition: width .8s cubic-bezier(.16,1,.3,1); }
.profile-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.profile-tag { color: var(--ink-2); font-size: 1rem; margin-bottom: 6px; }

/* Tendances & watchlist */
.trend-card { padding: 22px; }
.trend-card .tc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.trend-card h4 { font-size: 1.02rem; }
.trend-card p { font-size: .9rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
table.watch { width: 100%; border-collapse: collapse; min-width: 640px; }
table.watch th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--mist); font-weight: 700; }
table.watch td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); vertical-align: top; }
table.watch tr:last-child td { border-bottom: 0; }
table.watch td strong { color: var(--navy-ink); font-family: var(--font-head); font-size: .97rem; }
table.watch td .badge { white-space: nowrap; }
.sig-Favorable { background: var(--green-tint); color: #157A50; } .sig-Neutre { background: var(--mist); color: var(--ink-2); } .sig-Prudence { background: var(--orange-tint); color: var(--orange-text); }

/* FAQ / accordéon */
.acc { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.acc-item button { width: 100%; text-align: left; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy-ink); }
.acc-item button svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange-deep); transition: transform .25s; }
.acc-item.open button svg { transform: rotate(45deg); }
.acc-item .acc-body { display: none; padding: 0 22px 20px; color: var(--ink-2); font-size: .97rem; line-height: 1.7; }
.acc-item.open .acc-body { display: block; animation: pageIn .3s; }

/* Disclaimer */
.disclaimer { border-left: 4px solid var(--amber); background: var(--amber-tint); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; color: #6b5200; font-size: .92rem; line-height: 1.6; }
.disclaimer b { display: block; font-family: var(--font-head); margin-bottom: 4px; color: #4d3a00; }

/* Vidéos */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ep-card { padding: 0; overflow: hidden; cursor: pointer; }
.ep-cover { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.ep-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ep-card:hover .ep-cover img { transform: scale(1.04); }
.ep-cover .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(15,30,66,.7)); }
.ep-cover .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--orange-deep); box-shadow: var(--shadow-lg); transition: transform .25s; }
.ep-cover .play span svg { width: 26px; height: 26px; margin-left: 3px; }
.ep-card:hover .play span { transform: scale(1.08); }
.ep-cover .ep-num { position: absolute; top: 14px; left: 14px; }
.ep-cover .ep-dur { position: absolute; bottom: 14px; right: 14px; background: rgba(15,30,66,.7); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; }
.ep-body { padding: 20px 22px 22px; }
.ep-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ep-body p { font-size: .9rem; }
.ep-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11,23,49,.72); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: var(--r-xl); max-width: 860px; width: 100%; max-height: 92vh; overflow: auto; position: relative; display: grid; grid-template-columns: 300px 1fr; animation: pageIn .3s; }
.modal-cover { background: var(--navy); }
.modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 32px; }
.modal-body h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.modal-body p { color: var(--ink-2); }
.modal-body ul { margin: 18px 0; display: grid; gap: 8px; }
.modal-body ul li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.modal-body ul li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.modal-close svg { width: 18px; height: 18px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.modal-actions .btn { white-space: normal; text-align: center; }
.modal-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* À propos */
.values-grid .card h3 { font-size: 1.1rem; }
.not-doing { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.not-doing h3 { color: #fff; margin-bottom: 14px; font-size: 1.25rem; }
.not-doing li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.not-doing li:first-child { border-top: 0; }
.not-doing li svg { width: 20px; height: 20px; color: var(--orange-light); flex-shrink: 0; margin-top: 2px; }
.story { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.story img { width: 100%; max-width: 300px; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.story p { font-size: 1.08rem; color: var(--ink-2); line-height: 1.75; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.member { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
.member img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange-light); }
.member h3 { font-size: 1.1rem; margin-bottom: 2px; }
.member .role { color: var(--orange-text); font-weight: 600; font-size: .85rem; margin-bottom: 8px; display: block; }
.member p { font-size: .9rem; }

/* Formulaires */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: .97rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,47,94,.08); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.form-msg { padding: 14px 18px; border-radius: 12px; font-size: .93rem; display: none; }
.form-msg.ok { display: block; background: var(--green-tint); color: #12633f; }
.form-msg.err { display: block; background: var(--red-tint); color: #8f2a2a; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.newsletter { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg at 90% 50%, rgba(255,255,255,.04) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 10px; }
.newsletter p { color: rgba(255,255,255,.82); }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type=email] { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: .97rem; }
.newsletter input[type=email]::placeholder { color: rgba(255,255,255,.55); }
.newsletter input[type=email]:focus { outline: none; border-color: var(--sun); background: rgba(255,255,255,.14); }
.newsletter .privacy { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 12px; }
.newsletter .form-msg { margin-top: 12px; }

/* CTA final */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; border-radius: var(--r-xl); padding: 56px; display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; }
.final-cta::before { content: ''; position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 85% 50%, rgba(255,255,255,.08) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 24px; max-width: 560px; }
.final-cta .btn-ghost { border-color: transparent; color: var(--orange-text); }
.final-cta img { width: 100%; max-width: 240px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: rotate(3deg); justify-self: end; }

/* Glossaire */
.gloss-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; padding: 13px 16px 13px 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: .95rem; }
.search input:focus { outline: none; border-color: var(--navy); }
.gloss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.term { padding: 22px; }
.term h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.term p { font-size: .92rem; }
.term .ex { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }
.term .ex b { color: var(--orange-text); font-weight: 700; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* Légal */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal p { color: var(--ink-2); margin-bottom: 12px; line-height: 1.75; }
.legal ul.bul li { position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--ink-2); }
.legal ul.bul li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

/* Footer */
footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 72px 0 32px; margin-top: 40px; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg at 10% 100%, rgba(255,255,255,.025) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
footer .container { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.7); max-width: 320px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: .2s; }
.foot-social a:hover { background: var(--orange); border-color: var(--orange); }
.foot-social svg { width: 18px; height: 18px; color: #fff; }
.foot-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.foot-col a { display: block; padding: 9px 0; font-size: .92rem; color: rgba(255,255,255,.72); transition: .2s; }
.foot-col a:hover { color: var(--orange-light); }
/* Page des formules : ce que contient chaque formule, et lien contextuel depuis l'Académie et la Boussole */
.about-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.about-plan h3 { margin-bottom: 4px; }
.about-plan p { font-size: .96rem; line-height: 1.7; color: var(--ink-2); margin-top: 10px; }
.about-plan p b { font-family: var(--font-head); color: var(--navy-ink); }
.included .card p { font-size: .95rem; line-height: 1.65; }
.ctx-link { margin-top: 28px; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.ctx-link a { color: var(--orange-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .about-plans { grid-template-columns: 1fr; } }
.foot-addr { font-style: normal; font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.6); margin-top: 10px; }
.foot-disc { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ─── Hélia (widget) ─────────────────────────────────────────────── */
.helia { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.helia-btn { position: relative; width: 68px; height: 68px; border-radius: 50%; padding: 0; box-shadow: 0 10px 30px rgba(15,30,66,.30), 0 0 0 3px #fff, 0 0 0 6px var(--orange); transition: transform .25s, box-shadow .25s; background: var(--navy); }
.helia-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(15,30,66,.35), 0 0 0 3px #fff, 0 0 0 6px var(--orange-light); }
.helia-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.helia-btn .helia-dot { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; display: none; }
.helia[data-open="false"] .helia-btn .helia-dot { display: block; animation: pulse 2s infinite; }
.helia:hover .helia-bubble { animation-play-state: paused; }
.helia-bubble {
  position: relative; width: min(360px, calc(100vw - 44px)); background: #fff; border-radius: 22px 22px 6px 22px; padding: 18px 18px 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); transform-origin: bottom right; display: none;
}
.helia[data-open="true"] .helia-bubble { display: block; animation: bubbleIn .35s cubic-bezier(.34,1.4,.64,1); }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.85) translateY(10px); } to { opacity: 1; transform: none; } }
.helia-bubble::after { content: ''; position: absolute; right: 18px; bottom: -10px; width: 20px; height: 20px; background: #fff; transform: rotate(45deg); box-shadow: 4px 4px 6px rgba(15,30,66,.06); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.helia-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.helia-head .who { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--navy-ink); }
.helia-head .who small { font-weight: 600; color: var(--muted); font-size: .72rem; }
.helia-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.helia-close:hover { background: var(--mist); color: var(--navy); }
.helia-close svg { width: 16px; height: 16px; }
.helia-text { font-size: .95rem; color: var(--ink); line-height: 1.55; min-height: 48px; }
.helia-text::after { content: '▍'; color: var(--orange); animation: blink 1s steps(2) infinite; }
.helia-text.done::after { content: ''; }
@keyframes blink { 50% { opacity: 0; } }
.helia-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.helia-actions .btn { padding: 8px 14px; font-size: .8rem; min-height: 40px; }
.helia-mood { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }

/* Cookie */
.cookie { position: fixed; left: max(22px, env(safe-area-inset-left)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 1001; width: min(380px, calc(100vw - 44px)); background: #fff; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; }
.cookie.show { display: block; animation: bubbleIn .35s; }
.cookie p { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }

/* 404 */
.notfound { text-align: center; padding: 96px 24px; }
.notfound h1 { font-size: 3rem; margin-bottom: 10px; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .phase-list { grid-template-columns: repeat(2, 1fr); }
  .climates { grid-template-columns: repeat(2, 1fr); }
  .gloss-grid { grid-template-columns: repeat(2, 1fr); }
  .wheel-layout { grid-template-columns: 1fr; }
  .wheel { max-width: 380px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { display: none; }
}
@media (max-width: 1040px) {
  .nav-links a { padding: 10px 10px; font-size: .88rem; }
  .brand-tag { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: flex; }
}
@media (min-width: 961px) {
  .mob-menu { display: none !important; }
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 100px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card { width: min(78vw, 320px); transform: rotate(-2deg); }
  .float-card { min-width: 0; padding: 10px 12px; }
  .float-card.fc1 { left: -4%; top: 6%; }
  .float-card.fc2 { right: -4%; bottom: 26%; }
  .float-card strong { font-size: .82rem; }
  .baro-strip { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .baro-strip .gauge-wrap { margin: 0 auto; }
  .baro-strip-main .lbl { justify-content: center; }
  .baro-strip-side { align-items: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-visual { display: none; }
  .featured { grid-template-columns: 1fr; }
  .baro-now { grid-template-columns: 1fr; text-align: center; }
  .baro-now .gauge-wrap { margin: 0 auto; }
  .baro-now .legend { justify-content: center; }
  .alloc-layout { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-results { grid-template-columns: 1fr; }
  .key-numbers { grid-template-columns: 1fr; }
  .ep-grid, .ep-strip { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; text-align: center; }
  .story img { margin: 0 auto; }
  .team { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 32px; }
  .final-cta { grid-template-columns: 1fr; padding: 36px; }
  .final-cta img { display: none; }
  .modal-box { grid-template-columns: minmax(0, 1fr); }
  .modal-body { padding: 24px 20px; }
  .steps-3, .grid-contact { grid-template-columns: 1fr; }
  .modal-cover { aspect-ratio: 16 / 9; }
  .an-row { grid-template-columns: 1fr; gap: 8px; }
  .an-row .badge { justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 64px 0; }
  .ep-grid, .ep-strip { grid-template-columns: 1fr; }
  .gloss-grid { grid-template-columns: 1fr; }
  .steps, .climates, .phase-list, .foot-grid, .why-grid { grid-template-columns: 1fr; }
  .why-card { grid-template-columns: 1fr; gap: 14px; }
  .helia { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .helia-btn { width: 60px; height: 60px; }
  .cookie { left: max(14px, env(safe-area-inset-left)); bottom: max(90px, env(safe-area-inset-bottom)); }
  .brand-tag { display: none; }
  .hero-actions .btn { width: 100%; }
  .card, .quiz, .sim, .phase-detail { padding: 22px; }
  .featured-main, .featured-side { padding: 26px; }
  .tabs { width: 100%; } .tab { flex: 1; text-align: center; padding: 10px 8px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Impression ─────────────────────────────────────────────────── */
@media print {
  .nav, .mob-menu, .helia, .cookie, .skip, .bubbles, .float-card, .modal, .burger, .newsletter, .final-cta { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  main { padding-top: 0; }
  body { background: #fff; color: #000; }
  .page.active { animation: none; }
  a { color: inherit; text-decoration: none; }
}

/* ─── L'atelier d'Hélia (mini-jeux des modules) ──────────────────── */
.atelier-card { background: linear-gradient(180deg, #fff, var(--cream)); border: 1.5px solid var(--orange-light); border-radius: var(--r-lg); padding: 28px; margin: 36px 0; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.atelier-card::before { content: ''; position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 100% 0%, rgba(244,123,32,.04) 0 6deg, transparent 6deg 12deg); pointer-events: none; }
.atelier-card > * { position: relative; z-index: 1; }
.atelier-card.won { border-color: var(--green); }
.at-head { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; margin-bottom: 20px; }
.at-head img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange-light); }
.at-kicker { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.at-head h3 { font-size: 1.3rem; margin: 4px 0 6px; }
.at-head p { color: var(--ink-2); font-size: .97rem; }
.at-body { min-height: 120px; }
.at-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.at-helia { position: relative; flex: 1; min-width: 220px; background: var(--orange-tint); border-radius: 14px; padding: 12px 16px; font-size: .93rem; color: var(--ink); transition: background .3s; }
.at-helia.flash { background: #ffe1c4; }
.at-helia b { display: block; font-family: var(--font-head); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 2px; }
.atelier-card.won .at-helia { background: var(--green-tint); } .atelier-card.won .at-helia b { color: #157A50; }
.at-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.at-actions .btn.good { background: var(--green-tint); border-color: var(--green); color: #157A50; }
.at-actions .btn.bad { background: var(--red-tint); border-color: var(--red); color: #B03030; }
.at-score { margin-top: 12px; font-family: var(--font-head); font-weight: 700; color: var(--ink-2); font-size: .9rem; }
.at-final { text-align: center; padding: 24px; font-size: 1.1rem; color: var(--ink-2); }
.at-final strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--navy-ink); }

/* Qui est qui ? */
.match { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.match-col { display: grid; gap: 8px; align-content: start; }
.match-card { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: .92rem; line-height: 1.4; transition: .2s; }
.match-card.term { font-family: var(--font-head); font-weight: 700; color: var(--navy-ink); }
.match-card:hover { border-color: var(--navy); }
.match-card.sel { border-color: var(--orange); background: var(--orange-tint); box-shadow: 0 0 0 3px rgba(244,123,32,.15); }
.match-card.ok { border-color: var(--green); background: var(--green-tint); color: #157A50; cursor: default; }
.match-card.ko { animation: shake .4s; border-color: var(--red); background: var(--red-tint); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Détecteur de frais */
.doc { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.doc-head { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; }
.doc-line { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; font-size: .93rem; transition: .2s; }
.doc-line span { color: var(--ink-2); } .doc-line b { color: var(--navy-ink); font-family: var(--font-head); }
.doc-line:hover { background: var(--mist); }
.doc-line.flag { background: var(--orange-tint); } .doc-line.flag::before { content: '⚑'; color: var(--orange-text); margin-right: 8px; }
.doc-line.hit { background: var(--green-tint); } .doc-line.miss { background: var(--red-tint); } .doc-line.miss b::after { content: ' · frais non repéré'; font-size: .75rem; color: #B03030; }
.doc-line.wrong { background: var(--amber-tint); } .doc-line.wrong b::after { content: ' · ce n’est pas un frais'; font-size: .75rem; color: #7a5a00; }
.doc-line.locked { cursor: default; }

/* Tri fonds euros / UC, questions */
.sort-progress { font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.sort-q { font-size: 1.12rem; color: var(--ink); font-weight: 500; margin-bottom: 16px; line-height: 1.5; }
.sort-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sort-btns .btn.good { box-shadow: 0 0 0 3px var(--green); } .sort-btns .btn.bad { opacity: .55; text-decoration: line-through; }
.sort-expl { margin-top: 14px; font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.sort-expl .btn { margin-left: 8px; vertical-align: middle; }
.plan-opts { display: grid; gap: 10px; }

/* Parapluies */
.umb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.umb { position: relative; aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; padding: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transition: .3s; overflow: hidden; }
.umb-name { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--navy-ink); }
.umb-hold { display: none; flex-direction: column; gap: 3px; margin-top: 6px; }
.umb-hold i { font-style: normal; font-size: .68rem; color: var(--ink-2); background: var(--mist); border-radius: 6px; padding: 2px 6px; }
.umb.open .umb-hold { display: flex; } .umb.open .umb-name { font-size: .78rem; }
.umb.wet { background: var(--red-tint); border-color: var(--red); animation: drip .8s; }
.umb.dry { background: var(--green-tint); border-color: var(--green); }
.storm .umb-grid { position: relative; }
.storm .umb-grid::after { content: ''; position: absolute; inset: -10px; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 14px, rgba(27,47,94,.12) 14px 16px); animation: rain .6s linear infinite; border-radius: 14px; }
@keyframes rain { from { background-position: 0 0; } to { background-position: -30px 60px; } }
@keyframes drip { 0% { transform: translateY(0); } 30% { transform: translateY(4px) rotate(-2deg); } 60% { transform: translateY(2px) rotate(2deg); } 100% { transform: none; } }

/* Course de 25 ans */
.race { display: grid; gap: 14px; }
.lane-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; } .lane-h b { font-family: var(--font-head); color: var(--navy-ink); } .lane-h span { font-size: .8rem; color: var(--muted); }
.track { height: 26px; border-radius: 13px; background: var(--mist); overflow: hidden; border: 1px solid var(--line); }
.runner { height: 100%; width: 4%; border-radius: 13px; transition: width .08s linear; }
.runner.ra { background: linear-gradient(90deg, var(--orange-light), var(--orange)); } .runner.rb { background: linear-gradient(90deg, #8FA3C8, var(--navy)); }
.lane-v { font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); margin-top: 4px; font-size: 1.05rem; }
.race-year { font-size: .85rem; color: var(--muted); } .race-year b { color: var(--navy-ink); }

/* Tenez bon */
.hold canvas { width: 100%; height: 220px; display: block; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.hold-news { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font-size: .95rem; color: var(--ink-2); } .hold-news b { font-family: var(--font-head); color: var(--navy-ink); white-space: nowrap; }
.hold-val { margin-top: 6px; font-size: .95rem; color: var(--ink-2); } .hold-val strong { font-family: var(--font-head); color: var(--navy-ink); font-size: 1.15rem; }
.hold-q { margin-top: 12px; } .hold-q p { font-weight: 600; color: var(--ink); }

/* Où est l'aiguille ? */
.cyc-dial { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 8px auto 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 38%, var(--mist) 38% 100%); border: 1px solid var(--line-2); }
.cyc-pt { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 3px solid var(--line-2); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: .2s; }
.cyc-pt span { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--navy-ink); line-height: 1; }
.cyc-pt em { font-style: normal; font-size: .5rem; color: var(--muted); line-height: 1.1; max-width: 48px; }
.cyc-pt.v-Calme { border-color: var(--green); } .cyc-pt.v-Vigilance { border-color: var(--amber); } .cyc-pt.v-Prudence { border-color: var(--orange); } .cyc-pt.v-Alerte { border-color: var(--red); }
.cyc-pt:hover { transform: scale(1.08); } .cyc-pt.good { background: var(--green-tint); border-color: var(--green); } .cyc-pt.bad { background: var(--red-tint); }
.cyc-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--sun); display: grid; place-items: center; } .cyc-center svg { width: 28px; height: 28px; }

/* Profil en 5 questions */
.plan-res { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.plan-res h4 { font-size: 1.4rem; margin: 8px 0 4px; }
.plan-list { display: grid; gap: 6px; margin: 12px 0; } .plan-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink-2); } .plan-list li i { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; } .plan-list li b { margin-left: auto; font-family: var(--font-head); color: var(--navy-ink); }

@media (max-width: 700px) {
  .match { grid-template-columns: 1fr; } .umb-grid { grid-template-columns: repeat(3, 1fr); } .plan-res { grid-template-columns: 1fr; } .plan-donut { max-width: 220px; margin: 0 auto; }
  .atelier-card { padding: 20px; } .at-head { grid-template-columns: 44px 1fr; gap: 12px; } .at-head img { width: 44px; height: 44px; }
}

/* ─── Leçon animée ───────────────────────────────────────────────── */
.lesson { margin: 26px 0 30px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-deep); }
.ls-stage { position: relative; aspect-ratio: 16 / 9; min-height: 300px; color: #fff; overflow: hidden; }
.ls-bg { position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg at 28% 60%, rgba(255,255,255,.05) 0 6deg, transparent 6deg 12deg), radial-gradient(ellipse at 30% 70%, rgba(244,123,32,.35), transparent 55%); }
.ls-helia { position: absolute; left: 0; bottom: 0; width: 34%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.ls-helia img { width: 100%; height: 94%; object-fit: cover; object-position: top center; border-radius: 20px 20px 0 0; transition: opacity .3s; }
.ls-content { position: absolute; left: 36%; right: 4%; top: 6%; bottom: 8%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.ls-text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.9vw, 1.45rem); line-height: 1.35; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); opacity: 0; transform: translateY(8px); }
.ls-text.in { animation: lsIn .5s .1s forwards; }
.ls-visual { opacity: 0; } .ls-visual.in { animation: lsIn .5s .35s forwards; }
@keyframes lsIn { to { opacity: 1; transform: none; } }
.ls-cover, .ls-end { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 24px; background: rgba(15,30,66,.72); backdrop-filter: blur(4px); text-align: left; z-index: 3; }
.ls-cover-txt h3, .ls-end h3 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.7rem); margin: 10px 0 6px; }
.ls-cover-txt p, .ls-end p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 420px; }
.ls-big { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(244,123,32,.45), 0 0 0 8px rgba(255,255,255,.12); flex-shrink: 0; transition: transform .2s; }
.ls-big:hover { transform: scale(1.06); } .ls-big svg { width: 40px; height: 40px; margin-left: 4px; }
.lesson.started .ls-cover { display: none; }
.ls-end { display: none; flex-direction: column; text-align: center; } .lesson.ended .ls-end { display: flex; } .ls-end .at-actions { justify-content: center; }
.ls-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--navy); }
.ls-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); transition: .2s; }
.ls-btn:hover { background: rgba(255,255,255,.2); } .ls-btn svg { width: 18px; height: 18px; } .ls-play { background: var(--orange); } .ls-play svg { margin-left: 2px; }
.ls-dots { flex: 1; display: flex; gap: 5px; }
.ls-dots button { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); transition: background .3s; }
.ls-dots button.on { background: var(--sun); }
.ls-count { color: rgba(255,255,255,.7); font-size: .78rem; font-family: var(--font-head); font-weight: 700; min-width: 40px; text-align: right; }
.ls-list { display: grid; gap: 8px; } .ls-list li { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; font-size: .95rem; opacity: 0; transform: translateX(12px); animation: lsIn .4s forwards; } .ls-list li svg { width: 18px; height: 18px; color: var(--sun); flex-shrink: 0; }
.ls-number { background: rgba(255,255,255,.1); border-radius: 16px; padding: 16px 20px; } .ls-number strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--sun); line-height: 1.1; } .ls-number span { font-size: .9rem; color: rgba(255,255,255,.8); }
.ls-bars { display: grid; gap: 10px; } .ls-bar > span { display: block; font-size: .85rem; margin-bottom: 4px; }
.ls-bars .ls-bar { display: block; padding: 0; background: none; } .ls-bars .ls-bar span { display: block; font-size: .85rem; margin-bottom: 4px; color: rgba(255,255,255,.9); }
.ls-bars .ls-bar i { display: block; height: 16px; border-radius: 8px; width: 0; animation: lsGrow .9s forwards; }
@keyframes lsGrow { to { width: var(--w); } }
.ls-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .ls-split div { background: rgba(255,255,255,.1); border-radius: 14px; padding: 14px; } .ls-split b { display: block; font-family: var(--font-head); color: var(--sun); margin-bottom: 4px; } .ls-split span { font-size: .88rem; color: rgba(255,255,255,.85); }
.ls-coins { display: flex; flex-wrap: wrap; gap: 8px; } .ls-coins i { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, #e0a100); color: #6b4a00; font-style: normal; font-weight: 800; display: grid; place-items: center; opacity: 0; transform: translateY(-14px); animation: lsIn .4s forwards; } .ls-cap { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 8px; }
.ls-umb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 320px; } .ls-umb i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; opacity: 0; animation: lsIn .4s forwards; } .ls-umb i svg { width: 60%; height: 60%; } .ls-umb i.wet { background: rgba(214,69,69,.45); color: #ffb3b3; }
.ls-compass { width: min(100%, 230px); } .ls-compass .cp-val { fill: #fff; } .ls-compass .cp-lbl, .ls-compass .cp-sub { fill: rgba(255,255,255,.8); } .ls-compass .cp-rose { fill: rgba(255,255,255,.12); } .ls-compass .compass > circle:first-of-type { stroke: rgba(255,255,255,.25); } .ls-compass .compass circle[fill="var(--mist)"] { fill: rgba(255,255,255,.06); } .ls-compass .compass circle[fill="#fff"] { fill: var(--navy); } .ls-compass .cp-num[fill="var(--navy-ink)"] { fill: #fff; }
.ls-chart { width: 100%; max-width: 360px; height: auto; } .ls-line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: lsDraw 1.6s .2s forwards; } .ls-line2 { stroke-width: 3; opacity: .6; } .ls-mark { opacity: 0; animation: lsIn .3s 1.6s forwards; }
@keyframes lsDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 700px) {
  .ls-stage { aspect-ratio: auto; min-height: 0; padding-bottom: 16px; }
  .ls-helia { position: relative; width: 100%; height: 130px; justify-content: flex-start; padding-left: 16px; } .ls-helia img { width: 96px; height: 120px; border-radius: 16px; }
  .ls-content { position: relative; left: 0; right: 0; top: 0; bottom: 0; padding: 0 16px; }
  .ls-cover, .ls-end { flex-direction: column; text-align: center; } .ls-cover-txt { text-align: center; }
  .ls-split { grid-template-columns: 1fr; }
}

/* Module : texte complet en repli */
.module-body { margin: 36px 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #fff; }
.module-body-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; flex-wrap: wrap; }
.module-body-head h2 { font-size: 1.15rem; }
.module-body-inner { display: none; padding: 0 24px 24px; }
.module-body.open .module-body-inner { display: block; animation: pageIn .35s; }
.module-body.open .module-body-head { border-bottom: 1px solid var(--line); }

/* ─── Défis ──────────────────────────────────────────────────────── */
.atelier-card.defi { border-color: var(--navy-soft); background: linear-gradient(180deg, #fff, var(--mist)); }
.atelier-card.defi .at-kicker { color: var(--navy); }
.live canvas { width: 100%; height: 200px; display: block; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.live-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.live-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .live-stat small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; } .live-stat strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-ink); }
.live-log { margin-top: 10px; font-size: .82rem; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; max-height: 70px; overflow: auto; }
.build-row { margin-bottom: 10px; } .build-row label { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-2); } .build-row label i { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; } .build-row label output { margin-left: auto; font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); } .build-row input { width: 100%; accent-color: var(--orange); }
.build-total { margin-top: 6px; font-size: .95rem; color: var(--ink-2); } .build-total b { font-family: var(--font-head); color: var(--green); }
.build-crise { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; } .build-crise > b { font-family: var(--font-head); color: var(--navy-ink); }
.build-bars { display: grid; gap: 10px; margin: 12px 0 8px; } .build-bars div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; } .build-bars span { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-2); } .build-bars i { display: block; height: 14px; border-radius: 7px; transition: width .6s; } .build-bars strong { font-family: var(--font-head); color: var(--navy-ink); }
.hunt-svg { width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; } .hunt-range { width: 100%; accent-color: var(--orange); margin-top: 8px; } .hunt-label { font-size: .9rem; color: var(--ink-2); margin-top: 4px; } .hunt-label b { font-family: var(--font-head); color: var(--navy-ink); }
.cal-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; height: 120px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px 4px; } .cal-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; } .cal-col i { display: block; width: 70%; background: linear-gradient(180deg, var(--orange-light), var(--orange)); border-radius: 4px 4px 0 0; } .cal-col span { font-size: .6rem; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; } .cal-m { border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: .15s; } .cal-m b { font-family: var(--font-head); font-size: .8rem; color: var(--navy-ink); } .cal-m span { font-size: .72rem; color: var(--muted); } .cal-m.on { border-color: var(--orange); background: var(--orange-tint); } .cal-m.on span { color: var(--orange-text); font-weight: 700; } .cal-m:disabled { opacity: .7; }
@media (max-width: 700px) { .live-row { grid-template-columns: 1fr 1fr; } .cal-grid { grid-template-columns: repeat(4, 1fr); } }
/* Priorité sur les styles d'article pour les textes de la leçon animée */
.article-body .lesson p, .lesson p { color: #fff; margin: 0; }
.article-body .lesson .ls-text { color: #fff; font-size: clamp(1rem, 1.9vw, 1.45rem); line-height: 1.35; margin: 0; }
.article-body .lesson .ls-cover-txt p, .article-body .lesson .ls-end p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }
.article-body .lesson .ls-cap { color: rgba(255,255,255,.8); font-size: .85rem; margin-top: 8px; }
.article-body .atelier-card p { margin-bottom: 0; }
.article-body .atelier-card .at-head p, .article-body .atelier-card .sort-expl { font-size: .97rem; }

/* ─── Profils : lecture qualitative ─────────────────────────────── */
.alloc-qual { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; margin-top: 28px; }
.levels { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.level { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.level-h b { display: block; font-family: var(--font-head); color: var(--navy-ink); font-size: .98rem; } .level-h span { font-size: .8rem; color: var(--muted); }
.level-bar { display: flex; gap: 4px; } .level-bar i { width: 22px; height: 10px; border-radius: 5px; background: var(--line); } .level-bar i.on { background: var(--c); }
.level strong { font-family: var(--font-head); font-size: .85rem; color: var(--navy-ink); min-width: 64px; text-align: right; }
.plan-res.one { grid-template-columns: 1fr; }
@media (max-width: 900px) { .alloc-qual { grid-template-columns: 1fr; } .level { grid-template-columns: 1fr auto; } .level strong { grid-column: 1 / -1; text-align: left; min-width: 0; } }

/* ─── Abonnements ───────────────────────────────────────────────── */
.pricing-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px solid var(--orange-light); background: var(--orange-tint); color: var(--ink); border-radius: 999px; padding: 12px 20px; font-size: .95rem; margin-bottom: 32px; }
.pricing-banner svg { width: 18px; height: 18px; color: var(--orange-text); flex-shrink: 0; } .pricing-banner a { color: var(--orange-text); font-weight: 700; }
.pricing-banner.ok { border-color: var(--green); background: var(--green-tint); } .pricing-banner.ok svg { color: var(--green); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 22px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; } .plan-price strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--orange-text); letter-spacing: -.02em; line-height: 1; } .plan-price span { color: var(--muted); font-size: .9rem; }
.plan-yearly { font-size: .78rem; color: var(--orange-text); font-weight: 600; margin-top: 4px; }
.plan-tagline { color: var(--ink-2); font-size: .9rem; margin: 8px 0 4px; }
.plan-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); padding: 4px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.plan-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.plan.soon .plan-status { color: var(--orange-text); } .plan.soon .plan-status i { background: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); animation: pulse 2s infinite; }
.plan-feat { display: grid; gap: 7px; flex: 1; margin-bottom: 16px; align-content: start; } .plan-feat li { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.4; } .plan-feat li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan.featured { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); padding-top: 58px; overflow: visible; }
.plan.featured h3, .plan.featured .plan-feat li, .plan.featured .plan-tagline { color: #fff; } .plan.featured .plan-price strong { color: var(--sun); } .plan.featured .plan-price span, .plan.featured .plan-yearly { color: rgba(255,255,255,.75); } .plan.featured .plan-status { border-color: rgba(255,255,255,.15); } .plan.featured .plan-feat li svg { color: var(--sun); }
.plan.featured .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.plan-tag { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(244,123,32,.35); white-space: nowrap; }
.plan.soon { opacity: .92; }
.code-row { display: flex; gap: 10px; flex-wrap: wrap; } .code-row input { flex: 1; min-width: 180px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: .97rem; text-transform: uppercase; letter-spacing: .06em; } .code-row input:focus { outline: none; border-color: var(--navy); }
.code-form .form-msg { margin-top: 10px; }
.modal-simple { grid-template-columns: 1fr; max-width: 560px; } .modal-simple .modal-body h3 { margin-top: 10px; } .modal-simple .newsletter-inline { margin-top: 10px; }
.modal-simple form.nl-form { display: flex; gap: 10px; flex-wrap: wrap; } .modal-simple form.nl-form input[type=email] { flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.modal-simple .privacy { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 22px 0 16px; }

/* ─── Module verrouillé ─────────────────────────────────────────── */
.lock-panel { background: linear-gradient(180deg, #fff, var(--mist)); border: 1.5px solid var(--navy-soft); border-radius: var(--r-lg); padding: 30px; margin: 28px 0 36px; box-shadow: var(--shadow); }
.lock-head { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.lock-head img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange-light); }
.lock-head h2 { font-size: 1.35rem; margin: 10px 0 8px; } .lock-head p { color: var(--ink-2); margin: 0; }
.lock-list { display: grid; gap: 8px; margin: 20px 0; } .lock-list li { display: flex; gap: 10px; color: var(--ink-2); font-size: .95rem; } .lock-list li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.lock-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lock-free { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .lock-free a { color: var(--navy); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .plan.featured { order: -1; } .lock-head { grid-template-columns: 1fr; } }

/* Sélecteur mensuel / annuel */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--mist); padding: 5px; border-radius: 999px; margin-bottom: 26px; flex-wrap: wrap; }
.billing-toggle .tab { padding: 10px 22px; }
.billing-hint { font-size: .82rem; color: var(--green); font-weight: 600; padding: 0 14px 0 10px; }
@media (max-width: 600px) { .billing-toggle { width: 100%; justify-content: center; } .billing-hint { width: 100%; text-align: center; padding: 6px 0 4px; } }

.sig-good { background: var(--green-tint); color: #157A50; } .sig-mid { background: var(--mist); color: var(--ink-2); } .sig-warn { background: var(--orange-tint); color: var(--orange-text); }

/* ─── Compte, connexion, favoris ────────────────────────────────── */
.nav-auth-btn { white-space: nowrap; }
.nav-user { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; transition: .2s; }
.nav-user:hover { border-color: var(--navy); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.nav-user-name { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--navy-ink); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-plan { font-size: .66rem; padding: 4px 8px; }
@media (max-width: 960px) { #navAuth .nav-user-name, #navAuth .nav-plan { display: none; } #navAuth .nav-user { padding: 3px; border: 0; } }
.auth-form { margin-top: 12px; } .auth-links { margin-top: 14px; font-size: .9rem; color: var(--ink-2); } .auth-links a { color: var(--orange-text); font-weight: 600; }
.auth-msg { background: var(--orange-tint); border-radius: 12px; padding: 12px 14px; color: var(--ink); font-size: .95rem; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--amber-tint); color: #6b5200; font-size: .82rem; } .demo-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.fav-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink-2); transition: .2s; }
.fav-btn svg { width: 18px; height: 18px; } .fav-btn:hover { border-color: var(--orange); color: var(--orange-text); }
.fav-btn.on { background: var(--orange-tint); border-color: var(--orange); color: var(--orange-text); } .fav-btn.on svg { fill: var(--orange); }
.fav-btn.small { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; justify-content: center; }
.mod-card { position: relative; }
.acc-plan.active { border-color: var(--green); }
.prog-list { display: grid; gap: 8px; margin-top: 16px; }
.prog-row { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; transition: .2s; }
.prog-row:hover { border-color: var(--navy); }
.prog-num { font-family: var(--font-head); font-weight: 800; color: var(--muted); font-size: .8rem; } .prog-title { font-weight: 600; color: var(--navy-ink); font-size: .95rem; }
.prog-dots { display: flex; gap: 6px; } .prog-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); } .prog-dots i.on { background: var(--green); }
@media (max-width: 600px) { .prog-row { grid-template-columns: 36px 1fr; } .prog-row .badge { grid-column: 2; justify-self: start; } }

/* ─── Contenus réservés : état grisé, lisible d'un coup d'œil ───── */
.badge-lock { background: #E9ECF3; color: #4A5875; border: 1px solid #D5DBE8; }
.legend-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.mod-card.locked { background: #F4F5F8; border: 1.5px dashed #C9D0DD; box-shadow: none; }
.mod-card.locked:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--navy-soft); }
.mod-card.locked .mod-icon { background: #E3E7EF; color: #7C879E; }
.mod-card.locked h3 { color: #5B6B87; } .mod-card.locked p { color: #8A94A8; }
.mod-card.locked .link-arrow { color: var(--navy); }
.mod-card.locked .fav-btn { opacity: .7; }
.side-card ul li.locked { color: #9AA3B5; } .side-card ul li.locked a { color: #9AA3B5; }
.lock-mini { display: inline-flex; vertical-align: middle; color: #9AA3B5; } .lock-mini svg { width: 13px; height: 13px; }
.article-nav a.locked { opacity: .65; } .article-nav a.locked small { color: #4A5875; }
.article-head.locked { background: #EEF1F6; }
.prog-row.locked { background: #F4F5F8; border-style: dashed; } .prog-row.locked .prog-title { color: #8A94A8; }

/* ─── Tableau comparatif des formules ───────────────────────────── */
.cmp-wrap { margin-top: 8px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; }
table.cmp thead th { padding: 18px 14px; font-family: var(--font-head); font-size: 1rem; color: var(--navy-ink); text-align: center; border-bottom: 2px solid var(--line); vertical-align: bottom; }
table.cmp thead th small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--muted); margin-top: 4px; }
table.cmp thead th:first-child { width: 38%; }
table.cmp tbody th[scope=row] { text-align: left; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: 13px 18px; border-bottom: 1px solid var(--line); }
table.cmp td { text-align: center; padding: 13px 10px; border-bottom: 1px solid var(--line); }
table.cmp tr.cmp-group th { text-align: left; background: var(--mist); font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding: 10px 18px; }
table.cmp .cmp-main { background: rgba(244,123,32,.07); }
table.cmp thead th.cmp-main { color: var(--orange-text); border-bottom-color: var(--orange); }
.cmp-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: #157A50; } .cmp-yes svg { width: 15px; height: 15px; }
.cmp-no { color: #B8C0D4; font-weight: 700; } .cmp-txt { font-size: .85rem; color: var(--ink-2); }

/* ─── Market Trends ─────────────────────────────────────────────── */
.mt-section .section-title { color: #fff; } .mt-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mt-sectors { display: grid; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 18px; }
.mt-sector { display: grid; grid-template-columns: 30px minmax(180px, 1.2fr) 2fr 70px; gap: 14px; align-items: center; padding: 6px 4px; }
.mt-rank { font-family: var(--font-head); font-weight: 800; color: rgba(255,255,255,.5); font-size: .85rem; }
.mt-sname strong { display: block; color: #fff; font-family: var(--font-head); font-size: .98rem; } .mt-sname em { font-style: normal; font-size: .8rem; color: rgba(255,255,255,.65); }
.mt-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; } .mt-bar i { display: block; height: 100%; border-radius: 6px; }
.mt-bar i.hot { background: linear-gradient(90deg, var(--orange-light), var(--orange)); } .mt-bar i.mid { background: linear-gradient(90deg, #cfd8ea, #8FA3C8); } .mt-bar i.cold { background: linear-gradient(90deg, #7fb3ff, var(--blue)); }
.mt-score { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; font-family: var(--font-head); font-weight: 800; color: #fff; } .mt-score svg { width: 16px; height: 16px; color: var(--sun); }
.mt-companies { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.mt-col { background: #fff; border-radius: var(--r-lg); padding: 22px; color: var(--ink); }
.mt-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 12px; } .mt-col.hot h3 { color: var(--orange-text); } .mt-col.cold h3 { color: #2559B3; } .mt-col h3 svg { width: 20px; height: 20px; }
.mt-col li { padding: 10px 0; border-top: 1px solid var(--line); } .mt-col li:first-child { border-top: 0; }
.mt-col li div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .mt-col li strong { font-family: var(--font-head); color: var(--navy-ink); }
.mt-ticker { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; background: var(--mist); color: var(--ink-2); padding: 2px 6px; border-radius: 6px; } .mt-col li em { font-style: normal; font-size: .78rem; color: var(--muted); margin-left: auto; }
.mt-col li p { font-size: .88rem; color: var(--ink-2); margin-top: 2px; }
.mt-disc { margin-top: 18px; font-size: .82rem; color: rgba(255,255,255,.6); }
/* L'essentiel d'abord, les 34 familles derrière un « + », filtre par groupe (14/10/2026) */
.mt-ess-h { margin: 6px 0 0; font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.mt-sector[hidden] { display: none; }
details.mt-more { margin-top: 14px; scroll-margin-top: calc(var(--nav-h) + 16px); } details.mt-more > summary em { font-style: normal; font-weight: 500; font-size: .82rem; color: rgba(255,255,255,.6); } details.mt-more[open] > summary em { display: none; }
.mt-panel details.more > summary, .mt-panel .mt-fold-btn { color: var(--sun); } .mt-panel .more-body { color: rgba(255,255,255,.82); }
.mt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.mt-pill { font: inherit; font-family: var(--font-head); font-weight: 700; font-size: .82rem; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: rgba(255,255,255,.82); cursor: pointer; } .mt-pill small { font-weight: 500; opacity: .75; margin-left: 2px; } .mt-pill.on { background: var(--orange); border-color: var(--orange); color: var(--navy-ink); } .mt-pill.on small { opacity: 1; } .mt-pill:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.mt-fold-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--sun); background: none; border: 0; padding: 6px 0; cursor: pointer; } .mt-fold-btn .plus { width: 22px; height: 22px; } .mt-fold-btn .plus::after { display: none; } .mt-fold-btn .plus::before { width: 9px; }
.mt-chg { font-weight: 700; white-space: nowrap; } .mt-chg.pos { color: #9BE7BC; } .mt-chg.neg { color: #FFB4B4; } .mt-chg.flat { color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .mt-sector { grid-template-columns: 24px 1fr 56px; } .mt-bar { grid-column: 2 / -1; order: 3; } .mt-companies { grid-template-columns: 1fr; } .mt-badges { justify-content: flex-start; } }
/* Lecture hebdomadaire de la Boussole : queue du classement, titres de la semaine, décomposition de l'indice, provenance.
   Les mêmes blocs servent sur la page Boussole (section marine) et dans le corps d'une analyse (panneau marine .mt-panel). */
.mt-sname em { display: block; line-height: 1.4; margin-top: 2px; }
.mt-sub { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--sun); margin: 12px 4px 2px; }
.mt-h3 { font-size: 1.3rem; margin: 40px 0 6px; }
.st-lead { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 12px; }
.mt-col li.st { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; }
.mt-col li.st .st-chg { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; white-space: nowrap; }
.mt-col.hot li.st .st-chg { color: var(--orange-text); } .mt-col.cold li.st .st-chg { color: var(--navy); }
.mt-col li.st .st-main { display: block; min-width: 0; }
.mt-col li.st .st-main strong { display: block; }
.mt-col li.st .st-main > span { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.mt-col li.st .st-phase { display: block; font-style: normal; color: var(--ink-2); margin: 1px 0 0; }
/* Visiteur sans la formule La Boussole : squelette flouté (aucune donnée réelle) et encart d'abonnement */
.mt-companies.locked { display: block; min-height: 360px; }
.mt-companies.locked > div:first-child { filter: blur(6px); pointer-events: none; user-select: none; opacity: .75; }
.mt-sector.ph .mt-sname strong, .mt-sector.ph .mt-sname em, .mt-sector.ph .mt-score { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.22); }
.mt-sector.ph .mt-sname strong { width: 46%; margin-bottom: 7px; } .mt-sector.ph .mt-sname em { width: 70%; height: 9px; } .mt-sector.ph .mt-score { width: 34px; margin-left: auto; }
.mt-lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.mt-lock > div { background: rgba(15,30,66,.94); color: #fff; border-radius: var(--r-lg); padding: 28px; max-width: 480px; box-shadow: var(--shadow-lg); }
.mt-lock svg { width: 30px; height: 30px; color: var(--sun); } .mt-lock h3 { color: #fff; margin: 10px 0 8px; } .mt-lock p { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; margin-bottom: 14px; }
.mt-lock.inline { position: static; padding: 0; } .mt-lock.inline > div { max-width: none; box-shadow: none; }
.mt-panel-lock { padding: 0; background: transparent; } .mt-panel-lock .mt-lock.inline > div { border-radius: var(--r-lg); }
.wk-card.wk-locked { padding: 0; background: transparent; border: 0; box-shadow: none; }
.mt-cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 28px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); background: rgba(255,255,255,.05); }
.mt-cta p { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: .95rem; max-width: 660px; }
.mt-cta p svg { width: 20px; height: 20px; color: var(--sun); flex-shrink: 0; margin-top: 2px; }
.mt-panel { background: var(--navy-deep); border-radius: var(--r-lg); padding: 22px; margin: 8px 0 18px; }
.mt-panel .mt-sector { grid-template-columns: 24px minmax(0, 1fr) 56px; row-gap: 6px; } .mt-panel .mt-bar { grid-column: 2 / -1; order: 3; }
.article-body .mt-panel p.mt-disc { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.6; margin: 14px 0 0; }
.article-body .mt-panel p.st-lead { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0 0 12px; }
.article-body .mt-panel p.mt-sub { color: var(--sun); font-size: .9rem; line-height: 1.4; margin: 12px 4px 2px; }
.article-body .mt-panel p.mt-ess-h { color: rgba(255,255,255,.55); font-size: .74rem; line-height: 1.4; margin: 6px 0 0; }
.article-body .mt-panel .mt-companies { margin-top: 16px; }
.mv-card { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 6px 24px 20px; box-shadow: var(--shadow-sm); margin: 8px 0 18px; }
.wk-card .mv-card { border: 0; box-shadow: none; padding: 0; margin: 0; }
.mv-card p.mv-lead { font-size: .96rem; line-height: 1.6; color: var(--ink-2); margin: 14px 0 10px; }
.wk-card .mv-card p.mv-lead { margin-top: 0; }
.mv-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(80px, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.mv-lbl strong { display: block; font-family: var(--font-head); color: var(--navy-ink); font-size: 1.02rem; }
.mv-lbl span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mv-row.total .mv-lbl strong { color: var(--orange-text); }
.mv-bar { position: relative; height: 14px; }
.mv-bar::before { content: ''; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--navy-ink); border-radius: 1px; }
.mv-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.mv-bar i.pos { left: 50%; background: var(--orange); } .mv-bar i.neg { right: 50%; background: var(--navy-soft); }
.mv-val { font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); font-size: 1.05rem; white-space: nowrap; min-width: 84px; text-align: right; }
.mv-card p.mv-concl { font-family: var(--font-head); font-weight: 800; color: var(--navy-ink); font-size: 1.06rem; line-height: 1.45; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.mv-card p.mv-note { font-size: .84rem; color: var(--muted); line-height: 1.6; border-left: 3px solid var(--line-2); padding-left: 12px; margin: 12px 0 0; }
.wk-grid.wk-grid-2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.article-body p.fy-note { font-size: .86rem; color: var(--muted); line-height: 1.6; border-left: 3px solid var(--line-2); padding-left: 12px; margin: 14px 0 0; }
.state-note { font-size: .84rem; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.src-card { background: var(--mist); border-radius: var(--r-lg); padding: 18px 22px; margin: 28px 0 0; }
.src-card b { display: block; font-family: var(--font-head); color: var(--navy-ink); margin-bottom: 6px; }
.article-body .src-card p { font-size: .9rem; line-height: 1.6; margin: 0 0 6px; } .article-body .src-card p:last-child { margin: 0; }
@media (max-width: 900px) { .wk-grid.wk-grid-2 { grid-template-columns: 1fr; } .mt-panel { padding: 14px; } .mt-panel .mt-sectors { padding: 12px; } }
@media (max-width: 560px) { .mv-row { grid-template-columns: minmax(0, 1fr) auto; } .mv-bar { grid-column: 1 / -1; order: 3; } .mv-card { padding: 4px 16px 16px; } .mt-col li.st { grid-template-columns: 78px minmax(0, 1fr); gap: 10px; } .mt-col li.st .st-chg { font-size: 1rem; } }

/* ─── Bascule de langue ─────────────────────────────────────────── */
.lang-switch { display: inline-flex; gap: 2px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .06em; padding: 7px 11px; border-radius: 999px; color: var(--muted); min-height: 32px; }
.lang-switch button.active { background: #fff; color: var(--navy-ink); box-shadow: var(--shadow-sm); }
@media (max-width: 520px) {
  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-right { gap: 6px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-name { font-size: 1.08rem; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 6px 8px; font-size: .68rem; min-height: 30px; }
  /* Trois éditions (FR · EN · US, 26/09/2026) : un cran de plus serré, pour que l'en-tête tienne à 360 px. */
  .lang-switch.three button { padding: 6px 6px; }
}
@media (max-width: 380px) { .brand-name { font-size: 1rem; } .brand svg, .brand img { width: 34px; height: 34px; } }

/* ─── Formules : trois cartes strictement identiques (largeur, hauteur, lignes alignées) ─── */
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan, .plan.featured { padding: 44px 22px 22px; min-width: 0; }
.plan-yearly { min-height: 2.6em; line-height: 1.4; }
.plan-tagline { min-height: 2.9em; line-height: 1.45; margin: 8px 0 4px; }
.plan .btn-block { white-space: normal; line-height: 1.3; min-height: 48px; }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .plan, .plan.featured { padding: 58px 24px 28px; }
  .plan-yearly, .plan-tagline { min-height: 0; }
}
.plan h3, .plan.featured h3 { margin-top: 0; }
.plan .btn-block { font-size: .9rem; padding-left: 12px; padding-right: 12px; gap: 8px; }

/* ─── Boussole : la lecture de la semaine (ancienne page « La Semaine », fusionnée) ─── */
.wk-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.wk-top h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 14px 0 12px; }
.wk-top .summary { font-size: 1.05rem; line-height: 1.75; color: var(--ink-2); }
.wk-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.wk-helia { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.wk-helia img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mist); }
.wk-helia h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 6px; }
.wk-helia p { font-size: .98rem; line-height: 1.7; color: var(--ink-2); font-style: italic; }
.wk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.wk-card { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.wk-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 14px; }
.wk-card h3 svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }
.wk-card ul { display: grid; gap: 12px; }
.wk-card li { position: relative; padding-left: 18px; font-size: .94rem; line-height: 1.7; color: var(--ink-2); }
.wk-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.wk-card li.more { display: none; } .wk-card.open li.more { display: block; }
.wk-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.wk-archive { margin-top: 44px; }
.wk-archive h3 { font-size: 1.3rem; margin-bottom: 16px; }
@media (max-width: 900px) { .wk-top { grid-template-columns: 1fr; gap: 22px; } .wk-grid { grid-template-columns: 1fr; } }

/* ─── Lecture progressive : l'essentiel d'abord, le détail derrière un « + » ─────── */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.plus { width: 26px; height: 26px; border-radius: 50%; border: 1.8px solid currentColor; display: inline-grid; place-items: center; flex-shrink: 0; position: relative; transition: transform .25s ease, background .2s ease; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.plus::before { width: 11px; height: 2px; } .plus::after { width: 2px; height: 11px; transition: transform .25s ease, opacity .2s ease; }
details[open] > summary .plus::after { transform: rotate(90deg); opacity: 0; }
/* lien « + En savoir plus » sous un texte court */
details.more { margin-top: 12px; }
details.more > summary { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--orange-text); padding: 6px 0; border-radius: 8px; }
details.more > summary:hover { opacity: .85; }
details.more > summary .plus { width: 22px; height: 22px; } details.more > summary .plus::before { width: 9px; } details.more > summary .plus::after { height: 9px; }
details.more .less { display: none; } details.more[open] .less { display: inline; } details.more[open] .lbl { display: none; }
.more-body { margin-top: 10px; color: var(--ink-2); line-height: 1.75; animation: foldIn .3s ease; }
.more-body p + p { margin-top: 10px; }
.page-head-navy details.more > summary, .section-navy details.more > summary, .plan.featured details.more > summary { color: var(--sun); }
.page-head-navy .more-body, .section-navy .more-body { color: rgba(255,255,255,.82); }
/* bloc repliable : un titre, une phrase, un « + » */
.folds { display: grid; gap: 14px; }
details.fold { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease; }
details.fold:hover { border-color: var(--orange); }
details.fold[open] { box-shadow: var(--shadow-md, var(--shadow-sm)); border-color: var(--line-2); }
details.fold > summary { display: grid; grid-template-columns: 52px minmax(0, 1fr) 30px; gap: 18px; align-items: center; padding: 20px 26px; color: var(--navy-ink); }
details.fold > summary .fold-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--orange-tint); color: var(--orange-text); display: grid; place-items: center; }
details.fold > summary .fold-ic svg { width: 24px; height: 24px; }
details.fold > summary h3 { font-size: 1.12rem; margin: 0 0 2px; }
details.fold > summary p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.5; }
details.fold > summary .plus { color: var(--orange-text); }
details.fold[open] > summary { border-bottom: 1px solid var(--line-2); }
.fold-body { padding: 30px 26px 34px; animation: foldIn .35s ease; }
.fold-body > .section-head { margin-bottom: 24px; }
@keyframes foldIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 12px; }
@media (max-width: 640px) {
  details.fold > summary { grid-template-columns: 40px minmax(0, 1fr) 26px; gap: 12px; padding: 16px; }
  details.fold > summary .fold-ic { width: 40px; height: 40px; border-radius: 12px; } details.fold > summary .fold-ic svg { width: 20px; height: 20px; }
  details.fold > summary h3 { font-size: 1rem; } details.fold > summary p { font-size: .86rem; }
  .fold-body { padding: 20px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { .more-body, .fold-body { animation: none; } .plus, .plus::after { transition: none; } }
@media print { details.fold > .fold-body, details.more > .more-body { display: block !important; } }
.hero details.more > summary { color: var(--sun); }
.hero .more-body { color: rgba(255,255,255,.85); max-width: 560px; }
.fold-lead { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-bottom: 22px; max-width: 760px; }
.fold-body .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fold-body .why-card { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 20px; box-shadow: none; background: var(--mist); border: 0; }
.fold-body .why-card h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--navy-ink); } .fold-body .why-card p { font-size: .92rem; color: var(--ink-2); line-height: 1.65; }
.fold-body .steps { margin-top: 0; }
.fold-body .table-wrap { margin-top: 0; }
.mt-section details.more { margin-top: 18px; } .mt-section .more-body { margin-top: 14px; }
@media (max-width: 700px) { .fold-body .why-grid { grid-template-columns: 1fr; } }
.hero-lead:has(+ details.more) { margin-bottom: 4px; } .hero details.more { margin: 0 0 26px; }
.section-lead:has(+ details.more) { margin-bottom: 0; }
#semaine details.more { margin-top: 22px; } #semaine .more-body { margin-top: 16px; } #semaine .wk-grid { margin-top: 0; } #semaine .wk-actions { margin-top: 20px; }

/* ─── Accueil sur mobile : moins de hauteur, on fait défiler les épisodes sur le côté ─── */
@media (max-width: 640px) {
  #page-accueil .ep-strip { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  #page-accueil .ep-strip::-webkit-scrollbar { display: none; }
  #page-accueil .ep-strip .ep-card { flex: 0 0 74%; scroll-snap-align: center; }
  #page-accueil .mod-grid .mod-card:nth-child(n+3) { display: none; }
  #page-accueil .pillar { padding: 22px; } #page-accueil .pillar .num { display: none; }
}
@media (max-width: 1180px) { .nav-right .nav-live { display: none; } }
@media (max-width: 1400px) { .nav-right .nav-signup { display: none; } } /* en largeur moyenne, la création de compte reste accessible par « Connexion » (lien dans la fenêtre) et par le menu mobile */
@media (max-width: 1500px) { html[lang="fr"] .nav-right .nav-signup { display: none; } } /* libellés français plus longs : le bouton a besoin de 100 px de plus */

/* ─── Accueil : l'offre en trois étapes ─────────────────────────── */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.offer-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.offer-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow-lg, var(--shadow-sm)); }
.offer-card.main { border-color: var(--orange); }
.offer-num { position: absolute; top: -20px; left: 28px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-deep, var(--orange))); box-shadow: 0 6px 16px rgba(244,123,32,.35); }
.offer-tag { font-family: var(--font-head); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.offer-card h3 { font-size: 1.55rem; margin: 6px 0 10px; color: var(--navy-ink); }
.offer-card > p { font-size: 1rem; line-height: 1.7; color: var(--ink-2); min-height: 6.8em; }
.offer-card ul { display: grid; gap: 9px; margin: 16px 0 20px; flex: 1; align-content: start; }
.offer-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); line-height: 1.5; }
.offer-card li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.offer-plan { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; padding: 14px 0; margin-bottom: 16px; border-top: 1px solid var(--line-2); min-height: 74px; align-content: center; }
.offer-plan span { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--muted); }
.offer-plan strong { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy-ink); margin-left: auto; }
.offer-plan strong small { font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.offer-plan em { flex-basis: 100%; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); }
.offer-plan em.ok { color: var(--green); }
.offer-login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.offer-login svg { width: 15px; height: 15px; } .offer-login:hover { color: var(--orange-text); }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 18px 24px; border-radius: var(--r); background: var(--mist); }
.offer-foot p { color: var(--ink-2); font-size: .98rem; } .offer-foot strong { color: var(--navy-ink); font-family: var(--font-head); }
/* ─── Bandeau « Comment ça marche » (Académie, Boussole, Abonnements) ─── */
.how-strip { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 30px 32px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.how-strip-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 8px 0 22px; }
.how-steps { list-style: none; display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; }
.how-steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.how-num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-text); font-family: var(--font-head); font-weight: 800; }
.how-steps h3 { font-size: 1.04rem; margin-bottom: 4px; } .how-steps p { font-size: .93rem; line-height: 1.6; color: var(--ink-2); }
.how-learn { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.how-learn h3 { font-size: 1rem; margin-bottom: 12px; }
.how-learn ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.how-learn li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); } .how-learn li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.how-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: .9rem; color: var(--muted); } .how-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--orange-text); }
#comprendre .how-strip { margin-bottom: 56px; }
#page-abonnements .how-strip { margin-top: 48px; margin-bottom: 0; }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; } .offer-card > p { min-height: 0; }
  .how-steps, .how-steps.n4 { grid-template-columns: minmax(0, 1fr); } .how-learn ul { grid-template-columns: minmax(0, 1fr); }
  .how-strip { padding: 22px 18px; }
}

/* ─── Formules : prix mensuel barré + prix « si annualisé » ─────── */
.plan-price { flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; min-height: 2.7rem; }
.plan-price strong { font-size: 2rem; }
.plan-was { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
.plan-per { display: inline-flex; flex-direction: column; line-height: 1.15; gap: 1px; }
.plan-per span { color: var(--muted); font-size: .85rem; }
.plan-per em { font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: .78rem; color: var(--orange-text); white-space: nowrap; }
.plan.featured .plan-was { color: rgba(255,255,255,.62); text-decoration-color: var(--sun); }
.plan.featured .plan-per span { color: rgba(255,255,255,.75); } .plan.featured .plan-per em { color: var(--sun); }
.plan-yearly { min-height: 2.6em; }
@media (min-width: 901px) and (max-width: 1180px) { .plan-was { flex-basis: 100%; } .plan-price { min-height: 4.6rem; } }

.foot-edition { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 0 4px; font-size: .84rem; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; }
.foot-edition .badge { background: rgba(255,255,255,.12); color: #fff; }

/* Accueil : cartes d'étapes sans prix */
.offer-plan { min-height: 0; padding: 14px 0 4px; align-items: center; }
.offer-plan em { flex-basis: auto; margin-left: auto; }

/* ─── Accueil : les trois approches dès l'arrivée ───────────────── */
.hero-lead { margin-bottom: 22px; }
.hero-actions { margin-bottom: 26px; }
.hero-approaches { display: grid; gap: 10px; max-width: 580px; margin: 0 0 18px; padding: 0; list-style: none; }
.hero-approaches a { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-approaches a:hover { background: rgba(255,255,255,.13); border-color: var(--sun); transform: translateX(4px); }
.ha-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(244,123,32,.22); color: var(--orange-light); }
.ha-ic svg { width: 21px; height: 21px; }
.ha-txt { display: grid; gap: 2px; min-width: 0; }
.ha-txt b { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ha-txt b i { font-style: normal; font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.ha-txt > span { font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.8); }
.hero-note { display: flex; gap: 10px; align-items: flex-start; max-width: 580px; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.78); }
.hero-note svg { width: 17px; height: 17px; color: var(--sun); flex-shrink: 0; margin-top: 2px; }
.indep-card h3 { font-size: 1.12rem; margin: 14px 0 8px; } .indep-card p { font-size: .95rem; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 640px) { .hero-approaches a { padding: 11px 13px; grid-template-columns: 36px 1fr; gap: 11px; } .ha-ic { width: 36px; height: 36px; } .ha-txt > span { font-size: .85rem; } }

.hero h1 { margin-bottom: 16px; } .hero-kicker { margin-bottom: 18px; }
.hero-approaches { gap: 8px; } .hero-approaches a { padding: 10px 14px; }
@media (min-width: 961px) and (max-height: 900px) { .hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); } }
/* Mobile : le message d'abord, l'image ensuite */
@media (max-width: 960px) {
  .hero { padding: 34px 0 72px; }
  .hero .hero-copy { order: 1; } .hero .hero-visual { order: 2; margin-top: 34px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-lead { font-size: 1.04rem; }
}

/* Apostrophe typographique resserrée dans la police des titres (voir fixApos dans app.js) */
.apo { margin-right: -.08em; }
/* Accueil : le bandeau de la Boussole n'est plus collé sous le haut de page, il reprend un espacement normal */
/* (sur ordinateur, le bandeau garde son léger chevauchement d'origine ; sur mobile, où les marges des sections sont plus courtes, il passait sous la carte du dessus) */
@media (max-width: 960px) { #page-accueil .baro-strip-wrap { margin-top: 0; padding-top: 40px; } }

/* ─── Boussole sensible au mouvement du téléphone ───────────────── */
.compass { transition: transform .18s linear; transform-origin: 50% 50%; will-change: transform; }
.motion-hint { display: none; margin-top: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); text-align: center; }
.motion-ask .gauge-wrap .motion-hint { display: block; }
.motion-ask .gauge-wrap { cursor: pointer; }
.featured-side .motion-hint, .page-head-navy .motion-hint { color: rgba(255,255,255,.7); }
@media (prefers-reduced-motion: reduce) { .compass { transition: none; } .motion-hint { display: none !important; } }

/* ─── Grille tarifaire à quatre paliers (édition américaine) et présentation de l'outil analytique ─── */
.pricing-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pricing-grid.cols-4 .plan, .pricing-grid.cols-4 .plan.featured { padding: 52px 22px 26px; }
.pricing-grid.cols-4 .plan-price strong { font-size: 2.1rem; }
.plan.free { background: var(--cream, #FBF7F0); }
@media (max-width: 1100px) { .pricing-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pricing-grid.cols-4 { grid-template-columns: minmax(0, 1fr); } }
.tool-card { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 36px 32px; margin-top: 36px; }
.tool-card h2 { margin: 6px 0 10px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0 18px; }
.tool-pt { background: var(--mist); border-radius: var(--r, 14px); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.tool-pt b { font-family: var(--font-head); }
.tool-pt span { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.tool-note { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .92rem; line-height: 1.5; margin: 8px 0; }
.tool-note svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--orange-deep); }
.tool-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 640px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } .tool-card { padding: 26px 20px; } }

/* ─── Sélecteur par région (28/09/2026) : [US] US | [UE] Europe, et FR · ENG sous l'Europe ─── */
.lang-switch.regions { align-items: stretch; gap: 3px; padding: 3px; border-radius: 14px; }
.lang-switch.regions button { min-height: 0; }
.lang-switch.regions .reg { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 11px; white-space: nowrap; }
.lang-switch.regions .reg-eu { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 3px 6px; border-radius: 11px; }
.lang-switch.regions .reg-eu .reg { padding: 1px 4px; background: none; box-shadow: none; }
.lang-switch.regions .reg-eu.on { background: #fff; box-shadow: var(--shadow-sm); }
.lang-switch.regions .reg-eu.on .reg { color: var(--navy-ink); }
.lang-switch.regions .reg-sub { display: inline-flex; gap: 2px; }
.lang-switch.regions .reg-sub button { padding: 1px 7px; font-size: .6rem; border-radius: 6px; }
.lang-switch.regions .reg-sub button.active { background: var(--navy-ink); color: #fff; box-shadow: none; }
.lang-switch.regions .flag { width: 17px; height: 11px; flex: none; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(11,23,49,.25); }
/* L'en-tête respire (28/09/2026) : le sélecteur par région est plus large que « FR | EN | US ». Avant lui,
   l'en-tête débordait déjà entre 1 041 et ~1 330 px (mesuré sur le site en ligne) : on l'élargit, on le resserre
   plus tôt, et sous 1 200 px les régions ne gardent que leurs drapeaux (le titre de chaque bouton les nomme). */
.nav-inner { max-width: 1500px; } /* 2 octobre 2026 : « Connexion » + « Inscription gratuite » + « Market Trends » tiennent en français à partir de 1 500 px */
@media (max-width: 1600px) { .nav-links a { padding: 10px 10px; font-size: .88rem; } .brand-tag { display: none; } }
@media (max-width: 1200px) { .lang-switch.regions .reg span { display: none; } .lang-switch.regions .reg { padding: 5px 8px; } }
@media (max-width: 520px) {
  .lang-switch.regions .reg { padding: 5px 7px; gap: 4px; }
  .lang-switch.regions .reg-eu .reg span { display: none; }
  .lang-switch.regions .reg-sub button { padding: 1px 5px; }
}

/* ─── Réseaux sociaux et lecteur vidéo ─── */
.follow-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--r-lg); padding: 28px 32px; margin-top: 32px; overflow: hidden; }
.follow-card img { width: 150px; height: 150px; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); background: var(--navy-deep); }
.follow-card .kicker { color: var(--sun); }
.follow-card h2 { color: #fff; margin: 4px 0 8px; font-size: 1.45rem; }
.follow-card p { color: rgba(255,255,255,.85); max-width: 60ch; }
.follow-card .small.muted { color: rgba(255,255,255,.6); margin-top: 8px; }
.follow-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.follow-card .btn-navy { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.follow-card.compact { margin-top: 28px; padding: 22px 26px; grid-template-columns: 110px 1fr; }
.follow-card.compact img { width: 110px; height: 110px; }
.follow-card.compact h2 { font-size: 1.25rem; }
@media (max-width: 640px) { .follow-card, .follow-card.compact { grid-template-columns: 1fr; text-align: center; justify-items: center; } .follow-actions { justify-content: center; } }
.modal-box.modal-video { grid-template-columns: minmax(0, 360px) 1fr; max-width: 920px; }
.modal-player { background: var(--navy-deep); display: flex; align-items: center; justify-content: center; padding: 14px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.player.portrait { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; }
.player iframe, .player video, .player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.player-start { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.player-start .play, .yt-thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.player-start .play span, .yt-thumb .play span { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.player-start:hover .play span, .yt-card:hover .play span { transform: scale(1.08); }
.player-start .play svg, .yt-thumb .play svg { width: 28px; height: 28px; }
.player-start:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
@media (max-width: 780px) { .modal-box.modal-video { grid-template-columns: minmax(0, 1fr); } .player.portrait { max-height: 62vh; } }
.latest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.yt-card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.yt-card:focus-visible { outline: 3px solid var(--orange); }
.yt-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--navy-deep); }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.yt-body small { color: var(--ink-3, #6b7280); font-size: .8rem; }
.yt-body b { font-family: var(--font-head); font-size: .98rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 1000px) { .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .latest-grid { grid-template-columns: minmax(0, 1fr); } }

/* Économie annuelle en montant (3 octobre 2026) ; pastille quand trois mois sont gagnés */
.plan-save { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--green); }
.plan-save-pill { background: var(--green-tint); color: #157A50; border-radius: 999px; padding: 2px 9px; font-size: .76rem; }
.plan.featured .plan-save { color: #9FE3C4; } .plan.featured .plan-save-pill { background: rgba(159,227,196,.18); color: #BFF0D8; }

/* « Mes allocations » (3 octobre 2026) : aucune couleur sur les lignes de la personne, une seule teinte neutre pour la matrice */
.al-wrap { display: grid; gap: 22px; }
.al-delta { background: var(--orange-tint); border-radius: 14px; padding: 14px 18px; } .al-delta p { margin: 0 0 6px; color: var(--ink); }
.al-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .al-list-head h2 { margin: 0; }
.al-grid { align-items: stretch; } .al-card.sel { border-color: var(--navy); }
.al-big { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--navy); margin: 6px 0 2px; line-height: 1; } .al-big span { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.al-editor .ck-rows, .al-rows { display: grid; gap: 8px; margin-top: 10px; }
.al-editor .ck-row { grid-template-columns: minmax(0, 1fr) 150px 36px; align-items: start; }
.al-editor .ck-field input, .al-editor .al-name { width: 100%; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; font: inherit; font-size: .98rem; color: var(--ink); background: #fff; }
.al-editor .ck-ticker input { text-transform: uppercase; } .al-editor .ck-weight { position: relative; display: flex; flex-direction: column; } .al-editor .ck-unit { position: absolute; right: 12px; top: 22px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.al-editor .ck-sub-pct { font-size: .74rem; color: var(--muted); min-height: 1em; margin-top: 3px; }
.al-editor .ck-del { width: 36px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; border-radius: 10px; cursor: pointer; }
.al-editor .ck-modes { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; } .ck-seg { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 3px; background: #fff; } .ck-seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink-2); cursor: pointer; } .ck-seg button.on { background: var(--navy); color: #fff; }
.al-editor .ck-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; } .ck-link { background: none; border: 0; padding: 0; font: inherit; color: var(--orange-text); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.al-live { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.al-lines { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; } .al-lines li { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 10px; font-size: .92rem; padding: 8px 10px; background: var(--cream, #FFF9F3); border: 1px solid var(--line); border-radius: 10px; } .al-lines b { font-family: var(--font-head); color: var(--navy); } .al-lines span { color: var(--ink-2); } .al-lines em { font-style: normal; color: var(--muted); font-size: .84rem; }
.al-buckets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; } .al-buckets h4 { margin: 0 0 6px; } .al-buckets ul { list-style: none; padding: 0; margin: 0; } .al-buckets li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 4px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); } .al-buckets b { color: var(--navy); }
.al-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; } .al-detail h4 { margin: 18px 0 8px; }
.al-matrix { border-collapse: separate; border-spacing: 3px; font-size: .82rem; } .al-matrix th { font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 4px 6px; text-align: center; font-size: .78rem; } .al-matrix tbody th { text-align: right; } .al-matrix td { min-width: 46px; text-align: center; padding: 7px 6px; border-radius: 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ck-matrix-wrap { overflow-x: auto; }
.al-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .al-facts li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 12px; background: var(--cream, #FFF9F3); border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; color: var(--ink); }
.al-chart { width: 100%; height: auto; max-width: 720px; display: block; } .al-chart .ax { stroke: var(--line-2); stroke-width: 1; } .al-chart .ln { fill: none; stroke: var(--navy); stroke-width: 2; } .al-chart circle { fill: var(--navy); } .al-chart text { font-size: 11px; fill: var(--muted); }
.al-snaps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .92rem; } .al-snaps em { font-style: normal; color: var(--muted); }
.al-bench { min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; font: inherit; background: #fff; max-width: 100%; }
.al-reflist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; } .al-reflist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; color: var(--ink-2); } .al-reflist li.mine { border-color: var(--navy); color: var(--navy-ink); } .al-reflist b { font-family: var(--font-head); color: var(--navy); }
.al-privacy { font-size: .85rem; color: var(--muted); }
.al-gate { max-width: 640px; }
.al-msg { display: none; margin-top: 8px; }
@media (max-width: 640px) { .al-buckets { grid-template-columns: 1fr; } .al-facts li { grid-template-columns: 1fr; } .al-editor .ck-row { grid-template-columns: minmax(0, 1fr) 122px 32px; } .al-lines li { grid-template-columns: 64px 1fr; } .al-lines em { grid-column: 2; } }

/* « Zone euro | Zone US » et sa fenêtre de langue (04/10/2026) */
.lang-switch.regions.zone { align-items: center; }
.lang-switch.regions.zone .reg-eu { flex-direction: row; padding: 0; }
.lang-switch.regions.zone .reg-eu .reg, .lang-switch.regions.zone > .reg { padding: 6px 11px; }
.lang-switch.regions.zone > .reg.active { background: #fff; box-shadow: var(--shadow-sm); color: var(--navy-ink); }
dialog.zone-langue { position: fixed; inset: 0; margin: auto; height: fit-content; max-width: 360px; width: calc(100% - 32px); border: 0; border-radius: 18px; padding: 22px 22px 20px; background: #fff; color: var(--navy-ink); box-shadow: 0 24px 70px rgba(11, 23, 49, .28); }
dialog.zone-langue::backdrop { background: rgba(11, 23, 49, .45); }
dialog.zone-langue .zone-kick { margin: 0 0 6px; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--orange, #E8501A); }
dialog.zone-langue h2 { margin: 0 0 16px; font-size: 1.08rem; line-height: 1.35; }
dialog.zone-langue h2 span { font-weight: 500; opacity: .7; }
dialog.zone-langue .zone-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
dialog.zone-langue .zone-choix button { border: 1.5px solid rgba(11, 23, 49, .14); border-radius: 12px; background: #fff; color: var(--navy-ink); font: inherit; font-weight: 800; padding: 14px 10px; cursor: pointer; }
dialog.zone-langue .zone-choix button.active, dialog.zone-langue .zone-choix button:hover, dialog.zone-langue .zone-choix button:focus-visible { border-color: var(--orange, #E8501A); outline: none; }
dialog.zone-langue .zone-fermer { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--navy-ink); }
@media (max-width: 1200px) { .lang-switch.regions.zone .reg span { display: none; } .lang-switch.regions.zone .reg { padding: 5px 8px; } }

/* Repères (13/10/2026) : liste des articles et bloc auteur */
.rep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.rep-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.rep-card h3 { font-size: 1.25rem; line-height: 1.3; }
.rep-card p { color: var(--ink-2); flex: 1; }
.rep-date { font-size: .85rem; color: var(--muted); }
.rep-more { color: var(--orange-text); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.rep-author { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.rep-note { margin-top: 28px; font-size: .9rem; color: var(--muted); }
.article-side .card-soft { margin-bottom: 16px; }
.article-side .card-soft h3 { font-size: 1.1rem; margin: 6px 0 8px; }

/* cours 9 : bulle-crash-crise */
/* ─── Cours 9 : Bulle, crash, crise (atelier et défi) ─────────────── */
/* Atelier « Bulle, crash ou crise ? » : indices des fiches et tableau final */
.bcc-clues { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.bcc-clues li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.bcc-clues li b { font-family: var(--font-head); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding-top: 2px; }
.bcc .sort-btns .btn { white-space: normal; text-align: center; }
.bcc-sig { display: grid; gap: 8px; margin-top: 4px; }
.bcc-sig-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.bcc-sig-row b { font-family: var(--font-head); color: var(--navy-ink); }
.bcc-sig-row span { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.bcc-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.bcc-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.bcc-chip.ok { background: var(--green-tint); color: #157A50; }
.bcc-chip.ko { background: var(--red-tint); color: #B03030; }
.bcc-note { margin-top: 10px; font-size: .85rem; color: var(--muted); }

/* Défi « La cascade » : grille de 10 × 10 porteurs */
.casc-bet .btn.on { box-shadow: 0 0 0 3px var(--orange); opacity: 1; }
.casc-bet .btn:disabled:not(.on) { opacity: .5; }
.casc-ctl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.casc-ctl > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.casc-ctl .btn.on { border-color: var(--navy); background: var(--navy-tint); color: var(--navy-ink); }
.casc-ctl .btn:disabled { opacity: .6; cursor: default; transform: none; }
.casc-hint { margin: 8px 0 12px; font-size: .88rem; color: var(--muted); }
.casc-grid { display: grid; grid-template-columns: repeat(10, minmax(24px, 1fr)); gap: 3px; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.casc-cell { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-width: 24px; min-height: 24px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--mist); font-family: var(--font-head); font-size: .74rem; font-weight: 800; font-style: normal; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.casc-cell.t1 { background: var(--orange-tint); border-color: var(--orange-light); color: var(--orange-text); }
.casc-cell.t3 { background: var(--navy-tint); }
.casc-cell.t0 { background: repeating-linear-gradient(135deg, var(--line) 0 4px, #fff 4px 8px); border-color: var(--line-2); }
.casc-cell:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.casc-grid.locked .casc-cell { cursor: default; }
.casc-cell.out { background: var(--red); border-color: var(--red); color: #fff; transform: scale(.88); }
.casc-cell.start { background: var(--navy-ink); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 2px var(--orange); }
.casc-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: .8rem; color: var(--ink-2); }
.casc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.casc-legend .casc-cell { width: 20px; height: 20px; min-width: 20px; min-height: 20px; font-size: .66rem; cursor: default; }
.casc-note { margin-top: 12px; font-size: .85rem; color: var(--muted); line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .casc-cell { transition: none; } .casc-cell.out { transform: none; } }
@media (max-width: 600px) {
  .bcc-clues li { grid-template-columns: 1fr; gap: 2px; }
  .bcc-sig-row { grid-template-columns: 1fr; gap: 4px; }
  .bcc-chips { justify-content: flex-start; }
  .casc-grid { gap: 2px; padding: 6px; }
}
.casc-grid:not(.locked) .casc-cell:not(.out):not(.start):hover { border-color: var(--navy); }

/* ═══ Espace membre, 2026-11-07 ═══ */
.acct-head { padding: 44px 0 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.acct-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.acct-head .kicker { margin-bottom: 6px; }
.acct-head .demo-note { max-width: 720px; }
.acct-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.acct-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line-2); }
.acct-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: .9rem; }
.acct-meta > span:not(.badge) + span:not(.badge)::before { content: '·'; margin-right: 10px; color: var(--line-2); }
.acct-email { overflow-wrap: anywhere; min-width: 0; }
.acct-linkbtn { margin-top: 8px; padding: 0; font-weight: 700; font-size: .88rem; color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.acct-note .acct-linkbtn { margin-top: 0; }

.acct-alerts { display: grid; gap: 12px; padding-top: 24px; }
.acct-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r); border: 1px solid; }
.acct-alert > svg { width: 20px; height: 20px; align-self: start; margin-top: 2px; }
.acct-alert strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.acct-alert p { margin: 0; font-size: .93rem; line-height: 1.55; }
.acct-alert.warn { background: var(--amber-tint); border-color: var(--line-2); border-color: color-mix(in srgb, var(--amber) 45%, var(--paper)); color: #7a5a00; }
.acct-alert.err { background: var(--red-tint); border-color: var(--line-2); border-color: color-mix(in srgb, var(--red) 35%, var(--paper)); color: #B03030; }
.acct-alert.info { background: var(--blue-tint); border-color: var(--line-2); border-color: color-mix(in srgb, var(--blue) 30%, var(--paper)); color: #2559B3; }

.acct-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 80px; scroll-margin-top: var(--nav-h); }
.acct-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.acct-tabs { display: flex; flex-direction: column; gap: 2px; }
.acct-tab { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink-2); text-align: left; transition: background .2s, color .2s; }
.acct-tab svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted-ui); }
.acct-tab:hover { background: var(--mist); color: var(--navy-ink); }
.acct-tab[aria-selected="true"] { background: var(--navy-tint); color: var(--navy); box-shadow: inset 3px 0 0 var(--orange); }
.acct-tab[aria-selected="true"] svg { color: var(--navy); }
.acct-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-left: auto; flex-shrink: 0; }
.acct-main { min-width: 0; }
.acct-panel { display: grid; gap: 20px; min-width: 0; }
.acct-panel[hidden] { display: none; }
.acct-panel:focus { outline: none; }
.acct-panel:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.acct-panel-head h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.acct-panel-head p { color: var(--muted); font-size: .95rem; }

.card.acct-card { padding: 24px; }
.acct-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.acct-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-card-head h3 { margin: 2px 0 0; }
.acct-label { display: block; font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acct-tagline { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.acct-summary { font-size: .97rem; color: var(--ink-2); }
.acct-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.acct-help { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.acct-help svg { width: 16px; height: 16px; }
.acct-help a, .acct-row-hint a { color: var(--orange-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.acct-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.acct-overview .acct-wide { grid-column: 1 / -1; }
.acct-overview .card p { font-size: .95rem; }
.acct-resume-mod { font-size: .85rem; color: var(--muted); margin: 8px 0 2px; }
.acct-resume h3 { overflow-wrap: anywhere; }
.acct-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.acct-big strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -.02em; line-height: 1; }
.acct-big span { color: var(--ink-2); font-size: .9rem; }
.acct-sub { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.acct-feature { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.acct-feature .card-icon { margin: 0; }
.acct-feature h3 { margin-bottom: 4px; }

progress.acct-meter { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin-top: 12px; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; color: var(--navy); }
progress.acct-meter::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
progress.acct-meter::-webkit-progress-value { background: var(--navy); border-radius: 999px; }
progress.acct-meter::-moz-progress-bar { background: var(--navy); border-radius: 999px; }

.acct-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.acct-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.acct-facts > div:nth-child(odd) { padding-right: 16px; }
.acct-facts dt { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.acct-facts dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy-ink); overflow-wrap: anywhere; }
.acct-next { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--mist); }
.acct-next strong { display: block; font-family: var(--font-head); color: var(--navy-ink); margin-bottom: 4px; }
.acct-next p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--ink-2); }
.acct-next p + p { margin-top: 8px; }

.acct-includes { display: grid; gap: 10px; }
.acct-includes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.acct-includes svg { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.acct-upgrade { border-left: 4px solid var(--orange); }
.acct-upgrade h3 { margin-top: 4px; }
.acct-upgrade .acct-includes { margin-top: 14px; }
.acct-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-plan { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); min-width: 0; }
.acct-plan h4 { font-size: 1.05rem; margin-bottom: 4px; }
.acct-plan > p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.acct-plan .acct-includes li { font-size: .9rem; }

.acct-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.acct-resume .acct-steps { margin-top: 12px; }
.acct-step { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); font-family: var(--font-head); font-size: .74rem; font-weight: 700; }
.acct-step svg { width: 12px; height: 12px; }
.acct-step.on { background: var(--green-tint); color: #157A50; }
.acct-step.now { background: var(--navy-tint); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.acct-stat { padding: 18px 20px; min-width: 0; }
.acct-stat + .acct-stat { border-left: 1px solid var(--line); }
.acct-stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--navy-ink); line-height: 1.1; }
.acct-stat span { font-size: .82rem; color: var(--muted); }
.acct-legend { font-size: .88rem; color: var(--muted); }
#page-compte .prog-list { margin-top: 0; }
.prog-row .prog-title { overflow-wrap: anywhere; min-width: 0; }
.prog-row .badge svg { width: 12px; height: 12px; }

.acct-list { display: grid; gap: 4px; }
.acct-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 10px 12px; margin: 0 -12px; border-radius: var(--r-sm); transition: background .2s; }
.acct-list a:hover { background: var(--mist); }
.acct-list-title { font-weight: 600; color: var(--navy-ink); font-size: .95rem; overflow-wrap: anywhere; }
.acct-list svg { width: 16px; height: 16px; color: var(--muted-ui); }
.acct-empty { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 16px; border-radius: var(--r-sm); background: var(--mist); color: var(--ink-2); font-size: .93rem; }
.acct-empty > svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.acct-empty p { flex: 1 1 220px; margin: 0; }

.acct-rows { display: grid; }
.acct-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 24px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.acct-row:first-child { border-top: 0; padding-top: 4px; }
.acct-row-label, .acct-row-label label { font-weight: 600; font-size: .9rem; color: var(--ink-2); margin: 0; padding-top: 10px; }
.acct-row-value { min-width: 0; color: var(--navy-ink); padding-top: 10px; font-size: .95rem; }
.acct-row-value p { font-size: .93rem; color: var(--ink-2); }
.acct-row-value .at-actions { margin-top: 10px; }
.acct-row-value > svg { width: 16px; height: 16px; color: var(--green); vertical-align: -3px; }
.acct-row-value .form-msg { margin-top: 10px; }
.acct-row-hint { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }
.acct-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acct-inline .field { flex: 1 1 200px; margin: 0; }
.acct-inline .form-msg { flex-basis: 100%; }
.acct-pw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.acct-danger { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-color: color-mix(in srgb, var(--red) 35%, var(--paper)); }
.acct-danger > div { flex: 1 1 320px; }
.acct-danger .acct-label { color: #B03030; }
.acct-danger p { font-size: .93rem; }
.acct-btn-danger { background: var(--paper); color: #B03030; border: 1.5px solid var(--line-2); border-color: color-mix(in srgb, var(--red) 45%, var(--paper)); }
.acct-btn-danger:hover { background: var(--red-tint); border-color: var(--red); }

@media (max-width: 900px) {
  .acct-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .acct-nav { position: static; }
  .acct-tabs { flex-direction: row; overflow-x: auto; gap: 4px; padding: 5px; background: var(--mist); border-radius: 999px; scrollbar-width: none; }
  .acct-tabs::-webkit-scrollbar { display: none; }
  .acct-tab { width: auto; flex: 1 0 auto; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: .85rem; white-space: nowrap; }
  .acct-tab svg { display: none; }
  .acct-tab[aria-selected="true"] { background: var(--paper); box-shadow: var(--shadow-sm); }
  .acct-dot { margin-left: 4px; }
}
@media (max-width: 700px) {
  .acct-overview, .acct-plans { grid-template-columns: 1fr; }
  .acct-alert { grid-template-columns: auto minmax(0, 1fr); }
  .acct-alert .btn { grid-column: 1 / -1; justify-self: start; }
  .acct-feature { grid-template-columns: auto minmax(0, 1fr); }
  .acct-feature .btn { grid-column: 1 / -1; justify-self: start; }
  .acct-row { grid-template-columns: 1fr; gap: 4px; }
  .acct-row-label, .acct-row-label label, .acct-row-value { padding-top: 0; }
  .acct-pw-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .acct-head { padding: 28px 0 20px; }
  .acct-id { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .acct-avatar { width: 48px; height: 48px; font-size: 1.15rem; align-self: start; }
  .acct-logout { grid-column: 1 / -1; justify-self: start; }
  .acct-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); overflow: visible; }
  .acct-tab { white-space: normal; text-align: center; border-radius: var(--r-sm); padding: 8px 6px; line-height: 1.25; }
  .card.acct-card { padding: 20px 18px; }
  .acct-facts { grid-template-columns: 1fr; }
  .acct-facts > div:nth-child(odd) { padding-right: 0; }
  .acct-stats { grid-template-columns: 1fr; }
  .acct-stat + .acct-stat { border-left: 0; border-top: 1px solid var(--line); }
  .prog-row .acct-steps { grid-column: 2; }
  #page-compte .prog-row > span:empty { display: none; }
  .acct-meta .acct-email, .acct-meta .acct-since { flex-basis: 100%; }
  .acct-meta > span:not(.badge) + span:not(.badge)::before { content: none; }
}
/* ═══ Fin du bloc Espace membre, 2026-11-07 ═══ */
