/* ============================================
   ASSOCIATION JUIVE - PREMIUM DESIGN v2
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-light: #12243d;
    --navy-mid: #1a3456;
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-bright: #f0d060;
    --gold-dark: #a08030;
    --white: #ffffff;
    --cream: #faf8f4;
    --cream-dark: #f0ece2;
    --gray-100: #f7f7f8;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --green: #25d366;
    --green-dark: #128c7e;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-gold: 0 8px 30px rgba(201,168,76,0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    font-weight: 600;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* =============== LOADER =============== */
.loader {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; height: 100dvh;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    padding: 20px;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-star {
    font-size: 4rem; color: var(--gold);
    animation: loaderSpin 2s ease-in-out infinite;
    line-height: 1;
}
.loader-text {
    color: var(--gold-light); font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; margin-top: 16px; letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.8;
    width: 100%; max-width: 400px;
}
@keyframes loaderSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--white);
}
.logo-star {
    font-size: 2rem; color: var(--gold);
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.4));
}
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; line-height: 1.1;
}
.logo-sub {
    font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
    opacity: 0.6; font-weight: 400;
}
.nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-link {
    color: rgba(255,255,255,0.7); text-decoration: none;
    padding: 8px 18px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.5px;
    transition: var(--transition-fast);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-link-cta {
    background: rgba(201,168,76,0.2); color: var(--gold-light) !important;
    border: 1px solid rgba(201,168,76,0.3);
}
.nav-link-cta:hover {
    background: var(--gold) !important; color: var(--navy) !important;
}
.nav-toggle {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }

/* =============== HERO =============== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
    background: var(--navy);
    overflow: hidden;
}
.hero-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.hero-gradient {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(37,99,235,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.05) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 0 20px; }
.hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.25);
    color: var(--gold-light); padding: 8px 28px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.hero-title { margin-bottom: 28px; }
.hero-title-line {
    display: block; font-size: 1.4rem; font-weight: 300;
    letter-spacing: 4px; text-transform: uppercase;
    opacity: 0.7; margin-bottom: 8px;
}
.hero-title-accent {
    font-size: 4.5rem !important; font-weight: 700 !important;
    letter-spacing: 0 !important; text-transform: none !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem; opacity: 0.65; font-weight: 300;
    line-height: 1.8; margin-bottom: 44px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    padding: 30px 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px; backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-number {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 700; color: var(--gold);
    line-height: 1;
}
.stat-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.5; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; height: 40px; } 50% { opacity: 1; height: 55px; } }

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 36px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px;
    text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white); position: relative; overflow: hidden;
    box-shadow: var(--shadow-gold);
}
.btn-gold::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(201,168,76,0.4); }

.btn-glass {
    background: rgba(255,255,255,0.06); color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.btn-wa {
    background: var(--green); color: var(--white);
    padding: 10px 24px; font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

.full-width { width: 100%; justify-content: center; }

/* =============== SECTIONS =============== */
.section { padding: 120px 0; }
.section-dark { background: var(--navy); }
.section-cream { background: var(--cream); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 70px; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--gold-light); }
.section-title { font-size: 3rem; color: var(--navy); margin-bottom: 16px; }
.section-title.light { color: var(--white); }
.section-line {
    width: 60px; height: 3px; margin: 0 auto 20px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 3px;
}
.section-line.gold { background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
.section-desc { color: var(--gray-500); font-size: 1rem; line-height: 1.8; }
.section-desc.light { color: rgba(255,255,255,0.5); }

/* =============== FILTER BAR =============== */
.filter-bar {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 50px; flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 28px; border-radius: 50px;
    border: 1px solid var(--gray-200); background: var(--white);
    font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600;
    color: var(--gray-500); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active {
    background: var(--navy); color: var(--white);
    border-color: var(--navy); box-shadow: 0 4px 15px rgba(10,22,40,0.2);
}

/* =============== ACTIVITIES - PREMIUM CARDS =============== */
.act-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.act-card {
    position: relative; border-radius: 20px; overflow: hidden;
    height: 420px; cursor: pointer;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}
.act-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.act-card.hidden-card { display: none; }

.act-photo {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.act-card:hover .act-photo { transform: scale(1.08); }

.act-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        0deg,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.7) 40%,
        rgba(10, 22, 40, 0.15) 70%,
        rgba(10, 22, 40, 0.05) 100%
    );
    transition: var(--transition);
}
.act-card:hover .act-overlay {
    background: linear-gradient(
        0deg,
        rgba(10, 22, 40, 0.98) 0%,
        rgba(10, 22, 40, 0.75) 45%,
        rgba(10, 22, 40, 0.2) 75%,
        rgba(10, 22, 40, 0.1) 100%
    );
}

.act-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px; z-index: 2;
    display: flex; flex-direction: column;
}

.act-badge {
    display: inline-block; width: fit-content;
    padding: 4px 14px; border-radius: 50px;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 12px;
    backdrop-filter: blur(8px);
}
.badge-jeunesse { background: rgba(99, 102, 241, 0.25); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-etude { background: rgba(201, 168, 76, 0.25); color: var(--gold-light); border: 1px solid rgba(201, 168, 76, 0.3); }
.badge-famille { background: rgba(244, 114, 182, 0.25); color: #f9a8d4; border: 1px solid rgba(244, 114, 182, 0.3); }
.badge-social { background: rgba(52, 211, 153, 0.25); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.3); }

.act-content h3 {
    font-size: 1.45rem; color: var(--white); margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.25;
}

.act-content p {
    color: rgba(255,255,255,0.6); font-size: 0.84rem;
    line-height: 1.65; margin-bottom: 14px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}
.act-card:hover .act-content p {
    max-height: 80px; opacity: 1; margin-bottom: 14px;
}

.act-meta { margin-bottom: 14px; }
.act-time {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
}
.act-time::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold); flex-shrink: 0;
}

.act-btn {
    display: inline-flex; align-items: center; gap: 8px;
    width: fit-content;
    padding: 10px 22px; border-radius: 50px;
    background: var(--green); color: var(--white);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    transform: translateY(10px); opacity: 0;
}
.act-card:hover .act-btn { transform: translateY(0); opacity: 1; }
.act-btn:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Stagger reveal */
.act-grid .act-card:nth-child(1) { transition-delay: 0s; }
.act-grid .act-card:nth-child(2) { transition-delay: 0.08s; }
.act-grid .act-card:nth-child(3) { transition-delay: 0.16s; }
.act-grid .act-card:nth-child(4) { transition-delay: 0.04s; }
.act-grid .act-card:nth-child(5) { transition-delay: 0.12s; }
.act-grid .act-card:nth-child(6) { transition-delay: 0.2s; }

/* =============== DONS =============== */
.dons-showcase {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-bottom: 50px;
}
.don-option {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 36px 24px;
    text-align: center; cursor: pointer;
    transition: var(--transition); position: relative;
    overflow: hidden; backdrop-filter: blur(10px);
}
.don-option:hover, .don-option.selected {
    border-color: var(--gold); transform: translateY(-6px);
    background: rgba(201,168,76,0.08);
}
.don-option.featured { border-color: rgba(201,168,76,0.3); }
.don-glow {
    position: absolute; top: 50%; left: 50%; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%);
    transform: translate(-50%, -50%); opacity: 0;
    transition: var(--transition);
}
.don-option:hover .don-glow { opacity: 1; }
.don-ribbon {
    position: absolute; top: 16px; right: -28px;
    background: var(--gold); color: var(--navy);
    padding: 4px 40px; font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    transform: rotate(45deg);
}
.don-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 700; color: var(--white);
    margin-bottom: 4px; position: relative;
}
.don-name {
    color: var(--gold); font-weight: 600; font-size: 0.9rem;
    letter-spacing: 1px; margin-bottom: 4px;
}
.don-meaning {
    color: rgba(255,255,255,0.3); font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.don-option p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

.don-custom-section { max-width: 600px; margin: 0 auto; }
.don-custom-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 40px;
    text-align: center; backdrop-filter: blur(10px);
}
.don-custom-box h3 {
    color: var(--white); font-size: 1.5rem; margin-bottom: 24px;
}
.don-input-row {
    display: flex; gap: 12px; margin-bottom: 16px;
}
.don-input-wrap {
    flex: 1; display: flex; align-items: center;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px; overflow: hidden;
    transition: var(--transition);
}
.don-input-wrap:focus-within { border-color: var(--gold); }
.don-currency { padding: 0 16px; color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.don-input-wrap input {
    flex: 1; border: none; background: none; padding: 15px 16px 15px 0;
    color: var(--white); font-size: 1rem; outline: none;
    font-family: 'Montserrat', sans-serif;
}
.don-input-wrap input::placeholder { color: rgba(255,255,255,0.25); }
.don-info { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* =============== CONSEILS / WISDOM =============== */
.section-wisdom {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #0a1628 0%, #12243d 40%, #1a3456 100%);
    padding: 100px 0;
}
.section-wisdom .section-eyebrow { color: var(--gold); }
.section-wisdom .section-title { color: var(--white); }
.section-wisdom .section-line { background: var(--gold); }
.section-wisdom .section-desc { color: rgba(255,255,255,0.6); }

.wisdom-bg-deco {
    position: absolute; top: -120px; right: -120px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}

/* --- Featured card --- */
.wisdom-featured {
    position: relative; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 20px; padding: 48px 52px;
    margin-bottom: 40px; overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.wisdom-featured:hover {
    border-color: rgba(201,168,76,0.45);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 20px 60px rgba(201,168,76,0.1);
}
.wisdom-featured-deco {
    position: absolute; top: -30px; right: -10px;
    font-size: 10rem; opacity: 0.03; color: var(--gold);
    line-height: 1; pointer-events: none;
}
.wisdom-featured-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.wisdom-tag {
    display: inline-block; padding: 5px 16px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase;
    background: rgba(201,168,76,0.15); color: var(--gold-light);
}
.wisdom-tag.green { background: rgba(34,197,94,0.15); color: #4ade80; }
.wisdom-tag.purple { background: rgba(147,51,234,0.15); color: #c084fc; }
.wisdom-tag.rose { background: rgba(236,72,153,0.15); color: #f472b6; }
.wisdom-tag.blue { background: rgba(37,99,235,0.15); color: #93c5fd; }
.wisdom-tag.orange { background: rgba(249,115,22,0.15); color: #fdba74; }
.wisdom-tag-sub { font-size: 0.72rem; color: rgba(255,255,255,0.35); font-weight: 500; }

.wisdom-featured-title {
    font-size: 2rem; color: var(--white); margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}
.wisdom-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-style: italic;
    color: var(--gold-light); padding: 16px 24px;
    border-left: 3px solid var(--gold);
    margin-bottom: 18px;
    background: rgba(201,168,76,0.06);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.wisdom-featured-text {
    color: rgba(255,255,255,0.6); font-size: 0.95rem;
    line-height: 1.9; margin-bottom: 20px;
}

/* --- Insight box (shared) --- */
.wisdom-insight {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius-sm); padding: 18px 22px;
    font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7;
}
.wisdom-insight strong { color: var(--gold-light); }
.wisdom-insight-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

/* --- Grid --- */
.wisdom-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* --- Individual cards --- */
.wisdom-card {
    position: relative; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 0;
    overflow: hidden; transition: var(--transition);
    backdrop-filter: blur(8px);
}
.wisdom-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Color accent bar at top */
.wisdom-card-accent {
    height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: height 0.3s ease;
}
.wisdom-card:hover .wisdom-card-accent { height: 5px; }
.wisdom-card[data-accent="green"] .wisdom-card-accent { background: linear-gradient(90deg, #16a34a, #4ade80); }
.wisdom-card[data-accent="purple"] .wisdom-card-accent { background: linear-gradient(90deg, #9333ea, #c084fc); }
.wisdom-card[data-accent="rose"] .wisdom-card-accent { background: linear-gradient(90deg, #db2777, #f472b6); }
.wisdom-card[data-accent="blue"] .wisdom-card-accent { background: linear-gradient(90deg, #2563eb, #93c5fd); }
.wisdom-card[data-accent="orange"] .wisdom-card-accent { background: linear-gradient(90deg, #ea580c, #fdba74); }

.wisdom-card-icon {
    font-size: 2.2rem; margin: 28px 28px 0;
    filter: grayscale(0.2);
}
.wisdom-card-head {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 28px 0;
}
.wisdom-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; color: var(--white); padding: 12px 28px 0;
    line-height: 1.3;
}
.wisdom-card-text {
    color: rgba(255,255,255,0.5); font-size: 0.88rem;
    line-height: 1.8; padding: 10px 28px 0;
}
.wisdom-card .wisdom-insight {
    margin: 20px 20px 20px; font-size: 0.82rem;
    padding: 14px 16px;
}

/* Stagger animation */
.wisdom-grid .wisdom-card:nth-child(1) { transition-delay: 0s; }
.wisdom-grid .wisdom-card:nth-child(2) { transition-delay: 0.08s; }
.wisdom-grid .wisdom-card:nth-child(3) { transition-delay: 0.16s; }
.wisdom-grid .wisdom-card:nth-child(4) { transition-delay: 0.04s; }
.wisdom-grid .wisdom-card:nth-child(5) { transition-delay: 0.12s; }

/* =============== HORAIRES =============== */
.horaires-premium {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.horaire-panel {
    background: var(--white); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}
.panel-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 2px solid var(--cream);
}
.panel-icon { font-size: 1.8rem; }
.gold-icon { color: var(--gold); filter: drop-shadow(0 0 8px rgba(201,168,76,0.3)); }
.panel-header h3 { font-size: 1.25rem; color: var(--navy); }

.prayer-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.prayer-table th {
    background: var(--navy); color: var(--white);
    padding: 10px 14px; font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}
.prayer-table th:first-child { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.prayer-table th:last-child { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.prayer-table td {
    padding: 12px 14px; font-size: 0.88rem; background: var(--cream);
    text-align: center;
}
.prayer-table td:first-child { border-radius: var(--radius-xs) 0 0 var(--radius-xs); text-align: left; }
.prayer-table td:last-child { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.prayer-table .prayer-name { font-weight: 600; color: var(--navy); }

/* Chabbat Panel */
.chabbat-panel {
    border: 2px solid var(--gold);
    background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, var(--white) 100%);
}
.chabbat-grid { display: flex; flex-direction: column; gap: 6px; }
.chabbat-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-radius: var(--radius-sm);
    background: var(--cream); font-size: 0.9rem;
}
.chabbat-row strong { color: var(--navy); }
.highlight-row {
    background: var(--navy) !important; color: var(--white);
}
.highlight-row strong { color: var(--gold-light) !important; }

/* Fetes Timeline */
.fetes-timeline { position: relative; padding-left: 20px; }
.fetes-timeline::before {
    content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px;
    width: 2px; background: linear-gradient(to bottom, var(--gold), var(--gold-dark), transparent);
}
.fete-entry {
    display: flex; align-items: center; gap: 16px;
    padding: 10px 0; position: relative;
}
.fete-dot {
    position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold); border: 2px solid var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}
.fete-date-block {
    background: var(--navy); color: var(--white);
    border-radius: var(--radius-sm); padding: 8px 12px;
    text-align: center; min-width: 60px; flex-shrink: 0;
}
.fete-d { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.fete-m { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-top: 2px; }
.fete-details h4 { font-size: 1rem; color: var(--navy); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.fete-details p { font-size: 0.78rem; color: var(--gray-400); }

/* =============== CONTACT =============== */
.contact-premium {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.contact-card-premium {
    background: var(--white); border-radius: var(--radius);
    padding: 44px 32px; text-align: center;
    box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition); position: relative; overflow: hidden;
}
.contact-card-premium:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-glow {
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    width: 120px; height: 120px; border-radius: 50%;
    filter: blur(40px); opacity: 0.15;
}
.green-glow { background: var(--green); }
.blue-glow { background: var(--blue); }
.gold-glow { background: var(--gold); }

.contact-icon-wrap {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.8rem;
}
.green-wrap { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.blue-wrap { background: linear-gradient(135deg, var(--blue), var(--navy-mid)); }
.gold-wrap { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }

.contact-card-premium h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.contact-card-premium p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 12px; }
.contact-sub { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

/* =============== FOOTER =============== */
.footer-premium {
    background: var(--navy); padding: 50px 0 40px;
    position: relative; overflow: hidden;
}
.footer-wave {
    position: absolute; top: 0; left: 0; right: 0; height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 0%);
}
.footer-premium .section-cream + & .footer-wave { background: var(--cream); }
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 20px;
}
.footer-brand {
    display: flex; align-items: center; gap: 14px; color: var(--white);
}
.footer-name {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 700;
}
.footer-motto {
    display: block; font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.4;
}
.footer-date { color: rgba(255,255,255,0.3); font-size: 0.78rem; }

/* =============== WHATSAPP FLOAT =============== */
.wa-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 25px rgba(37,211,102,0.4);
    z-index: 999; text-decoration: none;
    transition: var(--transition);
    animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* =============== MODAL =============== */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.7); backdrop-filter: blur(8px);
    z-index: 2000; align-items: center; justify-content: center;
}
.modal-overlay.show { display: flex; }

.modal-premium {
    background: var(--white); border-radius: var(--radius);
    padding: 48px; max-width: 440px; width: 90%;
    position: relative; box-shadow: var(--shadow-lg);
    text-align: center;
}
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; font-size: 1.6rem;
    cursor: pointer; color: var(--gray-400); transition: var(--transition-fast);
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--gray-100); color: var(--gray-800); }
.modal-icon { margin-bottom: 20px; }
.modal-premium h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.modal-premium > p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 24px; }

.modal-input-wrap {
    display: flex; align-items: center;
    background: var(--cream); border: 2px solid var(--gray-200);
    border-radius: 50px; overflow: hidden; margin-bottom: 16px;
    transition: var(--transition);
}
.modal-input-wrap:focus-within { border-color: var(--gold); }
.modal-prefix { padding: 0 16px; color: var(--gray-400); font-weight: 600; font-size: 1.1rem; }
.modal-input-wrap input {
    flex: 1; border: none; background: none; padding: 15px 16px 15px 0;
    font-size: 1rem; outline: none; font-family: 'Montserrat', sans-serif;
    color: var(--navy);
}
.modal-hint { color: var(--gray-400); font-size: 0.72rem; margin-top: 14px; }

/* =============== REVEAL ANIMATIONS =============== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Staggered reveal for grid children */
.act-grid .act-card:nth-child(1) { transition-delay: 0s; }
.act-grid .act-card:nth-child(2) { transition-delay: 0.1s; }
.act-grid .act-card:nth-child(3) { transition-delay: 0.2s; }
.act-grid .act-card:nth-child(4) { transition-delay: 0.05s; }
.act-grid .act-card:nth-child(5) { transition-delay: 0.15s; }
.act-grid .act-card:nth-child(6) { transition-delay: 0.25s; }

/* =============== RESPONSIVE =============== */

/* --- Tablet --- */
@media (max-width: 1024px) {
    .act-grid { grid-template-columns: repeat(2, 1fr); }
    .dons-showcase { grid-template-columns: repeat(2, 1fr); }
    .horaires-premium { grid-template-columns: 1fr; }
    .wisdom-grid { grid-template-columns: repeat(2, 1fr); }
    .wisdom-featured { padding: 36px 32px; }
    .hero-title-accent { font-size: 3.2rem !important; }
}

/* --- Mobile landscape / small tablet --- */
@media (max-width: 768px) {
    /* NAV */
    .nav-menu {
        display: none; position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 8px; padding: 20px;
    }
    .nav-menu.open { display: flex; }
    .nav-link { font-size: 1.1rem; padding: 14px 28px; }
    .nav-toggle { display: flex; }
    .navbar.scrolled { padding: 8px 0; }

    /* HERO - Major fixes */
    .hero { min-height: 100vh; min-height: 100dvh; padding: 0 16px; }
    .hero-content { padding: 100px 0 40px; max-width: 100%; }
    .hero-badge { font-size: 0.68rem; padding: 6px 18px; letter-spacing: 1.5px; margin-bottom: 20px; }
    .hero-title { margin-bottom: 20px; }
    .hero-title-line { font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 6px; }
    .hero-title-accent { font-size: 2.4rem !important; line-height: 1.15 !important; }
    .hero-desc { font-size: 0.92rem; margin-bottom: 30px; line-height: 1.7; padding: 0 8px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 40px; padding: 0 10px; }
    .hero-actions .btn { justify-content: center; padding: 16px 28px; font-size: 0.9rem; }
    .hero-stats {
        flex-direction: row; gap: 16px; padding: 20px 16px;
        border-radius: var(--radius); width: 100%;
    }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.62rem; letter-spacing: 1.5px; }
    .stat-divider { width: 1px; height: 28px; }
    .hero-scroll { display: none; }

    /* SECTIONS */
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-title { font-size: 1.9rem; }
    .section-desc { font-size: 0.9rem; padding: 0 8px; }
    .section-eyebrow { font-size: 0.65rem; letter-spacing: 3px; }
    .container { padding: 0 16px; }

    /* FILTERS */
    .filter-bar { gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
    .filter-btn { padding: 8px 18px; font-size: 0.78rem; }

    /* ACTIVITIES */
    .act-grid { grid-template-columns: 1fr; gap: 18px; }
    .act-card { height: 320px; }
    .act-content { padding: 22px; }
    .act-content h3 { font-size: 1.2rem; }
    .act-content p { max-height: 60px; opacity: 1; margin-bottom: 10px; font-size: 0.8rem; }
    .act-btn { transform: translateY(0); opacity: 1; }

    /* DONS */
    .dons-showcase { grid-template-columns: 1fr 1fr; gap: 16px; }
    .don-option { padding: 28px 16px; }
    .don-value { font-size: 2.2rem; }
    .don-name { font-size: 0.82rem; }
    .don-custom-box { padding: 28px 20px; }
    .don-input-row { flex-direction: column; }
    .don-input-row .btn { width: 100%; justify-content: center; }

    /* WISDOM / CONSEILS */
    .section-wisdom { padding: 60px 0; }
    .wisdom-featured { padding: 28px 24px; }
    .wisdom-featured-deco { font-size: 6rem; top: -20px; right: -5px; }
    .wisdom-featured-title { font-size: 1.6rem; }
    .wisdom-quote { font-size: 1.05rem; padding: 12px 16px; }
    .wisdom-featured-text { font-size: 0.88rem; }
    .wisdom-grid { grid-template-columns: 1fr; gap: 18px; }
    .wisdom-card-icon { font-size: 1.8rem; margin: 20px 20px 0; }
    .wisdom-card-head { padding: 12px 20px 0; }
    .wisdom-card-title { font-size: 1.15rem; padding: 8px 20px 0; }
    .wisdom-card-text { font-size: 0.84rem; padding: 8px 20px 0; }
    .wisdom-card .wisdom-insight { margin: 16px 14px 14px; padding: 12px 14px; font-size: 0.8rem; }
    .wisdom-insight { padding: 14px 16px; font-size: 0.84rem; }

    /* HORAIRES */
    .horaires-premium { grid-template-columns: 1fr; gap: 20px; }
    .horaire-panel { padding: 24px; }
    .prayer-table th { padding: 8px 10px; font-size: 0.65rem; }
    .prayer-table td { padding: 10px; font-size: 0.82rem; }
    .chabbat-row { padding: 12px 14px; font-size: 0.84rem; }
    .fete-entry { gap: 12px; }
    .fete-date-block { min-width: 54px; padding: 6px 10px; }
    .fete-d { font-size: 1.3rem; }
    .fete-details h4 { font-size: 0.92rem; }
    .fete-details p { font-size: 0.74rem; }

    /* CONTACT */
    .contact-premium { grid-template-columns: 1fr; gap: 16px; }
    .contact-card-premium { padding: 32px 24px; }

    /* FOOTER */
    .footer-premium { padding: 40px 0 30px; }
    .footer-wave { height: 40px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-name { font-size: 1.05rem; }

    /* MODAL */
    .modal-premium { padding: 32px 24px; }

    /* WHATSAPP */
    .wa-float { width: 56px; height: 56px; bottom: 20px; right: 20px; }
}

/* --- Small phone --- */
@media (max-width: 420px) {
    .hero-content { padding: 90px 0 30px; }
    .hero-title-line { font-size: 0.75rem; letter-spacing: 1.5px; }
    .hero-title-accent { font-size: 1.9rem !important; }
    .hero-desc { font-size: 0.85rem; margin-bottom: 24px; }
    .hero-badge { font-size: 0.62rem; padding: 5px 14px; }
    .hero-stats { gap: 10px; padding: 16px 12px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.55rem; letter-spacing: 1px; }
    .stat-divider { height: 24px; }

    .section { padding: 50px 0; }
    .section-title { font-size: 1.6rem; }
    .section-header { margin-bottom: 30px; }

    .filter-btn { padding: 7px 14px; font-size: 0.72rem; }

    .act-card { height: 280px; }

    .dons-showcase { grid-template-columns: 1fr; gap: 14px; }
    .don-value { font-size: 2.5rem; }
    .don-ribbon { font-size: 0.6rem; padding: 3px 36px; right: -32px; top: 14px; }

    .prayer-table th { padding: 7px 6px; font-size: 0.58rem; letter-spacing: 0; }
    .prayer-table td { padding: 8px 6px; font-size: 0.76rem; }

    .chabbat-row { font-size: 0.78rem; padding: 10px 12px; }
    .chabbat-row span { max-width: 55%; }

    .fetes-timeline { padding-left: 16px; }
    .fete-date-block { min-width: 48px; padding: 5px 8px; }
    .fete-d { font-size: 1.15rem; }
    .fete-m { font-size: 0.55rem; }
    .fete-details h4 { font-size: 0.85rem; }

    .wisdom-featured { padding: 22px 18px; }
    .wisdom-featured-title { font-size: 1.4rem; }
    .wisdom-card-title { font-size: 1.05rem; }

    .contact-card-premium { padding: 28px 20px; }

    .nav-logo .logo-text { display: none; }
    .logo-star { font-size: 2.2rem; }

    .btn { padding: 13px 24px; font-size: 0.82rem; }
    .btn-wa { padding: 10px 20px; font-size: 0.78rem; }
}

/* =============== PARTICLES =============== */
.particle {
    position: absolute; border-radius: 50%;
    background: rgba(201,168,76,0.15);
    pointer-events: none;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
