:root{
    --sable:#E8DCC8;
    --creme:#FAF8F4;
    --terre:#B8542F;
    --terre-dark:#9A4424;
    --nuit:#1A2B3C;
    --sauge:#7A8B6F;
    --texte-clair:#6B6458;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--creme);
    color:var(--nuit);
}

h1,h2,h3{
    font-family:'Fraunces',serif;
    font-weight:600;
    color:var(--nuit);
}

em{
    font-style:italic;
    color:var(--terre);
}

a{
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

.eyebrow{
    display:inline-block;
    font-size:0.8rem;
    font-weight:600;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:var(--terre);
    margin-bottom:14px;
}

.eyebrow.centered{
    display:block;
    text-align:center;
}

/* NAVBAR */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    background:rgba(250,248,244,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(26,43,60,0.08);
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:1240px;
    margin:0 auto;
    padding:18px 32px;
    gap:16px;
}

.logo-container{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    flex:1;
    min-width:0;
}

.logo-container img{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.logo-container span{
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:1.2rem;
    letter-spacing:0.5px;
    color:var(--nuit);
}

.nav-group{
    display:flex;
    align-items:center;
    gap:36px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:32px;
}

.nav-links a{
    text-decoration:none;
    font-size:0.95rem;
    font-weight:500;
    color:var(--nuit);
    position:relative;
    padding-bottom:4px;
    transition:color 0.25s;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--terre);
    transition:width 0.25s;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--terre);
}

.nav-links a:hover::after,
.nav-links a.active::after{
    width:100%;
}

.btn-adhesion{
    text-decoration:none;
    background:var(--terre);
    color:white;
    padding:11px 24px;
    border-radius:8px;
    font-weight:600;
    font-size:0.92rem;
    transition:background 0.25s, transform 0.25s;
    flex-shrink:0;
}

.btn-adhesion:hover{
    background:var(--terre-dark);
    transform:translateY(-2px);
}

.btn-adhesion.active{
    background:var(--terre-dark);
}

.btn-adhesion-mobile{
    display:none;
}

/* Menu hamburger */

.nav-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:30px;
    height:30px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
    flex-shrink:0;
}

.nav-toggle span{
    display:block;
    width:100%;
    height:2px;
    background:var(--nuit);
    border-radius:2px;
    transition:transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
    opacity:0;
}

.nav-toggle.active span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* HERO */

main{
    padding-top:82px;
}

/* Arrière-plan hero avec photo */
.hero-bg {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;

    background-image: url("image/Photo\ de\ profil.jpeg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(ellipse at center, rgba(16,21,28,0.55) 0%, rgba(16,21,28,0.25) 70%),
        linear-gradient(180deg, rgba(16,21,28,0.6) 0%, rgba(16,21,28,0.45) 50%, rgba(16,21,28,0.65) 100%);
}

.hero-bg .hero {
    position: relative;
    z-index: 1;
    width: 100%;
}



.hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 32px 96px;
}

.hero-text{
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-text .eyebrow{
    color: #F0C49A;
}

.hero-text h1{
    color: #ffffff;
    text-shadow:
        0 2px 10px rgba(0,0,0,0.45),
        0 4px 24px rgba(0,0,0,0.3);
}


.hero-text em{
    color: #F0A064;
    text-shadow:
        0 2px 10px rgba(0,0,0,0.45);
}

.hero-text p{
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
    margin-top:18px;
}

.btn-primary{
    display:inline-block;
    text-decoration:none;
    background:var(--terre);
    color:white;
    padding:16px 32px;
    border-radius:8px;
    font-weight:600;
    font-size:1rem;
    transition:background 0.25s, transform 0.25s;
}

.btn-primary:hover{
    background:var(--terre-dark);
    transform:translateY(-2px);
}

.btn-primary.on-dark{
    background:var(--sauge);
}

.btn-primary.on-dark:hover{
    background:#69785f;
}

.hero-text .btn-text{
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.5);
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-text .btn-text:hover{
    border-color: #F0A064;
}

.btn-text{
    text-decoration:none;
    color:var(--nuit);
    font-weight:600;
    font-size:0.95rem;
    border-bottom:2px solid var(--sable);
    padding-bottom:4px;
    transition:border-color 0.25s;
}

.btn-text:hover{
    border-color:var(--terre);
}

.hero-visual{
    position:relative;
    border-radius:18px;
    overflow:hidden;
    aspect-ratio:4/5;
}

.hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.weave{
    position:absolute;
    bottom:-2px;
    left:-2px;
    width:70%;
    height:auto;
    pointer-events:none;
}

.weave path{
    fill:none;
    stroke:var(--sable);
    stroke-width:3;
    opacity:0.85;
}

.weave path:last-child{
    stroke:var(--terre);
    opacity:0.6;
}

/* QUI SOMMES-NOUS */

.about-section{
    max-width:1240px;
    margin:0 auto;
    padding:64px 32px 96px;
    border-top:1px solid rgba(26,43,60,0.08);
}

.about-grid{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:56px;
    margin-bottom:64px;
}

.about-lead h2{
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    line-height:1.25;
}

.about-body p{
    font-size:1.05rem;
    color:var(--texte-clair);
    line-height:1.8;
    margin-bottom:24px;
}

.link-arrow{
    display:inline-block;
    text-decoration:none;
    color:var(--terre);
    font-weight:600;
    font-size:0.95rem;
}

.link-arrow:hover{
    text-decoration:underline;
}

.values-row{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:32px;
    border-top:1px solid rgba(26,43,60,0.1);
    padding-top:40px;
}

.value-mark{
    display:block;
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:1.15rem;
    color:var(--sauge);
    margin-bottom:10px;
}

.value-item p{
    font-size:0.95rem;
    color:var(--texte-clair);
    line-height:1.65;
}

/* EXPLORE (Événements / Actualités / Activités) */

.explore-section{
    background:var(--sable);
    padding:90px 32px;
}

.explore-title{
    text-align:center;
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom:56px;
}

.explore-grid{
    max-width:1240px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
}

.explore-card{
    display:block;
    background:var(--creme);
    border-radius:16px;
    padding:36px 32px;
    text-decoration:none;
    transition:transform 0.3s, box-shadow 0.3s;
}

.explore-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(26,43,60,0.12);
}

.explore-number{
    display:block;
    font-family:'Fraunces',serif;
    font-size:0.95rem;
    font-weight:600;
    color:var(--terre);
    margin-bottom:18px;
    letter-spacing:1px;
}

.explore-card h3{
    font-size:1.4rem;
    margin-bottom:12px;
}

.explore-card p{
    font-size:0.95rem;
    color:var(--texte-clair);
    line-height:1.65;
    margin-bottom:20px;
}

/* CTA */

.cta-section{
    background:var(--nuit);
    padding:96px 32px;
    text-align:center;
}

.cta-content{
    max-width:600px;
    margin:0 auto;
}

.cta-content h2{
    color:white;
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom:18px;
}

.cta-content p{
    color:rgba(255,255,255,0.72);
    font-size:1.05rem;
    line-height:1.7;
    margin-bottom:36px;
}

/* EN-TÊTE DE PAGE INTERNE */

.page-header{
    max-width:780px;
    margin:0 auto;
    padding:72px 32px 56px;
    text-align:center;
}

.page-header h1{
    font-size:clamp(2rem, 3.5vw, 2.8rem);
    line-height:1.25;
    margin-bottom:16px;
}

.page-header p{
    font-size:1.05rem;
    color:var(--texte-clair);
    line-height:1.6;
}

/* PAGE ACTUALITÉS */

.news-section{
    max-width:1240px;
    margin:0 auto;
    padding:24px 32px 96px;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:28px;
}

.news-loading,
.news-error,
.news-empty{
    grid-column:1 / -1;
    text-align:center;
    padding:48px 24px;
    color:var(--texte-clair);
    font-size:1rem;
}

.news-error{
    color:var(--terre-dark);
}

.news-card{
    background:var(--sable);
    border-radius:16px;
    overflow:hidden;
    transition:transform 0.3s, box-shadow 0.3s;
}

.news-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 32px rgba(26,43,60,0.1);
}

.news-thumb{
    height:160px;
    max-height:160px;
    min-height:160px;
    overflow:hidden;
    position:relative;
}

.news-thumb img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.thumb-terre{
    background:linear-gradient(135deg, var(--terre), #D9A07C);
}

.thumb-sauge{
    background:linear-gradient(135deg, var(--sauge), #B6C2A8);
}

.thumb-nuit{
    background:linear-gradient(135deg, var(--nuit), #3D5469);
}

.thumb-sable{
    background:linear-gradient(135deg, #D9A07C, var(--sable));
}

.news-body{
    background:var(--creme);
    padding:28px 26px;
}

.news-date{
    color:var(--terre);
    font-size:0.82rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.5px;
    margin-bottom:10px;
}

.news-body h3{
    font-size:1.25rem;
    line-height:1.35;
    margin-bottom:10px;
}

.news-body p{
    font-size:0.95rem;
    color:var(--texte-clair);
    line-height:1.65;
    margin-bottom:16px;
}

/* PAGE ARTICLE */

.article-section{
    max-width:760px;
    margin:0 auto;
    padding:48px 32px 96px;
}

.article-image{
    border-radius:14px;
    overflow:hidden;
    margin-bottom:36px;
    height:340px;
}

.article-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.article-content p{
    font-size:1.05rem;
    color:var(--texte-clair);
    line-height:1.85;
    margin-bottom:22px;
}

.back-link{
    display:inline-block;
    margin-top:12px;
}

/* FORMULAIRE D'ADHÉSION */

.form-section{
    max-width:680px;
    margin:0 auto;
    padding:48px 32px 96px;
}

.adhesion-form{
    background:var(--sable);
    border-radius:18px;
    padding:44px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.form-group{
    margin-bottom:22px;
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

.form-group label{
    font-size:0.9rem;
    font-weight:600;
    color:var(--nuit);
    margin-bottom:8px;
}

.form-group input{
    width:100%;
    font-family:'Inter',sans-serif;
    font-size:0.95rem;
    padding:13px 16px;
    border:1px solid rgba(26,43,60,0.18);
    border-radius:8px;
    background:var(--creme);
    color:var(--nuit);
    transition:border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus{
    outline:none;
    border-color:var(--terre);
    box-shadow:0 0 0 3px rgba(184,84,47,0.15);
}

.checkbox-group{
    flex-direction:row;
    align-items:flex-start;
    gap:10px;
}

.checkbox-group input{
    margin-top:3px;
    width:auto;
}

.checkbox-group label{
    margin-bottom:0;
    font-weight:400;
    font-size:0.88rem;
    color:var(--texte-clair);
}

.form-submit{
    width:100%;
    border:none;
    cursor:pointer;
    font-family:'Inter',sans-serif;
}

.form-submit:disabled{
    opacity:0.7;
    cursor:not-allowed;
    transform:none;
}

.form-status{
    margin-top:18px;
    text-align:center;
    font-size:0.9rem;
    font-weight:500;
    min-height:1.2em;
}

.form-status.success{
    color:#3F6B2E;
}

.form-status.error{
    color:var(--terre-dark);
}

/* ACTIVITÉS */

.activities-section{
    max-width:1240px;
    margin:0 auto;
    padding:48px 32px 96px;
}

.activities-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.activity-card{
    background:var(--sable);
    border-radius:14px;
    padding:32px 28px;
}

.activity-tag{
    display:inline-block;
    font-size:0.75rem;
    font-weight:600;
    letter-spacing:0.5px;
    text-transform:uppercase;
    color:var(--terre);
    background:var(--creme);
    padding:5px 12px;
    border-radius:20px;
    margin-bottom:16px;
}

.activity-card h3{
    font-size:1.2rem;
    margin-bottom:10px;
}

.activity-card p{
    font-size:0.95rem;
    color:var(--texte-clair);
    line-height:1.7;
}

/* ÉVÉNEMENTS */

.upcoming-section,
.past-section{
    max-width:1100px;
    margin:0 auto;
    padding:48px 32px;
}

.section-heading{
    font-size:1.6rem;
    margin-bottom:28px;
}

.empty-state{
    background:var(--sable);
    border-radius:14px;
    padding:40px 32px;
    text-align:center;
}

.empty-state p{
    color:var(--nuit);
    font-weight:600;
    font-size:1.05rem;
    margin-bottom:8px;
}

.empty-state-sub{
    color:var(--texte-clair) !important;
    font-weight:400 !important;
    font-size:0.92rem !important;
}

.event-card-upcoming{
    background:var(--sable);
    border-radius:18px;
    overflow:hidden;
    display:flex;
    align-items:stretch;
}

.event-card-photo{
    flex:0 0 38%;
    min-height:320px;
}

.event-card-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

.event-card-info{
    flex:1;
    padding:40px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.event-status-badge{
    display:inline-block;
    background:var(--terre);
    color:white;
    font-size:0.75rem;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.5px;
    padding:5px 14px;
    border-radius:20px;
    margin-bottom:16px;
}

.event-card-info h3{
    font-size:1.6rem;
    margin-bottom:10px;
}

.event-card-meta{
    color:var(--terre);
    font-weight:600;
    font-size:0.95rem;
    margin-bottom:14px;
}

.event-card-desc{
    color:var(--texte-clair);
    font-size:1rem;
    line-height:1.7;
    margin-bottom:18px;
    max-width:620px;
}

.event-card-tarifs{
    color:var(--nuit);
    font-weight:600;
    font-size:0.95rem;
    margin-bottom:6px;
}

.event-card-places{
    color:var(--nuit);
    font-weight:600;
    font-size:0.95rem;
    margin-bottom:22px;
}

.event-card-deadline{
    color:var(--terre-dark);
    font-size:0.88rem;
    font-weight:600;
    margin-bottom:24px;
}

.event-card-info .btn-primary{
    border:none;
    cursor:pointer;
    font-family:'Inter',sans-serif;
    font-size:1rem;
}

/* FORMULAIRE D'INSCRIPTION À UN ÉVÉNEMENT */

.registration-section{
    max-width:1100px;
    margin:0 auto;
    padding:0 32px 48px;
}

.registration-box{
    position:relative;
    background:var(--creme);
    border:2px solid var(--terre);
    border-radius:18px;
    padding:40px;
    max-width:560px;
    margin:0 auto;
}

.registration-box h2{
    font-size:1.4rem;
    margin-bottom:6px;
    padding-right:32px;
}

.registration-sub{
    color:var(--terre);
    font-weight:600;
    font-size:0.92rem;
    margin-bottom:24px;
}

.registration-close{
    position:absolute;
    top:24px;
    right:24px;
    background:none;
    border:none;
    color:var(--texte-clair);
    font-size:1.1rem;
    cursor:pointer;
    width:32px;
    height:32px;
}

.registration-close:hover{
    color:var(--nuit);
}

.radio-group{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.radio-option{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:0.95rem;
    font-weight:400;
    color:var(--nuit);
    cursor:pointer;
}

.radio-option input{
    width:auto;
    margin:0;
}

.event-gallery-block{
    margin-bottom:56px;
}

.event-gallery-block:last-child{
    margin-bottom:0;
}

.event-gallery-header{
    margin-bottom:18px;
}

.event-gallery-header h3{
    font-size:1.25rem;
    margin-bottom:4px;
}

.event-gallery-date{
    color:var(--terre);
    font-size:0.88rem;
    font-weight:600;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:14px;
}

.gallery-item{
    aspect-ratio:4/3;
    border-radius:10px;
    overflow:hidden;
    border:none;
    padding:0;
    cursor:pointer;
    background:none;
    display:block;
    width:100%;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform 0.3s;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-item.placeholder{
    background:var(--sable);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:default;
}

.gallery-item.placeholder span{
    color:var(--texte-clair);
    font-size:0.85rem;
    font-weight:500;
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(26,43,60,0.95);
    z-index:2000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px;
}

.lightbox[hidden]{
    display:none;
}

.lightbox img{
    max-width:90vw;
    max-height:85vh;
    object-fit:contain;
    border-radius:8px;
}

.lightbox-close{
    position:absolute;
    top:24px;
    right:24px;
    background:rgba(255,255,255,0.1);
    border:none;
    color:white;
    width:44px;
    height:44px;
    border-radius:50%;
    font-size:1.2rem;
    cursor:pointer;
    transition:background 0.25s;
}

.lightbox-close:hover{
    background:rgba(255,255,255,0.2);
}

.lightbox-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,0.1);
    border:none;
    color:white;
    width:48px;
    height:48px;
    border-radius:50%;
    font-size:1.6rem;
    cursor:pointer;
    transition:background 0.25s;
    display:flex;
    align-items:center;
    justify-content:center;
}

.lightbox-nav:hover{
    background:rgba(255,255,255,0.2);
}

.lightbox-prev{
    left:24px;
}

.lightbox-next{
    right:24px;
}

/* FOOTER */

footer{
    background:var(--nuit);
    color:white;
}

.footer-top{
    padding:64px 0 40px;
    border-top:1px solid rgba(255,255,255,0.1);
}

.footer-container{
    max-width:1240px;
    margin:0 auto;
    padding:0 32px;
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr;
    gap:48px;
}

.footer-brand{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.footer-logo img{
    width:40px;
    height:40px;
    border-radius:50%;
    object-fit:cover;
}

.footer-logo span{
    font-family:'Fraunces',serif;
    font-weight:600;
    font-size:1.1rem;
    color:white;
}

.footer-brand p{
    color:rgba(255,255,255,0.65);
    font-size:0.92rem;
    line-height:1.7;
    max-width:320px;
}

.footer-section h3{
    color:#D9A07C;
    font-size:0.95rem;
    font-weight:600;
    margin-bottom:18px;
    font-family:'Inter',sans-serif;
}

.footer-links,
.footer-contact{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-links a,
.footer-contact a{
    color:rgba(255,255,255,0.72);
    text-decoration:none;
    font-size:0.92rem;
    transition:color 0.25s;
}

.footer-links a:hover,
.footer-contact a:hover{
    color:#D9A07C;
}

.footer-contact li{
    color:rgba(255,255,255,0.72);
    font-size:0.92rem;
}

.social-links{
    display:flex;
    gap:12px;
}

.social-links a{
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background 0.25s, transform 0.25s;
}

.social-links a:hover{
    background:var(--terre);
    transform:translateY(-2px);
}

.social-links img{
    width:16px;
    height:16px;
    object-fit:contain;
}

.footer-bottom{
    text-align:center;
    padding:22px 24px;
    font-size:0.82rem;
    color:rgba(255,255,255,0.45);
    border-top:1px solid rgba(255,255,255,0.08);
}

/* ACCESSIBILITÉ */

a:focus-visible,
button:focus-visible{
    outline:2px solid var(--terre);
    outline-offset:3px;
}

/* RESPONSIVE */

@media (max-width: 1024px){
    .about-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

    .footer-container{
        grid-template-columns:1fr 1fr;
    }

    .activities-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .footer-brand{
        grid-column:1 / -1;
    }
}

@media (max-width: 768px){
    .navbar{
        padding:14px 20px;
    }

    .logo-container span{
        font-size:1.05rem;
    }

    .nav-toggle{
        display:flex;
    }

    .btn-adhesion-desktop{
        display:none;
    }

    .btn-adhesion-mobile{
        display:inline-block;
        padding:9px 18px;
        font-size:0.88rem;
    }

    .nav-group{
        position:absolute;
        top:100%;
        left:0;
        right:0;
        width:100%;
    }

    .nav-links{
        flex-direction:column;
        gap:0;
        background:var(--creme);
        max-height:0;
        overflow:hidden;
        transition:max-height 0.35s ease;
        box-shadow:0 12px 24px rgba(26,43,60,0.12);
    }

    .nav-links.open{
        max-height:300px;
    }

    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;
        padding:16px 24px;
        border-top:1px solid rgba(26,43,60,0.08);
    }

    .nav-links a::after{
        display:none;
    }

    main{
        padding-top:70px;
    }

    .hero-bg{
        min-height:520px;
    }

    .hero{
        padding:48px 20px 64px;
    }

    .hero-actions{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
    }

    .about-section,
    .explore-section,
    .cta-section{
        padding:56px 20px;
    }

    .article-section{
        padding:32px 20px 64px;
    }

    .article-image{
        height:220px;
    }

    .form-section{
        padding:32px 20px 64px;
    }

    .adhesion-form{
        padding:28px 22px;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .values-row{
        grid-template-columns:1fr;
        gap:28px;
    }

    .explore-grid{
        grid-template-columns:1fr;
    }

    .news-grid{
        grid-template-columns:1fr;
    }

    .activities-grid{
        grid-template-columns:1fr;
    }

    .upcoming-section,
    .past-section{
        padding:32px 20px;
    }

    .event-card-upcoming{
        flex-direction:column;
        padding:0;
    }

    .event-card-photo{
        flex:none;
        width:100%;
        min-height:220px;
    }

    .event-card-info{
        padding:28px 24px;
    }

    .event-card-info h3{
        font-size:1.3rem;
    }

    .registration-section{
        padding:0 20px 32px;
    }

    .registration-box{
        padding:28px 22px;
    }

    .gallery-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
    }

    .lightbox{
        padding:16px;
    }

    .lightbox-nav{
        width:40px;
        height:40px;
        font-size:1.3rem;
    }

    .lightbox-prev{
        left:8px;
    }

    .lightbox-next{
        right:8px;
    }

    .lightbox-close{
        top:12px;
        right:12px;
        width:38px;
        height:38px;
    }

    .page-header{
        padding:48px 20px 40px;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
        gap:36px;
    }

    .footer-brand{
        align-items:center;
    }

    .footer-brand p{
        max-width:100%;
    }

    .social-links{
        justify-content:center;
    }

    .footer-links,
    .footer-contact{
        align-items:center;
    }
}

@media (max-width: 400px){
    .logo-container span{
        display:none;
    }
}

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