/* ===== VARIABLES ===== */

/* ===== FORMULAIRES ===== */
.form-control, .form-select {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.2);
}

/* ===== BOUTONS FILTRES ===== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    padding-left: 45px;
    border-radius: 50px;
}

:root {
    --primary-blue: #003399;
    --primary-blue-dark: #002266;
    --primary-blue-light: #0066CC;
    --primary-yellow: #FFCC00;
    --primary-yellow-dark: #E6B800;
    --dark-bg: #0a0f1a;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --gray-light: #e9ecef;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(0, 51, 153, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-yellow) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    background: rgba(0, 51, 153, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    margin-top: 10px;
}

.dropdown-item {
    color: white;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* ===== HERO SECTION PLEIN ÉCRAN AVEC IMAGE ===== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('../images/logo-fond-acceuil.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Fallback si l'image ne charge pas */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    opacity: 0;
}

/* Overlay pour assombrir l'image et rendre le texte lisible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.75), rgba(0, 102, 204, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-yellow);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-yellow), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-yellow);
    border: none;
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    background: white;
    color: var(--primary-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Animation de zoom subtile sur l'arrière-plan */
@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-section {
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-yellow);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.stat-plus {
    color: var(--primary-blue);
}

/* ===== CARTES GLASSMORPHISM ===== */
.card-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    height: 100%;
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-blue-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer h5 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.header-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-blue));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===== TIMELINE ===== */
.timeline {
    margin-top: 30px;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.timeline-year {
    min-width: 80px;
    font-weight: 800;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.timeline-text {
    flex: 1;
}

.timeline-vertical {
    position: relative;
    padding-left: 30px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-yellow);
}

.timeline-item-vertical {
    position: relative;
    margin-bottom: 30px;
}

.timeline-year-vertical {
    position: absolute;
    left: -30px;
    top: 0;
    background: var(--primary-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.timeline-content-vertical {
    padding-left: 20px;
    padding-top: 5px;
}

/* ===== MISSION CARDS ===== */
.mission-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.mission-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mission-card-large {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mission-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-icon-large {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mission-card-large ul {
    margin-top: 15px;
    padding-left: 20px;
}

.mission-card-large li {
    margin-bottom: 8px;
}

/* ===== ORGANIGRAMME ===== */
.org-chart {
    text-align: center;
}

.org-level-1, .org-level-2, .org-level-3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.org-card {
    background: var(--primary-blue);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 180px;
}

.organigramme-complet {
    text-align: center;
}

.org-niveau-1, .org-niveau-2, .org-niveau-3, .org-niveau-4 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.org-node {
    background: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 500;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== MEMBER CARDS ===== */
.member-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--gray-light);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-blue);
}

.member-card-large {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.member-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.member-photo-large {
    width: 100px;
    height: 100px;
    background: var(--gray-light);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-blue);
}

.member-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin: 10px 0;
}

.member-bio {
    font-size: 0.85rem;
    color: #666;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--primary-blue);
    color: white;
}

.service-card:hover .service-icon {
    color: var(--primary-yellow);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-mini-card {
    display: block;
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-mini-card:hover {
    transform: translateY(-5px);
    background: var(--primary-blue);
    color: white;
}

.service-mini-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.service-mini-card:hover .service-mini-icon {
    color: white;
}

.service-mini-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-mini-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card-full {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card-full:hover {
    transform: translateY(-10px);
    background: var(--primary-blue);
    color: white;
}

.service-card-full:hover .service-icon-full {
    color: var(--primary-yellow);
}

.service-icon-full {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

.service-card-full:hover .service-link {
    color: var(--primary-yellow);
}

.service-card-modern {
    display: block;
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.service-card-modern:hover {
    transform: translateY(-15px);
    background: var(--primary-blue);
}

.service-card-modern:hover h3,
.service-card-modern:hover p,
.service-card-modern:hover .service-card-modern-link {
    color: white;
}

.service-card-modern-icon {
    width: 80px;
    height: 80px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card-modern-icon i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-card-modern-icon {
    background: rgba(255,255,255,0.2);
}

.service-card-modern:hover .service-card-modern-icon i {
    color: var(--primary-yellow);
}

.service-card-modern h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.service-card-modern p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-modern-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card-modern-link i {
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-card-modern-link i {
    transform: translateX(5px);
}

/* ===== LEADERS CARDS ===== */
.leader-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.leader-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
}

.leader-card-large {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.leader-card-large:hover {
    transform: translateY(-10px);
}

.leader-photo-large {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 5px solid var(--primary-yellow);
}

.leader-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card-large h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.leader-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.leader-message {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
}

/* ===== MOT DG SECTION ===== */
.mot-dg-section-large {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.dg-photo-large-wrapper {
    text-align: center;
}

.dg-photo-large {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 5px solid var(--primary-yellow);
}

.dg-photo-large img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.dg-signature {
    margin-top: 25px;
    text-align: center;
}

.dg-signature h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.mot-dg-content {
    position: relative;
    padding: 20px;
}

.mot-dg-content i.fa-quote-left {
    font-size: 3rem;
    color: var(--primary-yellow);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.mot-dg-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mot-dg-content-large {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mot-dg-content-large i.fa-quote-left {
    font-size: 4rem;
    color: var(--primary-yellow);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.mot-dg-content-large p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.signature {
    text-align: right;
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 600;
}

.signature-block {
    margin-top: 30px;
    text-align: right;
}

.signature-line {
    width: 100px;
    height: 2px;
    background: var(--primary-blue);
    margin: 10px 0 10px auto;
}

/* ===== ALTERNANCE SECTIONS (MANDATAIRES) ===== */
.alternance-section {
    padding: 80px 0;
}

.alternance-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.alternance-image img {
    width: 100%;
    height: auto;
    display: block;
}

.alternance-content {
    padding: 20px;
}

.alternance-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.alternance-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin: 25px 0 15px;
}

.alternance-content ul {
    padding-left: 20px;
}

.alternance-content li {
    margin-bottom: 10px;
}

/* ===== VALUE CARDS ===== */
.value-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    background: var(--primary-blue);
    color: white;
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.value-card:hover i {
    color: white;
}

/* ===== REALISATION CARDS ===== */
.realisation-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.realisation-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.realisation-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 15px;
}

.status-termine {
    background: #28a745;
    color: white;
}

.status-en-cours {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* ===== ACTEUR CARDS ===== */
.acteur-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.acteur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.acteur-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.acteur-card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.acteur-card li {
    margin-bottom: 8px;
}

/* ===== TARIF CARDS ===== */
.tarif-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.tarif-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-yellow);
    margin: 20px 0;
}

/* ===== PROCEDURE CARDS ===== */
.procedure-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.procedure-card:hover {
    transform: translateY(-5px);
}

.procedure-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,51,153,0.1);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: var(--primary-yellow);
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i:first-child {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.faq-question i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

/* ===== PARTNERS GRID ===== */
.partners-grid, .partners-grid-large {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-item, .partner-card {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-weight: 600;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease;
}

.partner-item:hover, .partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-card small {
    display: block;
    font-weight: normal;
    font-size: 0.8rem;
    color: #666;
}

/* ===== FORMULAIRES ===== */
.form-control, .form-select {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.2);
}

/* ===== BOUTONS FILTRES ===== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    padding-left: 45px;
    border-radius: 50px;
}

/* ===== TABLES MODERNES ===== */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern th {
    background: var(--primary-blue);
    color: white;
    padding: 12px 15px;
}

.table-modern td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.table-modern tr:hover td {
    background: rgba(0,51,153,0.05);
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* ===== TRACKING STEPS ===== */
.tracking-steps {
    margin-top: 15px;
}

.tracking-steps div {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== NEWS CARDS ===== */
.news-card .news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

/* ===== APPEL CARDS ===== */
.appel-card {
    position: relative;
}

.appel-type {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ===== ALERT CARD ===== */
.alert-card-danger {
    background: #f8d7da;
    color: #721c24;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid #dc3545;
}

.alert-card-danger i {
    font-size: 1.8rem;
}

/* ===== BACKGROUND ALTERNÉ ===== */
.bg-light {
    background: #f8f9fa;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    padding: 80px 0;
}

/* ===== MODE SOMBRE ===== */
body.dark-mode {
    background: var(--dark-bg);
    color: #e0e0e0;
}

body.dark-mode .navbar {
    background: rgba(10, 15, 26, 0.95);
}

body.dark-mode .card-glass {
    background: rgba(30, 35, 50, 0.9);
    border-color: rgba(255,255,255,0.1);
    color: #e0e0e0;
}

body.dark-mode .stats-section {
    background: var(--dark-bg);
}

body.dark-mode .stat-card {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .mission-card,
body.dark-mode .member-card,
body.dark-mode .service-card,
body.dark-mode .leader-card,
body.dark-mode .leader-card-large,
body.dark-mode .mission-card-large,
body.dark-mode .value-card,
body.dark-mode .testimonial-card,
body.dark-mode .partner-item,
body.dark-mode .partner-card,
body.dark-mode .realisation-card,
body.dark-mode .acteur-card,
body.dark-mode .tarif-card,
body.dark-mode .procedure-card,
body.dark-mode .faq-item,
body.dark-mode .faq-question,
body.dark-mode .service-card-full,
body.dark-mode .service-card-modern,
body.dark-mode .member-card-large,
body.dark-mode .mot-dg-content-large {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .section-header p {
    color: #aaa;
}

body.dark-mode .leader-message {
    color: #aaa;
}

body.dark-mode .member-bio {
    color: #aaa;
}

body.dark-mode .faq-answer {
    background: #151a28;
}

body.dark-mode .payment-method {
    background: #1a1f2e;
}

body.dark-mode .table-modern td {
    border-bottom-color: #333;
}

body.dark-mode .alternance-content h3 {
    color: var(--primary-yellow);
}

body.dark-mode .service-card-modern p {
    color: #aaa;
}

body.dark-mode .service-card-modern h3 {
    color: white;
}

body.dark-mode .filter-btn {
    border-color: #333;
    color: #aaa;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    border-color: var(--primary-yellow);
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

.dark-mode-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    color: var(--primary-yellow);
    transform: rotate(15deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .org-level-2, .org-level-3,
    .org-niveau-2, .org-niveau-3, .org-niveau-4 {
        flex-direction: column;
        align-items: center;
    }
    
    .org-card, .org-node {
        width: 80%;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .leader-photo-large {
        width: 150px;
        height: 150px;
    }
    
    .alternance-section .row {
        flex-direction: column !important;
    }
    
    .alternance-image {
        margin-bottom: 30px;
    }
    
    .mot-dg-content-large {
        margin-top: 30px;
    }
    
    .service-card-modern {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }
    
    .stats-section {
        padding: 50px 0;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .tarif-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .card-glass {
        padding: 20px;
    }
}

/* ===== STYLES PAGES MESSAGERIE ===== */
.messagerie-section {
    padding: 80px 0;
}

.messagerie-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.messagerie-card form {
    padding: 40px;
}

.card-header-custom {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 30px;
    text-align: center;
}

.card-header-custom i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.card-header-custom h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.card-header-custom p {
    opacity: 0.9;
    margin-bottom: 0;
}

.contact-info-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

.contact-details {
    padding: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-text p {
    margin-bottom: 3px;
    color: #555;
}

.contact-text small {
    color: #888;
}

.emergency-contact {
    background: linear-gradient(135deg, #fff3e0, #ffe8cc);
    padding: 20px 25px;
    margin: 0 30px 30px;
    border-radius: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.emergency-contact i {
    font-size: 2rem;
    color: #ff6b35;
}

.emergency-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.emergency-contact p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.secure-access {
    background: #f8f9fa;
    padding: 25px 30px;
    margin: 0 30px 30px;
    border-radius: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.secure-access i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.secure-access h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.secure-access p {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #666;
}

.faq-rapide-section {
    padding: 80px 0;
}

.faq-rapide-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.faq-rapide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.faq-rapide-card i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.faq-rapide-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-rapide-card p {
    color: #666;
    margin-bottom: 0;
}

/* ===== STYLES PAGES RÈGLEMENTATIONS ===== */
.reglementations-intro {
    padding: 60px 0 0;
}

.intro-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    border-radius: 24px;
    padding: 35px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.intro-card i {
    font-size: 3rem;
    color: var(--primary-yellow);
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.intro-card p {
    opacity: 0.9;
    margin-bottom: 0;
}

.search-filters-section {
    padding: 50px 0;
}

.search-filters-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.reglements-grid-section {
    padding: 30px 0 80px;
}

.document-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.doc-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.doc-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.doc-badge.avis-aux-chargeurs,
.doc-badge.avis {
    background: #e3f2fd;
    color: #1976d2;
}

.doc-badge.arrêtés,
.doc-badge.arretes {
    background: #e8f5e9;
    color: #388e3c;
}

.doc-badge.circulaires {
    background: #fff3e0;
    color: #f57c00;
}

.doc-badge.grilles-tarifaires,
.doc-badge.grilles {
    background: #fce4ec;
    color: #c2185b;
}

.doc-badge.autres {
    background: #f3e5f5;
    color: #7b1fa2;
}

.document-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.doc-date {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 12px;
}

.doc-resume {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
    margin-top: 30px;
}

.no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.textes-fondamentaux-section {
    padding: 80px 0;
}

.texte-fondamental-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
}

.texte-fondamental-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.texte-fondamental-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.texte-fondamental-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.texte-fondamental-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.appels-offres-section {
    padding: 80px 0;
}

.appel-offre-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
}

.appel-offre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.appel-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e8f5e9;
    color: #388e3c;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.appel-badge.urgent {
    background: #ffebee;
    color: #d32f2f;
}

.appel-offre-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-right: 80px;
}

.appel-offre-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.appel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.appel-meta span {
    font-size: 0.85rem;
    color: #888;
}

.appel-meta span i {
    margin-right: 5px;
}

/* Modal styles */
.modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    border: none;
    padding: 20px 25px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 25px;
}

/* Form floating styles */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: 60px;
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.form-floating > label i {
    margin-right: 8px;
    opacity: 0.6;
}

textarea.form-control {
    min-height: 120px;
}

/* Mode sombre pour messagerie et règlements */
body.dark-mode .messagerie-card,
body.dark-mode .contact-info-card,
body.dark-mode .faq-rapide-card,
body.dark-mode .search-filters-card,
body.dark-mode .document-card,
body.dark-mode .texte-fondamental-card,
body.dark-mode .appel-offre-card,
body.dark-mode .no-results {
    background: #1a1f2e;
}

body.dark-mode .contact-item {
    border-bottom-color: #333;
}

body.dark-mode .contact-text p {
    color: #aaa;
}

body.dark-mode .secure-access {
    background: #151a28;
}

body.dark-mode .emergency-contact {
    background: #2a1f1a;
}

body.dark-mode .doc-resume,
body.dark-mode .appel-offre-card p {
    color: #aaa;
}

body.dark-mode .texte-fondamental-card p {
    color: #aaa;
}

body.dark-mode .appel-meta span {
    color: #888;
}

/* Responsive messagerie et règlements */
@media (max-width: 992px) {
    .messagerie-card form {
        padding: 30px;
    }
    
    .contact-details {
        padding: 25px;
    }
    
    .emergency-contact,
    .secure-access {
        margin: 0 20px 20px;
    }
    
    .intro-card {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .messagerie-section {
        padding: 50px 0;
    }
    
    .card-header-custom {
        padding: 25px;
    }
    
    .card-header-custom h2 {
        font-size: 1.4rem;
    }
    
    .messagerie-card form {
        padding: 25px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .appel-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .appel-offre-card h3 {
        padding-right: 0;
        margin-top: 15px;
    }
    
    .appel-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* ===== HISTORIQUE SECTION STYLES ===== */
.historique-section {
    padding: 80px 0;
}

.historique-texte {
    padding-right: 30px;
}

.historique-texte p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Timeline moderne */
.timeline-moderne {
    position: relative;
    padding-left: 30px;
}

.timeline-moderne::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-yellow), var(--primary-blue));
    border-radius: 3px;
}

.timeline-item-moderne {
    position: relative;
    margin-bottom: 35px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--primary-yellow);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 2;
}

.timeline-year-moderne {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content-moderne {
    padding-left: 20px;
}

.timeline-content-moderne h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.timeline-content-moderne p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Mode sombre */
body.dark-mode .historique-texte p {
    color: #e0e0e0;
}

body.dark-mode .timeline-content-moderne p {
    color: #aaa;
}

body.dark-mode .timeline-content-moderne h4 {
    color: var(--primary-yellow);
}

body.dark-mode .timeline-dot {
    background: var(--primary-yellow);
    border-color: var(--primary-blue-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .historique-texte {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .timeline-moderne {
        padding-left: 25px;
    }
    
    .timeline-dot {
        left: -25px;
    }
}

@media (max-width: 768px) {
    .historique-section {
        padding: 50px 0;
    }
    
    .historique-texte p {
        font-size: 0.95rem;
    }
    
    .timeline-content-moderne h4 {
        font-size: 1rem;
    }
    
    .timeline-content-moderne p {
        font-size: 0.85rem;
    }
}

/* ===== SERVICES PAGES STYLES ===== */
.service-content-section {
    padding: 60px 0;
}

.service-card-glass {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

.service-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-yellow);
}

.service-card-header i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.service-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.service-info-card {
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.service-info-card i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.service-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-info-card p {
    margin-bottom: 0;
    color: #555;
}

.search-box-wrapper {
    margin-bottom: 30px;
}

.table-responsive-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.table-service {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-service th {
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    font-weight: 600;
}

.table-service td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.table-service tr:hover td {
    background: rgba(0,51,153,0.05);
}

.service-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Operateurs list */
.operateurs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.operateur-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.operateur-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.operateur-icon {
    width: 60px;
    height: 60px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.operateur-info {
    flex: 1;
}

.operateur-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.operateur-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.badge-maritime, .badge-aerien, .badge-routier {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-maritime { background: #e3f2fd; color: #1976d2; }
.badge-aerien { background: #e8f5e9; color: #388e3c; }
.badge-routier { background: #fff3e0; color: #f57c00; }

.filter-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-blue);
}

/* Steps list */
.steps-list {
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Progress steps */
.progress-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.progress-step {
    padding: 5px 12px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #666;
}

.progress-step.completed {
    background: #28a745;
    color: white;
}

.progress-step.active {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Categories produits */
.categorie-produits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.categorie-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
}

.categorie-item i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Formalites list */
.formalites-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.formalite-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

.formalite-num {
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Offres cards */
.offre-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.offre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

.offre-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    padding: 20px;
    text-align: center;
}

.offre-header i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.offre-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.offre-body {
    padding: 20px;
}

.offre-body p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.offre-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 10px;
}

.offre-type.maritime { background: #e3f2fd; color: #1976d2; }
.offre-type.aerien { background: #e8f5e9; color: #388e3c; }
.offre-type.routier { background: #fff3e0; color: #f57c00; }

.offre-footer {
    padding: 15px 20px 20px;
    border-top: 1px solid #eee;
}

/* Demandes list */
.demandes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demande-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.demande-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffebee;
    color: #d32f2f;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.demande-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 80px;
}

.demande-item p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

/* Payment methods */
.payment-methods-card, .payment-form-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    height: 100%;
}

.payment-methods-card h3, .payment-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-yellow);
}

.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-item i {
    font-size: 1.3rem;
    color: var(--primary-blue);
}

.security-badge {
    text-align: center;
    padding: 12px;
    background: #e8f5e9;
    border-radius: 12px;
    color: #388e3c;
}

.security-badge i {
    margin-right: 8px;
}

/* Info banner */
.info-banner {
    background: #e3f2fd;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-banner i {
    font-size: 1.5rem;
    color: #1976d2;
}

/* Mode sombre services */
body.dark-mode .service-card-glass,
body.dark-mode .filter-card,
body.dark-mode .offre-card,
body.dark-mode .demande-item,
body.dark-mode .payment-methods-card,
body.dark-mode .payment-form-card,
body.dark-mode .operateur-card,
body.dark-mode .table-service {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .service-info-card {
    background: #1a2a3a;
}

body.dark-mode .service-info-card p {
    color: #aaa;
}

body.dark-mode .categorie-item,
body.dark-mode .formalite-item,
body.dark-mode .payment-method-item {
    background: #151a28;
}

body.dark-mode .table-service td {
    border-bottom-color: #333;
}

body.dark-mode .offre-footer {
    border-top-color: #333;
}

body.dark-mode .demande-item p {
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .service-content-section {
        padding: 40px 0;
    }
    
    .service-card-glass {
        padding: 20px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .operateur-card {
        flex-direction: column;
        text-align: center;
    }
    
    .offre-header h3 {
        font-size: 1rem;
    }
}

/* ===== PARTENAIRES SECTION STYLES ===== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-item {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    background: rgba(0,51,153,0.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.partner-fallback {
    display: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    line-height: 1.3;
}

.partner-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.partner-item small {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
}

/* Mode sombre */
body.dark-mode .partners-section {
    background: var(--dark-bg);
}

body.dark-mode .partner-item {
    background: #1a1f2e;
}

body.dark-mode .partner-name {
    color: #e0e0e0;
}

body.dark-mode .partner-logo {
    background: #151a28;
}

body.dark-mode .partner-item small {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }
    
    .partner-item {
        min-width: 150px;
        padding: 20px 15px;
    }
    
    .partner-logo {
        width: 80px;
        height: 80px;
    }
    
    .partner-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .partners-grid {
        gap: 20px;
    }
    
    .partner-item {
        min-width: calc(50% - 20px);
    }
}

/* ===== ACTUALITÉS CARDS STYLES ===== */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

body.dark-mode .news-section {
    background: #0a0f1a;
}

.actualite-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.actualite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Bordures colorées par type */
.actualite-card.urgent { border-left: 5px solid #dc3545; }
.actualite-card.success { border-left: 5px solid #28a745; }
.actualite-card.info { border-left: 5px solid #17a2b8; }
.actualite-card.danger { border-left: 5px solid #dc3545; }
.actualite-card.warning { border-left: 5px solid #ffc107; }
.actualite-card.primary { border-left: 5px solid var(--primary-blue); }

.actualite-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.actualite-badge.urgent, .actualite-badge.danger {
    background: #ffebee;
    color: #c62828;
}
.actualite-badge.success {
    background: #e8f5e9;
    color: #2e7d32;
}
.actualite-badge.info {
    background: #e3f2fd;
    color: #1565c0;
}
.actualite-badge.warning {
    background: #fff8e1;
    color: #f57f17;
}
.actualite-badge.primary {
    background: #e8eaf6;
    color: var(--primary-blue);
}

.actualite-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.actualite-titre {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1a1a2e;
}

body.dark-mode .actualite-titre {
    color: white;
}

.actualite-resume {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

body.dark-mode .actualite-resume {
    color: #aaa;
}

.actualite-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

body.dark-mode .actualite-footer {
    border-top-color: #333;
}

.btn-actualite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-actualite:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateX(3px);
}

.btn-actualite i {
    font-size: 0.9rem;
}

.actualite-arrow {
    width: 35px;
    height: 35px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.actualite-arrow i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.actualite-card:hover .actualite-arrow {
    background: var(--primary-yellow);
    transform: translateX(5px);
}

.actualite-card:hover .actualite-arrow i {
    color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .news-section {
        padding: 50px 0;
    }
    
    .actualite-card {
        padding: 20px;
    }
    
    .actualite-titre {
        font-size: 1rem;
    }
    
    .actualite-resume {
        font-size: 0.8rem;
    }
    
    .btn-actualite {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ===== PAGE PRESENTATION STYLES ===== */

/* Historique section */
.historique-texte p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.historique-image img, .observatoire-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.historique-links .btn-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.historique-links .btn-pdf-link:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* Historique dates card */
.historique-dates-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.date-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.date-item:last-child {
    border-bottom: none;
}

.date-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-yellow);
    background: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
}

.date-event {
    font-weight: 500;
}

/* Arrêtés grid */
.arretes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.arrete-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.arrete-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.arrete-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.arrete-card p {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.btn-sm-link {
    font-size: 0.8rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.btn-sm-link:hover {
    color: var(--primary-yellow);
}

/* Mission cards modern */
.mission-card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.mission-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-icon-modern {
    width: 70px;
    height: 70px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-icon-modern i {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* Fonctions cards */
.fonction-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fonction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.fonction-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.fonction-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.fonction-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Observatoire section */
.observatoire-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.observatoire-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.observatoire-content li {
    margin-bottom: 10px;
}

/* Organisation nodes small */
.org-node-sm {
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 140px;
    text-align: center;
}

/* Réalisations cards modern */
.realisation-card-modern {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.realisation-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.realisation-icon-modern {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.realisation-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 15px;
}

.status-termine {
    background: #28a745;
    color: white;
}

.status-en-cours {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* Projets cards */
.projet-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.projet-card:hover {
    transform: translateY(-5px);
    background: var(--primary-blue);
    color: white;
}

.projet-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}

.projet-card h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Mode sombre */
body.dark-mode .historique-dates-card,
body.dark-mode .arrete-card,
body.dark-mode .mission-card-modern,
body.dark-mode .fonction-card,
body.dark-mode .realisation-card-modern,
body.dark-mode .projet-card {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .fonction-card p {
    color: #aaa;
}

body.dark-mode .date-item {
    border-bottom-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .arretes-grid {
        grid-template-columns: 1fr;
    }
    
    .org-node-sm {
        font-size: 0.7rem;
        min-width: 120px;
    }
}

/* ===== ARRETES LIST STYLES ===== */
.arretes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.arrete-item {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-yellow);
}

.arrete-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.arrete-number {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.arrete-content {
    flex: 1;
}

.arrete-content p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.arrete-content p:first-child {
    font-weight: 600;
    color: var(--primary-blue);
}

.arrete-content p:last-child {
    color: #555;
    font-size: 0.9rem;
}

/* Mode sombre */
body.dark-mode .arrete-item {
    background: #1a1f2e;
}

body.dark-mode .arrete-content p:first-child {
    color: var(--primary-yellow);
}

body.dark-mode .arrete-content p:last-child {
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .arrete-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .arrete-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .arrete-content p:first-child {
        font-size: 0.9rem;
    }
    
    .arrete-content p:last-child {
        font-size: 0.8rem;
    }
}

/* ===== REPRÉSENTATIONS INTERNATIONALES STYLES ===== */
.representations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.representation-card {
    background: white;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

.representation-card:hover {
    transform: translateY(-3px);
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.representation-drapeau {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.representation-card span {
    font-size: 0.85rem;
    font-weight: 500;
}

.representation-card:hover span {
    color: white;
}

/* Mode sombre */
body.dark-mode .representation-card {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .representation-card:hover {
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .representations-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
    
    .representation-card {
        padding: 10px 8px;
    }
    
    .representation-drapeau {
        width: 25px;
        height: 16px;
    }
    
    .representation-card span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .representations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== PAGE MANDATAIRES & TRANSITAIRES STYLES ===== */

/* Alert card warning */
.alert-card-warning {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.alert-card-warning i {
    font-size: 1.8rem;
    color: #ffc107;
}

.alert-card-warning div {
    flex: 1;
}

.alert-card-warning strong {
    color: #856404;
}

/* Info cards */
.info-card-blue {
    background: white;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-blue);
}

.info-card-blue:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-card-blue i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.info-card-blue h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.info-card-blue .contact-detail {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Mandataires grid */
.mandataires-list-wrapper {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
}

.mandataires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.mandataire-item {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-blue);
}

.mandataire-item:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

/* Table transitaires */
.table-transitaire {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-transitaire th {
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    font-weight: 600;
}

.table-transitaire td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.table-transitaire tr:hover td {
    background: rgba(0,51,153,0.05);
}

/* Transitaires cards */
.transitaires-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transitaire-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.transitaire-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.transitaire-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,51,153,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transitaire-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.transitaire-info {
    flex: 1;
}

.transitaire-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.transitaire-info p {
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #555;
}

.transitaire-info .adresse {
    font-size: 0.8rem;
    color: #888;
}

/* Contact perso card */
.contact-perso-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-perso-card i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

.contact-perso-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-perso-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mode sombre */
body.dark-mode .alert-card-warning {
    background: #2a2416;
    border-left-color: #ffc107;
}

body.dark-mode .alert-card-warning strong {
    color: #ffc107;
}

body.dark-mode .info-card-blue,
body.dark-mode .mandataires-list-wrapper,
body.dark-mode .transitaire-card,
body.dark-mode .table-transitaire {
    background: #1a1f2e;
}

body.dark-mode .mandataire-item {
    background: #151a28;
    color: #e0e0e0;
}

body.dark-mode .mandataire-item:hover {
    background: var(--primary-blue);
}

body.dark-mode .table-transitaire td {
    border-bottom-color: #333;
}

body.dark-mode .transitaire-info p {
    color: #aaa;
}

body.dark-mode .transitaire-info .adresse {
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .mandataires-grid {
        grid-template-columns: 1fr;
    }
    
    .table-transitaire {
        font-size: 0.8rem;
    }
    
    .table-transitaire th,
    .table-transitaire td {
        padding: 10px;
    }
    
    .transitaire-card {
        flex-direction: column;
        text-align: center;
    }
    
    .transitaire-icon {
        margin: 0 auto;
    }
    
    .contact-perso-card {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-card-warning {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .table-transitaire {
        font-size: 0.7rem;
    }
    
    .info-card-blue {
        padding: 20px;
    }
}

/* ===== LIENS EXTERNES STYLES ===== */
.btn-link-external {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
    margin-top: 5px;
}

.btn-link-external:hover {
    color: var(--primary-yellow);
}

.btn-link-external i {
    font-size: 0.8rem;
}

/* File download styles */
.file-download {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.file-download:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.file-download i {
    font-size: 2.5rem;
    color: #dc3545;
}

.file-download div {
    flex: 1;
}

.file-download strong {
    display: block;
    margin-bottom: 5px;
}

.file-download span {
    font-size: 0.8rem;
    color: #666;
}

.btn-download {
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-download:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-download i {
    font-size: 0.9rem;
    color: white;
    margin-right: 5px;
}

.btn-download:hover i {
    color: var(--primary-blue);
}

/* Info highlight */
.info-highlight {
    background: rgba(0,51,153,0.1);
    padding: 12px;
    border-radius: 12px;
}

.info-note {
    background: #e3f2fd;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #1565c0;
}

.info-note i {
    margin-right: 8px;
}

.info-note-large {
    display: flex;
    gap: 15px;
    background: #e8eaf6;
    border-radius: 16px;
    padding: 20px;
    align-items: flex-start;
}

.info-note-large i {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Produit catégorie cards */
.produit-categorie {
    background: white;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.produit-categorie:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.produit-categorie i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.produit-categorie h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.produit-categorie ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.produit-categorie li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* Contact support card */
.contact-support-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    border-radius: 20px;
    padding: 20px 25px;
}

.contact-support-card i {
    font-size: 2rem;
    color: var(--primary-yellow);
}

.contact-support-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: white;
}

.contact-support-card p {
    margin-bottom: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Tracking steps detailed */
.tracking-steps-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tracking-steps-detailed .step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
}

/* Mode sombre */
body.dark-mode .file-download {
    background: #1a1f2e;
}

body.dark-mode .file-download:hover {
    background: #151a28;
}

body.dark-mode .file-download span {
    color: #aaa;
}

body.dark-mode .info-note {
    background: #1a2a3a;
    color: #90caf9;
}

body.dark-mode .info-note-large {
    background: #1a1f2e;
}

body.dark-mode .produit-categorie {
    background: #1a1f2e;
    color: #e0e0e0;
}

body.dark-mode .tracking-steps-detailed .step-item {
    background: #1a1f2e;
}

@media (max-width: 768px) {
    .file-download {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-download {
        white-space: normal;
    }
    
    .contact-support-card {
        flex-direction: column;
        text-align: center;
    }
    
    .tracking-steps-detailed {
        grid-template-columns: 1fr;
    }
}

/* ===== BOUTONS SERVICES EXTERNES ===== */
.service-btn-wrapper {
    margin-top: 20px;
    text-align: center;
}

.btn-service-external {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-service-external:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-service-external i {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Centrage du texte dans les cartes services */
.text-center .service-card-header {
    text-align: center;
}

.text-center .service-card-header i {
    display: block;
    margin: 0 auto 10px;
}

/* ===== PAGE ACTUALITES STYLES ===== */
.actualites-page-section {
    padding: 60px 0 80px;
}

/* Filtres */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-active-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    padding: 10px 24px;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-active-btn:hover {
    background: rgba(0,51,153,0.1);
    transform: translateY(-2px);
}

.filter-active-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Actualité post card */
.actualite-post-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}

.actualite-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Carrousel d'images */
.post-images {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.image-carousel {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-yellow);
    width: 20px;
    border-radius: 10px;
}

/* Post content */
.post-content {
    padding: 20px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.post-categorie {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.post-categorie.evenement { background: #e3f2fd; color: #1565c0; }
.post-categorie.communique { background: #e8f5e9; color: #2e7d32; }
.post-categorie.projet { background: #fff3e0; color: #f57c00; }
.post-categorie.partenariat { background: #fce4ec; color: #c2185b; }
.post-categorie.avis { background: #ffebee; color: #c62828; }

.post-date {
    font-size: 0.7rem;
    color: #888;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Post actions */
.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.like-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
}

.like-btn i {
    font-size: 1.1rem;
}

.like-btn.liked {
    color: #e74c3c;
}

.like-btn.liked i {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.social-share, .social-share-modal {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon.facebook { background: #1877f2; color: white; }
.social-icon.instagram { background: #e4405f; color: white; }
.social-icon.twitter { background: #1da1f2; color: white; }

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.btn-read-more {
    background: transparent;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-read-more:hover {
    color: var(--primary-yellow);
    gap: 5px;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Modal styles */
.modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-images img {
    flex: 1;
    min-width: 200px;
    border-radius: 16px;
    object-fit: cover;
}

.modal-info {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.modal-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.like-btn-modal {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.like-btn-modal.liked {
    color: #e74c3c;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    gap: 8px;
}

.page-item {
    list-style: none;
}

.page-link {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-item.active .page-link {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mode sombre */
body.dark-mode .actualite-post-card {
    background: #1a1f2e;
}

body.dark-mode .post-description {
    color: #aaa;
}

body.dark-mode .modal-description {
    color: #e0e0e0;
}

body.dark-mode .modal-content {
    background: #1a1f2e;
}

body.dark-mode .post-actions {
    border-bottom-color: #333;
}

body.dark-mode .modal-actions {
    border-top-color: #333;
}

body.dark-mode .page-link {
    background: #1a1f2e;
    border-color: #333;
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .actualites-page-section {
        padding: 40px 0;
    }
    
    .filters-bar {
        gap: 8px;
    }
    
    .filter-active-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .post-title {
        font-size: 1rem;
    }
    
    .modal-images img {
        min-width: 100%;
    }
    
    .modal-info {
        flex-wrap: wrap;
    }
}

/* ===== PDF DOWNLOAD CARDS ===== */
.documents-download-section h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    display: inline-block;
}

.pdf-download-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 12px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.pdf-download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.pdf-icon i {
    font-size: 2rem;
    color: #e74c3c;
}

.pdf-info {
    flex: 1;
}

.pdf-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.pdf-info small {
    font-size: 0.7rem;
    color: #888;
}

.pdf-download-icon i {
    font-size: 1rem;
    color: var(--primary-blue);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.pdf-download-card:hover .pdf-download-icon i {
    opacity: 1;
    transform: translateY(2px);
}

/* Mode sombre */
body.dark-mode .pdf-download-card {
    background: #1a1f2e;
    border-color: #333;
}

body.dark-mode .pdf-info strong {
    color: #e0e0e0;
}

body.dark-mode .pdf-info small {
    color: #888;
}