/* =========================================================
   Les Amis des Pompiers — feuille de styles du site vitrine
   Refonte du 22 octobre 2026 : ton chaleureux, photos, lecture simple.
   L'espace membres (/app/) garde sa propre base : assets/css/style.css.
   Polices hébergées ici (Barlow, SIL Open Font License) : aucun service tiers.
   ========================================================= */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }

/* Toutes les couleurs, tailles et ombres du site se règlent ici. */
:root {
  /* Couleurs du logo */
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13396a;
  --navy-600: #1d4f8f;
  --navy-100: #dfe8f4;
  --navy-050: #eef3f9;

  --red-700: #a8141f;
  --red-600: #d0202f;
  --red-500: #e8414b;
  --red-050: #fdeeee;

  --gold-600: #c97f00;
  --gold-500: #f2a516;
  --gold-100: #fde9c2;
  --gold-050: #fff7e8;

  --green-600: #1f7a4d;
  --green-050: #e8f5ee;

  /* Fonds chaleureux */
  --cream: #fbf8f3;
  --sand: #f4eee4;
  --sand-2: #ebe2d4;

  --ink: #17233a;
  --muted: #5b6577;
  --line: #e6dfd3;
  --line-cool: #dfe5ee;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .05), 0 4px 14px rgba(11, 37, 69, .06);
  --shadow-md: 0 14px 38px -8px rgba(11, 37, 69, .18);
  --shadow-lg: 0 34px 70px -24px rgba(11, 37, 69, .42);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 28px);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--navy-800);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.45rem; line-height: 1.15; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong, b { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Mot mis en valeur dans un titre : soulignement doré à la main */
.surligne {
  background: linear-gradient(transparent 62%, var(--gold-100) 62%, var(--gold-100) 92%, transparent 92%);
  padding-inline: .06em;
}
.page-hero .surligne, .section-navy .surligne { background: linear-gradient(transparent 64%, rgba(242, 165, 22, .45) 64%, rgba(242, 165, 22, .45) 92%, transparent 92%); }

/* ---------- Bandeau urgence ---------- */
.topbar { background: var(--navy-900); color: #dbe5f2; font-size: .92rem; }
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: .3rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-block: .5rem;
}
.topbar strong { color: #fff; font-weight: 700; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold-500); }
.topbar-urgence { display: flex; align-items: center; gap: .55rem; }
.topbar-urgence svg { flex: none; color: var(--red-500); }
.topbar-liens { display: flex; gap: .9rem; align-items: center; }
.topbar-liens a + a { padding-left: .9rem; border-left: 1px solid rgba(255, 255, 255, .3); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(11, 37, 69, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; color: var(--navy-800); letter-spacing: .005em;
}
.brand-name em { font-style: normal; color: var(--red-600); }
.brand-tag { font-size: .74rem; letter-spacing: .08em; color: var(--muted); margin-top: .3rem; font-weight: 600; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--navy-800); color: #fff; border: 0;
  font: 600 .95rem/1 var(--font-body);
  padding: .7rem 1rem; border-radius: 999px; cursor: pointer;
}
.nav-toggle svg { flex: none; }

.main-nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--navy-800); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--sand); color: var(--navy-800); }
.main-nav a[aria-current="page"] { background: #fff; color: var(--red-600); box-shadow: inset 0 0 0 1px var(--line); }
.main-nav .btn { margin-left: .5rem; color: #fff; }
.main-nav .btn:hover { color: #fff; background: var(--red-700); }
.main-nav .btn[aria-current="page"] { background: var(--red-700); color: #fff; box-shadow: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none; padding: .6rem var(--gutter) 1.2rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.08rem; border-radius: var(--radius-sm); }
  .main-nav .btn { margin: .8rem 0 0; }
}
/* Sans JavaScript, le menu reste visible sous l'en-tête. */
@media (max-width: 1100px) { html:not(.js) .main-nav { display: block; position: static; box-shadow: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  padding: .9rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 10px 24px -8px rgba(208, 32, 47, .55); }
.btn-primary:hover { background: var(--red-700); color: #fff; }
.btn-navy { background: var(--navy-800); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 37, 69, .55); }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--gold-050); color: var(--red-600); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn-sm { padding: .58rem 1.05rem; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.lien-fleche { font-weight: 700; text-decoration: none; color: var(--red-600); }
.lien-fleche::after { content: " →"; transition: margin .15s ease; }
.lien-fleche:hover::after { margin-left: .2rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.section-soft { background: var(--sand); }
.section-white { background: #fff; }
.section-navy { background: var(--navy-800); color: #d3deec; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.btn) { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.section-navy .kicker { color: var(--gold-500); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.section-navy .lead { color: #b8c8dd; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 900px; height: 900px; right: -320px; top: -360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 165, 22, .16), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero-intro { font-size: clamp(1.12rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 54ch; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.hero-tags li { position: relative; margin: 0; padding-left: 1.6rem; font-weight: 600; font-size: .98rem; color: var(--navy-700); }
.hero-tags li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.1em; height: 1.1em; border-radius: 50%;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.hero-media { position: relative; }
.hero-media > img {
  width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 40% 30%;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  box-shadow: var(--shadow-lg);
}
.hero-media::before {
  content: ""; position: absolute; z-index: -1; inset: auto -18px -18px auto; width: 62%; height: 62%;
  border-radius: var(--radius-lg); background: var(--red-600); opacity: .9;
}
.hero-badge {
  position: absolute; display: flex; gap: .75rem; align-items: center;
  background: #fff; border-radius: 16px; padding: .85rem 1.1rem; box-shadow: var(--shadow-md);
  max-width: 280px; font-size: .95rem; line-height: 1.35;
}
.hero-badge p { margin: 0; }
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-800); }
.hero-badge .hb-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.hero-badge.badge-haut { left: -28px; top: 9%; }
.hero-badge.badge-haut .hb-icon { background: var(--green-050); color: var(--green-600); }
.hero-badge.badge-bas { right: -14px; bottom: 7%; max-width: 320px; background: var(--navy-800); color: #c9d6e8; }
.hero-badge.badge-bas strong { color: #fff; }
.hero-badge.badge-bas .hb-icon { background: var(--red-600); color: #fff; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-inline: 4px 14px; }
  .hero-media > img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 70px; }
  .hero-grid > div:first-child { padding-top: 1.4rem; }
  .hero-badge.badge-haut { left: 10px; top: auto; bottom: -22px; }
  .hero-badge.badge-bas { display: none; }
}

/* ---------- Accueil : « Vous êtes… » ---------- */
.parcours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.parcours-carte {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.parcours-carte:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.parcours-carte > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.parcours-corps { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.parcours-corps h3 { font-size: 1.6rem; }
.parcours-corps p { color: var(--muted); }
.parcours-corps .btn-row { margin-top: auto; padding-top: .4rem; }
.parcours-etiquette {
  align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem;
  background: var(--navy-050); color: var(--navy-700);
}
.parcours-carte:nth-child(1) .parcours-etiquette { background: var(--gold-050); color: var(--gold-600); }
.parcours-carte:nth-child(2) .parcours-etiquette { background: var(--red-050); color: var(--red-600); }
@media (max-width: 960px) { .parcours { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Oui / Non : ce que nous faisons ---------- */
.oui-non { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.oui-non > div { border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); }
.colonne-oui { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.colonne-non { background: var(--red-600); color: #ffe7e9; }
.colonne-non h3 { color: #fff; }
.colonne-non strong { color: #fff; }
.oui-non h3 { display: flex; gap: .7rem; align-items: center; font-size: 1.6rem; }
.oui-non h3 + p { margin-top: -.2rem; }
.rond { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.colonne-oui .rond { background: var(--green-050); color: var(--green-600); }
.colonne-non .rond { background: rgba(255, 255, 255, .18); color: #fff; }
.liste-oui, .liste-non { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.liste-oui li, .liste-non li { position: relative; padding-left: 2rem; margin: 0; }
.liste-oui li::before, .liste-non li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 1.25em; height: 1.25em; border-radius: 50%;
}
.liste-oui li::before {
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.liste-non li::before {
  background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='13'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.numeros li { margin: 0; background: rgba(0, 0, 0, .14); border-radius: 14px; padding: .7rem .5rem; text-align: center; font-size: .82rem; line-height: 1.25; }
.numeros b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: #fff; margin-bottom: .2rem; }
@media (max-width: 860px) { .oui-non { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Étapes horizontales (comment ça marche) ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes > li {
  counter-increment: etape; position: relative; margin: 0;
  background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.6rem 1.6rem; border: 1px solid var(--line);
}
.etapes > li::before {
  content: counter(etape); position: absolute; top: -22px; left: 1.6rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff;
  background: var(--navy-800); box-shadow: 0 0 0 6px var(--sand);
}
.section-white .etapes > li::before { box-shadow: 0 0 0 6px #fff; }
.etapes > li:nth-child(2)::before { background: var(--gold-600); }
.etapes > li:nth-child(3)::before { background: var(--red-600); }
.etapes h3 { margin-top: .4rem; }
.etapes p:last-child { margin-bottom: 0; color: var(--muted); }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------- Bloc texte + photo ---------- */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.media-split.inverse > .media { order: 2; }
.media { position: relative; }
.media > img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media.media-haute > img { aspect-ratio: 4 / 4.6; }
.media-legende {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; margin: 0;
  background: rgba(255, 255, 255, .94); border-radius: 14px; padding: .8rem 1rem;
  font-size: .95rem; line-height: 1.4; color: var(--navy-800); box-shadow: var(--shadow-sm);
  max-width: 340px;
}
.media-legende strong { color: var(--red-600); }
.media-deco::after {
  content: ""; position: absolute; z-index: -1; width: 46%; height: 46%; left: -18px; top: -18px;
  border-radius: var(--radius-lg); background: var(--gold-500); opacity: .85;
}
.section-navy .media-deco::after { background: var(--red-600); }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; }
  .media-split.inverse > .media { order: 0; }
  .media { margin-inline: 8px 0; }
}

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .55rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--navy-050); color: var(--navy-700);
}
.card-icon.red { background: var(--red-050); color: var(--red-600); }
.card-icon.gold { background: var(--gold-050); color: var(--gold-600); }
.card-icon.green { background: var(--green-050); color: var(--green-600); }
.section-soft .card, .section-soft .etapes > li { border-color: transparent; }

/* Fiches « actions » avec photo */
.actions-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.actions-grille.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-photo {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.action-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.action-photo > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.action-photo .action-corps { position: relative; padding: 1.9rem 1.6rem 1.7rem; flex: 1; }
.action-photo .action-num {
  position: absolute; top: -26px; left: 1.4rem;
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff;
  background: var(--navy-800); box-shadow: 0 0 0 5px #fff;
}
.action-photo:nth-child(even) .action-num { background: var(--red-600); }
.action-photo h3 { font-size: 1.5rem; }
.action-photo .action-corps > p { color: var(--muted); }
.action-photo .note { font-size: .95rem; color: var(--muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
@media (max-width: 1020px) { .actions-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .actions-grille, .actions-grille.deux { grid-template-columns: 1fr; } }

/* Cartes numérotées sans photo (constat) */
.action-card { position: relative; padding-top: 2.2rem; }
.action-num {
  position: absolute; top: -20px; left: 1.5rem;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: #fff;
  background: var(--navy-800);
}
.action-card:nth-child(even) .action-num { background: var(--red-600); }
.grid > .action-card { margin-top: 20px; }

/* Listes à puces */
.tick { list-style: none; padding: 0; margin: 0; }
.tick li { position: relative; padding-left: 1.7rem; margin-top: .55rem; }
.tick li::before {
  content: ""; position: absolute; left: .1rem; top: .58em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--red-600);
  box-shadow: 0 0 0 4px var(--red-050);
}
.tick.tick-navy li::before { background: var(--navy-600); box-shadow: 0 0 0 4px var(--navy-050); }
.tick.tick-gold li::before { background: var(--gold-500); box-shadow: 0 0 0 4px rgba(242, 165, 22, .2); }

/* ---------- Chiffres / valeurs ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1rem; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 1rem 1.1rem; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; line-height: 1; color: var(--gold-500); margin-bottom: .35rem; }
.stat span { font-size: .98rem; color: #c9d6e8; }
.values { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.values li {
  margin: 0; font-weight: 700; font-size: .98rem;
  padding: .5rem 1.05rem; border-radius: 999px;
  background: #fff; color: var(--navy-700); border: 1px solid var(--line);
}
.values li:nth-child(3n+1) { background: var(--red-050); color: var(--red-700); border-color: transparent; }
.values li:nth-child(3n+2) { background: var(--gold-050); color: var(--gold-600); border-color: transparent; }
.section-navy .values li { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }

/* ---------- Étapes verticales ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative; margin: 0;
  padding: 1.25rem 1.4rem 1.25rem 4.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.15rem; top: 1.15rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  background: var(--navy-800); color: #fff;
}
.steps li:nth-child(even)::before { background: var(--red-600); }
.steps h3 { margin-bottom: .25rem; font-size: 1.25rem; }
.steps p:last-child { margin-bottom: 0; color: var(--muted); }
.card .steps li { background: var(--cream); border-color: transparent; }

/* ---------- Encadrés ---------- */
.callout {
  position: relative; background: var(--gold-050); border-radius: var(--radius);
  padding: 1.3rem 1.5rem 1.3rem 1.6rem; border-left: 5px solid var(--gold-500);
}
.callout.red { border-left-color: var(--red-600); background: var(--red-050); }
.callout.navy { border-left-color: var(--navy-600); background: var(--navy-050); }
.callout h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.callout.red h3 { color: var(--red-700); }
.callout p:last-child { margin-bottom: 0; }
.section-navy .callout { color: var(--ink); }
.section-navy .callout h3 { color: var(--navy-800); }
.section-navy .callout.red h3 { color: var(--red-700); }
.section-navy .callout a { color: var(--navy-600); }

/* Encadré urgence pleine largeur (pages intérieures) */
.alerte-urgence {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.3rem 1.6rem; box-shadow: var(--shadow-sm);
}
.alerte-urgence .rond { width: 54px; height: 54px; background: var(--red-600); color: #fff; }
.alerte-urgence h3 { color: var(--red-700); margin-bottom: .3rem; font-size: 1.35rem; }
.alerte-urgence p { margin: 0; color: var(--muted); }
.alerte-urgence p strong { color: var(--ink); }
@media (max-width: 560px) { .alerte-urgence { grid-template-columns: 1fr; } }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: clamp(1.8rem, 5vw, 4rem); align-items: start;
}
@media (min-width: 960px) { .split-wide { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }

/* ---------- Pages intérieures : en-tête avec photo ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-800); color: #d9e5f4;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}
.page-hero > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, .92) 0%, rgba(7, 26, 51, .78) 42%, rgba(7, 26, 51, .25) 100%),
    linear-gradient(0deg, rgba(7, 26, 51, .55), transparent 45%);
}
.page-hero h1 { color: #fff; margin-bottom: .8rem; max-width: 18ch; }
.page-hero p { color: #d7e2f0; max-width: 60ch; font-size: clamp(1.08rem, 1.6vw, 1.22rem); margin: 0; }
.page-hero-simple { background: var(--sand); color: var(--ink); padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.page-hero-simple::before { display: none; }
.page-hero-simple h1 { color: var(--navy-800); }
.page-hero-simple p { color: var(--muted); }
.page-hero-simple .breadcrumb, .page-hero-simple .breadcrumb a { color: var(--muted); }
.breadcrumb { font-size: .9rem; color: #a9bcd5; margin-bottom: 1.2rem; }
.breadcrumb a { color: #e3ecf7; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { padding-inline: .45rem; opacity: .6; }
@media (max-width: 700px) {
  .page-hero::before { background: linear-gradient(0deg, rgba(7, 26, 51, .94) 10%, rgba(7, 26, 51, .7) 100%); }
}

/* ---------- Territoire : grande photo ---------- */
.territoire { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.territoire > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.territoire::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 26, 51, .88) 0%, rgba(7, 26, 51, .55) 50%, rgba(7, 26, 51, .05) 100%);
}
.territoire .wrap { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.territoire-texte { max-width: 560px; }
.territoire h2 { color: #fff; }
.territoire p { color: #dbe6f3; font-size: 1.15rem; }
.territoire .kicker { color: var(--gold-500); }
.lieux { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 1.8rem; list-style: none; }
.lieux li {
  margin: 0; padding: .45rem .95rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 700px) { .territoire::before { background: linear-gradient(0deg, rgba(7, 26, 51, .92) 20%, rgba(7, 26, 51, .55) 100%); } }

/* ---------- Actualités ---------- */
.press-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.press-card + .press-card { margin-top: 1.6rem; }
.press-meta {
  display: inline-block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-600); background: var(--red-050); font-weight: 700;
  padding: .3rem .75rem; border-radius: 999px; margin-bottom: .9rem;
}
.press-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 0; }
.press-card h3 { font-size: 1.55rem; }
blockquote { margin: 0; padding: 1.2rem 1.4rem; background: var(--navy-050); border-radius: var(--radius-sm); font-size: 1.06rem; color: var(--navy-800); }

/* ---------- Bandeau d'appel ---------- */
.band { padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 5.5rem); }
.band .wrap > div:first-child { min-width: 0; }
.band-carte {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem 2.5rem; align-items: center;
  background: linear-gradient(120deg, var(--red-700), var(--red-600) 60%, #e5523a);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 30px 60px -30px rgba(168, 20, 31, .7);
}
.band-carte::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent);
}
.band h2 { color: #fff; margin-bottom: .4rem; }
.band p { margin: 0; color: #ffe1e3; max-width: 58ch; font-size: 1.12rem; }
@media (max-width: 760px) { .band-carte { grid-template-columns: 1fr; } }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.4vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-card > h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid #d9d1c3; border-radius: 12px; background: var(--cream);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px var(--navy-050); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 1.1rem; }
fieldset { border: 0; padding: 0; margin-inline: 0; }
legend { padding: 0; font-weight: 600; font-size: .98rem; margin-bottom: .5rem; }
.checks { display: grid; gap: .5rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.checks li { margin: 0; }
.checks label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.checks input { width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--red-600); flex: none; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: .9rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--green-050); color: var(--green-600); border: 1px solid #bfe3ce; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.contact-list li {
  display: flex; gap: 1rem; margin: 0; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem;
}
.contact-list .ci { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-050); color: var(--red-600); }
.contact-list b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; text-decoration: none; font-size: 1.08rem; }

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem 1.4rem; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2.2rem 1.05rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.3rem/1 var(--font-body); color: var(--red-600); background: var(--red-050);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p { padding-bottom: 1.2rem; margin-bottom: 0; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #a9bcd4; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.2rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer a { color: #d6e1ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .55rem; }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 56px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; line-height: 1.05; }
.footer-urgence {
  background: rgba(208, 32, 47, .16); border: 1px solid rgba(232, 65, 75, .45);
  color: #ffd9dc; border-radius: 12px; padding: .85rem 1rem; margin-top: 1rem; font-size: .94rem;
}
.footer-urgence strong { color: #fff; }
.footer-bottom {
  margin-top: 2.6rem; padding-block: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .9rem;
}
.site-footer .dycast-credit { --dycast-credit-couleur: #8fa5c2; }

/* ---------- Divers ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Petits écrans ---------- */
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { display: none; }
  .topbar { font-size: .84rem; }
  .topbar-liens { display: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-badge { max-width: calc(100% - 20px); }
  .steps li { padding: 1.1rem 1.1rem 1.1rem 3.8rem; }
  .steps li::before { left: .9rem; width: 34px; height: 34px; font-size: 1.1rem; }
}

@media print {
  .topbar, .site-header, .band, .site-footer, .btn-row, .page-hero > img, .territoire > img { display: none !important; }
  .page-hero, .territoire { background: none; color: #000; }
  .page-hero h1, .page-hero p, .territoire h2, .territoire p { color: #000; }
  body { font-size: 12pt; color: #000; background: #fff; }
}
