/* Réinitialisation et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* En-tête */
header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Contenu principal */
main {
    padding: 40px;
}

/* Carte de profil */
.profile-card {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f7fafc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 250px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Icônes de réseaux sociaux */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.social-link {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-info h2 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 2rem;
}

.description {
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.details {
    margin-bottom: 25px;
}

.detail-item {
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.label {
    font-weight: bold;
    color: #667eea;
    margin-right: 10px;
}

.value {
    color: #4a5568;
}

/* Bouton d'action */
.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Section fonctionnalités */
.features {
    margin-top: 40px;
}

.features h2 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 30px;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #4a5568;
    font-size: 1rem;
}

/* === STYLES POUR LA PAGE CONTACT === */

/* Lien retour */
.back-link {
    margin-bottom: 30px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.back-link a:hover {
    color: #764ba2;
}

/* Section contact */
.contact-section {
    max-width: 700px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-intro p {
    color: #4a5568;
    font-size: 1.1rem;
}

/* Formulaire de contact */
.contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
}

/* Informations de contact */
.contact-info {
    margin-top: 30px;
    padding: 20px;
    background: #edf2f7;
    border-radius: 8px;
    text-align: center;
}

.contact-info p {
    color: #4a5568;
    font-size: 1rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #764ba2;
}

/* Pied de page */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 200px;
        height: 260px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .profile-info h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        align-self: center;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-intro h2 {
        font-size: 1.5rem;
    }
}