/* ========== PAGE ACCUEIL ========== */

/* ========== TEAM SECTION ========== */
.team-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f0f5f7, #ffffff);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.team-image {
    flex: 1;
    min-width: 280px;
}

.team-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#team-image-div {
    background: linear-gradient(135deg, #d4e4e8, #a8c5ce);
    height: fit-content; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 1.2rem;
    border-radius: 15px;
}

.team-info {
    flex: 1;
    min-width: 280px;
}

.team-info h2 {
    color: #2c5f6f;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.team-info p {
    font-size: 1.1rem; 
    color: #555; 
    line-height: 1.8;
}

/* ========== INFO SECTION ========== */
.info-section {
    background: white;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-content p {
    margin-top: 0.5rem;
}

.info-card {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafb;
    border-radius: 15px;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 3rem;
    color: #5a8a96;
    min-width: 80px;
}

.info-content h2 {
    color: #2c5f6f;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.8;
}

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 1000px) {
    .team-section {
        padding: 3rem 1.5rem;
    }
    
    .team-container {
        gap: 2rem;
    }
    
    .team-image,
    .team-info {
        min-width: 100%;
    }
    
    .team-info h2 {
        font-size: 1.8rem;
    }
    
    .team-info p {
        font-size: 1rem;
    }
    
    .info-section {
        padding: 3rem 1.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .icon {
        min-width: auto;
    }
    
    nav {
        flex-wrap: wrap;
        padding: 1rem;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .nav-links {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .nav-links button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .btn-appointment {
        order: 3;
        width: auto;
    }

    .hero {
        padding-top: 10rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2rem 1rem;
    }
    
    .team-container {
        gap: 1.5rem;
    }
    
    .team-info h2 {
        font-size: 1.5rem;
    }
    
    .team-info p {
        font-size: 0.95rem;
    }
    
    .info-section {
        padding: 2rem 1rem;
    }
    
    .info-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .icon {
        font-size: 2.5rem;
    }
    
    .info-content h2 {
        font-size: 1.3rem;
    }
    
    .info-content p {
        font-size: 0.95rem;
    }
    
    .nav-links button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-appointment {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }
}