/* =====================================================================
   AGSP — Site public
   Design sobre et institutionnel, pensé d'abord pour le mobile.
   Couleur de marque : bleu AGSP #1239DB (extrait du logo).
   ===================================================================== */
:root {
  --blue: #1239db;
  --blue-dark: #0b25a3;
  --blue-soft: #eef2ff;
  --navy: #0a1433;
  --navy-2: #121f4d;
  --ink: #141824;
  --text: #2b3142;
  --muted: #5b6275;
  --line: #e3e6ee;
  --soft: #f5f7fb;
  --white: #fff;
  --green: #127a45;
  --green-soft: #e3f5ea;
  --red: #b42318;
  --red-soft: #fde8e7;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 20, 51, .05), 0 8px 24px rgba(10, 20, 51, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-h: 68px;
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--white); }
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.icon { flex-shrink: 0; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid #6f95ff; outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 820px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--soft); border: 1px dashed #cfd5e3; border-radius: var(--radius); }
.section-soft .empty { background: var(--white); }

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: .88rem; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: #c7d3fb; }
.btn-secondary:hover { background: var(--blue-soft); border-color: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #dfe6ff; color: var(--navy); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-note { font-weight: 400; opacity: .8; font-size: .85em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ----- En-tête ----- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(10,20,51,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand img { width: 168px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 12px 16px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.nav-open .main-nav { transform: none; visibility: visible; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav li a.active:not(.btn) { color: var(--blue); }
.nav-cta { margin-top: 20px; }
.nav-cta .btn { width: 100%; }
body.nav-open { overflow: hidden; }

/* ----- Hero (accueil) ----- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2547e6 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #d8def0; overflow: hidden; }
.hero-inner { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 48px; align-items: center; }
.hero .eyebrow { color: #9fb4ff; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: #a9bcff; }
.hero .lead { color: #c3cbe2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); aspect-ratio: 3 / 2; object-fit: cover; }
.hero-figure figcaption { margin-top: 10px; font-size: .85rem; color: #9aa5c4; }

/* ----- Sections ----- */
.section { padding: 56px 0; }
.section-tight { padding: 36px 0 56px; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head p:last-child { color: var(--muted); }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; max-width: none; }
.section-head-row h2 { margin-bottom: 0; }
.h-sub { font-size: 1.4rem; margin: 40px 0 20px; }
.grid-2, .grid-3 { display: grid; gap: 20px; }

/* Bandeau de titre des pages intérieures */
.page-hero { background: linear-gradient(180deg, var(--blue-soft), var(--white)); padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .35em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: #a3aac0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ----- Missions / valeurs ----- */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature p { color: var(--muted); flex: 1; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; flex-shrink: 0; }
.about { display: grid; gap: 32px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.values .feature-icon { margin: 0; width: 46px; height: 46px; }
.values h3 { margin-bottom: .25em; }
.values p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ----- Cartes publications ----- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(10,20,51,.06), 0 14px 32px rgba(10,20,51,.1); }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--blue-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; color: #9fb0ec; background: linear-gradient(135deg, var(--blue-soft), #dfe6ff); }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.tag { display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag-muted { background: #eef0f4; color: var(--muted); }
.card-title { font-size: 1.15rem; margin-bottom: 8px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--blue); }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.pub-card { position: relative; }
.card-text { color: var(--muted); font-size: .95rem; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; font-weight: 600; color: var(--blue); }

/* ----- Événements ----- */
.event-list { display: grid; gap: 16px; }
.event-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.event-card.is-past { box-shadow: none; }
.event-card.is-past .event-date { background: #eef0f4; color: var(--muted); }
.event-date { flex-shrink: 0; width: 72px; text-align: center; background: var(--blue); color: var(--white); border-radius: 10px; padding: 10px 4px; align-self: flex-start; line-height: 1.1; }
.event-date .d { display: block; font: 700 1.7rem/1 var(--serif); }
.event-date .m { display: block; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .06em; margin-top: 4px; }
.event-date .y { display: block; font-size: .72rem; opacity: .8; }
.event-body { min-width: 0; flex: 1; }
.event-body .card-kicker { margin-bottom: 6px; }
.event-body .card-title a::after { display: none; }
.event-meta { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; color: var(--muted); font-size: .92rem; }
.event-meta li { display: flex; gap: 8px; align-items: flex-start; }
.event-meta .icon { margin-top: 4px; color: var(--blue); }
.event-status { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .9rem; }
.badge-closed { display: inline-block; background: #eef0f4; color: var(--muted); font-weight: 600; padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.event-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.event-facts li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.event-facts .icon { color: var(--blue); margin-top: 2px; }
.event-facts strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.event-layout { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 56px; }

/* ----- Article / contenu riche ----- */
.article-body { padding-top: 32px; padding-bottom: 56px; }
.article-cover { margin: 0 0 28px; }
.article-cover img { width: 100%; border-radius: var(--radius); }
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 8px 8px 0; color: var(--ink); font-style: italic; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.download-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0; padding: 20px; border: 1px solid #c7d3fb; background: var(--blue-soft); border-radius: var(--radius); }
.download-box .feature-icon { margin: 0; background: var(--white); }
.download-box div { flex: 1 1 200px; min-width: 0; }
.download-box h2 { font: 700 1.1rem/1.3 var(--font); margin: 0 0 2px; }
.download-box p { margin: 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.share { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.share span { color: var(--muted); }
.preview-banner { background: #fff1d6; color: #6b4000; text-align: center; padding: 10px 16px; font-size: .92rem; border-bottom: 1px solid #f0d49a; }

/* Sondage mis en avant */
.featured { display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-media { aspect-ratio: 16 / 9; background: var(--blue-soft); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 24px; }
.featured-body h3 { font: 700 clamp(1.35rem, 3vw, 1.8rem)/1.25 var(--serif); }
.featured-body h3 a { color: var(--ink); text-decoration: none; }
.featured-body h3 a:hover { color: var(--blue); }
.featured-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before { content: "0" counter(step); display: block; font: 700 1.6rem/1 var(--serif); color: var(--blue); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ----- Recherche & filtres ----- */
.search-bar { display: flex; gap: 8px; align-items: center; background: var(--white); border: 1px solid #cfd5e3; border-radius: 999px; padding: 4px 4px 4px 16px; max-width: 640px; }
.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,57,219,.15); }
.search-icon { color: var(--muted); display: flex; }
.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 10px 4px; background: transparent; }
.search-bar .btn { min-height: 42px; padding: 8px 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
.chips a { flex-shrink: 0; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 600; background: var(--white); }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips a.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.results-count { color: var(--muted); font-size: .92rem; margin: 10px 0 20px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 32px 0 0; }
.pagination a, .pagination span { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--white); }
.pagination span[aria-current] { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 700; }
.pagination .gap { border: 0; display: inline-flex; align-items: center; padding: 0 4px; }

/* ----- Formulaires ----- */
.contact-layout { display: grid; gap: 28px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.form .optional { font-weight: 400; color: var(--muted); font-size: .88em; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c3cad9; border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(18,57,219,.18); outline-offset: 0; }
.form [aria-invalid=true] { border-color: var(--red) !important; background: #fffafa; }
.field-error { color: var(--red); font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field-check label { font-weight: 400; font-size: .9rem; color: var(--muted); margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.h-captcha { margin-bottom: 16px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; font-weight: 500; }
.alert-success { background: var(--green-soft); border-color: #b5e2c6; color: #0d5c33; }
.alert-error { background: var(--red-soft); border-color: #f3b8b3; color: #8a1c12; }
.alert-info { background: var(--soft); border-color: var(--line); color: var(--text); }
.contact-info h2 { font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .feature-icon { margin: 0; width: 46px; height: 46px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { overflow-wrap: anywhere; }
.benefits { padding-left: 1.2em; margin: 0 0 1.2em; }
.benefits li { margin-bottom: .6em; }

/* ----- Formations, médias ----- */
.programme { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.programme h3 { font: 700 1.35rem/1.25 var(--serif); }
.programme > p { color: var(--muted); }
.programme h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 8px 0; }
.programme .btn { align-self: flex-start; margin-top: auto; }
.facts { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px; background: var(--soft); border-radius: 10px; font-size: .92rem; }
.facts div { display: flex; gap: 8px; flex-wrap: wrap; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dt::after { content: " :"; }
.facts dd { margin: 0; color: var(--text); }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.gallery { display: grid; gap: 16px; }
.gallery-item { margin: 0; background: var(--soft); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 10px 14px; font-size: .9rem; color: var(--muted); }
.kit-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); }
.kit-item:hover { border-color: var(--blue); }
.kit-item .feature-icon { margin: 0; }
.press { display: grid; gap: 20px; align-items: center; }
.press-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.error-page { text-align: center; padding: 80px 0; }
.error-page .hero-actions { justify-content: center; }

/* ----- Bandeau d'appel à l'action ----- */
.cta-band { background: var(--blue); color: #dfe6ff; padding: 48px 0; }
.cta-band h2 { color: var(--white); }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-inner p { margin: 0; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----- Pied de page ----- */
.site-footer { background: var(--navy); color: #b7c0dc; font-size: .95rem; padding-top: 48px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
.footer-about img { width: 190px; margin-bottom: 16px; }
.footer-about p { color: #b7c0dc; }
.tagline { font-family: var(--serif); font-style: italic; color: #dfe6ff !important; }
.footer-title { font: 700 .8rem/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe6ff; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact p { margin: 0 0 8px; overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8d97b8; }

/* =====================================================================
   Écrans plus larges
   ===================================================================== */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .chips { margin: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; overflow: visible; }
  .event-facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 30px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: 1 / -1; }
  .gallery-wide img { aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .brand img { width: 200px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; }
  .main-nav ul { display: flex; align-items: center; gap: 2px; }
  .main-nav li a:not(.btn) { padding: 8px 10px; font-size: .93rem; border: 0; border-radius: 8px; color: var(--text); position: relative; }
  .main-nav li a:not(.btn):hover { color: var(--blue); background: var(--blue-soft); }
  .main-nav li a.active:not(.btn) { color: var(--blue); }
  .main-nav li a.active:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 2px; background: var(--blue); }
  .nav-cta { margin: 0 0 0 10px; }
  .nav-cta .btn { width: auto; min-height: 42px; padding: 9px 20px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
  .section { padding: 80px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .event-list { grid-template-columns: repeat(2, 1fr); }
  .event-facts { grid-template-columns: repeat(4, 1fr); }
  .event-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .event-side { position: sticky; top: calc(var(--header-h) + 20px); }
  .featured { grid-template-columns: 1.1fr 1fr; }
  .featured-media { aspect-ratio: auto; min-height: 320px; }
  .featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1.6fr; gap: 48px; }
  .cta-inner { grid-template-columns: 1.5fr 1fr; }
  .cta-actions { justify-content: flex-end; }
  .press { grid-template-columns: 1.5fr 1fr; }
  .press-actions { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr 1fr; }
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .gallery-wide { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-wide img { aspect-ratio: auto; height: 100%; }
}
@media (min-width: 1100px) {
  .main-nav li a:not(.btn) { padding: 8px 12px; font-size: .97rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .share, .event-side, .cta-band, .preview-banner { display: none !important; }
  body { color: #000; }
}
