/* ===== VARIABLES ===== */
:root {
    --pink-soft: #f06292;
    --pink-deep: #c2185b;
    --pink-pale: #fce4ec;
    --gold-warm: #f9d66d;
    --dark-cozy: #2d2a32;
    --beige-light: #fff8f5;
    --white: #ffffff;
}

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--beige-light);
    color: var(--dark-cozy);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,240,248,0.97) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(240,98,146,0.12);
    box-shadow: 0 4px 24px rgba(194,24,91,0.08);
    padding: 0.9rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-navbar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(194,24,91,0.22);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo:hover .logo-navbar-img {
    transform: rotate(6deg) scale(1.07);
    box-shadow: 0 8px 24px rgba(194,24,91,0.32);
}

.logo h1 {
    font-size: clamp(1rem, 2.8vw, 1.75rem);
    color: var(--pink-deep);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.logo span {
    color: var(--gold-warm);
    text-shadow: 0 1px 4px rgba(249,214,109,0.4);
}

/* Nav links desktop */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #4a3040;
    font-weight: 0.93;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--pink-soft), var(--pink-deep));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--pink-deep);
}

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

/* Bouton Don */
.btn-don {
    background: linear-gradient(135deg, var(--pink-soft), var(--pink-deep)) !important;
    color: white !important;
    padding: 0.7rem 1.6rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 18px rgba(194,24,91,0.25) !important;
    transition: all 0.3s !important;
    white-space: nowrap;
}

.btn-don:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(194,24,91,0.35) !important;
}

/* Auth links */
.auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth a {
    color: #4a3040;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
}

.auth a:hover {
    background: var(--pink-pale);
    color: var(--pink-deep);
}

/* Menu toggle (mobile) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--pink-deep);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: all 0.3s;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* ===== WELCOME / HERO SLIDER ===== */
.welcome {
    text-align: center;
    padding: 2.5rem 5% 1rem;
    background: linear-gradient(135deg, #fffaf5, #fff0f5);
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.15rem, 3.2vw, 1.4rem);
}

.slider-container {
    position: relative;
    height: 80vh;
    min-height: 540px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 6%;
    max-width: 920px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: var(--gold-warm);
    color: var(--dark-cozy);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.slide-content h2 {
    font-size: clamp(2.6rem, 8vw, 5.2rem);
    margin: 0.6rem 0 1.6rem;
    line-height: 1.05;
    font-weight: 700;
}

.slide-content p {
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    max-width: 760px;
    margin: 0 auto 2.2rem;
    font-weight: 400;
    opacity: 0.96;
}

.btn-main {
    background: var(--pink-soft);
    color: white;
    padding: 1.1rem 2.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.35s;
    box-shadow: 0 6px 20px rgba(240,98,146,0.3);
}

.btn-main:hover {
    background: white;
    color: var(--pink-deep);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(240,98,146,0.4);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2.4rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.prev:hover, .next:hover {
    background: var(--pink-soft);
}

.prev { left: 4%; }
.next { right: 4%; }

.dots-container {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s;
}

.dot.active {
    background: var(--pink-soft);
    width: 40px;
    border-radius: 20px;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    padding: clamp(6rem, 14vw, 10rem) 6% 7rem;
    text-align: center;
}

.mission-header h3 {
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    color: var(--pink-deep);
    margin-bottom: 1.8rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.divider {
    width: 90px;
    height: 6px;
    background: linear-gradient(to right, var(--pink-soft), var(--gold-warm));
    margin: 0 auto 4rem;
    border-radius: 3px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 3rem 2.2rem;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    transition: all 0.45s ease;
    border: 1px solid rgba(240,98,146,0.08);
}

.card:hover {
    transform: translateY(-14px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border-color: var(--pink-soft);
}

.card .icon {
    font-size: 4.2rem;
    margin-bottom: 1.6rem;
}

.card h4 {
    color: var(--pink-deep);
    font-size: 1.7rem;
    margin-bottom: 1.1rem;
    font-family: 'Quicksand', sans-serif;
}

.card.active {
    background: linear-gradient(145deg, #fffaf5, #fff0f8);
    border-color: var(--gold-warm);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(160deg, #2d1a24 0%, #3d2235 100%);
    border-top: 3px solid var(--pink-soft);
    color: white;
    padding: 6rem 6% 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-box h3 {
    color: var(--gold-warm);
    margin-bottom: 1.6rem;
    font-size: 1.5rem;
    font-family: 'Quicksand', sans-serif;
}

.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--pink-soft);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.social-links a:hover {
    color: var(--gold-warm);
}

.heart-note {
    text-align: center;
    margin: 4rem 0 2rem;
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
    color: var(--pink-soft);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    font-size: 0.98rem;
    opacity: 0.85;
}

.helloasso-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* ===== MOBILE SIDEBAR ===== */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 42, 50, 0.75);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 75%;
    max-width: 300px;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f5 100%);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.25);
    z-index: 999;
    overflow-y: auto;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

/* ... (le reste du style mobile-sidebar que tu avais déjà reste identique) ... */

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav-links { gap: 1.2rem; }
    .nav-links a { font-size: 0.86rem; }
}

@media (max-width: 900px) {
    .logo-navbar-img { width: 38px; height: 38px; }
    .logo h1 { font-size: clamp(1rem, 4vw, 1.35rem); }

    .navbar .nav-links,
    .navbar .auth {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-sidebar {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .social-links { gap: 0.5rem 0.5rem; }
}

@media (max-width: 600px) {
    .slide-content h2 {
        font-size: clamp(2.2rem, 10vw, 3.6rem);
    }
    .btn-main {
        padding: 1rem 2.2rem;
        font-size: 1.05rem;
    }
    .mission-section {
        padding: 6rem 7% 5rem;
    }
}

/* Empêcher scroll body quand menu ouvert */
body.menu-open {
    overflow: hidden;
}