/* En Avant ! Ca Kanam — feuille de style
   Mise en page : bandeaux pleine largeur alternant bleu nuit (héros, communauté, pied de page)
   et fond clair (président, programmes, actualités, contact), filets dorés comme sur les affiches. */

:root {
  --navy: #0a1f4d;
  --navy-deep: #06142f;
  --royal: #1550c8;
  --sky: #3aa0f0;
  --gold: #f2b705;
  --gold-deep: #c98f00;
  --accent-text: #1550c8;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #e9eff9;
  --fg: #0d1a33;
  --muted: #4a5874;
  --line: #d6dfee;
  --on-navy: #f3f6ff;
  --on-navy-muted: #b7c4e4;
  --ok: #1a8a4a;
  --warn-bg: #fff6d6;
  --warn-fg: #6b4e00;
  --shadow: 0 18px 40px -22px rgba(10, 31, 77, .45);

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1180px;
  --radius: 14px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-text: #7db8ff;
    --gold-deep: #f2b705;
    --bg: #071226;
    --surface: #0d1c3a;
    --surface-2: #122650;
    --fg: #e8eefc;
    --muted: #a5b3d3;
    --line: #1f3463;
    --warn-bg: #3a2e05;
    --warn-fg: #ffd970;
    --ok: #4ccf86;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent-text: #7db8ff;
  --gold-deep: #f2b705;
  --bg: #071226;
  --surface: #0d1c3a;
  --surface-2: #122650;
  --fg: #e8eefc;
  --muted: #a5b3d3;
  --line: #1f3463;
  --warn-bg: #3a2e05;
  --warn-fg: #ffd970;
  --ok: #4ccf86;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy-deep);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; }
.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: clamp(64px, 9vw, 112px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.on-navy .eyebrow { color: var(--gold); }
.section-title {
  font-weight: 900; font-style: italic; font-stretch: 112%;
  font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.01em; text-transform: uppercase;
}
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; }
.on-navy .section-head p { color: var(--on-navy-muted); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--gold); --b-fg: var(--navy-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--b-bg); color: var(--b-fg); text-decoration: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(242, 183, 5, .7); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--on-navy); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn--royal { --b-bg: var(--royal); --b-fg: #fff; }
.btn--royal:hover { box-shadow: 0 14px 28px -14px rgba(21, 80, 200, .8); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(6, 20, 47, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-name { font-family: var(--f-display); font-weight: 900; font-style: italic; font-size: 1.12rem; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: .68rem; letter-spacing: .18em; color: var(--gold); margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 0 18px; font-size: .82rem; color: var(--navy-deep); }
.nav .btn:hover { background: var(--gold); color: var(--navy-deep); }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy-deep); border-bottom: 3px solid var(--gold);
    padding: 12px var(--gutter-r) 20px var(--gutter-l);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 20%, #1f6fe0 0%, var(--royal) 28%, var(--navy) 62%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  padding-block: clamp(48px, 7vw, 88px) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/foule.webp") left bottom / auto 100% no-repeat;
  opacity: .22; mix-blend-mode: luminosity;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 40%, transparent 70%);
}
.hero-swoosh { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: clamp(24px, 4vw, 56px); }
.hero-copy { padding-bottom: clamp(56px, 8vw, 110px); min-width: 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 600; font-size: .9rem; color: var(--on-navy);
}
.hero-tag img { width: 30px; height: 30px; border-radius: 50%; }
.hero h1 {
  margin-top: 22px; font-weight: 900; font-style: italic; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .94; letter-spacing: -.015em;
}
.hero h1 > span { white-space: nowrap; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero-slogan { margin-top: 22px; font-family: var(--f-script); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.25; color: #fff; }
.hero-lead { margin-top: 18px; max-width: 54ch; color: var(--on-navy-muted); font-size: 1.12rem; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; align-self: end; min-width: 0; }
.hero-visual .portrait {
  width: 100%; max-width: 500px; margin-left: auto; aspect-ratio: 503 / 810; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  border-radius: 260px 260px 0 0;
  background: linear-gradient(180deg, rgba(58,160,240,.35), rgba(21,80,200,0));
}
.hero-badge {
  position: absolute; left: 0; bottom: clamp(40px, 6vw, 80px);
  background: var(--navy-deep); border: 2px solid var(--gold); border-radius: 16px;
  padding: 14px 20px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6);
}
.hero-badge strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.35rem; color: #fff; }
.hero-badge span { font-size: .88rem; color: var(--gold); font-weight: 600; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-visual .portrait { max-width: 380px; margin-inline: auto; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: 36px; text-align: center; white-space: nowrap; }
}

/* Hero entrance (visible at rest; motion only enhances) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .hero-visual { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- Pillars strip ---------- */
.strip { background: var(--gold); color: var(--navy-deep); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; min-width: 0; }
.strip-item + .strip-item { border-left: 1px solid rgba(6, 20, 47, .18); }
.strip-item svg { width: 34px; height: 34px; flex: none; }
.strip-item strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.05rem; text-transform: uppercase; line-height: 1.15; }
.strip-item span { font-size: .92rem; font-weight: 500; }
@media (max-width: 760px) {
  .strip .wrap { grid-template-columns: 1fr; }
  .strip-item { padding: 16px 4px; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid rgba(6, 20, 47, .18); }
}

/* ---------- Président ---------- */
.president .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.president-photo { position: relative; min-width: 0; }
.president-photo .frame {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%;
  background: linear-gradient(160deg, var(--sky), var(--royal));
  box-shadow: var(--shadow);
}
.president-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.president-photo::after {
  content: ""; position: absolute; z-index: -1; inset: 22px -18px -18px 22px; border: 3px solid var(--gold); border-radius: 22px;
}
.president-copy { display: grid; gap: 20px; min-width: 0; }
.president-copy .name { font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.president-copy .role { font-weight: 700; color: var(--accent-text); font-size: 1.15rem; }
blockquote.quote {
  margin: 0; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: #fff;
  font-family: var(--f-script); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; position: relative;
}
blockquote.quote::before { content: "\201C"; position: absolute; top: -18px; left: 18px; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fact dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fact dd { margin: 4px 0 0; font-weight: 700; }
.placeholder {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  background: var(--warn-bg); color: var(--warn-fg); border: 1.5px dashed currentColor; font-size: .95rem;
}
.placeholder svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
@media (max-width: 860px) {
  .president .wrap { grid-template-columns: 1fr; }
  .president-photo { max-width: 420px; width: 100%; margin-inline: auto; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- Programmes ---------- */
.programmes { background: var(--surface-2); }
.prog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.prog { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s ease; min-width: 0; }
.prog:nth-child(-n+2) { grid-column: span 3; }
.prog:hover { transform: translateY(-4px); }
.prog-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--line); }
.prog-media img { width: 100%; height: 100%; object-fit: cover; }
.prog-num {
  position: absolute; left: 16px; bottom: -1px; display: grid; place-items: center;
  min-width: 64px; height: 46px; padding: 0 14px; border-radius: 12px 12px 0 0;
  background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; font-variant-numeric: tabular-nums;
  border-top: 3px solid var(--gold);
}
.prog-body { padding: 22px 22px 24px; display: grid; gap: 14px; align-content: start; flex: 1; }
.prog-code { font-weight: 900; font-style: italic; font-stretch: 112%; font-size: 2rem; color: var(--navy); letter-spacing: .01em; }
:root[data-theme="dark"] .prog-code { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prog-code { color: #fff; } }
.prog-name { font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; color: var(--accent-text); line-height: 1.3; }
.prog-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.chip b { color: var(--gold-deep); font-weight: 800; }
.prog ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prog li { position: relative; padding-left: 22px; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.prog li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prog li strong { color: var(--fg); }
.members-note {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--navy); color: #fff; border-radius: 16px; padding: 20px 24px; border-left: 6px solid var(--gold);
}
.members-note p { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 1.15rem; }
@media (max-width: 1000px) {
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog, .prog:nth-child(-n+2) { grid-column: span 1; }
  .prog:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog:last-child { grid-column: auto; }
}

/* ---------- Communauté ---------- */
.communaute {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--royal) 130%); color: var(--on-navy);
}
.communaute::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: url("../img/logo.webp") center / cover; opacity: .06;
}
.communaute .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.cms-badge { justify-self: start; display: inline-block; margin-top: 6px; padding: 10px 20px; border-radius: 12px; background: #fff; color: var(--navy); font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: .04em; }
.com-side { display: grid; gap: 22px; min-width: 0; }
.com-side h2 span { color: var(--gold); }
.qr-card { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.qr-card img { width: 112px; height: 112px; border-radius: 10px; background: #fff; padding: 6px; image-rendering: pixelated; flex: none; }
.qr-card p { font-size: .95rem; color: var(--on-navy-muted); }
.qr-card a { color: var(--gold); font-weight: 700; word-break: break-all; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: var(--on-navy-muted); }
.steps li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep); font-family: var(--f-display); font-weight: 900;
}
.steps strong { color: #fff; }

.form-card { background: var(--surface); color: var(--fg); border-radius: 20px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border-top: 5px solid var(--gold); min-width: 0; }
.form-card h3 { font-size: 1.5rem; font-weight: 900; font-style: italic; text-transform: uppercase; }
.form-card > p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field label .req { color: #d23b3b; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--fg); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px rgba(21, 80, 200, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d23b3b; }
.field .err { color: #d23b3b; font-size: .84rem; font-weight: 600; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label, .checks label {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); cursor: pointer; font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s;
}
.seg label:has(input:checked), .checks label:has(input:checked) { border-color: var(--accent-text); background: color-mix(in srgb, var(--royal) 10%, var(--bg)); }
.field .seg input, .field .checks input, .field .consent input { accent-color: var(--accent-text); width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; box-shadow: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-text); flex: none; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-success { display: grid; gap: 14px; text-align: left; }
.form-success .ok { display: flex; gap: 12px; align-items: center; color: var(--ok); font-weight: 800; font-size: 1.2rem; }
.form-success .ok svg { width: 32px; height: 32px; }
@media (max-width: 900px) { .communaute .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .seg { grid-template-columns: 1fr; } .qr-card { flex-direction: column; text-align: center; } }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.news-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--navy); }
.news-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.news-media .tag { position: absolute; top: 12px; left: 12px; background: var(--warn-bg); color: var(--warn-fg); border: 1.5px dashed currentColor; border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.news-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.news-body time { font-size: .82rem; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: .1em; }
.news-body h3 { font-size: 1.2rem; font-weight: 800; }
.news-body p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Contact ---------- */
.contact { background: var(--surface-2); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.c-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.c-icon svg { width: 26px; height: 26px; }
.c-card h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; }
.c-card p { color: var(--muted); }
.c-card .big { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--fg); }
.phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phones li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--surface-2); }
.phones a { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.copy { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px 10px; border-radius: 8px; font: inherit; font-size: .8rem; font-weight: 700; }
.copy:hover { background: var(--line); color: var(--fg); }
.link-arrow { color: var(--accent-text); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } .c-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding-left: var(--gutter-l); padding-right: var(--gutter-r); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 4px solid var(--gold); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 14px; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-slogan { font-family: var(--f-script); color: #fff; font-size: 1.35rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-deep); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .25s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 70;
  background: var(--navy-deep); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: all .25s ease; border: 1px solid var(--gold);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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