/* ==========================================================================
   PAGE À PROPOS - VERSION COMPLÈTE & OPTIMISÉE 2026
   ========================================================================== */

:root {
    --orange: #ff6600;
    --navy: #0f172a;
    --slate-bg: #f8fafc;
    --slate-text: #475569;
}

/* --- CONFIGURATION DE BASE --- */
.about-page {
    padding: 140px 0 80px;
    background: var(--slate-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HERO SECTION --- */
.about-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--navy);
    text-transform: uppercase;
}

.text-orange { color: var(--orange); }

.orange-bar {
    width: 80px;
    height: 6px;
    background: var(--orange);
    margin-bottom: 30px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate-text);
    margin-bottom: 20px;
}

.italic-quote-box {
    border-left: 4px solid var(--orange);
    padding: 20px;
    font-style: italic;
    background: white;
    border-radius: 0 20px 20px 0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.03);
}

/* --- LE SLIDER (IMAGES CHANTIER) --- */
.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.main-img-card {
    position: relative;
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(15, 23, 42, 0.15);
    background: #e2e8f0;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease-in-out, transform 1.2s ease-in-out;
}

.slider-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-nav button {
    background: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
    color: var(--navy);
}

.slider-nav button:hover {
    background: var(--orange);
    color: white;
}

.slider-progress {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar {
    width: 5px;
    height: 35px;
    background: #cbd5e1;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.bar.active {
    height: 65px;
    background: var(--orange);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: 40px;
    background: var(--orange);
    color: white;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    z-index: 20;
    min-width: 160px;
}

.exp-number { font-family: 'Anton'; font-size: 3.5rem; line-height: 1; }
.exp-label { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; text-align: center; }

/* --- STATISTIQUES --- */
.stats-divider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--navy);
    padding: 60px 40px;
    border-radius: 30px;
    margin: 40px 0 100px;
    text-align: center;
}

.stat-item { color: white; }
.stat-value { font-family: 'Anton'; font-size: 3.5rem; color: var(--orange); }
.stat-plus { font-family: 'Anton'; font-size: 2.5rem; color: var(--orange); }
.stat-label { font-size: 0.9rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin-top: 5px; }

/* --- CARTES DE VALEURS --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: 0.4s;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.value-card:hover { transform: translateY(-10px); }
.value-icon { color: var(--orange); margin-bottom: 25px; }
.value-icon i { width: 45px; height: 45px; }
.value-card h3 { font-family: 'Anton', sans-serif; font-size: 1.6rem; color: var(--navy); text-transform: uppercase; }

.about-list { list-style: none; padding: 0; margin-top: 15px; }
.about-list li { font-size: 0.95rem; color: var(--slate-text); padding-left: 25px; position: relative; margin-bottom: 10px; }
.about-list li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

/* --- SECTION TÉMOIGNAGES (CORRECTIFS AFFICHAGE GOOGLE) --- */
.testimonials-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.testimonials-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.testimonials-title span { color: var(--orange); }

.testimonial-container {
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    min-height: 600px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement le widget et le texte */
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease-in-out;
    visibility: hidden;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.user-img {
    width: 100%;
    max-width: 800px;
    height: 450px;
    object-fit: contain; /* Évite de couper les bords de l'avis Google */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    border: 5px solid white;
    background: white;
}

.quote-text {
    font-size: 1.25rem;
    color: var(--slate-text);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto 10px;
}

.user-name {
    display: block;
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.t-dot {
    width: 12px;
    height: 12px;
    background: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.t-dot.active {
    background: var(--orange);
    width: 30px;
    border-radius: 10px;
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 1024px) {
    .main-img-card { height: 500px; }
}

@media (max-width: 992px) {
    .about-hero { grid-template-columns: 1fr; text-align: center; }
    .about-content { order: 2; align-items: center; display: flex; flex-direction: column; }
    .about-image-wrapper { order: 1; margin-bottom: 30px; }
    .orange-bar { margin: 0 auto 30px; }
    .slider-progress { left: 10px; }
}

@media (max-width: 768px) {
    .about-page { padding-top: 110px; }
    .main-img-card { height: 400px; }
    .experience-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
    
    .testimonial-container { min-height: 500px; }
    .user-img { height: 320px; width: 90%; }
}

@media (max-width: 480px) {
    .about-title { font-size: 2.2rem; }
    .stats-divider { grid-template-columns: 1fr; padding: 30px 20px; }
    
    .testimonial-container { min-height: 450px; }
    .user-img { 
        height: auto;
        max-height: 280px;
        width: 100%;
        object-fit: contain;
        border-width: 3px;
        margin-bottom: 15px;
    }
    .quote-text { font-size: 1rem; padding: 0 15px; }
    .testimonials-title { font-size: 1.8rem; }
}