/* about.css */

.about-new {
    color: #4b5563;
}

.section-py {
    padding: 5rem 0;
}
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}
.text-brand-blue {
    color: #3b82f6;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}
.title-xl {
    font-size: clamp(2rem, 5vw, 3rem);
    font-size: 30px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-white {
    color: white;
}

.btn-brand {
    background: #302d63;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}
.btn-brand:hover {
    transform: translateY(-2px);
}
.btn-white-bg{
     background: #ffffff;
    color: #302d63;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: 35px;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 1rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.team-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.team-info {
    padding: 0rem 1.5rem 0.5rem;
    text-align: center;
}

.team-img {
    width: 100%;
    height: 320px;
    -o-object-fit: cover;
       object-fit: cover;
}
.contact-footer {
    background: linear-gradient(0deg, #302d63 0%, #201e47 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
}
.contact-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}
.icon-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}
.icon-circle {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-text {
    display: flex;
    flex-direction: column;
}

.icon-text small {
    font-size: 0.875rem;
    color: #d1d5db;
}

.icon-text a {
    font-size: 1.125rem;
    color: white;
    text-decoration: none;
}


.img-shadow {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    width: 100%;
}

.text-content-large {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.section-grey {
    background-color: #f9fafb;
}

.section-white {
    background-color: white;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stat-label {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: #6b7280;
}

.order-mobile-2 { order: 2; }
.order-mobile-1 { order: 1; }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Section "Chiffres cles" — design moderne (bande degrade violet)
   Couleurs marque : #302d63 -> #201e47, bleu #4c5ca4, jaune #fde663
   ============================================================ */
.stats-section-modern {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #302d63 0%, #201e47 100%);
    background: #4c5ca4;
}
.stats-section-modern::before,
.stats-section-modern::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}
.stats-section-modern::before {
    width: 380px; height: 380px;
    background: radial-gradient(circle, #4c5ca4, transparent 70%);
    opacity: .35;
    top: -140px; right: -80px;
}
.stats-section-modern::after {
    width: 320px; height: 320px;
    background: radial-gradient(circle, #fde663, transparent 70%);
    opacity: .16;
    bottom: -160px; left: -60px;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem;
    text-align: center;
    color: #fff;
    background: #302d63;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .4s, background .4s;
}
.stat-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.stat-number-modern {
    /* Taille fluide : "10 000 m²" doit tenir sur une seule ligne quelle que soit
       la largeur de carte (grille 4 colonnes de 981px a 1200px, ou la carte ne
       fait plus que ~171px utiles). A 3rem fixe le "m²" repassait a la ligne
       (retour client 07/2026). nowrap garantit qu'aucune valeur ne se coupe. */
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    white-space: nowrap;
    font-weight: 900;
    line-height: 1;
    background: #FFF;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff; /* fallback navigateurs sans background-clip:text */
}

.stat-bar {
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 4px;
    background: #fde663;
    margin: 1.1rem auto;
}

.stat-label-modern {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: #fff;
}

.stat-desc-modern {
    color: rgba(255, 255, 255, 0.7);
    font-size: .9rem;
}

@media (max-width: 980px) {
    .stats-grid-modern { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .stats-grid-modern { grid-template-columns: 1fr; }
    /* Fluide aussi ici : une valeur fixe deborderait sur les petits ecrans (320px)
       maintenant que .stat-number-modern est en white-space: nowrap. */
    .stat-number-modern { font-size: clamp(2rem, 9vw, 2.8rem); }
}
