/* =====================================
   IDENTITE DRIM PC
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
}


/* =====================================
   HEADER OFFICIEL DRIM PC
===================================== */

.header {
    width: 100%;
    min-height: 95px;
    height: 95px;

    background: #2684FF;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 5px 4%;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

.navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 60px;
}

.navigation a {
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;

    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 700;

    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #55BFFF;
}


/* =====================================
   PAGE PRINCIPALE
===================================== */

.contact-page {
    width: 100%;
    padding: 65px 5% 100px;
}

.contact-intro {
    max-width: 1000px;
    margin: 0 auto 55px;
    text-align: center;
}

.intro-label {
    display: inline-block;

    color: #55BFFF;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    margin-bottom: 20px;
}

.contact-intro h1 {
    font-size: 48px;
    font-weight: 800;

    margin-bottom: 20px;
}

.contact-intro h1 span {
    color: #2684FF;
}

.contact-intro p {
    max-width: 750px;
    margin: auto;

    color: #AAAAAA;

    font-size: 16px;
    line-height: 1.8;
}


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

.contact-formulaire {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-formulaire form {
    width: 100%;
}


/* =====================================
   BLOCS DU FORMULAIRE
===================================== */

.formulaire-bloc {
    background: #080808;

    border: 1px solid #222222;
    border-radius: 10px;

    padding: 35px;

    margin-bottom: 25px;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.formulaire-bloc:hover {
    border-color: #333333;
    box-shadow: 0 8px 25px rgba(38, 132, 255, 0.06);
}


/* =====================================
   TITRES DES BLOCS
===================================== */

.bloc-titre {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 30px;
}

.bloc-numero {
    min-width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(38, 132, 255, 0.15);
    border: 1px solid rgba(38, 132, 255, 0.35);
    border-radius: 8px;

    color: #55BFFF;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.bloc-titre h2 {
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 7px;
}

.bloc-titre p {
    color: #888888;
    font-size: 13px;
}


/* =====================================
   GRILLE DES CHAMPS
===================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.form-group label {
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 600;
}


/* =====================================
   INPUTS ET SELECT
===================================== */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    background: #000000;

    border: 1px solid #333333;
    border-radius: 6px;

    color: #2833c9;

    padding: 15px 16px;

    font-family: 'Sora', sans-serif;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group input,
.form-group select {
    min-height: 52px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2684FF;
    box-shadow: 0 0 0 3px rgba(38, 132, 255, 0.12);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #080808;
    color: #FFFFFF;
}

.form-group textarea {
    min-height: 170px;
    resize: vertical;
    line-height: 1.7;
}


/* =====================================
   MODE D'INTERVENTION
===================================== */

.mode-intervention {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.mode-option {
    display: block;
    cursor: pointer;
}

.mode-option input {
    display: none;
}

.mode-carte {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 20px 12px;

    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;

    text-align: center;

    transition: 0.3s ease;
}

.mode-icone {
    color: #2684FF;
    font-size: 30px;
    font-weight: 700;
}

.mode-carte strong {
    color: #FFFFFF;
    font-size: 14px;
}

.mode-carte small {
    color: #888888;
    font-size: 11px;
    line-height: 1.6;
}

.mode-option:hover .mode-carte {
    border-color: #2684FF;
    transform: translateY(-3px);
}

.mode-option input:checked + .mode-carte {
    border-color: #2684FF;
    background: rgba(38, 132, 255, 0.10);
    box-shadow: 0 0 15px rgba(38, 132, 255, 0.12);
}

.mode-option input:checked + .mode-carte strong {
    color: #55BFFF;
}

.precision-intervention {
    margin-top: 25px;
}


/* =====================================
   AJOUT DE PHOTOS
===================================== */

.form-group input[type="file"] {
    cursor: pointer;
    padding: 12px;
}

.form-group input[type="file"]::file-selector-button {
    background: #2684FF;
    border: none;
    border-radius: 5px;

    color: #FFFFFF;

    padding: 10px 15px;
    margin-right: 15px;

    font-family: 'Sora', sans-serif;
    font-weight: 600;

    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: #55BFFF;
}

.aide-texte {
    color: #777777;
    font-size: 12px;
}

.liste-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.photo-nom {
    background: #101820;
    border: 1px solid #263D55;
    border-radius: 5px;

    color: #A8D5FF;
    font-size: 11px;

    padding: 8px 12px;
    overflow-wrap: anywhere;
}


/* =====================================
   ATTENTE APRES LA DEMANDE
===================================== */

.attente-demande {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.attente-option {
    display: block;
    cursor: pointer;
}

.attente-option input {
    display: none;
}

.attente-carte {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 20px 12px;

    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;

    text-align: center;

    transition: 0.3s ease;
}

.attente-icone {
    color: #2684FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.attente-carte strong {
    color: #FFFFFF;
    font-size: 14px;
}

.attente-carte small {
    color: #888888;
    font-size: 11px;
    line-height: 1.6;
}

.attente-option:hover .attente-carte {
    border-color: #2684FF;
    transform: translateY(-3px);
}

.attente-option input:checked + .attente-carte {
    border-color: #2684FF;
    background: rgba(38, 132, 255, 0.10);
    box-shadow: 0 0 15px rgba(38, 132, 255, 0.12);
}

.attente-option input:checked + .attente-carte strong {
    color: #55BFFF;
}


/* =====================================
   CONSENTEMENT
===================================== */

.formulaire-consentement {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    color: #AAAAAA;

    font-size: 12px;
    line-height: 1.7;

    cursor: pointer;
}

.checkbox-label input {
    width: 17px;
    height: 17px;

    margin-top: 2px;

    accent-color: #2684FF;
    cursor: pointer;
}


/* =====================================
   BOUTON ENVOI
===================================== */

.formulaire-envoi {
    text-align: center;
    padding-top: 10px;
}

.formulaire-envoi > p {
    color: #777777;
    font-size: 12px;
    line-height: 1.7;

    max-width: 650px;
    margin: 0 auto 25px;
}

.bouton-envoi {
    min-width: 280px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    background: #FF8A00;
    border: none;
    border-radius: 6px;

    color: #FFFFFF;

    padding: 17px 30px;

    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.bouton-envoi:hover {
    background: #E67800;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.2);
}

.bouton-envoi span {
    font-size: 22px;
}

.mention-obligatoire {
    display: block;

    color: #666666;
    font-size: 11px;

    margin-top: 18px;
}


/* =====================================
   CONFIRMATION D'ENVOI
===================================== */

.confirmation-envoi {
    max-width: 750px;
    margin: 50px auto;

    padding: 55px 35px;

    background: #080808;
    border: 1px solid #222222;
    border-radius: 10px;

    text-align: center;
}

.confirmation-icone {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    color: #55BFFF;
    border: 1px solid #2684FF;
    background: rgba(38, 132, 255, 0.12);

    font-size: 28px;
    font-weight: 700;
}

.confirmation-envoi h2 {
    font-size: 25px;
    margin-bottom: 18px;
}

.confirmation-envoi p {
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.bouton-retour {
    display: inline-block;

    background: #2684FF;
    border-radius: 5px;

    color: #FFFFFF;
    text-decoration: none;

    padding: 14px 22px;

    font-size: 13px;
    font-weight: 700;

    transition: background 0.3s ease;
}

.bouton-retour:hover {
    background: #55BFFF;
}


/* =====================================
   ELEMENTS CACHES
===================================== */

[hidden] {
    display: none !important;
}

.champ-cache {
    display: none;
}


/* =====================================
   RETOUR EN HAUT
===================================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2684FF;
    border-radius: 6px;

    color: #FFFFFF;
    text-decoration: none;

    font-size: 24px;
    font-weight: 700;

    z-index: 900;

    transition: background 0.3s ease;
}

.back-to-top:hover {
    background: #55BFFF;
}


/* =====================================
   RESPONSIVE TABLETTES
===================================== */

@media (max-width: 1100px) {

    .navigation {
        gap: 25px;
    }

    .navigation a {
        font-size: 16px;
    }

    .logo img {
        height: 70px;
    }

}


/* =====================================
   RESPONSIVE MOBILE
===================================== */

@media (max-width: 750px) {

    .header {
        height: auto;
        min-height: 95px;

        flex-direction: column;
        justify-content: center;

        gap: 12px;
        padding: 10px 15px;
    }

    .logo img {
        height: 55px;
    }

    .navigation {
        position: static;
        transform: none;

        width: 100%;
        justify-content: center;
        flex-wrap: wrap;

        gap: 12px 18px;
    }

    .navigation a {
        font-size: 12px;
    }

    .contact-page {
        padding: 45px 5% 70px;
    }

    .contact-intro h1 {
        font-size: 32px;
    }

    .contact-intro p {
        font-size: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .formulaire-bloc {
        padding: 25px 20px;
    }

    .bloc-titre {
        gap: 13px;
    }

    .bloc-numero {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .bloc-titre h2 {
        font-size: 16px;
    }

    .bloc-titre p {
        font-size: 11px;
    }

    .bouton-envoi {
        width: 100%;
        min-width: 0;
    }

    .mode-intervention,
    .attente-demande {
        grid-template-columns: 1fr;
    }

    .mode-carte,
    .attente-carte {
        min-height: 110px;
    }

}


/* =====================================
   COULEUR SELECT
===================================== */

.form-group select {
    color: #FF8A00 !important;
    -webkit-text-fill-color: #FF8A00 !important;
}
