/* styles.css : feuille de style commune à toutes les pages du site 1,2,3 Soleil
   À placer à la racine du site, à côté des pages .htm.
   Pour changer une couleur de tout le site, modifiez-la dans :root ci-dessous. */

/* ===== COULEURS : pour changer une couleur du site, modifiez sa valeur ici ===== */
:root {
    --brun: #3D1907;
    --magenta: #7F014A;
    --orange: #FFA300;
    --turquoise: #008080;
    --rouge: #FF0000;
    --fond: #ffff99;
    --radius: 16px;
    --font: "Century Gothic","Avenir Next","Segoe UI",Helvetica,Arial,sans-serif;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    color: var(--brun);
    background: var(--fond);
    line-height: 1.65;
    font-size: 16px;
}
a {
    color: var(--magenta);
}
img {
    max-width: 100%;
    display: block;
}
.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
html, body {
    overflow-anchor: none;
}

/* ===== EN-TÊTE FIXE (logo + menu) ===== */
header.nt, header.nt * {
    transition: none!important;
}
header {
    background: var(--fond);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    box-shadow: none;
}
#hspace {
    height: 330px;
}
.top {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 24px 6px;
    text-align: center;
    transition: padding .25s;
}
.top img.lg {
    width: 300px;
    height: auto;
    margin: 0 auto;
    transition: width .25s;
}
header.sm .top {
    padding: 6px 24px 2px;
}
header.sm .top img.lg {
    width: 80px;
}
.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6px 12px 10px;
}

/* ===== MENU (boutons colorés) ===== */
nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
}
nav a {
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    background: var(--bg);
    font-size: clamp(12px,1.13vw,15px);
    font-weight: 700;
    padding: .85em .9em;
    border-radius: 12px;
    transition: .2s;
    text-align: center;
}
nav a:hover {
    background: var(--hv);
    color: var(--ht);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(61,25,7,.25);
}

/* ===== ICÔNES FACEBOOK / INSTAGRAM ===== */
.soc {
    display: flex;
    gap: 8px;
    flex: none;
}
.soc a {
    width: 42px;
    height: 42px;
    background-size: cover;
    border-radius: 50%;
    display: block;
}
.fb {
    background-image: url("IMAGES/DIVERS/FACE.png");
}
.fb:hover {
    background-image: url("IMAGES/DIVERS/FACE2.png");
}
.ig {
    background-image: url("IMAGES/DIVERS/Instagram.png");
}
.ig:hover {
    background-image: url("IMAGES/DIVERS/INSTAGRAM2.png");
}
.burger {
    display: none;
    margin: 0 auto;
    background: none;
    border: 2px solid var(--magenta);
    color: var(--magenta);
    border-radius: 10px;
    font-size: 22px;
    padding: 2px 10px;
    cursor: pointer;
}

/* ===== HAUT DE PAGE : encart d'adhésion et présentation ===== */
.hero {
    padding: 32px 0 0;
}
.hero .wrap {
    display: block;
}
.intro {
    text-align: center;
    padding: 30px 0 0;
}
.intro p {
    max-width: none;
    margin: 0 auto;
}
.intro .btns {
    justify-content: center;
    margin-top: 24px;
}
.eyebrow {
    color: var(--turquoise);
    font-weight: 700;
    letter-spacing: .12em;
    font-size: 13px;
    text-transform: uppercase;
}
h1 {
    font-size: clamp(32px,5vw,52px);
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--magenta);
}
.hero p {
    font-size: 18px;
    max-width: 46ch;
}

/* ===== BOUTONS (adhésion, don, journal) ===== */
.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.btn {
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    padding: 14px 26px;
    border-radius: 10px;
    color: #fff;
    background: #009fcd;
    transition: .2s;
}
.btn:hover {
    background: #00547f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61,25,7,.2);
}
.btn.j {
    background: #ff0000;
}
.btn.j:hover {
    background: #c00000;
    color: #fff;
}
.tax {
    background: rgba(255,128,0,.3);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.tax h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--brun);
    text-decoration: underline;
}
.tax p {
    margin-bottom: 6px;
}
.tax strong {
    color: var(--magenta);
}
.tax .btns {
    justify-content: center;
    margin-top: 22px;
}
.tax {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media(min-width:1220px) {
    .tax h2, .tax p {
        white-space: nowrap;
    }
}
.tax p {
    font-size: 15.5px;
    max-width: none;
}
.tax small {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: 13px;
}

/* ===== SECTIONS ET TITRES ===== */
section {
    padding: 56px 0;
}
h2.t {
    font-size: clamp(26px,3.5vw,36px);
    color: var(--magenta);
    margin-bottom: 8px;
}
h2.t::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    border-radius: 3px;
    background: var(--orange);
    margin-top: 12px;
}
.sub {
    color: var(--turquoise);
    margin: 14px 0 36px;
    font-weight: 700;
}

/* ===== CARTES « NOTRE ACTUALITÉ » ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 28px;
    align-items: start;
}
.card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(61,25,7,.12);
    transition: .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(61,25,7,.2);
}
.card h3 {
    text-align: center;
    background: var(--c);
    color: #fff;
    font-size: 17px;
    line-height: 1.3;
    padding: 14px 20px;
    border-radius: 10px;
    margin: 10px 10px 0;
}
.gal {
    position: relative;
    margin: 10px;
}
.track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 10px;
}
.track::-webkit-scrollbar {
    display: none;
}
.track img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.gal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--c);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.gal .prev {
    left: 10px;
}
.gal .next {
    right: 10px;
}
.gal button:hover {
    background: var(--c);
    color: #fff;
}
.cbody {
    padding: 6px 22px 24px;
}
.card p {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
}
.card p:last-of-type {
    margin-bottom: 0;
}
.more {
    display: none;
}
.card.open .more {
    display: block;
}
.rm {
    margin-top: 14px;
    background: none;
    border: 0;
    color: var(--c);
    font: 700 14px var(--font);
    cursor: pointer;
    padding: 0;
}

/* ===== BOÎTE UKRAINE ===== */
.ukr {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(175,15,91,.3);
    border-radius: var(--radius);
    padding: 12px 20px;
    margin-top: 28px;
    gap: 24px;
}
#actus {
    padding: 28px 0;
}
.ukr>div {
    flex: 1;
}
.ukr img {
    width: 211px;
    height: auto;
    border-radius: 8px;
    flex: none;
}
.ukr, .ukr h3, .ukr p {
    font-family: "Century Gothic","Avenir Next","Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
}
.ukr h3 {
    color: #af0f5b;
    margin-bottom: 2px;
}
.ukr p {
    line-height: 1.45;
    max-width: none;
}

/* ===== LES 3 BOÎTES : journal / adhésion / marraine ===== */
.trio {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
    color: #fff;
}
.box {
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(61,25,7,.15);
}
.box h3 {
    margin-bottom: 14px;
    color: #fff;
}
.box img {
    margin: 0 auto 16px;
    border-radius: 10px;
    max-height: 300px;
}
.box p {
    margin-bottom: 8px;
    font-size: 14px;
}
.box.v p {
    color: #fff!important;
    font-size: 17.5px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.box.v h3, .box.r h3 {
    font-size: 21px;
    line-height: 1.35;
}
.box.r .cap {
    font-size: 17.5px;
    line-height: 1.6;
    margin-top: 10px;
}
.box.o {
    background: #ffa300;
    padding: 28px 18px 28px;
}
.box.o img {
    width: 100%;
    max-height: none;
    height: auto;
}
.box.v {
    background: #9900ff;
}
.box.r {
    background: #ff6800;
}
.box a.v, .box a.v:hover, .box a.v:focus, .box a.v:active, .box a.v:visited {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 14px;
    font-weight: 700;
    color: #fff!important;
    background: #ff0000!important;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 10px;
    display: inline-block;
    transition: none;
    transform: none;
    box-shadow: none;
}
.box .cap {
    margin-top: 6px;
    font-size: 15px;
}
.box img.lt {
    width: 240px;
    max-width: 100%;
    max-height: none;
}
.box .btns {
    justify-content: center;
    margin-top: 14px;
}

/* ===== LES 3 BOÎTES DU BAS ===== */
.foot3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
    color: #fff;
}
.foot3>div {
    border-radius: var(--radius);
    padding: 28px;
}
.foot3 h3 {
    margin-bottom: 8px;
}
.foot3 a {
    color: #fff;
}
.f1 {
    background: #226fdb;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}
.f1 img {
    border-radius: 10px;
    width: 120px;
}
.f2 {
    background: #2a6010;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.f2 h3 {
    font-size: 27px;
    line-height: 1.25;
    margin: 0;
}
.f2 p {
    font-size: 21px;
    line-height: 1.55;
    margin: 0;
}
.f3 {
    background: #d70c7a;
    text-align: center;
}
.f3 img {
    border-radius: 10px;
    margin: 12px auto 0;
}

/* ===== MENTIONS LÉGALES ===== */
.legal {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.legal .ml {
    color: var(--rouge);
    font-weight: 700;
    text-decoration: none;
}
.legal .c {
    color: var(--turquoise);
    font-weight: 700;
}

/* ===== ADAPTATION AUX PETITS ÉCRANS (tablette, téléphone) ===== */
@media(max-width:1080px) {
    .menu {
        flex-wrap: wrap;
    }
    .burger {
        display: block;
        margin: 0;
    }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
    }
    nav.open {
        display: flex;
    }
    nav a {
        white-space: normal;
    }
}
@media(max-width:900px) {
    .hero .wrap, .trio, .foot3 {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .ukr {
        flex-direction: column;
        text-align: center;
    }
    .ukr img {
        width: 160px;
    }
    .top img.lg {
        width: 200px;
    }
}

/* ===== AGRANDISSEMENT DES PHOTOS (plein écran) ===== */
.zoom {
    cursor: zoom-in;
}
#lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,.93);
    align-items: center;
    justify-content: center;
}
#lb.on {
    display: flex;
}
#lb img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
}
#lb button {
    position: absolute;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 0;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
#lb button:hover {
    background: rgba(255,255,255,.35);
}
#lb .x {
    top: 16px;
    right: 16px;
}
#lb .lp {
    left: 16px;
    top: 50%;
}
#lb .ln {
    right: 16px;
    top: 50%;
}
#lb .ct {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* ===== PAGES INTÉRIEURES (ex. « C'est aussi une association ») ===== */
.page {
    padding: 28px 0;
}
.page-box {
    background: var(--cadre, rgba(255,0,0,.3));
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: var(--photo, 179px) 1fr;
    gap: 0 28px;
    align-items: start;
}
.page-box img {
    width: var(--photo, 179px);
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.page-text p {
    text-align: justify;
    hyphens: auto;
    margin-bottom: 10px;
}
.page-box img.photo-ombre {
    box-shadow: 0 4px 10px rgba(0,0,0,.35);
}
.page-text.full {
    grid-column: 1 / -1;
    margin-top: 18px;
}
.page-foot {
    padding: 0 0 40px;
}
@media (max-width: 900px) {
    .page-box {
        grid-template-columns: 1fr;
    }
    .page-box img {
        margin: 0 auto 18px;
    }
}

/* ===== PAGE CONTACT ===== */
.contact-box {
    background: rgba(255,0,0,.3);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 442px) 1fr;
    gap: 32px 40px;
    align-items: start;
}
.contact-aside {
    text-align: center;
}
.contact-aside img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.contact-aside .pdf-link img {
    width: 110px;
    margin: 26px auto 8px;
}
.contact-aside .pdf-text {
    display: block;
    color: #5f3797;
    font-weight: 700;
}
.contact-form label {
    display: block;
    font-weight: 700;
    color: var(--brun);
    margin: 0 0 4px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 700;
    color: #17365d;
    padding: 8px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(61,25,7,.25);
    border-radius: 10px;
    background: #fff;
}
.contact-form textarea {
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid #5f3797;
    outline-offset: 1px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0 16px;
}
.contact-form .btn.envoyer {
    border: 0;
    cursor: pointer;
    background: #5f3797;
    text-transform: none;
    font-family: var(--font);
}
.contact-form .btn.envoyer:hover {
    background: #374697;
}
.contact-form .btn.envoyer:disabled {
    opacity: .6;
    cursor: wait;
}
.form-msg {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
}
.form-msg.ok {
    background: rgba(0,128,0,.25);
    color: #0b4d0b;
}
.form-msg.erreur {
    background: rgba(255,255,255,.7);
    color: #b00000;
}
.contact-info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 410px) 1fr;
    gap: 28px;
    align-items: center;
}
.contact-info .adresse {
    text-align: center;
    font-weight: 700;
    font-size: 20px;
}
.contact-info .adresse p {
    margin-bottom: 14px;
}
.contact-info .adresse .souligne {
    color: #5f3797;
    text-decoration: underline;
}
.contact-info .adresse a {
    color: var(--brun);
    text-decoration: none;
}
.map {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #5f3797;
    font-weight: 700;
}
.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.contact-help {
    grid-column: 1 / -1;
    text-align: center;
}
.contact-help .btns {
    justify-content: center;
    margin-top: 16px;
}
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .contact-aside {
        max-width: 442px;
        margin: 0 auto;
    }
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGE PARTENAIRES : mur de logos ===== */
.page-text.centre {
    align-self: center;
    font-size: 20px;
}
.partners {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}
.partners .tile {
    width: calc(25% - 15px);
    height: 150px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(61,25,7,.12);
    transition: transform .2s, box-shadow .2s;
}
.partners a.tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(61,25,7,.25);
}
.partners .tile img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}
@media (max-width: 900px) {
    .partners .tile {
        width: calc(33.333% - 14px);
    }
}
@media (max-width: 600px) {
    .partners .tile {
        width: calc(50% - 10px);
        height: 120px;
    }
}

/* ===== PAGES LES INFOS : actualités ===== */
.news-section {
    margin-bottom: 28px;
}
.news-title {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 6px 22px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    border-radius: 10px 10px 0 0;
}
.news-body {
    padding: 22px 28px 26px;
    border-radius: 0 10px 10px 10px;
}
.news-body p {
    text-align: justify;
    hyphens: auto;
    margin-bottom: 12px;
}
.news-body p:last-child {
    margin-bottom: 0;
}
.news-body a {
    color: var(--magenta);
    font-weight: 700;
}
.news-body .gal {
    position: relative;
    max-width: 760px;
    margin: 18px auto;
}
.news-body .track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 10px;
    background: rgba(255,255,255,.55);
}
.news-body .track::-webkit-scrollbar {
    display: none;
}
.news-body .track img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    cursor: zoom-in;
}
.news-body .gal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--c);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.news-body .gal .prev { left: 10px; }
.news-body .gal .next { right: 10px; }
.news-body .gal button:hover {
    background: var(--c);
    color: #fff;
}
.news-body video {
    display: block;
    width: 100%;
    max-width: 690px;
    margin: 18px auto;
    border-radius: 10px;
    background: #000;
}
.news-body img.news-img {
    display: block;
    max-width: 100%;
    margin: 18px auto;
    border-radius: 10px;
    cursor: zoom-in;
}

/* Navigation entre les pages d'infos */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin: 0 0 28px;
}
.pager ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pager ul a {
    display: block;
    min-width: 38px;
    padding: 7px 8px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    color: var(--brun);
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    transition: .2s;
}
.pager ul a:hover {
    background: var(--orange);
}
.pager ul a.here {
    background: var(--magenta);
    color: #fff;
}
.pager .pg {
    padding: 10px 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--brun);
    background: var(--orange);
    border-radius: 10px;
    transition: .2s;
}
.pager a.pg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(61,25,7,.25);
}
.pager .pg.off {
    opacity: .35;
}
.news > .pager:last-child {
    margin: 8px 0 0;
}

/* Bouton « remonter en haut de page » */
#haut {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 25;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--orange);
    color: var(--brun);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(61,25,7,.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, transform .2s;
}
#haut.on {
    opacity: 1;
    visibility: visible;
}
#haut:hover {
    transform: translateY(-3px);
}
@media (max-width: 900px) {
    .news-body {
        padding: 18px 16px 22px;
    }
    .pager .pg {
        padding: 9px 14px;
    }
}

/* ===== PAGE « LES INFOS » : toutes les boîtes à la même hauteur ===== */
.grid.uni { align-items: start; }
.grid.uni .card { position: relative; }
.grid.uni .card h3 {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}
.grid.uni .card video { width: 100%; border-radius: 10px; display: block; margin: 0 0 10px; }
.grid.uni .card:not(.open) .cbody { height: 255px; overflow: hidden; padding-bottom: 0; }
.grid.uni .card:not(.open) { padding-bottom: 28px; }
.grid.uni .card:not(.open):not(:has(.gal)) .cbody { height: 514px; }
.grid.uni .card.coupe:not(.open) .cbody {
    -webkit-mask-image: linear-gradient(#000 82%, transparent);
    mask-image: linear-gradient(#000 82%, transparent);
}
.grid.uni .card .cbody { padding-bottom: 24px; }
.grid.uni .card .rm {
    position: absolute;
    left: 22px;
    bottom: 12px;
    margin: 0;
}
.grid.uni .card .rm[hidden] { display: none; }
.grid.uni .card.open .rm { position: static; display: block; margin: 0 22px 18px; }

/* ===== LES INFOS : hauteur fixe + dépliage au survol ===== */
.grid.uni { grid-auto-rows: 624px; }
.grid.uni .card:not(.open) { height: 624px; }
@media (hover: hover) {
    .grid.uni .card .rm { display: none !important; }
    .grid.uni .card:hover:not(.open) {
        height: auto;
        min-height: 624px;
        z-index: 20;
        padding-bottom: 0;
        box-shadow: 0 18px 44px rgba(61,25,7,.35);
    }
    .grid.uni .card:hover:not(.open) .cbody {
        height: auto;
        overflow: visible;
        padding-bottom: 24px;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Les boîtes dépliées au survol sont opaques : on ne voit plus les boîtes du dessous à travers */
.grid.uni .card {
    background-color: #ffff99;
    background-image: linear-gradient(var(--bg), var(--bg));
}

/* Bouton « Visualiser… » dans les boîtes des infos (même bouton rouge que « Journal ») */
.card p.cbtn {
    text-align: center;
    margin: 14px 0 6px;
}
.card p.cbtn .btn {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.card p.cbtn .btn:hover {
    color: #fff;
}

/* ===== PAGE « SITE EN CONSTRUCTION » ===== */
.construction .page-text p { font-size: 19px; }
.construction .page-text p.merci {
    margin-top: 26px;
    color: var(--magenta);
    font-weight: 700;
}
.construction h2.t::after { margin-left: auto; margin-right: auto; }
.construction .page-text p.merci { text-align: center; }

/* Encart « Adhésion annuelle » placé sous la boîte Ukraine */
.tax.bas {
    margin-top: 28px;
}
.tax.bas p {
    font-size: 15.5px;
    max-width: none;
    white-space: normal;
}
.tax.bas h2 {
    white-space: normal;
}

/* ===== PAGE HOMMAGE À YVETTE GIANA (cadre noir translucide, texte blanc comme l'original) ===== */
.hommage {
    background: rgba(0,0,0,.6);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px;
}
.hommage .h-top {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 0 32px;
    align-items: start;
}
.hommage .h-photo {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
    margin-top: 6px;
}
.hommage .h-titre {
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 14px;
    color: #fff;
}
.hommage p {
    text-align: justify;
    hyphens: auto;
    margin-bottom: 14px;
}
.hommage p.h-fort {
    font-weight: 700;
    font-size: 18px;
    text-decoration: underline;
    text-align: left;
}
.hommage p.h-sign {
    text-align: right;
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    margin: 20px 0 0;
}
@media (max-width: 700px) {
    .hommage { padding: 22px; }
    .hommage .h-top { grid-template-columns: 1fr; }
    .hommage .h-photo { order: -1; margin: 0 auto 18px; }
}

/* ===== PAGE MENTIONS LÉGALES (boîtes violettes comme l'original) ===== */
.legal-list {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}
.legal-box {
    background: rgba(60,21,51,.3);
    border-radius: var(--radius);
    padding: 26px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.legal-box > img, .legal-box > a {
    flex: 0 0 auto;
}
.legal-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.legal-box .lb-text {
    flex: 1;
    text-align: center;
}
.legal-box .lb-text p {
    margin-bottom: 14px;
}
.legal-box .lb-text p:last-child {
    margin-bottom: 0;
}
.legal-box .lb-text.just p, .legal-box .lb-text p.just {
    text-align: justify;
    hyphens: auto;
}
@media (max-width: 700px) {
    .legal-box {
        flex-direction: column;
        padding: 22px;
        gap: 18px;
    }
}

/* Titre de la boîte Ukraine : police plus grande */
.ukr h3 {
    font-size: 22px;
    margin-bottom: 6px;
}
.ukr p {
    font-size: 19px;
}

/* ===== PETITE MAISON : retour à l'accueil (sous les icônes Facebook/Instagram) ===== */
a.home {
    display: block;
    width: 51px;
    height: 51px;
    margin: -14px 0 10px auto;
    background: url("IMAGES/DIVERS/HOME_PETIT.png") no-repeat center / contain;
    transition: transform .2s;
}
a.home:hover {
    background-image: url("IMAGES/DIVERS/HOME_PETIT_INV.png");
    transform: translateY(-2px);
}

/* ===== Lecteur vidéo (bouton « Voir la vidéo ») ===== */
#vb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,.88);
    align-items: center;
    justify-content: center;
    padding: 50px 16px 16px;
}
#vb.on { display: flex; }
#vb video {
    max-width: 100%;
    max-height: 100%;
    background: #000;
    border-radius: 8px;
}
#vb .x {
    position: absolute;
    top: 8px;
    right: 14px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}
