/* ═══════════════════════════════════════════════════════════
   AMANI — Site public (vitrine)
   Couleurs : Bleu #29ABE2 | Marine #1A3A5C | Rose #C2185B
   ═══════════════════════════════════════════════════════════ */

:root {
    --primary:        #29ABE2;
    --primary-dark:   #1A85B8;
    --secondary:      #1A3A5C;
    --accent:         #C2185B;
    --accent-dark:    #880E4F;
    --yellow:         #F5C518;
    --green:          #4CAF50;
    --bg:             #FFFFFF;
    --bg-soft:        #F8FAFC;
    --text:           #1F2937;
    --text-light:     #6B7280;
    --border:         #E5E7EB;
    --radius:         12px;
    --radius-lg:      20px;
    --shadow:         0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:      0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.12);
    --container:      1240px;
    --transition:     all 0.25s ease;
}

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

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 992px) {
    .container { padding: 0 1rem; }
}
@media (max-width: 540px) {
    .container { padding: 0 0.875rem; }
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--secondary);
    line-height: 1.25;
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    text-align: center;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.0625rem;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.section-badge {
    display: inline-block;
    background: rgba(41,171,226,0.1);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.section-badge-wrap { text-align: center; }

section { padding: 5rem 0; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,231,235,0.5);
    z-index: 1000;
    transition: var(--transition);
    height: 70px;
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 70px;
}
@media (max-width: 992px) {
    .navbar-brand { margin-left: 0.75rem; }
    .nav-toggle   { margin-right: 0.75rem; }
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}
.navbar-brand-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(41,171,226,0.3);
}
.navbar-brand-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: -2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links a {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: rgba(41,171,226,0.08); }
.nav-cta {
    margin-left: 0.75rem;
    background: var(--accent);
    color: #fff !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--secondary); cursor: pointer; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245,197,24,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(194,24,91,0.2) 0%, transparent 50%);
}
.hero-decoration {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: -200px; right: -200px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-text { max-width: 600px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}
.hero-eyebrow i { color: var(--yellow); }
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--yellow); }
.hero-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(194,24,91,0.4);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(194,24,91,0.5);
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.btn-secondary {
    background: var(--primary);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 480px;
}
.hero-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.hero-card-1 {
    top: 0; right: 0;
    width: 280px;
    transform: rotate(3deg);
    animation: float 6s ease-in-out infinite;
}
.hero-card-2 {
    bottom: 0; left: 0;
    width: 260px;
    transform: rotate(-2deg);
    animation: float 6s ease-in-out infinite 1.5s;
}
.hero-card-3 {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    background: var(--yellow);
    color: var(--secondary);
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50%      { transform: translateY(-12px) rotate(3deg); }
}
.hero-card-icon {
    width: 44px; height: 44px;
    background: rgba(41,171,226,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.hero-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}
.hero-card p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}
.hero-card-3 .hero-card-icon { background: rgba(26,58,92,0.15); color: var(--secondary); }
.hero-card-3 p { color: var(--secondary); opacity: 0.85; }

/* ═══════════════════════════════════════════════════════════
   MISSION
═══════════════════════════════════════════════════════════ */
.mission {
    background: var(--bg);
}
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.mission-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow-lg);
    position: relative;
}
.mission-image-decor {
    position: absolute;
    width: 200px; height: 200px;
    background: var(--yellow);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.mission-image-decor-1 { top: -20px; left: -20px; }
.mission-image-decor-2 { bottom: -20px; right: -20px; background: var(--accent); }
.mission-image-wrapper { position: relative; }
.mission h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.mission h2 span { color: var(--primary); }
.mission p {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.75;
}
.mission-features {
    list-style: none;
    margin-top: 1.75rem;
    display: grid;
    gap: 1rem;
}
.mission-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.mission-features i {
    color: var(--green);
    background: rgba(76,175,80,0.12);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════ */
.stats {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"%3E%3Cpath d="M30 30m-20 0a20 20 0 1 0 40 0a20 20 0 1 0 -40 0" fill="none" stroke="white" stroke-opacity="0.05"/%3E%3C/svg%3E');
}
.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item .stat-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}
.stat-item .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-item .stat-label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
}

/* ═══════════════════════════════════════════════════════════
   ACTIONS / DOMAINES
═══════════════════════════════════════════════════════════ */
.actions { background: var(--bg-soft); }
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.action-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
    box-shadow: var(--shadow);
}
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.action-card-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1.25rem;
}
.action-card:nth-child(1) { border-top-color: var(--primary); }
.action-card:nth-child(1) .action-card-icon { background: var(--primary); }
.action-card:nth-child(2) { border-top-color: var(--accent); }
.action-card:nth-child(2) .action-card-icon { background: var(--accent); }
.action-card:nth-child(3) { border-top-color: var(--yellow); }
.action-card:nth-child(3) .action-card-icon { background: var(--yellow); color: var(--secondary); }
.action-card:nth-child(4) { border-top-color: var(--green); }
.action-card:nth-child(4) .action-card-icon { background: var(--green); }
.action-card:nth-child(5) { border-top-color: var(--secondary); }
.action-card:nth-child(5) .action-card-icon { background: var(--secondary); }
.action-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}
.action-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   ACTUALITES
═══════════════════════════════════════════════════════════ */
.news { background: var(--bg); }
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; }
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}
.news-card-meta i { color: var(--primary); }
.news-card-tag {
    background: rgba(41,171,226,0.1);
    color: var(--primary);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.4;
    margin-bottom: 0.625rem;
    color: var(--secondary);
}
.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.news-card-link:hover { gap: 0.625rem; color: var(--accent); }

.news-cta { text-align: center; margin-top: 3rem; }

/* ═══════════════════════════════════════════════════════════
   TEMOIGNAGES
═══════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--bg-soft);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
    gap: 1.5rem;
    justify-content: center;
}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 3px solid var(--primary);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.75rem; right: 1.25rem;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.12;
    line-height: 1;
}
.testimonial-content {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text);
    font-style: italic;
    flex: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.125rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9375rem;
}
.testimonial-author-role {
    font-size: 0.8125rem;
    color: var(--primary);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   CTA REJOINDRE
═══════════════════════════════════════════════════════════ */
.cta-join {
    padding: 5rem 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-join h2 {
    color: #fff;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}
.cta-join p {
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}
.cta-join-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.cta-join .btn-primary {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cta-join .btn-primary:hover { background: var(--yellow); color: var(--secondary); }

/* ═══════════════════════════════════════════════════════════
   EQUIPE
═══════════════════════════════════════════════════════════ */
.team { background: var(--bg); }

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 2.25rem;
}
.team-card {
    width: 140px;
    text-align: center;
    transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); }

/* Wrapper photo */
.team-photo {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 1rem;
}

/* Halo gradient au hover */
.team-photo-bg {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.35s ease;
}
.team-card:hover .team-photo-bg { opacity: 1; }

/* Cercle image */
.team-photo-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(41,171,226,0.18);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    z-index: 1;
}
.team-card:hover .team-photo-inner {
    box-shadow: 0 8px 28px rgba(41,171,226,0.35);
    transform: scale(1.05);
}
.team-photo-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Initiales fallback */
.team-photo-initials {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; color: #fff;
    letter-spacing: 0.05em;
}

.team-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.8125rem;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.team-role {
    font-size: 0.6875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .team-card { width: 120px; }
    .team-photo { width: 90px; height: 90px; }
}
@media (max-width: 540px) {
    .team-grid { gap: 1.5rem 1.25rem; }
    .team-card { width: 100px; }
    .team-photo { width: 78px; height: 78px; }
    .team-photo-initials { font-size: 1.1rem; }
    .team-name { font-size: 0.8rem; }
    .team-role { font-size: 0.65rem; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.75);
    padding: 5rem 0 0;
    margin-top: 0;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-brand-name img {
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
}
.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    gap: 0.5rem;
}
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-title {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.625rem; }
.footer ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: var(--transition);
}
.footer ul a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
}
.footer-bottom a { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-content, .mission-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1rem 1.25rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        transform: translateY(-130%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    visibility 0s linear 0.3s;
        gap: 0.125rem;
        z-index: 999;
    }
    .nav-links.is-open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    visibility 0s linear 0s;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.9375rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--secondary);
    }
    .nav-links a:hover {
        background: rgba(41,171,226,0.08);
        color: var(--primary);
    }
    .nav-cta {
        margin: 0.5rem 0 0 !important;
        text-align: center;
        justify-content: center;
        padding: 0.75rem 1.25rem !important;
        border-radius: 999px !important;
    }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; height: 40px;
        border-radius: 8px;
        transition: background 0.2s;
    }
    .nav-toggle:hover { background: rgba(41,171,226,0.08); }
    section { padding: 3.5rem 0; }
}
@media (max-width: 540px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero { padding: 6rem 0 3rem; min-height: auto; }
}

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh + 70px);
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-slider {
        height: calc(100svh + 70px);
    }
}

/* Prevent global img reset from breaking slider */
.hero-slider img { height: 100% !important; max-width: none !important; width: 100% !important; object-fit: cover !important; }

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.slide-text {
    max-width: 680px;
    color: #fff;
}

.slide-text .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    color: #fff;
}
.slide-text .hero-eyebrow i { color: var(--yellow); }

.slide-text h1 {
    color: #fff;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    /* Allow HTML formatting */
}
/* HTML inline styles in title */
.slide-text h1 span { color: var(--yellow); }
.slide-text h1 strong { font-weight: 800; }
.slide-text h1 em { font-style: italic; color: rgba(255,255,255,0.85); }

.slide-text .hero-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 560px;
}

/* Slider navigation dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* Slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 10;
}
.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════
   GALERIE APERÇU
═══════════════════════════════════════════════════════════ */
.gallery-preview { background: var(--bg); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-inner {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:first-child .gallery-item-inner {
    aspect-ratio: auto;
    height: 100%;
}

.gallery-item-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item-inner:hover img { transform: scale(1.05); }

.gallery-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.4);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item-inner:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
}

.gallery-item-count {
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
   ÉVÉNEMENTS
═══════════════════════════════════════════════════════════ */
.events { background: var(--bg-soft); }

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
}

.event-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.event-date {
    min-width: 60px;
    background: var(--primary);
    border-radius: 10px;
    padding: 0.625rem;
    text-align: center;
    color: #fff;
    flex-shrink: 0;
}

.event-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.event-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.375rem;
}

.event-location {
    font-size: 0.8125rem;
    color: var(--primary);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.event-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE SLIDER & GALERIE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    .slider-arrow { display: none; }
    .slide-text h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .gallery-item:first-child { grid-column: span 1; }
}

/* Quill output wrapper — remplace h1 pour éviter <h1><p> invalide */
.slide-title {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 700;
    max-width: 620px;
}
/* Quill génère des <p> — on les neutralise */
.slide-title p,
.hero-lead p {
    margin: 0 !important;
    display: inline !important;
}
/* Styles Quill dans le hero */
.slide-title strong { font-weight: 800; }
.slide-title em     { font-style: italic; }
.ql-size-small  { font-size: 0.75em; }
.ql-size-large  { font-size: 1.25em; }
.ql-size-huge   { font-size: 1.5em; }

/* Sous-titre Quill */
.hero-lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.75rem;
    line-height: 1.65;
    max-width: 540px;
}
.hero-lead p { display: block !important; margin: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   PAGES INTERNES — Header, Breadcrumb, Sections
═══════════════════════════════════════════════════════════ */

.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #fff;
    padding: 6rem 0 3rem;
    margin-top: 70px;
    overflow: hidden;
}

/* Motif cercles sur toutes les page-header */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Halos colorés */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(245,197,24,0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(194,24,91,0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Le contenu reste au-dessus */
.page-header .container { position: relative; z-index: 2; }

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}
.breadcrumb-nav a { color: rgba(255,255,255,0.75); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { font-size: 0.625rem; opacity: 0.6; }
.breadcrumb-nav span { color: #fff; font-weight: 500; }

.page-header-title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.page-header-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.0625rem;
    max-width: 640px;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.15);
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #fff;
}

.page-section { padding: 4rem 0; }

.empty-state {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-light);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; display: block; }

/* ═══════════════════════════════════════════════════════════
   GALERIE — Albums Grid
═══════════════════════════════════════════════════════════ */

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.album-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.album-cover {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.album-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img { transform: scale(1.06); }

.album-cover-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.4);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,92,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 2rem;
}
.album-card:hover .album-overlay { opacity: 1; }

.album-info { padding: 1.25rem; }

.album-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.375rem;
}

.album-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.album-meta i { color: var(--primary); margin-right: 0.25rem; }

/* ═══════════════════════════════════════════════════════════
   GALERIE — Lightbox Grid
═══════════════════════════════════════════════════════════ */

.lightbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.lightbox-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--bg-soft);
}

.lightbox-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lightbox-item:hover img { transform: scale(1.08); }

.lightbox-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,92,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    padding: 1rem;
    text-align: center;
}
.lightbox-item-overlay i { font-size: 1.75rem; }
.lightbox-item-overlay span { font-size: 0.8125rem; }
.lightbox-item:hover .lightbox-item-overlay { opacity: 1; }

.video-item .video-thumb {
    width: 100%; height: 100%;
    background: var(--secondary);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    gap: 0.5rem;
}
.video-item .video-thumb i { font-size: 2.5rem; color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX MODAL
═══════════════════════════════════════════════════════════ */

.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    margin-top: 0.75rem;
}

.lightbox-counter {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.lightbox-close {
    position: fixed;
    top: 1.25rem; right: 1.25rem;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border: none; border-radius: 50%;
    color: #fff; font-size: 1.125rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-nav {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff; font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

@media (max-width: 768px) {
    .albums-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .lightbox-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .lightbox-nav { display: none; }
}

/* ── Page header meta ── */
.page-header-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stats-badge--link {
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    background: rgba(255,255,255,0.25) !important;
}
.stats-badge--link:hover {
    background: rgba(255,255,255,0.4) !important;
    color: #fff;
}

/* ── Empty state fancy ── */
.empty-state-fancy {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 480px;
    margin: 0 auto;
}

.empty-state-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, rgba(41,171,226,0.1), rgba(26,58,92,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px dashed var(--border);
}

.empty-state-icon i {
    font-size: 2.5rem;
    color: var(--text-light);
    opacity: 0.5;
}

.empty-state-fancy h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.empty-state-fancy p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

/* ── Lightbox grid amélioré ── */
.lightbox-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

.lightbox-zoom-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(4px);
}

.lightbox-item-caption {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
    max-width: 200px;
    text-align: center;
}

/* ── Lightbox loader ── */
.lightbox-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    min-height: 200px;
}

/* ── Lightbox footer ── */
.lightbox-footer {
    padding: 0.75rem 0;
}

/* ── Video thumb ── */
.video-play-btn {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 16px rgba(41,171,226,0.4);
    transition: transform 0.2s;
}
.video-item:hover .video-play-btn { transform: scale(1.1); }

/* ── Logo navbar amélioré ── */
.navbar-brand img {
    height: 52px !important;
    width: auto !important;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.2s;
    display: block;
}
.navbar-brand:hover img { transform: scale(1.02); }
@media (max-width: 992px) {
    .navbar-brand img { height: 44px !important; max-width: 150px; }
}

/* Logo footer */
.footer-brand-name img {
    height: 52px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
}

/* ── Animations d'entrée du hero ── */
.slide.active .hero-eyebrow {
    animation: heroFadeUp 0.7s ease 0.2s both;
}
.slide.active .slide-title {
    animation: heroFadeUp 0.7s ease 0.35s both;
}
.slide.active .hero-lead {
    animation: heroFadeUp 0.7s ease 0.5s both;
}
.slide.active .hero-actions {
    animation: heroFadeUp 0.7s ease 0.65s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Badge eyebrow plus élégant */
.slide-text .hero-eyebrow {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Boutons hero plus impactants */
.hero-actions .btn {
    font-size: 1rem;
    padding: 0.95rem 1.75rem;
}
.hero-actions .btn-primary {
    box-shadow: 0 8px 28px rgba(194,24,91,0.45);
}

/* ═══════════════════════════════════════════════════════════
   ACTUALITÉS v2 — Layout featured + secondaires
═══════════════════════════════════════════════════════════ */

.news { background: var(--bg-soft); }

.news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.news-header .section-title { margin-bottom: 0; }
.news-see-all-desktop { white-space: nowrap; flex-shrink: 0; }
.news-see-all-mobile { display: none; margin-top: 2rem; text-align: center; }

/* ── Grid principal ── */
.news-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

/* ── Article featured (grand) ── */
.news-card-featured {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card-featured-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.news-card-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card-featured:hover .news-card-featured-img img { transform: scale(1.04); }

.news-badge-featured {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-featured-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-meta {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}
.news-card-meta i { color: var(--primary); }

.news-card-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    line-height: 1.35;
    margin-bottom: 0.875rem;
    color: var(--secondary);
}
.news-card-featured-title a { color: inherit; }
.news-card-featured-title a:hover { color: var(--primary); }

.news-card-featured-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: gap 0.2s;
}
.news-read-more:hover { gap: 0.75rem; color: var(--accent); }

/* ── Articles secondaires ── */
.news-secondary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-card-sm {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    gap: 0;
    transition: var(--transition);
}
.news-card-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.news-card-sm-img {
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.news-card-sm-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card-sm:hover .news-card-sm-img img { transform: scale(1.06); }

.news-card-sm-body {
    padding: 0.875rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.news-card-sm-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-sm-body h4 a { color: inherit; }
.news-card-sm-body h4 a:hover { color: var(--primary); }
.news-card-sm-body p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more-sm {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}
.news-read-more-sm:hover { color: var(--accent); }

.news-card-tag {
    display: inline-block;
    background: rgba(41,171,226,0.1);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Placeholder image ── */
.news-img-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.35);
    min-height: 180px;
}
.news-img-placeholder--sm { min-height: 80px; font-size: 1.5rem; }

/* ── Empty state ── */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}
.news-empty-icon {
    width: 72px; height: 72px;
    background: rgba(41,171,226,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--primary);
    opacity: 0.6;
}
.news-empty p { font-weight: 600; color: var(--secondary); margin-bottom: 0.25rem; }
.news-empty span { font-size: 0.9375rem; color: var(--text-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .news-grid-v2 { grid-template-columns: 1fr; }
    .news-see-all-desktop { display: none; }
    .news-see-all-mobile { display: block; }
    .news-card-sm-img { width: 100px; }
}
@media (max-width: 540px) {
    .news-card-sm { flex-direction: column; }
    .news-card-sm-img { width: 100%; height: 160px; }
    .news-header { flex-direction: column; align-items: flex-start; }
}

/* ── News cartes compactes uniformes ── */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.news-card-compact {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.news-card-compact-img {
    position: relative;
    aspect-ratio: 16/9;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.news-card-compact-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card-compact:hover .news-card-compact-img img { transform: scale(1.05); }

.news-card-badge {
    position: absolute;
    top: 0.625rem; left: 0.625rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.news-card-compact-body {
    padding: 1rem 1.125rem 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.news-card-compact-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-compact-body h3 a { color: inherit; }
.news-card-compact-body h3 a:hover { color: var(--primary); }
.news-card-compact-body p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

@media (max-width: 900px) {
    .news-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .news-cards-grid { grid-template-columns: 1fr; }
    .news-see-all-desktop { display: none; }
    .news-see-all-mobile { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE ARTICLE — Détail
═══════════════════════════════════════════════════════════ */

/* ── Hero article ── */
.article-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
    overflow: hidden;
    color: #fff;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
}
.article-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.article-hero-bg--gradient {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}
.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,40,0.85) 0%, rgba(10,20,40,0.3) 60%, transparent 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.article-category-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.875rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.article-hero-title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 800px;
}

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}
.article-hero-meta i { color: var(--primary); margin-right: 0.25rem; }

/* ── Layout ── */
.article-section { padding: 3rem 0 5rem; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

/* ── Corps ── */
.article-body {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

/* ── Contenu article (rendu TinyMCE) ── */
.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1F2937;
}
.article-content h2 {
    font-size: 1.625rem;
    color: var(--secondary);
    margin: 2rem 0 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(41,171,226,0.15);
}
.article-content h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin: 1.5rem 0 0.625rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
    margin: 0 0 1.25rem 1.5rem;
}
.article-content li { margin-bottom: 0.375rem; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.25rem 0;
    box-shadow: var(--shadow-md);
}
.article-content blockquote {
    border-left: 4px solid var(--primary);
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    background: rgba(41,171,226,0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #374151;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}
.article-content table th, .article-content table td {
    border: 1px solid var(--border);
    padding: 0.625rem 0.875rem;
    text-align: left;
}
.article-content table th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--secondary);
}

/* ── Partage ── */
.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.article-share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-right: 0.25rem;
}
.article-share-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 0.9375rem;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}
.article-share-btn:hover { transform: scale(1.12); opacity: 0.9; }
.article-share-btn--fb { background: #1877F2; }
.article-share-btn--wa { background: #25D366; }
.article-share-btn--tw { background: #000; }
.article-share-btn--copy { background: var(--text-light); }

.article-back { margin-top: 1.5rem; }

/* ── Sidebar ── */
.article-sidebar { position: sticky; top: 90px; }
.article-sidebar-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.article-sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-sidebar-title i { color: var(--primary); }

/* Articles liés */
.article-related { display: flex; flex-direction: column; gap: 0.875rem; }
.article-related-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition);
}
.article-related-item:hover { opacity: 0.8; }
.article-related-item img,
.article-related-placeholder {
    width: 64px; height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.125rem;
}
.article-related-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}
.article-related-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .article-body { padding: 1.5rem; }
}
@media (max-width: 540px) {
    .article-hero { min-height: 300px; }
    .article-hero-title { font-size: 1.5rem; }
    .article-body { padding: 1.25rem; border-radius: 0; box-shadow: none; }
}

/* ═══════════════════════════════════════════════════════════
   FORMULAIRES AMANI — Contact & Adhésion
═══════════════════════════════════════════════════════════ */

/* ── Layout contact ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

/* ── Formulaire général ── */
.amani-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
}

.required { color: var(--accent); margin-left: 2px; }
.optional  { color: var(--text-light); font-weight: 400; font-size: 0.8125rem; }

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrap i {
    position: absolute;
    left: 0.875rem;
    color: var(--text-light);
    font-size: 0.875rem;
    pointer-events: none;
}

.form-input-wrap input {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(41,171,226,0.12);
    outline: none;
}

.amani-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    resize: vertical;
    min-height: 140px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.amani-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(41,171,226,0.12);
    outline: none;
}

.btn-submit {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ── Contact form wrapper ── */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* ── Infos de contact ── */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px; height: 44px;
    background: rgba(41,171,226,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.9375rem;
    color: var(--text-light);
}
.contact-info-card a:hover { color: var(--primary); }

.contact-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.contact-social a {
    width: 36px; height: 36px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    font-size: 0.875rem;
    transition: var(--transition);
}
.contact-social a:hover { background: var(--primary); color: #fff; }

.contact-cta-box {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius);
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}
.contact-cta-box i { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.contact-cta-box h4 { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 0.5rem; color: #fff; }
.contact-cta-box p { font-size: 0.875rem; opacity: 0.9; margin-bottom: 1rem; }
.contact-cta-box .btn-primary { background: #fff; color: var(--accent); width: 100%; justify-content: center; }
.contact-cta-box .btn-primary:hover { background: var(--yellow); color: var(--secondary); }

/* ── Alerts & Success ── */
.form-alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-alert--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.form-success {
    text-align: center;
    padding: 3rem 2rem;
}
.form-success-icon {
    width: 80px; height: 80px;
    background: rgba(76,175,80,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--green);
    font-size: 2.25rem;
}
.form-success h3 { font-size: 1.5rem; color: var(--secondary); margin-bottom: 0.75rem; }
.form-success p { color: var(--text-light); font-size: 1rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   ADHÉSION — Types d'engagement
═══════════════════════════════════════════════════════════ */
.engagement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.engagement-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
}
.engagement-card--member    { border-top-color: var(--primary); }
.engagement-card--volunteer { border-top-color: var(--accent); }

.engagement-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}
.engagement-card--member    .engagement-icon { background: var(--primary); }
.engagement-card--volunteer .engagement-icon { background: var(--accent); }

.engagement-card h3 {
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.engagement-card p { font-size: 0.9375rem; color: var(--text-light); margin-bottom: 1rem; line-height: 1.6; }
.engagement-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.engagement-card li { font-size: 0.875rem; color: var(--text); display: flex; align-items: center; gap: 0.5rem; }
.engagement-card li i { color: var(--green); }

/* ── Formulaire adhésion ── */
.adhesion-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.adhesion-form-header { margin-bottom: 1.75rem; }
.adhesion-form-header h2 { font-size: 1.5rem; color: var(--secondary); margin-bottom: 0.375rem; }
.adhesion-form-header p  { color: var(--text-light); }

/* ── Type selector ── */
.type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}
.type-option input { display: none; }
.type-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.25rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: #fff;
}
.type-option-inner i { font-size: 1.5rem; color: var(--text-light); margin-bottom: 0.25rem; }
.type-option-inner strong { font-size: 0.9375rem; color: var(--secondary); }
.type-option-inner small  { font-size: 0.8125rem; color: var(--text-light); }

.type-option input:checked + .type-option-inner {
    border-color: var(--primary);
    background: rgba(41,171,226,0.06);
}
.type-option input:checked + .type-option-inner i { color: var(--primary); }
.type-option input:checked + .type-option-inner strong { color: var(--primary); }
.type-option-inner:hover { border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   EQUIPE PAGE
═══════════════════════════════════════════════════════════ */
.team-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.75rem;
}

.team-page-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.team-page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-page-photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.team-page-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.team-page-card:hover .team-page-photo img { transform: scale(1.05); }

.team-page-avatar {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    font-family: 'Playfair Display', serif;
    min-height: 180px;
}

.team-page-info {
    padding: 1.25rem;
}
.team-page-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}
.team-page-role {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.team-page-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.team-page-links a {
    width: 34px; height: 34px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary);
    font-size: 0.8125rem;
    transition: var(--transition);
}
.team-page-links a:hover { background: var(--primary); color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .type-selector { grid-template-columns: 1fr; }
    .adhesion-form-wrap { padding: 1.5rem; }
    .contact-form-wrap { padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE À PROPOS
═══════════════════════════════════════════════════════════ */

.about-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
    overflow: hidden;
}
.about-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 60%, var(--accent) 100%);
}
.about-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='20' fill='none' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
}
.about-hero-content {
    position: relative; z-index: 2;
    padding-top: 4rem; padding-bottom: 3rem; color: #fff;
}
.about-hero-text h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.75rem 0 1rem;
}
.about-hero-text p { color: rgba(255,255,255,0.88); font-size: 1.125rem; max-width: 600px; }

/* Mission & Vision */
.about-section { padding: 5rem 0; }
.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.about-mv-card {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.about-mv-card--mission {
    background: linear-gradient(135deg, rgba(41,171,226,0.06), rgba(26,58,92,0.04));
    border: 1px solid rgba(41,171,226,0.2);
}
.about-mv-card--vision {
    background: linear-gradient(135deg, rgba(194,24,91,0.06), rgba(136,14,79,0.04));
    border: 1px solid rgba(194,24,91,0.2);
}
.about-mv-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.about-mv-card--mission .about-mv-icon { background: rgba(41,171,226,0.12); color: var(--primary); }
.about-mv-card--vision .about-mv-icon { background: rgba(194,24,91,0.1); color: var(--accent); }
.about-mv-card h2 { font-size: 1.5rem; margin-bottom: 0.875rem; }
.about-mv-card p { color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem; }
.about-mv-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.about-mv-card li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; }
.about-mv-card li i { color: var(--green); }

/* Valeurs */
.about-values { background: var(--bg-soft); padding: 5rem 0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}
.value-card h3 { font-family: 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--secondary); }
.value-card p  { font-size: 0.9375rem; color: var(--text-light); line-height: 1.65; }

/* Timeline */
.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item {
    position: relative;
    padding: 0 0 2.5rem 2.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    align-items: flex-start;
}
.timeline-dot {
    position: absolute;
    left: -7px; top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(41,171,226,0.3);
}
.timeline-item--current .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(194,24,91,0.3);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(194,24,91,0.3); }
    50%       { box-shadow: 0 0 0 6px rgba(194,24,91,0.1); }
}
.timeline-year {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9375rem;
    padding-top: 2px;
}
.timeline-item--current .timeline-year { color: var(--accent); }
.timeline-content h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--secondary); margin-bottom: 0.375rem; }
.timeline-content p  { font-size: 0.9375rem; color: var(--text-light); line-height: 1.65; }

/* About team */
.about-team { background: var(--bg); padding: 5rem 0; }

/* ═══════════════════════════════════════════════════════════
   PROJETS
═══════════════════════════════════════════════════════════ */

.projet-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.projet-section-header h2 { margin: 0; font-size: 1.75rem; }

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.projet-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}
.projet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.projet-card--past { opacity: 0.75; }
.projet-card--past:hover { opacity: 1; }

.projet-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.projet-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.projet-card:hover .projet-card-img img { transform: scale(1.05); }
.projet-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(255,255,255,0.35);
    min-height: 160px;
}

.projet-status-badge {
    position: absolute; top: 0.75rem; right: 0.75rem;
    font-size: 0.6875rem; font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.projet-status-badge--ongoing   { background: rgba(16,185,129,0.9); color: #fff; }
.projet-status-badge--planned   { background: rgba(245,158,11,0.9); color: #fff; }
.projet-status-badge--completed { background: rgba(107,114,128,0.85); color: #fff; }

.projet-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
}
.projet-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
}
.projet-card-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.projet-card-meta { font-size: 0.8125rem; color: var(--text-light); display: flex; align-items: center; gap: 0.375rem; }
.projet-card-meta i { color: var(--primary); }
.projet-card-link {
    color: var(--primary); font-size: 0.875rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.375rem;
    margin-top: auto;
    transition: gap 0.2s;
}
.projet-card:hover .projet-card-link { gap: 0.625rem; }

/* Détail projet */
.projet-objectives {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.projet-objectives h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.projet-objectives h3 i { color: var(--primary); }
.projet-details { display: flex; flex-direction: column; gap: 0.75rem; }
.projet-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.projet-detail-item span:first-child { color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════
   ÉVÉNEMENTS
═══════════════════════════════════════════════════════════ */

.evenements-list { display: flex; flex-direction: column; gap: 1.25rem; }

.evenement-card {
    display: grid;
    grid-template-columns: 80px 160px 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    align-items: stretch;
}
.evenement-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); color: var(--text); }

.evenement-card-date {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    text-align: center;
    flex-shrink: 0;
}
.evenement-day   { font-size: 2rem; font-weight: 700; line-height: 1; }
.evenement-month { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.evenement-year  { font-size: 0.6875rem; opacity: 0.6; margin-top: 2px; }

.evenement-card-img {
    width: 160px; flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.evenement-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.evenement-card:hover .evenement-card-img img { transform: scale(1.06); }
.evenement-img-placeholder {
    width: 100%; height: 100%; min-height: 100px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: rgba(255,255,255,0.4);
}

.evenement-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}
.evenement-card-meta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    font-size: 0.8125rem; color: var(--primary);
}
.evenement-card-meta i { margin-right: 2px; }
.evenement-card-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem; font-weight: 700;
    color: var(--secondary); line-height: 1.35;
}
.evenement-card-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }
.evenement-card-link {
    color: var(--primary); font-size: 0.875rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.375rem;
    margin-top: auto;
}

/* Événements passés */
.evenements-past-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.evenement-past-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    opacity: 0.8;
    transition: var(--transition);
}
.evenement-past-card:hover { opacity: 1; transform: translateY(-3px); }
.evenement-past-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, #374151, #6B7280);
    filter: grayscale(30%);
}
.evenement-past-img img { width: 100%; height: 100%; object-fit: cover; }
.evenement-past-body { padding: 1rem; }
.evenement-past-date { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.375rem; }
.evenement-past-body h4 {
    font-family: 'Inter', sans-serif; font-size: 0.9375rem;
    font-weight: 700; color: var(--secondary); margin-bottom: 0.25rem;
}
.evenement-past-body p { font-size: 0.8125rem; color: var(--text-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-mv-grid { grid-template-columns: 1fr; }
    .values-grid   { grid-template-columns: repeat(2, 1fr); }
    .evenement-card { grid-template-columns: 70px 1fr; }
    .evenement-card-img { display: none; }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 1.25rem; }
    .timeline-item { grid-template-columns: 60px 1fr; gap: 0.5rem; }
    .evenement-card { grid-template-columns: 64px 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE NOUS REJOINDRE — Améliorations
═══════════════════════════════════════════════════════════ */

/* Impact chiffres */
.adhesion-impact {
    background: var(--secondary);
    padding: 2.5rem 0;
}
.adhesion-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.adhesion-impact-item {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}
.adhesion-impact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.adhesion-impact-num {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.adhesion-impact-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
}

/* Types engagement v2 */
.adhesion-types { background: #fff; padding: 5rem 0; }

.engagement-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.engagement-card-v2 {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.engagement-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: #fff;
}
.engagement-card-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.25rem;
}
.engagement-card-v2 h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.625rem;
}
.engagement-card-v2 p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.engagement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.engagement-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
}
.engagement-list li i { color: var(--green); font-size: 0.75rem; }

/* Citation bénévole */
.adhesion-quote {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    padding: 4rem 0;
}
.adhesion-quote-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.adhesion-quote-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.5rem;
}
.adhesion-quote blockquote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #fff;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 2rem;
}
.adhesion-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255,255,255,0.85);
}
.adhesion-quote-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.adhesion-quote-author strong { display: block; color: #fff; font-size: 0.9375rem; }
.adhesion-quote-author span   { font-size: 0.8125rem; }

/* ═══════════════════════════════════════════════════════════
   MENTIONS LÉGALES
═══════════════════════════════════════════════════════════ */

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.legal-section h2 i { color: var(--primary); font-size: 1rem; }

.legal-section p {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 0.875rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--primary); text-decoration: underline; }

.legal-box {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--primary);
    margin: 0.75rem 0;
}
.legal-box p { font-size: 0.9375rem; margin-bottom: 0.5rem; }
.legal-box p:last-child { margin-bottom: 0; }

.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 0.875rem 0;
    padding-left: 1rem;
}
.legal-list li {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    padding-left: 1rem;
}
.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.legal-link {
    color: var(--primary) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.legal-update {
    margin-top: 3rem;
    padding: 1rem 1.5rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}
.legal-update a { color: var(--primary); }

/* Responsive */
@media (max-width: 900px) {
    .engagement-grid-v2    { grid-template-columns: 1fr; }
    .adhesion-impact-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .adhesion-impact-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   PAGE REJOINDRE — Layout 2 colonnes
═══════════════════════════════════════════════════════════ */

.join-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ── Cartes options ── */
.join-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.join-option-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
}
.join-option-card--member    { border-left-color: var(--primary); }
.join-option-card--volunteer { border-left-color: var(--accent); }

.join-option-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}
.join-option-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
    color: #fff;
    flex-shrink: 0;
}
.join-option-card--member    .join-option-icon { background: var(--primary); }
.join-option-card--volunteer .join-option-icon { background: var(--accent); }

.join-option-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}
.join-option-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.join-note {
    background: rgba(41,171,226,0.08);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* ── Formulaire ── */
.join-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}
.join-form-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
    .join-layout { grid-template-columns: 1fr; }
    .join-form-wrap { position: static; }
}

/* ═══════════════════════════════════════════════════════════
   ÉVÉNEMENTS HOME — Layout liste horizontale
═══════════════════════════════════════════════════════════ */

.events { background: var(--bg); }

.events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.events-header .section-title { margin-bottom: 0; }

/* Liste verticale */
.events-home-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Item = ligne horizontale */
.event-home-item {
    display: grid;
    grid-template-columns: 80px 200px 1fr 40px;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    min-height: 120px;
}
.event-home-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    color: var(--text);
}

/* Colonne 1 — Date calendrier */
.event-home-cal {
    background: linear-gradient(160deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    text-align: center;
    flex-shrink: 0;
}
.event-home-cal-day {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}
.event-home-cal-month {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 2px;
}
.event-home-cal-year {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-top: 2px;
}

/* Colonne 2 — Photo */
.event-home-photo {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}
.event-home-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.event-home-item:hover .event-home-photo img { transform: scale(1.06); }
.event-home-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: rgba(41,171,226,0.4);
    background: rgba(41,171,226,0.05);
}

/* Colonne 3 — Infos */
.event-home-info {
    padding: 1.125rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}
.event-home-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.event-home-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
}
.event-home-details i { margin-right: 2px; }
.event-home-info p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Colonne 4 — Flèche */
.event-home-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: var(--border);
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.event-home-item:hover .event-home-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .event-home-item {
        grid-template-columns: 70px 140px 1fr 36px;
    }
    .event-home-photo { width: 140px; }
}
@media (max-width: 640px) {
    .event-home-item {
        grid-template-columns: 64px 1fr 32px;
    }
    .event-home-photo { display: none; }
    .event-home-cal-day { font-size: 1.75rem; }
    .events-header .btn { display: none; }
}
@media (max-width: 400px) {
    .event-home-info { padding: 0.875rem 1rem; }
    .event-home-info h3 { font-size: 0.9375rem; }
}


/* ═══════════════════════════════════════════════════
   SWITCHER DE LANGUE (à ajouter à la fin de public.css)
   ═══════════════════════════════════════════════════ */

.nav-lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.lang-btn--active {
    background: var(--primary, #29ABE2);
    color: #fff;
    pointer-events: none;
}

.lang-btn--inactive {
    background: transparent;
    color: var(--text, #1F2937);
    border: 1.5px solid rgba(41, 171, 226, 0.4);
}

.lang-btn--inactive:hover {
    background: var(--primary, #29ABE2);
    color: #fff;
    border-color: var(--primary, #29ABE2);
}

/* Sur fond sombre (dans la navbar fixe avant scroll) */
.navbar .lang-btn--inactive {
    color: var(--text, #1F2937);
}

/* Mobile : intégrer dans le menu déroulant */
@media (max-width: 768px) {
    .nav-lang-switcher {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(0,0,0,0.06);
        margin-top: 0.25rem;
    }
}
