/* RAAQ – Réseau des Africaines et Africains du Québec
   Feuille de style unique du site. Couleurs de l'ancien site :
   orange (#fd9704), vert olive (#a3b527 / #6f9417) et gris chauds.
   Mise en forme : en-tête fixe, héros plein écran, bandeaux, cartes. */

/* Police : TeX Gyre Heros (équivalent libre de Helvetica, licence GUST Font License, usage libre) */
@font-face { font-family: "TeX Gyre Heros"; src: url("fonts/texgyreheros-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("fonts/texgyreheros-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("fonts/texgyreheros-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "TeX Gyre Heros"; src: url("fonts/texgyreheros-bolditalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --orange: #e2850a;
  --orange-vif: #fd9704;
  --orange-pale: #fdebd0;
  --orange-texte: #ad5c00;   /* orange foncé : texte blanc lisible dessus (contraste 4,9:1) */
  --orange-titre: #c46a00;   /* orange des grands titres */
  --vert: #6f9417;
  --vert-clair: #a3b527;
  --vert-pale: #eef3dc;
  --vert-texte: #557510;     /* vert foncé pour le petit texte (contraste 5,3:1) */
  --nuit: #1f201c;
  --encre: #2b2c27;
  --gris: #5d5e57;
  --gris-clair: #9b9c94;
  --sable: #f7f3ec;
  --sable-2: #ebe5d8;
  --blanc: #fff;
  --rouge-terre: #9c3d1e;
  --rayon: 22px;
  --rayon-p: 12px;
  --ombre: 0 18px 50px -20px rgba(43, 44, 39, .35);
  --largeur: 1180px;
  --titres: "TeX Gyre Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --texte: "TeX Gyre Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --entete: 136px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--texte); font-size: 1.0625rem; line-height: 1.7; color: var(--encre); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--rouge-terre); text-underline-offset: 3px; }
a:hover { color: var(--orange-texte); }
:focus-visible { outline: 3px solid var(--orange-vif); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--largeur), 92vw); margin: 0 auto; }
.etroit { width: min(780px, 92vw); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 10px; }

h1, h2, h3, h4 { font-family: var(--titres); color: var(--encre); line-height: 1.2; }
h2 { font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.01em; margin: 0 0 1rem; }
.centre { text-align: center; }
.surtitre { display: block; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--orange-texte); margin: 0 0 .9rem; }
.centre-bloc { text-align: center; }

/* ---------- En-tête fixe ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  transition: box-shadow .4s, padding .4s;
  padding: 14px 0;
}
/* Le fond flouté est sur un calque à part : un flou posé sur l'en-tête lui-même
   enfermerait le menu mobile (position: fixed) dans la hauteur de l'en-tête. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(31, 32, 28, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.site-header.defile { padding: 8px 0; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.header-cta { padding: 10px 20px; }
.mainnav { flex-basis: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; transition: padding .4s; }
.menu > li:first-child > a, .menu > li:first-child > button { margin-left: -12px; }
.menu > li.nav-cta { display: none; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-mark { font-family: var(--titres); font-weight: 700; letter-spacing: .08em; font-size: 2.3rem; line-height: 1; color: #fff; transition: font-size .4s; }
.defile .brand-mark { font-size: 1.9rem; }
.brand-mark.small { display: inline-block; font-size: 2rem; margin: 0 0 14px; }
.brand-name { font-family: var(--titres); font-size: .98rem; line-height: 1.25; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.28); color: #ecebe6; white-space: nowrap; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: block; font: inherit; font-family: var(--texte); font-size: .93rem; color: #fff; background: none; border: 0;
  cursor: pointer; text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background .25s, color .25s; white-space: nowrap;
}
.menu > li > button::after { content: ""; display: inline-block; margin-left: 7px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); opacity: .7; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li:focus-within > button, .menu > li.is-current > a, .menu > li.is-current > button { background: rgba(253, 151, 4, .2); color: #fff; }
.menu ul {
  list-style: none; margin: 0; padding: 8px; min-width: 250px;
  position: absolute; left: 50%; top: calc(100% + 10px); background: #fff;
  border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s;
}
.menu ul::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu li.open > ul, .menu li.has-sub:hover > ul { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu ul a { display: block; padding: 8px 13px; border-radius: 10px; color: var(--encre); text-decoration: none; font-size: .93rem; }
.menu ul a:hover, .menu ul a[aria-current] { background: var(--orange-pale); color: var(--rouge-terre); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; position: relative; z-index: 120; }
.menu-toggle span:not(.sr) { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--orange-texte); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--texte); font-size: .97rem; line-height: 1.2;
  box-shadow: 0 12px 26px -14px rgba(173, 92, 0, .9); transition: transform .25s, background .25s, box-shadow .25s;
}
.btn:hover { background: var(--vert-texte); color: #fff; transform: translateY(-2px); }
.btn.clair { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.6); box-shadow: none; backdrop-filter: blur(6px); }
.btn.clair:hover { background: #fff; color: var(--encre); }
.btn.contour { background: none; color: var(--orange-texte); border: 1px solid var(--orange-texte); box-shadow: none; }
.btn.contour:hover { background: var(--orange-texte); color: #fff; }
.btn.contour-clair { background: none; border: 1px solid rgba(255,255,255,.5); box-shadow: none; }
.btn.contour-clair:hover { background: rgba(255,255,255,.15); }
button.btn { font: inherit; font-family: var(--texte); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- Héros (accueil) : clair et doux ---------- */
.heros {
  position: relative; min-height: 88vh; min-height: 88svh; display: grid; align-items: center; color: var(--encre); overflow: hidden; isolation: isolate;
  padding: calc(var(--entete) + 60px) 0 160px; background: var(--sable);
}
.heros::before {
  content: ""; position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(253,151,4,.20), transparent 45%),
    radial-gradient(circle at 88% 75%, rgba(163,181,39,.20), transparent 48%),
    linear-gradient(160deg, #fdf6ea, #f7f3ec 55%, #f1f4e4);
  animation: respire 22s ease-in-out infinite alternate;
}
.heros::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -160px; top: -140px; z-index: -1;
  background: radial-gradient(circle at 35% 35%, rgba(253,151,4,.18), rgba(253,151,4,.04) 60%, transparent 70%); animation: flotte 12s ease-in-out infinite; }
@keyframes respire { to { transform: scale(1.08) translate(-2%, 2%); } }
@keyframes flotte { 50% { transform: translateY(-12px); } }
.heros .surtitre { color: var(--vert-texte); }
.hero-title { font-weight: 300; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.015em; color: var(--encre); margin: 0 0 1.2rem; }
.hero-title em { display: block; font-style: normal; font-weight: 700; color: var(--orange-titre); }
.hero-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 2rem; font-size: .92rem; color: var(--gris); }
.hero-audio audio { height: 40px; margin: 0; }
.vagues { position: absolute; left: 0; bottom: -1px; width: calc(100% + 120px); height: 110px; z-index: 1; }
.vagues path { fill: var(--blanc); }
.vagues path:nth-child(1) { fill: var(--orange-vif); opacity: .12; animation: onde 14s ease-in-out infinite alternate; }
.vagues path:nth-child(2) { animation: onde 18s ease-in-out infinite alternate-reverse; }
@keyframes onde { to { transform: translateX(-50px); } }
.defiler { position: absolute; bottom: 125px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(43,44,39,.35); border-radius: 20px; z-index: 2; }
.defiler::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: roule 2s infinite; }
@keyframes roule { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Bandeau (pages intérieures) : clair et doux ---------- */
.bandeau { position: relative; overflow: hidden; isolation: isolate; color: var(--encre); background: var(--sable); padding: calc(var(--entete) + 56px) 0 130px; }
.bandeau::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(circle at 10% 0%, rgba(253,151,4,.14), transparent 42%), radial-gradient(circle at 95% 100%, rgba(163,181,39,.16), transparent 45%), linear-gradient(160deg, #fdf6ea, #f7f3ec 60%, #f2f4e6);
}
.bandeau::after { content: ""; position: absolute; right: -10vw; top: -14vw; width: 42vw; height: 42vw; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 35%, rgba(253,151,4,.16), rgba(253,151,4,.03) 60%, transparent 70%); animation: flotte 12s ease-in-out infinite; }
.crumbs { font-size: .85rem; color: var(--gris); margin-bottom: 1.1rem; }
.crumbs a { color: var(--gris); text-decoration: none; }
.crumbs a:hover { color: var(--orange-texte); }
.crumbs .sep { color: var(--gris-clair); margin: 0 3px; }
.bandeau .surtitre { color: var(--vert-texte); }
.page-title { font-weight: 300; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.1; letter-spacing: -.015em; color: var(--encre); margin: 0; max-width: 22ch; }

/* ---------- Sections ---------- */
main section { padding: 5.5rem 0; }
main section.article { padding-top: 3.5rem; }
.fond-sable { background: var(--sable); }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; margin-top: 2.6rem; }
.grille.deux { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carte {
  position: relative; display: flex; flex-direction: column; gap: .35rem; background: #fff; border-radius: var(--rayon); padding: 2rem;
  color: var(--gris); text-decoration: none; font-size: .97rem;
  box-shadow: 0 1px 0 rgba(43,44,39,.05), 0 10px 30px -18px rgba(43,44,39,.35); transition: transform .35s, box-shadow .35s;
}
a.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); color: var(--gris); }
.carte strong { font-family: var(--titres); color: var(--encre); font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.carte .carte-sur { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--vert-texte); }
.carte .icone { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-pale), #fff); color: var(--orange); margin-bottom: .9rem; }
.carte .icone.vert { background: linear-gradient(135deg, var(--vert-pale), #fff); color: var(--vert); }
.carte .icone svg { width: 26px; height: 26px; }
.carte .lien { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--orange-texte); font-weight: 700; font-size: .9rem; }
.carte .lien svg { width: 16px; height: 16px; transition: transform .25s; }
a.carte:hover .lien svg { transform: translateX(4px); }

.appel-wrap { padding-top: 0 !important; }
.appel {
  position: relative; overflow: hidden; border-radius: 32px; padding: 4.5rem 3rem; text-align: center; color: #fff3e0;
  background: linear-gradient(120deg, #8f4a00, var(--orange-texte) 50%, var(--vert-texte));
}
.appel h2 { color: #fff; }
.appel p { max-width: 46ch; margin: 0 auto; font-size: 1.1rem; }
.appel .actions { justify-content: center; }
.appel::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -130px; bottom: -230px;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 60px rgba(255,255,255,.05), 0 0 0 120px rgba(255,255,255,.04); }

/* ---------- Contenu des articles ---------- */
.prose { font-size: 1.06rem; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--titres); line-height: 1.25; margin: 2em 0 .55em; font-weight: 400; }
.prose h2 { font-size: 1.85rem; }
.prose h3 { font-size: 1.35rem; }
.prose h4 { font-size: 1.1rem; font-weight: 700; }
.prose p { margin: 0 0 1em; }
.prose strong { color: var(--encre); }
.prose .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--vert-texte); margin: 0 0 18px; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.5rem; border-left: 3px solid var(--orange-vif); color: var(--encre); font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3rem 0; }
.prose li::marker { color: var(--orange); }
.prose img { border-radius: var(--rayon-p); }
.prose em strong, .prose strong em { color: var(--gris); }

table.data { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(43,44,39,.4); }
table.data td, table.data th { padding: 12px 16px; border-bottom: 1px solid var(--sable-2); vertical-align: top; text-align: left; }

/* Sous-navigation (anciennes listes déroulantes) */
.subnav {
  background: var(--blanc); border: 1px solid var(--sable-2); border-left: 5px solid var(--vert-clair);
  border-radius: var(--rayon); padding: 16px 20px 8px; margin: 0 0 28px;
}
.subnav-title { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--vert-texte); margin: 0 0 8px; }
.subnav-group { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 6px; color: var(--gris); }
.prose .more-title { font-size: 1.2rem; margin-top: 2.4em; }
.subnav ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.subnav li a {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sable);
  border: 1px solid var(--sable-2); color: var(--encre); text-decoration: none; font-size: .93rem;
}
.subnav li a:hover { background: var(--orange-texte); border-color: var(--orange-texte); color: #fff; }

/* Médias */
.media-video { margin: 0 0 1.6em; background: #111; border-radius: var(--rayon); overflow: hidden; position: relative; }
.media-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.media-video figcaption { color: #ddd; font-size: .88rem; padding: 8px 14px; }
.media-pending { display: none; }
.media-video.is-missing video { display: none; }
.media-video.is-missing .media-pending {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 9; padding: 24px; color: #f0d9a8; font-size: 1rem;
  background: radial-gradient(circle at 30% 30%, #3b3c36, #1c1d19);
}
.media-video.is-missing .media-pending::before { content: "▶"; display: block; font-size: 2rem; color: var(--orange-vif); margin-right: 14px; }
.media-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.6em; border-radius: var(--rayon); overflow: hidden; background: #111; }
.media-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
audio.media-audio { width: 100%; max-width: 420px; margin: 4px 0 10px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 1em 0 2em; }
.gallery-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--sable-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; background: rgba(20,20,18,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 6px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 10px 18px; }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Formulaire de contact */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: var(--blanc); border: 1px solid var(--sable-2); border-left: 5px solid var(--orange); border-radius: var(--rayon); padding: 22px; margin: 0 0 20px; }
.contact-form[hidden] { display: none; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.contact-form label span { color: var(--orange-texte); }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-family: var(--texte); padding: 10px 12px; border: 1px solid #cfcabd; border-radius: 8px; background: #fff; color: var(--encre); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(226,133,10,.35); border-color: var(--orange); }
.contact-form .form-foot { display: flex; align-items: center; gap: 14px; margin: 0; }
.contact-form small { color: var(--gris); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.btn { border: 0; font: inherit; font-family: var(--texte); font-weight: 700; cursor: pointer; padding: 11px 22px; }
.form-status { border-radius: var(--rayon); padding: 14px 18px; margin: 0 0 18px; font-weight: 700; }
.form-status.ok { background: #eef5dc; border: 1px solid var(--vert-clair); color: #3f5a0c; }
.form-status.err { background: #fbe9e1; border: 1px solid #e0a58c; color: var(--rouge-terre); }
.contact-alt { color: var(--gris); font-size: .95rem; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

/* Retouches des blocs conservés, dans le nouveau style */
.subnav { background: #fff; border: 1px solid var(--sable-2); border-left: 0; border-radius: var(--rayon); padding: 22px 24px 14px; box-shadow: 0 10px 30px -22px rgba(43,44,39,.4); }
.subnav li a { background: var(--sable); }
.media-video, .media-embed { border-radius: 18px; box-shadow: 0 24px 50px -26px rgba(0,0,0,.6); }
.contact-form { border: 1px solid var(--sable-2); border-left: 0; border-radius: var(--rayon); padding: 28px; box-shadow: 0 10px 30px -22px rgba(43,44,39,.4); background: #fff; }
.contact-form input, .contact-form textarea { border-radius: 12px; padding: 12px 14px; border-color: #d9d2c3; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(226,133,10,.18); }
.form-status { border-radius: 14px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: #b9b8b1; font-size: .93rem; padding: 4.5rem 0 1.6rem; }
.site-footer .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .4rem 0; }
.site-footer a { color: #d8d7d0; text-decoration: none; }
.site-footer a:hover { color: var(--orange-vif); }
.site-footer a.btn { color: #fff; margin-top: .4rem; padding: .7rem 1.3rem; }
.site-footer p { margin: 0 0 .8rem; }
.foot-title { color: #fff; font-weight: 700; letter-spacing: .04em; margin: 0 0 1rem !important; }
.site-footer .bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3.2rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .82rem; color: #8f8e87; }
.site-footer .bas p { margin: 0; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.vu { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; }

/* ---------- Adaptatif ---------- */
@media (max-width: 900px) {
  :root { --entete: 64px; }
  .menu-toggle { display: block; }
  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; padding: 5.5rem 1.4rem 2rem;
    transform: translateX(100%); transition: transform .4s; overflow-y: auto; box-shadow: -20px 0 60px -20px rgba(0,0,0,.4); visibility: hidden;
  }
  .mainnav.open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(31, 32, 28, .45); }
  .menu-ouvert, .menu-ouvert body { overflow: hidden; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a, .menu > li > button { color: var(--encre); width: 100%; text-align: left; padding: .8rem 1rem; border-radius: 12px; }
  .menu > li > a:hover, .menu > li > button:hover, .menu > li:focus-within > button, .menu > li.is-current > a, .menu > li.is-current > button { background: var(--orange-pale); color: var(--encre); }
  .menu ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 6px 12px; min-width: 0; }
  .menu li.open > ul { display: block; transform: none; }
  .menu li.has-sub:hover > ul { display: none; transform: none; }
  .menu li.has-sub.open:hover > ul { display: block; }
  .header-cta { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .menu-toggle { flex-shrink: 0; }
  .mainnav { border-top: 0; padding-top: 5.5rem; flex-basis: auto; }
  .menu > li:first-child > a, .menu > li:first-child > button { margin-left: 0; }
  .menu > li.nav-cta { display: block; margin: 1rem 0 0; }
  .menu > li.nav-cta > a.btn { color: #fff; background: var(--orange-texte); justify-content: center; width: 100%; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:not(.sr) { background: var(--encre); }
  .site-footer .colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }

  .brand-mark, .defile .brand-mark { font-size: 1.8rem; }
  .brand-name { font-size: .78rem; white-space: normal; max-width: 15em; padding-left: 10px; }
  main section { padding: 4rem 0; }
  .heros { padding-bottom: 100px; min-height: 0; }
  .bandeau { padding-bottom: 110px; }
  .vagues { height: 70px; }
  .defiler { display: none; }
  .appel { padding: 3.2rem 1.4rem; border-radius: 24px; }
  .carte { padding: 1.6rem; }
  .site-footer .colonnes { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 380px) { .brand-name { display: none; } }
@media (max-width: 360px) {
  .etroit { width: 96vw; }
  table.data td:has(audio) { padding-left: 0; padding-right: 0; }
}

/* Correctifs téléphone : longues adresses et tableaux */
.prose a, .prose p, .prose td { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  table.data, table.data tbody, table.data tr, table.data td, table.data th { display: block; width: 100%; }
  table.data tr { border-bottom: 2px solid var(--sable-2); padding: 6px 0; }
  table.data td, table.data th { border-bottom: 0; padding: 6px 14px; }
  table.data td:empty, table.data td.vide, table.data th.vide { display: none; }
  table.data tr:not(:has(td:not(.vide), th:not(.vide))) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .subnav, .autres, .vagues, .defiler { display: none; }
  .bandeau, .heros { background: none; color: #000; padding: 0; min-height: 0; }
  .page-title, .hero-title { color: #000; }
}
