/* ==========================================================================
   PAGE À PROPOS - STYLES SPÉCIFIQUES & GALERIE DE RÉALISATIONS
   ========================================================================== */

/* Banner En-tête */
.page-banner {
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.90), rgba(5, 24, 43, 0.92)), url('../images/banner-about.jpg') center/cover no-repeat;
    padding: 5rem 5%;
    text-align: center;
    color: var(--pure-white);
}

.banner-content h1 {
    color: var(--pure-white);
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.banner-content p {
    color: var(--technical-gray);
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
}

.section-padding { padding: 4.5rem 5%; }
.bg-light { background-color: var(--technical-gray); }

/* Section Aperçu & Statistiques */
.about-overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.sub-title {
    display: inline-block;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.overview-text h2 {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.overview-text p {
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

.motto-box {
    background: #eef3f8;
    border-left: 4px solid var(--primary-blue);
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Grille des Cartes de Statistiques Animées */
.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--pure-white);
    padding: 1.8rem 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

/* Grille des Valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-6px);
    border-top-color: var(--accent-red);
}

.value-icon {
    font-size: 2.2rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.6rem;
}

/* Titres de groupes d'équipes */
.team-group-title {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.team-group-title i { color: var(--accent-red); }

/* Grille des cartes membres d'équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--pure-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.team-img-box {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-img-box img {
    transform: scale(1.06);
}

.social-hover {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.team-card:hover .social-hover { opacity: 1; }

.social-hover a {
    width: 35px;
    height: 35px;
    background: var(--pure-white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-hover a:hover {
    background: var(--accent-red);
    color: var(--pure-white);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.team-info .role {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.team-info .bio {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.5;
}

/* Galerie des Réalisations */
.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.6rem 1.4rem;
    background: var(--pure-white);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
    transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--pure-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-img-box {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.40));
    color: var(--pure-white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-img-box img { transform: scale(1.08); }

.category-badge {
    background: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.gallery-overlay h4 {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    color: var(--technical-gray);
    font-size: 0.88rem;
}

.lightbox-trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.lightbox-trigger:hover {
    background: var(--accent-red);
    transform: scale(1.1);
}

/* Modal Lightbox Popup */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 6px;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #FFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Adaptations Mobiles */
@media (max-width: 992px) {
    .about-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .overview-stats-grid { grid-template-columns: 1fr; }
    .banner-content h1 { font-size: 2rem; }
}