
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ededf2;
}

/* STRUCTURE GENERALE */
.page-contact {
    display: flex;
    max-width: 1200px;
    min-height: 100vh;
    margin: auto;
    background: white;
}

/* COLONNE GAUCHE */
.contact-sidebar {
    width: 30%;
    flex-shrink: 0;
    background: #2d2d2d;
    color: white;
    padding: 25px;
}

.photo-profil {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.contact-sidebar h3 {
    color: #2196f3;
    font-size: 18px;
    margin: 25px 0 15px;
}

.contact-sidebar p {
    margin: 15px 0;
    line-height: 1.4;
}

.contact-sidebar ul {
    padding-left: 35px;
    line-height: 1.5;
}

.liens-portfolio {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.liens-portfolio a {
    color: #43b0ff;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.liens-portfolio a:hover {
    color: white;
    text-decoration: underline;
}

/* COLONNE DROITE */
.contact-contenu {
    width: 70%;
    padding: 40px;
    background: white;
}

.contact-contenu h1 {
    color: #2196f3;
    font-size: 30px;
    margin: 0 0 20px;
}

.contact-intro {
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* FORMULAIRE */
.formulaire-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* CHAMPS VERTICAUX */
.champ {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.champ label {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.champ input,
.champ textarea {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #c5cfdd;
    border-radius: 8px;
    background: #f8fbff;
    color: #222;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.champ input:focus,
.champ textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.15);
}

.champ textarea {
    min-height: 140px;
    resize: vertical;
}

/* BOUTON */
.btn-envoyer {
    align-self: flex-start;
    background: linear-gradient(135deg, #2196f3, #0066d6);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-envoyer:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33,150,243,0.25);
}

/* VERSION MOBILE */
@media (max-width: 768px) {
    .page-contact {
        flex-direction: column;
    }

    .contact-sidebar,
    .contact-contenu {
        width: 100%;
    }

    .contact-contenu {
        padding: 25px 18px;
    }
}
