* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #282828;
}

::-webkit-scrollbar-thumb {
    background: #E3074F;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c20542;
}

/**********  TRUC **********/

.rose {
    color: #E3074F;
    font-weight: bold !important;
}

.titre {
    font-size: 2vw !important;
    margin: 2vh 0 4vh 0 !important;
}

.section {
    font-size: 1.5vw !important;
    font-weight: bold;
    padding: 8vh 0;
    text-align: center;
}

p {
    font-weight: 300;
}

.ligneNoire1 {
    width: 100%;
    height: 15vh;
    background: #1A1A1A;
    border: none;
}

.ligneNoire2 {
    width: 100%;
    height: 8vh;
    background: #1A1A1A;
    border: none;
}

/**********  NAVBAR TOP **********/
.navbar {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 0 2vw;
    z-index: 1000;
    height: 10vh;
}

.logo img {
    height: 11vh;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 4vw;
}

.menu a {
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: 500;
    color: #000;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #E3074F;
}

.menu a.active {
    color: #E3074F;
}

.right {
    display: flex;
    align-items: center;
    gap: 2vw;
}

.socials {
    padding-top: 5px;
}

.socials a {
    color: #1A1A1A;
    margin: 0 0.5vw;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.socials img {
    height: 4.3vh;
    width: auto;
}

.btn-contact {
    background: #E3074F;
    color: white;
    font-size: 1.1vw;
    padding: 1vh 2vw;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.btn-contact:hover {
    background-color: #c20542;
}



/********** Première Page **********/
.hero {
    height: 90vh;
    background: url("../img/fondPremierePage.png") center/cover no-repeat;
    color: white;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-top: 24vh;
    width: 37vw;
    margin-left: 12vw;
}

.presentation {
    top: 21vh;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 75vw;
    height: 37vh;
    margin: auto;
    color: #000;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.carreRose {
    position: absolute;
    left: 0;
    top: 0;
    width: 21vw;
    height: 100%;
    background-color: #e60050;
    z-index: 1;
}

.presentation-container {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    height: 100%;
    z-index: 2;
}

.presentation-image {
    position: relative;
    z-index: 3;
    margin-left: 3vw;
}

.presentation-image img {
    height: 30vh;
    display: block;
}

.presentation-text {
    margin-left: 3vw;
    flex: 1;
}

.presentation-text h1 {
    font-weight: 300;
}

.presentation-text p {
    margin-bottom: 1.5vh;
    font-size: 1vw;
}

/********** NOS DIAGNOSTICS **********/

#sectionDiag {
    display: flex;
    justify-content:space-around;
    align-items: center;
    font-size: 1vw;
    margin: 0 8vw;
}

#sectionDiag p {
    font-weight: bold;
}

#sectionDiag li {
    list-style-type: none;
    font-weight: 300;
}

.diag {
    display: flex;
    justify-content:space-between;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 1vw;
    width: 20vw;
    height: 35vh;
    padding: 2vw 0;
}

.savoirPlus {
    background-color: #E3074F;
    color: #fff;
    text-decoration: none;
    padding: 0.5vw;
    margin: 0 5vw;
    transition: background 0.3s ease;
}

.savoirPlus:hover {
    background-color: #c20542;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup {
    background: white;
    width: 50vw;
    height: 55%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 3vh 3vw;
    position: relative;
    animation: popupFade 0.3s ease;
}

.popup h3 {
    margin-bottom: 1vh;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.diagnostic-options {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 1.2vw;
    margin: 4vh 0; 
}

.diagnostic-btn {
    width: 6vw;
    height: 6vw; 
    min-width: 80px;
    min-height: 80px;
    background: #f5f5f5;
    border: 0.2vh solid transparent;
    border-radius: 0.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.diagnostic-btn.active {
    border: #E3074F 2px solid;
}

.diagnostic-btn:hover {
    border-color: #ccc;
}

.diagnostic-btn span {
    margin-top: 0.8vh;
    font-weight: bold;
    font-size: 0.9vw;
}

.icon-diag {
    color: #E3074F;
}

.close-btn {
    position: absolute;
    top: 2vh;
    right: 2vw;
    height: 3.5vh;
    width: 3.5vh;
    font-size: 1.5vw;
    border-radius: 50%;
    background-color: #E3074F;
    color: white;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.close-btn:hover {
    background-color: #c20542;
}

body.noscroll {
    overflow: hidden;
}



/********** DEVIS **********/

#devis {
    margin: 7vw 0 0 0;
    background-color: #EDEDED;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 15px 20px -12px inset, rgba(99, 99, 99, 0.2) 0px 18px 36px -18px inset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 4vh;
}

#devis .grid {
    display: grid;
    grid-template-columns: repeat(2, 0fr);
    gap: 1.5vw;
    margin: 3vw 0;
}

.intro-text {
    text-align: center;
    font-size: 1vw;
}

.custom-select {
    position: relative;
    width: 25vw;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    height: 7vh;
    padding: 1.5vh 2vw;
    padding-right: 6vw;
    border: none;
    background: #fff;
    color: #666;
    font-size: 1vw;
    font-weight: 500;
    cursor: pointer;
}

.custom-select::after {
    content: "⌵";
    font-size: 3vh;
    color: #E3074F;
    position: absolute;
    top: 50%;
    right: 2vw;
    transform: translateY(-50%);
    pointer-events: none;
}

#diagObl h3, #coordonnees_devis h3 {
    text-align: center; 
    font-size: 1vw;
    font-weight: 300;
}

#diagObl, #coordonnees_devis {
    text-align: center;
    margin-bottom: 5vh;
    width: 52vw;
}

.diag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vh;
    justify-items: center;
    align-items: center;
    margin-top: 3vw;
    
}

.diag_obligatoire {
    background-color: white;
    padding: 1vh 0;
    width: 100%;
}

.diag_obligatoire.active {
    background-color: #E3074F;
    color: #fff;
}

.coord-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vh 2vw;
    justify-items: center;
    align-items: center;
    margin-top: 3vw;
}

.diag_obligatoire, .coord-grid input, .coord-grid textarea {
    color: #666;
    font-size: 1vw;
    font-weight: 400;
}

.coord-grid input,
.coord-grid textarea {
    width: 100%;
    padding: 1.5vh 1vw;
    
    background-color: white;
    border: none;
    box-sizing: border-box;
}

.coord-grid textarea {
    grid-column: span 2;
    height: 15vh;
    resize: vertical;
    font-family: 'Roboto', sans-serif;
}

#formulaire1 button {
    background-color: #E3074F;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 1.5vh 4vw;
    font-size: 1.5vh;
    margin-bottom: 5vh;
    font-weight: bold;
    transition: background 0.3s ease;
}

#formulaire1 button:hover {
    background-color: #c20542;
}

#button1_form {
    width: 100%;  
    display: flex; 
    justify-content: center;
}

#plus15ansDiv, #plus15ansDivLabel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#plus15ansDiv{
    justify-content: space-between;
}

#plus15ansDivLabel {
    justify-content: left;
    padding: 1.5vh 2vw;
    font-size: 1vw;
    background-color: white;
    height: 7vh;
    color: #666;
}

#plus15ansDiv label {
    background-color: white;
    color: #666;
    height: 7vh;
    width: 12vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

#plus15ansDiv input{
    display: none;
}

#plus15ansDiv label:has(input:checked) {
    background-color: #E3074F;
    color: white;
}

/********** SERVICES **********/

#service {
    height: 100%;
    background: url("../img/fondServices.png") center/cover no-repeat;
    color: white;
    position: relative;
    z-index: 1;
}

#fondService {
    background-color: #F5F5F5;
    color: #000;
    margin: 0 22vw;
}

#textService {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    font-size: 1vw;
}

#textService img{
    margin: 0 2vw 0 5vw;
}

#textService p {
    margin: 2vw 5vw 2vw 0;
    line-height: 2;
}

#certifs {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 10vh;
    left: 5vw;
}

#certifs div {
    display: flex;
    flex-direction: column;
    margin: 2vh 0;
    align-items: center;
    text-align: center;
}

#certifs img {
    margin: 1vh 0;
    width: 8vw;
}

#soustexte {
    font-style: italic;
    font-size: 14px;
    line-height: 1.5 !important;
}

/********** CONTACT **********/

#contact {
    background-color: #1A1A1A;
    color: white;
}

#coordonnees {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    text-align: center;
    margin: 0 15vw;
}

.separateurs {
    background-color: #E3074F;
    width: 0.1vw;
    height: 15vh;
}

.coord {
    margin: 0 2vw;
    width: 20vw;
}

.imgCoord {
    font-size: 4vh;
}

.title-footer {
    margin: 1.5vh 0;
    font-size: 16px;
}

.coord-footer, .coord-footer a {
    text-decoration: none;
    color: white;
    font-style: normal;
    font-weight: 300;
}

#formulaire2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2vh;
    margin: 8vh auto;
    max-width: 40vw;
}



#formulaire2 h3 {
    font-weight: 300;
    font-size: 16px;
}

#formulaire2 input {
    background-color: #282828;
}

#formulaire2 input, 
#formulaire2 textarea,
#formulaire2 button {
    width: 100%;
    padding: 1.5vh 1vw;
    font-size: 2vh;
    border: none;
    color: #fff;
    margin: 1vh 0;
}

#formulaire2 button {
    background-color: #E3074F;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 500;
    width: 30%;
    transition: background 0.3s ease;
}

#formulaire2 textarea {
    width: 100%;
    padding: 1.5vh 1vw;
    font-size: 1.5vh;
    color: #fff;
    background-color: #282828;
    border: none;
    resize: vertical;
}

#formulaire2 textarea::placeholder {
    font-size: 2vh;
    font-family: 'Roboto', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-wrapper {
    width: 100%;
    background-color: #282828;
    overflow: hidden;
}

.file-wrapper input[type="file"] {
    
    width: 100%;
    padding: 1.5vh 1vw;
    font-size: 1.5vh;
    color: #fff;
    background-color: #282828;
    border: none;
    cursor: pointer;
}

.file-wrapper input[type="file"]::file-selector-button {
    float: right;
    margin-left: 0.5vw;
    background-color: #E3074F;
    color: #fff;
    border: none;
    padding: 1vh 2vw;
    cursor: pointer;
    font-size: 1.5vh;
    transition: background 0.3s;
}

.file-wrapper input[type="file"]::file-selector-button:hover {
    background-color: #c20542;
}

#formulaire2 button:hover {
    background-color: #c20542;
}


/********** Mention Légales ************/

#mention {
    position: relative;
    text-align: center;
    padding: 2vh 5vw;
}

#mention p {
    margin: 0;
    font-weight: 300;
}

#mention a {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-weight: 300;
    transition: 0.3s ease;
}

#mention a:hover {
    color: #E3074F;
}

.mentionLegales a{
     text-decoration: none;
     color: #E3074F;
     font-weight: 500;
}

.titreMention {
    font-size: 18px;
    margin-top:4vh;
}