/* Site des Arches Citoyennes, d'après la maquette « Page d'accueil » du 03/11/2026.
   Les quatre couleurs de marque viennent de perso/militant/communication/charte-graphique/palette.json.
   Le bleu vif et le rouge ne servent qu'en aplat ou en filet ; en texte, leurs nuances lisibles. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(polices/montserrat.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(polices/open-sans.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/open-sans-italique.woff2) format('woff2'); }

:root {
  --nuit: #002850;
  --bleu: #1A66F0;
  --bleu-texte: #1558D0;
  --rouge: #E3303C;
  --rouge-texte: #C21F2C;
  --fond: #FDF9F3;
  --encre: #1B2A4A;
  --ardoise: #4A5675;
  --gris: #5A6580;
  --ligne: #D5DCEC;
  --bord: #B9C6E0;
  --pale: #E6ECFA;
  --sable: #EAE3D5;
  --carte: #FFFFFFCC;
  --voile: #FFFFFF80;
  --titres: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --texte: 'Open Sans', 'Segoe UI', system-ui, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16px; }
img { max-width: 100%; }
a { color: var(--nuit); }
a:hover { color: var(--rouge-texte); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.evitement { position: absolute; left: -9999px; top: 8px; background: var(--nuit); color: #FFF; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.evitement:focus { left: 8px; color: #FFF; }

/* Icônes */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ir { width: 24px; height: 24px; fill: none; stroke: #FFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ir .plein, symbol .plein { fill: #FFF; stroke: none; }
.rond { width: 36px; height: 36px; border-radius: 50%; background: var(--pale); color: var(--nuit); display: flex; align-items: center; justify-content: center; flex: none; }

/* Gabarit */
.w { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.bande { background: var(--voile); border-top: 1.5px solid var(--ligne); border-bottom: 1.5px solid var(--ligne); }
.t { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 14px; }
.t h2 { font-family: var(--titres); font-weight: 800; font-size: clamp(23px, 4.4vw, 30px); line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); margin: 0; text-align: center; }
.t i { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--bleu); flex: none; }
.t i.r { background: var(--rouge); }
.lead { text-align: center; max-width: 680px; margin: 0 auto 34px; font-size: 17px; line-height: 1.6; }
.lab { font-family: var(--titres); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-texte); margin: 0 0 8px; }
.card { background: var(--carte); border: 1.5px solid var(--bord); border-radius: 16px; padding: 24px; }
.card h3 { font-family: var(--titres); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); margin: 0 0 6px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; }

/* Boutons */
.btn, .btn2, .btn-blanc { display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; }
.btn { background: var(--bleu); color: #FFF; padding: 13px 26px; }
.btn:hover { background: var(--nuit); color: #FFF; }
.btn2 { border: 2px solid var(--nuit); color: var(--nuit); padding: 11px 24px; }
.btn-blanc { background: #FFF; color: var(--nuit); padding: 13px 26px; }
.btn-blanc:hover { background: var(--pale); color: var(--nuit); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.actions-centre { justify-content: center; gap: 14px; margin-top: 0; }

/* En-tête */
.entete { border-bottom: 1.5px solid var(--ligne); }
.entete-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.entete-logo { height: 68px; width: 68px; object-fit: contain; display: block; }
.menu { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14.5px; font-weight: 600; }
.menu a { text-decoration: none; }
.menu-bouton { display: none; }

/* Héros */
.heros { padding: 56px 0 0; overflow: hidden; }
.heros-corps { text-align: center; }
.heros-logo { height: 150px; width: 150px; object-fit: contain; }
.heros h1 { font-family: var(--titres); font-weight: 800; font-size: clamp(28px, 5.4vw, 40px); line-height: 1.15; color: var(--nuit); margin: 8px auto 18px; max-width: 820px; }
.heros-texte { font-size: 19px; line-height: 1.55; max-width: 600px; margin: 0 auto 28px; }
.arches { display: flex; gap: 12px; justify-content: center; align-items: flex-end; margin-top: 36px; }
.arches span { flex: 0 1 84px; background: var(--sable); border-radius: 999px 999px 0 0; }
.arches span:nth-child(1), .arches span:nth-child(7) { height: 70px; }
.arches span:nth-child(2), .arches span:nth-child(6) { height: 110px; }
.arches span:nth-child(3), .arches span:nth-child(5) { height: 150px; }
.arches span:nth-child(4) { height: 190px; }

/* Agenda */
.agenda { padding: 48px 0 72px; }
.legende { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.legende-note { font-weight: 400; }
.pastille { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.pastille-arches { background: var(--bleu); }
.pastille-autres { background: var(--rouge-texte); }
.car { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; justify-content: safe center; }
.ev { flex: 0 0 250px; scroll-snap-align: start; background: var(--carte); border: 1.5px solid var(--bord); border-top: 5px solid var(--bleu); border-radius: 16px; padding: 18px; }
.ev-autres { border-top-color: var(--rouge-texte); }
.ev-type { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ev-rond { width: 34px; height: 34px; border-radius: 50%; background: var(--bleu); color: #FFF; display: flex; align-items: center; justify-content: center; flex: none; }
.ev-autres .ev-rond { background: var(--rouge-texte); }
.ev-type .lab { margin: 0; }
.ev-autres .lab { color: var(--rouge-texte); }
.ev-date { font-family: var(--titres); font-weight: 800; font-size: 18px; color: var(--nuit); margin: 0; }
.ev-lieu { margin: 2px 0 10px; font-size: 13px; }
.ev h3 { font-family: var(--titres); font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--nuit); margin: 0 0 6px; }
.ev-texte { margin: 0; font-size: 14px; line-height: 1.45; }
.agenda-etat { margin: 8px 0 14px; font-size: 15px; }
.types { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; margin: 8px 0 20px; padding: 0; font-size: 13px; font-weight: 600; color: var(--nuit); }
.types li { display: flex; align-items: center; gap: 4px; }
.types .ic { width: 16px; height: 16px; }
.calendrier { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; padding: 18px 22px; }
.calendrier-mois { flex: 0 1 230px; }
.calendrier-texte { flex: 1 1 280px; }
.calendrier-adresse { margin-top: 12px !important; font-size: 13px !important; overflow-wrap: anywhere; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 12px; }
.cal span { padding: 5px 0; border-radius: 6px; }
.cal .h { font-size: 10px; font-weight: 600; color: var(--gris); padding: 2px 0; }
.cal .ea { background: var(--bleu); color: #FFF; font-weight: 600; }
.cal .eo { background: var(--rouge-texte); color: #FFF; font-weight: 600; }
.cal .auj { box-shadow: inset 0 0 0 1.5px var(--nuit); }

/* Qui sommes-nous */
.qui { padding: 72px 0; }
.qui-texte { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.qui-texte p { margin: 0 0 16px; }

.but { max-width: 760px; margin: 0 auto 28px; background: var(--carte); border: 1.5px solid var(--bord); border-left: 4px solid var(--rouge-texte); border-radius: 12px; padding: 16px 20px; }
.but .lab { margin: 0 0 6px; }
.but p:last-child { font-family: var(--titres); font-weight: 600; font-size: 17px; line-height: 1.5; color: var(--nuit); margin: 0; }

/* Valeurs */
.valeurs { padding: 56px 0; }
.preambule { max-width: 780px; margin: 0 auto 26px; text-align: center; }
.preambule p { font-size: 15.5px; line-height: 1.6; margin: 0 0 10px; }
.preambule .lab { font-size: 12px; margin: 0 0 8px; }
.v3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 0; }
.v3 .valeur { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; padding: 16px 18px; }
.valeur-nom { border-radius: 8px; padding: 8px; text-align: center; font-family: var(--titres); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--nuit); }
.valeur-bleu { background: #D8DEF2; }
.valeur-sable { background: #F0E4D6; }
.valeur-rose { background: #F8CFCB; }
.card .valeur-devise { font-style: italic; font-size: 14px; line-height: 1.45; margin: 10px 0 8px; color: var(--ardoise); }
.card .valeur-point { font-size: 13.5px; line-height: 1.45; margin: 8px 0 0; }
.valeur-point .lab { display: block; font-size: 11px; margin: 0; }
.engagement { text-align: center; font-size: 14.5px; line-height: 1.55; max-width: 700px; margin: 20px auto 0; }
.engagement-note { font-size: 13px; color: var(--ardoise); }

/* Suivez-nous */
.suivez { padding: 40px 0 48px; background: var(--voile); border-top: 1.5px solid var(--ligne); }
.suivez-titre { font-family: var(--titres); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); text-align: center; margin: 0 0 6px; }
.suivez-texte { text-align: center; font-size: 15px; margin: 0 0 18px; }
.reseaux { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.reseaux a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.reseau { width: 44px; height: 44px; border-radius: 50%; background: var(--nuit); display: flex; align-items: center; justify-content: center; }
#publications { margin-top: 28px; }
.vis { flex: 0 0 128px; scroll-snap-align: start; aspect-ratio: 4 / 5; background: #FFFFFFAA; border: 1px solid var(--bord); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; background-size: cover; background-position: center; }
.vt { font-family: var(--titres); font-weight: 700; font-size: 11px; line-height: 1.25; color: var(--nuit); margin: 0 0 6px; }
.vf { font-size: 10px; color: var(--gris); margin: 0; }

/* Organisation */
.organisation { padding: 48px 0; }
.organisation-corps { max-width: 860px; }
.organisation .t h2, .reseau-sec .t h2 { font-size: clamp(21px, 4vw, 26px); }
.organisation .lead { font-size: 15.5px; margin-bottom: 20px; }
.oc { display: flex; gap: 10px; align-items: flex-start; background: var(--carte); border: 1.5px solid var(--bord); border-left: 4px solid var(--bleu); border-radius: 12px; padding: 10px 12px; }
.oc-rouge { border-left-color: var(--rouge-texte); }
.oc-nuit { border-left-color: var(--nuit); }
.oc-blanc { background: #FFF; }
.oc b { font-family: var(--titres); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); display: block; margin-bottom: 2px; }
.oc .tx { font-size: 13px; line-height: 1.45; }
.ib { width: 32px; height: 32px; border-radius: 50%; background: var(--pale); color: var(--nuit); display: flex; align-items: center; justify-content: center; flex: none; }
.ib .ic { width: 18px; height: 18px; }
.fleche { text-align: center; font-size: 13px; font-style: italic; margin: 6px 0; }
.fleche-rouge { color: var(--rouge-texte); }
.fleche-nuit { color: var(--nuit); }
.fleche-bleu { color: var(--bleu-texte); }
.r3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.organisation-note { text-align: center; font-size: 13.5px; margin: 18px 0 0; }
.decisions { background: var(--carte); border: 1.5px solid var(--bord); border-radius: 12px; padding: 14px 18px; margin-top: 18px; }
.decisions ul { margin: 0; padding: 0; list-style: none; }
.decisions li { font-size: 14px; line-height: 1.5; padding: 6px 0; border-bottom: 1px solid var(--ligne); }
.decisions li b { font-family: var(--titres); font-size: 12.5px; color: var(--nuit); margin-right: 6px; }
.decisions li span { display: block; font-size: 12.5px; color: var(--ardoise); }
.decisions-suite { font-size: 13px; margin: 10px 0 0; }

/* Questions */
.questions { padding: 44px 0; }
.questions-corps { max-width: 860px; }
.q { background: var(--carte); border: 1.5px solid var(--bord); border-radius: 12px; margin-bottom: 8px; }
.q summary { cursor: pointer; font-family: var(--titres); font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--nuit); padding: 12px 16px; }
.q p { margin: 0 16px 12px; font-size: 15px; line-height: 1.6; }
.questions-suite { text-align: center; font-size: 14px; margin: 14px 0 0; }

/* Documents */
.documents { padding: 44px 0; }
.documents .lead { margin-bottom: 14px; font-size: 16px; }
.docs-titre { margin: 20px 0 10px; }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; gap: 12px; background: var(--carte); border: 1.5px solid var(--bord); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: var(--encre); }
.doc:hover { border-color: var(--nuit); color: var(--encre); }
.doc .rond { width: 38px; height: 38px; }
.doc .ic { width: 21px; height: 21px; }
.doc-texte { flex: 1; min-width: 0; font-size: 13px; }
.doc-texte b { font-family: var(--titres); font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--nuit); display: block; }
.doc-lien { font-size: 12.5px; font-weight: 600; color: var(--bleu-texte); flex: none; }

/* Réseau */
.reseau-sec { padding: 40px 0 48px; }
.reseau-corps { max-width: 1000px; }
.reseau-sec .lead { font-size: 15.5px; margin-bottom: 18px; }
.aed { border: 2px solid var(--bleu); border-radius: 18px; background: #EEF3FD; padding: 20px 22px; }
.aed-titre { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
.aed-nom { font-family: var(--titres); font-weight: 800; font-size: 30px; letter-spacing: .05em; color: var(--nuit); }
.aed-note { margin: 12px 0 0; font-size: 13.5px; }

/* Rejoindre */
.rejoindre { padding: 72px 0; }
.rejoindre-carte { background: var(--nuit); border-radius: 28px; padding: 48px; display: flex; gap: 36px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.rejoindre-texte { flex: 1 1 360px; }
.rejoindre-filets { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rejoindre-filets i { display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--bleu); }
.rejoindre-filets i.r { background: var(--rouge); }
.rejoindre h2 { font-family: var(--titres); font-weight: 800; font-size: clamp(24px, 4.6vw, 32px); text-transform: uppercase; letter-spacing: .03em; color: #FFF; margin: 0 0 12px; }
.rejoindre p { font-size: 17px; line-height: 1.55; color: #E4EAF6; margin: 0 0 24px; }
.qr { width: 160px; height: 160px; background: #FFF; border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 12px; flex: none; }
.qr img { display: block; width: 136px; height: 136px; }

.rejoindre .rejoindre-autre { font-size: 14px; margin: 14px 0 0; }
.rejoindre-autre a { color: #FFF; }
.rejoindre-autre a:hover { color: #E4EAF6; }

/* Pied */
.pied { border-top: 1.5px solid var(--ligne); padding: 24px 0 32px; }
.pied-corps { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Pages de texte */
.page { max-width: 760px; margin: 0 auto; padding: 40px 28px 64px; line-height: 1.65; }
.page h1 { font-family: var(--titres); font-weight: 800; font-size: clamp(26px, 5vw, 34px); color: var(--nuit); margin: 0 0 22px; }
.page h2 { font-family: var(--titres); font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); margin: 30px 0 8px; }
.page p { margin: 0 0 12px; }
.page-centree { text-align: center; }

/* Petits écrans : la maquette ne prévoyait que les grilles .r3 */
@media (max-width: 900px) {
  .v3 { grid-template-columns: 1fr; row-gap: 14px; }
  .v3 .valeur { display: block; }
  .card .valeur-devise { margin-top: 10px; }
}
@media (max-width: 1100px) {
  .js .menu-bouton { display: inline-block; margin-left: auto; background: none; border: 2px solid var(--nuit); border-radius: 999px; color: var(--nuit); font: 600 14.5px var(--texte); padding: 8px 18px; cursor: pointer; }
  .js .menu { display: none; order: 5; flex-basis: 100%; flex-direction: column; gap: 12px; padding: 6px 0 4px; }
  .js .menu.ouvert { display: flex; }
  .entete-action { display: none; }
  .js .menu.ouvert + .entete-action { display: inline-block; order: 6; }
}
@media (max-width: 640px) {
  .w { padding: 0 18px; }
  .t { gap: 10px; }
  .t i { width: 24px; }
  .heros { padding-top: 32px; }
  .heros-logo { height: 110px; width: 110px; }
  .heros-texte { font-size: 17px; }
  .arches { gap: 6px; margin-top: 28px; }
  .arches span:nth-child(1), .arches span:nth-child(7) { height: 36px; }
  .arches span:nth-child(2), .arches span:nth-child(6) { height: 58px; }
  .arches span:nth-child(3), .arches span:nth-child(5) { height: 80px; }
  .arches span:nth-child(4) { height: 102px; }
  .qui { padding: 48px 0; }
  .qui-texte { font-size: 16.5px; }
  .r3 { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .rejoindre { padding: 44px 0; }
  .rejoindre-carte { padding: 28px 22px; border-radius: 22px; justify-content: center; }
  .rejoindre-texte { flex-basis: 100%; }
}
