/* ============================================
   STYLES PRINCIPAUX - ACB SITE
   Couleurs : Bleu (#0057A7) | Jaune (#F7C600) | Rouge (#D41F26)
   ============================================ */

/* ========== VARIABLES ========== */
:root {
    --primary: #0057A7;
    --primary-dark: #003E7A;
    --primary-light: #E8F0FE;
    --secondary: #F7C600;
    --secondary-hover: #E5B000;
    --accent: #D41F26;
    --accent-hover: #B41822;
    --white: #FFFFFF;
    --light-gray: #F5F6F8;
    --mid-gray: #E8EBF0;
    --gray: #5E6A7D;
    --gray-light: #9AA5B5;
    --dark: #1A2435;
    --text: #172133;
    --text-light: #4E5C72;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1220px;
    --font-body: 'Montserrat', system-ui, sans-serif;
    --font-heading: 'Montserrat', system-ui, sans-serif;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TITRES ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ========== BOUTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 42, 90, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 198, 0, 0.28);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 68, 58, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-membre {
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 26px;
    font-size: 0.95rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.btn-membre:hover {
    background: var(--secondary-hover);
    color: var(--primary);
    transform: translateY(-2px);
    border-color: rgba(0, 87, 167, 0.16);
}

.btn-cta {
    background: var(--secondary);
    color: var(--primary);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
}

.btn-cta:hover {
    background: var(--secondary-hover);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 198, 0, 0.25);
}

.btn-lire {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-lire:hover {
    color: var(--secondary);
    gap: 12px;
}

/* ========== HEADER ========== */
.header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    position: sticky;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu li a {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: var(--radius-xs);
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-menu li a.active {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn {
    min-height: 44px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== MENU MOBILE ========== */
.mobile-menu {
    display: none;
    background: var(--white);
    padding: 20px;
    border-top: 1px solid rgba(23, 33, 51, 0.08);
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav li a {
    display: block;
    padding: 14px 16px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid #f0f1f3;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.mobile-nav li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav li:last-child a {
    border-bottom: none;
}

.mobile-cta {
    margin-top: 16px;
}

.mobile-cta a {
    display: block;
    text-align: center;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 14px !important;
    border-bottom: none !important;
}

.mobile-cta a:hover {
    background: var(--secondary-hover);
}

/* ========== BANNIÈRE HERO ========== */
.hero {
    background: linear-gradient(135deg, rgba(0, 87, 167, 0.97) 0%, rgba(0, 87, 167, 0.88) 40%, rgba(212, 31, 38, 0.92) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 198, 0, 0.15) 0%, transparent 70%);
    filter: blur(30px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    filter: blur(20px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero h1 .highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 620px;
    line-height: 1.7;
}

.hero .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== PAGE HERO (pages internes) ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(247, 198, 0, 0.12) 0%, transparent 70%);
    filter: blur(25px);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 650px;
    line-height: 1.7;
}

.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== PAGE HERO ACCENT (rouge) ========== */
.page-hero-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #A01018 100%);
}

/* ========== FADE IN ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section {
    padding: 80px 0;
}

.section h2, .section h1 {
    margin-bottom: 20px;
}

/* ========== VALEURS ========== */
.valeurs {
    padding: 80px 0;
    background: var(--white);
}

.valeur-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.valeur-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FB 100%);
    padding: 40px 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(23, 33, 51, 0.08);
    position: relative;
    overflow: hidden;
}

.valeur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.valeur-card:hover::before {
    opacity: 1;
}

.valeur-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 87, 167, 0.15);
}

.valeur-card .icone {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.valeur-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.valeur-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== ACTIVITÉS RÉCENTES ========== */
.activites-recentes {
    padding: 80px 0;
    background: var(--light-gray);
}

.activites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.activite-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(23, 33, 51, 0.06);
}

.activite-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 87, 167, 0.18);
}

.activite-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.activite-card .contenu {
    padding: 24px;
}

.activite-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.activite-card .meta,
.activite-card .date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.activite-card .date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.activite-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

/* ========== REJOINDRE ========== */
.rejoindre {
    padding: 80px 0;
    background: var(--white);
}

.rejoindre-contenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rejoindre-image {
    position: relative;
}

.rejoindre-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: rgba(212, 31, 38, 0.12);
    border-radius: 50%;
}

.rejoindre-texte h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.rejoindre-texte p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.rejoindre-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ========== À PROPOS - MISSION & VISION ========== */
.mission-vision {
    padding: 80px 0;
    background: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-vision-card {
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(23, 33, 51, 0.08);
    transition: var(--transition);
}

.mission-vision-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(0, 87, 167, 0.12);
}

.mission-vision-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.mission-vision-card .icon-box.icon-mission {
    background: var(--primary-light);
    color: var(--primary);
}

.mission-vision-card .icon-box.icon-vision {
    background: rgba(247, 198, 0, 0.15);
    color: var(--secondary);
}

.mission-vision-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.mission-vision-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== À PROPOS - CHIFFRES CLÉS ========== */
.chiffres-cles {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.chiffre-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.chiffre-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.chiffre-card .chiffre-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.chiffre-card .chiffre-label {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ========== À PROPOS - TIMELINE ========== */
.timeline-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-content {
    width: calc(50% - 40px);
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 28px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -8px;
}

.timeline-date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ========== À PROPOS - BUREAU ========== */
.bureau {
    padding: 80px 0;
    background: var(--white);
}

.bureau-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

.bureau-item {
    background: var(--white);
    border: 1px solid rgba(23, 33, 51, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bureau-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(0, 87, 167, 0.18);
}

.bureau-item-featured { grid-column: span 2; border: 2px solid rgba(212, 31, 38, 0.34); box-shadow: 0 12px 30px rgba(0, 87, 167, 0.12); }
.bureau-item-featured .bureau-photo-wrapper { height: 330px; }
.bureau-item-featured .bureau-item-body { padding: 26px; }
.bureau-item-featured .bureau-item-name { font-size: 1.18rem; }

/* Photo wrapper - forces fixed aspect ratio */
.bureau-photo-wrapper {
    width: 100%;
    height: 260px;
    background: var(--light-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(23, 33, 51, 0.06);
}

.bureau-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.bureau-item:hover .bureau-photo {
    transform: scale(1.04);
}

/* Placeholder when no photo */
.bureau-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
}

.bureau-photo-placeholder span {
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Body */
.bureau-item-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.bureau-item-body h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
    line-height: 1.3;
}

.bureau-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 2px 0 !important;
    line-height: 1.3;
}

.bureau-item-mission {
    font-size: 0.88rem !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
    line-height: 1.6;
    margin-top: 4px;
    flex: 1;
}

.bureau .download-section {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius);
    border: 1px dashed rgba(0, 87, 167, 0.2);
}

.bureau .download-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .bureau-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .bureau-photo-wrapper {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .bureau-grid {
        grid-template-columns: 1fr;
    }
    .bureau-photo-wrapper {
        height: 240px;
    }
}

/* ========== CONTACT - FORMULAIRE ========== */
.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
}

.contact-form-wrapper h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group label .required {
    color: var(--accent);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mid-gray);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 87, 167, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 31, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-side {
    position: sticky;
    top: 120px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
    margin-bottom: 24px;
}

.contact-info-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .ci-icon {
    background: var(--primary);
    color: var(--white);
}

.contact-info-item .ci-text {
    flex: 1;
}

.contact-info-item .ci-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 2px;
}

.contact-info-item .ci-text span,
.contact-info-item .ci-text a {
    font-size: 0.95rem;
    color: var(--text);
}

.contact-info-item .ci-text a:hover {
    color: var(--primary);
}

.contact-social h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-social .social-links {
    display: flex;
    gap: 10px;
}

.contact-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social .social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Map container */
.contact-map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
    margin-top: 24px;
}

.contact-map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
}

/* ========== DEVENIR MEMBRE ========== */
.membership-section {
    padding: 80px 0;
}

.membership-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.membership-intro h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.membership-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.membership-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.membership-step {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(23, 33, 51, 0.08);
    position: relative;
    transition: var(--transition);
}

.membership-step:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.membership-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.membership-step h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.membership-step p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Catégories de membres + tarifs */
.membership-categories {
    padding: 60px 0;
    background: var(--light-gray);
}

.membership-categories h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid rgba(23, 33, 51, 0.08);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--secondary);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    opacity: 1;
    background: var(--secondary);
}

.pricing-card.featured .pricing-badge {
    display: inline-block;
}

.pricing-badge {
    display: none;
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card .pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.pricing-card .pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
}

.pricing-card .pricing-amount small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card .pricing-features {
    text-align: left;
    margin: 1.2rem 0;
}

.pricing-card .pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(23, 33, 51, 0.06);
}

.pricing-card .pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .pricing-features li i {
    color: var(--primary);
    width: 18px;
    flex-shrink: 0;
}

/* Formulaire d'adhésion */
.membership-form-section {
    padding: 80px 0;
}

.membership-form-section h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.membership-form-section .form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
}

.form-card .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-card .form-grid .full-width {
    grid-column: 1 / -1;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    grid-column: 1 / -1;
}

.form-card .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
    grid-column: 1 / -1;
}

.form-card .radio-option {
    flex: 1;
    min-width: 140px;
}

.form-card .radio-option input {
    display: none;
}

.form-card .radio-option label {
    display: block;
    padding: 12px 18px;
    border: 2px solid var(--mid-gray);
    border-radius: var(--radius-xs);
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-card .radio-option input:checked + label {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.form-card .radio-option label:hover {
    border-color: var(--primary);
}

.form-card .checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text-light);
    grid-column: 1 / -1;
    margin: 12px 0;
}

.form-card .checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-card .checkbox-field a {
    color: var(--primary);
    text-decoration: underline;
}

/* ========== NOUS SOUTENIR ========== */
.support-section {
    padding: 80px 0;
}

.support-intro {
    max-width: 750px;
    margin: 0 auto 50px;
    text-align: center;
}

.support-intro h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.support-intro p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.support-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.support-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
    transition: var(--transition);
}

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

.support-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.support-card .card-icon.icon-don {
    background: rgba(212, 31, 38, 0.1);
    color: var(--accent);
}

.support-card .card-icon.icon-bank {
    background: var(--primary-light);
    color: var(--primary);
}

.support-card .card-icon.icon-share {
    background: rgba(247, 198, 0, 0.15);
    color: var(--secondary);
}

.support-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.support-card .bank-details {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 2;
    overflow-wrap: anywhere;
}

.support-card .bank-details strong {
    color: var(--text);
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1rem 0 0.5rem;
    align-items: stretch;
}

.payment-logo {
    flex: 1 1 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.payment-logo img {
    max-height: 36px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.payment-operator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: #fff;
    margin-top: 8px;
}

.payment-operator strong {
    font-size: 0.92rem;
    color: var(--text, #1e293b);
}

.payment-operator .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
}

.payment-operator .brand-mark img {
    max-height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
}

.official-qr-panel {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.official-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}

.operator-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f2937 0%, #0f172a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.72rem;
}

.official-qr-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.official-qr-box img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.qr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.qr-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.72rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-actions a:hover {
    transform: translateY(-1px);
}

.qr-action-primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
    color: #fff;
    box-shadow: 0 12px 20px rgba(29, 78, 216, 0.2);
}

.qr-action-secondary {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.support-cta {
    text-align: center;
    padding: 50px;
    background: var(--light-gray);
    border-radius: var(--radius);
    border: 1px solid rgba(23, 33, 51, 0.06);
}

.support-cta h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.support-cta p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== ALERTS & UTILITAIRES ========== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-xs);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #eaf8f1;
    color: #025a2f;
    border: 1px solid #b9eed0;
}

.alert-error {
    background: #fde8e8;
    color: #9f1f1f;
    border: 1px solid #f5c1c1;
}

.alert-error ul {
    margin-top: 6px;
    padding-left: 20px;
    list-style: disc;
}

.alert-error ul li {
    margin-bottom: 4px;
}

.message-empty {
    background: #ffffff;
    border: 1px solid rgba(23, 33, 51, 0.08);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    text-align: center;
}

.message-empty h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.message-empty p {
    color: var(--text-light);
}

/* ========== STATUTS PAGE ========== */
.statuts-page {
    padding: 60px 0;
}

.statuts-page .statuts-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
}

.statuts-page .statuts-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.statuts-page .statuts-header p {
    opacity: 0.85;
    font-size: 1rem;
}

.statuts-page .statuts-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.statuts-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(23, 33, 51, 0.06);
}

.statuts-content h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-light);
}

.statuts-content h2:first-child {
    margin-top: 0;
}

.statuts-content h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

.statuts-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.statuts-content ul {
    padding-left: 24px;
    margin-bottom: 1rem;
    list-style: disc;
}

.statuts-content ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 4px;
}

@media print {
    .header, .footer, .statuts-actions, .page-hero {
        display: none !important;
    }
    .statuts-content {
        box-shadow: none;
        border: none;
        padding: 20px;
    }
    .statuts-page .statuts-header {
        background: none;
        color: var(--text);
        padding: 0;
        margin-bottom: 20px;
    }
    .statuts-page .statuts-header h1 {
        color: var(--text);
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    width: 100%;
    height: 68px;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Rendre le logo du footer plus visible sur fond sombre */
.footer-logo {
    display: inline-block;
    background: var(--white);
    width: min(260px, 100%);
    height: 68px;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,87,167,.10);
}

    .footer-logo .footer-logo-img {
        /* Slightly enhance colors to make the logo more vivid on dark footer */
        filter: saturate(1.42) contrast(1.14) brightness(1.04);
        background: transparent;
        display: block;
        box-shadow: none;
        border: 0;
        padding: 0;
    }

.footer-devise {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) { .bureau-item-featured { grid-column: span 1; } .bureau-item-featured .bureau-photo-wrapper { height: 280px; } }

.footer-description {
    font-size: 0.93rem;
    opacity: 0.8;
    max-width: 300px;
    line-height: 1.6;
}

.payment-operator { display:flex; align-items:center; gap:8px; margin:8px 0; flex-wrap:wrap; }
.payment-operator img { width:auto; height:32px; max-width:105px; object-fit:contain; padding:3px 6px; background:#fff; border:1px solid rgba(23,33,51,.09); border-radius:6px; }
.coordonnateur-card { border:1px solid rgba(0,87,167,.14); }
.coordonnateur-photo-frame { width:232px; height:232px; margin:auto; padding:6px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--secondary)); box-shadow:0 10px 28px rgba(0,87,167,.22); }
.coordonnateur-photo-frame img { width:100%; height:100%; object-fit:cover; border-radius:50%; border:4px solid #fff; display:block; }
@media (max-width:480px) { .coordonnateur-photo-frame { width:190px; height:190px; } }
.mot-coordonnateur { padding:70px 0; background:var(--light-gray); }
.mot-card { max-width:860px; margin:auto; display:grid; grid-template-columns:190px 1fr; gap:30px; align-items:center; padding:28px; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); border:1px solid rgba(0,87,167,.1); }
.mot-photo { width:170px; height:170px; padding:5px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--secondary)); justify-self:center; }
.mot-photo img { width:100%; height:100%; border-radius:50%; object-fit:cover; border:3px solid #fff; display:block; }
.mot-photo--placeholder { display:flex; align-items:center; justify-content:center; color:#fff; font-size:3.2rem; }
.mot-contenu h2 { color:var(--primary); margin-bottom:10px; }
@media (max-width:600px) { .mot-card { grid-template-columns:1fr; text-align:center; padding:22px; gap:18px; } .mot-photo { width:135px; height:135px; } }
.home-ads-legacy-removed { display:none; }

.valeur-card > img { width:100%; height:92px; object-fit:contain; padding:8px; background:#fff; border-radius:8px; }

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.93rem;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
    width: 18px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-newsletter p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--secondary);
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ========== BADGE CATÉGORIE ========== */
.badge-cat {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ========== ARTICLE DETAIL ========== */
.article-detail {
    padding: 60px 0;
}

.article-detail .article-header {
    margin-bottom: 2rem;
}

.article-detail .article-header h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.article-detail .article-header .meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-detail img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.article-detail .article-content {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.article-detail .article-content p {
    margin-bottom: 1rem;
}

.article-detail .btn {
    display: inline-flex;
    width: auto;
}

/* ========== BOUTONS DE PARTAGE SOCIAL ========== */
.article-share {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius, 12px);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.article-share .share-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.article-share .share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.article-share .share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.article-share .share-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
    filter: brightness(1.1);
}
.article-share .share-btn.facebook { background: #1877f2; }
.article-share .share-btn.whatsapp { background: #25d366; }
.article-share .share-btn.x-twitter { background: #111; }
.article-share .share-btn.linkedin { background: #0a66c2; }
.article-share .share-btn.email { background: #64748b; }
.article-share .share-btn.copy { background: var(--primary, #0057A7); }
.article-share .share-btn.copied { background: #16a34a; }

/* Contenu riche WYSIWYG */
.article-detail .article-content img { max-width: 100%; height: auto; border-radius: 8px; }
.article-detail .article-content ul, .article-detail .article-content ol { margin: 0 0 1rem 1.5rem; }
.article-detail .article-content h2, .article-detail .article-content h3 { margin: 1.4rem 0 0.6rem; color: var(--primary, #0057A7); }
.article-detail .article-content blockquote { border-left: 4px solid var(--accent, #D41F26); padding-left: 1rem; color: var(--text-light); font-style: italic; margin: 0 0 1rem; }
.article-detail .article-content a { color: var(--primary, #0057A7); }

/* ========== FILTRES CATÉGORIES ========== */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.category-filters .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.category-filters .btn.active {
    background: var(--primary);
    color: var(--white);
}

/* ========== PAGES LÉGALES & LIENS FOOTER ========== */
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    margin-left: 6px;
}
.footer-legal-links a:hover { color: #fff; }

.legal-content {
    max-width: 820px;
}
.legal-content h2 {
    color: var(--primary, #0057A7);
    font-size: 1.3rem;
    margin: 2rem 0 0.6rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
    color: var(--text-light, #5E6A7D);
    line-height: 1.8;
}
.legal-content a { color: var(--primary, #0057A7); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn-membre {
        display: none;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .valeur-grid {
        grid-template-columns: 1fr 1fr;
    }

    .activites-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rejoindre-contenu {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        position: static;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .support-methods {
        grid-template-columns: 1fr;
    }

    .membership-steps {
        grid-template-columns: 1fr;
    }

    .form-card .form-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
        text-align: left !important;
        padding: 20px 24px !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -8px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 10px 0;
    }

    .payment-logos {
        gap: 8px;
    }

    .payment-logo {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .payment-operator {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .payment-operator strong {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }

    .payment-operator .brand-mark {
        margin-left: auto;
    }

    .official-qr-box img {
        max-width: 180px;
    }

    .qr-actions {
        flex-direction: column;
    }

    .qr-actions a {
        width: 100%;
    }

    .logo-img {
        height: 44px;
    }

    .page-hero {
        padding: 50px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .valeur-grid {
        grid-template-columns: 1fr;
    }

    .activites-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .rejoindre-image img {
        height: 220px;
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .chiffre-card .chiffre-number {
        font-size: 2.2rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .statuts-content {
        padding: 24px;
    }

    .support-card {
        padding: 28px 24px;
    }

    .membership-step {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 38px;
    }

    .chiffres-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        padding: 22px 18px;
    }

    .support-card .bank-details {
        padding: 14px 12px;
        font-size: 0.8rem;
    }

    .payment-logo {
        flex-basis: 100%;
    }

    .official-qr-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-card .radio-group {
        flex-direction: column;
    }

    .form-card .radio-option {
        min-width: 100%;
    }
}


/* ============================================
   ENHANCEMENTS: PUBLICITÉS, PARTENAIRES & COORDONNATEUR
   ============================================ */

/* Publicités Accueil */
.home-ads {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 87, 167, 0.08);
}
.home-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    margin-top: 32px;
}
.home-ads-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 87, 167, 0.06);
    border: 1px solid rgba(0, 87, 167, 0.12);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}
.home-ads-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 87, 167, 0.14);
    border-color: var(--primary);
}
.home-ads-img-wrap {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px;
}
.home-ads-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.4s ease;
    display: block;
}
.home-ads-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.home-ads-card:hover .home-ads-img-wrap img {
    transform: scale(1.04);
}
.home-ads-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 87, 167, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.home-ads-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    color: var(--primary);
    font-size: 2.8rem;
    border-radius: 6px;
}
.home-ads-card-content {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.home-ads-card-content h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.35;
}
.home-ads-card-content h3 a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.home-ads-card-content h3 a:hover {
    color: var(--accent);
}
.home-ads-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.home-ads-btn {
    align-self: flex-start;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(212, 31, 38, 0.08);
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.home-ads-btn:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateX(3px);
}

/* Partenaires */
.partenaires-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 34px;
}
.partenaire-card {
    background: #ffffff;
    border: 1px solid rgba(0, 87, 167, 0.1);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.partenaire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 87, 167, 0.12);
    border-color: var(--primary);
}
.partenaire-logo-wrap {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 87, 167, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}
.partenaire-card:hover .partenaire-logo-wrap {
    background: #ffffff;
    border-color: var(--primary-light);
}
.partenaire-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(15%);
    transition: all 0.3s ease;
}
.partenaire-card:hover .partenaire-logo-wrap img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.partenaire-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.partenaire-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

/* Le mot du Coordonnateur Page & Card Styling */
.coordonnateur-box {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0,87,167,0.12);
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
    position: relative;
    overflow: hidden;
}
.coordonnateur-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}
.coordonnateur-photo-container {
    text-align: center;
}
.coordonnateur-photo-frame {
    width: 240px;
    height: 280px;
    margin: 0 auto;
    padding: 8px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 30px rgba(0,87,167,0.22);
    position: relative;
}
.coordonnateur-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 6px);
    border: 3px solid #ffffff;
    display: block;
}
.coordonnateur-info-badge {
    margin-top: 16px;
}
.coordonnateur-info-badge h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
}
.coordonnateur-info-badge p {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}
.coordonnateur-body-content {
    line-height: 1.85;
    color: var(--text);
    font-size: 1.02rem;
}
.coordonnateur-body-content p {
    margin-bottom: 1.2rem;
}
.coordonnateur-quote-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin-bottom: 12px;
}

@media (max-width: 850px) {
    .coordonnateur-box {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        gap: 24px;
    }
    .coordonnateur-photo-frame {
        width: 200px;
        height: 240px;
    }
}


/* ============================================ */
/* AJOUTS POUR L'ACCUEIL AMÉLIORÉ */
/* ============================================ */

/* Valeurs avec Font Awesome */
.valeur-card .icone {
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(26, 42, 90, 0.08), rgba(245, 184, 27, 0.08));
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.valeur-card:hover .icone {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(26, 42, 90, 0.15), rgba(245, 184, 27, 0.15));
}

/* Mot du coordonnateur */
.mot-coordonnateur {
    padding: 60px 0;
    background: var(--light-gray);
}

.mot-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    align-items: center;
}

.mot-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary);
    flex-shrink: 0;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mot-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mot-photo--placeholder {
    border-color: var(--primary);
}

.mot-photo--placeholder i {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
}

.mot-contenu h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mot-contenu p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mot-signature {
    margin-bottom: 1.5rem;
}

.mot-signature strong {
    font-size: 1.1rem;
    color: var(--primary);
    display: block;
}

.mot-signature span {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Boutons d'action */
.rejoindre-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Partenaires */
.partenaires-section {
    padding: 60px 0;
    background: var(--white);
}

.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.partenaire-card {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.partenaire-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.partenaire-logo-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.partenaire-logo-wrap img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}

.partenaire-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.partenaire-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mot-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .mot-photo {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .rejoindre-actions {
        justify-content: center;
    }

    .partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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