/* ==========================================================================
   Plateforme « Voix silencieuses » : CSS global
   Variables, base, header/footer partagés et composants communs.
   Les valeurs (couleurs, clamp, rayons, ombres) sont reprises à l'identique
   des maquettes Claude Design.
   ========================================================================== */

:root {
  /* Couleurs */
  --navy: #0F2A3F;
  --navy-2: #123650;
  --navy-3: #164257;
  --navy-slate: #39546B;
  --navy-dark: #0B2233;
  --cream: #F7F5F0;
  --gold: #C68A2E;
  --gold-dark: #B07A24;
  --gold-light: #E8B45C;
  --teal: #1F7A6B;
  --teal-light: #7BC4B4;
  --gray: #EDEDED;
  --ink: #1A1A1A;
  --text-2: #444;
  --text-3: #555;
  --field-border: #DDD8CE;
  --field-bg: #FDFCFA;
  --error: #A33B2E;
  /* Ombres */
  --shadow-card: 0 3px 14px rgba(15, 42, 63, .07);
  --shadow-card-md: 0 4px 18px rgba(15, 42, 63, .08);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; }

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 76px;
}

/* Icônes SVG au trait (paths des maquettes) */
.icon {
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--teal { stroke: var(--teal); }

/* Conteneurs centrés */
.wrap-720  { max-width: 720px;  margin: 0 auto; }
.wrap-760  { max-width: 760px;  margin: 0 auto; }
.wrap-800  { max-width: 800px;  margin: 0 auto; }
.wrap-900  { max-width: 900px;  margin: 0 auto; }
.wrap-1000 { max-width: 1000px; margin: 0 auto; }
.wrap-1100 { max-width: 1100px; margin: 0 auto; }
.wrap-1200 { max-width: 1200px; margin: 0 auto; }

/* ==========================================================================
   Header partagé (injecté par js/layout.js)
   ========================================================================== */

.topbar {
  background: var(--navy-dark);
  color: var(--cream);
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  letter-spacing: .02em;
}
.topbar__label { opacity: .8; }
.topbar a { color: var(--gold); font-weight: 700; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 42, 63, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}
.header__brand {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.header__brand img { height: 46px; width: auto; display: block; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-desktop__item { position: relative; }
.nav-desktop__link {
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 11px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-desktop__link:hover { background: rgba(255, 255, 255, .1); color: var(--cream); }
.nav-desktop__link--active {
  font-weight: 800;
  background: rgba(198, 138, 46, .2);
  color: var(--gold-light);
}
.nav-desktop__chev { font-size: 10px; color: var(--gold); }
.nav-desktop__cta {
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 10px;
  margin-left: 6px;
}
.nav-desktop__cta:hover { background: var(--gold-dark); color: #fff; }

/* Menu déroulant bureau */
.nav-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(11, 34, 51, .28);
  padding: 8px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.nav-drop[hidden] { display: none; }
.nav-drop__link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 10px;
}
.nav-drop__link:hover { background: var(--cream); color: var(--navy); }
.nav-drop__link--active {
  background: rgba(198, 138, 46, .12);
  color: var(--gold-dark);
  font-weight: 800;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}
.menu-btn span:nth-child(2) { background: var(--gold); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  overflow-y: auto;
  padding: 20px;
  animation: fadeUp .25s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-menu__top img {
  height: 40px;
  width: auto;
}
.mobile-menu__close {
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: var(--cream);
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__item { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu__row { display: flex; align-items: stretch; }
.mobile-menu__link {
  flex: 1;
  color: var(--cream);
  font-size: 20px;
  font-weight: 700;
  padding: 15px 4px;
  display: block;
}
.mobile-menu__link:hover { color: var(--gold); }
.mobile-menu__link--active { color: var(--gold); }
.mobile-menu__chevron {
  width: 48px;
  border: none;
  background: none;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
}
.mobile-menu__sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px 14px 16px;
}
.mobile-menu__item--open .mobile-menu__sub { display: flex; }
.mobile-menu__sub a {
  color: rgba(247, 245, 240, .8);
  font-size: 16px;
  padding: 10px 0;
}
.mobile-menu__sub a:hover { color: var(--gold); }
.mobile-menu__cta {
  display: block;
  text-align: center;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  border-radius: 14px;
  margin-top: 24px;
}
.mobile-menu__cta:hover { color: #fff; background: var(--gold-dark); }
.mobile-menu__phone {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(247, 245, 240, .7);
}
.mobile-menu__phone a { color: var(--gold); font-weight: 700; }

/* Barre d'action mobile (bas d'écran) */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(15, 42, 63, .97);
  backdrop-filter: blur(8px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.bottom-bar__cta {
  flex: 1;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  min-height: 44px;
}
.bottom-bar__cta:hover { color: #fff; background: var(--gold-dark); }
.bottom-bar__call {
  width: 52px;
  border: 1.5px solid rgba(247, 245, 240, .4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 19px;
}

/* Bascule bureau / mobile : seuil 1000px, identique à la maquette */
@media (min-width: 1000px) {
  .nav-desktop { display: flex; }
  .menu-btn, .bottom-bar { display: none; }
  .page { padding-bottom: 0; }
  .footer { padding-bottom: clamp(44px, 6vw, 76px); }
}

/* ==========================================================================
   Pied de page partagé (injecté par js/layout.js)
   ========================================================================== */

.footer {
  background: linear-gradient(180deg, var(--navy), var(--navy-dark));
  color: var(--cream);
  padding: clamp(44px, 6vw, 76px) 20px 110px;
  margin-top: auto;
  /* Liseré doré : marque le début du footer, y compris quand la section qui
     précède est elle aussi sur fond marine (page Vidéos). */
  border-top: 3px solid var(--gold);
}
.footer__inner { max-width: 1200px; margin: 0 auto; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.footer__logos {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.footer__logos img {
  height: 52px;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
}
.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 245, 240, .75);
  margin: 0 0 18px;
  max-width: 34ch;
}
.footer__coords {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer__coord { display: flex; gap: 10px; align-items: center; }
.footer__coord--top { align-items: flex-start; }
.footer__coord .diamond { color: var(--gold); flex: none; }
.footer__coord span:not(.diamond) { color: rgba(247, 245, 240, .85); }
.footer__coord a { color: var(--cream); font-weight: 600; }
.footer__coord a:hover { color: var(--gold); }
.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.footer__socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.footer__socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.footer h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin: 0 0 16px;
}
.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 18px;
}
.footer__nav a {
  color: rgba(247, 245, 240, .8);
  font-size: 14px;
  padding: 7px 0;
}
.footer__nav a:hover { color: var(--gold); }
.footer__loi25 {
  margin-top: 22px;
  background: rgba(31, 122, 107, .18);
  border: 1px solid rgba(31, 122, 107, .45);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(247, 245, 240, .8);
}
.footer__loi25 strong { color: var(--teal-light); }
.footer__news-desc {
  font-size: 14px;
  color: rgba(247, 245, 240, .75);
  line-height: 1.6;
  margin: 0 0 14px;
}
.footer__form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.footer__form input {
  flex: 1;
  min-width: 170px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
}
.footer__form input::placeholder { color: rgba(247, 245, 240, .6); }
.footer__form button {
  background: var(--gold);
  border: none;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 44px;
}
.footer__form button:hover { background: var(--gold-dark); }
.footer__form button:disabled { opacity: .7; cursor: default; }
.footer__news-msg {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  margin: -12px 0 22px;
}
.footer__news-msg[hidden] { display: none; }
.footer__news-msg--ok { color: var(--teal-light); }
.footer__news-msg--err { color: #E8A196; }
.footer__map {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 14px;
  filter: saturate(.85);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247, 245, 240, .55);
}

/* ==========================================================================
   Héros de page (commun à 9 pages)
   ========================================================================== */

.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: var(--cream);
  padding: clamp(40px, 6vw, 72px) 20px;
}
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.page-hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.page-hero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(247, 245, 240, .82);
  margin: 0;
  max-width: 64ch;
}
.page-hero__lead--pills { margin: 0 0 24px; }

.anchor-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.anchor-pill {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 100px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.anchor-pill:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ==========================================================================
   Titres et textes de section
   ========================================================================== */

.section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.h-lg {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
}
.h-md {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 20px;
}
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 72ch;
}
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin: 0; }

/* ==========================================================================
   Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  border-radius: 12px;
  min-height: 44px;
  cursor: pointer;
}
.btn--gold {
  background: var(--gold);
  border: none;
  color: #fff;
}
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--outline-gold {
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 22px;
}
.btn--outline-gold:hover { background: var(--gold); color: #fff; }
.btn--navy {
  background: var(--navy);
  border: none;
  color: var(--cream);
}
.btn--navy:hover { background: var(--navy-2); color: var(--cream); }

/* ==========================================================================
   Cartes, chips, badges
   ========================================================================== */

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.card--r16 { border-radius: 16px; }
.card--r20 { border-radius: 20px; }
.card--r22 { border-radius: 22px; }

.chip {
  background: var(--gray);
  color: var(--navy);
  font-weight: 600;
  border-radius: 100px;
}
.chip--md { font-size: 13px; padding: 8px 14px; }
.chip--sm { font-size: 12.5px; padding: 7px 12px; }

.tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--gray);
  color: var(--navy);
}

.badge-sq {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.bg-teal  { background: var(--teal); }
.bg-gold  { background: var(--gold); }
.bg-navy  { background: var(--navy); }
.bg-slate { background: var(--navy-slate); }

/* Rangée « badge + texte » (Étude/impact, Méthodologie/démarche) */
.badge-row {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.badge-row strong { color: var(--navy); font-size: 15.5px; }
.badge-row span:not(.badge-sq) {
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.6;
}

/* Bandes sombres */
.band-dark { background: var(--navy-dark); color: var(--cream); }
.band-navy { background: var(--navy); color: var(--cream); }

/* Bande CTA sombre (Étude, Corpus…) */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Accordéons (Corpus, Résultats)
   ========================================================================== */

.acc-item { overflow: hidden; }
.acc-trigger {
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.acc-chevron { color: var(--gold); font-size: 18px; flex: none; }
.acc-panel[hidden] { display: none; }

/* ==========================================================================
   Galerie masonry + lightbox (Terrain, Conférence)
   ========================================================================== */

.masonry { columns: 3 220px; column-gap: 14px; }
.masonry button {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 14px;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
}
.masonry img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform .2s ease;
}
.masonry button:hover img { transform: scale(1.02); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 34, 51, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox__close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: var(--cream);
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
}

/* ==========================================================================
   Scroller horizontal à défilement magnétique (Accueil, Résultats)
   ========================================================================== */

.scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroller > * { scroll-snap-align: start; }

/* ==========================================================================
   Champs de formulaire (Contact, modale Résultats)
   ========================================================================== */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--field-border);
  border-radius: 12px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--field-bg);
}
.field textarea { resize: vertical; }
.form-error {
  color: var(--error);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 12px;
}
.form-error[hidden] { display: none; }

/* Écran de confirmation (Contact, modale Résultats) */
.form-success__check {
  border-radius: 50%;
  background: #E7F0ED;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ==========================================================================
   Indicateur de chargement (blocs alimentés par Google Sheets / Drive)
   ========================================================================== */

@keyframes vsPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}
@keyframes vsShimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
@keyframes vsSpin {
  to { transform: rotate(360deg); }
}

/* Message textuel avec petite roue */
.vs-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 48px) 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-3);
  animation: vsPulse 1.6s ease-in-out infinite;
}
.vs-loading[hidden] { display: none; }
.vs-loading::before {
  content: '';
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid rgba(198, 138, 46, .3);
  border-top-color: var(--gold);
  animation: vsSpin .8s linear infinite;
}
.vs-loading--light { color: rgba(247, 245, 240, .8); }

/* Blocs fantômes qui préfigurent la mise en page finale */
.vs-skeleton {
  background: linear-gradient(90deg,
    rgba(15, 42, 63, .06) 25%,
    rgba(15, 42, 63, .12) 37%,
    rgba(15, 42, 63, .06) 63%);
  background-size: 200% 100%;
  animation: vsShimmer 1.4s ease-in-out infinite;
  border-radius: 16px;
}
.vs-skeleton--light {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .06) 25%,
    rgba(255, 255, 255, .14) 37%,
    rgba(255, 255, 255, .06) 63%);
  background-size: 200% 100%;
}
.vs-skeleton-grid {
  display: grid;
  gap: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .vs-loading, .vs-loading::before, .vs-skeleton { animation: none; }
}

/* État vide d'un bloc alimenté par la base de données */
.res-empty {
  padding: clamp(32px, 5vw, 56px) 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 15.5px;
}
.res-empty[hidden] { display: none; }
.res-empty--light { color: rgba(247, 245, 240, .75); }

/* Pilules de filtre (Résultats) */
.filter-pill {
  border: 1.5px solid #D8D4CC;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 100px;
  cursor: pointer;
  min-height: 44px;
}
.filter-pill.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
}

/* ==========================================================================
   Modale « Recevoir par courriel » (accueil, mini-guides, synthèse)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 34, 51, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal__card {
  background: #fff;
  border-radius: 22px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  animation: fadeUp .25s ease;
  position: relative;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--gray);
  color: var(--navy);
  border-radius: 12px;
  font-size: 19px;
  cursor: pointer;
}
.modal__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.modal__titre {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  padding-right: 44px;
}
.modal__sub {
  font-size: 13.5px;
  color: #666;
  line-height: 1.55;
  margin: 0 0 18px;
}
.modal .field { font-size: 13px; min-width: 0; }
.modal .field input, .modal .field select { width: 100%; min-width: 0; }
.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  align-items: end;
}
@media (max-width: 459px) {
  .modal__grid { grid-template-columns: 1fr; }
}
.modal .field--courriel { margin-bottom: 12px; }
.field__opt { font-weight: 500; color: #999; }
.modal .form-error { font-size: 13px; margin: 0 0 10px; }
.modal__submit {
  font-size: 15px;
  padding: 14px;
  width: 100%;
  justify-content: center;
}
.modal__note {
  font-size: 11.5px;
  color: #888;
  line-height: 1.5;
  margin: 12px 0 0;
}
.modal__sent {
  text-align: center;
  padding: 16px 4px;
}
.modal__sent[hidden] { display: none; }
.modal__sent .form-success__check {
  width: 60px;
  height: 60px;
  font-size: 26px;
  margin-bottom: 14px;
}
.modal__sent h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.modal__sent p {
  font-size: 14.5px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}
.modal__form[hidden] { display: none; }
