/* ============================================================
   KRÉGBÉ — CSS Site public   v2.1
   Palette : Rouge #C0392B · Blanc #FFF · Noir #1A1A1A
   ============================================================ */

:root {
    --red:       #C0392B;
    --white:     #FFFFFF;
    --black:     #1A1A1A;
    --red-dark:  #a93226;
    --red-light: #e74c3c;
    --off-white: #f9f5f5;
    --gray:      #e8e0e0;
    --r-card:    12px;
    --r-sm:       6px;
    --r-pill:    20px;
    --shadow-card: 0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 28px rgba(0,0,0,.13), 0 2px 6px rgba(0,0,0,.07);
}

/* ─── Base ──────────────────────────────────────────────────── */
html { overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--black); background: #fff; overflow-x: hidden; max-width: 100vw; }

/* ─── NAVBAR ────────────────────────────────────────────────── */
.site-navbar {
    background: var(--red);
    padding: 14px 0;
    transition: background .35s ease, padding .3s ease, box-shadow .3s ease;
    border-bottom: 3px solid var(--red-dark);
}
.site-navbar .navbar-toggler {
    color: #fff;
    background: rgba(0,0,0,.2);
    border-radius: 6px;
    padding: 6px 10px;
    border: none;
}
.site-navbar .navbar-toggler:focus { box-shadow: none; }
.site-navbar.navbar-hero {
    background: transparent !important;
    border-bottom-color: transparent;
    box-shadow: none;
}
.site-navbar.navbar-hero .site-nav-link  { color: rgba(255,255,255,.92) !important; }
.site-navbar.navbar-hero .site-brand     { color: var(--white) !important; }
.site-navbar.navbar-hero .brand-k        { background: rgba(255,255,255,.15); color: #fff; }
.site-navbar.navbar-hero .navbar-toggler { background: rgba(0,0,0,.3); }
.site-navbar.navbar-hero .btn-connexion  { background: rgba(255,255,255,.18); color: #fff !important; border: 1px solid rgba(255,255,255,.4); }
.site-navbar.navbar-hero .btn-connexion:hover { background: #fff; color: var(--red) !important; }
.site-navbar.navbar-hero .site-nav-link.active { background: rgba(0,0,0,.2); }
.site-navbar.scrolled { background: var(--red) !important; padding: 9px 0; box-shadow: 0 4px 20px rgba(0,0,0,.22); border-bottom-color: var(--red-dark); }

.site-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700;
    color: var(--white) !important;
    letter-spacing: 3px; text-decoration: none;
}
.brand-k { color: var(--black); background: var(--white); padding: 0 4px; margin-right: 1px; }

.site-nav-link {
    color: rgba(255,255,255,.9) !important;
    font-size: .875rem; font-weight: 500;
    padding: 7px 12px !important;
    border-radius: 4px;
    transition: background .2s;
}
.site-nav-link:hover { color: var(--white) !important; background: rgba(0,0,0,.15); }
.site-nav-link.active {
    color: var(--white) !important;
    background: rgba(0,0,0,.22);
    font-weight: 600;
    position: relative;
}
.site-nav-link.active::after {
    content: '';
    position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 18px; height: 2px;
    background: var(--white); border-radius: 2px;
}

.btn-connexion {
    background: var(--white); color: var(--red) !important;
    font-size: .875rem; font-weight: 700;
    padding: 8px 20px; border-radius: 4px; border: none;
    text-decoration: none; transition: all .2s;
    display: inline-flex; align-items: center; gap: 7px;
}
.btn-connexion:hover { background: var(--black); color: var(--white) !important; }

@media (max-width: 991px) {
    .site-navbar .navbar-collapse {
        background: var(--red-dark);
        border-radius: 0 0 10px 10px;
        padding: 12px 16px 16px;
        margin-top: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,.25);
    }
    .site-navbar.navbar-hero .navbar-collapse { background: rgba(26,26,26,.95); }
    .site-nav-link { padding: 10px 12px !important; border-radius: 6px; }
    .btn-connexion { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ─── HERO ──────────────────────────────────────────────────── */
#heroSlider { height: 100vh; min-height: 600px; }
.hero-slide {
    height: 100vh; min-height: 600px;
    background: var(--red); position: relative;
    display: flex; align-items: center; overflow: hidden;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='20,2 38,20 20,38 2,20' fill='none' stroke='%231A1A1A' stroke-width='1' opacity='0.08'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}
.hero-slide-img { background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(192,57,43,.72); }
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--black); color: var(--white);
    font-size: .68rem; font-weight: 700; letter-spacing: 4px;
    text-transform: uppercase; padding: 6px 16px; margin-bottom: 22px;
    border-radius: var(--r-sm);
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 700; line-height: 1.05; margin-bottom: 18px; color: var(--white);
}
.hero-title .accent { color: var(--black); background: var(--white); padding: 0 8px; }
.hero-subtitle {
    font-size: clamp(.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,.88); line-height: 1.75;
    max-width: 520px; margin-bottom: 36px; font-weight: 300;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
    background: var(--white); color: var(--red); font-weight: 700; font-size: .9rem;
    padding: 14px 32px; border-radius: 4px; border: none;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.btn-hero-primary:hover { background: var(--black); color: var(--white); }
.btn-hero-secondary {
    background: transparent; color: var(--white); font-weight: 600; font-size: .9rem;
    padding: 14px 32px; border-radius: 4px; border: 2px solid rgba(255,255,255,.6);
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.btn-hero-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 48px; height: 48px; background: var(--black);
    top: 50%; transform: translateY(-50%); opacity: 1; margin: 0 16px; border-radius: 0;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover { background: var(--white); }
.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon { filter: invert(1); }
.hero-carousel .carousel-indicators { bottom: 24px; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 32px; height: 4px; border: none; border-radius: 0; background: rgba(255,255,255,.4); }
.hero-carousel .carousel-indicators .active { background: var(--white); width: 48px; }

.scroll-indicator {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,.5); font-size: .65rem; letter-spacing: 3px;
    text-transform: uppercase; z-index: 3;
}
.scroll-dot { width: 20px; height: 32px; border: 2px solid rgba(255,255,255,.4); display: flex; justify-content: center; padding-top: 5px; }
.scroll-dot::after { content: ''; width: 3px; height: 7px; background: rgba(255,255,255,.7); animation: scrollAnim 2s infinite; }
@keyframes scrollAnim { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(7px);opacity:.2} }

/* ─── STATS BAR ─────────────────────────────────────────────── */
.stats-bar { background: var(--black); position: relative; z-index: 1; }
.stat-item { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(192,57,43,.3); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--red); line-height: 1; display: block; }
.stat-label  { font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; }
.stat-icon   { font-size: 1.2rem; color: rgba(255,255,255,.2); margin-bottom: 4px; display: block; }

/* ─── SECTIONS ──────────────────────────────────────────────── */
.section-gap    { padding: 68px 0; }
.section-gap-sm { padding: 46px 0; }
.section-label {
    font-size: .68rem; font-weight: 700; color: var(--red);
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 28px; height: 3px; background: var(--red); }
.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700; color: var(--black); line-height: 1.2; margin-bottom: 14px;
}
.section-heading.white { color: var(--white); }

/* ─── ABOUT ─────────────────────────────────────────────────── */
.section-about { background: var(--white); }
.about-fact strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--red); }
.about-fact span   { font-size: .72rem; color: #999; text-transform: uppercase; letter-spacing: .5px; }
.about-img-box {
    background: var(--black);
    aspect-ratio: 4/3;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm); overflow: hidden;
}
.about-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: var(--red); color: var(--white);
    padding: 12px 18px; font-size: .82rem; font-weight: 700; letter-spacing: 1px;
}

/* ─── CHEF (intégré dans about) ─────────────────────────────── */
.chef-card {
    background: var(--black);
    border-radius: var(--r-card);
    overflow: hidden;
    padding: 36px;
    position: relative;
}
.chef-card::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='20,2 38,20 20,38 2,20' fill='none' stroke='%23C0392B' stroke-width='1' opacity='0.07'/%3E%3C/svg%3E");
    background-size: 40px 40px;
}
.chef-card > * { position: relative; z-index: 1; }
.chef-quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; color: rgba(192,57,43,.3); line-height: .7; display: block; margin-bottom: 8px; }
.chef-quote { font-family: 'Playfair Display', serif; font-size: clamp(.92rem, 1.5vw, 1.1rem); color: rgba(255,255,255,.88); font-style: italic; line-height: 1.8; border-left: 3px solid var(--red); padding-left: 18px; margin-bottom: 24px; }
.chef-avatar { width: 64px; height: 64px; border-radius: 50%; background: #333; border: 2px solid var(--red); overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chef-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chef-name  { font-weight: 700; color: var(--white); font-size: .9rem; margin-bottom: 2px; }
.chef-title { font-size: .7rem; color: var(--red); text-transform: uppercase; letter-spacing: .8px; }

/* ─── EVENT CARDS ───────────────────────────────────────────── */
.section-events { background: var(--off-white); }
.event-card {
    background: var(--white); border: none; border-radius: var(--r-card); overflow: hidden;
    height: 100%; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-card-img { height: 190px; position: relative; overflow: hidden; background: var(--black); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); opacity: 0; transition: opacity .25s; }
.event-card:hover .event-card-img::after { opacity: 1; }
.event-type-gradient-funerailles      { background: var(--black); }
.event-type-gradient-projet           { background: #1a2d4a; }
.event-type-gradient-fete             { background: #1a3a1a; }
.event-type-gradient-reunion          { background: #2a1a3a; }
.event-type-gradient-collecte_urgence { background: var(--red); }
.event-type-gradient-autre            { background: #2a2a2a; }
.event-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; opacity: .2; }
.event-card-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    font-size: .62rem; font-weight: 700; padding: 4px 10px;
    letter-spacing: .5px; text-transform: uppercase; border-radius: var(--r-pill);
}
.badge-funerailles       { background: rgba(26,26,26,.85);  color: #ccc; }
.badge-projet            { background: rgba(26,45,74,.9);   color: #fff; }
.badge-fete              { background: rgba(26,58,26,.9);   color: #fff; }
.badge-reunion           { background: rgba(108,52,131,.9); color: #fff; }
.badge-collecte_urgence  { background: rgba(192,57,43,.9);  color: #fff; }
.badge-autre             { background: rgba(85,85,85,.85);  color: #fff; }
.event-card-body   { padding: 18px 20px 14px; flex: 1; }
.event-card-title  { font-size: .95rem; font-weight: 700; color: var(--black); margin-bottom: 7px; line-height: 1.4; }
.event-card-meta   { font-size: .75rem; color: #888; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.event-card-meta i { color: var(--red); }
.progress-wrap    { margin-bottom: 10px; }
.progress-info    { display: flex; justify-content: space-between; font-size: .73rem; margin-bottom: 5px; }
.collected        { font-weight: 700; color: var(--red); }
.objective        { color: #999; }
.progress         { height: 5px; background: #f0f0f0; border-radius: var(--r-pill); overflow: hidden; }
.progress-bar-red { background: var(--red); border-radius: var(--r-pill); transition: width .6s ease; }
.btn-event-cta {
    display: block; background: var(--black); color: var(--white);
    text-align: center; padding: 13px 16px; font-size: .83rem;
    font-weight: 700; text-decoration: none; letter-spacing: .3px;
    transition: background .2s, letter-spacing .2s;
}
.btn-event-cta:hover { background: var(--red); color: var(--white); letter-spacing: .8px; }
.btn-event-cta-red   { background: var(--red); }
.btn-event-cta-red:hover { background: var(--red-dark); }

/* ─── NEWS CARDS ────────────────────────────────────────────── */
.section-news { background: var(--black); }
.news-card {
    background: var(--white); border: none; border-radius: var(--r-card); overflow: hidden;
    height: 100%; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s;
    position: relative; display: flex; flex-direction: column;
}
.news-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.news-card:hover::before { transform: scaleX(1); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card-img { height: 170px; overflow: hidden; background: #222; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-img-placeholder { width: 100%; height: 100%; background: #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #444; }
.news-card-body   { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-date        { font-size: .7rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; }
.news-title       { font-size: .92rem; font-weight: 700; color: var(--black); margin-bottom: 7px; line-height: 1.4; }
.news-excerpt     { font-size: .82rem; color: #555; line-height: 1.65; flex: 1; }
.news-read-more   { font-size: .78rem; color: var(--red); font-weight: 600; text-decoration: none; margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 5px; }
.news-read-more:hover { gap: 8px; }

/* ─── DON ───────────────────────────────────────────────────── */
.don-section { background: var(--red); }
.amount-btn {
    background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.35);
    color: var(--white); font-size: .88rem; font-weight: 700;
    padding: 10px 18px; cursor: pointer; transition: all .2s; border-radius: 4px;
}
.amount-btn:hover, .amount-btn.active { background: var(--white); color: var(--red); border-color: var(--white); }

/* ─── DIASPORA ──────────────────────────────────────────────── */
.section-diaspora { background: var(--white); }
.continent-card {
    background: var(--off-white); border: 1.5px solid var(--gray);
    border-radius: var(--r-card); padding: 22px 16px; text-align: center;
    transition: all .25s; box-shadow: var(--shadow-card);
}
.continent-card:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.continent-card:hover .continent-number, .continent-card:hover .continent-name, .continent-card:hover .continent-icon { color: var(--white) !important; opacity: 1; }
.continent-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--red); }
.continent-name   { font-size: .7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.continent-icon   { font-size: 1.5rem; color: var(--black); opacity: .3; margin-bottom: 6px; display: block; }

/* ─── JOIN ──────────────────────────────────────────────────── */
.join-section { background: var(--red); }

/* ─── PAGES INTÉRIEURES ─────────────────────────────────────── */
.page-hero-inner {
    background: var(--black);
    min-height: 280px; display: flex; align-items: flex-end;
    padding-bottom: 44px; padding-top: 110px; position: relative; overflow: hidden;
}
.page-hero-inner::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C0392B' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero-inner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700;
    color: var(--white); margin-bottom: 8px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.page-hero-breadcrumb { font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.page-hero-breadcrumb a { color: rgba(192,57,43,.8); text-decoration: none; transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--red); }

.page-hero-wave { display: block; width: 100%; overflow: hidden; line-height: 0; background: var(--black); }
.page-hero-wave svg { display: block; width: 100%; height: 55px; }

/* ─── FORMS ─────────────────────────────────────────────────── */
.form-public .form-control, .form-public .form-select {
    border: 1.5px solid var(--gray); border-radius: var(--r-sm);
    padding: 11px 14px; font-size: .9rem; transition: border-color .2s, box-shadow .2s;
}
.form-public .form-control:focus, .form-public .form-select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.1); outline: none; }
.form-public .form-label { font-size: .8rem; font-weight: 700; color: var(--black); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.form-public-card { background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 32px; }
.btn-submit-red {
    background: var(--red); border: none; color: var(--white); font-weight: 700;
    padding: 13px; border-radius: var(--r-sm); font-size: .95rem;
    transition: background .2s, transform .15s; width: 100%;
}
.btn-submit-red:hover { background: var(--black); transform: translateY(-1px); }

/* ─── TIMELINE ──────────────────────────────────────────────── */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--red); transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: flex-end; width: 50%; padding-right: 48px; margin-bottom: 44px; }
.timeline-item.right { justify-content: flex-start; width: 50%; margin-left: 50%; padding-left: 48px; padding-right: 0; }
.timeline-content {
    background: var(--white); padding: 20px; max-width: 360px; width: 100%;
    border-left: 4px solid var(--red);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    box-shadow: var(--shadow-card); position: relative; transition: box-shadow .25s, transform .25s;
}
.timeline-item.right .timeline-content { border-left: none; border-right: 4px solid var(--red); border-radius: var(--r-sm) 0 0 var(--r-sm); }
.timeline-content:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }
.timeline-item.right .timeline-content:hover { transform: translateX(-3px); }
.timeline-dot { position: absolute; top: 18px; width: 14px; height: 14px; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red); }
.timeline-item      .timeline-dot { right: -55px; }
.timeline-item.right .timeline-dot { left: -55px; }
.timeline-year  { font-size: .68rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.timeline-title { font-size: .95rem; font-weight: 700; color: var(--black); margin-bottom: 5px; }
.timeline-desc  { font-size: .83rem; color: #666; line-height: 1.65; }
@media (max-width: 767px) {
    .timeline::before { left: 18px; }
    .timeline-item, .timeline-item.right { width: 100%; margin-left: 0; padding-left: 50px; padding-right: 0; justify-content: flex-start; }
    .timeline-content { border-left: 4px solid var(--red) !important; border-right: none !important; border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
    .timeline-item .timeline-dot, .timeline-item.right .timeline-dot { left: -30px; right: auto; }
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
.fade-in-up    { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.fade-in-left  { opacity: 0; transform: translateX(-28px); transition: opacity .55s ease, transform .55s ease; }
.fade-in-right { opacity: 0; transform: translateX(28px);  transition: opacity .55s ease, transform .55s ease; }
.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible { opacity: 1; transform: none; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); }
.footer-top-line { height: 4px; background: linear-gradient(90deg, transparent, var(--red), transparent); background-size: 200%; animation: shimmer 3s infinite linear; }
@keyframes shimmer { 0%{ background-position:0% } 100%{ background-position:200% } }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--white); letter-spacing: 3px; }
.footer-text  { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.5); }
.footer-heading { color: var(--white); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .875rem; transition: color .2s; display: flex; align-items: center; gap: 7px; }
.footer-links a::before { content: '›'; color: var(--red); }
.footer-links a:hover { color: var(--white); }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; gap: 10px; margin-bottom: 11px; font-size: .875rem; color: rgba(255,255,255,.55); }
.footer-contact-list i { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-socials { display: flex; gap: 8px; }
.social-link {
    width: 36px; height: 36px; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.55); text-decoration: none; font-size: .9rem; transition: all .2s;
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: .75rem; color: rgba(255,255,255,.3);
}

/* ─── FILTRE ÉVÉNEMENTS ─────────────────────────────────────── */
.evt-filter-bar { background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 63px; z-index: 100; }
@media (min-width: 992px) { .evt-filter-bar { top: 70px; } }
.evt-filter-track { display: flex; align-items: center; gap: 8px; overflow-x: auto; flex-wrap: nowrap; padding: 12px 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.evt-filter-track::-webkit-scrollbar { display: none; }
.evt-list-section { padding: 60px 0; background: #f8f8f8; }

/* ─── DÉVELOPPEMENT (vie du village) ────────────────────────── */
.dev-sector-grid { display: flex; flex-direction: column; gap: 14px; }

.dev-sector {
    background: var(--white); border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.dev-sector-head {
    width: 100%; border: none; background: transparent; cursor: pointer;
    display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    text-align: left; transition: background .2s ease;
}
.dev-sector-head:hover { background: #fcfafa; }

.dev-sector-icon {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
    background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

.dev-sector-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dev-sector-title { font-weight: 700; font-size: .98rem; color: var(--black); }

.dev-sector-bar-track { display: block; height: 6px; border-radius: 4px; background: #eee; overflow: hidden; max-width: 320px; }
.dev-sector-bar-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, rgba(192,57,43,.45), var(--red)); transition: width .6s ease; }

.dev-sector-pct {
    flex-shrink: 0; font-family: 'Playfair Display', serif; font-weight: 700;
    font-size: 1.5rem; color: var(--red); min-width: 64px; text-align: right;
}
.dev-sector-pct small { font-size: .85rem; font-weight: 600; opacity: .65; }

.dev-sector-chevron { flex-shrink: 0; color: #ccc; transition: transform .25s ease; font-size: .95rem; }
.dev-sector-head.open .dev-sector-chevron { transform: rotate(180deg); color: var(--red); }

.dev-item-list { list-style: none; margin: 0; padding: 4px 22px 18px; border-top: 1px solid #f2f2f2; }
.dev-item-row {
    display: flex; align-items: flex-start; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}
.dev-item-row:last-child { border-bottom: none; }
.dev-item-dot { flex-shrink: 0; font-size: 1.05rem; margin-top: 2px; }
.dev-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dev-item-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.dev-item-label { font-weight: 700; font-size: .88rem; color: var(--black); }
.dev-item-status { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.dev-item-detail { font-size: .8rem; color: #888; line-height: 1.55; }
.dev-item-date { flex-shrink: 0; font-size: .68rem; color: #bbb; white-space: nowrap; margin-top: 3px; }

@media (max-width: 575px) {
    .dev-sector-head { gap: 12px; padding: 16px; }
    .dev-sector-pct { font-size: 1.2rem; min-width: 50px; }
    .dev-item-date { display: none; }
}

/* ─── VAGUES SVG ────────────────────────────────────────────── */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; margin: -1px 0; }
.wave-divider svg { display: block; width: 100%; height: 50px; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .section-gap { padding: 60px 0; }
    .btn-hero-primary, .btn-hero-secondary { padding: 12px 22px; font-size: .85rem; }
    .stat-number { font-size: 1.7rem; }
}
@media (max-width: 575px) {
    html { overflow-x: hidden; }
    .section-gap    { padding: 44px 0; }
    .section-gap-sm { padding: 30px 0; }
    .section-heading { font-size: 1.55rem; }
    .site-brand  { font-size: 1.35rem; }
    #heroSlider, .hero-slide { min-height: 520px; height: 520px; }
    .hero-title  { font-size: 2rem; }
    .hero-btns   { flex-direction: column; gap: 10px; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; padding: 11px 20px; }
    .stat-item   { padding: 18px 10px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .stat-number { font-size: 1.6rem; }
    .page-hero-inner  { min-height: 190px; padding-top: 85px; padding-bottom: 24px; }
    .page-hero-title  { font-size: 1.6rem; }
    .page-hero-wave svg { height: 35px; }
    .event-card-img   { height: 150px; }
    .event-card-body  { padding: 12px 14px 10px; }
    .evt-list-section { padding: 28px 0; }
    .join-section .d-flex { flex-direction: column; align-items: stretch !important; }
    .join-section .btn    { width: 100%; justify-content: center; }
    .footer-bottom  { flex-direction: column; text-align: center; }
    .wave-divider svg { height: 32px; }
}
@media (min-width: 480px) and (max-width: 767px) {
    .evt-col { flex: 0 0 50%; max-width: 50%; }
}
