/* =====================================================================
   La Barre Blanche — feuille de style (version 3 : couleurs d'eau, vagues)
   NE PAS MODIFIER : polices, tailles, interligne et couleurs principales
   se changent dans 10-reglages/reglages.txt (partie [Apparence]).
   ===================================================================== */
:root{
  --lac:var(--c-lac,#0d2c3f);   /* bleu nuit du Léman */
  --lac-2:#164a66;
  --mer:#1d6f86;                /* bleu-vert du large */
  --clair:#dff1f5;              /* eau claire */
  --ecume:var(--c-ecume,#f6fbfc);
  --voile:#ffffff;
  --encre:#13222c;
  --brume:#4f6472;
  --balise:var(--c-balise,#f2b705);
  --ligne:rgba(13,44,63,.18);
  --f-titre:"Bricolage Grotesque","Trebuchet MS",sans-serif;
  --f-texte:"Atkinson Hyperlegible",Verdana,Arial,sans-serif;
  --base:var(--c-base,1.0625rem);
  --bandeau:76px;
  --pied:112px;
}
@media (max-width:760px){:root{--bandeau:64px}}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--bandeau)}
body{margin:0;background:var(--ecume);color:var(--encre);font-family:var(--f-texte);font-size:var(--base);line-height:var(--c-interligne,1.6);padding-bottom:calc(var(--pied) + env(safe-area-inset-bottom,0px));overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--balise);outline-offset:3px}
main:focus{outline:none}
h1,h2,h3{font-family:var(--f-titre);line-height:1.1;text-wrap:balance}
html[lang="fr"] [lang="en"]:not(html):not([data-lang]){display:none!important}
html[lang="en"] [lang="fr"]:not(html):not([data-lang]){display:none!important}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.saut{position:absolute;left:12px;top:-60px;z-index:200;background:var(--balise);color:var(--lac);font-weight:700;padding:10px 16px;border-radius:8px;text-decoration:none}
.saut:focus{top:calc(12px + env(safe-area-inset-top,0px))}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 24px;border:0;border-radius:999px;background:var(--balise);color:var(--lac);font-family:var(--f-titre);font-weight:700;font-size:1.05rem;text-decoration:none;cursor:pointer;line-height:1.15;text-align:center}
.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.boutons{display:flex;flex-wrap:wrap;gap:10px;margin:1.2em 0 0}
.boutons + .boutons{margin-top:10px}
.partie p.boutons{max-width:none}

/* ---------- Bandeau du haut ---------- */
.bandeau{position:sticky;top:0;z-index:100;background:var(--voile);color:var(--lac);box-shadow:0 2px 14px rgba(13,44,63,.12)}
.bandeau .inner{display:flex;align-items:center;gap:14px;max-width:1300px;margin:0 auto;height:var(--bandeau);padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}
.retour-accueil{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px 0 10px;border-radius:999px;background:var(--lac);color:#fff;text-decoration:none;font-weight:700;flex:none}
.retour-accueil span[aria-hidden]{font-size:1.4rem;line-height:1}
.retour-accueil:hover{background:var(--mer)}
.logo{display:flex;align-items:center;flex:none;text-decoration:none}
.logo img{height:calc(var(--bandeau) - 6px);width:auto;mix-blend-mode:multiply}
.nav-large{margin-left:auto}
.nav-large > ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.nav-large a,.groupe-btn{display:flex;align-items:center;height:44px;padding:0 12px;border-radius:8px;text-decoration:none;font-weight:700;font-family:var(--f-titre);font-size:1rem;color:var(--lac);background:none;border:0;cursor:pointer;white-space:nowrap}
.nav-large a:hover,.groupe-btn:hover{background:var(--clair)}
.nav-large a[aria-current="page"]{box-shadow:inset 0 -3px 0 var(--balise)}
.groupe{position:relative}
.sous{display:none;position:absolute;left:0;top:100%;min-width:200px;list-style:none;margin:0;padding:8px;background:var(--voile);border-radius:12px;box-shadow:0 14px 40px rgba(13,44,63,.22)}
.groupe:hover .sous,.groupe:focus-within .sous,.groupe-btn[aria-expanded="true"] + .sous{display:block}
.sous a{height:auto;padding:10px 12px}
.outils{display:flex;align-items:center;gap:6px;margin-left:12px}
.outils button{background:transparent;border:2px solid transparent;border-radius:8px;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:inherit}
.outils button:hover{border-color:var(--ligne)}
.outils button[aria-pressed="true"]{border-color:var(--balise)}
.outils img{height:22px;width:auto;border-radius:3px}
.outils .mvbtn img{height:40px;border-radius:6px}
.burger{width:46px;height:44px;flex-direction:column;gap:6px;display:none!important}
.burger i{display:block;width:26px;height:3px;background:currentColor;border-radius:2px}
.menu{position:absolute;left:0;right:0;top:100%;background:var(--voile);box-shadow:0 14px 30px rgba(13,44,63,.2);padding:8px 16px 16px;max-height:calc(100vh - var(--bandeau));overflow:auto}
.menu ul{list-style:none;margin:0;padding:0}
.menu a{display:block;padding:12px 10px;text-decoration:none;font-weight:700;font-family:var(--f-titre);font-size:1.15rem;border-bottom:1px solid var(--ligne)}
.menu a[aria-current="page"]{box-shadow:inset 4px 0 0 var(--balise)}
.groupe-nom{display:block;padding:12px 10px 2px;font-family:var(--f-titre);font-weight:800;color:var(--mer);font-size:.95rem;text-transform:uppercase;letter-spacing:.08em}
.groupe-tel ul a{padding-left:26px}
@media (max-width:1080px){
  .nav-large{display:none}
  .burger{display:flex!important}
  .outils{margin-left:auto}
}
@media (max-width:520px){
  .retour-mot{display:none}
  .retour-accueil{width:42px;padding:0;justify-content:center}
  .outils{gap:2px;margin-left:auto}
  .outils .mvbtn img{height:32px}
  .outils img{height:18px}
  .logo img{height:calc(var(--bandeau) - 16px)}
}

/* ---------- Haut des pages : vidéo, photo ou dessin animé ---------- */
.haut-video{position:relative;min-height:calc(100svh - var(--bandeau) - var(--pied));display:grid;place-items:center;overflow:hidden;background:var(--lac);color:#fff;padding:40px 16px 120px}
.haut-video .video-fond{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.haut-video::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(8,28,40,.15),rgba(8,28,40,.45))}
.titre-video,.boite-video{position:relative;z-index:2;text-align:center}
.titre-video h1{margin:0;font-size:clamp(2.6rem,8vw,6rem);letter-spacing:-.01em;text-shadow:0 2px 24px rgba(0,0,0,.5)}
.sous-titre{margin:.6em auto 0;font-size:clamp(1.1rem,2.4vw,1.5rem);font-weight:700;max-width:40ch}
.titre-video .sous-titre{text-shadow:0 1px 12px rgba(0,0,0,.6)}
.descendre{display:inline-flex;margin-top:28px;padding:10px 22px;border-radius:999px;border:2px solid #fff;color:#fff;text-decoration:none;font-weight:700;background:rgba(8,28,40,.25)}
.descendre:hover{background:rgba(8,28,40,.5)}
.boite-video{max-width:680px;width:100%;text-align:left;background:rgba(8,28,40,.78);padding:clamp(20px,4vw,40px);border-radius:6px}
.boite-video h1{margin:0;font-size:clamp(2rem,5vw,3.2rem)}
.boite-video .sous-titre{margin:.3em 0 1em;max-width:none;color:var(--balise)}
.boite-video p{margin:0 0 .6em}
.boite-video .tarifs{color:#fff}
.descendre-partout{position:absolute;inset:0;z-index:3;cursor:pointer}
.descendre-partout:focus-visible{outline:4px solid var(--balise);outline-offset:-8px}
.hero{position:relative;height:clamp(300px,62vh,620px);overflow:hidden;background:var(--lac);color:#fff}
.hero img{width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,28,40,.75),transparent 65%)}
.hero h1,.hero .sous-titre{position:absolute;z-index:1;left:0;right:0;margin:0 auto;max-width:1100px;padding:0 16px}
.hero h1{bottom:96px;font-size:clamp(2.4rem,6vw,4.4rem)}
.hero .sous-titre{bottom:56px;margin:0 auto}
.hero:has(.sous-titre) h1{bottom:110px}
.titre-simple{max-width:1100px;margin:0 auto;padding:48px 16px 70px}
.titre-simple h1{margin:0;font-size:clamp(2.2rem,5vw,3.6rem);color:var(--lac)}

/* Dessin animé des petits voiliers, en pleine page */
.haut-regate{position:relative}
.titre-regate{position:absolute;z-index:3;left:max(16px,calc((100vw - 1100px)/2));top:22px;margin:0;font-size:clamp(2rem,5vw,3.4rem);color:var(--lac);background:rgba(255,255,255,.78);padding:6px 16px;border-radius:6px}
.regate{--k:1;position:relative;overflow:hidden;background-color:#cfe6f2;background-image:url("../11-dessins-animation/fond-regate.png");background-position:center bottom;background-size:cover;background-repeat:no-repeat}
.regate.plein{height:calc(100svh - var(--bandeau) - var(--pied));min-height:480px}
.regate .b{position:absolute;left:0;will-change:transform}
.regate .b img{display:block;height:auto;width:calc(var(--k) * var(--l))}
.regate .b1{--l:260px;bottom:4%;animation:trav 26s linear -4s infinite}
.regate .b5{--l:160px;bottom:19%;animation:trav 15s ease-in -8s infinite}
.regate .b4{--l:180px;bottom:33%;animation:trav 25s linear -2s infinite}
.regate .b3{--l:170px;bottom:47%;animation:trav 22s ease-in-out -11s infinite}
.regate .b2{--l:190px;bottom:61%;animation:trav 32s linear -18s infinite}
.regate .b6{--l:110px;bottom:72%;animation:trav 18s ease-in-out -13s infinite}
.regate .b7{--l:130px;bottom:0;animation:trav 40s linear -25s infinite}
.regate .b8{--l:80px;top:14%;animation:vol 12s linear -6s infinite}
.regate .b > span{display:block;animation:roule 3.2s ease-in-out infinite alternate}
@keyframes trav{from{transform:translateX(-320px)}to{transform:translateX(calc(100vw + 40px))}}
@keyframes vol{0%{transform:translate(-120px,0)}50%{transform:translate(50vw,24px)}100%{transform:translate(calc(100vw + 40px),0)}}
@keyframes roule{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-8px) rotate(2deg)}}
@media (min-height:850px) and (min-width:1000px){.regate{--k:1.2}}
@media (max-width:700px){.regate{--k:.6}.regate.plein{min-height:440px}}
@media (prefers-reduced-motion:reduce){
  .regate .b,.regate .b > span{animation:none!important}
  .regate .b1{transform:translateX(4vw)} .regate .b2{transform:translateX(30vw)} .regate .b3{transform:translateX(55vw)}
  .regate .b4{transform:translateX(70vw)} .regate .b5{transform:translateX(15vw)} .regate .b6{transform:translateX(45vw)}
  .regate .b7{transform:translateX(80vw)} .regate .b8{transform:translateX(60vw)}
}
.bateau-perso{position:relative;container-type:inline-size}
.regate .b > .bateau-perso{width:calc(var(--k) * var(--l))}
.regate .bateau-perso img.visage{position:absolute;left:22.6%;top:45.4%;width:29.6%;height:35.7%;border-radius:50%;object-fit:cover;object-position:50% 40%}
.bateau-perso .prenom{position:absolute;left:19%;top:87%;width:38%;height:10.5%;background:rgb(209,134,68);color:#111;font-family:Arial,Helvetica,sans-serif;font-size:7.6cqw;line-height:1;display:flex;align-items:center;justify-content:center;white-space:nowrap}

/* ---------- Les parties colorées, séparées par une vague ---------- */
.partie{position:relative;background:var(--fond);color:var(--texte);--titre:var(--lac);padding:44px 0 72px}
.partie .vague{position:absolute;left:0;top:-59px;width:100%;height:60px;display:block;fill:var(--fond);z-index:3;pointer-events:none}
.f-clair{--fond:var(--clair);--texte:var(--encre)}
.f-ecume{--fond:var(--ecume);--texte:var(--encre)}
.f-mer{--fond:var(--mer);--texte:#fff;--titre:#fff}
.f-nuit{--fond:var(--lac);--texte:#fff;--titre:#fff}
.f-balise{--fond:var(--balise);--texte:var(--lac)}
.partie-in{max-width:1100px;margin:0 auto;padding:0 max(16px,env(safe-area-inset-left,0px))}
.partie h2{margin:0 0 .5em;font-size:clamp(1.8rem,4vw,var(--c-h2,2.4rem));color:var(--titre)}
.partie h3{margin:1em 0 .3em;font-size:1.3rem;color:var(--titre)}
.partie p,.partie ul,.partie ol{max-width:68ch}
.partie p{margin:0 0 .9em}
.partie ul,.partie ol{padding-left:1.3em}
.partie li{margin:.3em 0}
.partie li::marker{color:var(--balise)}
.f-balise li::marker{color:var(--lac)}
.lead{font-size:clamp(1.3rem,2.6vw,1.7rem);font-weight:700;line-height:1.3;font-family:var(--f-titre);color:var(--titre)}
.retrait{margin-left:2em;font-size:.95em}
.espace{height:1.6em}
.prix{font-weight:700}
.f-mer a,.f-nuit a{color:#fff}
.f-mer .btn,.f-nuit .btn{color:var(--lac)}
.f-balise .btn{background:var(--lac);color:#fff}
.infos .partie-in{text-align:center}
.infos .partie-in p{margin-left:auto;margin-right:auto}
.infos .boutons{justify-content:center}
.infos h2{font-size:clamp(1.8rem,4vw,2.6rem)}

/* Petites colonnes (sans cadre) */
.objectifs{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px 32px;margin:1.2em 0 1.6em}
.objectif h3{margin:0 0 .3em;padding-top:12px;border-top:4px solid var(--balise);font-size:1.25rem}
.objectif p,.objectif ul{margin:0 0 .4em}
.objectif ul{padding-left:1.1em}
/* Prix en grand */
.formules{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0;margin:1.2em 0}
.formule{background:var(--lac);color:#fff;padding:22px 24px}
.formule:nth-child(2n){background:var(--lac-2)}
.f-nuit .formule{background:rgba(255,255,255,.08)}
.f-nuit .formule:nth-child(2n){background:rgba(255,255,255,.14)}
.formule h3.duree{margin:0;font-size:1.15rem;color:#fff}
.formule .prix{font-family:var(--f-titre);font-size:2.3rem;font-weight:800;color:var(--balise);margin:.1em 0;font-variant-numeric:tabular-nums}
.formule p{margin:0}
/* Chiffres */
.chiffres-asso{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px 28px;margin:1em 0 1.4em}
.chiffres-asso b{display:block;font-family:var(--f-titre);font-size:clamp(2.4rem,5vw,3.4rem);line-height:1;color:var(--balise);font-variant-numeric:tabular-nums}
.f-clair .chiffres-asso b,.f-ecume .chiffres-asso b{color:var(--mer)}
.chiffres-asso span{display:block;margin-top:4px}
/* Tableaux de prix */
.table-wrap{overflow-x:auto;margin:1em 0}
.tarifs{width:100%;max-width:640px;border-collapse:collapse;font-variant-numeric:tabular-nums;color:inherit}
.tarifs th,.tarifs td{padding:9px 4px;border-bottom:1px solid currentColor;border-bottom-color:color-mix(in srgb,currentColor 25%,transparent);text-align:left;font-weight:400}
.tarifs td:last-child{text-align:right;font-weight:700;white-space:nowrap;padding-left:16px}
.tarifs th[scope="col"]{font-weight:700}
/* Photos */
.galerie{display:flex;flex-wrap:wrap;gap:6px;margin:1.4em 0}
.galerie img{--r:1.333;flex:var(--r) 1 calc(var(--r) * 170px);min-width:0;width:auto;height:auto;aspect-ratio:var(--r);object-fit:cover;max-height:480px}
.galerie::after{content:"";flex:10 1 0}
.photo-seule{margin:1.2em 0}
.photo-seule img{height:auto}
.photo-seule img.taille-petite{width:min(260px,100%)}
.photo-seule img.taille-moyenne{width:min(440px,100%)}
.photo-seule img.taille-grande,.photo-seule img:not([class*="taille-"]){width:100%}
.cadre-flou{position:relative;overflow:hidden;background:var(--lac);aspect-ratio:4/3;width:100%}
.cadre-flou img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain}
.cadre-flou img.fond{position:absolute;inset:-24px;z-index:0;width:calc(100% + 48px);height:calc(100% + 48px);max-width:none;object-fit:cover;filter:blur(18px) brightness(.85)}
/* Portrait */
.portrait{display:flex;gap:24px;align-items:center}
.portrait img{flex:0 0 clamp(120px,26%,200px);width:clamp(120px,26%,200px);aspect-ratio:1;object-fit:cover;object-position:50% 30%;border-radius:50%}
.portrait-texte p:last-child{margin-bottom:0}
@media (max-width:480px){.portrait{flex-direction:column;align-items:flex-start}.portrait img{width:50%;flex-basis:auto}}
/* Flotte */
.flotte{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;margin:1em 0}
.flotte figure{margin:0}
.flotte .photo-seule,.flotte .galerie{margin:0}
.flotte .galerie::after{display:none}
.flotte .galerie img{flex:1 1 100%;width:100%;max-height:none;aspect-ratio:4/3;object-fit:cover}
.flotte figcaption{padding:12px 0 0}
.flotte figcaption b{display:block;font-family:var(--f-titre);font-size:1.4rem;color:var(--titre)}
/* Logos */
.logos{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.logos img{height:60px;width:auto;object-fit:contain;background:#fff;border-radius:6px;padding:6px}
.logos img.logo-fonce{background:var(--lac)}

/* ---------- Accueil : les 4 vignettes ---------- */
.vignettes{padding:0}
.cartes{display:grid;grid-template-columns:repeat(4,1fr)}
@media (max-width:1000px){.cartes{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.cartes{grid-template-columns:1fr}}
.carte{position:relative;height:clamp(380px,66vh,680px);overflow:hidden;background:var(--lac);color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:22px 22px 30px}
@media (max-width:600px){.carte{height:62vh;min-height:340px}}
.carte-photos{position:absolute;inset:0}
.carte-photos img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .8s ease}
.carte:hover .carte-photos img{transform:scale(1.04)}
.carte::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(8,28,40,.85) 0%,rgba(8,28,40,.25) 45%,transparent 70%);pointer-events:none}
.carte-titre{position:relative;z-index:2;margin:0;font-size:clamp(1.6rem,2.4vw,2.2rem);text-shadow:0 1px 10px rgba(0,0,0,.4)}
.carte-lien{text-decoration:none;color:#fff}
.carte-lien::after{content:"";position:absolute;inset:0;z-index:2}
.carte-lien:focus-visible{outline:none}
.carte:focus-within{outline:4px solid var(--balise);outline-offset:-4px}
.carte-sous{position:relative;z-index:3;display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.carte-sous{gap:12px;margin-top:16px}
.carte-sous .btn{min-height:54px;padding:10px 30px;font-size:1.3rem;box-shadow:0 4px 14px rgba(0,0,0,.25)}
@media (hover:hover) and (pointer:fine){
  .carte-sous{opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s}
  .carte:hover .carte-sous,.carte:focus-within .carte-sous{opacity:1;transform:none}
}
/* La vignette du journal : la couverture du livre */
.carte-livre .livre-couv{position:absolute;z-index:1;left:50%;top:40%;height:clamp(150px,34%,250px);aspect-ratio:3/4;transform:translate(-50%,-50%) rotate(-4deg);background:#fffdf7;color:var(--lac);border-radius:3px 10px 10px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6%;padding:6% 8% 6% 13%;text-align:center;box-shadow:inset 9px 0 10px -6px rgba(60,40,10,.45),2px 0 0 #e9e0c8,4px 0 0 #f6f0de,0 18px 30px rgba(0,0,0,.45);transition:transform .4s}
.carte-livre:hover .livre-couv{transform:translate(-50%,-50%) rotate(0) scale(1.04)}
.livre-couv img{width:62%;height:auto;mix-blend-mode:multiply}
.livre-titre{font-family:var(--f-titre);font-weight:800;font-size:clamp(1rem,1.6vw,1.3rem);line-height:1}

/* ---------- Pied de page fixe ---------- */
.pied{position:fixed;left:0;right:0;bottom:0;z-index:90;background:var(--voile);box-shadow:0 -4px 20px rgba(13,44,63,.14);padding-bottom:env(safe-area-inset-bottom,0px)}
.pied .inner{max-width:1300px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:10px 28px;flex-wrap:wrap;padding:8px max(12px,env(safe-area-inset-left,0px))}
.boutons-pied{display:flex;align-items:center;gap:12px}
.btn-pied{min-height:38px;padding:6px 18px;font-size:.98rem;min-width:9em}
.btn-don{display:flex;flex-direction:column;align-items:center;gap:0;background:none;border:0;cursor:pointer;padding:2px 6px;color:#c8102e;font-family:var(--f-titre);font-weight:800;font-size:.85rem;letter-spacing:.12em;line-height:1}
.btn-don img{height:40px;width:auto;transition:transform .3s}
.btn-don:hover img{transform:scale(1.12) rotate(-4deg)}
.soutiens{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center}
.soutiens .lbl{margin:0;font-family:var(--f-texte);font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--brume);font-weight:700}
.soutiens ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:center}
.soutiens img{height:42px;width:auto}
@media (max-width:760px){
  .pied .inner{gap:6px 10px;padding-top:6px;padding-bottom:6px}
  .btn-pied{min-width:0;padding:5px 12px;font-size:.88rem;min-height:34px}
  .btn-don img{height:32px}
  .soutiens .lbl{display:none}
  .soutiens ul{gap:10px}
  .soutiens img{height:28px}
}
.lien-legal{margin:0;padding:18px 16px 22px;text-align:center;font-size:.88em;background:var(--lac);color:#fff}
.lien-legal a{color:#fff}

/* ---------- Fenêtres (contact, don, équipement) ---------- */
dialog.contact{border:0;border-radius:16px;padding:0;max-width:min(460px,calc(100vw - 32px));width:100%;max-height:calc(100vh - 32px);overflow:auto;background:var(--voile);color:var(--encre)}
dialog.contact::backdrop{background:rgba(8,28,40,.6)}
dialog.contact .c{padding:24px;display:grid;gap:12px}
dialog.contact h2{margin:0;color:var(--lac)}
dialog.contact .ligne{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--ligne)}
dialog.contact .ligne a{font-weight:700;word-break:break-all}
dialog.contact .fermer{justify-self:end;background:var(--lac);color:#fff;border:0;border-radius:999px;padding:8px 20px;cursor:pointer;font-weight:700;font:inherit}
dialog.contact .gps{margin:0;font-size:.9em;color:var(--brume)}
dialog.cadeau .coeur-dialogue{width:90px;margin:0 auto}
dialog.cadeau h2{text-align:center}
dialog.cadeau .qr{width:min(220px,70%);height:auto;margin:0 auto}
dialog.cadeau .petit,dialog.equipement .petit{margin:0;font-size:.9em;color:var(--brume);text-align:center}
dialog.cadeau .iban{font-variant-numeric:tabular-nums;white-space:nowrap}
dialog.cadeau .copier-iban{justify-self:center;font:inherit;font-weight:700;background:var(--balise);color:var(--lac);border:0;border-radius:999px;padding:8px 20px;cursor:pointer}
.boutons-equipement{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:12px}
.btn-equipement{font:inherit;font-weight:700;cursor:pointer;color:var(--lac);background:rgba(255,255,255,.65);border:0;border-radius:999px;padding:9px 18px;display:inline-flex;align-items:center;gap:8px}
.btn-equipement::before{content:"";flex:none;width:18px;height:18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4a3 3 0 0 1 6 0v1h1a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a4 4 0 0 1 4-4h1V4zm2 1h2V4a1 1 0 0 0-2 0v1zm-3 7v2h8v-2H8z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4a3 3 0 0 1 6 0v1h1a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a4 4 0 0 1 4-4h1V4zm2 1h2V4a1 1 0 0 0-2 0v1zm-3 7v2h8v-2H8z'/%3E%3C/svg%3E") center/contain no-repeat}
.btn-equipement:hover{background:#fff}
ul.check{list-style:none;margin:0;padding:0;display:grid;gap:4px}
ul.check label{display:flex;gap:12px;align-items:center;padding:8px 4px;cursor:pointer;border-bottom:1px solid var(--ligne)}
ul.check input{width:20px;height:20px;flex:none;accent-color:var(--mer)}
ul.check input:checked + span{text-decoration:line-through;opacity:.6}

/* ---------- Agenda ---------- */
.agenda-liste{list-style:none;margin:1.2em 0;padding:0;display:grid;gap:18px;position:relative;max-width:760px}
.agenda-liste::before{content:"";position:absolute;left:23px;top:8px;bottom:8px;width:3px;background:color-mix(in srgb,currentColor 25%,transparent)}
.escale{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;align-items:start}
.escale .pastille{width:48px;height:48px;border-radius:50%;background:var(--balise);color:var(--lac);display:grid;place-items:center;font-family:var(--f-titre);font-weight:800;font-size:.9rem;z-index:1}
.escale h3{margin:0;font-size:1.35rem}
.escale .quand{margin:.2em 0 .3em;font-weight:700}
.escale .prix{display:inline-block;margin:.1em 0 .5em;background:var(--balise);color:var(--lac);border-radius:999px;padding:2px 12px;font-variant-numeric:tabular-nums}
.escale p{margin:0 0 .4em}

/* ---------- Page d'aide ---------- */
.aide-page .texte{max-width:78ch}

/* ---------- Mode malvoyant : contraste maximal et texte agrandi ---------- */
html.mv{--lac:#000;--lac-2:#000;--mer:#000;--clair:#000;--ecume:#000;--voile:#000;--encre:#ffeb3b;--brume:#ffeb3b;--balise:#ffeb3b;--ligne:#ffeb3b;--base:calc(var(--c-base,1.0625rem) * 1.27)}
html.mv .partie{--texte:#ffeb3b;--titre:#ffeb3b;border-top:3px solid #ffeb3b}
html.mv .f-balise{--fond:#000}
html.mv .partie .vague{display:none}
html.mv a{text-decoration:underline}
html.mv .btn{background:#ffeb3b;color:#000}
html.mv .f-balise .btn{background:#ffeb3b;color:#000}
html.mv .bandeau{border-bottom:3px solid #ffeb3b;color:#ffeb3b}
html.mv .logo img,html.mv .livre-couv img{mix-blend-mode:normal;background:#fff;border-radius:6px}
html.mv .nav-large a,html.mv .groupe-btn{color:#ffeb3b}
html.mv .video-fond,html.mv .video-pause{display:none}
html.mv .haut-video::after{display:none}
html.mv .boite-video{background:#000;border:3px solid #ffeb3b;color:#ffeb3b}
html.mv .titre-video h1,html.mv .carte-titre{text-shadow:none}
html.mv .carte::before{background:none}
html.mv .carte-titre{background:#000;padding:8px 12px;align-self:flex-start}
html.mv .carte-lien{color:#ffeb3b}
html.mv .carte-sous{opacity:1;transform:none}
html.mv .formule{background:#000;border:2px solid #ffeb3b;color:#ffeb3b}
html.mv .formule h3.duree{color:#ffeb3b}
html.mv .titre-regate{background:#000;color:#ffeb3b}
html.mv .regate{background:#000}
html.mv .hero::after{display:none}
html.mv .hero h1{background:#000;color:#ffeb3b;padding:6px 12px;width:fit-content;left:16px;right:auto}
html.mv .btn-don{color:#ffeb3b}
html.mv .lien-legal{background:#000;color:#ffeb3b;border-top:3px solid #ffeb3b}
html.mv dialog.contact h2{color:#ffeb3b}
html.mv .btn-equipement{background:#000;color:#ffeb3b;border:2px solid #ffeb3b}
html.mv .livre-couv{background:#000;color:#ffeb3b;border:2px solid #ffeb3b}

/* =====================================================================
   JOURNAL DE BORD : le livre en plein écran (repris tel quel)
   ===================================================================== */
body.page-journal{padding-bottom:0;background:var(--lac);overflow:hidden}
body.page-journal .bandeau,body.page-journal .pied,body.page-journal .saut{display:none!important}
.lp{position:fixed;inset:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:#fff;
  background:radial-gradient(120% 90% at 50% 40%,var(--lac-2) 0%,var(--lac) 70%);
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html.mv .lp{background:#000;color:#ffeb3b}
.lp:focus{outline:none}
.lp-barre{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;padding-block:10px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.lp-retour{color:inherit;font-weight:700;text-decoration:none;white-space:nowrap}
.lp-retour:hover{text-decoration:underline}
.lp-titre{margin:0 auto 0 0;font-family:var(--f-titre);font-size:1.25rem;line-height:1.1}
.lp-titre .lp-sous{font-family:var(--f-texte);font-weight:400;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.75;margin-left:8px}
.lp-outils{display:flex;gap:8px;flex-wrap:wrap}
.lp-btn,.lp-nav{font:inherit;font-weight:700;color:inherit;background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.35);border-radius:999px;padding:7px 16px;cursor:pointer}
.lp-btn:hover,.lp-nav:hover{background:rgba(255,255,255,.2)}
.lp-btn[aria-pressed="true"]{background:var(--balise);color:var(--lac);border-color:var(--balise)}
html.mv .lp-btn,html.mv .lp-nav{border-color:#ffeb3b;background:#000}
.lp-nav:disabled{opacity:.3;cursor:default}
.lp-bas{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:10px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.lp-nav{padding:10px 22px;font-size:1.05rem}
.lp-compteur{font-weight:700;font-variant-numeric:tabular-nums;text-align:center}
@media (max-width:640px){
  .lp-titre .lp-sous{display:none}
  .lp-titre{font-size:1.05rem}
  .lp-btn{padding:6px 12px;font-size:.9rem}
  .lp-nav{padding:9px 14px;font-size:.95rem}
}
.lp-scene{position:relative;min-height:0;padding:4px max(16px,env(safe-area-inset-right,0px)) 4px max(16px,env(safe-area-inset-left,0px));cursor:pointer;touch-action:pan-y}
.lp-livre{position:relative;height:100%;max-width:1500px;margin:0 auto;perspective:2600px}
.lp-feuille,.lp-volet .face{position:absolute;inset:0;background:#fffdf7;color:#1f2a30;border-radius:4px 14px 14px 4px;overflow:hidden;padding:clamp(16px,2.6vw,40px) clamp(16px,3vw,48px) clamp(16px,2.6vw,40px) clamp(28px,3.4vw,56px)}
.lp-feuille{box-shadow:0 2px 0 #e9e0c8,0 4px 0 #f6f0de,0 6px 0 #e3d9bd,0 30px 60px rgba(0,0,0,.45)}
.lp-feuille::before,.lp-volet .face::before{content:"";position:absolute;inset:0 auto 0 0;width:clamp(14px,2vw,26px);background:linear-gradient(to right,rgba(60,40,10,.22),rgba(60,40,10,.06) 60%,transparent);pointer-events:none;z-index:2}
.lp-feuille::after{content:"";position:absolute;right:0;bottom:0;width:46px;height:46px;background:linear-gradient(135deg,transparent 50%,#e9dfc4 50%,#fffdf7 72%);box-shadow:-3px -3px 6px rgba(0,0,0,.08);border-top-left-radius:6px;pointer-events:none;z-index:2;transition:width .25s,height .25s}
html.mv .lp-feuille,html.mv .lp-volet .face{background:#000;color:#ffeb3b;border:3px solid #ffeb3b}
html.mv .lp-feuille::after{display:none}
.lp-chargement{margin:0;font-size:1.2rem}
.lp-volet{position:absolute;inset:0;transform-origin:left center;transform-style:preserve-3d;z-index:5;pointer-events:none}
.lp-volet .face{backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.lp-volet .verso{transform:rotateY(180deg);background:linear-gradient(to left,#fffdf7 0%,#f1e8d2 100%)}
html.mv .lp-volet .verso{background:#000}
.lp-volet .lp-contenu{height:100%}
.lp-volet .reflet{position:absolute;inset:0;opacity:0;pointer-events:none;background:linear-gradient(to left,rgba(0,0,0,.45),rgba(0,0,0,.05) 70%,rgba(255,255,255,.25));z-index:3}
.lp-ombre{position:absolute;inset:0;opacity:0;pointer-events:none;z-index:4;background:linear-gradient(to right,rgba(0,0,0,.55),rgba(0,0,0,.15) 45%,transparent 80%)}
.pg-entree{height:100%;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(16px,2.6vw,40px)}
.pg-entree.sans-photo{grid-template-columns:minmax(0,1fr);max-width:70ch;margin:0 auto}
.pg-photos{min-height:0;height:100%;display:flex;gap:12px}
.pg-photos.colonne{flex-direction:column}
.pg-photos img{flex:1 1 0;min-width:0;min-height:0;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 3px 8px rgba(0,0,0,.28))}
.pg-texte{min-height:0;overflow-y:auto;font-size:clamp(1.05rem,1.15vw + .35rem,1.35rem);line-height:1.6;padding-right:6px;align-self:center;max-height:100%}
.pg-texte h2{margin:.15em 0 .5em;font-family:var(--f-titre);font-size:clamp(1.7rem,2.6vw,2.6rem);line-height:1.08;color:var(--lac);text-wrap:balance}
.pg-texte h2:focus,.pg-sommaire h2:focus,.pg-couv h2:focus{outline:none}
.pg-texte p{margin:0 0 .85em}
.pg-date{font-size:.85em;font-weight:700;letter-spacing:.03em;color:#6a5a2f;margin:0!important}
.pg-date span{background:var(--balise);color:var(--lac);padding:1px 8px;border-radius:4px;margin-right:4px}
html.mv .pg-texte h2,html.mv .pg-date{color:#ffeb3b}
.chiffres{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 1em}
.chiffres div{border:1px solid #e2d8bd;border-radius:10px;padding:10px 12px}
.chiffres dt{font-family:var(--f-titre);font-size:2rem;font-weight:800;color:var(--lac-2);font-variant-numeric:tabular-nums}
.chiffres dd{margin:0;font-size:.92em}
html.mv .chiffres dt{color:#ffeb3b}
@media (max-width:760px),(orientation:portrait) and (max-width:1024px){
  .pg-entree{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,48%) minmax(0,1fr);gap:14px}
  .pg-entree.sans-photo{grid-template-rows:minmax(0,1fr)}
  .pg-texte{align-self:stretch}
}
.pg-couv{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;overflow-y:auto}
.pg-couv img{width:clamp(140px,22vh,240px);height:auto}
.pg-couv .couv-sur{margin:0;letter-spacing:.16em;text-transform:uppercase;font-size:.85rem;font-weight:700}
.pg-couv h2{margin:0;font-family:var(--f-titre);font-size:clamp(2.6rem,7vw,5rem);line-height:1;color:var(--lac)}
html.mv .pg-couv h2{color:#ffeb3b}
.pg-couv .couv-ans{margin:0;font-family:var(--f-titre);font-size:1.4rem}
.btn-ouvrir{margin-top:8px;font:inherit;font-weight:700;background:var(--balise);color:var(--lac);border:0;border-radius:999px;padding:13px 30px;cursor:pointer;font-size:1.1rem}
.couv-aide{margin:6px 0 0;max-width:46ch;font-size:.95rem;color:#5b6f7c}
html.mv .couv-aide{color:#ffeb3b}
.pg-sommaire{height:100%;overflow-y:auto;font-size:clamp(1rem,1vw + .3rem,1.2rem)}
.pg-sommaire h2{margin:0 0 14px;font-family:var(--f-titre);font-size:clamp(1.8rem,3vw,2.6rem);color:var(--lac)}
html.mv .pg-sommaire h2{color:#ffeb3b}
.som-cols{columns:3 280px;column-gap:40px}
.som-annee{break-inside:avoid;margin-bottom:16px}
.som-annee h3{margin:0 0 4px;font-family:var(--f-titre);font-size:1.25rem;color:var(--lac-2);border-bottom:3px solid var(--balise);display:inline-block}
html.mv .som-annee h3{color:#ffeb3b}
.som-annee ol{list-style:none;margin:0;padding:0}
.som-annee button{all:unset;cursor:pointer;display:flex;gap:8px;width:100%;padding:6px 0;border-bottom:1px dotted #c9bfa5;box-sizing:border-box}
.som-annee button span{flex:1;min-width:0}
.som-annee button em{font-style:normal;font-variant-numeric:tabular-nums;font-weight:700}
.som-annee button:hover span,.som-annee button:focus-visible span{text-decoration:underline}
.som-annee button:focus-visible{outline:3px solid var(--balise)}
.lp-mv{display:inline-flex;align-items:center;gap:8px}
.lp-mv img{height:24px;width:auto;background:#fff;border-radius:4px;padding:1px}
.lp .court{display:none}
@media (max-width:640px){
  .lp-barre{flex-wrap:nowrap;gap:8px}
  .lp-titre{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .lp-retour{margin-right:auto}
  .lp .long{display:none}
  .lp .court{display:block}
  .lp-plein{display:none!important}
  .lp-feuille::after{width:30px;height:30px}
  .pg-entree{grid-template-rows:minmax(0,55%) minmax(0,1fr)}
}
@media (hover:hover){
  .lp-scene:hover .lp-feuille::after{width:64px;height:64px}
}
.pg-couv{justify-content:flex-start;padding-block:8px}
.pg-couv img{width:clamp(90px,15vh,180px)}
.pg-couv h2{font-size:clamp(2.2rem,6vw,4.2rem)}
.couv-soutiens{margin-top:14px;padding-top:14px;border-top:2px dashed #e2d8bd;width:100%;max-width:900px}
.couv-soutiens h3{margin:0;font-family:var(--f-titre);font-size:clamp(1.3rem,2.4vw,1.8rem);color:var(--lac)}
html.mv .couv-soutiens h3{color:#ffeb3b}
.couv-soutiens p{margin:4px auto 12px;max-width:52ch}
.couv-soutiens ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:18px 28px;justify-content:center;align-items:center}
.pg-couv .couv-soutiens img{width:auto;height:clamp(48px,9vh,90px);max-width:220px;object-fit:contain;background:#fff;border-radius:8px;padding:6px}
.pg-couv{justify-content:center;gap:clamp(4px,1.2vh,10px)}
.pg-couv img{width:auto;height:clamp(60px,14vh,170px)}
.pg-couv h2{font-size:clamp(2rem,min(7vw,8vh),4.2rem)}
.pg-couv .couv-ans{font-size:clamp(1rem,2.4vh,1.4rem)}
.couv-soutiens{margin-top:clamp(6px,1.5vh,14px);padding-top:clamp(6px,1.5vh,14px)}
.couv-soutiens p{margin:2px auto clamp(6px,1.2vh,12px)}
.pg-couv .couv-soutiens img{height:clamp(36px,8vh,90px)}
@media (max-height:760px){
  .couv-aide{display:none}
}
@media (min-width:900px){
  .pg-couv.deux{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:0 clamp(24px,4vw,56px)}
  .pg-couv.deux .couv-titre{display:flex;flex-direction:column;align-items:center;gap:clamp(4px,1.2vh,10px)}
  .pg-couv.deux .couv-soutiens{margin:0;padding:0 0 0 clamp(24px,4vw,56px);border-top:0;border-left:2px dashed #e2d8bd;max-width:none}
  .pg-couv.deux .couv-soutiens ul{gap:clamp(12px,2.5vh,26px) 24px}
  .pg-couv.deux .couv-soutiens img{height:clamp(44px,10vh,100px);max-width:240px}
}
.couv-titre{display:flex;flex-direction:column;align-items:center;gap:clamp(4px,1.2vh,10px)}
@media (max-width:899px){
  .couv-aide{display:none}
  .pg-couv > .couv-titre > img{height:clamp(50px,10vh,110px)}
  .couv-soutiens p{font-size:.9em}
  .couv-soutiens ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;justify-items:center}
  .pg-couv .couv-soutiens img{height:clamp(32px,5.5vh,56px);max-width:100%}
}
.lp-nav{white-space:nowrap}
@media (max-width:400px){
  .lp-nav{padding:9px 10px}
}
.lp-drapeau{padding:4px 8px;display:inline-flex;align-items:center}
.lp-drapeau img{height:20px;width:auto;border-radius:3px;display:block}
.lp-drapeau[aria-pressed="true"]{background:rgba(255,255,255,.25);border-color:var(--balise)}
@media (max-width:640px){
  .lp-drapeau{padding:3px 6px}
  .lp-drapeau img{height:16px}
}
.pg-couv > .couv-titre > img{height:clamp(110px,30vh,300px)}
@media (max-width:899px){
  .pg-couv > .couv-titre > img{height:clamp(80px,17vh,180px)}
}
@media (max-width:640px){
  .lp-outils{flex-wrap:nowrap;gap:4px}
  .lp-btn{padding:5px 9px}
}
@media (max-width:899px) and (max-height:700px){
  .pg-couv > .couv-titre > img{height:11vh}
  .couv-soutiens p{display:none}
}
.logos img.logo-fonce,.soutiens img.logo-fonce,.couv-soutiens img.logo-fonce{background:#0d2c3f}
.pg-date .pg-quand{background:none;color:inherit;padding:0;margin:0;border-radius:0}
.livre-couv{position:relative;z-index:1;margin-top:clamp(36px,12%,60px);height:68%;aspect-ratio:3/4;background:#fffdf7;color:var(--lac);border-radius:3px 10px 10px 3px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4%;padding:6% 8% 6% 13%;text-align:center;
  box-shadow:inset 9px 0 10px -6px rgba(60,40,10,.45),2px 0 0 #e9e0c8,4px 0 0 #f6f0de,6px 1px 0 #e3d9bd,0 18px 30px rgba(0,0,0,.45);
  transform:rotate(-4deg);transition:transform .4s ease}
.carte-livre:hover .livre-couv,.carte-livre:focus-visible .livre-couv{transform:rotate(0) scale(1.04)}
.livre-couv img{width:58%;height:auto;mix-blend-mode:multiply}
html.mv .livre-couv{background:#000;color:#ffeb3b;border:2px solid #ffeb3b}
html.mv .livre-couv img{background:#fff;mix-blend-mode:normal;border-radius:6px}
.carte-livre .livre-couv{position:absolute;left:50%;top:58%;height:64%;margin:0;transform:translate(-50%,-50%) rotate(-4deg)}
.carte-livre:hover .livre-couv,.carte-livre:focus-visible .livre-couv{transform:translate(-50%,-50%) rotate(0) scale(1.04)}
.pg-couv .couv-titre > img{mix-blend-mode:multiply}
html.mv .pg-couv .couv-titre > img{mix-blend-mode:normal;background:#fff;border-radius:8px}
.lp-drapeau{padding:4px 8px;display:inline-flex;align-items:center}
.lp-drapeau img{height:20px;width:auto;border-radius:3px;display:block}
body.page-journal{padding-bottom:0}

@media (max-width:600px){
  .carte-livre .livre-couv{top:36%;height:clamp(130px,28%,190px)}
}

/* Page d'aide et page introuvable */
.aide,.wrap{max-width:900px;margin:0 auto;padding:16px max(16px,env(safe-area-inset-left,0px)) 48px}
.aide .contenu,.aide .texte{display:block}
.aide table{color:var(--encre)}
.intro{padding:48px 0}
.intro h1{font-size:clamp(2rem,5vw,3.2rem);color:var(--lac);margin:0 0 .4em}
.aide table{display:block;overflow-x:auto}
.aide pre{white-space:pre-wrap;word-break:break-word}
.aide code{word-break:break-word}
.haut-video > *{min-width:0;max-width:100%}
.boite-video .tarifs td:last-child{white-space:normal}
@media (max-width:600px){.boite-video .tarifs th,.boite-video .tarifs td{font-size:.92em}}

/* =====================================================================
   Version 4 (novembre 2026)
   ===================================================================== */
/* Vignettes de l'accueil : photos découpées en forme de vague, sans blanc */
.vignettes{background:transparent;margin-top:-60px;position:relative;z-index:4;padding:0}
.vignettes > .vague{display:none}
.carte{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,58 C180,18 360,8 560,34 C760,60 920,84 1120,62 C1260,46 1360,30 1440,36 L1440,90 L0,90 Z'/%3E%3C/svg%3E") top left/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,58 C180,18 360,8 560,34 C760,60 920,84 1120,62 C1260,46 1360,30 1440,36 L1440,90 L0,90 Z'/%3E%3C/svg%3E") top left/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat;
  padding-top:80px}
@media (min-width:1001px){
  /* côte à côte : une seule grande vague qui court sur les 4 photos */
  .carte:nth-child(1){-webkit-mask-size:400% 61px,100% calc(100% - 60px);mask-size:400% 61px,100% calc(100% - 60px);-webkit-mask-position:0 0,left 60px;mask-position:0 0,left 60px}
  .carte:nth-child(2){-webkit-mask-size:400% 61px,100% calc(100% - 60px);mask-size:400% 61px,100% calc(100% - 60px);-webkit-mask-position:33.333% 0,left 60px;mask-position:33.333% 0,left 60px}
  .carte:nth-child(3){-webkit-mask-size:400% 61px,100% calc(100% - 60px);mask-size:400% 61px,100% calc(100% - 60px);-webkit-mask-position:66.666% 0,left 60px;mask-position:66.666% 0,left 60px}
  .carte:nth-child(4){-webkit-mask-size:400% 61px,100% calc(100% - 60px);mask-size:400% 61px,100% calc(100% - 60px);-webkit-mask-position:100% 0,left 60px;mask-position:100% 0,left 60px}
}
@media (max-width:1000px){
  /* l'une sous l'autre (ou 2 par 2) : chaque photo passe à la suivante par une vague */
  .cartes{row-gap:0}
  .carte{margin-top:-60px}
  .carte:nth-child(-n+2){margin-top:0}
}
@media (max-width:600px){.carte:nth-child(2){margin-top:-60px}}
.carte::before{background:linear-gradient(to top,rgba(8,28,40,.8) 0%,rgba(8,28,40,.15) 45%,transparent 70%)}
html.mv .carte{-webkit-mask:none;mask:none;margin-top:0;border-top:3px solid #ffeb3b}
html.mv .vignettes{margin-top:0}

/* Journal de bord : une seule photo fixe, un grand livre, un grand logo */
.carte-livre .livre-couv{top:44%;height:clamp(240px,58%,420px);gap:4%;padding:6% 7% 6% 11%}
.carte-livre .livre-couv img{width:92%}
.carte-livre .livre-titre{font-size:clamp(1.3rem,2.2vw,2rem)}
@media (max-width:600px){.carte-livre .livre-couv{top:44%;height:66%}.carte-livre .livre-titre{font-size:1.7rem}}

/* Prix en mer : côte à côte, même sur téléphone, et plus compacts */
.formules{grid-template-columns:repeat(2,minmax(0,1fr))}
.formule{padding:14px 16px}
.formule h3.duree{font-size:1rem}
.formule .prix{font-size:clamp(1.5rem,4vw,2rem)}
.formule p{font-size:.92em}

/* Menu : « Cours de voile » en noir, Adultes et Juniors en bleu */
.groupe-nom{color:var(--encre);text-transform:none;letter-spacing:0;font-size:1.15rem;padding:12px 10px 4px}
.groupe-tel ul a,.sous a{color:var(--mer)}
.groupe-btn{color:var(--encre)}
html.mv .groupe-nom,html.mv .groupe-tel ul a,html.mv .sous a{color:#ffeb3b}

/* Bouton DON : la tirelire */
.btn-don img{height:44px}
dialog.cadeau .coeur-dialogue{width:110px}

/* Journal : bouton « ← Accueil » comme ailleurs */
.lp .retour-accueil{background:#fff;color:var(--lac)}
.lp .retour-accueil:hover{background:var(--balise)}
html.mv .lp .retour-accueil{background:#000;color:#ffeb3b;border:2px solid #ffeb3b}
/* Téléphone : les photos des galeries en pleine largeur, l'une sous l'autre */
@media (max-width:600px){
  .galerie{gap:4px}
  .galerie img{flex:1 1 100%;width:100%;max-height:none}
  .galerie::after{display:none}
}

/* =====================================================================
   Version 5 (2 novembre 2026, fin de journée)
   ===================================================================== */
/* Vidéo d'accueil : tout l'écran, la vague n'apparaît qu'en descendant */
.haut-video.accueil{min-height:calc(100svh - var(--bandeau));align-items:start;padding-top:clamp(70px,18vh,180px)}
.haut-video.accueil .titre-video h1{font-size:clamp(1.9rem,4.6vw,3.4rem);font-weight:700;color:var(--balise);letter-spacing:.01em;text-shadow:0 1px 14px rgba(0,0,0,.45)}

/* Vignettes : clic sur toute la surface, titre en haut à gauche, vague en haut ET en bas */
.carte{cursor:pointer;justify-content:flex-start;padding:76px 22px 96px}
.carte::before{background:linear-gradient(to bottom,rgba(8,28,40,.78) 0%,rgba(8,28,40,.2) 34%,transparent 55%,rgba(8,28,40,.35) 100%)}
.carte-sous{margin-top:auto}
.vignettes{background:linear-gradient(to bottom,transparent 60px,var(--clair) 60px)}
.vignettes + .partie > .vague{display:none}
.vignettes + .partie{padding-top:20px}
.carte{
  --vh:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,58 C180,18 360,8 560,34 C760,60 920,84 1120,62 C1260,46 1360,30 1440,36 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
  --vb:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,40 C1300,58 1140,80 940,62 C740,44 600,18 400,30 C240,40 110,58 0,46 Z'/%3E%3C/svg%3E");
  -webkit-mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 119px) no-repeat,var(--vb) left bottom/100% 61px no-repeat;
  mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 119px) no-repeat,var(--vb) left bottom/100% 61px no-repeat}
@media (min-width:1001px){
  .carte:nth-child(n){-webkit-mask-size:400% 61px,100% calc(100% - 119px),400% 61px;mask-size:400% 61px,100% calc(100% - 119px),400% 61px}
  .carte:nth-child(1){-webkit-mask-position:0 0,left 60px,0 100%;mask-position:0 0,left 60px,0 100%}
  .carte:nth-child(2){-webkit-mask-position:33.333% 0,left 60px,33.333% 100%;mask-position:33.333% 0,left 60px,33.333% 100%}
  .carte:nth-child(3){-webkit-mask-position:66.666% 0,left 60px,66.666% 100%;mask-position:66.666% 0,left 60px,66.666% 100%}
  .carte:nth-child(4){-webkit-mask-position:100% 0,left 60px,100% 100%;mask-position:100% 0,left 60px,100% 100%}
}
@media (max-width:1000px){
  /* seules les dernières vignettes ont la vague du bas (les autres sont recouvertes par la suivante) */
  .carte:not(:nth-last-child(-n+2)){-webkit-mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat;mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat}
}
@media (max-width:600px){
  .carte:nth-last-child(2){-webkit-mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat;mask:var(--vh) left top/100% 61px no-repeat,linear-gradient(#000,#000) left 60px/100% calc(100% - 60px) no-repeat}
  .carte{padding-bottom:104px}
}
html.mv .vignettes{background:#000}

/* Tirelire : sans le mot DON, une bulle « Offrez-leur le large » au survol */
.btn-don{position:relative}
.btn-don img{height:46px}
.bulle-don{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,6px);white-space:nowrap;background:var(--lac);color:#fff;font-family:var(--f-titre);font-weight:700;font-size:.95rem;letter-spacing:0;padding:8px 14px;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.bulle-don::after{content:"";position:absolute;left:50%;top:100%;margin-left:-7px;border:7px solid transparent;border-top-color:var(--lac)}
.btn-don:hover .bulle-don,.btn-don:focus-visible .bulle-don{opacity:1;transform:translate(-50%,0)}
html.mv .bulle-don{background:#ffeb3b;color:#000}
html.mv .bulle-don::after{border-top-color:#ffeb3b}

/* =====================================================================
   Version 6 (2 novembre 2026, soir)
   ===================================================================== */
.haut-video.accueil{padding-top:clamp(28px,7vh,80px)}
.carte-groupe{cursor:default}
/* Fenêtre « Faire un don » : compacte, tout est visible sans dérouler */
dialog.cadeau{max-height:calc(100dvh - 24px);width:min(400px,calc(100vw - 24px))}
dialog.cadeau .c{position:relative;padding:16px 18px;gap:6px}
dialog.cadeau .coeur-dialogue{width:64px}
dialog.cadeau h2{font-size:1.35rem}
dialog.cadeau p{margin:0;font-size:.95em;line-height:1.4}
dialog.cadeau .qr{width:min(150px,42vw)}
dialog.cadeau .ligne{padding:5px 0;font-size:.92em}
dialog.cadeau .copier-iban{padding:6px 18px}
dialog.cadeau .fermer:not(.fermer-croix){padding:6px 18px}
.fermer-croix{position:absolute;top:8px;right:8px;width:40px;height:40px;padding:0!important;border-radius:50%!important;font-size:1.6rem!important;line-height:1;display:grid;place-items:center}
@media (max-height:700px){dialog.cadeau .coeur-dialogue{display:none}dialog.cadeau .qr{width:120px}}

/* =====================================================================
   Version 7 (2 novembre 2026, soir)
   ===================================================================== */
/* Vidéo d'accueil plus claire */
.haut-video.accueil .video-fond{filter:brightness(1.3) saturate(1.1)}
.haut-video.accueil::after{background:linear-gradient(to bottom,rgba(8,28,40,.25) 0%,rgba(8,28,40,0) 40%)}
/* Logos des soutiens et partenaires centrés */
.logos{justify-content:center}
/* Flèches bien centrées dans les boutons */
.retour-accueil{line-height:1;gap:6px}
.retour-accueil .fleche{width:20px;height:20px;flex:none;display:block}
@media (max-width:520px){.retour-accueil .fleche{width:22px;height:22px}}
.lp-nav,.btn-ouvrir{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.2}
.lp-nav span[aria-hidden],.btn-ouvrir span[aria-hidden]{line-height:1;position:relative;top:-.06em}
.btn-don img{height:54px;margin:-4px 0}

/* =====================================================================
   Version 8 : logo clair en grand sur la vidéo d'accueil
   ===================================================================== */
.haut-video.accueil{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:2vw;align-items:start}
.haut-video.accueil .titre-video{text-align:left;padding-left:clamp(0px,4vw,60px)}
.logo-video{position:relative;z-index:2;justify-self:center;align-self:center;width:min(42vw,560px);height:auto;filter:drop-shadow(0 2px 14px rgba(0,0,0,.35));pointer-events:none}
@media (max-width:760px){
  .haut-video.accueil{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .haut-video.accueil .titre-video{text-align:center;padding-left:0}
  .logo-video{width:min(78vw,380px);align-self:start;margin-top:4vh}
}
html.mv .logo-video{filter:none}
/* Version 9 : phrase centrée, logo un peu plus petit, cochon un peu plus grand (cadre agrandi pour le saut) */
.haut-video.accueil .titre-video{text-align:center;padding-left:0}
.logo-video{width:min(32vw,430px)}
@media (max-width:760px){.logo-video{width:min(62vw,290px)}}
.btn-don img{height:62px;margin:-10px 0 -4px}

/* =====================================================================
   Version 10
   ===================================================================== */
/* Zéros sans barre : les chiffres du texte viennent de la police des titres */
@font-face{font-family:"LBB Chiffres";src:url(polices/bricolage-grotesque-400-normal-latin.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap;unicode-range:U+0030-0039}
:root{--f-texte:"LBB Chiffres","Atkinson Hyperlegible",Verdana,Arial,sans-serif}

/* Journal : photos en très grand */
.pg-entree{grid-template-columns:minmax(0,2.4fr) minmax(0,1fr);gap:clamp(16px,2.4vw,36px)}
.pg-photos{position:relative;display:block}
.pg-photos img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;border-radius:6px;filter:none;box-shadow:0 4px 14px rgba(0,0,0,.25);opacity:0;transition:opacity .2s}
.pg-photos.place img{opacity:1}
.pg-texte{font-size:clamp(1rem,.9vw + .4rem,1.25rem)}
.pg-texte h2{font-size:clamp(1.6rem,2.2vw,2.3rem)}
@media (max-width:760px),(orientation:portrait) and (max-width:1024px){
  .pg-entree{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,60%) minmax(0,1fr);gap:12px}
}
@media (max-width:640px){.pg-entree{grid-template-rows:minmax(0,58%) minmax(0,1fr)}}
/* Journal : sommaire visible d'un coup d'œil */
.pg-sommaire{display:flex;flex-direction:column;overflow:hidden}
.pg-sommaire h2{margin-bottom:8px}
.som-cols{flex:1;min-height:0;columns:4 210px;column-gap:32px;font-size:clamp(.95rem,.6vw + .55rem,1.12rem)}
.som-annee{break-inside:auto;margin-bottom:10px}
.som-annee h3{break-after:avoid;font-size:1.1rem}
.som-annee li{break-inside:avoid}
.som-annee button{padding:5px 0;line-height:1.3}
.som-tabs{display:none}
@media (max-width:760px),(orientation:portrait) and (max-width:1024px){
  .som-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
  .som-tabs button{font:inherit;font-family:var(--f-titre);font-weight:800;font-size:1.05rem;min-height:40px;padding:4px 14px;border-radius:999px;border:2px solid var(--lac);background:transparent;color:var(--lac);cursor:pointer}
  .som-tabs button[aria-pressed="true"]{background:var(--balise);border-color:var(--balise)}
  html.mv .som-tabs button{color:#ffeb3b;border-color:#ffeb3b}
  html.mv .som-tabs button[aria-pressed="true"]{background:#ffeb3b;color:#000}
  .som-cols{columns:auto;overflow-y:auto;font-size:1rem}
  .som-annee{display:none}
  .som-annee.choisie{display:block}
  .som-annee h3{display:none}
  .som-annee button{padding:4px 0}
  .som-cols{font-size:.97rem}
}
/* L'association : Nicolas toujours au premier plan dans l'animation */
.regate .b1{z-index:5}
/* L'équipe : portraits ronds à gauche, texte blanc sur le bleu foncé */
.equipe{display:flex;flex-direction:column;gap:34px;margin:1.2em 0}
.membre{display:flex;gap:28px;align-items:center}
.membre img{flex:0 0 clamp(120px,22%,190px);width:clamp(120px,22%,190px);aspect-ratio:1;object-fit:cover;object-position:50% 30%;border-radius:50%}
.membre h3{margin:0 0 .4em}
.membre-texte p:last-child{margin-bottom:0}
.membre ul{margin:.2em 0 .8em;padding-left:1.2em}
@media (max-width:480px){.membre{flex-direction:column;align-items:flex-start;gap:14px}.membre img{width:48%;flex-basis:auto}}
/* Photo à côté du texte (tarifs des cours) */
.duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(18px,3vw,40px);align-items:center;margin:1em 0}
.duo > img{width:100%;height:100%;max-height:560px;object-fit:cover;border-radius:18px;box-shadow:0 6px 24px rgba(13,44,63,.18)}
.duo-texte h3{margin-top:0}
@media (max-width:760px){.duo{grid-template-columns:1fr}.duo > img{height:auto;aspect-ratio:4/3}}
.duo .tarifs{max-width:none;font-size:1.12em;background:rgba(255,255,255,.92);color:var(--encre);border-radius:14px;overflow:hidden}
.duo .tarifs th,.duo .tarifs td{padding:14px 16px}
.duo .tarifs tr:nth-child(odd){background:rgba(13,44,63,.05)}
.duo .tarifs th{color:var(--encre)}
.duo .tarifs td:last-child{font-family:var(--f-titre);font-size:1.15em;color:#0d2c3f}
html.mv .duo .tarifs{background:#000}
html.mv .duo .tarifs td:last-child{color:#ffeb3b}
/* Grande photo sur toute la largeur */
.grande-photo{margin:0 calc(50% - 50vw);width:100vw}
.grande-photo img{display:block;width:100%;height:clamp(320px,75vh,820px);object-fit:cover;object-position:50% 50%}
.partie:has(> .partie-in > .grande-photo:only-child) .partie-in{padding-block:0}
/* Bouton « Faire un don » : le hublot au voilier-cœur */
.bouton-don{display:inline-flex;align-items:center;gap:20px;padding:12px 40px 12px 12px;min-height:104px;box-sizing:border-box;border-radius:999px;background:#0A1F38;color:#FFB547;font-family:var(--f-titre);text-decoration:none;box-shadow:0 6px 16px rgba(10,31,56,.25);transition:transform .15s ease,box-shadow .15s ease}
.bouton-don:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(10,31,56,.35);color:#FFB547}
.bouton-don:focus-visible{outline:3px solid #FFB547;outline-offset:4px}
.bouton-don img{width:80px;height:80px;flex:none}
.bd-textes{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}
.bd-titre{font-size:38px;line-height:1;font-weight:800;letter-spacing:-.5px;color:#FFB547}
.bd-sous{font-size:17px;line-height:1.2;font-weight:600;color:#FFD48A}
@media (prefers-reduced-motion:reduce){.bouton-don{transition:none}}
/* Pied de page : « Faire un don » et « Nous contacter » de même taille, couleurs inversées */
.boutons-pied .btn-pied,.bouton-don.au-pied{box-sizing:border-box;height:48px;min-height:0;min-width:13.5em;padding:0 22px;border-radius:999px;font-family:var(--f-titre);font-weight:800;font-size:1.08rem;letter-spacing:0;justify-content:center;box-shadow:0 3px 8px rgba(10,31,56,.2)}
.boutons-pied .btn-pied{background:var(--balise);color:var(--lac)}
.bouton-don.au-pied{gap:8px;padding:0 22px 0 6px;background:var(--lac)}
.bouton-don.au-pied .bd-titre{font-size:1.08rem;letter-spacing:0;color:var(--balise)}
.bouton-don.au-pied:hover{color:var(--balise)}
.bouton-don.au-pied img{width:38px;height:38px}
.bouton-don.au-pied .bd-sous{display:none}
@media (max-width:760px){
  .boutons-pied .btn-pied,.bouton-don.au-pied{height:40px;min-width:10.5em;font-size:.95rem;padding:0 14px}
  .bouton-don.au-pied{padding:0 14px 0 4px;gap:6px}
  .bouton-don.au-pied .bd-titre{font-size:.95rem}
  .bouton-don.au-pied img{width:32px;height:32px}
}
@media (max-width:380px){.boutons-pied .btn-pied,.bouton-don.au-pied{min-width:0}}
@media (max-width:520px){
  .bouton-don:not(.au-pied){gap:14px;padding:10px 26px 10px 10px;min-height:0}
  .bouton-don:not(.au-pied) img{width:62px;height:62px}
  .bouton-don:not(.au-pied) .bd-titre{font-size:28px}
  .bouton-don:not(.au-pied) .bd-sous{font-size:15px}
}
html.mv .bouton-don{background:#000;border:2px solid #ffeb3b}
html.mv .bouton-don .bd-titre,html.mv .bouton-don .bd-sous{color:#ffeb3b}
/* Page « Nous faire un don » */
.don-boite{display:flex;flex-wrap:wrap;gap:24px;align-items:center;background:#fff;color:var(--encre);border-radius:18px;padding:20px 24px;box-shadow:0 4px 18px rgba(13,44,63,.12);max-width:760px}
.don-boite .qr{width:200px;height:auto;flex:none}
.don-infos{flex:1 1 280px}
.don-infos .ligne{display:flex;flex-direction:column;margin:.5em 0}
.don-infos .ligne span{font-size:.9em;color:var(--brume)}
.don-infos .iban{font-size:1.15em;letter-spacing:.03em;word-break:break-word}
html.mv .don-boite{background:#000;color:#ffeb3b;border:2px solid #ffeb3b}
.carte-titre .carte-lien{display:inline-block}
/* Grande photo en haut à la place de la vidéo */
.haut-video .photo-fond{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Partie « Camps juniors » et « Cours de voile » : photo à côté, cartes un peu plus serrées */
.duo .formules{margin:1em 0}
/* Accueil avec une photo : le logo passe sous la phrase, pour ne pas cacher la personne */
.haut-video.accueil:has(.photo-fond){grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto 1fr}
.haut-video.accueil:has(.photo-fond) .titre-video{grid-column:1;grid-row:1}
.haut-video.accueil:has(.photo-fond) .logo-video{grid-column:1;grid-row:2;align-self:start;width:min(24vw,320px);margin-top:2vh}
@media (max-width:760px){
  .haut-video.accueil:has(.photo-fond){grid-template-columns:1fr}
  .haut-video.accueil:has(.photo-fond) .logo-video{width:min(40vw,200px);margin-top:1vh}
}

/* =====================================================================
   Version 11 (8 novembre 2026)
   ===================================================================== */
/* Bandeaux du haut et du bas plus fins */
:root{--bandeau:62px}
@media (max-width:760px){:root{--bandeau:54px}}
.pied .inner{padding-top:5px;padding-bottom:5px;gap:6px 22px}
.soutiens img{height:32px}
@media (max-width:760px){.pied .inner{padding-top:4px;padding-bottom:4px;gap:4px 10px}.soutiens img{height:22px}}
/* Boutons du bas plus petits, toujours de la même taille */
.boutons-pied .btn-pied,.bouton-don.au-pied{height:38px;min-width:11.5em;font-size:.95rem;padding:0 16px;box-shadow:0 2px 6px rgba(10,31,56,.18)}
.bouton-don.au-pied{padding:0 16px 0 4px;gap:6px}
.bouton-don.au-pied .bd-titre{font-size:.95rem}
.bouton-don.au-pied img{width:30px;height:30px}
@media (max-width:760px){
  .boutons-pied .btn-pied,.bouton-don.au-pied{height:34px;min-width:9.6em;font-size:.86rem;padding:0 12px}
  .bouton-don.au-pied{padding:0 12px 0 3px;gap:5px}
  .bouton-don.au-pied .bd-titre{font-size:.86rem}
  .bouton-don.au-pied img{width:27px;height:27px}
}
/* L'association : chiffres centrés */
.chiffres-asso > *{text-align:center}
/* L'équipe : bords des photos fondus */
/* Photos et tableaux : angles droits partout */
.duo > img,.duo .tarifs,.tarifs,.pg-photos img,.galerie img,.photo-seule img,.flotte img,.carte-photos img,.grande-photo img{border-radius:0}
/* Petites notes avec astérisque */
.retrait.note{font-size:.86em}
/* Camps juniors : photo moins grande */
/* Haut de page avec photo : pas de cadre foncé, le texte reste lisible grâce à un voile dégradé */
.haut-video.avec-boite:has(.photo-fond)::after{background:linear-gradient(100deg,rgba(6,22,34,.72) 0%,rgba(6,22,34,.45) 38%,rgba(6,22,34,0) 68%)}
.haut-video.avec-boite:has(.photo-fond){place-items:center start;padding-left:max(16px,calc((100vw - 1100px)/2))}
.haut-video.avec-boite:has(.photo-fond) .boite-video{background:none;padding:0 16px 0 0;max-width:600px;text-shadow:0 1px 3px rgba(0,0,0,.65),0 2px 18px rgba(0,0,0,.45)}
.haut-video.avec-boite:has(.photo-fond) .boite-video .btn{text-shadow:none}
@media (max-width:760px){
  .haut-video.avec-boite:has(.photo-fond)::after{background:linear-gradient(to top,rgba(6,22,34,.8) 0%,rgba(6,22,34,.45) 50%,rgba(6,22,34,.1) 100%)}
  .haut-video.avec-boite:has(.photo-fond){place-items:end start;padding-bottom:40px}
}
html.mv .haut-video.avec-boite .boite-video{background:#000;padding:20px}

/* =====================================================================
   Version 12 (8 novembre 2026, soir)
   ===================================================================== */
/* Accueil sur téléphone : logo plus grand, logo et phrase bien détachés de la photo */
@media (max-width:760px){
  .haut-video.accueil:has(.photo-fond)::after{background:linear-gradient(to bottom,rgba(6,22,34,.62) 0%,rgba(6,22,34,.25) 45%,rgba(6,22,34,0) 70%)}
  .haut-video.accueil:has(.photo-fond) .logo-video{width:min(66vw,320px);margin-top:2vh;filter:drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 3px 14px rgba(0,0,0,.75))}
  .haut-video.accueil .titre-video h1{text-shadow:0 0 3px rgba(0,0,0,.85),0 2px 18px rgba(0,0,0,.8)}
}
.haut-video.accueil:has(.photo-fond) .titre-video h1{text-shadow:0 0 3px rgba(0,0,0,.7),0 2px 18px rgba(0,0,0,.7)}
.haut-video.accueil:has(.photo-fond) .logo-video{filter:drop-shadow(0 0 2px rgba(0,0,0,.8)) drop-shadow(0 3px 14px rgba(0,0,0,.6))}
/* Photo à côté du texte : jamais coupée, un peu plus petite */
@media (min-width:761px){.duo{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}
.duo > img{width:auto;max-width:100%;height:auto;max-height:440px;object-fit:contain;justify-self:center;align-self:start;aspect-ratio:auto}
@media (max-width:760px){.duo > img{max-height:380px;aspect-ratio:auto}}
/* L'équipe : chaque portrait dans un hublot */
.hublot{flex:0 0 clamp(130px,23%,200px);width:clamp(130px,23%,200px);aspect-ratio:1;border-radius:50%;padding:11px;box-sizing:border-box;position:relative;
  background:
    radial-gradient(circle at 50% 4.2%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 95.8% 50%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 50% 95.8%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 4.2% 50%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 17.6% 17.6%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 82.4% 17.6%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 82.4% 82.4%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    radial-gradient(circle at 17.6% 82.4%,#3b4650 0 3px,#c9d2da 3.5px 4.5px,transparent 5px),
    conic-gradient(from 210deg,#eef2f5,#8e9aa4,#dfe5ea,#7b8791,#eef2f5,#9aa6b0,#eef2f5);
  box-shadow:0 6px 18px rgba(0,0,0,.45),inset 0 0 0 2px rgba(255,255,255,.35)}
.hublot img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:cover;object-position:50% 30%;border-radius:50%;box-shadow:inset 0 0 0 3px rgba(0,0,0,.4),0 0 0 3px #2d3740}
.membre .hublot img{flex:none;width:100%;object-position:50% 50%}
@media (max-width:480px){.membre .hublot{width:52%;flex-basis:auto}}
/* Vignette « Journal de bord » : le livre un peu plus bas, loin du titre */
@media (max-width:600px){.carte-livre .livre-couv{top:62%}}
/* Vignettes : photo montrée en entière (personne n'est coupé), sur un fond fait de la même photo, assombrie */
.carte-photos img.entiere{object-fit:contain;object-position:50% 60%;background-size:cover;background-position:center;box-shadow:inset 0 0 0 4000px rgba(13,44,63,.72)}
/* Version 13 : livre du journal le plus grand possible entre le titre et la vague */
.carte-livre .livre-couv{top:calc(50% + 32px);height:calc(100% - 196px);max-width:calc(100% - 40px)}
@media (max-width:600px){.carte-livre .livre-couv{top:calc(50% + 30px);height:calc(100% - 190px)}}
/* Version 15 : une seule carte (ex. un témoignage) = une citation sur toute la largeur */
.objectifs:has(> .objectif:only-child){display:block}
.objectifs > .objectif:only-child{max-width:64ch}
.objectifs > .objectif:only-child p{font-size:1.15em;line-height:1.55;font-style:italic}
/* Version 17 : « En bref » en bas de page (français + anglais fixes, pour Google) et réseaux sociaux */
.en-bref{background:var(--lac);color:#cfe0ea;font-size:.85em;line-height:1.5;padding:4px 16px 22px}
.en-bref p{max-width:900px;margin:0 auto .7em;text-align:center}
html[lang] .en-bref p[lang]:not(html):not([data-lang]){display:block!important}
.en-bref .reseaux{font-weight:700;color:#fff}
.en-bref a{color:#fff}
html.mv .en-bref{background:#000;color:#ffeb3b}
html.mv .en-bref a{color:#ffeb3b}

/* Version 18 : mode malvoyant plus lisible
   – une seule police, Atkinson Hyperlegible (conçue pour les personnes malvoyantes), y compris pour les titres
   – aucun soulignement : les liens se repèrent par leur couleur blanche, le gras et un cadre au survol
   – lettres et mots un peu plus espacés
   – fond noir partout (texte jaune ou blanc) */
html.mv{--f-titre:var(--f-texte)}
html.mv body,html.mv h1,html.mv h2,html.mv h3,html.mv h4,html.mv button,html.mv input,html.mv select,html.mv textarea,html.mv .btn,html.mv .lead{font-family:var(--f-texte)!important;letter-spacing:.06em!important;word-spacing:.14em!important}
html.mv body{line-height:1.7}
html.mv *,html.mv *::before,html.mv *::after{text-decoration:none!important;text-shadow:none!important}
html.mv :where(*:not(img,video,picture,source,svg,svg *,.hublot)){background-color:#000}
html.mv .hublot{background-color:#000}
html.mv body{color:#ffeb3b}
html.mv a,html.mv a *{color:#fff!important;font-weight:700}
html.mv a:hover,html.mv a:focus-visible{outline:3px solid #ffeb3b;outline-offset:3px}
html.mv .btn,html.mv .bulle-don,html.mv .bouton-don,html.mv .btn-equipement,html.mv .retour-accueil,html.mv .descendre,html.mv .som-tabs button{background-color:#000!important;color:#ffeb3b!important;border:3px solid #ffeb3b!important}
html.mv a.btn,html.mv a.btn *,html.mv .bouton-don *{color:#ffeb3b!important}
html.mv .bulle-don::after{border-top-color:#ffeb3b!important}
html.mv .som-tabs button[aria-pressed="true"]{outline:3px solid #fff;outline-offset:2px}
html.mv body *:not(a):not(a *){color:#ffeb3b!important;border-color:#ffeb3b}
/* Mode malvoyant : sur les photos, la photo reste visible et le fond noir s'arrête à la longueur du texte */
html.mv .haut-video,html.mv .haut-video .titre-video,html.mv .haut-video .boite-video,html.mv .haut-video .boite-video div,html.mv .descendre-partout,html.mv .descendre-partout *,html.mv .hero,html.mv .hero-in{background-color:transparent!important}
html.mv .haut-video .boite-video{border:0!important;padding:0!important}
html.mv .haut-video h1,html.mv .haut-video .sous-titre,html.mv .haut-video .boite-video p,html.mv .haut-video .boite-video li,html.mv .haut-video .boite-video h2,html.mv .haut-video .boite-video h3{width:fit-content;max-width:100%;box-sizing:border-box;background-color:#000!important;padding:.15em .45em;margin-left:0;margin-right:0}
html.mv .haut-video .titre-video h1{margin-left:auto;margin-right:auto}
html.mv .haut-video .boite-video ul{background-color:transparent!important}
html.mv .carte-titre{width:fit-content}
html.mv .hero h1,html.mv .hero .sous-titre{width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box;left:max(16px,calc((100% - 1100px)/2 + 16px));right:auto;margin:0;padding:.12em .4em;background-color:#000!important;text-wrap:wrap}
html.mv .haut-video h1,html.mv .carte-titre,html.mv .titre-regate{text-wrap:wrap}
html.mv .hero h1{font-size:clamp(1.9rem,4.4vw,3.3rem)}
html.mv .haut-video .boite-video p:has(.btn),html.mv .haut-video .boite-video p:has(.btn) *:not(.btn){background-color:transparent!important;padding:0}
