/* =========================================================
   ATJEG — Assemblée territoriale des jeunes élu·e·s de Guyane
   Feuille de style unique · mobile d'abord
   Couleurs tirées du logo : noir, rouge ATJEG, or des silhouettes,
   et les pagaies (vert, rouge, bleu, jaune, noir).
   ========================================================= */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("../fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --noir: #000;
  --encre: #141414;
  --gris: #5A5E66;
  --gris-clair: #A9AEB6;   /* texte secondaire sur noir */
  --trait: #E3E4E7;
  --blanc: #fff;
  --brume: #F3F4F6;

  --rouge: #E30613;        /* lettres ATJEG */
  --rouge-fonce: #C4000F;
  --rouge-vif: #FF3B45;    /* rouge lisible sur noir */
  --soleil: #F6C31C;       /* jaune de campagne */
  --or: #F5A623;           /* silhouettes du logo */
  --foret: #00843D;
  --fleuve: #0068B4;
  --pagaie-jaune: #F9D857;
  --pagaie-noire: #222;

  --f-titre: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --f-texte: "Atkinson Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 68px;
  --gutter: 16px;
  --max: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--fleuve); outline-offset: 3px; border-radius: 4px; }
.on-noir :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--soleil); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--soleil); color: var(--noir); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 10px; }

/* ---------- Titres ---------- */
.display, .h2, .h3 { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .005em; }
.display { font-weight: 900; font-size: clamp(3.3rem, 14vw, 8.2rem); line-height: .86; }
.h2 { font-weight: 900; font-size: clamp(2.4rem, 8.5vw, 4.4rem); line-height: .9; text-wrap: balance; }
.h3 { font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: .95; }
.kicker { font-weight: 700; font-size: 1rem; margin-bottom: 14px; display: block; }
.lead { font-size: clamp(1.15rem, 3.6vw, 1.35rem); line-height: 1.5; max-width: 38ch; }
.prose { max-width: 64ch; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--gris); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--rouge); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .65em 1.4em;
  border: 2px solid var(--bd); border-radius: 6px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-texte); font-weight: 700; font-size: 1.06rem; line-height: 1.15;
  text-decoration: none; text-align: center;
  transition: background-color .18s, color .18s, transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --bg: var(--rouge-fonce); }
.btn:active { transform: scale(.98); }
.btn--clair { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--clair:hover { --bg: #fff; --fg: var(--noir); --bd: #fff; }
.btn--contour { --bg: transparent; --fg: var(--noir); --bd: var(--noir); }
.btn--contour:hover { --bg: var(--noir); --fg: #fff; }
.btn--noir { --bg: var(--noir); --fg: #fff; }
.btn--noir:hover { --bg: #2a2a2a; }
.btn--sm { min-height: 42px; padding: .45em 1em; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.lien { font-weight: 700; color: var(--rouge-fonce); text-decoration: underline; }
.lien:hover { color: var(--noir); }
.on-noir .lien { color: var(--soleil); }
.on-noir .lien:hover { color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--noir); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; min-width: 0; }
.brand img { height: 50px; width: auto; }
.brand-name { display: none; font-size: .8rem; line-height: 1.25; color: var(--gris-clair); max-width: 15em; }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--noir);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
body.menu-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav li a {
  display: block; padding: 12px 0;
  font-family: var(--f-titre); font-weight: 900; text-transform: uppercase;
  font-size: 2.6rem; line-height: 1; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.main-nav li a[aria-current="page"] { color: var(--soleil); }
.main-nav .nav-cta { display: none; }
.header-cta { display: inline-flex; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: transparent; color: #fff;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
body.menu-open .menu-toggle .i-open { display: none; }
body.menu-open .menu-toggle .i-close { display: block; }

@media (min-width: 560px) {
  .brand-name { display: block; }
}
@media (min-width: 1080px) {
  .menu-toggle, .header-cta { display: none; }
  .main-nav {
    position: static; inset: auto; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 22px;
    visibility: visible; opacity: 1; transform: none; overflow: visible;
  }
  .main-nav ul { flex-direction: row; gap: 4px; }
  .main-nav .nav-cta { display: inline-flex; }
  .main-nav li a {
    font-family: var(--f-texte); text-transform: none; font-weight: 700;
    font-size: 1rem; padding: 8px 12px; border: 0; border-radius: 4px;
    color: #E8E9EB;
  }
  .main-nav li a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .main-nav li a[aria-current="page"] { color: var(--soleil); box-shadow: inset 0 -3px 0 var(--soleil); border-radius: 0; }
}

/* ---------- Bandeaux (sections) ---------- */
.band { padding: 72px 0; position: relative; }
.band--noir { background: var(--noir); color: #fff; }
.band--soleil { background: var(--soleil); color: var(--encre); }
.band--brume { background: var(--brume); }
.band--serre { padding: 48px 0; }
.band-head { margin-bottom: 36px; max-width: 760px; }
.band-head .h2 + p { margin-top: 16px; }
.on-noir { color: #fff; }
.on-noir .muted { color: var(--gris-clair); }

/* Liseré des pagaies : vert, rouge, bleu, jaune */
.pagaies-rule { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.pagaies-rule span:nth-child(1) { background: var(--foret); }
.pagaies-rule span:nth-child(2) { background: var(--rouge); }
.pagaies-rule span:nth-child(3) { background: var(--fleuve); }
.pagaies-rule span:nth-child(4) { background: var(--pagaie-jaune); }

/* ---------- Héros de l'accueil ---------- */
.hero { background: var(--noir); color: #fff; padding: 28px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-logo { width: min(78%, 360px); margin-inline: auto; }
.hero-org { font-size: 1rem; color: var(--gris-clair); margin-bottom: 14px; }
.hero .display { color: #fff; }
.hero .lead { margin-top: 22px; color: #E6E7EA; }
.hero .btn-row { margin-top: 28px; }

@media (min-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; }
  .hero-logo { order: 2; width: 100%; max-width: 520px; }
  .hero-copy { order: 1; }
}

/* ---------- Pastille d'état de l'élection ---------- */
.statut {
  margin-top: 30px; padding: 20px 22px 22px;
  background: var(--soleil); color: var(--encre);
  border-radius: 6px; max-width: 520px;
}
.statut-titre { font-weight: 700; font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.statut-titre .puce { width: 10px; height: 10px; border-radius: 50%; background: var(--encre); flex: none; }
.statut[data-etat="ouvert"] .puce { background: var(--foret); box-shadow: 0 0 0 4px rgba(0,132,61,.22); }
.statut[data-etat="clos"] .puce { background: var(--gris); }
.statut-texte { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 6vw, 2.3rem); line-height: .95; margin-top: 8px; text-wrap: balance; }
.statut-detail { margin-top: 8px; font-size: .98rem; }
.compteur { display: flex; gap: 8px; margin-top: 14px; }
.compteur[hidden] { display: none; }
.compteur div { min-width: 64px; padding: 6px 8px 4px; background: var(--noir); color: #fff; border-radius: 4px; text-align: center; }
.compteur span { display: block; font-family: var(--f-titre); font-weight: 900; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.compteur small { display: block; font-size: .72rem; color: var(--gris-clair); }
.statut--noir { background: var(--noir); color: #fff; }
.statut--noir .puce { background: var(--soleil); }
.statut--noir .compteur div { background: var(--soleil); color: var(--noir); }
.statut--noir .compteur small { color: #4a4a4a; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { background: var(--noir); color: #fff; padding: 48px 0 56px; }
.page-hero .display { font-size: clamp(3rem, 12vw, 6.6rem); }
.page-hero .lead { margin-top: 20px; color: #E6E7EA; max-width: 44ch; }
.page-hero--soleil { background: var(--soleil); color: var(--encre); }
.page-hero--soleil .lead { color: var(--encre); }
.page-hero--soleil .hero-org { color: var(--encre); }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-grid { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .page-hero { padding: 72px 0 80px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: end; }
  .page-hero-grid .statut { margin-top: 0; }
}

/* ---------- Deux colonnes ---------- */
.split { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .split--large-gauche { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}

/* ---------- Verbes (missions) ---------- */
.verbes { display: grid; gap: 0; border-top: 3px solid var(--noir); }
.verbes li { padding: 20px 0 22px; border-bottom: 1px solid var(--trait); }
.verbes h3 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.verbes p { margin-top: 6px; color: var(--gris); max-width: 46ch; }
.verbes li:nth-child(1) h3 { color: var(--foret); }
.verbes li:nth-child(2) h3 { color: var(--rouge); }
.verbes li:nth-child(3) h3 { color: var(--fleuve); }

/* ---------- Étapes (séquences numérotées) ---------- */
.etapes { display: grid; gap: 0; counter-reset: etape; }
.etapes > li { counter-increment: etape; position: relative; padding: 18px 0 22px 64px; border-top: 3px solid currentColor; }
.etapes > li::before {
  content: counter(etape);
  position: absolute; left: 0; top: 10px;
  font-family: var(--f-titre); font-weight: 900; font-size: 3.4rem; line-height: 1;
}
.etapes h3 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.etapes p { margin-top: 6px; max-width: 42ch; }
@media (min-width: 760px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1040px) {
  .etapes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.etapes--courtes > li { padding-left: 54px; }
.etapes--courtes > li::before { font-size: 2.8rem; }
.etapes > li.est-actuelle::after {
  content: "En cours"; position: absolute; left: 0; top: -14px;
  font-size: .8rem; font-weight: 700; padding: 3px 8px; border-radius: 3px;
  background: var(--noir); color: var(--soleil);
}

/* ---------- Bassins et collèges ---------- */
.bassins { border-top: 3px solid var(--noir); }
.bassins li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.bassins .pagaie { width: 64px; flex: none; }
.bassins b { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.pagaie--vert { color: var(--foret); }
.pagaie--rouge { color: var(--rouge); }
.pagaie--bleu { color: var(--fleuve); }
.pagaie--jaune { color: #E8B800; }
.pagaie--noir { color: var(--pagaie-noire); }

.colleges { display: grid; gap: 12px; }
.colleges li { padding: 16px 18px; border: 2px solid var(--noir); border-radius: 6px; }
.colleges b { display: block; font-size: 1.1rem; }
.colleges span { display: block; color: var(--gris); font-size: .98rem; margin-top: 2px; }
@media (min-width: 600px) { .colleges { grid-template-columns: 1fr 1fr; } }

.note { margin-top: 18px; font-size: .98rem; color: var(--gris); max-width: 60ch; }
.on-noir .note { color: var(--gris-clair); }

/* ---------- Agenda ---------- */
.agenda { border-top: 3px solid currentColor; }
.agenda li { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.agenda time, .agenda .quand { font-family: var(--f-titre); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.agenda .a-venir { color: var(--gris); }
.agenda h3 { font-size: 1.15rem; line-height: 1.3; }
.agenda p { color: var(--gris); margin-top: 2px; }
@media (min-width: 760px) { .agenda li { grid-template-columns: 240px minmax(0, 1fr); align-items: baseline; } }

/* ---------- Actualités ---------- */
.actus { display: grid; gap: 20px; }
.actu { border-top: 3px solid var(--noir); padding-top: 16px; }
.actu .date { font-size: .95rem; color: var(--gris); }
.actu h3 { font-size: 1.3rem; line-height: 1.25; margin-top: 4px; }
.actu p { margin-top: 8px; color: var(--gris); }
.actu .lien { display: inline-block; margin-top: 10px; }
@media (min-width: 760px) { .actus { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- S'engager (bloc noir) ---------- */
.engager { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.engager li { border-bottom: 1px solid rgba(255,255,255,.2); }
.engager a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; text-decoration: none;
}
.engager b { display: block; font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3.2rem); line-height: .95; }
.engager span { display: block; color: var(--gris-clair); margin-top: 6px; max-width: 52ch; }
.engager .icon { width: 34px; height: 34px; color: var(--soleil); transition: transform .2s var(--ease); }
.engager a:hover b { color: var(--soleil); }
.engager a:hover .icon { transform: translateX(6px); }

/* ---------- Modules intégrés (MyCopilotEvent) ---------- */
.integration { position: relative; }
.integration iframe { width: 100%; min-height: 640px; border: 0; display: block; background: #fff; border-radius: 6px; }
.integration-lien { margin-top: 12px; font-size: .95rem; color: var(--gris); }
.attente {
  border: 2px dashed #C9CCD1; border-radius: 8px; padding: 28px 24px;
  display: grid; gap: 10px; justify-items: start;
}
.attente h3 { font-size: 1.3rem; line-height: 1.25; }
.attente p { color: var(--gris); max-width: 56ch; }
.attente .btn-row { margin-top: 6px; }
.on-noir .attente { border-color: rgba(255,255,255,.3); }
.on-noir .attente p { color: var(--gris-clair); }
.chargement { display: flex; align-items: center; gap: 12px; color: var(--gris); padding: 20px 0; }
.chargement::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--trait); border-top-color: var(--rouge); animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Bloc formulaire de candidature */
.formulaire { background: var(--blanc); border-radius: 8px; }
.formulaire-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }

/* ---------- Conseils / listes à puces ---------- */
.puces li { position: relative; padding-left: 28px; margin-top: 12px; max-width: 60ch; }
.puces li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 4px; border-radius: 2px; background: var(--rouge); }
.on-noir .puces li::before { background: var(--soleil); }
.puces--vert li::before { background: var(--foret); }

.conditions { display: grid; gap: 14px; }
.conditions li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.conditions .icon { width: 32px; height: 32px; color: var(--foret); }
.conditions b { display: block; }

/* ---------- Tableau calendrier ---------- */
.calendrier { width: 100%; border-collapse: collapse; }
.calendrier th, .calendrier td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(0,0,0,.15); vertical-align: top; }
.calendrier thead th { font-size: .9rem; color: inherit; border-bottom: 3px solid currentColor; padding-bottom: 8px; }
.calendrier td:first-child { font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; width: 42%; }
.calendrier .a-venir { opacity: .7; }

/* ---------- FAQ ---------- */
.faq { border-top: 3px solid var(--noir); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font-weight: 700; font-size: 1.12rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-titre); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--rouge); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 20px; max-width: 64ch; color: #33363c; }
.faq .reponse p + p { margin-top: .7em; }

/* ---------- QR code ---------- */
.qr { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.qr-code { flex: none; width: 180px; max-width: none; padding: 12px; background: #fff; border-radius: 6px; border: 2px solid var(--noir); }
.qr-url { font-family: var(--f-titre); font-weight: 900; font-size: 2rem; text-transform: uppercase; line-height: 1; }

/* ---------- Fiche contact ---------- */
.contact { font-style: normal; display: grid; gap: 6px; }
.contact b { font-size: 1.1rem; }

/* ---------- Partenaires ---------- */
.partenaires { padding: 48px 0; border-top: 1px solid var(--trait); }
.partenaires-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.partenaires p { font-weight: 700; max-width: 26ch; }
.partenaires img { height: 96px; width: auto; }

/* ---------- Mentions légales ---------- */
.legal h2 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 2rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 22px 0 6px; }
.legal p, .legal li { max-width: 70ch; }
.legal p + p { margin-top: .8em; }
.legal ul { margin-top: 8px; }
.legal ul li { position: relative; padding-left: 20px; margin-top: 6px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 3px; background: var(--rouge); }
.a-completer { background: #FFF1B8; padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #fff; padding: 0 0 32px; }
.footer-grid { display: grid; gap: 32px; padding-top: 48px; }
.footer-logo { width: 200px; }
.footer-grid h2 { font-size: .95rem; color: var(--gris-clair); font-weight: 700; margin-bottom: 10px; }
.footer-nav a { display: block; padding: 5px 0; text-decoration: none; font-weight: 700; }
.footer-nav a:hover { color: var(--soleil); }
.footer-contact { font-style: normal; color: #D9DBDF; font-size: .98rem; }
.footer-contact a { color: #fff; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.reseaux a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; text-decoration: none; font-size: .95rem; }
.reseaux a:hover { background: #fff; color: var(--noir); }
.reseaux:empty { display: none; }
.footer-bas { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; color: var(--gris-clair); }
.footer-bas a { color: var(--gris-clair); }
.footer-bas a:hover { color: #fff; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.1fr .8fr 1.1fr; gap: 48px; }
}

/* ---------- Barre mobile « Candidater » ---------- */
.barre-candidater {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--soleil); color: var(--encre);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.barre-candidater.est-visible { transform: none; }
.barre-candidater p { font-weight: 700; line-height: 1.25; font-size: .98rem; }
.barre-candidater small { display: block; font-weight: 400; }
@media (min-width: 900px) { .barre-candidater { display: none; } }

/* ---------- Page 404 ---------- */
.introuvable { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.compteur-label { margin-top: 14px; font-size: .9rem; font-weight: 700; }
.compteur-label + .compteur { margin-top: 6px; }
.formulaire iframe { max-width: 760px; margin-inline: auto; min-height: 900px; }
.formulaire .integration-lien { text-align: center; }
.reseaux--clair a { border-color: var(--noir); color: var(--noir); }
.reseaux--clair a:hover { background: var(--noir); color: #fff; }
.on-noir .btn--contour { --fg: #fff; --bd: rgba(255,255,255,.55); }
.on-noir .btn--contour:hover { --bg: #fff; --fg: var(--noir); --bd: #fff; }
