/* ---------- CONTENEUR PRINCIPAL ---------- */
.about-container {
    max-width: 70%;
    margin: 50px auto;
    padding: 0 20px;
    transition: max-width 0.3s ease;
}

/* ---------- SECTION HISTOIRE (PLEINE LARGEUR) ---------- */
.history-card {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.card-main-title {
    font-family: "mostra-nuova", sans-serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.history-card article h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}

.history-card article p {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

/* ---------- LIGNE D'INFOS (2 COLONNES) ---------- */
.info-row {
    display: flex;
    gap: 30px;
}

.info-card {
    flex: 1;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-icon {
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: "mostra-nuova", sans-serif;
    font-size: 22px;
    margin-bottom: 15px;
}

.info-card .label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.contact-link {
    font-family: 'Josefin Sans', sans-serif;
    color: #000;
    text-decoration: underline;
}

/* ---------- RÉSEAUX SOCIAUX ---------- */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-family: 'Josefin Sans', sans-serif;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: #00eaff;
    transform: translateY(-3px);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* Tablettes (iPad, etc.) */
@media (max-width: 1024px) {
    .about-container {
        max-width: 90%;
    }
}

/* Mobiles (Smartphones) */
@media (max-width: 768px) {
    .about-container {
        max-width: 95%;
        margin: 20px auto;
    }

    .history-card {
        padding: 30px 20px; /* Moins de padding interne sur petit écran */
    }

    .card-main-title {
        font-size: 26px;
    }

    .history-card article p {
        text-align: left; /* La justification est souvent moins lisible sur mobile */
        font-size: 14px;
    }

    .info-row {
        flex-direction: column; /* Empilage vertical des cartes contact/réseaux */
        gap: 20px;
    }

    .social-links {
        flex-direction: column; /* Empilage des boutons réseaux */
        width: 100%;
    }

    .social-item {
        justify-content: center;
        width: 100%;
    }
}