/* =============================== */
/* POLICES INTER                   */
/* =============================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Thin.woff2') format('woff2');
  font-weight: 100;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraLight.woff2') format('woff2');
  font-weight: 200;
}

/* =============================== */
/* FONDU PAGE                      */
/* =============================== */

html, body {
    background: #f7f7f7;
}

body {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.visible {
    opacity: 1;
}

body.fadeout {
    opacity: 0;
}

/* =============================== */
/* BASE PAGE                       */
/* =============================== */

body {
    margin: 0;
    padding: 0;
    background: #444;
    color: #d0d0d0;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
}

body::before {
    display: none !important;
}

main {
    margin-top: 0;
    padding: 0 40px;
    box-sizing: border-box;
}

/* =============================== */
/* SECTION S2 — CONTACT            */
/* =============================== */

#s2 {
    background: #444;
    color: #d0d0d0;
}

/* Pavé centré — padding top/bottom = 200px */
.s2-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 200px 20px;
    box-sizing: border-box;
}

/* Titre */
.s2-title h2 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 0.08em;
    color: #d0d0d0;
    margin: 0 0 40px 0;
    text-align: left;
}

/* Deux colonnes */
.s2-columns {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* Colonne gauche */
.s2-left {
    flex: 1;
    font-size: 19px;
    line-height: 1.8;
}

/* Colonne droite */
.s2-right {
    flex: 1;
}

/* =============================== */
/* FORMULAIRE                      */
/* =============================== */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 40px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group.full {
    grid-column: 1 / 3;
}

.contact-form label {
    font-size: 17px;
    color: #ccc;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid #666;
    background: #333;
    color: #eee;
    border-radius: 4px;
    font-size: 17px;
}

.submit-btn {
    background: #555;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
}

/* =============================== */
/* RÉSEAUX SOCIAUX                 */
/* =============================== */

.social-block {
    margin-top: 30px;
}

.social-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: #999;
}

.social-line:hover .social-icon {
    fill: #fff;
    transition: fill 0.25s ease;
}

.social-line:hover .social-text a {
    color: #fff;
    transition: color 0.25s ease;
}

.social-text a {
    font-size: 17px;
    font-weight: 200;
    color: #999;
    text-decoration: none;
}

/* Email */
.text-desktop a {
    color: #999;
    text-decoration: none;
    font-weight: 200;
    transition: color 0.2s ease;
}

.text-desktop a:hover {
    color: #fff;
}

/* =============================== */
/* 📱 MOBILE                       */
/* =============================== */

@media (max-width: 768px) {

    /* Pavé centré — padding top/bottom = 80px */
    .s2-inner {
        padding: 100px 20px !important;
    }

    /* Titre mobile */
    .s2-title h2 {
        font-size: 42px !important;
        margin-bottom: 30px;
    }

    /* Colonnes en pile */
    .s2-columns {
        flex-direction: column;
        gap: 40px;
        text-align: left;
		/* FORMULAIRE EN PREMIER */
    .s2-right {
        order: 1;
    }

    /* TEXTE + RÉSEAUX SOCIAUX EN DEUXIÈME */
    .s2-left {
        order: 2;
    }
    }

    /* Formulaire en 1 colonne */
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .form-group.full {
        grid-column: 1 / 2;
    }
}
