/* =====================================================
   SAPEURS-POMPIERS D'URT - STYLES
   ===================================================== */

/* Variables CSS */
:root {
    --primary-red: #E63946;
    --dark-red: #C1121F;
    --navy: #1D3557;
    --dark-navy: #14213D;
    --light-blue: #A8DADC;
    --cream: #F1FAEE;
    --white: #FFFFFF;
    --black: #000000;
    --gray-dark: #2B2D42;
    --gray: #8D99AE;
    --gray-light: #EDF2F4;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.25);

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar.scrolled .nav-link {
    color: var(--dark-navy);
}

.navbar.scrolled .nav-logo span {
    color: var(--dark-navy);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-btn {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.emergency-btn:hover {
    background: var(--dark-red);
    transform: scale(1.05);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark-navy);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../img/header_background.jpg') center center / cover no-repeat;
    text-align: center;
    padding: 100px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9) 0%, rgba(20, 33, 61, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    margin-bottom: 30px;
}

.hero-badge img {
    height: 120px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
}

.scroll-indicator a:hover {
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--white);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   CASERNE SECTION
   ===================================================== */
.caserne {
    background: var(--gray-light);
}

.caserne-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.caserne-image {
    position: relative;
}

.caserne-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.image-badge span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-badge strong {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.caserne-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.caserne-text p {
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.command-team {
    margin-top: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
}

.command-team h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-red);
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 15px;
}

.member-info strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--dark-navy);
}

.member-info span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Communes Section */
.communes-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.communes-section h3 i {
    color: var(--primary-red);
    margin-right: 10px;
}

.communes-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.communes-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.communes-map-container {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#communesMap {
    height: 400px;
    width: 100%;
}

.communes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.commune-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.commune-item:hover,
.commune-item.active {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-red);
}

.commune-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.commune-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.commune-info h4 {
    font-size: 1rem;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.commune-stats {
    display: flex;
    gap: 15px;
}

.commune-stats span {
    font-size: 0.85rem;
    color: var(--gray);
}

.commune-stats span i {
    color: var(--primary-red);
    margin-right: 5px;
}

.communes-source {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 25px;
}

.communes-source a {
    color: var(--primary-red);
}

/* Leaflet custom popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.leaflet-popup-content {
    margin: 15px;
}

.commune-popup h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.commune-popup p {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin: 3px 0;
}

.commune-popup i {
    color: var(--primary-red);
    width: 18px;
}

/* =====================================================
   OPERATIONNEL SECTION
   ===================================================== */

/* Hero Opérationnel Parallax */
.operationnel-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.operationnel-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    bottom: -20%;
    background: url('../img/accident.jpeg') center center / cover no-repeat;
    z-index: -2;
    will-change: transform;
    transform: translateY(var(--parallax-y, 0));
}

.operationnel-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.9) 0%, rgba(20, 33, 61, 0.85) 100%);
}

.operationnel-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.operationnel-hero-content .section-tag {
    color: var(--primary-red);
}

.operationnel-hero-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.operationnel-hero-content .section-divider {
    background: var(--primary-red);
}

.operationnel-hero-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.operationnel-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

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

.stat-number-large {
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.stat-label-large {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 15px;
}

/* Contenu Opérationnel */
.operationnel-content {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    color: var(--white);
}

.intervention-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.intervention-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.intervention-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.intervention-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.intervention-icon i {
    font-size: 2rem;
    color: var(--white);
}

.intervention-card h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.intervention-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Stats */
.stats-section {
    margin-bottom: 80px;
}

.stats-section h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
}

.stats-section h3 i {
    color: var(--primary-red);
    margin-right: 10px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.stat-card.highlight {
    background: var(--primary-red);
}

.stat-year {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-trend {
    font-size: 0.85rem;
    margin-top: 10px;
}

.stat-trend.up {
    color: #4CAF50;
}

.stat-trend.down {
    color: #FF9800;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Véhicules Parallax */
.vehicules-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vehicules-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    bottom: -20%;
    background: url('../img/camion.png') center center / cover no-repeat;
    z-index: -2;
    will-change: transform;
    transform: translateY(var(--parallax-y, 0));
}

.vehicules-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.85) 0%, rgba(29, 53, 87, 0.9) 100%);
}

.vehicules-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.vehicules-hero-content h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
}

.vehicules-hero-content h3 i {
    color: var(--primary-red);
    margin-right: 15px;
}

.vehicules-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.vehicules-hero-content p strong {
    color: var(--primary-red);
    font-size: 1.4rem;
}

/* Véhicules Grid */
.vehicules-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
    color: var(--white);
}

.vehicules-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.vehicule-type {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 150px;
    transition: var(--transition);
}

.vehicule-type:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.vehicule-type i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.vehicule-type span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.vehicule-type small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   ASSOCIATIONS SECTION
   ===================================================== */
.associations {
    background: linear-gradient(180deg, var(--gray-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.associations::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.associations::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29, 53, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.associations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.association-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.association-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Badge decoratif */
.association-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.association-badge i {
    font-size: 1.3rem;
    color: var(--primary-red);
}

.association-badge.jsp-badge i {
    color: var(--navy);
}

/* Visual header */
.association-visual {
    padding: 50px 40px 40px;
    text-align: center;
    position: relative;
}

.association-visual.amicale {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
}

.association-visual.jsp {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
}

.visual-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.visual-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.association-visual h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.jsp-since {
    margin-top: 12px;
}

.jsp-since span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Content */
.association-content {
    padding: 35px;
}

/* President badge */
.president-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--gray-light);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.president-badge > i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.president-badge span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.president-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-navy);
}

.association-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 25px;
}

.association-description strong {
    color: var(--dark-navy);
}

/* Events section */
.events-section {
    margin-bottom: 25px;
}

.events-section h4 {
    font-size: 1rem;
    color: var(--dark-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-section h4 i {
    color: var(--primary-red);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: var(--transition);
}

.event-item:hover {
    background: var(--cream);
    transform: translateX(5px);
}

.event-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-icon i {
    font-size: 0.95rem;
    color: var(--primary-red);
}

.event-item span {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 500;
}

/* Social button */
.btn-social {
    background: linear-gradient(135deg, #1877F2 0%, #0d5bd9 100%);
    color: var(--white);
    width: 100%;
    justify-content: center;
    border-radius: 12px;
}

.btn-social:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    transform: translateY(-2px);
}

/* JSP Stats Grid */
.jsp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.jsp-stat-item {
    text-align: center;
}

.stat-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid var(--gray-light);
    transition: var(--transition);
}

.jsp-stat-item:hover .stat-circle {
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.stat-circle.highlight {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-color: var(--primary-red);
}

.stat-circle .stat-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-navy);
}

.stat-circle.highlight .stat-num {
    color: var(--white);
}

.stat-text {
    font-size: 0.75rem;
    color: var(--gray);
    display: block;
}

/* Formation info */
.formation-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--gray-light) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--navy);
}

.formation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-dark);
}

.formation-item i {
    color: var(--navy);
    font-size: 1rem;
    width: 20px;
}

.formation-item span {
    font-weight: 500;
}

/* JSP button */
.btn-jsp {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
}

.btn-jsp:hover {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
    transform: translateY(-2px);
}

/* =====================================================
   RECRUTEMENT SECTION
   ===================================================== */
.recrutement {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
}

.conditions-section {
    margin-bottom: 80px;
}

.conditions-section h3,
.steps-section h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 40px;
}

.conditions-section h3 i,
.steps-section h3 i {
    color: var(--primary-red);
    margin-right: 10px;
}

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

.condition-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.condition-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.condition-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.condition-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.condition-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Timeline steps */
.steps-section {
    margin-bottom: 80px;
}

.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: 10px;
    flex: 1;
    backdrop-filter: blur(10px);
}

.step-content h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* CTA */
.cta-recruitment {
    background: var(--primary-red);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--gray-light);
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--cream);
}

.contact-card.emergency {
    background: var(--primary-red);
}

.contact-card.emergency .contact-icon,
.contact-card.emergency .contact-details h4,
.contact-card.emergency .contact-details p {
    color: var(--white);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card.emergency .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-details h4 {
    font-size: 1rem;
    color: var(--dark-navy);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.contact-details a:hover {
    color: var(--primary-red);
}

.emergency-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white) !important;
}

.contact-details .note {
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
}

.reveal-email {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.reveal-email:hover {
    background: var(--dark-red);
}

.email-link {
    font-size: 1rem;
    color: var(--primary-red) !important;
    font-weight: 600;
}

.email-link.hidden {
    display: none;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
}

#contactMap {
    height: 100%;
    min-height: 400px;
    width: 100%;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 80px 0 0;
    position: relative;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/footer_background.jpg') center center / cover no-repeat;
    opacity: 0.1;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section:first-child p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
}

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.emergency-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.emergency-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.emergency-item .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
}

.emergency-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .intervention-types {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .communes-layout {
        grid-template-columns: 1fr;
    }

    #communesMap {
        height: 350px;
    }

    .vehicules-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark-navy);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--white) !important;
        font-size: 1.1rem;
    }

    .nav-menu .nav-link:hover {
        color: var(--primary-red) !important;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .nav-contact {
        display: none;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .caserne-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .communes-layout {
        grid-template-columns: 1fr;
    }

    #communesMap {
        height: 300px;
    }

    .vehicules-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .vehicule-type {
        padding: 20px 15px;
    }

    .operationnel-hero {
        min-height: 50vh;
    }

    .stat-number-large {
        font-size: 4rem;
    }

    .stat-label-large {
        font-size: 1rem;
    }

    .vehicules-hero {
        min-height: 40vh;
    }

    .image-badge {
        right: 20px;
        bottom: -15px;
    }

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

    .intervention-types {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .steps-timeline::before {
        left: 25px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step {
        gap: 20px;
    }

    .cta-recruitment {
        padding: 40px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .communes-cards {
        grid-template-columns: 1fr;
    }

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

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

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

    .vehicule-type {
        padding: 15px 10px;
    }

    .vehicule-type i {
        font-size: 1.8rem;
    }

    .vehicule-type span {
        font-size: 1rem;
    }

    .operationnel-hero {
        min-height: 40vh;
    }

    .stat-number-large {
        font-size: 3rem;
    }

    .stat-label-large {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .vehicules-hero {
        min-height: 30vh;
    }

    .vehicules-hero-content h3 {
        font-size: 1.5rem;
    }

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

    .jsp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-circle {
        width: 60px;
        height: 60px;
    }

    .stat-circle .stat-num {
        font-size: 0.95rem;
    }

    .association-visual {
        padding: 40px 25px 30px;
    }

    .visual-icon {
        width: 70px;
        height: 70px;
    }

    .visual-icon i {
        font-size: 2rem;
    }

    .association-content {
        padding: 25px;
    }

    .president-badge {
        padding: 12px 15px;
    }

    .formation-info {
        padding: 15px;
    }

    .emergency-numbers {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
