:root {
    --primary: #056734;
    --primary-dark: #044a24;
    --primary-light: #e8f5ed;
    --secondary: #10a6e0;
    --secondary-dark: #0b7aa8;
    --secondary-light: #e6f4fb;
    --accent: #bf1622;
    --accent-dark: #8f111a;
    --terracotta: #ba5e54;
    --orange: #fa4732;
    --mint: #58a57d;
    --brown: #7a5956;
    --yellow: #fbbb0e;
    --gold: #f39200;
    --gold-soft: #c9a84c;  /* doré doux, conforme à la charte pour les accents */
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ============================================
   BOUTONS PERSONNALISÉS - CHARTE APROSOC
   ============================================ */

/* --- Bouton primaire (vert) --- */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(5, 103, 52, 0.3) !important;
}
.btn-primary:disabled {
    background-color: var(--gray-400) !important;
    border-color: var(--gray-400) !important;
    opacity: 0.7;
}

/* --- Bouton outline primaire (vert) --- */
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(5, 103, 52, 0.25) !important;
}
.btn-outline-primary:disabled {
    border-color: var(--gray-400) !important;
    color: var(--gray-400) !important;
}

/* --- Bouton secondaire (bleu) --- */
.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 166, 224, 0.3) !important;
}
.btn-secondary:disabled {
    background-color: var(--gray-400) !important;
    border-color: var(--gray-400) !important;
    opacity: 0.7;
}

/* --- Bouton outline secondaire (bleu) --- */
.btn-outline-secondary {
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    background: transparent !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 166, 224, 0.25) !important;
}
.btn-outline-secondary:disabled {
    border-color: var(--gray-400) !important;
    color: var(--gray-400) !important;
}

/* --- Bouton danger (rouge APROSOC) --- */
.btn-danger {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(191, 22, 34, 0.3) !important;
}

/* --- Bouton outline danger --- */
.btn-outline-danger {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    background: transparent !important;
}
.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(191, 22, 34, 0.25) !important;
}

/* --- Bouton succès (mint) --- */
.btn-success {
    background-color: var(--mint) !important;
    border-color: var(--mint) !important;
    color: #fff !important;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #3d8a62 !important; /* version plus foncée du mint */
    border-color: #3d8a62 !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(88, 165, 125, 0.3) !important;
}

/* --- Bouton warning (gold) --- */
.btn-warning {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--gray-900) !important;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #d97d00 !important; /* version plus foncée du gold */
    border-color: #d97d00 !important;
    color: var(--gray-900) !important;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.3) !important;
}
.btn-warning:disabled {
    opacity: 0.7;
}

/* --- Bouton outline warning --- */
.btn-outline-warning {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    background: transparent !important;
}
.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--gray-900) !important;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.25) !important;
}
/* ============================================
   POLICES - AILERON & LATO
   ============================================ */
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Aileron';
    src: url('../fonts/Aileron-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.hero-brick .brick-title,
.hero-slide .brick-title,
.section-hero h1,
.stat-item .number,
.sigle-badge,
.section-card .sigle,
.card-title {
    font-family: 'Aileron', 'Arial', 'Helvetica', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1, .h1, .display-1, .display-2, .display-3,
.hero-brick .brick-title,
.hero-slide .brick-title,
.section-hero h1,
.stat-item .number {
    font-weight: 900;
}

h3, h4, .h3, .h4,
.brick-title.h3,
.section-card .card-title {
    font-weight: 600;
}

/* --- NAVBAR --- */
.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    padding: 12px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}
.navbar .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 1200px;
}
.navbar .navbar-nav {
    margin-right: 0;
}
.navbar .nav-link {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 600;
    color: var(--gray-600);
    padding: 0.5rem 1rem;
    border-radius: 0;
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s, left 0.3s;
}
.navbar .nav-link:hover {
    color: var(--primary);
}
.navbar .nav-link:hover::after {
    width: 60%;
    left: 20%;
}
.navbar .nav-link.active {
    color: var(--primary);
}
.navbar .nav-link.active::after {
    width: 60%;
    left: 20%;
}
.navbar-brand {
    padding: 0;
}
.brand-text {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

/* ============================================
   MENU - TRAPÈZE
   ============================================ */
.trapezoid-item {
    position: relative;
    z-index: 1;
}
.trapezoid-item::before {
    content: '';
    position: absolute;
    top: -97vh;
    right: -150px;
    transform: skewX(-12deg);
    width: 55%;
    height: calc(100% + 100vh);
    background: var(--secondary);
    opacity: 0.1;
    transition: opacity 0.3s ease, background 0.3s ease;
    z-index: 0;
    pointer-events: none;
    transform-origin: top right;
}
.trapezoid-item:hover::before {
    opacity: 0.18;
    background: var(--orange);
}
.trapezoid-item.active::before {
    opacity: 0.25;
    background: var(--orange);
}
.nav-item.dropdown.trapezoid-item::before {
    width: 80%;
}
.nav-item.dropdown .nav-link-trapezoid {
    padding-right: 1.8rem;
}
.nav-link-trapezoid::before {
    display: none;
}

/* --- HERO BRICKS --- */
.brick-vert {
    padding: 0 0 0 30px!important;
    margin: -10px -10px -10px 0;
}

.hero-bricks {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: minmax(200px, auto);
    gap: 0;
    background: var(--gray-100);
}
.hero-brick {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 170px;
    opacity: 0;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.hero-brick .brick-content {
    position: relative;
    z-index: 2;
}
.hero-brick .brick-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
}
.hero-brick .brick-text {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}
.hero-brick .btn {
    align-self: flex-start;
}
.hero-brick .tag-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    display: inline-block;
    margin-bottom: 10px;
    width: fit-content;
    white-space: nowrap;
    font-weight: 800;
}
.brick-vert { background: var(--primary); }
.brick-bleu { background: var(--secondary); }
.brick-rouge { background: var(--accent); }
.brick-terracotta { background: var(--terracotta); }
.brick-orange { background: var(--orange); }
.brick-mint { background: var(--mint); }
.brick-jaune { background: var(--yellow); color: var(--gray-900); }
.brick-gold { background: var(--gold); color: var(--gray-900); }

/* --- ANIMATIONS POUR LES BRIQUES --- */
.hero-brick.fade-in { animation-name: fadeIn; }
.hero-brick.fade-in-up { animation-name: fadeInUp; }
.hero-brick.slide-in-left { animation-name: slideInLeft; }
.hero-brick.slide-in-right { animation-name: slideInRight; }
.hero-brick.zoom-in { animation-name: zoomIn; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-brick:nth-child(1) { animation-delay: 0.1s; }
.hero-brick:nth-child(2) { animation-delay: 0.3s; }
.hero-brick:nth-child(3) { animation-delay: 0.5s; }
.hero-brick:nth-child(4) { animation-delay: 0.7s; }
.hero-brick:nth-child(5) { animation-delay: 0.9s; }
.hero-brick:nth-child(6) { animation-delay: 1.1s; }

/* ============================================
   SLIDER DU HERO AVEC IMAGE EN FOND (corrigé)
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: 0;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 4s; }
.hero-slide:nth-child(3) { animation-delay: 8s; }

@keyframes slideFade {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(0); }
    40% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.hero-slide-overlay {
    width: 100%;
    padding: 30px 30px 25px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 80%, transparent 100%);
    color: #fff;
}

.hero-slide-overlay .tag-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.hero-slide-overlay .brick-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
}

.hero-slide-overlay .brick-text {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 10px;
}

.hero-slide-overlay .btn {
    background: rgba(255,255,255,0.9);
    color: #333;
}
.hero-slide-overlay .btn:hover {
    background: #fff;
}

/* ============================================
   SHIMMER EFFECTS
   ============================================ */
.stat-item,
.hero-brick:not(:first-child) {
    position: relative;
    overflow: hidden;
}
.stat-item::after,
.hero-brick:not(:first-child)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    clip-path: inherit;
}

.shimmer-h::after {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.3) 50%,
        transparent 65%
    );
    background-size: 200% 100%;
    background-position: 200% 0%;
    animation: shimmerH 3.5s ease-in-out infinite;
}
@keyframes shimmerH {
    0% { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

.shimmer-v::after {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.3) 50%,
        transparent 65%
    );
    background-size: 100% 200%;
    background-position: 0% 200%;
    animation: shimmerV 4.2s ease-in-out infinite;
}
@keyframes shimmerV {
    0% { background-position: 0% 200%; }
    100% { background-position: 0% -200%; }
}

.shimmer-d::after {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.3) 50%,
        transparent 65%
    );
    background-size: 200% 200%;
    background-position: 200% 200%;
    animation: shimmerD 5s ease-in-out infinite;
}
@keyframes shimmerD {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

.shimmer-r::after {
    background: linear-gradient(105deg,
        transparent 35%,
        rgba(255,255,255,0.3) 50%,
        transparent 65%
    );
    background-size: 200% 100%;
    background-position: -200% 0%;
    animation: shimmerR 3.8s ease-in-out infinite;
}
@keyframes shimmerR {
    0% { background-position: -200% 0%; }
    100% { background-position: 200% 0%; }
}

.shimmer-radial::after {
    background: radial-gradient(circle at 0% 50%, transparent 0%, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%, transparent 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    animation: shimmerRadial 6s ease-in-out infinite;
}
@keyframes shimmerRadial {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

/* --- STATS EN TRIANGLES --- */
.stat-item {
    padding: 10px 5px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 240px;
    clip-path: polygon(50% 0%, 18.5% 100%, 81.5% 100%);
}
.stat-item.triangle-up {
    clip-path: polygon(50% 0%, 18.5% 100%, 81.5% 100%);
}
.stat-item.triangle-down {
    clip-path: polygon(18.5% 0%, 81.5% 0%, 50% 100%);
}
.stat-item.color-vert {
    background-color: var(--primary);
    color: #fff;
}
.stat-item.color-jaune {
    background-color: var(--yellow);
    color: var(--gray-900);
}
.stat-item.color-white {
    background-color: var(--secondary);
    color: #fff;
}
.stat-item.color-white .number,
.stat-item.color-white .label {
    color: #fff;
}
.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}
.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 27%;
    text-align: center;
    padding: 0 5px;
    position: relative;
    z-index: 2;
}
.stat-item .number {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.3rem);
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
}
.stat-item .label {
    font-family: 'Lato', sans-serif;
    font-size: 0.76rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    white-space: nowrap;
    max-width: 100%;
}

/* --- CARTES SECTIONS --- */
.section-card {
    border: none;
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    color: #fff;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.section-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.section-card .sigle {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 15px;
}
.section-card .card-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}
.section-card .card-text {
    font-family: 'Lato', sans-serif;
    opacity: 0.9;
    font-size: 0.9rem;
}
.section-card .btn {
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    transition: var(--transition);
}
.section-card .btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

/* --- PARTENAIRES --- */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    height: 100px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.partner-logo img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(0%);
    transition: var(--transition);
}
.partner-logo:hover img {
    filter: grayscale(0);
}

/* --- CARTES ARTICLES --- */
.card {
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}
.card:hover .card-img-top {
    transform: scale(1.03);
}
.card .card-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
}

/* --- SIGLE BADGES --- */
.sigle-badge {
    font-family: 'Aileron', 'Arial', sans-serif;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    color: #fff;
}
.sigle-badge.scmsb { background-color: var(--primary); }
.sigle-badge.smscc { background-color: var(--secondary); }
.sigle-badge.scmsd { background-color: var(--terracotta); }
.sigle-badge.scmss { background-color: var(--gold); color: var(--gray-900); }
.sigle-badge.smscz { background-color: var(--mint); }
.sigle-badge.aprosoc { background-color: var(--accent); }

/* --- TAG BADGES --- */
.tag-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-right: 4px;
    color: #fff;
    width: fit-content;
    white-space: nowrap;
}
.tag-badge-white {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    margin-right: 4px;
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
}
.tag-badge-white.border-vert { border-color: var(--primary); color: var(--primary); }
.tag-badge-white.border-bleu { border-color: var(--secondary); color: var(--secondary); }
.tag-badge-white.border-rouge { border-color: var(--accent); color: var(--accent); }
.tag-badge-white.border-terracotta { border-color: var(--terracotta); color: var(--terracotta); }
.tag-badge-white.border-orange { border-color: var(--orange); color: var(--orange); }
.tag-badge-white.border-mint { border-color: var(--mint); color: var(--mint); }
.tag-badge-white.border-brown { border-color: var(--brown); color: var(--brown); }
.tag-badge-white.border-jaune { border-color: var(--yellow); color: var(--yellow); }
.tag-badge-white.border-gold { border-color: var(--gold); color: var(--gold); }

/* --- SECTION HERO --- */
.section-hero {
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-hero h1 {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 900;
    color: #fff;
    font-size: 3rem;
}
.section-hero .lead {
    color: rgba(255,255,255,0.9);
}
.section-hero.scmsb { background: linear-gradient(135deg, rgba(5,103,52,0.92), rgba(5,103,52,0.6)); }
.section-hero.smscc { background: linear-gradient(135deg, rgba(16,166,224,0.92), rgba(16,166,224,0.6)); }
.section-hero.scmsd { background: linear-gradient(135deg, rgba(186,94,84,0.92), rgba(186,94,84,0.6)); }
.section-hero.scmss { background: linear-gradient(135deg, rgba(251,187,14,0.92), rgba(251,187,14,0.6)); }
.section-hero.smscz { background: linear-gradient(135deg, rgba(88,165,125,0.92), rgba(88,165,125,0.6)); }
.section-hero.aprosoc { background: linear-gradient(135deg, rgba(191,22,34,0.92), rgba(191,22,34,0.6)); }

/* --- MUTUELLES LIST --- */
.mutuelles-list {
    background: var(--gray-100);
    padding: 20px 25px;
    border-radius: var(--radius);
    list-style: none;
}
.mutuelles-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}
.mutuelles-list li:hover {
    padding-left: 10px;
    color: var(--primary);
}
.mutuelles-list li:last-child {
    border-bottom: none;
}

/* --- FILTRES ACTUALITÉS --- */
.filter-bar .btn {
    border-radius: 50px;
    margin-right: 8px;
    border: 2px solid var(--gray-300);
    font-weight: 600;
    padding: 8px 24px;
    color: var(--gray-600);
    transition: var(--transition);
}
.filter-bar .btn.active {
    color: #fff;
}
.filter-bar .btn.active[data-tag="APROSOC"] { background-color: var(--accent); border-color: var(--accent); }
.filter-bar .btn.active[data-tag="SCMSB"] { background-color: var(--primary); border-color: var(--primary); }
.filter-bar .btn.active[data-tag="SMSCC"] { background-color: var(--secondary); border-color: var(--secondary); }
.filter-bar .btn.active[data-tag="SCMSD"] { background-color: var(--terracotta); border-color: var(--terracotta); }
.filter-bar .btn.active[data-tag="SCMSS"] { background-color: var(--gold); border-color: var(--gold); color: var(--gray-900); }
.filter-bar .btn.active[data-tag="SMSCZ"] { background-color: var(--mint); border-color: var(--mint); }
.filter-bar .btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- FOOTER --- */
footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
footer a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
footer h5 {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

/* --- ARTICLE CONTENT --- */
.article-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}
.article-content strong {
    color: var(--primary);
}
.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- BRICK DARK --- */
.brick-dark {
    background: #1a1a1a;
    color: #ffffff;
}
.brick-dark .tag-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.brick-dark .brick-title {
    color: #ffffff;
}
.brick-dark .brick-text {
    color: rgba(255, 255, 255, 0.85);
}
.brick-dark .btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.brick-dark .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
}

/* ============================================
   MOTIF DE LA CHARTE
   ============================================ */
.bg-pattern-simple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpolygon points='40,0 80,40 40,80 0,40' fill='%23056734' opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
}
.bg-pattern-alt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 100,50 50,100 0,50' fill='%23056734' opacity='0.04'/%3E%3Cpolygon points='50,20 80,50 50,80 20,50' fill='%2310a6e0' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
}
.section-with-pattern {
    position: relative;
    overflow: hidden;
}
.section-with-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 100,50 50,100 0,50' fill='%23056734' opacity='0.04'/%3E%3Cpolygon points='50,20 80,50 50,80 20,50' fill='%2310a6e0' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.section-with-pattern > * {
    position: relative;
    z-index: 1;
}
body.bg-pattern-body {
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cpolygon points='10,60 75,20 75,100' fill='%23f39200' opacity='0.04'/%3E%3Cpolygon points='150,60 85,20 85,100' fill='%23056734' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 160px 120px;
}

/* --- MOTIF MONOGRAMME (conforme à la charte) --- */
.bg-pattern-monogram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext x='20' y='80' font-family='Aileron' font-weight='900' font-size='80' fill='%23056734' opacity='0.04'%3EA%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
}
.bg-pattern-monogram-light {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ctext x='20' y='80' font-family='Aileron' font-weight='900' font-size='80' fill='%2310a6e0' opacity='0.04'%3EA%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
}

/* --- Gestion du wrap pour Cotisations --- */
.stat-item.wrap-number .number {
    white-space: normal;
    overflow-wrap: break-word;
}
.stat-item.wrap-number .number .number-value {
    white-space: nowrap;
}
.stat-item.wrap-number .number .number-suffix {
    white-space: nowrap;
}
.stat-item .number .number-suffix {
    display: inline;
}
.stat-item.wrap-number .number .number-part {
    white-space: nowrap;
}
.stat-item.wrap-number .number .fcfa-part {
    white-space: normal;
}

/* --- COLONNE DROITE STICKY --- */
.row.align-items-stretch > [class*="col-"] {
    display: flex;
    flex-direction: column;
}
.sticky-wrapper {
    position: sticky;
    top: 90px;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.mission-card {
    min-height: 280px;
}

/* --- FILTRES MEMBRES --- */
.filter-bar .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 6px 18px;
    font-size: 0.8rem;
}
.filter-bar .btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.filter-bar .btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- FRISE CHRONOLOGIQUE --- */
.timeline-section {
    padding: 20px 0;
}
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}
.timeline-item:nth-child(odd) {
    flex-direction: row;
}
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-badge {
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin: 0 20px;
}
.timeline-content {
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
    max-width: 45%;
    transition: var(--transition);
    border-width: 4px;
    border-style: solid;
    border-color: transparent;
}
.timeline-item:nth-child(odd) .timeline-content {
    border-left-color: var(--primary);
    border-right-color: transparent;
}
.timeline-item:nth-child(even) .timeline-content {
    border-right-color: var(--secondary);
    border-left-color: transparent;
}
.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.timeline-content h5 {
    color: var(--primary);
    font-weight: 700;
}
.timeline-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- CARTES VALEURS --- */
.value-card {
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: default;
    border: 1px solid var(--gray-200);
}
.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.value-card i {
    transition: var(--transition);
}
.value-card:hover i {
    transform: scale(1.2);
}
.value-card h5 {
    font-weight: 700;
    color: var(--gray-800);
}
.value-card p {
    font-size: 0.9rem;
}

/* --- TÉMOIGNAGES --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.testimonial-card .bi-quote {
    font-size: 3rem;
    color: var(--primary-light);
}
.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.6;
}
.testimonial-card .fw-bold {
    color: var(--primary);
}

/* ============================================
   SLIDESHOW RAPPORTS
   ============================================ */
#reportsCarousel {
    border-radius: var(--radius);
    overflow: hidden;
    width: 300px;
}
#reportsCarousel .carousel-item {
    transition: transform 0.6s ease;
}
#reportsCarousel .carousel-item > div {
    max-height: 270px;
}
.carousel-indicators button {
    background-color: rgba(255,255,255,0.5) !important;
    transition: var(--transition);
}
.carousel-indicators button.active {
    background-color: var(--white) !important;
    transform: scale(1.3);
}
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.6;
    transition: var(--transition);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* --- CARD FACEBOOK ACCROCHÉE AU HERO --- */
.facebook-card-wrapper {
    position: relative;
    margin-top: -60px;
    z-index: 5;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.facebook-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    width: 100%;
    pointer-events: auto;
    overflow: hidden;
    transition: var(--transition);
}
.facebook-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.facebook-card-header {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}
.facebook-card-header i {
    font-size: 1.3rem;
}
.facebook-card-body {
    padding: 15px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.facebook-fallback {
    text-align: center;
    padding: 20px;
}
.facebook-fallback p {
    margin-bottom: 10px;
}

/* ============================================
   AMÉLIORATIONS HERO
   ============================================ */
.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon points='60,0 120,60 60,120 0,60' fill='rgba(255,255,255,0.06)'/%3E%3Cpolygon points='60,20 100,60 60,100 20,60' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    pointer-events: none;
    z-index: 0;
}
/* Motif triangulaire en overlay (harmonisé avec les autres pages) */
.page-transparence-hero .hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 120px 120px;
    opacity: 2;
    pointer-events: none;
    z-index: 0;
}
.hero-decor-icon {
    position: absolute;
    right: 5%;
    bottom: -10%;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
    transform: rotate(10deg);
}

/* ============================================
   CARTE MODERNE
   ============================================ */
.hero-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 15px solid var(--primary);
    border-top: 20px solid var(--primary);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: -16px -16px 40px rgba(0, 0, 0, 0.08),
                12px 12px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 6px;
    height: 100%;
    color: var(--gray-800);
}
.hero-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: -20px -20px 50px rgba(0, 0, 0, 0.10),
                16px 16px 40px rgba(0, 0, 0, 0.08);
}
.hero-card * {
    color: var(--gray-800);
}
.contact-chip i {
    color: var(--primary) !important;
}
.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 10px 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.hero-card-header .fw-bold {
    font-size: 0.95rem;
    color: var(--gray-800);
}
.hero-card-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    color: #fff;
    letter-spacing: 0.5px;
    background: var(--primary);
}
.hero-card-body {
    padding: 16px 22px 8px 22px;
}
.hero-card-body .fb-page {
    width: 100% !important;
}
.hero-card-body .fb-page iframe {
    width: 100% !important;
}
.contact-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.04);
    padding: 8px 14px;
    border-radius: 14px;
    min-height: 50px;
    transition: var(--transition);
}
.contact-chip:hover {
    background: rgba(0, 0, 0, 0.08);
}
.contact-chip i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--primary) !important;
}
.contact-chip span {
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--gray-800) !important;
}
.contact-chip span strong {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray-500) !important;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}
.hero-card-footer {
    padding: 12px 22px 18px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.hero-card-footer .btn {
    padding: 10px 0;
    font-weight: 600;
    color: #fff !important;
    transition: var(--transition);
    border-radius: 50px;
}
.hero-card-footer .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

/* ============================================
   STICKY COLONNE DROITE
   ============================================ */
.sticky-section-wrapper {
    position: sticky;
    top: 120px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sticky-section-wrapper .card.glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   FLÈCHES DE NAVIGATION
   ============================================ */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    opacity: 0.7;
}
.nav-arrow:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    opacity: 1;
}
.nav-arrow-prev {
    left: 20px;
}
.nav-arrow-next {
    right: 20px;
}

/* ============================================
   ÉVÉNEMENTS PHARES
   ============================================ */
.event-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.event-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--gray-900);
}
.event-link i:first-child {
    font-size: 1.2rem;
}
.event-link span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}
.event-link i:last-child {
    font-size: 1.1rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}
.event-link:hover i:last-child {
    transform: translateX(4px);
    opacity: 1;
}

/* ============================================
   SECTIONS - VERSION SOBRE
   ============================================ */
.section-card-sobre {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.section-card-sobre:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.section-card-sobre-top {
    height: 5px;
    width: 100%;
    flex-shrink: 0;
}
.section-card-sobre-body {
    padding: 18px 15px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.section-card-sobre-sigle {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.section-card-sobre-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}
.section-card-sobre-stats {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}
.section-card-sobre-stats i {
    margin-right: 4px;
}
.section-card-sobre-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.section-card-sobre-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

/* ============================================
   INTRODUCTION - FULL WIDTH
   ============================================ */
.intro-fullwidth {
    background: #ffffff;
    padding: 0;
    margin: 0;
    width: 100%;
}
.intro-fullwidth-inner {
    padding: 60px 0;
    width: 100%;
}

/* ============================================
   SIDEBAR GLASS
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}
.glass:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   RÉSUMÉ STRUCTURÉ
   ============================================ */
.article-summary {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 24px 28px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.summary-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.summary-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}
.summary-label i {
    font-size: 1rem;
    color: var(--primary);
}
.summary-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.6;
    padding-left: 26px;
}
.details-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
}

/* ============================================
   AMÉLIORATIONS DES BRIQUES DU HERO
   ============================================ */
.hero-slide .tag-badge {
    font-size: 0.6rem;
    padding: 2px 10px;
}
.tag-badge-sm {
    font-size: 0.6rem;
    padding: 2px 10px;
}
.brick-title-sm {
    font-size: 1.2rem !important;
    line-height: 1.3;
}
.brick-icon-svg {
    margin: 5px 0 8px 0;
    display: flex;
    justify-content: center;
}
.brick-icon-svg svg {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}
.brick-icon-sm svg {
    width: 40px !important;
    height: 40px !important;
}

/* Taille du titre de la brique Événement (1.4rem) */
.brick-title-event {
    line-height: 1.3;
}
h3 .brick-title-event {
    font-size: 1.4rem !important;
}
/* Réduction de la hauteur des briques Événement, Plaidoyer, Partenariat */
.hero-brick.brick-sm {
    min-height: 140px;
    padding: 20px 20px;
}
.hero-brick.brick-sm .brick-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.hero-brick.brick-sm .brick-text {
    margin-bottom: 0;
    font-size: 0.9rem;
    margin-top: 4px;
}
.hero-brick.brick-sm .brick-icon-svg.brick-icon-sm svg {
    width: 35px;
    height: 35px;
}

/* Lien sur toute la brique */
.brick-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}
.brick-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   GENÈSE - TEXTE JUSTIFIÉ
   ============================================ */
.genese-text {
    text-align: justify;
    hyphens: auto;
    line-height: 1.8;
}
.genese-text strong {
    color: var(--primary);
}

/* ============================================
   DATES CLÉS
   ============================================ */
.timeline-simple {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}
.timeline-simple.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}
.timeline-simple-item {
    display: flex;
    gap: 12px;
    align-items: baseline;
}
.timeline-simple-date {
    font-weight: 700;
    color: var(--primary);
    min-width: 120px;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.timeline-simple-event {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ============================================
   BUREAU EXÉCUTIF
   ============================================ */
.bureau-card {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-200);
}
.bureau-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}
.bureau-fonction {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.5px;
    font-weight: 600;
}
.bureau-nom {
    display: block;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9rem;
    margin-top: 2px;
}
.bureau-tel {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 2px;
}
.bureau-tel i {
    margin-right: 4px;
}

/* ============================================
   OBJECTIFS - DISPOSITION DYNAMIQUE
   ============================================ */
.objectifs-wrapper {
    display: block;
}
.objectifs-wrapper.side-by-side {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}
.objectifs-wrapper.side-by-side .objectifs-col {
    flex: 0 0 50%;
    max-width: 50%;
}
.objectifs-col {
    width: 100%;
    margin-bottom: 20px;
}
.objectifs-col:last-child {
    margin-bottom: 0;
}
.objectifs-col h5 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}
.objectifs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.objectifs-list.two-columns-list {
    columns: 2;
    column-gap: 20px;
}
.objectifs-list li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: flex-start;
    break-inside: avoid;
}
.objectifs-list li:last-child {
    border-bottom: none;
}
.objectifs-list li i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   CENTRES DE SANTÉ
   ============================================ */
.centres-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.centre-badge {
    background: var(--gray-100);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.centre-badge:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================
   PILLS DE STATISTIQUES
   ============================================ */
.hero-stat-pill {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 8px 22px 8px 18px;
    color: #fff;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.hero-stat-pill:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.hero-stat-pill i {
    font-size: 1.2rem;
    opacity: 0.9;
}
.hero-stat-pill strong {
    font-weight: 800;
    margin-right: 2px;
}
.section-hero .container {
    position: relative;
    z-index: 2;
}
/* ============================================
   DIAGONALE POUR LE HERO (style frankenphp.dev)
   ============================================ */
/* ============================================
   DIAGONALE – MODIFICATIONS TESTÉES
   ============================================ */
.hero-diagonal {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 95%;
    height: 95%;
    transform: skewX(-83.3deg);
    transform-origin: bottom right;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}


/* Ajustement de la carte pour l'effet de superposition */
.hero-card-wrapper {
    perspective: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 15%;

}

.hero-card {
    transform: rotateY(-4deg) rotateX(2deg);
    transform-origin: right center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: -20px -20px 50px rgba(0, 0, 0, 0.08),
                15px 15px 40px rgba(0, 0, 0, 0.05);
}
.hero-card:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
    box-shadow: -25px -25px 60px rgba(0, 0, 0, 0.12),
                20px 20px 50px rgba(0, 0, 0, 0.08);
}
/* ============================================
   BOUTON "CHARGER +" et reading progress
   ============================================ */
.load-more-btn {
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border-width: 2px;
}
.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5,103,52,0.15);
    background-color: var(--primary);
    color: #fff !important;
}
/* Barre de progression */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px rgb(234, 0, 0);
}
/* Style du bouton pendant le chargement */
.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
/* 2. Animation en dernier */
.hero-brick:nth-child(1) {
    animation-delay: 3s !important; /* au lieu de 0.1s */
}

/* 3. Supprimer l’icône SVG sur la brique Événement */
.brick-gold .brick-icon-svg {
    display: none !important;
}
/* 5. Supprimer le texte d’extrait sur la brique Événement */
.brick-gold .brick-text {
    display: none !important;
}

/* Indicateurs (dots) - correction du sélecteur */
.hero-slider-indicators {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
    pointer-events: none; /* les clics passent à travers le conteneur */
}

.hero-slider-indicators .dot {
    pointer-events: auto; /* réactive le clic sur chaque dot */
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.hero-slider-indicators .dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* ============================================
   OMBRES ANIMÉES SUR LES BRIQUES DU HERO
   (sans conflit avec les shimmers)
   ============================================ */

.brick-bleu { box-shadow: -20px 0 30px -10px rgba(16,166,224,0.4); }
.brick-terracotta { box-shadow: -20px 0 30px -10px rgba(186,94,84,0.4); }
.brick-gold { box-shadow: 0 -20px 30px -10px rgba(243,146,0,0.4); }
.brick-orange { box-shadow: 0 -20px 30px -10px rgba(250,71,50,0.4); }
.brick-mint { box-shadow: -20px -20px 30px -10px rgba(88,165,125,0.4); }

/* ============================================
   STRATÉGIES - STYLES FINAUX
   ============================================ */

/* 1. Effet de courbe + 3D sur les cartes */
.strategy-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    transform: perspective(800px) rotateY(0deg);
    will-change: transform;
}

.strategy-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 50%, currentColor 0%, transparent 70%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.strategy-card:hover {
    transform: perspective(800px) rotateY(-3deg) translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.strategy-card:hover .strategy-curve {
    opacity: 0.15;
    transform: scale(1.05);
}
.strategy-card-col:nth-child(even) .strategy-card:hover {
    transform: perspective(800px) rotateY(3deg) translateY(-6px);
}

.strategy-card.highlight .strategy-curve {
    opacity: 0.2;
    transform: scale(1.1);
}
.strategy-card .card-body {
    position: relative;
    z-index: 1;
}

/* 2. Bulle d'aide */
#strategy-bubble {
    transition: opacity 0.3s ease;
}
#bubble-title {
    font-family: 'Aileron', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    color: #056734;
}
#bubble-desc {
    font-size: 0.8rem;
    color: #555;
    margin: 4px 0 6px 0;
    line-height: 1.4;
}
#strategy-bubble a {
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 600;
}
#strategy-bubble a:hover {
    text-decoration: underline;
}

/* 3. Dots (superposés à gauche) */
.strategy-slider-indicators {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.strategy-dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.strategy-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(5,103,52,0.4);
}
.strategy-dot:hover {
    transform: scale(1.2);
    background: var(--primary-light);
    border-color: var(--primary);
}
/* ============================================
   STRATÉGIES - TABS VERTICAUX (version finale)
   ============================================ */

/* Onglets de base : pas de bordure, juste un fond transparent */
.strategy-tab {
    background: transparent !important;
    border: none !important;          /* Pas de contour */
    color: var(--gray-700) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    margin-bottom: 6px !important;
    position: relative;
    perspective: 800px;
    transform: rotateY(0deg) translateY(0);
    box-shadow: none;
}

/* Survol léger : décalage et ombre douce */
.strategy-tab:hover {
    background: var(--gray-100) !important;
    transform: translateX(4px) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- État ACTIF : couleur de fond + effet 3D --- */
.strategy-tab.active {
    transform: perspective(800px) rotateY(-3deg) translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
    color: #fff !important;
}

/* Icône : passe en blanc sur l'onglet actif */
.strategy-tab.active i {
    color: #fff !important;
}

/* --- Couleurs spécifiques (uniquement à l'état actif) --- */

/* 1. Renforcement des acquis */
.strategy-tab.tab-renforcement.active {
    background: var(--primary) !important;
    box-shadow: 0 12px 30px rgba(5,103,52,0.25) !important;
}
/* 2. Concentration géographique */
.strategy-tab.tab-concentration.active {
    background: var(--secondary) !important;
    box-shadow: 0 12px 30px rgba(16,166,224,0.25) !important;
}
/* 3. Expertises locales */
.strategy-tab.tab-expertises.active {
    background: var(--accent) !important;
    box-shadow: 0 12px 30px rgba(191,22,34,0.25) !important;
}
/* 4. Synergies */
.strategy-tab.tab-synergies.active {
    background: var(--terracotta) !important;
    box-shadow: 0 12px 30px rgba(186,94,84,0.25) !important;
}
/* 5. Plaidoyer */
.strategy-tab.tab-plaidoyer.active {
    background: var(--gold) !important;
    color: #212529 !important; /* texte sombre pour lisibilité */
    box-shadow: 0 12px 30px rgba(243,146,0,0.25) !important;
}
.strategy-tab.tab-plaidoyer.active i {
    color: #212529 !important;
}
/* 6. Articulation */
.strategy-tab.tab-articulation.active {
    background: var(--mint) !important;
    box-shadow: 0 12px 30px rgba(88,165,125,0.25) !important;
}

/* ============================================
   PANNEaux (contenu)
   ============================================ */
.tab-pane.fade {
    transition: opacity 0.25s ease;
}
.tab-pane .card {
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    min-height: 200px;
}

/* ============================================
   JUSTIFICATION DES TEXTES (global)
   ============================================ */
.genese-text,
.article-content p,
.tab-pane .card p,
.historique-text {
    text-align: justify;
    hyphens: auto;
}
.section-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(5,103,52,0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(5,103,52,0.4);
}
.scroll-top-btn:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Mode sombre */
body.dark-mode .scroll-top-btn {
    background: var(--secondary);
    box-shadow: 0 4px 20px rgba(16,166,224,0.3);
}
body.dark-mode .scroll-top-btn:hover {
    background: var(--secondary-dark);
}

/* ============================================
   FAQ - CARTES AVEC ICÔNES AMÉLIORÉES
   ============================================ */

.faq-card {
    perspective: 1000px;
    height: 100%;
    cursor: pointer;
}

.faq-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.faq-card.active .faq-card-inner {
    transform: rotateY(180deg);
}

.faq-card-front,
.faq-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow-y: auto;
}

.faq-card-front {
    justify-content: center;
    align-items: center;
    text-align: center;
    /* gap: 12px; */
}

.faq-card-back {
    transform: rotateY(180deg);
    background: var(--gray-100);
    justify-content: flex-start;
}

.faq-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.faq-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.faq-question {
    font-family: 'Aileron', sans-serif;
    font-weight: 400;
    font-size: 1.7rem;
    color: var(--gray-900);
    margin: auto 0;       /* ← centrage vertical automatique */
    flex: 0 0 auto;       /* ← empêche l'étirement */
    width: 100%;
}

.faq-back-question {
    font-family: 'Aileron', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    width: 100%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-800);
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;        /* ← supprime l'overflow horizontal */
    padding-right: 14px;       /* ← laisse la place pour la scrollbar */
    text-align: left;          /* ← supprime le text-align: justify */
    /* ou text-align: justify; hyphens: auto; si vous voulez garder la justification */
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 0;
    margin: 8px 0;
    list-style: none;
}
.faq-answer li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    line-height: 1.6;
}
.faq-answer li i {
    margin-top: 2px;
    flex-shrink: 0;
}
.faq-answer strong {
    color: var(--primary);
}

.faq-toggle,
.faq-toggle-back {
    position: absolute;
    bottom: 16px;
    right: 16px;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-toggle svg,
.faq-toggle-back svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.faq-card:hover .faq-toggle {
    transform: scale(1.2);
}

/* ---- Mode sombre ---- */
body.dark-mode .faq-card-front {
    background: var(--gray-200);
    border-color: var(--gray-300);
}
body.dark-mode .faq-card-front .faq-question {
    color: var(--gray-900);
}
body.dark-mode .faq-card-back {
    background: var(--gray-300);
}
body.dark-mode .faq-card-back .faq-answer {
    color: var(--gray-900);
}
body.dark-mode .faq-back-question {
    color: #fff;
}
/* ============================================
   SKIP LINK (accessibilité) - Version corrigée
   ============================================ */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    transform: translateX(-50%);
    color: #fff;
    text-decoration: underline;
}
/* ============================================
   PAGE MENTIONS LÉGALES
   ============================================ */

.legal-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--gray-200);
}
.legal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08) !important;
}
.legal-card .icon-circle {
    transition: transform 0.3s ease;
}
.legal-card:hover .icon-circle {
    transform: scale(1.1);
}
.section-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
/* ============================================
   MOTIF TRIANGULAIRE (MONOGRAMME STYLISÉ)
   ============================================ */

.bg-pattern-triangles-vert {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpolygon points='40,0 80,40 40,80 0,40' fill='%23056734' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
}

.bg-pattern-triangles-gold {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpolygon points='40,0 80,40 40,80 0,40' fill='%23c9a84c' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 80px 80px;
}

.bg-pattern-triangles-opposed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon points='60,0 120,60 60,120 0,60' fill='%23056734' opacity='0.04'/%3E%3Cpolygon points='60,20 100,60 60,100 20,60' fill='%23c9a84c' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
}

.bg-pattern-triangles-strong {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon points='60,0 120,60 60,120 0,60' fill='%23056734' opacity='0.08'/%3E%3Cpolygon points='60,20 100,60 60,100 20,60' fill='%23c9a84c' opacity='0.06'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px 120px;
}
/* ============================================
   FOOTER AMÉLIORÉ (version orange uniquement)
   ============================================ */

footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* --- Titres des colonnes --- */
.footer-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.title-underline {
    position: relative;
    display: inline-block;
}
.title-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange, #fa4732);
    border-radius: 4px;
}
.footer-title i {
    color: var(--orange, #fa4732);
}

/* --- Colonne 1 : coordonnées --- */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.footer-contact-item:hover {
    border-left-color: var(--orange, #fa4732);
    background: rgba(255,255,255,0.03);
    padding-left: 16px;
}
.footer-icon {
    color: var(--orange, #fa4732);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-item a:hover {
    color: var(--orange, #fa4732);
}

/* --- Colonne 2 : liens --- */
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
}
.footer-links a i {
    color: var(--orange, #fa4732);
    font-size: 0.7rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(6px);
}
.footer-links a:hover i {
    opacity: 1;
    transform: translateX(4px);
}

/* --- Colonne 3 : Newsletter + Réseaux --- */
.newsletter-footer {
    margin-bottom: 16px;
}
.newsletter-input {
    border-radius: 50px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}
.newsletter-input::placeholder {
    color: rgba(255,255,255,0.4) !important;
}
.newsletter-input:focus {
    border-color: var(--orange, #fa4732) !important;
    box-shadow: 0 0 0 3px rgba(250,71,50,0.15) !important;
    background: rgba(255,255,255,0.08) !important;
}
.newsletter-btn {
    border-radius: 50px !important;
    background: var(--orange, #fa4732) !important;
    border-color: var(--orange, #fa4732) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    transition: all 0.3s ease;
}
.newsletter-btn:hover {
    background: #d93d2a !important;
    border-color: #d93d2a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250,71,50,0.3);
}
.footer-divider {
    border-color: rgba(255,255,255,0.06);
    margin: 16px 0;
}
.social-title {
    font-family: 'Aileron', 'Arial', sans-serif;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.social-link {
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}
.social-link:hover {
    transform: translateY(-4px);
    color: #fff !important;
}
.social-link.facebook:hover {
    background: #1877f2;
    color: #fff !important;
}
.social-link.youtube:hover {
    background: #ff0000;
    color: #fff !important;
}
.social-link.website:hover {
    background: var(--orange, #fa4732);
    color: #fff !important;
}

/* --- Séparateur final --- */
.footer-separator {
    opacity: 0.3;
    margin: 25px 0 18px;
}

/* --- Mode sombre (renforcé) --- */
body.dark-mode .footer-contact-item:hover {
    background: rgba(255,255,255,0.05);
}
body.dark-mode .newsletter-input {
    background: rgba(255,255,255,0.08) !important;
}
body.dark-mode .newsletter-input:focus {
    background: rgba(255,255,255,0.12) !important;
}
body.dark-mode .social-link {
    background: rgba(255,255,255,0.08);
}
body.dark-mode .footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* ============================================
   LIGHTBOX MODALE
   ============================================ */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 40px;
}
.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background: #1a1a1a;
}
.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    color: #fff;
    max-width: 600px;
}
.lightbox-caption h5 {
    font-family: 'Aileron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: #fff;
}
.lightbox-caption p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
}
.lightbox-caption .btn-light {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 18px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}
.lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.05);
}
.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-modal {
        padding: 15px;
    }
    .lightbox-content {
        height: 70vh;
        max-height: 500px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    .lightbox-caption h5 {
        font-size: 1rem;
    }
    .lightbox-caption p {
        font-size: 0.85rem;
    }
}
/* ============================================
   FICHIER COMPLET (avec toutes les règles existantes)
   ============================================ */

/* ... (tout votre contenu actuel jusqu'à la fin) ... */

/* ============================================
   AJOUTS : MODE CONTRASTE ÉLEVÉ & ACCESSIBILITÉ
   ============================================ */

/* --- 1. MODE CONTRASTE ÉLEVÉ (classe sur body) --- */
body.high-contrast {
    /* Désactiver les motifs subtils */
    background-image: none !important;
    background-color: #fff !important;
    color: #000 !important;
}

/* Forcer tous les textes en noir sur fond blanc */
body.high-contrast,
body.high-contrast .text-muted,
body.high-contrast .text-secondary,
body.high-contrast .text-primary,
body.high-contrast .text-dark,
body.high-contrast .text-light,
body.high-contrast .lead,
body.high-contrast p,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast .card-title,
body.high-contrast .section-title,
body.high-contrast .brick-title,
body.high-contrast .article-content p,
body.high-contrast .event-title,
body.high-contrast .team-card-modern-name,
body.high-contrast .team-card-modern-role,
body.high-contrast .team-card-modern-location {
    color: #000 !important;
}

body.high-contrast a:not(.btn):not(.social-link) {
    color: #000 !important;
    text-decoration: underline !important;
}
body.high-contrast a:not(.btn):not(.social-link):hover {
    color: #000 !important;
    text-decoration: none !important;
}

/* Arrière-plans : tout en blanc ou noir selon le cas */
body.high-contrast .card,
body.high-contrast .hero-brick,
body.high-contrast .glass,
body.high-contrast .section-hero,
body.high-contrast .page-equipe-hero,
body.high-contrast .page-events-hero,
body.high-contrast .page-gallery-hero,
body.high-contrast .page-mentions-hero,
body.high-contrast .page-transparence-hero,
body.high-contrast .filter-vertical-card,
body.high-contrast .team-card-modern,
body.high-contrast .event-item-inner,
body.high-contrast .hero-card,
body.high-contrast .value-card,
body.high-contrast .testimonial-card,
body.high-contrast .timeline-content,
body.high-contrast .legal-card,
body.high-contrast .article-summary,
body.high-contrast .faq-card-front,
body.high-contrast .faq-card-back {
    background: #fff !important;
    border-color: #000 !important;
    box-shadow: none !important;
    color: #000 !important;
}

/* Hero briques : fond noir pour les textes blancs, mais on met des couleurs vives */
body.high-contrast .brick-vert { background: #004d2a !important; }
body.high-contrast .brick-bleu { background: #0b4f6c !important; }
body.high-contrast .brick-rouge { background: #8b0f1a !important; }
body.high-contrast .brick-terracotta { background: #7a3d36 !important; }
body.high-contrast .brick-orange { background: #b33a2a !important; }
body.high-contrast .brick-mint { background: #2b6b4e !important; }
body.high-contrast .brick-jaune { background: #c99f00 !important; color: #000 !important; }
body.high-contrast .brick-gold { background: #b8860b !important; color: #000 !important; }
body.high-contrast .hero-brick .brick-text,
body.high-contrast .hero-brick .brick-title {
    color: #fff !important;
}
body.high-contrast .brick-jaune .brick-text,
body.high-contrast .brick-jaune .brick-title,
body.high-contrast .brick-gold .brick-text,
body.high-contrast .brick-gold .brick-title {
    color: #000 !important;
}

/* Stats triangles : fond noir, texte blanc */
body.high-contrast .stat-item {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}
body.high-contrast .stat-item .number,
body.high-contrast .stat-item .label {
    color: #fff !important;
}

/* Boutons : fond noir, texte blanc, bordures nettes */
body.high-contrast .btn-primary,
body.high-contrast .btn-secondary,
body.high-contrast .btn-danger,
body.high-contrast .btn-success,
body.high-contrast .btn-warning,
body.high-contrast .btn-light,
body.high-contrast .btn-dark {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}
body.high-contrast .btn-outline-primary,
body.high-contrast .btn-outline-secondary,
body.high-contrast .btn-outline-danger,
body.high-contrast .btn-outline-warning {
    border-color: #000 !important;
    color: #000 !important;
    background: transparent !important;
}
body.high-contrast .btn-outline-primary:hover,
body.high-contrast .btn-outline-secondary:hover,
body.high-contrast .btn-outline-danger:hover,
body.high-contrast .btn-outline-warning:hover {
    background: #000 !important;
    color: #fff !important;
}

/* Filtres : boutons actifs plus contrastés */
body.high-contrast .filter-v-btn.active,
body.high-contrast .filter-h-btn.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}
body.high-contrast .filter-v-btn {
    border-right-color: #000 !important;
}

/* Badges : fond noir, texte blanc */
body.high-contrast .tag-badge,
body.high-contrast .sigle-badge,
body.high-contrast .team-card-modern-badge,
body.high-contrast .filter-v-badge {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

/* Liens du footer : blanc sur noir */
body.high-contrast footer {
    background: #000 !important;
    color: #fff !important;
}
body.high-contrast footer a {
    color: #fff !important;
}
body.high-contrast footer a:hover {
    color: #ff0 !important;
}

/* --- 2. FOCUS TRAP pour la lightbox --- */
.lightbox-modal:focus-within {
    outline: 2px solid #ff0;
    outline-offset: -4px;
}

/* Indicateur de focus pour les éléments cliquables */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ff0 !important;
    outline-offset: 2px !important;
    border-color: #000 !important;
}

/* --- 3. AMÉLIORATION ARIA : messages "live" plus visibles --- */
[aria-live="polite"] {
    border: 1px solid transparent;
    padding: 4px 8px;
    border-radius: 4px;
    transition: border-color 0.3s;
}
[aria-live="polite"]:focus-within {
    border-color: #000;
}

/* --- 4. MODE SOMBRE + CONTRASTE ÉLEVÉ : on désactive le mode sombre --- */
body.dark-mode.high-contrast {
    background: #fff !important;
    color: #000 !important;
}
body.dark-mode.high-contrast .navbar {
    background: #fff !important;
}
body.dark-mode.high-contrast .navbar .nav-link {
    color: #000 !important;
}
body.dark-mode.high-contrast .navbar .nav-link.active {
    color: #000 !important;
}
body.dark-mode.high-contrast .navbar .nav-link::after {
    background: #000 !important;
}
/* désactiver le dark mode pour tous les éléments */
body.dark-mode.high-contrast .card,
body.dark-mode.high-contrast .hero-brick:not(.brick-vert) .brick-content,
body.dark-mode.high-contrast .glass {
    background: #fff !important;
    color: #000 !important;
}
body.dark-mode.high-contrast .text-muted {
    color: #000 !important;
}
body.dark-mode.high-contrast .bg-pattern-body {
    background-image: none !important;
}
body.dark-mode.high-contrast footer {
    background: #000 !important;
    color: #fff !important;
}

/* --- 5. TOGGLE DU MODE CONTRASTE ÉLEVÉ (bouton dans le header) --- */
/* Style du bouton (à ajouter dans header.inc.php) */
.contrast-toggle {
    background: transparent;
    border: 2px solid var(--gray-600);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.8rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.contrast-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}
body.high-contrast .contrast-toggle {
    border-color: #000;
    color: #000;
    background: #ff0;
    font-weight: 700;
}
body.high-contrast .contrast-toggle:hover {
    background: #000;
    color: #ff0;
    border-color: #000;
}
/* --- Illustrations des héros --- */
.page-equipe-hero .hero-illustration,
.page-events-hero .hero-illustration,
.page-gallery-hero .hero-illustration,
.page-transparence-hero .hero-illustration,
.page-mentions-hero .hero-illustration {
    position: absolute;
    left: 30%;
    top: 40%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    height: 90%;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}
.contrast-toggle {
    background: transparent;
    border: 2px solid var(--gray-600);
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 1.1rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}
.contrast-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}
body.high-contrast .contrast-toggle {
    border-color: #000;
    color: #000;
    background: #ff0;
    font-weight: 700;
}
body.high-contrast .contrast-toggle:hover {
    background: #000;
    color: #ff0;
    border-color: #000;
}
@media (max-width: 992px) {
    .page-equipe-hero .hero-illustration,
    .page-events-hero .hero-illustration,
    .page-gallery-hero .hero-illustration,
    .page-transparence-hero .hero-illustration,
    .page-mentions-hero .hero-illustration  {
        width: 60%;
        opacity: 1;
        right: -10%;
    }
}
@media (max-width: 768px) {
    .page-equipe-hero .hero-illustration,
    .page-events-hero .hero-illustration,
    .page-gallery-hero .hero-illustration,
    .page-transparence-hero .hero-illustration,
    .page-mentions-hero .hero-illustration  {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-modal {
        padding: 15px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    .lightbox-content img {
        max-height: 60vh;
    }
    .lightbox-caption h5 {
        font-size: 1rem;
    }
    .lightbox-caption p {
        font-size: 0.85rem;
    }
}
/* ---- Responsive ---- */
/* Tablettes et petits écrans */
@media (max-width: 992px) {
    .faq-card-inner {
        min-height: 360px;
    }
    .faq-card-front,
    .faq-card-back {
        padding: 20px 18px;
    }
    .faq-question {
        font-size: 1rem;
    }
    .faq-answer {
        font-size: 1rem;
    }
    .faq-back-question {
        font-size: 1rem;
        padding: 10px 14px;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .faq-card-inner {
        min-height: 300px;
    }
    .faq-card-front,
    .faq-card-back {
        padding: 16px 14px;
    }
    .faq-question {
        font-size: 0.95rem;
    }
    .faq-answer {
        font-size: 0.95rem;
    }
    .faq-back-question {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin-bottom: 12px;
    }
    .faq-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .faq-icon svg {
        width: 20px;
        height: 20px;
    }
    .faq-toggle svg,
    .faq-toggle-back svg {
        width: 24px;
        height: 24px;
    }
}

/* Très petits mobiles */
@media (max-width: 380px) {
    .faq-card-inner {
        min-height: 280px;
    }
    .faq-card-front,
    .faq-card-back {
        padding: 14px 12px;
    }
    .faq-question {
        font-size: 0.9rem;
    }
    .faq-answer {
        font-size: 0.9rem;
    }
    .faq-back-question {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-pills {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 6px;
    }
    .strategy-tab {
        flex: 0 0 auto;
        padding: 8px 14px !important;
        font-size: 0.85rem;
        margin-bottom: 0 !important;
    }
    .strategy-tab i {
        margin-right: 4px !important;
    }
    .strategy-tab.active {
        transform: none !important; /* on désactive l'effet 3D sur mobile pour éviter l'empilement */
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }
    .tab-pane .card {
        min-height: auto;
        padding: 16px !important;
    }
}
/* 4. Responsive */
@media (max-width: 992px) {
    #strategy-bubble {
        top: -18% !important;
        right: 2% !important;
        width: 70% !important;
        max-width: 220px !important;
        padding: 10px 14px !important;
    }
    #bubble-title {
        font-size: 0.85rem !important;
    }
    #bubble-desc {
        font-size: 0.7rem !important;
    }
    .strategy-slider-indicators {
        top: 15% !important;
        left: 5% !important;
    }
    .strategy-dot {
        width: 12px !important;
        height: 12px !important;
    }
}
@media (max-width: 768px) {
    #strategy-bubble {
        top: -10% !important;
        right: 2% !important;
        width: 65% !important;
        max-width: 180px !important;
        padding: 6px 10px !important;
    }
    #bubble-title {
        font-size: 0.7rem !important;
    }
    #bubble-desc {
        font-size: 0.6rem !important;
        margin: 2px 0 4px 0 !important;
    }
    #strategy-bubble a {
        font-size: 0.6rem !important;
    }
    .strategy-slider-indicators {
        top: 10% !important;
        left: 3% !important;
        gap: 6px !important;
    }
    .strategy-dot {
        width: 10px !important;
        height: 10px !important;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .hero-diagonal {
        transform: skewX(-20deg);
        width: 60%;
    }
}
@media (max-width: 768px) {
    .hero-diagonal {
        display: none;
    }
    .hero-card-wrapper {
        perspective: none;
    }
    .hero-card {
        transform: none !important;
        margin-top: 20px;
    }
    .hero-card:hover {
        transform: none !important;
    }
}
/* Responsive slider overlay */
@media (max-width: 768px) {
    .hero-slide-overlay {
        padding: 20px 15px 15px 15px;
    }
    .hero-slide-overlay .brick-title {
        font-size: 1.5rem;
    }
    .hero-slide-overlay .brick-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-bricks {
        grid-template-columns: 1fr 1fr;
    }
    .hero-card {
        border-left-width: 10px;
        border-top-width: 14px;
        border-radius: 24px;
        margin-top: 20px;
    }
    .contact-chip span {
        font-size: 0.75rem;
    }
    .timeline-simple-date {
        min-width: 100px;
        font-size: 0.8rem;
    }
    .timeline-simple.two-columns {
        grid-template-columns: 1fr;
        padding-left: 10px;
    }
    .sticky-section-wrapper {
        position: static;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .hero-bricks {
        grid-template-columns: 1fr;
    }
    .hero-brick {
        min-height: 150px;
        padding: 30px 20px;
    }
    .hero-brick .brick-title {
        font-size: 1.5rem;
    }
    .section-hero h1 {
        font-size: 2rem;
    }
    .section-hero {
        padding: 50px 0;
    }
    .stat-item {
        min-height: 200px;
    }
    .stat-item.triangle-up,
    .stat-item.triangle-down {
        clip-path: none;
        border-radius: var(--radius);
    }
    .stat-item::after,
    .hero-brick:not(:first-child)::after {
        display: none;
    }
    .intro-fullwidth-inner {
        padding: 40px 0;
    }
    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        left: 10px;
        right: 10px;
        opacity: 0.8;
    }
    .nav-arrow-prev {
        left: 10px;
    }
    .nav-arrow-next {
        right: 10px;
    }
    .facebook-card-wrapper {
        margin-top: -40px;
        padding: 0 15px;
    }
    .facebook-card {
        max-width: 100%;
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 60px;
    }
    .timeline-badge {
        min-width: 50px;
        height: 50px;
        font-size: 0.9rem;
        margin: 0 0 10px 0;
        position: absolute;
        left: 5px;
    }
    .timeline-content {
        max-width: 100%;
        width: 100%;
        border-left: 4px solid var(--primary) !important;
        border-right: none !important;
    }
    .hero-decor-icon {
        font-size: 12rem;
        right: 0;
        bottom: -5%;
    }
    .brick-title-sm {
        font-size: 1rem !important;
    }
    .brick-icon-svg svg {
        width: 40px;
        height: 40px;
    }
    /* Réduction des briques sur mobile */
    .hero-brick.brick-sm {
        min-height: 120px;
        padding: 16px 14px;
    }
    .hero-brick.brick-sm .brick-icon-svg.brick-icon-sm svg {
        width: 30px;
        height: 30px;
    }
    .hero-brick.brick-sm .brick-text {
        font-size: 0.8rem;
    }
    /* Objectifs */
    .objectifs-wrapper.side-by-side {
        flex-wrap: wrap;
    }
    .objectifs-wrapper.side-by-side .objectifs-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .objectifs-list.two-columns-list {
        columns: 1;
    }
}
@media (max-width: 576px) {
    .hero-card {
        border-left-width: 8px;
        border-top-width: 12px;
        border-radius: 20px;
    }
    .contact-chip {
        min-height: 40px;
        padding: 6px 10px;
    }
    .hero-card-header .fw-bold {
        font-size: 0.85rem;
    }
    .hero-card-body {
        padding: 12px 14px 4px 14px;
    }
    .hero-card-footer {
        padding: 10px 14px 14px 14px;
    }
    .timeline-simple-item {
        flex-direction: column;
        gap: 2px;
    }
    .timeline-simple-date {
        min-width: auto;
    }
    .bureau-card {
        padding: 8px 10px;
    }
    .bureau-nom {
        font-size: 0.8rem;
    }
}
@media (min-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }
    .summary-item:last-child:nth-child(odd) {
        grid-column: span 2;
    }
}

/* ============================================
   AMÉLIORATIONS GÉNÉRALES (DARK MODE, PARALLAXE, AOS)
   ============================================ */

/* ---- PARALLAXE ---- */
.parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ---- DARK MODE (s'applique via la classe sur body) ---- */
body.dark-mode {
    --gray-100: #2b2b2b;
    --gray-200: #3a3a3a;
    --gray-300: #4a4a4a;
    --gray-400: #6c6c6c;
    --gray-600: #a0a0a0;
    --gray-800: #d0d0d0;
    --gray-900: #f0f0f0;
    --white: #1e1e1e;
    --primary-light: #1a3a2a;
    --secondary-light: #1a2f3a;
    background-color: #1a1a1a;
    color: #e0e0e0;
}
body.dark-mode .navbar {
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(10px);
}
body.dark-mode .navbar .nav-link {
    color: #ffffff !important; /* Liens au repos : blanc pur */
}
body.dark-mode .navbar .nav-link:hover,
body.dark-mode .navbar .nav-link:focus {
    color: var(--primary-light)!important; /* Survol : vert clair */
}

body.dark-mode .navbar .nav-link.active {
    color: var(--primary-light) !important; /* Page active : vert clair */
}

body.dark-mode .navbar .nav-link::after {
    background: var(--primary-light);
}

/* Optionnel : flèche du dropdown en blanc */
body.dark-mode .navbar .dropdown-toggle::after {
    filter: invert(1) brightness(2); /* Rend la flèche blanche */
}

/* Optionnel : liens du dropdown (sous-menu) en gris clair pour contraste */
body.dark-mode .dropdown-item {
    color: var(--gray-400) !important;
}
body.dark-mode .dropdown-item:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}

body.dark-mode .card,
body.dark-mode .hero-brick:not(.brick-vert) .brick-content,
body.dark-mode .glass {
    background: rgba(40, 40, 40, 0.85) !important;
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.05);
    color: var(--gray-800);
}
body.dark-mode .card .text-muted,
body.dark-mode .glass .text-muted {
    color: var(--gray-600) !important;
}
body.dark-mode .bg-pattern-body {
    background-image: none;
}
body.dark-mode footer {
    background: #0f0f0f;
}
body.dark-mode .stat-item {
    border: 1px solid rgba(255,255,255,0.05);
}
body.dark-mode .bureau-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
}
body.dark-mode .bureau-card .bureau-nom {
    color: var(--gray-900);
}
body.dark-mode .bureau-fonction {
    color: var(--gray-400);
}
body.dark-mode .section-card-sobre {
    background: #2a2a2a;
}
body.dark-mode .section-card-sobre-title {
    color: var(--gray-900);
}
body.dark-mode .section-card-sobre-stats {
    color: var(--gray-600);
}
body.dark-mode .value-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
}
body.dark-mode .value-card h5 {
    color: var(--gray-900);
}
body.dark-mode .value-card p {
    color: var(--gray-600);
}
body.dark-mode .testimonial-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
}
body.dark-mode .testimonial-card p {
    color: var(--gray-800);
}
body.dark-mode .testimonial-card .fw-bold {
    color: var(--primary-light);
}
body.dark-mode .timeline-content {
    background: #2a2a2a;
}
body.dark-mode .timeline-content h5 {
    color: var(--primary-light);
}
body.dark-mode .timeline-content p {
    color: var(--gray-600);
}
body.dark-mode .strategy-tab {
    color: var(--gray-600) !important;
}
body.dark-mode .strategy-tab:hover {
    background: rgba(255,255,255,0.05) !important;
}
body.dark-mode .strategy-tab.active {
    color: #fff !important;
}
body.dark-mode .strategy-tab.tab-plaidoyer.active {
    color: #212529 !important;
}
body.dark-mode #strategy-bubble {
    background: #2a2a2a !important;
    border-color: var(--gold) !important;
}
body.dark-mode #strategy-bubble #bubble-title {
    color: var(--primary-light) !important;
}
body.dark-mode #strategy-bubble #bubble-desc {
    color: var(--gray-600) !important;
}
body.dark-mode .filter-badge {
    background: rgba(255,255,255,0.05) !important;
    color: var(--gray-400) !important;
}
body.dark-mode .filter-badge.active {
    background: var(--gray-800) !important;
    color: #fff !important;
}
body.dark-mode .card-news {
    background: rgba(40,40,40,0.85) !important;
    border-color: rgba(255,255,255,0.05);
}
body.dark-mode .card-news-title {
    color: var(--gray-900);
}
body.dark-mode .card-news-excerpt {
    color: var(--gray-600);
}
body.dark-mode .card-news-date {
    color: var(--gray-400);
}
body.dark-mode .pagination-custom .page-link {
    background: rgba(40,40,40,0.5);
    color: var(--gray-600);
}
body.dark-mode .pagination-custom .page-link:hover {
    background: var(--primary);
    color: #fff;
}
body.dark-mode .pagination-custom .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
}
body.dark-mode .partner-logo {
    background: #2a2a2a;
    border-color: #3a3a3a;
}
body.dark-mode .partner-logo img {
    filter: brightness(0.8);
}
body.dark-mode .btn-outline-primary {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
body.dark-mode .btn-outline-primary:hover {
    background: var(--primary-light);
    color: #1a1a1a;
}
body.dark-mode .breadcrumb-item a {
    color: var(--primary-light);
}
body.dark-mode .breadcrumb-item.active {
    color: var(--gray-400);
}
body.dark-mode .article-summary {
    background: #2a2a2a;
    border-left-color: var(--primary-light);
}
body.dark-mode .summary-label {
    color: var(--gray-400);
}
body.dark-mode .summary-item p {
    color: var(--gray-800);
}
body.dark-mode .details-title {
    border-bottom-color: #3a3a3a;
}
body.dark-mode .hero-card {
    background: rgba(40,40,40,0.9) !important;
    border-color: rgba(255,255,255,0.05);
    color: var(--gray-800);
}
body.dark-mode .hero-card * {
    color: var(--gray-800) !important;
}
body.dark-mode .contact-chip {
    background: rgba(255,255,255,0.05);
}
body.dark-mode .hero-card-footer .btn {
    color: #fff !important;
}
body.dark-mode .hero-card-header .fw-bold {
    color: var(--gray-800) !important;
}

/* ---- AOS désactivé sur mobile ---- */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-brick {
        animation-duration: 0.5s !important;
    }
}