* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 100%;    /* ← Nouvelle valeur */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ecf0f1;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-header {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-header:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.sidebar-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.sidebar-header {
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-header h3 {
    color: #2c3e50;
    margin: 0;
}

.sidebar-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-menu > li {
    border-bottom: 1px solid #e9ecef;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 30px;
}

.sidebar-menu .icon {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu a.active {
    background: #3498db;
    color: white !important;
    border-radius: 8px;
    margin: 2px 10px;
    padding-left: 18px !important;
}

.sidebar-menu a.active .icon {
    color: white;
    transform: scale(1.1);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section avec diaporama */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 6rem 0;
    margin-bottom: 2rem;
    overflow: hidden;
    min-height: 500px;
}

/* Container pour les images du diaporama */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay sombre pour lisibilité du texte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 152, 219, 0.7));
    z-index: 2;
}

/* Contenu du hero au-dessus du diaporama */
.hero-content {
    position: relative;
    z-index: 3;
}

/* Indicateurs du diaporama */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-indicator.active {
    background: white;
}

/* Boutons de navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 4;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Section Partenaires */
.partners-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 600;
}

.partners-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-track {
    display: inline-flex;
    animation: scroll-partners 30s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    min-width: 150px;
}

.partner-logo img {
    max-height: 80px;
    max-width: 140px;
    width: auto;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Animation du défilement */
@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause l'animation au survol */
.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

/* Responsive pour la section partenaires */
@media (max-width: 768px) {
    .partners-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .partner-logo {
        margin: 0 1rem;
        min-width: 120px;
        height: 80px;
    }
    
    .partner-logo img {
        max-height: 60px;
        max-width: 110px;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Style pour le logo dans le hero */
.logo-placeholder {
    margin-bottom: 1rem;
}

.hero-logo {
    max-width: 400px;
    max-height: 200px;
    width: auto;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 300px;
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 250px;
        max-height: 125px;
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Service Details */
.service-details {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: #3498db;
    width: 50px;
    text-align: center;
}

/* Bannière de confiance */
.trust-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #ecf0f1;
}

.trust-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Responsive pour la bannière */
@media (max-width: 768px) {
    .trust-banner {
        padding: 2rem 0;
    }
    
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .trust-item {
        padding: 1rem;
    }
    
    .trust-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .trust-item h3 {
        font-size: 1.2rem;
    }
    
    .trust-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-details {
        padding: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    form > div {
        grid-template-columns: 1fr !important;
    }
}

/* Animation de chargement */
.page {
    opacity: 0;
    animation: pageLoad 0.5s ease-in-out forwards;
}

.page.active {
    opacity: 1;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Amélioration des boutons */
button:focus, .cta-button:focus {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

.logo img {
    height: 100px;
    margin-top: 8px;
    display: block;
}

.service-card, .service-card h3, .service-card p {
    color: inherit;
    text-decoration: none;
}

.service-card:hover, .service-card:focus {
    text-decoration: none;
}

/* ========================================
   ALTERNATIVE 7 - NOUVELLE STRUCTURE FENÊTRES
   ======================================== */

/* Wrapper principal pour la page fenêtres */
.fenetre-page-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero section pour les fenêtres */
.fenetre-hero {
    background: url('https://images.unsplash.com/photo-1563693998336-93c10e5d8f91?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    border-radius: 0 0 30px 30px;
    margin-bottom: 2rem;
}

/* Overlay pour améliorer la lisibilité */
.fenetre-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(52, 152, 219, 0.6));
    border-radius: 0 0 30px 30px;
}

/* Contenu du hero */
.fenetre-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

.fenetre-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.fenetre-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Section principale avec contenu */
.fenetre-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section avec description et image */
.fenetre-main {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
    align-items: center;
}

.fenetre-desc {
    flex: 1 1 400px;
    min-width: 300px;
}

.fenetre-desc h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.fenetre-desc p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.fenetre-desc ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.fenetre-desc li {
    padding: 0.5rem 0;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
}

.fenetre-desc li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.fenetre-img {
    flex: 1 1 400px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fenetre-img img {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.fenetre-img img:hover {
    transform: scale(1.02);
}

/* Grille des fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(52,152,219,0.10);
    border-color: #3498db;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.feature-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive pour la page fenêtres */
@media (max-width: 900px) {
    .fenetre-main { 
        flex-direction: column; 
        gap: 2rem; 
    }
    
    .fenetre-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .fenetre-hero-content {
        padding: 3rem 1rem;
    }
    
    .fenetre-content {
        padding: 0 1rem;
    }
    
    .fenetre-hero h1 {
        font-size: 2rem;
    }
    
    .fenetre-hero p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .fenetre-hero {
        border-radius: 0 0 18px 18px;
    }
    
    .fenetre-hero-content {
        padding: 2rem 1rem;
    }
    
    .fenetre-hero h1 {
        font-size: 1.8rem;
    }
}

/* ========================================
   PAGE QUI SOMMES-NOUS - AFPTM
   ======================================== */

/* Hero Section About */
.about-page-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)),
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?q=80&w=1170&auto=format&fit=crop') center/cover;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    border-radius: 0 0 30px 30px;
    margin-bottom: 3rem;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* Contenu principal */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Notre Histoire */
.our-story {
    margin: 4rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-text {
    font-size: 1.3rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed #dee2e6;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder p {
    color: #666;
    margin-top: 1rem;
    font-style: italic;
}

/* Section Nos Valeurs */
.our-values {
    margin: 6rem 0;
    padding: 4rem 0;
    background: #f8fafc;
    border-radius: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Section Notre Expertise */
.our-expertise {
    margin: 6rem 0;
}

.expertise-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.expertise-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.expertise-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.expertise-areas {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
    transform: translateX(10px);
}

.expertise-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.expertise-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Statistiques */
.expertise-stats {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-item {
    margin-bottom: 2rem;
    cursor: pointer;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: #f39c12;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Notre Équipe */
.our-team {
    margin: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.team-member h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-member p:last-child {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Section Certifications */
.certifications {
    margin: 6rem 0;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-top: 3rem;
}

.cert-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cert-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cert-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Section Zone de Service */
.service-area {
    margin: 6rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.area-content {
    padding: 4rem 3rem;
    text-align: center;
}

.area-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.area-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.dept-item {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dept-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.dept-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.dept-name {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Section Call to Action */
.cta-section {
    margin: 6rem 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: #f39c12;
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cta-button.primary:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design pour la page About */
@media (max-width: 900px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .expertise-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .expertise-stats {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 0 1rem;
    }
    
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-hero-content {
        padding: 3rem 1rem;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .our-values {
        padding: 3rem 0;
        margin: 4rem 0;
    }
    
    .certifications {
        padding: 3rem 0;
        margin: 4rem 0;
    }
    
    .area-content {
        padding: 3rem 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
        margin: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .expertise-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .expertise-stats {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.8rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dept-item {
        padding: 1rem 0.5rem;
    }
    
    .dept-number {
        font-size: 1.5rem;
    }
    
    .dept-name {
        font-size: 0.8rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}