/* =========================================================
   Global Wealth Investment — feuille de style principale
   Bleu nuit · Or champagne · Blanc · Gris clair
   ========================================================= */
:root {
  --navy-950: #060f1f;
  --navy-900: #0a1a33;
  --navy-800: #0f2444;
  --navy-700: #16325c;
  --navy-600: #1f4275;
  --gold: #c9a961;
  --gold-light: #e2cc98;
  --gold-dark: #a8873f;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #dfe3ea;
  --gray-400: #9aa3b2;
  --gray-600: #5b6577;
  --ink: #1a2233;
  --success: #1e7f5c;
  --warning: #b7791f;
  --danger: #b42318;
  --info: #1f4f9a;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(10, 26, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(6, 15, 31, 0.18);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  /* Chiffres et montants : lisibilité maximale (chiffres alignés). */
  --font-num: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--gray-600); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy-900); padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Bandeau conformité ---------- */
.compliance-bar {
  background: var(--navy-950);
  color: var(--gold-light);
  font-size: .82rem;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(201, 169, 97, .25);
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 26, 51, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 169, 97, .18);
}
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; }
.brand:hover { color: var(--white); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.05rem; text-transform: uppercase; }
.brand-text small { font-family: var(--font-body); color: var(--gold); font-size: .6rem; letter-spacing: .42em; font-weight: 600; margin-top: 4px; }

/* Montants et indicateurs chiffrés : police sans empattement, chiffres tabulaires. */
.stat .value, .sim-big, .sim-field output, .hero-stat strong, .code-input, .plan-card-head strong,
.dash-kpi-value, .wallet-hero strong, .wallet-rows strong, .donut-total, .dash-avatar,
.adm-stat-value, .adm-big, .ch-donut-total, .inv-avatar, .adm-avatar, .adm-ava {
  font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { white-space: nowrap; color: #d7deea; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); background: rgba(255, 255, 255, .05); }
.main-nav a.btn-gold, .main-nav a.btn-gold:hover { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%); padding: 7px 14px; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.select-mini {
  appearance: none; white-space: nowrap; background: rgba(255,255,255,.06); color: var(--white);
  border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 6px 10px; font-size: .85rem; cursor: pointer;
}
.dropdown { position: relative; }
.dropdown > button { display: flex; align-items: center; gap: 6px; }
.dropdown-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 60;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; color: var(--ink); font-size: .9rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; }
.dropdown-menu a:hover, .dropdown-menu button:hover, .dropdown-menu a.current { background: var(--gray-100); color: var(--navy-800); }
.lang-menu { min-width: 380px; max-height: 70vh; overflow-y: auto; display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.dropdown.open .lang-menu { display: grid; }
.flag-img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang-menu a { display: flex; align-items: center; gap: .55rem; }
.select-mini .flag-img { margin-right: .15rem; }
@media (max-width: 640px) { .lang-menu { min-width: 0; width: calc(100vw - 40px); right: auto; left: 0; } }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.badge-dot { background: var(--gold); color: var(--navy-900); border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 1px 7px; margin-left: 4px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .95rem; font-family: var(--font-body);
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease; text-align: center; line-height: 1.2;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%); color: var(--navy-950); box-shadow: 0 6px 18px rgba(201, 169, 97, .28); }
.btn-gold:hover { color: var(--navy-950); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 169, 97, .42); filter: brightness(1.04); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(201, 169, 97, .12); color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }
.btn-ghost { background: var(--white); border-color: var(--gray-200); color: var(--navy-800); }
.btn-ghost:hover { border-color: var(--gold); color: var(--navy-900); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { filter: brightness(1.1); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { filter: brightness(1.1); color: var(--white); }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; color: var(--navy-700); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(1200px 600px at 80% 20%, rgba(31, 66, 117, .9), transparent 60%),
              linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  padding: clamp(70px, 10vw, 130px) 0 clamp(70px, 9vw, 120px);
}
.hero.has-image { background-size: cover; background-position: center; }
.hero-bg { position: absolute; inset: 0; opacity: .55; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; font-weight: 600; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.14rem); color: #c9d3e3; max-width: 620px; margin-bottom: 34px; }
.slogan { margin-top: 36px; padding-left: 16px; border-left: 2px solid var(--gold); color: #aebbd0; font-style: italic; font-size: .95rem; max-width: 560px; }
/* Photo d'accueil par défaut (gratte-ciel en contre-plongée — Jan Weber, Unsplash), sous un voile bleu nuit.
   Une image téléversée dans Admin › Paramètres › Apparence la remplace. */
.hero.hero-photo {
  background:
    radial-gradient(820px 420px at 50% 42%, rgba(6, 15, 31, .42), transparent 70%),
    linear-gradient(180deg, rgba(6, 15, 31, .55) 0%, rgba(10, 26, 51, .45) 55%, rgba(6, 15, 31, .85) 100%),
    url('/static/img/accueil-gratte-ciel.jpg') center 40% / cover no-repeat,
    var(--navy-950);
}
.hero.hero-photo .hero-bg { opacity: .18; }
.hero.hero-photo h1, .hero.hero-photo .lead, .hero.hero-photo .eyebrow, .hero.hero-photo .slogan { text-shadow: 0 2px 14px rgba(6, 15, 31, .7); }
/* Héros centré (identité : grand titre à empattements, bandeau d'indicateurs en pied). */
.hero:has(.hero-center) { padding-bottom: 0; }
.hero .container.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; max-width: 980px; padding-bottom: clamp(60px, 8vw, 110px); }
.hero-emblem { width: 58px; height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 18px rgba(201, 169, 97, .25)); }
.hero-center .eyebrow { letter-spacing: .34em; }
.hero-center .eyebrow::before { display: none; }
.hero-center h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.08; }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.hero-center .btn-row { justify-content: center; }
.hero-center .slogan { border-left: 0; padding-left: 0; margin-left: auto; margin-right: auto; font-family: var(--font-head); font-size: 1.05rem; color: #c3cde0; }
.hero-band { position: relative; border-top: 1px solid rgba(201, 169, 97, .22); background: rgba(6, 15, 31, .55); backdrop-filter: blur(4px); }
.hero-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-band .container > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 10px; text-align: center; }
.hero-band .container > div + div { border-left: 1px solid rgba(255, 255, 255, .08); }
.hero-band strong { font-variant-numeric: lining-nums; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--gold); line-height: 1; }
.hero-band span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #9fb0c8; }
.hero-band-note { margin: 0; padding: 0 16px 18px; text-align: center; font-size: .78rem; color: #7f8fa8; }
@media (max-width: 720px) {
  .hero-band .container { grid-template-columns: repeat(2, 1fr); }
  .hero-band .container > div:nth-child(3) { border-left: 0; }
  .hero-band .container > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(201,169,97,.28); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--gold-light); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.hero-stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #d4dceb; font-size: .92rem; }
.hero-stat:last-of-type { border-bottom: 0; }
.hero-stat strong { color: var(--white); font-family: var(--font-head); font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: linear-gradient(170deg, var(--navy-900), var(--navy-800)); color: #cfd8e6; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 12px; }
.page-hero { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #cfd8e6; padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.page-hero p { max-width: 720px; margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--gray-400); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-light); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Engagements ---------- */
.pillar {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 26px; transition: all .3s ease; position: relative; overflow: hidden;
}
.pillar::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .35s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::after { width: 100%; }
.pillar-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); margin-bottom: 20px; }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar p { color: var(--gray-600); margin: 0; font-size: .95rem; }
/* Cadre avec photo : image pleine largeur en haut, icône en chevauchement. */
.pillar.has-photo { padding-top: 0; }
.pillar-photo { margin: 0 -26px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.pillar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.pillar.has-photo:hover .pillar-photo img { transform: scale(1.06); }
.pillar.has-photo .pillar-icon { position: relative; margin-top: -27px; border: 3px solid var(--white); box-shadow: 0 6px 16px rgba(10, 26, 51, .18); }
.pillar.has-photo::after { z-index: 1; }

/* ---------- Cartes projets ---------- */
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.card-body { padding: 24px; }
.project-card { display: flex; flex-direction: column; transition: all .3s ease; }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy-800); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media .sector-art { position: absolute; inset: 0; }
.project-media .tags { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.project-card .card-body { flex: 1; display: flex; flex-direction: column; }
.project-card h3 { margin-bottom: 8px; }
.project-card h3 a { color: var(--navy-900); }
.meta-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--gray-600); margin-bottom: 14px; }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 16px 0; font-size: .88rem; }
.kv dt { color: var(--gray-600); }
.kv dd { margin: 0; font-weight: 600; color: var(--navy-900); text-align: right; }
.progress { height: 8px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 99px; }
.progress-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray-600); margin-top: 6px; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: .72rem; font-weight: 600; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy-800); text-transform: uppercase; letter-spacing: .05em; }
.tag-gold { background: var(--gold); color: var(--navy-950); }
.tag-demo { background: #fff3cd; color: #7a5200; border: 1px solid #f0d58a; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.status-pending, .status-new, .status-open.msg, .status-draft { background: #fff4e0; color: #8a5a00; }
.status-confirmed, .status-active, .status-approved, .status-verified, .status-published, .status-open, .status-answered { background: #e3f4ec; color: var(--success); }
.status-rejected, .status-cancelled, .status-suspended { background: #fde8e7; color: var(--danger); }
.status-matured, .status-funded, .status-closed, .status-contacted, .status-archived, .status-none { background: var(--gray-100); color: var(--gray-600); }

.status-requested, .status-verifying { background: #fff4e0; color: #8a5a00; }
.status-to_verify, .status-approved, .status-processing { background: #eef4fd; color: var(--info); }
.status-in_progress, .status-executed { background: #e3f4ec; color: var(--success); }
.risk-meter { display: inline-flex; gap: 3px; vertical-align: middle; }
.risk-meter i { width: 14px; height: 8px; border-radius: 2px; background: var(--gray-200); }
.risk-meter i.on { background: var(--gold-dark); }
.risk-meter.lvl-4 i.on, .risk-meter.lvl-5 i.on { background: var(--danger); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-200); background: var(--white); color: var(--navy-800); font-size: .88rem; font-weight: 500; }
.chip.active, .chip:hover { background: var(--navy-900); color: var(--gold-light); border-color: var(--navy-900); }

/* ---------- Secteurs ---------- */
.sector-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; color: var(--white); display: flex; align-items: flex-end; }
.sector-tile .sector-art { position: absolute; inset: 0; }
.sector-tile .inner { position: relative; padding: 26px; background: linear-gradient(0deg, rgba(6,15,31,.92), rgba(6,15,31,0)); width: 100%; }
.sector-tile h3 { color: var(--white); margin-bottom: 6px; }
.sector-tile p { color: #cdd6e4; font-size: .9rem; margin: 0 0 10px; }
.sector-tile a { color: var(--gold-light); font-weight: 600; font-size: .88rem; }

/* ---------- Simulateur ---------- */
.simulator { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.sim-inputs { padding: 36px; background: var(--white); }
.sim-results { padding: 36px; background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #d3dbe8; }
.sim-results h3 { color: var(--gold-light); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.sim-field { margin-bottom: 26px; }
.sim-field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--navy-900); margin-bottom: 10px; font-size: .95rem; }
.sim-field output { font-family: var(--font-head); color: var(--gold-dark); font-size: 1.1rem; }
.sim-field .input-affix { display: flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.sim-field .input-affix input { border: 0; flex: 1; padding: 12px 14px; font-size: 1.05rem; font-weight: 600; min-width: 0; }
.sim-field .input-affix select { width: auto; flex: none; border: 0; border-left: 1px solid var(--gray-200); background: var(--gray-50); padding: 12px; font-weight: 600; }
input[type=range] { width: 100%; accent-color: var(--gold-dark); height: 6px; }
.sim-big { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); font-weight: 700; line-height: 1.1; margin: 6px 0 4px; }
.sim-line { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sim-line strong { color: var(--white); }
.sim-line strong.neg { color: #ff9b91; }
.sim-line strong.pos { color: #8fe0bd; }
.sim-chart { margin: 20px 0 8px; height: 170px; }
.sim-chart svg { width: 100%; height: 100%; }
.sim-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 16px; }
.sim-scenarios div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 10px; font-size: .8rem; }
.sim-scenarios strong { display: block; color: var(--white); font-size: .95rem; }
.disclaimer { font-size: .78rem; color: #9fb0c8; line-height: 1.55; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.disclaimer-light { font-size: .82rem; color: var(--gray-600); background: var(--gray-50); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 6px; }

/* ---------- Plans ---------- */
.duration-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gray-200); font-weight: 600; font-size: .88rem; color: var(--navy-800); background: var(--white); transition: all .2s; }
.chip-radio input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-light); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.plan-card { cursor: pointer; transition: all .25s; display: flex; flex-direction: column; }
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.plan-card.selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.plan-card-head { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--gold-light); padding: 18px 22px; }
.plan-card-head span { display: block; letter-spacing: .2em; text-transform: uppercase; color: #9fb0c8; }
.plan-card-head strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); }
.plan-card .card-body { flex: 1; display: flex; flex-direction: column; }
.plan-card .card-body .btn { margin-top: auto; }

/* ---------- Frise d'investissement : Début → En cours → Échéance ---------- */
.timeline { margin: 14px 0 6px; }
.timeline .progress { height: 10px; }
.timeline-labels { display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; color: var(--gray-600); margin-top: 6px; }
.timeline-labels span:nth-child(2) { text-align: center; color: var(--navy-800); font-weight: 600; }
.timeline-labels span:last-child { text-align: right; }
.stage-track { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.stage-track li { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-weight: 600; }
.stage-track li.done { background: #e3f4ec; color: var(--success); }
.stage-track li.current { background: var(--navy-900); color: var(--gold-light); }
.stage-track li.failed { background: #fde8e7; color: var(--danger); }
.recap { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 18px; }

/* ---------- Sécurité ---------- */
.pw-rules { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .76rem; color: var(--gray-600); }
.pw-rules li::before { content: '○ '; }
.pw-rules li.ok { color: var(--success); }
.pw-rules li.ok::before { content: '● '; }
.badge-2fa { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.badge-2fa.on { background: #e3f4ec; color: var(--success); }
.badge-2fa.off { background: #fde8e7; color: var(--danger); }
.codes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 1rem; background: var(--gray-50); border: 1px dashed var(--gray-400); border-radius: 8px; padding: 14px; }
.suspicious { color: var(--warning); font-weight: 600; }
.sev-high { background: #fde8e7; color: var(--danger); }
.sev-medium { background: #fff4e0; color: #8a5a00; }
.sev-low { background: var(--gray-100); color: var(--gray-600); }

/* ---------- Formulaires ---------- */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.auth-wrap { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 50px 16px; background: linear-gradient(160deg, var(--gray-50), var(--gray-100)); }
.auth-wrap .form-card { width: 100%; max-width: 520px; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy-900); margin-bottom: 6px; }
.field .hint { font-size: .78rem; color: var(--gray-600); margin-top: 4px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], input[type=file], select, textarea {
  width: 100%; padding: 11px 14px; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 169, 97, .2); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray-600); margin-bottom: 14px; }
.check input { margin-top: 4px; accent-color: var(--gold-dark); width: 16px; height: 16px; flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.code-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-family: var(--font-head); }
.hp-field { position: absolute; left: -5000px; }
fieldset { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; }
legend { font-weight: 600; padding: 0 8px; color: var(--navy-800); }

/* ---------- Alertes ---------- */
.flash-wrap { position: relative; z-index: 5; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 16px 0; font-size: .92rem; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #ecf8f2; border-color: #b4e2cb; color: #115a40; }
.alert-error { background: #fdf0ef; border-color: #f4c3be; color: #8b1c12; }
.alert-warning { background: #fff8e8; border-color: #f2d893; color: #7a5200; }
.alert-info { background: #eef4fd; border-color: #c3d6f4; color: #16376c; }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Espace client / admin ---------- */
.app-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: calc(100vh - 72px); background: var(--gray-50); }
.app-layout > * { min-width: 0; }
.sidebar { background: var(--navy-900); color: #b8c4d8; padding: 26px 14px; }
.sidebar .who { padding: 0 12px 20px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.sidebar .who strong { color: var(--white); display: block; font-size: .95rem; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: #c3cee0; border-radius: 8px; font-size: .9rem; margin-bottom: 2px; }
.sidebar nav a:hover { background: rgba(255,255,255,.05); color: var(--white); }
.sidebar nav a.active { background: rgba(201,169,97,.14); color: var(--gold-light); }
.sidebar nav .sep { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: #6f7f99; padding: 18px 12px 6px; }
.sidebar .count { margin-left: auto; background: var(--gold); color: var(--navy-950); font-size: .7rem; font-weight: 700; padding: 0 7px; border-radius: 99px; }
.app-main { padding: clamp(20px, 3vw, 36px); min-width: 0; }
.app-main > h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.app-head h1 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.panel h2 { font-size: 1.1rem; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-bottom: 24px; }
.stat { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px 22px; position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.stat .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); font-weight: 600; }
.stat .value { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--navy-900); margin: 6px 0 2px; word-break: break-word; }
.stat .sub { font-size: .78rem; color: var(--gray-600); }
.stat.dark { background: var(--navy-900); border-color: var(--navy-900); }
.stat.dark .value { color: var(--white); }
.stat.dark .label, .stat.dark .sub { color: #9fb0c8; }
a.stat:hover { box-shadow: var(--shadow); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--gray-100); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.table tr:hover td { background: var(--gray-50); }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .actions { white-space: nowrap; }
.empty { text-align: center; color: var(--gray-600); padding: 30px 10px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; padding: 6px 10px; font-size: .84rem; }
details.box { border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px 14px; margin-top: 8px; background: var(--gray-50); }
details.box summary { cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--navy-800); }
.chart { width: 100%; height: 240px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gray-200); margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 10px 14px; cursor: pointer; font: inherit; font-weight: 600; color: var(--gray-600); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--navy-900); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.qr { background: var(--white); padding: 10px; border: 1px solid var(--gray-200); border-radius: 8px; width: 240px; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: .88em; }
.ref-box { background: var(--navy-900); color: var(--gold-light); font-family: ui-monospace, Consolas, monospace; padding: 14px 18px; border-radius: 8px; font-size: 1.1rem; letter-spacing: .05em; display: inline-block; }
.pre { white-space: pre-wrap; }

/* ---------- Détail projet ---------- */
.project-hero { position: relative; color: var(--white); background: var(--navy-900); min-height: 360px; display: flex; align-items: flex-end; }
.project-hero .bg { position: absolute; inset: 0; }
.project-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,15,31,.95) 10%, rgba(6,15,31,.4)); }
.project-hero .container { position: relative; padding-top: 80px; padding-bottom: 44px; }
.project-hero h1 { color: var(--white); }
.project-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.sticky-card { position: sticky; top: 96px; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.facts li span:first-child { color: var(--gray-600); }
.facts li span:last-child { font-weight: 600; color: var(--navy-900); text-align: right; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 8px; margin-bottom: 8px; }
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy-900); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--gray-600); }

/* ---------- Actualités ---------- */
.post-card { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 a { color: var(--navy-900); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; }
.post-card.has-cover { padding: 0; }
.post-card.has-cover .post-card-body { padding: 22px 24px 24px; }
.post-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.page-hero.has-cover { background-size: cover; background-position: center; padding: 110px 0 80px; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.post-gallery figure { margin: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.post-gallery figcaption { padding: 12px 16px; font-size: .88rem; color: var(--gray-600); }
/* ---------- Visuels (composant partials/visual) ---------- */
.visual { margin: 0; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.visual.rounded { box-shadow: var(--shadow); }
.visual-note { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 3px 10px; border-radius: 99px; background: rgba(6, 15, 31, .62); color: #e6ebf3; font-size: .68rem; letter-spacing: .04em; backdrop-filter: blur(4px); }
.page-banner-wrap { margin-top: -40px; position: relative; z-index: 2; }
.page-banner { border-radius: 22px; box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .page-banner { aspect-ratio: 16 / 10 !important; } .page-banner-wrap { margin-top: -24px; } }
/* Cartes « Nos services » */
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .visual { border-radius: 0; }
.service-card .visual img { transition: transform .6s ease; }
.service-card:hover .visual img { transform: scale(1.06); }
.service-body { padding: 20px 22px 24px; }
.service-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-body p { margin: 0; color: var(--gray-600); font-size: .93rem; }
/* Sections image + texte */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-visual { order: 2; }
.split-visual { box-shadow: var(--shadow-lg); }
.section-navy .split p { color: #c3cde0; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--gray-600); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23e2cc98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.check-list strong { color: var(--navy-900); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-visual { order: 0; }
}
/* Témoignages */
.testi-card { position: relative; margin: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.testi-mark { position: absolute; top: 6px; right: 22px; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--gold); opacity: .35; }
.testi-card blockquote { margin: 0; font-family: var(--font-head); font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--navy-900); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--gray-100); padding-top: 16px; }
.testi-card figcaption img, .testi-ini { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-ini { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-light); font-weight: 700; }
.testi-card figcaption > span { display: flex; flex-direction: column; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); color: #cfd8e6; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201,169,97,.3); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #93a2ba; padding: 70px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b3c0d4; }
.site-footer a:hover { color: var(--gold-light); }
.footer-quote { font-family: var(--font-head); font-size: 1.12rem; color: var(--gold-light); font-style: italic; text-align: center; padding: 40px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.07); line-height: 1.5; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0 30px; font-size: .78rem; color: #6f7f99; line-height: 1.6; }
.footer-legal p { margin: 0 0 8px; }

/* ---------- Relevé imprimable ---------- */
.statement { background: var(--white); max-width: 900px; margin: 30px auto; padding: 40px; border: 1px solid var(--gray-200); }
@media print {
  .site-header, .site-footer, .compliance-bar, .no-print, .sidebar { display: none !important; }
  .app-layout { display: block; background: none; }
  .statement { border: 0; margin: 0; padding: 0; }
  body { font-size: 12px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-layout { grid-template-columns: 1fr; }
  .sticky-card { position: static; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy-900); padding: 12px 16px 20px; border-bottom: 1px solid rgba(201,169,97,.2); gap: 2px; margin: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .header-tools { margin-left: 0; padding-top: 10px; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .simulator { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { padding: 12px; }
  .sidebar .who { display: none; }
  .sidebar nav { display: flex; overflow-x: auto; gap: 4px; -webkit-overflow-scrolling: touch; }
  .sidebar nav a { white-space: nowrap; margin: 0; }
  .sidebar nav .sep { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: .85rem; }
  .brand-text small { display: none; }
  .header-tools .hide-sm { display: none; }
  .sim-inputs, .sim-results { padding: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .kv { grid-template-columns: 1fr 1fr; }
  .statement { padding: 18px; }
}

/* ---------- Notes en étoiles ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 1rem; line-height: 1; color: var(--gray-200); letter-spacing: 0; }
.stars .on { color: var(--gold); }
.star-input { border: 0; padding: 0; margin: 0 0 .75rem; }
.star-input legend { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; padding: 0; }
.star-input-row { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input-row label { cursor: pointer; font-size: 1.75rem; line-height: 1; color: var(--gray-200); transition: color .15s, transform .15s; }
.star-input-row label:hover, .star-input-row label:hover ~ label,
.star-input-row input:checked ~ label { color: var(--gold); }
.star-input-row label:hover { transform: scale(1.12); }
.star-input-row input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.testi-card .stars { margin-bottom: .6rem; font-size: 1.05rem; }

/* ---------- Commentaires des actualités ---------- */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.comments-summary { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.comment { padding: 1.1rem 1.2rem; border: 1px solid var(--gray-200); border-radius: 12px; background: #fff; margin-bottom: .9rem; }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-bottom: .45rem; }
.comment-head strong { font-size: .95rem; }
.comment p { margin: 0; white-space: pre-line; }
.comment-reply { margin-top: .8rem; padding: .75rem .9rem; border-left: 3px solid var(--gold); background: #f7f5ee; border-radius: 0 8px 8px 0; font-size: .92rem; }
.comment-reply strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-900); margin-bottom: .2rem; }
.comment-form { margin-top: 1.5rem; padding: 1.25rem; border-radius: 12px; background: var(--gray-50); }
