/* ==========================================================================
   ABOUT.CSS – VERSION CORRIGÉE
   ========================================================================== */

/* 1. HERO (Déjà réglé mais on sécurise) */
#hero.small-hero {
    height: 35vh !important;
    min-height: 250px !important;
    background-image: url("images/header/miniature-header.png") !important;
    background-size: cover;
    background-position: center;
}

/* 2. SECTION PRINCIPALE (L'image et le texte) */
.about-section {
    max-width: 1100px; /* LIMITE LA LARGEUR pour éviter les images énormes */
    margin: 60px auto;
    padding: 0 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes sur PC */
    gap: 60px;
    align-items: center;
}

/* TAILLE DE L'IMAGE À PROPOS */
.about-image img {
    width: 100%;
    max-width: 450px; /* EMPÊCHE L'IMAGE D'ÊTRE GÉANTE */
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* TEXTE */
.about-text h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.about-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 3. SECTION SERVICES (Les 3 boîtes) */
.services-section {
    background: #f0f0f0;
    padding: 60px 30px;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 4. RESPONSIVE MOBILE (IMPORTANT) */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        text-align: center;
        gap: 30px;
    }

    /* RÉDUCTION DES TITRES SUR MOBILE */
    #hero.small-hero h1 {
        font-size: 2rem !important;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .services-container {
        grid-template-columns: 1fr; /* Services les uns sous les autres */
    }

    .about-section {
        margin: 40px auto;
    }
}