/* ================================================= */
/* === CSS POUR PAGE "QUI SOMMES-NOUS" =========== */
/* === Import du CSS commun + styles spécifiques = */
/* === Nouveau thème Wine/Copper ================== */
/* ================================================= */

/* Import du CSS de base des pages légales (qui importe déjà variables.css) */
@import url('legal-pages.css');

/* ================================================= */
/* === SECTION ÉQUIPE ============================= */
/* ================================================= */

.team-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #faf7f5 0%, #f5f0ec 100%);
    text-align: center;
}

.team-section h2 {
    color: #7C0A29;
    font-family: var(--police-principale);
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7C0A29, #A0522D);
    border-radius: 2px;
}

.team-intro {
    text-align: center;
    font-size: 1.15em;
    color: #5a4a42;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto 60px;
}

/* ================================================= */
/* === CARTES CO-FONDATEURS ======================= */
/* ================================================= */

.cofondateurs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.cofondateur-carte {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 15px -3px rgba(124, 10, 41, 0.1), 0 4px 6px -2px rgba(124, 10, 41, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e8ddd6;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cofondateur-carte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #7C0A29, #A0522D, #B8860B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cofondateur-carte:hover::before {
    transform: scaleX(1);
}

.cofondateur-carte:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(124, 10, 41, 0.1), 0 10px 10px -5px rgba(124, 10, 41, 0.04);
    border-color: #7C0A29;
}

.cofondateur-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #7C0A29;
    box-shadow: 0 4px 6px -1px rgba(124, 10, 41, 0.1), 0 2px 4px -1px rgba(124, 10, 41, 0.06);
    transition: all 0.3s ease;
}

.cofondateur-carte:hover .cofondateur-photo {
    border-color: #A0522D;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(124, 10, 41, 0.1), 0 4px 6px -2px rgba(124, 10, 41, 0.05);
}

.cofondateur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.4s ease;
}

.cofondateur-carte:hover .cofondateur-photo img {
    transform: scale(1.1);
}

.cofondateur-carte h3 {
    color: #7C0A29;
    font-family: var(--police-principale);
    font-size: 1.5em;
    margin-bottom: 8px;
    font-weight: 700;
}

.cofondateur-carte p {
    color: #5a4a42;
    font-size: 1em;
    margin-bottom: 25px;
    font-style: italic;
}

.cofondateur-carte a {
    display: block;
    color: #2c1810;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 1em;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.cofondateur-carte a:hover {
    color: #7C0A29;
    background: #faf7f5;
    transform: translateX(5px);
}

/* ================================================= */
/* === RESPONSIVE POUR PAGE ÉQUIPE =============== */
/* ================================================= */

@media (max-width: 768px) {
    .team-section {
        padding: 80px 1.5rem;
    }

    .team-section h2 {
        font-size: 2em;
    }

    .team-intro {
        font-size: 1.05em;
        margin-bottom: 40px;
    }

    .cofondateurs-container {
        gap: 30px;
        padding: 10px 0;
    }

    .cofondateur-carte {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .team-section h2 {
        font-size: 1.8em;
    }

    .cofondateur-photo {
        width: 150px;
        height: 150px;
    }

    .cofondateur-carte h3 {
        font-size: 1.3em;
    }
}
