/* ============================================================
   LES LANCEURS DU NORD — Feuille de style principale
   Thème : sombre "bois & acier", accent ambre
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --bg: #131009;
    --bg-alt: #1a1610;
    --surface: #221d15;
    --surface-hover: #2a241a;
    --accent: #e08a2e;
    --accent-light: #f2a54f;
    --accent-dark: #b96f1f;
    --text: #efe9dd;
    --muted: #a99f8d;
    --border: rgba(239, 233, 221, 0.09);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-h: 76px;
}

/* ---------- Thème clair (activé via data-theme="light" sur <html>) ---------- */
:root[data-theme="light"] {
    --bg: #f7f3ec;
    --bg-alt: #efe8da;
    --surface: #ffffff;
    --surface-hover: #f3ede1;
    --accent: #c1690f;
    --accent-light: #e08a2e;
    --accent-dark: #a55c0e;
    --text: #292219;
    --muted: #6f6557;
    --border: rgba(41, 34, 25, .14);
    --shadow: 0 10px 30px rgba(41, 34, 25, .14);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.15;
    font-weight: 600;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--text); }
.section-subtitle { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .95rem;
    font-weight: 600;
    padding: 15px 34px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s;
}

.btn-primary { background: var(--accent); color: #191204; }
.btn-primary:hover { background: var(--accent-light); color: #191204; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224, 138, 46, .35); }

.btn-outline { background: transparent; color: var(--text); border-color: rgba(239, 233, 221, .35); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-small { padding: 10px 22px; font-size: .8rem; }

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(19, 16, 9, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s;
}

.header.scrolled { background: rgba(19, 16, 9, .92); border-bottom-color: var(--border); }

.header-content { display: flex; align-items: center; justify-content: space-between; }

.logo img { height: 52px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 6px; }

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    font-size: .92rem;
    font-weight: 500;
    border-radius: 8px;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }

.nav-cta { margin-left: 12px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link::after { content: " ▾"; font-size: .7em; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    font-size: .9rem;
    border-radius: 6px;
}
.dropdown-menu a:hover { background: var(--surface-hover); color: var(--accent); }

/* Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--text); transition: all .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Hero compact : photo des membres (bloc arrondi) à gauche, texte à droite */
.hero {
    position: relative;
    background: var(--bg);
    padding: calc(var(--header-h) + 44px) 0 80px;
}

.hero-grid {
    display: grid;
    /* Image au maximum de largeur à gauche du texte */
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

/* L'image part du bord gauche de l'écran (pleine largeur, hors conteneur) */
.hero .hero-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: clamp(24px, calc((100vw - 1180px) / 2), 200px);
}

.hero-media {
    position: relative;
}

.hero-media img {
    /* Image affichée en entier, sans recadrage */
    width: 100%;
    height: auto;
    display: block;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Fondu vers le fond sombre : à droite, en haut et en bas (bord gauche net, collé à l'écran) */
    background:
        linear-gradient(90deg, rgba(19,16,9,0) 0%, rgba(19,16,9,0) 84%, var(--bg) 100%),
        linear-gradient(180deg, var(--bg) 0%, rgba(19,16,9,0) 16%, rgba(19,16,9,0) 80%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-tag {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .3em;
    color: var(--accent);
    font-size: .95rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,.75), 0 4px 24px rgba(0,0,0,.5);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(239,233,221,.95);
    max-width: 640px;
    margin: 0 0 30px;
    text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--accent);
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 10px;
}
.hero-scroll:hover { color: var(--accent-light); }
.hero-scroll svg { width: 30px; height: 30px; }

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ---------- Qui sommes-nous (accueil) ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: rgba(239, 233, 221, .88); margin-bottom: 16px; }
.about-text .btn { margin-top: 10px; }

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    /* Cadrage haut : garde la hache et les visages */
    object-position: center 22%;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image { order: -1; }
    .about-image img { aspect-ratio: 16 / 10; }
}

/* ---------- Stats ---------- */
.stats-band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }

.stat-item { padding: 44px 20px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label { color: var(--muted); margin-top: 10px; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }

/* ---------- Cartes services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(224, 138, 46, .45); }

.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(224, 138, 46, .12);
    border-radius: 12px;
    margin-bottom: 22px;
    color: var(--accent);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

.service-features li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    font-size: .88rem;
    margin-bottom: 8px;
}
.service-features li::before { content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; text-align: center; }

.why-item .why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
}
.why-item .why-icon svg { width: 30px; height: 30px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-item p { color: var(--muted); font-size: .93rem; }

/* ---------- Galerie ---------- */
/* Galerie "masonry" : chaque photo est affichée ENTIÈRE, dans son format
   d'origine (aucun recadrage → plus jamais de cadrage malheureux) */
.gallery-grid {
    columns: 4 240px;
    column-gap: 14px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 14px;
    break-inside: avoid;
}

.gallery-item img { width: 100%; height: auto; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    background: linear-gradient(180deg, transparent 55%, rgba(19,16,9,.85));
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 8, 4, .95);
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-content { max-width: 88vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(239,233,221,.08);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.5rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(224,138,46,.3); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Médias ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.media-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, border-color .25s;
    color: var(--text);
}
.media-card:hover { transform: translateY(-6px); border-color: rgba(224,138,46,.45); color: var(--text); }

.media-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }

.media-thumb .play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}
.media-thumb .play-button::before {
    content: "";
    position: absolute;
    width: 62px; height: 62px;
    background: rgba(224,138,46,.9);
    border-radius: 50%;
    z-index: -1;
    transition: transform .25s;
}
.media-card:hover .play-button::before { transform: scale(1.12); }

.media-thumb-icon {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--surface-hover));
}

.media-body { padding: 22px; }
.media-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.media-body p { color: var(--muted); font-size: .9rem; }
.media-source { display: inline-block; margin-top: 14px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 600; }

/* ---------- Bande CTA ---------- */
.cta-band {
    position: relative;
    text-align: center;
    padding: 110px 0;
    background: url('images/galerie/photo2.webp') center/cover no-repeat fixed;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(19,16,9,.82); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Partenaires ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }

.partner-item {
    background: #f6f2ea;
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    transition: transform .25s;
}
.partner-item:hover { transform: translateY(-4px); }
.partner-item img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- Liens utiles ---------- */
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.link-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
}
.link-item img { height: 72px; width: auto; margin: 0 auto 18px; object-fit: contain; }
.link-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.link-item p { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }

/* ---------- Contact ---------- */
.contact-content { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }

.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }

.contact-icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(224,138,46,.12);
    border-radius: 12px;
    color: var(--accent);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--muted); }
.contact-item a:hover { color: var(--accent); }

/* Carte Google Maps (section contact) */
.contact-map {
    margin-top: 6px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: none;
}

/* Formulaires */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }

input[type="text"], input[type="email"], input[type="tel"],
input[type="date"], input[type="password"], textarea, select {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; }

.checkbox-group { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.checkbox-group input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox-group label { margin: 0; }

.radio-group { display: flex; gap: 24px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.radio-group input { accent-color: var(--accent); width: 18px; height: 18px; }

.form-note {
    background: rgba(224,138,46,.08);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px;
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.form-separator { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

.form-message { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-message.success { display: block; background: rgba(80, 180, 100, .15); color: #7fd694; }
.form-message.error { display: block; background: rgba(200, 60, 60, .15); color: #f08a8a; }

/* ---------- Pages internes ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 70px;
    text-align: center;
    /* Photo de groupe sous les drapeaux, cadrée sur les lanceurs */
    background: url('images/galerie/photo4.webp') center 62% / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,16,9,.45), var(--bg)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; }

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 {
    font-size: 1.5rem;
    color: var(--accent);
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 12px; }
.prose p { margin-bottom: 16px; color: rgba(239,233,221,.88); }
.prose ul { margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: rgba(239,233,221,.88); }
.prose ul li::before { content: "🪓"; position: absolute; left: 0; font-size: .8rem; top: 3px; }
.prose strong { color: var(--text); }

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin: 32px 0;
}

/* Équipe / valeurs (À propos) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
}
.team-avatar {
    width: 80px; height: 80px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(224,138,46,.12);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--accent);
}
.team-card h3 { font-size: 1.1rem; }
.team-role { color: var(--accent); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 14px; }
.team-card p { color: var(--muted); font-size: .92rem; }

/* Témoignages */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
}
.testimonial-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card blockquote { color: rgba(239,233,221,.88); font-style: italic; margin-bottom: 16px; }
.testimonial-card cite { color: var(--muted); font-style: normal; font-size: .88rem; }

/* Agenda Google embarqué */
.calendar-embed {
    max-width: 900px;
    margin: 40px auto 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.calendar-embed iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: none;
}
@media (max-width: 768px) {
    .calendar-embed iframe { height: 480px; }
}

/* Modale QR code (abonnement calendrier) */
.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 4, .85);
    padding: 20px;
}
.qr-modal.open { display: flex; }

.qr-modal-box {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}
.qr-modal-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.qr-modal-box p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

.qr-modal-box .qr-img {
    width: 230px;
    height: 230px;
    margin: 0 auto 20px;
    background: #fff;
    padding: 12px;
    border-radius: var(--radius-sm);
}
.qr-modal-box .qr-img img { width: 100%; height: 100%; }

.qr-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(239,233,221,.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background .2s;
}
.qr-modal-close:hover { background: rgba(224,138,46,.3); }

.qr-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin: 18px 0;
}
.qr-or::before, .qr-or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }

/* Assemblée (protégée) */
.password-box {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 34px;
    text-align: center;
}
.password-box .lock-icon { font-size: 2.4rem; margin-bottom: 16px; }
.password-box p { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.password-box input { margin-bottom: 16px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #0d0b06; border-top: 1px solid var(--border); padding: 70px 0 0; }

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 50px;
}

.footer-logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer-section > p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.footer-section h4 { font-size: .95rem; letter-spacing: .12em; margin-bottom: 18px; color: var(--text); }
.footer-section ul li { margin-bottom: 10px; }
.footer-section ul a { color: var(--muted); font-size: .92rem; }
.footer-section ul a:hover { color: var(--accent); }
.footer-section ul li { color: var(--muted); font-size: .92rem; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(239,233,221,.06);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    transition: all .25s;
}
.social-links a:hover { background: var(--accent); color: #191204; border-color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
}

/* ---------- Scroll top ---------- */
.scroll-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 900;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent);
    color: #191204;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-light); }

/* ---------- Animations reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .contact-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .gallery-grid { columns: 3 200px; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .cta-band { background-attachment: scroll; }

    /* Hero mobile : photo de l'équipe en haut, texte en dessous */
    .hero { padding: calc(var(--header-h) + 24px) 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }

    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(19, 16, 9, .98);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .nav.open { max-height: 80vh; overflow-y: auto; }

    .nav-list { flex-direction: column; align-items: stretch; padding: 16px 6%; gap: 2px; }
    .nav-link { padding: 14px 10px; font-size: 1rem; }
    .nav-cta { margin: 12px 10px 6px; text-align: center; }

    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 18px;
        display: none;
    }
    .nav-dropdown.open .dropdown-menu { display: block; }

    .gallery-grid { columns: 2; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item + .stat-item { border-left: none; }
    .stat-item { border-top: 1px solid var(--border); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 520px) {
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-logo { height: 96px; }
}

/* ============================================================
   BASCULE CLAIR / SOMBRE
   ============================================================ */

/* Bouton dans l'en-tête */
.theme-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    margin-left: 14px;
    transition: all .25s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Ajustements du thème clair sur les éléments à couleurs fixes */
[data-theme="light"] .header { background: rgba(247, 243, 236, .72); }
[data-theme="light"] .header.scrolled { background: rgba(247, 243, 236, .96); }
[data-theme="light"] .btn-outline { border-color: rgba(41, 34, 25, .35); }
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-subtitle { text-shadow: none; }
[data-theme="light"] .hero-subtitle { color: var(--muted); }
[data-theme="light"] .prose p,
[data-theme="light"] .prose ul li,
[data-theme="light"] .about-text p,
[data-theme="light"] .testimonial-card blockquote { color: rgba(41, 34, 25, .85); }
[data-theme="light"] .scroll-top { color: #fff; }

@media (max-width: 768px) {
    [data-theme="light"] .nav { background: rgba(247, 243, 236, .98); }
}

/* Zones qui restent sombres dans les deux thèmes (photos, footer, modales) */
.footer {
    --text: #efe9dd;
    --muted: #a99f8d;
    --border: rgba(239, 233, 221, .09);
    color: var(--text);
}
.page-hero h1 { color: #efe9dd; }
.page-hero p { color: rgba(239, 233, 221, .8); }
.cta-band h2 { color: #efe9dd; }
.cta-band p { color: rgba(239, 233, 221, .78); }
.gallery-overlay span { color: #fff; }
