/* ============================================================
   SIERRE PARTAGE — Identité visuelle
   Couleur officielle : #00b199 (logo)
   ============================================================ */

/* --- Police onelove (logo) --- */
@font-face {
    font-family: 'OneLove';
    font-display: swap;
    src: url('/assets/fonts/onelove.ttf') format('truetype');
}

/* --- Tokens --- */
:root {
    /* Palette officielle dérivée du logo #00b199 */
    --brand:        #00b199;     /* turquoise officiel */
    --brand-deep:   #00897a;
    --brand-light:  #b3e5dd;
    --brand-bg:     #e6f6f3;
    --brand-soft:   #f0faf8;

    /* Accents */
    --warm:         #d4884a;     /* le brun chaleureux du carton du logo */
    --warm-light:   #f5e6d3;
    --accent:       #e8593f;     /* rouge des paquets de pâtes/baguette pour CTA urgents */
    --gold:         #f5a623;

    /* Neutres chaleureux */
    --paper:        #ffffff;
    --cream:        #fdf9f3;
    --cream-deep:   #f6efe4;
    --line:         #ece5d8;
    --line-soft:    #f3edde;

    /* Textes */
    --ink:          #1a1815;
    --ink-soft:     #4a4540;
    --ink-mute:     #807a72;
    --ink-faded:    #b3aca3;

    /* Statuts */
    --success:      #4a7c59;
    --warning:      #c68a3a;
    --error:        #c54a3a;

    /* Layout */
    --container:    1240px;
    --container-narrow: 880px;

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 36px;
    --r-full: 9999px;

    /* Shadows (warm) */
    --shadow-xs: 0 1px 2px rgba(26, 24, 21, 0.04);
    --shadow-sm: 0 2px 8px rgba(26, 24, 21, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 24, 21, 0.08);
    --shadow-lg: 0 16px 40px rgba(26, 24, 21, 0.10);
    --shadow-xl: 0 24px 60px rgba(26, 24, 21, 0.12);
    --shadow-brand: 0 8px 24px rgba(0, 177, 153, 0.25);

    /* Easing */
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'OneLove', cursive;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}
img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand-deep); text-decoration: none; transition: all 0.2s var(--ease); }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* Accessibility */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--ink); color: white;
    padding: 12px 20px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.italic { font-style: italic; }
em { font-style: italic; color: var(--brand-deep); font-weight: 500; }

p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
    background: var(--brand);
    color: white;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
    background: var(--brand-deep);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 177, 153, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-outline:hover {
    background: var(--ink);
    color: white;
}
.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
}
.btn-ghost:hover { background: var(--cream-deep); color: var(--ink); }
.btn-warm {
    background: var(--accent);
    color: white;
}
.btn-warm:hover { background: #c54730; color: white; transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* --- Eyebrow --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-deep);
    margin-bottom: 16px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* --- Section --- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-soft { background: var(--cream-deep); }
.section-brand { background: var(--brand-bg); }
.section-dark { background: var(--ink); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-dark .eyebrow { color: var(--brand-light); }
.section-dark .eyebrow::before { background: var(--brand); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253, 249, 243, 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}
.header.scrolled {
    background: rgba(253, 249, 243, 0.96);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}
.brand-mark {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text {
    font-family: var(--font-script);
    font-size: 2.22rem;
    color: var(--brand);
    line-height: 1;
    margin-top: 4px;
    transition: color 0.2s var(--ease);
}
.brand:hover .brand-text { color: var(--brand-deep); }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-desktop a {
    padding: 8px 14px;
    border-radius: var(--r-sm);
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 14.5px;
}
.nav-desktop a:hover {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    color: var(--ink);
}
.menu-toggle:hover { background: var(--cream-deep); }

@media (max-width: 968px) {
    .nav-desktop { display: none; }
    .menu-toggle { display: flex; }
    .brand-text { font-size: 1.92rem; }
    .brand-mark { width: 50px; height: 50px; }
    .header-cta .btn span.label-long { display: none; }
}

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(26, 24, 21, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 90vw);
    background: var(--paper);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    padding: 30px 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--cream-deep);
}
.mobile-menu ul { margin-top: 40px; }
.mobile-menu li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu a {
    display: block;
    padding: 18px 0;
    color: var(--ink);
    font-weight: 500;
    font-size: 17px;
}
.mobile-menu-cta {
    margin-top: 30px;
    display: grid;
    gap: 12px;
}
.mobile-menu-cta .btn { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 130px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-soft) 0%, var(--cream) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 177, 153, 0.15), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 136, 74, 0.12), transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-text { position: relative; z-index: 1; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--brand-light);
    padding: 8px 18px 8px 12px;
    border-radius: var(--r-full);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-deep);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}
.hero-tag .pulse {
    width: 8px; height: 8px;
    background: var(--brand);
    border-radius: 50%;
    position: relative;
}
.hero-tag .pulse::before {
    content: '';
    position: absolute; inset: -3px;
    background: var(--brand);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2.2); opacity: 0; }
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 24px;
}
.hero h1 .accent {
    color: var(--brand);
    font-style: italic;
    font-weight: 500;
}
.hero h1 .script {
    font-family: var(--font-script);
    color: var(--brand);
    font-size: 1.1em;
    font-weight: normal;
}
.hero-lead {
    font-size: clamp(1.1rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.hero-trust .heart {
    width: 44px; height: 44px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-trust .heart svg { width: 22px; height: 22px; fill: currentColor; }
.hero-trust strong { color: var(--ink); display: block; font-size: 15px; }
.hero-trust span { font-size: 13.5px; color: var(--ink-mute); }

/* Hero visual */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 540px;
    margin-left: auto;
}
.hero-img-main {
    width: 88%;
    aspect-ratio: 4/5;
    margin-left: auto;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-img-main img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-img-secondary {
    position: absolute;
    left: 0; bottom: 50px;
    width: 50%;
    aspect-ratio: 4/5;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow-lg);
}
.hero-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.hero-event-card {
    position: absolute;
    right: -10px; top: 30px;
    background: white;
    padding: 16px 20px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
}
.hero-event-card .icon {
    width: 44px; height: 44px;
    background: var(--brand-bg);
    color: var(--brand-deep);
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.hero-event-card .icon svg { width: 22px; height: 22px; }
.hero-event-card strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    display: block;
    line-height: 1.1;
}
.hero-event-card span {
    font-size: 12.5px;
    color: var(--ink-mute);
    font-weight: 500;
}

@media (max-width: 880px) {
    .hero { padding: 100px 0 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 100%; aspect-ratio: 5/4; }
    .hero-img-main { width: 100%; aspect-ratio: 5/4; }
    .hero-img-secondary { left: 10px; bottom: -20px; width: 38%; }
    .hero-event-card { right: 10px; top: 10px; padding: 12px 14px; }
    .hero-event-card strong { font-size: 0.95rem; }
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: white;
    padding: clamp(40px, 6vw, 70px) 0;
    position: relative;
    overflow: hidden;
}
.countdown-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.countdown-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
}
.countdown-info .eyebrow { color: rgba(255,255,255,0.85); }
.countdown-info .eyebrow::before { background: rgba(255,255,255,0.5); }
.countdown-info h2 {
    color: white;
    margin-bottom: 12px;
}
.countdown-info p { color: rgba(255,255,255,0.92); margin-bottom: 24px; max-width: 540px; }
.countdown-info .btn-primary {
    background: white;
    color: var(--brand-deep);
}
.countdown-info .btn-primary:hover {
    background: var(--cream);
    color: var(--brand-deep);
}

.countdown-grid {
    display: flex;
    gap: 14px;
}
.countdown-cell {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--r-md);
    padding: 18px 14px;
    min-width: 84px;
    text-align: center;
}
.countdown-cell .value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    font-weight: 500;
    margin-bottom: 6px;
}
.countdown-cell .unit {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    font-weight: 600;
}
@media (max-width: 768px) {
    .countdown-wrap { grid-template-columns: 1fr; }
    .countdown-grid { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .countdown-grid { gap: 8px; }
    .countdown-cell { min-width: 68px; padding: 14px 8px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    background: white;
    padding: clamp(50px, 7vw, 80px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card { text-align: center; padding: 10px; }
.stat-card .num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--brand);
    font-weight: 500;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.stat-card .num .plus { color: var(--warm); font-weight: 400; }
.stat-card .label {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    margin-bottom: 4px;
}
.stat-card .detail { font-size: 13px; color: var(--ink-mute); }
@media (max-width: 640px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* ============================================================
   MISSION / About
   ============================================================ */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.mission-card {
    background: white;
    padding: 32px 26px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
}
.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-light);
}
.mission-icon {
    width: 52px; height: 52px;
    background: var(--brand-bg);
    color: var(--brand-deep);
    border-radius: var(--r-md);
    display: grid; place-items: center;
    margin-bottom: 20px;
}
.mission-icon svg { width: 26px; height: 26px; }
.mission-card h3 { margin-bottom: 10px; }
.mission-card p { font-size: 14.5px; line-height: 1.6; }

.charte-cta {
    margin-top: 36px;
    background: var(--brand-bg);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    border: 1px solid var(--brand-light);
}
.charte-cta .icon {
    width: 56px; height: 56px;
    background: white;
    color: var(--brand-deep);
    border-radius: var(--r-md);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.charte-cta .icon svg { width: 28px; height: 28px; }
.charte-cta .text { flex: 1; min-width: 240px; }
.charte-cta strong { font-family: var(--font-display); font-size: 1.15rem; display: block; margin-bottom: 4px; color: var(--ink); }
.charte-cta span { font-size: 14px; color: var(--ink-soft); }

@media (max-width: 880px) {
    .mission-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mission-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-img {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
}
.service-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}
.service-badge {
    position: absolute; top: 16px; left: 16px;
    background: white;
    padding: 6px 12px;
    border-radius: var(--r-full);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-deep);
    z-index: 1;
}
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
/* Description riche (HTML éditeur admin) : mêmes réglages que le <p>, + enfants */
.service-desc { font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.service-desc p { margin: 0 0 0.9em; }
.service-desc p:last-child { margin-bottom: 0; }
.service-desc ul, .service-desc ol { margin: 8px 0 10px; padding-left: 20px; }
.service-desc ul li { list-style: disc; margin-bottom: 4px; }
.service-desc ol li { list-style: decimal; margin-bottom: 4px; }
.service-desc strong { font-weight: 700; }
.service-hours {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 16px;
    font-size: 13.5px;
}
.service-hours-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.service-hours-row + .service-hours-row { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.service-hours-row strong { color: var(--ink); font-weight: 600; min-width: 90px; }
.service-hours-row span { color: var(--ink-soft); }
.service-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(245, 166, 35, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: var(--r-xs);
    font-size: 13px;
    color: var(--ink-soft);
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   3 VOIES (Aider)
   ============================================================ */
.help-ways {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 24px;
    margin-top: 36px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.help-ways .help-way {
    flex: 0 1 360px;
    max-width: 360px;
}
.help-way {
    background: white;
    border-radius: var(--r-lg);
    padding: 36px 28px;
    border: 2px solid var(--line);
    transition: all 0.3s var(--ease);
    display: flex; flex-direction: column;
    text-align: center;
}
.help-way:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}
.help-way.featured {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}
.help-way.featured h3 { color: white; }
.help-way.featured p { color: rgba(255,255,255,0.92); }
.help-way.featured .help-icon {
    background: rgba(255,255,255,0.18);
    color: white;
}
.help-icon {
    width: 76px; height: 76px;
    background: var(--brand-bg);
    color: var(--brand-deep);
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 24px;
}
.help-icon svg { width: 36px; height: 36px; }
.help-way h3 { margin-bottom: 12px; }
.help-way p { font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; flex: 1; }
.help-way .btn { align-self: center; }
.help-way.featured .btn-primary {
    background: white;
    color: var(--brand-deep);
}
.help-way.featured .btn-primary:hover { background: var(--cream); color: var(--brand-deep); }

@media (max-width: 880px) {
    .help-ways { grid-template-columns: 1fr; }
}

/* ============================================================
   DON (cards)
   ============================================================ */
.don-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.don-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 32px 26px;
    border: 1px solid var(--line);
    text-align: center;
}
.don-card .don-icon {
    width: 64px; height: 64px;
    background: var(--brand-bg);
    color: var(--brand-deep);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: grid; place-items: center;
}
.don-card .don-icon svg { width: 30px; height: 30px; }
.don-card h3 { margin-bottom: 10px; }
.don-card p { font-size: 14.5px; margin-bottom: 18px; line-height: 1.5; }
.don-card .iban-value {
    background: var(--cream);
    border: 1px dashed var(--line);
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-family: ui-monospace, SFMono-Regular, Monaco, Menlo, monospace;
    font-size: 13.5px;
    color: var(--ink);
    word-break: break-all;
    margin-top: 10px;
}
.qr-placeholder {
    width: 160px; height: 160px;
    margin: 0 auto 14px;
    background: var(--cream);
    border: 2px dashed var(--line);
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    color: var(--ink-faded);
    font-size: 12px;
    text-align: center;
    padding: 14px;
}

@media (max-width: 880px) {
    .don-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
    background: var(--cream-deep);
    padding: clamp(60px, 8vw, 100px) 0;
}
.testimonial-card {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.testimonial-img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    min-height: 320px;
}
.testimonial-body { padding: 40px 36px 40px 0; position: relative; }
.testimonial-body::before {
    content: '“';
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--brand);
    line-height: 0.8;
    opacity: 0.18;
    position: absolute;
    top: 30px; left: 0;
}
.testimonial blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.45;
    color: var(--ink);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}
.testimonial-author {
    display: flex; align-items: center; gap: 14px;
}
.testimonial-author-avatar {
    width: 54px; height: 54px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--brand-bg);
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block; color: var(--ink); font-weight: 600;
}
.testimonial-author span { font-size: 13px; color: var(--ink-mute); }

@media (max-width: 768px) {
    .testimonial-card { grid-template-columns: 1fr; gap: 0; }
    .testimonial-body { padding: 32px 28px; }
    .testimonial-img { aspect-ratio: 16/10; min-height: 0; }
}

/* ============================================================
   COMITÉ
   ============================================================ */
.comite-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.member-card {
    text-align: center;
    background: white;
    border-radius: var(--r-lg);
    padding: 28px 18px;
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.member-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--brand-bg);
    color: var(--brand-deep);
    margin: 0 auto 16px;
    display: grid; place-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--brand-light);
}
.member-avatar.no-photo {
    font-family: var(--font-display);
    font-size: 2.4rem;
}
.member-card .role {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-deep);
    margin-bottom: 6px;
    display: block;
}
.member-card .name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.2;
}
.member-card .member-bio {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-mute);
}

@media (max-width: 1024px) {
    .comite-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .comite-grid { grid-template-columns: repeat(2, 1fr); }
    .member-avatar { width: 80px; height: 80px; }
}

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}
.news-card {
    background: white;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
    display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    position: relative;
}
.news-cat {
    position: absolute; top: 14px; left: 14px;
    background: rgba(0, 177, 153, 0.95);
    color: white;
    padding: 5px 12px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 12.5px; color: var(--ink-mute); font-weight: 500; margin-bottom: 10px; }
.news-body h3 { margin-bottom: 12px; font-size: 1.2rem; }
.news-body p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; flex: 1; }
.news-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}
.news-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.news-link:hover svg { transform: translateX(3px); }

@media (max-width: 880px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partners-track {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 36px;
}
.partner-card {
    padding: 18px 28px;
    background: white;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    min-width: 160px;
    text-align: center;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s var(--ease);
}
.partner-card:hover {
    border-color: var(--brand-light);
    background: var(--brand-soft);
    color: var(--brand-deep);
    transform: translateY(-2px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    margin-top: 36px;
}
.contact-info { display: grid; gap: 16px; align-content: start; }
.contact-info-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
}
.contact-info-card .icon {
    width: 42px; height: 42px;
    background: var(--brand-bg);
    color: var(--brand-deep);
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-info-card .icon svg { width: 20px; height: 20px; }
.contact-info-card strong {
    display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px;
}
.contact-info-card span, .contact-info-card a {
    font-size: 13.5px; color: var(--ink-soft); line-height: 1.4;
}
.contact-info-card a { display: block; }

.contact-form {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 8px;
}
.field .help-text { display: block; font-size: 12.5px; color: var(--ink-mute); font-weight: 400; margin-top: 4px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--cream);
    font-size: 15px;
    color: var(--ink);
    transition: all 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--brand);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 177, 153, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkbox-field {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px;
    background: var(--cream);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    margin-bottom: 20px;
    cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
}
.checkbox-field label { font-size: 13.5px; color: var(--ink-soft); cursor: pointer; margin: 0; font-weight: 400; line-height: 1.5; }
.checkbox-field label a { color: var(--brand-deep); text-decoration: underline; }

.required-mark { color: var(--accent); }

@media (max-width: 880px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-cta {
    background: var(--ink);
    color: white;
    padding: clamp(50px, 7vw, 80px) 0;
    text-align: center;
}
.footer-cta h2 { color: white; margin-bottom: 16px; }
.footer-cta p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 28px; }
.footer-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer-cta .btn-outline { color: white; border-color: rgba(255,255,255,0.4); }
.footer-cta .btn-outline:hover { background: white; color: var(--ink); border-color: white; }

.footer {
    background: #0f0e0c;
    color: rgba(255,255,255,0.7);
    padding: 64px 0 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: white; margin-bottom: 16px; }
.footer-brand .brand-text { color: var(--brand-light); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    color: white;
    border-radius: 50%;
    display: grid; place-items: center;
    transition: all 0.2s var(--ease);
}
.footer-social a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color 0.2s;
}
.footer ul a:hover { color: var(--brand-light); }
.footer-address { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer-address a { color: rgba(255,255,255,0.7); display: block; }
.footer-address a:hover { color: var(--brand-light); }

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-links {
    display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.footer-bottom-links a { color: rgba(255,255,255,0.7); padding: 0 8px; }
.footer-bottom-links a:hover { color: var(--brand-light); }
.footer-bottom-links span { color: rgba(255,255,255,0.3); }

@media (max-width: 880px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   COOKIE BANNER + MODALS
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 540px;
    background: white;
    border-radius: var(--r-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-xl);
    z-index: 300;
    border: 1px solid var(--line);
    transform: translateY(calc(100% + 40px));
    transition: transform 0.5s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
}
.cookie-banner h3 svg { width: 22px; height: 22px; color: var(--brand); }
.cookie-banner p { font-size: 14px; line-height: 1.55; margin-bottom: 18px; color: var(--ink-soft); }
.cookie-banner p a { color: var(--brand-deep); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 18px; font-size: 13.5px; }

/* Cookie prefs detail */
.cookie-prefs { display: none; margin-bottom: 18px; }
.cookie-prefs.show { display: block; }
.cookie-prefs-item {
    padding: 14px;
    background: var(--cream);
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    display: flex; justify-content: space-between; gap: 14px;
}
.cookie-prefs-item .info { flex: 1; }
.cookie-prefs-item strong { color: var(--ink); font-size: 13.5px; }
.cookie-prefs-item span { color: var(--ink-mute); font-size: 12.5px; }
.cookie-prefs-item .toggle {
    width: 40px; height: 22px; background: var(--line); border-radius: 11px;
    position: relative; cursor: pointer; transition: background 0.2s;
    flex-shrink: 0;
}
.cookie-prefs-item .toggle::after {
    content: '';
    position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: white; border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-prefs-item input[type="checkbox"] { display: none; }
.cookie-prefs-item input:checked + .toggle { background: var(--brand); }
.cookie-prefs-item input:checked + .toggle::after { transform: translateX(18px); }
.cookie-prefs-item input:disabled + .toggle { opacity: 0.5; cursor: not-allowed; }

/* Modal */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(26,24,21,0.7);
    backdrop-filter: blur(4px);
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: white;
    border-radius: var(--r-xl);
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}
.modal-header {
    padding: 28px 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.modal-header h2 { margin-bottom: 0; flex: 1; }
.modal-close {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--cream-deep);
    display: grid; place-items: center;
    color: var(--ink);
    flex-shrink: 0;
}
.modal-close:hover { background: var(--ink); color: white; }
.modal-body { padding: 24px 32px 32px; }
.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: var(--ink);
}
.modal-body h3:first-child { margin-top: 8px; }
.modal-body p, .modal-body li {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 12px;
}
.modal-body ul { padding-left: 20px; margin-bottom: 14px; list-style: disc; }
.modal-body ul li { margin-bottom: 6px; }
.modal-body strong { color: var(--ink); }
.modal-body a { color: var(--brand-deep); text-decoration: underline; }
.modal-body .info-box {
    background: var(--brand-soft);
    border-left: 4px solid var(--brand);
    padding: 14px 18px;
    border-radius: var(--r-xs);
    margin: 14px 0;
}
.modal-body .info-box p:last-child { margin-bottom: 0; }
.modal-body table {
    width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px;
}
.modal-body th, .modal-body td {
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.modal-body th { background: var(--cream-deep); color: var(--ink); font-weight: 600; }

@media (max-width: 560px) {
    .modal-header, .modal-body { padding-left: 22px; padding-right: 22px; }
}

/* Sticky donation button */
.sticky-donate {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 90;
    width: 56px; height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(232, 89, 63, 0.45);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}
.sticky-donate.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.sticky-donate:hover { transform: scale(1.1); color: white; }
.sticky-donate svg { width: 24px; height: 24px; fill: currentColor; }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translate(-50%, 100px);
    background: var(--ink);
    color: white;
    padding: 14px 22px;
    border-radius: var(--r-full);
    font-size: 14.5px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 250;
    transition: transform 0.4s var(--ease);
    display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--brand-light); }

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible, .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

.header-cta .label-short,
.mobile-menu .label-short { display: none !important; }
@media (max-width: 540px) {
    .header-cta .label-long { display: none !important; }
    .header-cta .label-short { display: inline !important; }
}


/* ============================================================
   PATCH MOBILE — Header & Menu améliorations
   À copier-coller TEL QUEL à la FIN de assets/css/style.css
   N'affecte AUCUNE règle desktop (toutes dans @media mobile)
   ============================================================ */

/* ===== Header compact sur mobile ===== */
@media (max-width: 968px) {

    .header-inner {
        padding: 10px 0;
        gap: 12px;
    }

    .brand { gap: 8px; }
    .brand-mark {
        width: 36px;
        height: 36px;
    }
    .brand-text {
        font-size: 1.35rem;
        margin-top: 2px;
    }

    .header-cta { gap: 8px; }
    .header-cta .btn {
        padding: 9px 14px;
        font-size: 13.5px;
        border-radius: 999px;
    }
    .header-cta .btn svg {
        width: 15px;
        height: 15px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        background: var(--cream-deep);
    }
    .menu-toggle:hover,
    .menu-toggle:focus {
        background: var(--brand);
        color: white;
        outline: none;
    }
    .menu-toggle svg { width: 22px; height: 22px; }
}

/* ===== Petit écran ===== */
@media (max-width: 480px) {
    .header-inner { padding: 8px 0; gap: 8px; }
    .brand-text { font-size: 1.2rem; }
    .brand-mark { width: 32px; height: 32px; }
    .header-cta .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    .header-cta .btn svg { display: none; }
}

/* ===== Mobile menu : design plus moderne ===== */
@media (max-width: 968px) {

    .mobile-menu {
        width: min(340px, 88vw);
        padding: 0;
        background: var(--paper);
        box-shadow: -10px 0 40px rgba(26, 24, 21, 0.15);
    }

    /* En-tête du menu mobile */
    .mobile-menu::before {
        content: '';
        display: block;
        height: 80px;
        background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .mobile-menu-close {
        top: 24px;
        right: 20px;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        backdrop-filter: blur(8px);
        z-index: 2;
        width: 36px;
        height: 36px;
        transition: background 0.2s;
    }
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.35);
    }
    .mobile-menu-close svg { width: 18px; height: 18px; }

    .mobile-menu ul {
        margin: 16px 0 0;
        padding: 0 24px;
    }

    .mobile-menu li {
        border-bottom: 1px solid var(--line-soft);
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s var(--ease);
    }
    .mobile-menu.open li { opacity: 1; transform: translateX(0); }
    .mobile-menu.open li:nth-child(1) { transition-delay: 0.08s; }
    .mobile-menu.open li:nth-child(2) { transition-delay: 0.14s; }
    .mobile-menu.open li:nth-child(3) { transition-delay: 0.20s; }
    .mobile-menu.open li:nth-child(4) { transition-delay: 0.26s; }
    .mobile-menu.open li:nth-child(5) { transition-delay: 0.32s; }
    .mobile-menu.open li:nth-child(6) { transition-delay: 0.38s; }
    .mobile-menu.open li:nth-child(7) { transition-delay: 0.44s; }

    .mobile-menu li:last-child { border-bottom: 0; }

    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        color: var(--ink);
        font-weight: 600;
        font-size: 16.5px;
        position: relative;
        transition: color 0.2s, padding-left 0.2s;
    }
    .mobile-menu a::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--ink-faded);
        border-bottom: 2px solid var(--ink-faded);
        transform: rotate(-45deg);
        transition: border-color 0.2s, transform 0.2s;
        margin-left: 12px;
    }
    .mobile-menu a:hover,
    .mobile-menu a:active {
        color: var(--brand-deep);
        padding-left: 4px;
    }
    .mobile-menu a:hover::after,
    .mobile-menu a:active::after {
        border-color: var(--brand);
        transform: rotate(-45deg) translate(2px, 2px);
    }

    .mobile-menu-cta {
        margin: 30px 24px 24px;
        padding-top: 24px;
        border-top: 1px solid var(--line);
        display: grid;
        gap: 10px;
    }
    .mobile-menu-cta .btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 15px;
        border-radius: 999px;
        justify-content: center;
    }

    /* Pied de menu mobile : contact rapide */
    .mobile-menu::after {
        content: 'Sierre Partage · Route de Sion 55, 3960 Sierre';
        display: block;
        text-align: center;
        font-size: 12px;
        color: var(--ink-faded);
        padding: 20px 24px 28px;
        border-top: 1px dashed var(--line);
        margin-top: 16px;
    }
}

/* ===== Très petit écran : pleine largeur du menu ===== */
@media (max-width: 380px) {
    .mobile-menu { width: 100vw; }
    .mobile-menu::before { height: 70px; }
    .mobile-menu a { font-size: 16px; padding: 14px 0; }
}

/* ===== Bonus : empêche le scroll du body quand le menu est ouvert ===== */
body.menu-open { overflow: hidden; }

/* ===== Header transparent qui se densifie au scroll : on garde sur mobile aussi ===== */
@media (max-width: 968px) {
    .header.scrolled {
        background: rgba(253, 249, 243, 0.98);
        box-shadow: 0 2px 12px rgba(26, 24, 21, 0.06);
    }
}

/* ===== Quelques fixes responsive bonus sur les nouvelles sections ===== */
@media (max-width: 768px) {
    /* Section hero un peu plus tassée */
    .hero { padding: 100px 0 50px; }
    .hero-grid { gap: 40px; }

    /* Storytelling : centre le texte */
    .story-content { padding: 50px 24px !important; text-align: left; }
    .story-quote { padding-left: 30px !important; font-size: 1.3rem !important; }

    /* Impact : padding réduit */
    .impact-section { padding: 60px 0 !important; }

    /* Témoignages : padding doux */
    .testimonials-section { padding: 60px 0 !important; }

    /* Footer CTA */
    .footer-cta { padding: 60px 0 !important; }
}

/* Liste verticale des 3 prochains événements dans le hero */
.hero-events-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}
.hero-events-list .hero-tag {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,177,153,0.15);
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-events-list .hero-tag strong {
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.hero-events-list .hero-tag em {
    font-style: normal;
    color: var(--brand-deep);
    font-weight: 600;
}
.hero-events-list .hero-tag em::before {
    content: '·';
    color: var(--ink-faded);
    margin-right: 8px;
    font-weight: 400;
}
@media (max-width: 640px) {
    .hero-events-list .hero-tag { font-size: 12.5px; padding: 6px 12px; }
}
