/* =========================================================
   GSR-CI — feuille de style principale
   Palette « lagune » : vert-bleu profond, encre, ocre kola.
   Atkinson Hyperlegible : lisibilité pour les personnes malvoyantes.
   ========================================================= */
:root {
  --ink: #2A2124;
  --ink-soft: #5E5457;
  --lagoon: #2F7A64;        /* vert du cercle du logo */
  --lagoon-deep: #215A4A;
  --lagoon-wash: #E5F1EC;
  --kola: #E8894A;          /* orange du cercle du logo */
  --kola-deep: #A85A24;
  --bordeaux: #9C2B38;      /* texte « GSR-CI » */
  --bordeaux-deep: #6B1A26;
  --kidney: #C24F56;
  --tricolore: linear-gradient(90deg, #E8894A 0%, #F2C9A5 38%, #F4EFEA 50%, #A9CDBE 62%, #2F7A64 100%);
  --red: #9C2B38;
  --paper: #FBF9F8;
  --white: #FFFFFF;
  --line: #E7E0DE;
  --ok: #2E7D4F;

  --font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 4vw, 2.6rem);
  --step-4: clamp(2.3rem, 6vw, 3.9rem);

  --radius-s: 6px;
  --radius-l: 18px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-deep); text-underline-offset: 3px; }
a:hover { color: var(--lagoon); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--kola); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; }
.prose h3 { margin-top: 1.4em; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }
.inline { display: inline; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- En-tête ---------- */
.topbar { background: var(--lagoon-deep); color: #DDEBE9; font-size: var(--step--1); }
.topbar a, .topbar .linklike { color: #fff; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: inherit; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-family: var(--font-display); font-size: 1.12rem; }
.brand small { color: var(--lagoon); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 9px; text-decoration: none; color: var(--ink); border-radius: var(--radius-s); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--lagoon-wash); color: var(--lagoon-deep); }
.nav a.btn-give { margin-left: 6px; color: var(--ink); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-block; background: var(--ink); color: #fff; border: 0; padding: 10px 16px; border-radius: var(--radius-s); font: 700 1rem var(--font-body); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a.btn-give { margin: 8px 0 0; text-align: center; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-s);
  font: 700 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--lagoon); color: #fff; }
.btn-primary:hover { background: var(--lagoon-deep); color: #fff; }
.btn-give { background: var(--kola); color: var(--ink); }
.btn-give:hover { background: #F0AE47; color: var(--ink); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--lagoon-deep); }
.btn-ghost:hover { background: var(--lagoon-wash); }
.btn-danger { background: var(--red); color: #fff; }
.btn-small { padding: 7px 12px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Alertes & badges ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-s); margin: 18px 0; border-left: 5px solid; background: #fff; }
.alert-ok { border-color: var(--ok); background: #EAF5EE; }
.alert-warn { border-color: var(--kola); background: #FDF3E3; }
.alert-bad { border-color: var(--red); background: #FBECEC; }
.alert-info { border-color: var(--lagoon); background: var(--lagoon-wash); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.badge-ok { background: #DDF0E3; color: #1F5E39; }
.badge-bad { background: #F6DADA; color: #8A2626; }
.badge-info { background: var(--lagoon-wash); color: var(--lagoon-deep); }
.badge-muted { background: #E8EAE8; color: #555; }

/* ---------- Accueil : héros + panneau d'orientation ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { max-width: 14ch; }
.hero-lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius-l); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; background: var(--lagoon-wash); }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.94); padding: 6px 12px; border-radius: var(--radius-s); font-size: var(--step--1); }

.doors { background: var(--lagoon); color: #fff; }
.doors-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.door { display: block; padding: 34px 28px 30px; color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,.18); position: relative; }
.door:last-child { border-right: 0; }
.door:hover { background: var(--lagoon-deep); color: #fff; }
.door-who { font-size: var(--step--1); color: #BFE0DC; margin-bottom: 6px; }
.door-what { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.08; margin-bottom: 10px; }
.door p { margin: 0; color: #DDEFEC; max-width: 32ch; }
.door-give { background: var(--kola); color: var(--ink); }
.door-give .door-who { color: #6B430A; }
.door-give p { color: #3E2B10; }
.door-give:hover { background: #F0AE47; color: var(--ink); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .doors-in { grid-template-columns: 1fr; }
  .door { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 24px 20px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-soft); max-width: 60ch; }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { font-size: var(--step-3); margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); font-size: var(--step-1); max-width: 60ch; margin: 0; }
.crumb, .page-head .crumb { font-size: var(--step--1); margin-bottom: 10px; }

/* Piliers : trois engagements, présentés comme une phrase continue */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.pillar { padding: 22px 24px 8px 0; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-2); color: var(--lagoon-deep); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Grilles de contenus */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.item { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; text-decoration: none; color: var(--ink); }
.item img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--lagoon-wash); }
.item-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item-body h3 { margin: 0; }
.item-body p { margin: 0; color: var(--ink-soft); }
.item-meta { font-size: var(--step--1); color: var(--lagoon); font-weight: 700; }
a.item:hover h3 { color: var(--lagoon); text-decoration: underline; }

/* Projet phare (hémodialyse) */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #E9EFEE; border-radius: var(--radius-l); overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.feature-body { padding: 40px; }
.feature-body h2 { color: #fff; }
.feature-body a:not(.btn) { color: #fff; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature-body { padding: 26px; } }

.gauge { margin: 18px 0 22px; }
.gauge-bar { height: 12px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; }
.gauge-bar span { display: block; height: 100%; background: var(--kola); }
.gauge-light .gauge-bar { background: var(--lagoon-wash); }
.gauge-text { display: flex; justify-content: space-between; font-size: var(--step--1); margin-top: 6px; }

/* Baromètre d'impact */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-s); }
.impact div { padding: 22px; }
.impact div + div { border-left: 1px solid var(--line); }
.impact strong { display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--lagoon-deep); line-height: 1; margin-bottom: 6px; }
.impact .pending strong { font-size: var(--step-1); color: var(--ink-soft); }
@media (max-width: 760px) { .impact { grid-template-columns: 1fr 1fr; } .impact div:nth-child(3) { border-left: 0; } .impact div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.quote { border-left: 4px solid var(--kola); padding: 4px 0 4px 20px; margin: 0; }
.quote p { font-size: var(--step-1); }
.partners { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.partners img { height: 64px; width: auto; object-fit: contain; }

/* ---------- Formulaires ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; }
@media (max-width: 620px) { .form-card { padding: 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: end; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
label, .label { display: block; font-weight: 700; margin-bottom: 6px; }
.hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #B9C4BF; border-radius: var(--radius-s);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--lagoon); outline: 3px solid rgba(47,122,100,.22); outline-offset: 0; }
[aria-invalid=true] { border-color: var(--red) !important; }
.field-error { color: var(--red); font-weight: 700; font-size: var(--step--1); margin: 6px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: 10px 16px; border: 1.5px solid #B9C4BF; border-radius: var(--radius-s); background: #fff; font-weight: 700; cursor: pointer; }
.choice input:checked + span { border-color: var(--lagoon); background: var(--lagoon-wash); color: var(--lagoon-deep); box-shadow: inset 0 0 0 1px var(--lagoon); }
.choice input:focus-visible + span { outline: 3px solid var(--kola); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.amounts .choice span { min-width: 104px; text-align: center; }

/* ---------- Suivi de dossier : frise ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--lagoon); }
.timeline li.current::after { background: var(--lagoon); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 16px 0 24px; counter-reset: s; }
.steps li { list-style: none; padding: 10px 8px 0; border-top: 5px solid var(--line); font-size: var(--step--1); color: var(--ink-soft); }
.steps li.done { border-color: var(--lagoon); color: var(--ink); font-weight: 700; }
.steps li.bad { border-color: var(--red); color: var(--red); font-weight: 700; }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .steps li { border-top: 0; border-left: 5px solid var(--line); padding: 4px 10px; } .steps li.done { border-color: var(--lagoon); } }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F0F3F1; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* ---------- Messages (tickets) ---------- */
.thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.msg { max-width: 80%; padding: 14px 18px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.msg-staff { align-self: flex-start; background: var(--lagoon-wash); border-color: #C3DEDA; }
.msg-user { align-self: flex-end; }
.msg-internal { align-self: stretch; max-width: none; background: #FDF3E3; border-style: dashed; border-color: var(--kola); }
.msg-meta { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 4px; }
.msg p:last-child { margin: 0; }

/* ---------- FAQ ---------- */
.faq-search { max-width: 560px; margin-bottom: 24px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; }
details.faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style-position: inside; }
details.faq[open] summary { color: var(--lagoon-deep); }
details.faq div { padding: 0 20px 18px; }
.faq-cat { font-size: var(--step--1); color: var(--lagoon); font-weight: 700; margin-right: 8px; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius-s); background: var(--lagoon-wash); }
.gallery figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 4px; }
.video { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: var(--radius-s); background: #000; }

/* ---------- Deux colonnes avec aside ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 22px; }
.aside h2 { font-size: var(--step-1); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.process { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.process li { counter-increment: p; position: relative; padding: 0 0 18px 48px; }
.process li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--lagoon); color: #fff; font-weight: 700; display: grid; place-items: center; }
.process strong { display: block; }

.receipt { max-width: 720px; margin: 40px auto; background: #fff; border: 1px solid var(--line); padding: 40px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C9D4D2; margin-top: 64px; padding-top: 48px; font-size: .97rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; color: #fff; font-family: var(--font-body); }
.footer-brand { font-family: var(--font-display); font-size: 1.35rem; color: #fff; font-weight: 800; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 32px; padding-top: 18px; padding-bottom: 90px; font-size: var(--step--1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 8px; background: #1F8A4C; color: #fff; text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 99px; font-weight: 700; box-shadow: 0 6px 18px rgba(28,43,42,.28); }
.whatsapp:hover { background: #18703D; color: #fff; }

/* ---------- Back-office ---------- */
.admin-body { background: #EEF2F0; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #C9D4D2; padding: 22px 14px; }
.admin-side .brand { color: #fff; margin-bottom: 24px; padding: 0 8px; }
.admin-side .brand small { color: #9FD3CD; }
.admin-side nav a { display: block; padding: 9px 12px; color: #DCE5E3; text-decoration: none; border-radius: var(--radius-s); font-weight: 700; }
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-side nav p { margin: 18px 12px 6px; font-size: .8rem; color: #8FA3A0; }
.admin-main { padding: 28px 32px 48px; min-width: 0; }
.admin-main h1 { font-size: var(--step-2); }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px; text-decoration: none; color: var(--ink); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--lagoon-deep); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 22px; margin-bottom: 22px; }
.panel h2 { font-size: var(--step-1); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: end; }
.filters select, .filters input { width: auto; min-width: 160px; padding: 9px 12px; }
.dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; margin: 0; }
.dl dt { font-weight: 700; color: var(--ink-soft); }
.dl dd { margin: 0; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-side nav p { width: 100%; margin: 8px 0 0; }
  .admin-main { padding: 20px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print {
  .topbar, .site-header, .site-footer, .whatsapp, .no-print { display: none !important; }
  body { background: #fff; }
  .receipt { border: 0; margin: 0; }
}

/* Titres à l'intérieur d'un texte long */
.prose h2 { font-size: var(--step-2); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* =========================================================
   Accueil v2 : héros photo, comprendre la maladie, chiffres,
   signes d'alerte, test de risque, actions de terrain
   ========================================================= */
.btn-lg { padding: 15px 26px; font-size: 1.06rem; }
.btn-light { background: #fff; color: var(--lagoon-deep); }
.btn-light:hover { background: var(--lagoon-wash); color: var(--lagoon-deep); }
.lead { font-size: var(--step-1); color: var(--ink-soft); }

.hero2 {
  position: relative; color: #fff; isolation: isolate;
  background: var(--lagoon-deep) var(--hero-img) center 30% / cover no-repeat;
  min-height: clamp(480px, 74vh, 680px); display: flex; align-items: flex-end;
}
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,47,45,.94) 0%, rgba(10,79,76,.82) 45%, rgba(10,79,76,.25) 100%);
}
.hero2-in { padding-top: 72px; padding-bottom: 64px; }
.hero2 h1 { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero2-tag { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 99px; font-weight: 700; margin-bottom: 18px; }
.hero2-lead { font-size: var(--step-1); max-width: 52ch; color: #E3F0EE; }
.hero2-lead strong { color: #FFD48A; }
.hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 640px) { .hero2::before { background: linear-gradient(180deg, rgba(10,47,45,.7), rgba(10,47,45,.94)); } .hero2-in { padding-top: 48px; padding-bottom: 40px; } }

.understand { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.kidney-fig { margin: 0; background: #FBEDEA; border-radius: 28px; padding: 36px 28px 24px; text-align: center; }
.kidney-fig svg { width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.kidney-fig figcaption { margin-top: 14px; color: #6E2A2A; font-weight: 700; }
.roles { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.roles li { display: flex; gap: 12px; align-items: flex-start; }
.roles strong { display: block; }
.role-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lagoon-wash); color: var(--lagoon-deep); font-weight: 700; display: grid; place-items: center; }
@media (max-width: 860px) { .understand { grid-template-columns: 1fr; gap: 28px; } .kidney-fig { max-width: 420px; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

.facts { background: var(--ink); color: #C9D4D2; padding: 64px 0; }
.facts h2 { color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 28px 0; border-top: 1px solid rgba(255,255,255,.16); }
.fact { padding: 26px 22px 6px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.16); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--kola); margin-bottom: 10px; letter-spacing: -0.02em; }
.fact span { color: #E3ECEA; }
.facts-cost { background: rgba(255,255,255,.06); border-left: 4px solid var(--kola); padding: 18px 22px; border-radius: 6px; max-width: 900px; }
.facts-cost p { margin: 0; color: #E3ECEA; }
.facts-cost strong { color: #fff; }
.facts-src { font-size: var(--step--1); margin: 18px 0 0; }
.facts a { color: #fff; }
@media (max-width: 860px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { padding-left: 0; border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); } }
@media (max-width: 480px) { .facts-grid { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); } }

.signs-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.signs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signs li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.signs svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: #FBEDEA; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.risk { background: var(--lagoon); color: #fff; border-radius: 22px; padding: 28px; }
.risk h3 { color: #fff; font-size: var(--step-1); }
.risk .check { margin-bottom: 10px; color: #EAF5F3; }
.risk .check input { accent-color: var(--kola); }
.risk-result { margin-top: 16px; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 16px; }
.risk-result.warn { box-shadow: inset 5px 0 0 var(--kola); }
.risk-result.high { box-shadow: inset 5px 0 0 var(--red); }
.risk .muted { color: #CFE6E3; }
@media (max-width: 900px) { .signs-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .signs { grid-template-columns: 1fr; } }

.acts { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.act { position: relative; display: block; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; min-height: 220px; background: var(--lagoon-deep); }
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,47,45,0) 30%, rgba(10,47,45,.92) 100%); }
.act:hover img { transform: scale(1.04); }
.act-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.act-body h3 { color: #fff; margin: 4px 0 6px; }
.act-body p { margin: 0; color: #DDEDEB; font-size: .97rem; }
.act-place { font-size: var(--step--1); font-weight: 700; color: #FFD48A; }
.act-big { grid-row: span 2; min-height: 460px; }
.act-big h3 { font-size: var(--step-2); }
@media (max-width: 760px) { .acts { grid-template-columns: 1fr; } .act-big { grid-row: auto; min-height: 320px; } .act { min-height: 260px; } }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; background: var(--lagoon-wash); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }

.next-campaign { display: flex; gap: 20px; align-items: center; background: #FDF3E3; border: 1px solid #F1D4A3; border-radius: 18px; padding: 18px 22px; flex-wrap: wrap; }
.next-campaign > div:nth-child(2) { flex: 1; min-width: 220px; }
.nc-date { background: var(--kola); color: var(--ink); border-radius: 12px; padding: 8px 14px; text-align: center; font-weight: 700; line-height: 1.1; }
.nc-date span { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; }

.cta-band { background: var(--lagoon); color: #fff; padding: 64px 0; margin-bottom: -64px; }
.cta-in { max-width: 860px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #DDEFEC; font-size: var(--step-1); }
.cta-band .btn { margin: 4px; }

/* Page « Insuffisance rénale » */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 24px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.stage { padding: 18px 16px; background: #fff; }
.stage + .stage { border-left: 1px solid var(--line); }
.stage b { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.stage .dfg { display: inline-block; margin: 6px 0; padding: 2px 10px; border-radius: 99px; font-weight: 700; font-size: .85rem; }
.stage:nth-child(1) .dfg { background: #DDF0E3; color: #1F5E39; }
.stage:nth-child(2) .dfg { background: #EEF3D6; color: #5A6514; }
.stage:nth-child(3) .dfg { background: #FDF0D8; color: #7A4E08; }
.stage:nth-child(4) .dfg { background: #FBE1D3; color: #8A3B12; }
.stage:nth-child(5) .dfg { background: #F6DADA; color: #8A2626; }
.stage:nth-child(5) { background: #FFF6F6; }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } .stage + .stage { border-left: 0; border-top: 1px solid var(--line); } }
.rules { list-style: none; padding: 0; counter-reset: r; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rules li { counter-increment: r; position: relative; padding-left: 46px; min-height: 34px; }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--kola); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
@media (max-width: 620px) { .rules { grid-template-columns: 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { background: var(--lagoon-wash); color: var(--lagoon-deep); padding: 6px 14px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.hero2-in { width: 100%; }

/* =========================================================
   Raffinements visuels v3 : en-têtes de pages, cartes, FAQ,
   encadrés, pied de page
   ========================================================= */
:root { --radius-s: 10px; --radius-l: 20px; --shadow: 0 1px 2px rgba(28,43,42,.06), 0 8px 24px rgba(28,43,42,.08); }
.btn { transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-primary:hover, .btn-give:hover { box-shadow: 0 6px 16px rgba(28,43,42,.18); }

/* En-têtes des pages intérieures : bandeau lagune avec motif de reins */
.page-head {
  position: relative; overflow: hidden; color: #fff; border-bottom: 0;
  background:
    radial-gradient(circle at 92% 20%, rgba(227,155,45,.22), transparent 38%),
    linear-gradient(120deg, var(--lagoon-deep) 0%, var(--lagoon) 100%);
  padding: 56px 0 48px;
}
.page-head::after {
  content: ""; position: absolute; right: -40px; bottom: -70px; width: 360px; height: 320px; opacity: .13; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 300'%3E%3Cpath d='M120 40c-44 0-70 40-70 100s26 120 72 120c30 0 38-24 38-46 0-16-14-26-14-44s14-28 14-44c0-50-10-86-40-86Z' fill='none' stroke='white' stroke-width='10'/%3E%3Cpath d='M200 40c44 0 70 40 70 100s-26 120-72 120c-30 0-38-24-38-46 0-16 14-26 14-44s-14-28-14-44c0-50 10-86 40-86Z' fill='none' stroke='white' stroke-width='10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-head p { color: #D9ECE9; }
.page-head a { color: #fff; }
.page-head .crumb a { color: #FFD48A; text-decoration: none; font-weight: 700; }
.page-head .crumb a:hover { text-decoration: underline; }
.page-head .toc a { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.page-head .toc a:hover { background: rgba(255,255,255,.24); }
.page-head .badge { border: 1px solid rgba(255,255,255,.4); }
@media (max-width: 640px) { .page-head { padding: 36px 0 32px; } .page-head::after { width: 200px; height: 180px; right: -50px; bottom: -50px; } }

/* Titres de section : petit trait ocre */
.section-head h2::after, .understand h2::after, .signs-wrap > div > h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--kola); margin-top: 12px;
}

/* Cartes */
.item { border-radius: 16px; border-color: #E2E8E5; transition: box-shadow .2s ease, transform .2s ease; }
a.item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.item img { transition: transform .4s ease; }
a.item:hover img { transform: scale(1.03); }
.item { isolation: isolate; }
.item-body { padding: 20px 22px 22px; }
a.item .item-body::after { content: "Découvrir"; margin-top: auto; padding-top: 8px; color: var(--lagoon); font-weight: 700; font-size: .95rem; }
a.item[target="_blank"] .item-body::after { content: "Lire l'article"; }

.form-card { border-radius: 20px; border-color: #E2E8E5; box-shadow: var(--shadow); }
.aside { border-radius: 16px; border-color: #E2E8E5; border-top: 4px solid var(--lagoon); box-shadow: 0 1px 2px rgba(28,43,42,.05); }
.panel { border-radius: 14px; }
.table-wrap { border-radius: 14px; }
.feature { border-radius: 24px; box-shadow: var(--shadow); }
.impact { border-radius: 16px; overflow: hidden; }
.alert { border-radius: 12px; }

/* FAQ */
details.faq { border-radius: 14px; border-color: #E2E8E5; transition: box-shadow .2s ease; }
details.faq[open] { box-shadow: var(--shadow); }
details.faq summary { list-style: none; display: flex; align-items: center; gap: 10px; padding-right: 54px; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--lagoon-wash); color: var(--lagoon-deep);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
}
details.faq[open] summary::after { content: "–"; background: var(--lagoon); color: #fff; }
.faq-cat { background: var(--lagoon-wash); padding: 2px 10px; border-radius: 99px; flex: none; }
.faq-search input { border-radius: 99px; padding-left: 20px; }

/* Choix (boutons radio) plus doux */
.choice span { border-radius: 12px; transition: border-color .15s ease, background-color .15s ease; }
.choice span:hover { border-color: var(--lagoon); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], select, textarea { border-radius: 10px; background: #FCFDFC; }

/* Galerie */
.gallery img { border-radius: 14px; transition: transform .3s ease, box-shadow .3s ease; }
.gallery a:hover img { transform: scale(1.02); box-shadow: var(--shadow); }

/* Pied de page */
.site-footer { border-top: 5px solid var(--kola); background: linear-gradient(180deg, #1C2B2A, #142120); }
.footer-brand::before {
  content: ""; display: block; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 12px;
  background: #fff url("../img/logo.svg") center / 40px no-repeat;
}
.site-footer a { text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: #FFD48A; }

/* En-tête : léger ombrage */
.site-header { box-shadow: 0 1px 0 rgba(28,43,42,.04), 0 6px 18px rgba(28,43,42,.05); }
.brand img { border-radius: 10px; }

/* =========================================================
   Charte GSR-CI v4 : couleurs du logo officiel
   bordeaux (GSR-CI) · rouge rein · orange / blanc / vert (cercle)
   ========================================================= */
h1, h2 { color: var(--bordeaux-deep); }
h3 { color: var(--ink); }
a { color: var(--bordeaux); }
a:hover { color: var(--kidney); }

/* Bandeau supérieur bordeaux + liseré tricolore du cercle */
.topbar { background: var(--bordeaux-deep); color: #F3DDE0; border-bottom: 4px solid transparent; border-image: var(--tricolore) 1; }
.topbar a, .topbar .linklike { color: #fff; }

/* En-tête : le logo au premier plan */
.header-in { min-height: 88px; }
.brand { gap: 12px; }
.brand img { width: 64px; height: auto; border-radius: 0; filter: drop-shadow(0 2px 6px rgba(107,26,38,.18)); }
.brand strong { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; color: var(--bordeaux); line-height: 1; }
.brand small { color: var(--ink-soft); font-weight: 700; font-size: .78rem; margin-top: 4px; }
.nav a:hover, .nav a.active { background: #F6E9EA; color: var(--bordeaux); }
.btn-give, .nav a.btn-give { background: var(--kola); color: #2A1408; }
.btn-give:hover, .nav a.btn-give:hover { background: #F09A60; color: #2A1408; }
.nav-toggle { background: var(--bordeaux) !important; }
@media (max-width: 480px) { .brand img { width: 52px; } .brand strong { font-size: 1.4rem; } .brand small { font-size: .7rem; max-width: 18ch; } }

/* Boutons */
.btn-primary { background: var(--lagoon); }
.btn-primary:hover { background: var(--lagoon-deep); }
.btn-ghost { color: var(--bordeaux); }
.btn-ghost:hover { background: #F6E9EA; }
.btn-light { color: var(--bordeaux); }
.btn-light:hover { background: #F6E9EA; color: var(--bordeaux); }
:focus-visible { outline-color: var(--kola); }

/* Héros : voile bordeaux + grand logo dans un médaillon blanc */
.hero2::before {
  background:
    linear-gradient(100deg, rgba(74,16,27,.95) 0%, rgba(107,26,38,.86) 48%, rgba(107,26,38,.45) 100%);
}
.hero2-in { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.hero2-tag { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.hero2-lead { color: #F6E4E6; }
.hero2-lead strong { color: #FFC79E; }
.hero2-logo { margin: 0; justify-self: center; position: relative; }
.hero2-logo img {
  width: clamp(220px, 23vw, 300px); height: auto;
  background: #fff; border-radius: 32px; padding: 26px 30px 22px;
  box-shadow: 0 0 0 8px rgba(255,255,255,.16), 0 24px 60px rgba(0,0,0,.35);
}
.hero2-logo::after {
  content: ""; position: absolute; inset: -22px; border-radius: 48px; pointer-events: none;
  background: conic-gradient(from 200deg, #E8894A, #FFFFFF, #2F7A64, #E8894A); opacity: .35; z-index: -1; filter: blur(14px);
}
@media (max-width: 860px) {
  .hero2-in { grid-template-columns: 1fr; }
  .hero2-logo { order: -1; justify-self: start; }
  .hero2-logo img { width: 130px; padding: 12px 14px 10px; border-radius: 20px; }
}
@media (max-width: 640px) { .hero2::before { background: linear-gradient(180deg, rgba(74,16,27,.82), rgba(74,16,27,.96)); } }

/* Accès rapides : vert, bordeaux, orange */
.doors { background: var(--lagoon); }
.door:nth-child(2) { background: var(--bordeaux); }
.door:nth-child(2):hover { background: var(--bordeaux-deep); }
.door:hover { background: var(--lagoon-deep); }
.door-who { color: #E2F0EA; }
.door p { color: #EEF6F2; }
.door:nth-child(2) .door-who, .door:nth-child(2) p { color: #F6E1E4; }
.door-give { background: var(--kola); color: #2A1408; }
.door-give:hover { background: #F09A60; color: #2A1408; }
.door-give .door-who { color: #6A3712; }
.door-give p { color: #3D2210; }

/* Trait de titre aux couleurs du cercle */
.section-head h2::after, .understand h2::after, .signs-wrap > div > h2::after {
  width: 72px; height: 5px; background: linear-gradient(90deg, #E8894A 0 33%, #E7E0DE 33% 66%, #2F7A64 66% 100%);
}

/* Comprendre la maladie */
.kidney-fig { background: #FBEDEC; }
.kidney-fig figcaption { color: var(--bordeaux-deep); }
.role-ico { background: #F6E9EA; color: var(--bordeaux); }

/* Chiffres clés : bordeaux profond */
.facts { background: linear-gradient(135deg, #4A101B 0%, #6B1A26 100%); color: #F1DADD; }
.fact strong { color: #FFB27D; }
.fact span, .facts-cost p { color: #F6E4E6; }
.facts-grid, .fact + .fact { border-color: rgba(255,255,255,.18); }
.facts-cost { border-left-color: var(--kola); background: rgba(255,255,255,.07); }

/* Signes + test */
.signs svg { background: #FBEDEC; stroke: var(--kidney); }
.risk { background: linear-gradient(160deg, var(--lagoon) 0%, var(--lagoon-deep) 100%); }
.risk .check { color: #EFF7F3; }
.risk .muted { color: #D2E8DF; }

/* Actions de terrain */
.act::after { background: linear-gradient(180deg, rgba(42,33,36,0) 30%, rgba(74,16,27,.92) 100%); }
.act-place { color: #FFC79E; }
.act-body p { color: #F3E3E5; }
.next-campaign { background: #FFF3EA; border-color: #F5CDB0; }

/* Projet phare, impact */
.feature { background: var(--bordeaux-deep); color: #F6E4E6; }
.gauge-bar span { background: var(--kola); }
.impact strong { color: var(--bordeaux); }
.item-meta { color: var(--lagoon); }
a.item .item-body::after { color: var(--bordeaux); }
.quote { border-left-color: var(--kola); }

/* En-têtes des pages intérieures : vert du logo, éclat orange */
.page-head {
  background:
    radial-gradient(circle at 90% 15%, rgba(232,137,74,.30), transparent 40%),
    linear-gradient(120deg, #1C4D40 0%, var(--lagoon) 100%);
}
.page-head h1 { color: #fff; }
.page-head p { color: #E2F0EA; }
.page-head .crumb a { color: #FFC79E; }
.page-head h2 { color: #fff; }

/* Encadrés, FAQ, badges */
.aside { border-top-color: var(--bordeaux); }
.aside h2 { color: var(--bordeaux-deep); }
details.faq[open] summary { color: var(--bordeaux); }
details.faq[open] summary::after { background: var(--bordeaux); }
.faq-cat { background: #F6E9EA; color: var(--bordeaux); }
.process li::before { background: var(--bordeaux); }
.timeline li::after { border-color: var(--bordeaux); }
.timeline li.current::after { background: var(--bordeaux); }
.steps li.done { border-color: var(--lagoon); }
.toc a { background: #F6E9EA; color: var(--bordeaux); }
.rules li::before { background: var(--kola); color: #2A1408; }

/* Appel final : bordeaux */
.cta-band { background: linear-gradient(135deg, var(--bordeaux-deep), var(--bordeaux)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #F6E4E6; }

/* Pied de page : logo officiel sur médaillon blanc */
.site-footer { background: linear-gradient(180deg, #2E2225, #1F1719); color: #DCCFD2; border-top: 6px solid transparent; border-image: var(--tricolore) 1; }
.footer-brand::before { display: none; }
.footer-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 14px 18px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.footer-logo img { width: 120px; height: auto; }
.site-footer a:hover { color: #FFC79E; }

/* Back-office */
.admin-side { background: linear-gradient(180deg, #3A1219, #2A1D20); }
.kpi strong { color: var(--bordeaux); }

/* Onglet Accueil */
.nav-home { display: inline-flex; align-items: center; gap: 6px; }
.nav-home svg { flex: none; margin-top: -2px; }
@media (min-width: 1181px) {
  .nav a { padding: 8px 7px; font-size: .9rem; }
  .brand small { display: none; }
}

/* Liens d'ancrage (sommaire) : le titre visé ne passe plus sous l'en-tête fixe */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 112px; }
@media (max-width: 1180px) { [id] { scroll-margin-top: 96px; } }
.prose h2:target {
  animation: target-flash 1.6s ease-out;
  border-radius: 8px;
}
@keyframes target-flash {
  0%   { background: #FFE6D3; box-shadow: 0 0 0 10px #FFE6D3; }
  100% { background: transparent; box-shadow: 0 0 0 10px transparent; }
}

/* Héros clair (v5) : fond rosé lumineux, texte bordeaux */
.hero2 { color: var(--ink); background-color: #FBEDEA; }
.hero2::before {
  background: linear-gradient(100deg, rgba(255,250,247,.97) 0%, rgba(253,240,236,.93) 50%, rgba(251,233,229,.72) 100%);
}
.hero2 h1 { color: var(--bordeaux-deep); }
.hero2-tag { background: #fff; border-color: #EBCFCB; color: var(--bordeaux); }
.hero2-lead { color: #4A3D40; }
.hero2-lead strong { color: var(--bordeaux); }
.hero2 .btn-light { background: #fff; color: var(--bordeaux); border: 2px solid #E3C3BF; }
.hero2 .btn-light:hover { background: #FFF4F1; border-color: var(--bordeaux); }
.hero2-logo img { box-shadow: 0 0 0 8px rgba(255,255,255,.7), 0 18px 44px rgba(107,26,38,.18); }
.hero2-logo::after { opacity: .45; }
@media (max-width: 640px) {
  .hero2::before { background: linear-gradient(180deg, rgba(255,250,247,.95), rgba(251,236,232,.97)); }
}
