
        /* --- VARIABLES CSS --- */
        :root {
            --primary-color: #005f73;
            --secondary-color: #0a9396;
            --accent-color: #fca311;
            --text-dark: #1e2433;
            --text-light: #ffffff;
            --bg-light: #f4f7f6;
            --bg-dark-section: #222634;
            --danger: #e63946;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
            --radius: 16px;
        }

        /* --- RESET & BASE --- */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; font-family: 'Open Sans', sans-serif; color: var(--text-dark); background: var(--bg-light); }
        h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
        
        .container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
        .section-title { text-align: center; font-size: 2.8rem; margin-bottom: 3.5rem; color: var(--primary-color); text-transform: uppercase; font-weight: 900; letter-spacing: -0.5px;}

        /* --- HEADER & NAVIGATION --- */
        header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 0; z-index: 1000; transition: var(--transition); }
        .navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
        .logo { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 900; color: var(--primary-color); letter-spacing: -0.5px;}
        .logo img { height: 45px; width: auto; border-radius: 0; }
        .nav-links { display: flex; gap: 30px; }
        .nav-links a { font-weight: 700; font-size: 0.95rem; text-transform: uppercase; color: var(--text-dark); transition: var(--transition); letter-spacing: 0.5px;}
        .nav-links a:hover { color: var(--accent-color); }
        .menu-toggle { display: none; cursor: pointer; font-size: 1.8rem; color: var(--primary-color); }

        /* --- HERO SECTION --- */
        #hero { height: 100vh; background: linear-gradient(rgba(30,36,51,0.42), rgba(30,36,51,0.68)), url('photo-titouan.png') 58% center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-light); }
        .hero-content h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); max-width: 1050px; margin: 0 auto 20px; font-weight: 900; text-shadow: 0 4px 10px rgba(0,0,0,0.3); line-height: 1.1; letter-spacing: -1px;}
        .hero-content p { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 40px; font-weight: 600; text-shadow: 0 2px 5px rgba(0,0,0,0.3);}
        
        .btn { background: var(--accent-color); color: #fff; padding: 16px 40px; font-family: 'Montserrat', sans-serif; font-weight: 800; border-radius: 8px; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; border: none; cursor: pointer; letter-spacing: 1px; text-align: center;}
        .btn:hover { background: #e08e00; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(252, 163, 17, 0.4); }
        .btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
        .btn-outline:hover { background: var(--primary-color); color: #fff; box-shadow: 0 10px 25px rgba(0, 95, 115, 0.3);}

        /* --- SECTIONS GLOBALES --- */
        section { padding: 110px 0; background: #fff;}
        section:nth-child(even) { background: var(--bg-light); }

        /* --- L'ASSO --- */
        .asso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
        .asso-text h3 { color: var(--secondary-color); margin-bottom: 20px; font-size: 2rem; font-weight: 800;}
        .asso-text p { margin-bottom: 18px; line-height: 1.8; font-size: 1.05rem; color: #555; }
        
        .bureau-box { background: #fff; padding: 30px; border-radius: var(--radius); border-left: 6px solid var(--secondary-color); margin-bottom: 35px; box-shadow: var(--shadow); }
        .bureau-box h4 { margin-bottom: 20px; font-size: 1.4rem; color: var(--primary-color); }
        .bureau-box p { margin-bottom: 12px; font-size: 1.05rem; color: var(--text-dark); font-weight: 700; }
        .bureau-box span { font-weight: 400; color: #666; }

        .adhesion-box { background: rgba(10, 147, 150, 0.05); padding: 30px; border-radius: var(--radius); border: 1px solid rgba(10, 147, 150, 0.2); }
        .adhesion-box h4 { margin-bottom: 20px; color: var(--text-dark); font-size: 1.3rem;}
        .asso-actions { display: grid; gap: 20px; }
        .btn-desc { font-size: 0.9rem; color: #666; text-transform: none; font-weight: 400; display: block; margin-top: 8px; line-height: 1.5;}
        .asso-image { display: grid; gap: 24px; }
        .asso-image img { width: 100%; max-height: 520px; object-fit: cover; object-position: center; }

        /* --- LES SPOTS --- */
        .spots-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
        .card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column;}
        .card-img-container { background-color: #ebf2f5; width: 100%; display: flex; align-items: center; justify-content: center; }
        .card-img-container img { width: 100%; height: auto; object-fit: contain; border-radius: 0; max-height: 500px;}
        .card-content { padding: 40px; flex-grow: 1; }
        .card-title { font-size: 2rem; margin-bottom: 20px; color: var(--primary-color); font-weight: 800;}
        .card-content p, .card-content ul { line-height: 1.7; color: #555; margin-bottom: 20px; font-size: 1rem; }
        .card-content ul { list-style-type: none; padding-left: 0; }
        .card-content ul li { margin-bottom: 15px; padding-left: 20px; position: relative; }
        .card-content ul li::before { content: "•"; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; font-size: 1.4rem; top: -4px;}
        .card-content h4 { margin-top: 30px; margin-bottom: 15px; font-size: 1.4rem; color: var(--secondary-color); }
        
        .alert-box { background: #fff8e6; color: #9c6500; padding: 25px; border-left: 5px solid var(--accent-color); margin-top: 25px; margin-bottom: 25px; font-weight: 600; font-size: 0.95rem; border-radius: 8px; line-height: 1.6;}
        .official-link { display: inline-flex; margin-bottom: 20px; color: var(--primary-color); font-weight: 700; text-decoration: underline; }
        .official-link:hover { color: var(--accent-color); }

        /* --- ÉCOLE DE KITE --- */
        .ecole-grid { display: block; max-width: 800px; margin: 0 auto; text-align: center; }

        /* --- ÉVÉNEMENTS & BLOG --- */
        .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 35px; }
        .news-item { background: #fff; padding: 35px; border-radius: var(--radius); border-top: 6px solid var(--secondary-color); box-shadow: var(--shadow); transition: var(--transition);}
        .news-item:hover { border-top-color: var(--accent-color); transform: translateY(-8px); box-shadow: var(--shadow-hover);}
        .news-date { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.85rem; color: var(--secondary-color); margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: 1px;}
        .news-item h3 { margin-bottom: 15px; color: var(--text-dark); font-size: 1.4rem;}
        .news-item p { color: #555; line-height: 1.7; font-size: 1rem; }

        .news-photo-link { display: block; margin-bottom: 20px; border-radius: 8px; }
        .news-photo { width: 100%; height: auto; border-radius: 8px; }
        .news-photo-link:focus-visible, .news-album summary:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 4px; }
        .news-album { margin-top: 22px; }
        .news-album summary { cursor: pointer; color: var(--primary-color); font-weight: 700; line-height: 1.6; }
        .news-gallery { display: grid; gap: 18px; margin-top: 18px; }
        .news-gallery .news-photo-link { margin-bottom: 0; }
        .news-gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: #555; }

        /* --- SÉCURITÉ & MÉTÉO --- */
        #secu { background: var(--bg-dark-section); color: #fff; padding: 100px 0;}
        #secu .section-title { color: #fff; }
        
        .secu-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
        .secu-photos { display: flex; flex-direction: column; gap: 20px; }
        .secu-photos img { object-fit: contain; width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); background: #fff;}
        
        .secu-box { background: var(--primary-color); padding: 50px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 15px 40px rgba(0,0,0,0.2);}
        .secu-box h3 { margin-bottom: 20px; color: var(--accent-color); font-size: 2.2rem; font-weight: 900;}
        .secu-box p.intro-text { margin-bottom: 30px; line-height: 1.7; font-size: 1.05rem; color: #fff;}
        
        .secu-alert { background: rgba(0,0,0,0.2); padding: 25px; border-radius: 8px; border-left: 4px solid var(--accent-color); margin-bottom: 35px; }
        .secu-alert h4 { color: var(--accent-color); margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px;}
        .secu-alert p { font-size: 0.95rem; margin-bottom: 15px; line-height: 1.6; color: #fff;}
        .partner-link { color: var(--accent-color); font-weight: 700; text-decoration: underline; transition: color 0.3s; }
        .partner-link:hover { color: #fff; }

        .secu-buttons { display: flex; flex-direction: column; gap: 15px; }
        .btn-secu-white { background: #fff; color: var(--primary-color); padding: 18px 30px; font-family: 'Montserrat', sans-serif; font-weight: 800; border-radius: 4px; text-transform: uppercase; text-align: center; letter-spacing: 1px; transition: var(--transition);}
        .btn-secu-white:hover { background: var(--bg-light); transform: translateY(-2px); }
        .btn-secu-outline { background: transparent; color: #fff; border: 2px solid #fff; padding: 18px 30px; font-family: 'Montserrat', sans-serif; font-weight: 800; border-radius: 4px; text-transform: uppercase; text-align: center; letter-spacing: 1px; transition: var(--transition);}
        .btn-secu-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

        /* --- FOOTER --- */
        footer { background: #161a24; color: #a0aabf; padding: 80px 0 30px; font-size: 0.95rem; }
        .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 60px; }
        .footer-content h4 { color: #fff; margin-bottom: 25px; font-size: 1.3rem; font-weight: 800;}
        .footer-content p { margin-bottom: 12px; line-height: 1.7; }
        .social-links { display: flex; gap: 15px; margin-top: 20px; }
        .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: #2a3040; color: #fff; transition: var(--transition); }
        .social-links a:hover { background: var(--accent-color); transform: translateY(-3px);}
        .footer-bottom { border-top: 1px solid #2a3040; padding-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center;}
        .footer-bottom a { color: var(--secondary-color); transition: var(--transition); text-decoration: underline;}
        .footer-bottom a:hover { color: var(--accent-color); }
        .credit { color: #7a8499; font-size: 0.85rem; margin-top: 10px; }
        .credit a { color: var(--accent-color); font-weight: 700; text-decoration: none;}

        /* --- RESPONSIVE --- */
        @media (max-width: 900px) {
            .asso-grid, .secu-grid { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 3rem; }
            .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255, 255, 255, 0.98); padding: 20px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); text-align: center; }
            .nav-links.active { display: flex; }
            .nav-links a { padding: 15px 0; display: block; border-bottom: 1px solid #eee; }
            .menu-toggle { display: block; }
        }
    
/* Article pages and photo viewer */
.menu-toggle { background: transparent; border: 0; }
.article-page { padding-top: 140px; padding-bottom: 70px; max-width: 1000px; }
.article-back { display: inline-block; color: var(--primary-color); text-decoration: underline; font-weight: 700; margin-bottom: 32px; }
.article-page h1 { font-size: clamp(2rem, 6vw, 3.5rem); color: var(--primary-color); margin-bottom: 28px; overflow-wrap: anywhere; }
.article-text { font-size: 1.1rem; line-height: 1.9; margin-bottom: 40px; }
.article-page h2 { font-size: 1.7rem; margin-bottom: 12px; }
.gallery-help { margin-bottom: 24px; color: #555; }
.article-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; margin-bottom: 40px; }
.article-gallery figure:first-child { grid-column: 1 / -1; }
.photo-zoom { display: block; width: 100%; border: 0; background: white; border-radius: 12px; overflow: hidden; cursor: zoom-in; color: var(--primary-color); font: inherit; box-shadow: var(--shadow); }
.photo-zoom img { width: 100%; height: auto; margin: 0 !important; border-radius: 0 !important; }
.zoom-label { display: block; padding: 12px; font-weight: 700; }
.article-gallery figcaption { margin-top: 10px; color: #555; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 4px; }
.photo-viewer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding: 16px; border: 0; background: rgba(12,18,26,.97); color: white; }
.photo-viewer::backdrop { background: rgba(0,0,0,.8); }
.viewer-content { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.viewer-close { align-self: flex-end; flex-shrink: 0; padding: 14px 20px; min-height: 48px; border: 2px solid white; border-radius: 8px; background: white; color: #1e2433; font: 700 1rem 'Open Sans', sans-serif; cursor: pointer; }
#viewer-image { flex: 1; min-height: 0; width: 100%; object-fit: contain; border-radius: 0; }
#viewer-caption { flex-shrink: 0; text-align: center; font-size: 1rem; }
html.photo-open { overflow: hidden; }
@media (max-width: 600px) {
 .article-gallery { grid-template-columns: minmax(0,1fr); }
 .article-page { padding-top: 110px; }
 .photo-viewer { padding: 12px; }
 .article-page .btn { width: 100%; padding: 16px; }
}
