@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    user-select: none;
    box-sizing: border-box;
}

:root {
    --Texte-noir: #0B1C2C;
    --Orange: #FFA02C;
    --Blanc: #FFFFFF;
    --Background: #EAE1D6;
    --Titre-Beige: #E3B96D;
    --Background-noir: #181713;
    --Back-24: #242424;
}

body {
    background-color: var(--Background);
    font-family: 'Source Serif 4', sans-serif;
    line-height: 1.6;
    color: var(--Texte-noir);
}
#honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}


/* ? Header */
.header-connai {
    width: 100%;
    height: auto;
    min-height: 300px;
    background-color: var(--Background-noir);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.header-connai span {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Titre-Beige);
    font-size: 48px;
    font-weight: 400;
}

.header-connai p {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Blanc);
    font-size: 20px;
    font-weight: 400;
}

.header-connai i {
    font-size: 48px;
    color: var(--Titre-Beige);
    cursor: pointer;
    margin-top: 40px;
}

/* ? Fin de Header */

/* ? Message prévention */

.prevention-text {
    color: var(--Texte-noir);
    font-size: 1rem;
    line-height: 1.6;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.highlight,.highlight a {
    font-weight: bold;
    color: #FFA02C;
}


/* ? Fin deMessage prévention */



.devisContainer {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--Blanc);
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 290px;
}

.devisContainer h3 {
    margin-bottom: 15px;
    color: var(--Texte-noir);
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
}

.Catecontainer label,
#sousServicesSection label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--Texte-noir);
    font-family: 'Source Serif 4', serif;
}

select,
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

#champs_mesures input {
    width: 50%;
}

#champs_mesures {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

select {
    height: 40px;
}

button[type="button"],
button[type="submit"] {
    background-color: var(--Orange);
    color: var(--Blanc);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

button[type="button"] {
    margin-bottom: 15px;
}

button[type="submit"] {
    width: 100%;
    margin-top: 20px;
}

button:hover {
    background-color: var(--Orange);
    /* Un peu plus foncé que l'orange */
}

#devisDetails {
    margin-bottom: 20px;
}

#devisDetails h3 {
    margin-top: 20px;
}

#totalPrix {
    font-family: 'Source Serif 4', serif;
    font-weight: 500;
    color: var(--Orange);
}

.devis-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.devis-item p {
    color: var(--Texte-noir);
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    font-weight: 500;
}

.supprimer .bx {
    padding-top: 7px;
    font-size: 24px;
    color: black;
}

.supprimer .bx:hover {
    color: red;
    cursor: pointer;
    scale: 1.2;
}

.org-txt {
    color: var(--Orange);
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
}

input[type="text"],
input[type="email"],
textarea {
    margin-bottom: 15px;
}

textarea {
    height: 100px;
    resize: vertical;
}

fieldset {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

fieldset legend {
    font-weight: bold;
    margin-bottom: 10px;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: var(--Texte-noir);
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    font-weight: 500;
}

.checkbox-item input {
    width: 20px;
    margin-bottom: 0px;
}

.checkbox-item input:hover {
    cursor: pointer;
}


@media screen and (max-width: 1024px) {
    .header-connai span {
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .header-connai p {
        text-align: center;
    }
}