@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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&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&display=swap');

:root{
    --primary-color: rgb(133, 10, 30);
    --white: #fef8f5;
    --transparent: rgba(255, 250, 250, 0.6);
    --opaque : rgba(255, 250, 250, 0.95);
    --beige-clair : #FAE0D4;
    --beige: #F0D3C1;
    --beige-fonce : #DCB29D;
    --font-titre :"Poppins", sans-serif;
    --font-texte : "Poppins", sans-serif;
}
*{
    box-sizing: border-box;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
main{
    min-height: 95vh;
}
body{
    background-color: var(--white);
}
p,a,button{
    font-family: var(--font-texte);
    border: none;
}
h1,h2,h3,h4{
    font-family: var(--font-titre);
}
select{font-family: var(--font-texte);font-size: 20px !important;}


.error-style{position: absolute; top: 20px;right: 20px;left: 20px; background-color:var(--opaque); color: var(--primary-color); border-radius: 20px; z-index: 200; padding:20px 20px; box-shadow: 4px 4px 10px rgba(133, 10, 30, 0.293);border: var(--primary-color) 1px solid;}
.error-style li{text-decoration: none; list-style-type: none; font-size: 16px; font-family: var(--font-texte);margin: 1px 0;}

.error-adress{color: var(--primary-color); font-size: 18px;}

.progress-bar {width: 100%;background-color:var(--white);border-radius: 20px;height: 20px;margin-bottom: 20px;border: 2px var(--primary-color) solid;margin-bottom: 60px;}
.progress {background-color:var(--primary-color); height: 100%;border-radius: 5px;text-align: center;color: var(--white);line-height: 30px;transition: width 0.5s;}

footer { width: 100%; height: 80px; background: var(--primary-color); color: var(--white); padding: 10px 100px; display: flex; justify-content: space-between; align-items: center; }
.liens-footer { display: flex; gap: 50px; }
.liens-footer a, footer p, footer a { color: var(--white); margin: 0; font-weight: 300; font-size: 18px; }
.top-left { z-index: 20; padding: 60px; background: var(--transparent); border-radius: 40px; width: 50%; max-width: 740px; display: flex; flex-direction: column; position: absolute; top: 50%; left: 10%; transform: translateY(-50%); }
.top-left h1 { font-family: var(--font-titre); color: var(--primary-color); font-size: 70px; font-weight: 500; }
.text-rouge { color: var(--primary-color); font-size: 24px; font-weight: 300; }
nav { display: flex; justify-content: center; width: 100%; }
#logo { width: 170px; height: 170px; z-index: 10; }
#top-page { width: 100%; margin: auto; background-image: url('/images/montpellier_accueil.jpg'); position: relative; min-height: 850px; border: 5px solid var(--primary-color); }
#teinte { background-color: var(--beige); opacity: 0.4; position: absolute; inset: 0; }
#imageAccueil { width: 100%; height: 600px; object-fit: cover; border: 3px solid var(--primary-color); }
.bouton-rouge { background-color: #850A1E; color: white; padding: 10px 50px; border-radius: 30px; font-size: 20px; font-weight: 300; width: 390px; margin-top: 20px; display: flex; justify-content: space-between; gap: 10px; text-decoration: none;}
#venez { width: 100%; background: var(--primary-color); color: var(--white); margin: 0 auto 150px; padding: 60px 0 80px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
#venez h2 { font-size: 48px; font-weight: 500; }
#venez p { font-size: 17px; max-width: 1000px; width: 90%; margin: 0 auto; font-weight: 300; }
#etapes, #why { width: 85%; margin: auto; color: var(--primary-color); display: flex; flex-direction: column; padding-bottom: 100px; }
#etapes h2, #why h2 { font-size: 72px; font-weight: 600; line-height: 80px; }
.etape { display: flex; flex-direction: column; margin-bottom: 40px; }
.div-nombre { display: flex; align-items: center; }
.nb { text-align: center; font-size: 180px; margin: 0; line-height: 1; padding-right: 20px; font-weight: 400; }
.titre-etape { font-size: 50px; font-weight: 600; margin: 0 0 10px; }
.texte-etape { font-size: 18px; font-weight: 400; }
#carousel-container, #carousel-why, #carousel-etapes { width: 100%; margin: 70px auto; position: relative; overflow: hidden; height: 550px; display: flex; justify-content: center; }
#why{margin-top: 120px;}
.carousel-slide { display: flex; align-items: center; width: 85%; position: absolute; opacity: 0; transition: opacity 0.5s ease; gap: 20px; }
.carousel-slide.active { opacity: 1; }
.carousel-image { width: 400px; height: 450px; object-fit: cover; border: 2px solid var(--primary-color); border-radius: 10px; }
.carousel-content { width: 60%; display: flex; flex-direction: column; gap: 20px; }
.carousel-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); }
.carousel-controls button { background: var(--primary-color); color: var(--white); border: none; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; }
.carousel-indicators { display: flex; justify-content: center; margin-top: 40px; }
.indicator { width: 12px; height: 12px; margin: 0 5px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary-color); cursor: pointer; transition: background-color 0.3s; }
.indicator.active { background: var(--primary-color); }
.img1 { object-position: top center !important; }

/* section ATOUTS */ 
#atouts { width: 100%; background: var(--primary-color); color: var(--white); text-align: center; padding: 100px 50px; }
.atout { padding: 0 30px; display: flex; flex-direction: column; justify-content: center; gap: 25px; width: 33%; }
.atout h3 { font-size: 30px; line-height: 32px; font-weight: 500; }
.atout p { font-size: 18px; font-weight: 300; padding: 0 40px; }
.icones-atout { width: 80px; height: 80px; margin: auto; }

#estimation { color: var(--primary-color); width: 90%; margin: 100px auto; align-items: center; position: relative;}
#estimation h2 { font-size: 54px; font-weight: 500; width: 95%; }
#estimation label { font-size: 28px; font-weight: 300; }
.input-div { width: 80%; }
input[type="text"], .year,input[type="email"],input[type="tel"],input[type="password"] { border: 2px solid var(--primary-color); border-radius: 10px; padding: 10px 20px; font-size: 20px; width: 100%; color: var(--primary-color); }
input[type="text"]::placeholder, .year::placeholder, .number-size::placeholder { color: var(--primary-color); opacity: 0.6; }
#estimation form { display: flex; flex-direction: column; }
#estimation img { height: 100%; width: 100%; object-fit: cover; border: 2px solid var(--primary-color); border-radius: 20px; }
.estimation-div { display: flex; flex-direction: column; gap: 50px; }
#bouton-form { padding: 5px 10px 5px 30px; display: flex; gap: 10px; color: var(--white); background: var(--primary-color); text-decoration: none; border-radius: 30px; font-size: 20px; font-weight: 300; width: 350px; height: 50px; align-items: center; margin-top: 50px; }
#bouton-form img { width: 40px; height: 40px; }

#faq { color: var(--primary-color); margin: 200px auto; }
#faq h2 { font-size: 60px; }
.faq-container { width: 85%; margin: auto; display: flex; flex-direction: column; gap: 30px; }
.faq-item { border-bottom: 1px solid var(--primary-color); padding: 20px 0; }
.faq-question { display: flex; justify-content: space-between; cursor: pointer; align-items: center; }
.faq-answer { display: none; padding: 10px 0; }
.faq-question i { transition: transform 0.3s; }
.faq-question.active i { transform: rotate(180deg); }
.faq-item i { color: var(--primary-color); font-size: 24px; }
.faq-item h4 { font-size: 24px; font-weight: 500; }
.faq-answer p { font-weight: 400; }
#question-container { width: 95%; margin: auto; }

.suggestions { border: 1px solid #ddd; max-height: 150px; overflow-y: auto; position: absolute; background: var(--white); width: 40%; z-index: 10; }
.suggestion-item { padding: 8px; cursor: pointer; }
.suggestion-item:hover { background-color: #f0f0f0; }






/*-------------- FORMULAIRE --------------*/

#fondForm { background-image: url(/images/estimBien.png); background-repeat: no-repeat; background-size: contain; background-position: center; position: relative; min-height: 95vh; }
#fondForm::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.95); z-index: 1; }
.container-form { position: relative; z-index: 10; opacity: 1; width: 80%; margin: auto; padding: 80px 0; display: flex; flex-direction: column; gap: 20px; }
.container-form-choix {gap: 5px !important;}
#titre-choix { color: var(--primary-color); font-size: 64px; text-align: center; }
.radio-group { display: flex; gap: 50px; justify-content: center; padding-top: 60px; }
input[type="radio"] { display: none; }
.radio-button { display: flex; align-items: center; justify-content: center; padding: 10px 15px; border: 2px solid var(--primary-color); background-color: var(--beige-clair); border-radius: 30px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; height: 300px; width: 300px; flex-direction: column; gap: 20px; }
.radio-button img { width: 30px; height: 30px; margin-right: 10px; }
input[type="radio"]:checked + .radio-button { background-color: var(--primary-color); color: var(--beige); }
.fill-icon { fill: var(--primary-color); height: 100px; width: 100px; }
.radio-group p { color: var(--primary-color); font-size: 28px; }
.radio-group input[type="radio"]:checked + label .fill-icon { fill: var(--beige); }
.radio-group input[type="radio"]:checked + label .fill-icon + p { color: var(--beige); }
#precedent { border: 2px var(--primary-color) solid; background-color: var(--white); border-radius: 10px; padding: 5px 25px 5px 5px; display: flex; flex-direction: row; text-decoration: none; align-items: center; }
.buttons { width: 80%; margin: 50px auto; display: flex; justify-content: space-between; }
.buttons-step { width: 100%; margin: 50px auto; display: flex; justify-content: space-between; }
.buttons img, .buttons-step img { width: 40px; height: 40px; }
#precedent p { color: var(--primary-color); margin: 0; font-size: 20px; }
#suivant { background-color: var(--primary-color); border-radius: 10px; padding: 5px 5px 5px 25px; display: flex; flex-direction: row; align-items: center; border: none; }
#suivant p { color: var(--white); margin: 0; font-size: 20px; }
.select-wrapper { position: relative; width: 100%; }
.select-form { appearance: none; width: 100%; padding: 10px 30px; border: 2px solid var(--primary-color); background-color: var(--white); border-radius: 10px; font-size: 20px; color: var(--primary-color); font-weight: 300;}
.form-step3, .form-step4 { width: 80%; max-width: 1200px; margin: auto; }
.form-step3 h2, .form-step4 h2 { text-align: center; font-size: 64px; color: var(--primary-color); }
.select-wrapper::after { content: ""; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 40px; height: 40px; background-image: url('/images/drop.png'); background-size: contain; background-repeat: no-repeat; pointer-events: none; }
.form-step3 label, .form-step4 label { font-size: 20px; font-weight: 300; color: var(--primary-color); }
.inputM2, .input-number { border: 3px var(--primary-color) solid; border-radius: 10px; display: flex; flex-direction: row; height: 60px; max-width: 200px; }
.inputPrix { border: 3px var(--primary-color) solid; border-radius: 10px; display: flex; flex-direction: row; height: 60px;}
.input-number input { appearance: none; border: none; width: 100%; height: 100%; padding: 10px; text-align: center; color: var(--primary-color); font-size: 20px; border-radius: 10px; }
.number-input { border: 3px var(--primary-color) solid; border-radius: 10px; height: 60px; appearance: none; padding: 10px; text-align: center; color: var(--primary-color); font-size: 20px; }
.inputM2 input{ appearance: none; border: none; width: 60%; height: 100%; padding: 10px; text-align: center; color: var(--primary-color); font-size: 20px; border-radius: 10px 0 0 10px; }
.inputPrix input {appearance: none; border: none; width: 85%; height: 100%; padding: 10px; text-align: center; color: var(--primary-color); font-size: 20px; border-radius: 10px 0 0 10px;}
.inputM2 p{ text-align: center; background-color: var(--primary-color); color: var(--white); width: 40%; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.inputPrix p { text-align: center; background-color: var(--primary-color); color: var(--white); width: 15%; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.info {position: relative;display: inline-block;}
.info-icon {position: absolute;top: 0;right: -20px;width: 20px;height: 20px;background-image: url('/images/info.png');background-size: contain;background-repeat: no-repeat;cursor: pointer;}
.info-icon:hover::before {content: attr(data-tooltip);position: absolute;top: -30px;right: 0;transform: translateY(-50%);transform: translateX(100%);background-color: var(--primary-color);color: var(--white);opacity: 0.95;padding: 10px 20px;border-radius: 10px;font-size: 16px;font-weight: 400;white-space: normal;min-width: 400px;max-width: 700px;z-index: 10;box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);}
.form-group { display: flex; flex-direction: row; width: 100%; }
.form-group-step5 { display: flex; flex-direction: row; gap: 20px; width: 100%; }
.input-group { display: flex; flex-direction: column; gap: 3px; width: 50%; }
.input-group-100 { display: flex; flex-direction: column; width: 100%; gap: 3px;}
.number-buttons { display: flex; flex-direction: column; gap: 2px; height: 60px; }
.number-button, .number-button2 { padding: 5px; border-radius: 100%; background-color: var(--primary-color); display: flex; justify-content: center; align-items: center; border: none; }
.number-button img, .number-button2 img { width: 20px; height: 20px; }
.formM2 { display: flex; flex-direction: row; gap: 10px; }
.form-cont { display: flex; flex-direction: column; gap: 3px; }
#boxes_sizes, #caves_sizes { display: flex; flex-direction: row; gap: 10px; }
.col-4 { flex: 1; max-width: 33%; width: 100%; }
input:focus { outline: none; }
#autre-input-container { display: none; margin-top: 10px; flex-direction: column; }
#autre-input { width: 100%; border: 2px var(--primary-color) solid; height: 55px; font-size: 18px; border-radius: 10px; color: var(--primary-color); padding: 5px 30px; }
#autre-input::placeholder { color: var(--primary-color); opacity: 0.6; font-family: var(--font-texte); }

textarea{border: 2px var(--primary-color) solid;background-color: var(--white);color: var(--primary-color);font-size: 20px; font-family: var(--font-texte); border-radius: 10px !important; padding: 10px; width: 100%;}
.input-radius{border-radius: 10px !important;}
.select-group{gap: 40px;}

/* ---------- STEP 4 APPARTEMENT --------------- */
/* Masquer les boutons radio et cases à cocher par défaut */
.radio_bruit,
.radio_luminosite,
.radio_vente,
.radio_genre,
.checkbox_supplémentaires,
.checkbox_exterieur,
.checkbox_exposition,
.checkbox_parties_communes,
.checkbox_option {
    display: none; 
}

/* Styles pour les étiquettes de boutons radio et cases à cocher */
.radio-label-bruit,
.radio-label-commodités,
.radio-label-luminosite,
.radio-label-vente,
.radio-label-genre,
.checkbox-label-supplémentaires,
.checkbox-label-exterieur,
.checkbox-label-exposition,
.checkbox-label-parties-communes,
.checkbox-label-option {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 10px; 
    margin: 5px; 
    cursor: pointer; 
    border: 2px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
    font-family: var(--font-texte);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 18px !important; 
    border-radius: 10px; 
    font-weight: 300 !important;
    flex-grow: 1; 
    text-align: center;
    box-shadow: 2px 2px 5px rgba(133, 10, 30, 0.293); /* Ombre */
    transition: box-shadow 0.3s ease;
}

/* Couleurs pour les boutons sélectionnés */
.radio_bruit:checked + .radio-label-bruit,
.radio_comm:checked + .radio-label-commodités,
.radio_luminosite:checked + .radio-label-luminosite,
.radio_vente:checked + .radio-label-vente,
.radio_genre:checked + .radio-label-genre,
.checkbox_supplémentaires:checked + .checkbox-label-supplémentaires,
.checkbox_exterieur:checked + .checkbox-label-exterieur,
.checkbox_exposition:checked + .checkbox-label-exposition,
.checkbox_parties_communes:checked + .checkbox-label-parties-communes,
.checkbox_option:checked + .checkbox-label-option {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* État de survol pour les étiquettes */
.radio-label-luminosite:hover,
.checkbox-label-exposition:hover {
    background-color: var(--white);
}

/* Conteneurs principaux */
.radio-container,
.checkbox-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Conteneurs des éléments */
.radio-between,
.checkbox-between {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    margin: auto;
}

/* Style des labels pour chaque option */
.label-small {
    font-size: 18px !important;
}

.checkbox-item{width: 100%;}

/* Admin */
.form-connexion{max-width: 500px;margin-top:70px;}
.input-connexion{padding: 5px 15px !important;font-size: 18px; font-weight: 300;}
#connexion{width: 100%;color: var(--white); background-color: var(--primary-color);border-radius: 10px;height: 40px;display: flex; align-items: center; justify-content: center;border: none;font-size: 20px;font-family: var(--font-texte);margin-top: 35px;}
.nav-login{margin: 40px 0;}

#logo-admin{width: 100px; height: 100px;}
nav{width: 100%; height: 100px; display: flex;flex-direction: row;}
.div-logo{width: 200px ;height: 100%; background-color: var(--white);display: flex;justify-content: center;align-items: center;}
.div-liens{width: 100%; background-color: var(--primary-color);color: var(--white);display: flex; justify-content: right; align-items: center;padding-right: 80px;}
.liens a{color: var(--white); font-size: 22px; font-family: var(--font-texte);text-decoration: none;}
.liens{width: 280px; display: flex;flex-direction: row;justify-content: space-between;}

#estim-section{width: 90%;margin: auto; padding: 50px 0; color: var(--primary-color); font-family: var(--font-texte);}
.estim-div{padding:10px 70px; max-width: 1300px; width: 100%; border: 2px var(--primary-color) solid; border-radius: 10px;display: flex;flex-direction: row; align-items: center; justify-content: space-around;position: relative;}
.estim-div p{margin: 0; font-size: 20px;}
.estim-list a{width: 100%; height: 100%; color: var(--primary-color); text-decoration: none;}
.estim-div input{border: 2px var(--primary-color) solid;}
.estim-infos{width: 100%; display: flex; flex-direction: row; justify-content: space-between;}
.estim-list{width: 100%;display: flex;flex-direction: column; gap: 10px; margin-bottom: 80px;}
 
.verticale{width: 2px; background-color: var(--primary-color);}
.checkbox-statut {display: inline-block;padding-left: 35px;cursor: pointer;font-size: 18px;user-select: none; }
.checkbox-statut input {opacity: 0;cursor: pointer; height: 25px;width: 25px;}
.checkbox-checkmark {position: absolute;top: 50%;left: 70px;transform: translateY(-50%); height: 25px;width: 25px;background-color: #fff;border: 2px solid var(--primary-color);border-radius: 5px; transition: background-color 0.3s, border-color 0.3s; }


.urgent {position: relative;}
.urgent::after {content: var(--date);;position: absolute;top: -10px;right: -10px;background-color: red;color: white;font-size: 12px;font-weight: 500;padding: 2px 6px;border-radius: 10px;}
.bientot {position: relative;}
.bientot::after {content: var(--date);;position: absolute;top: -10px;right: -10px;background-color: orange;color: white;font-size: 12px;font-weight: 500;padding: 2px 6px;border-radius: 10px;}
.intime {position: relative;}
.intime::after {content: var(--date);position: absolute;top: -10px;right: -10px;background-color: green;color: white;font-size: 12px;font-weight: 500;padding: 2px 6px;border-radius: 10px;}

  

.estim-div:hover {
    transform: scale(1.01);  /* Agrandit l'élément légèrement */
    transition: transform 0.3s ease;  /* Transition fluide */
}



.titre-div-bien{margin-top: 40px;}
.titreBien{font-size: 40px; font-weight: 600; text-align: right;}
.titre-div-bien h3{font-size: 32px; font-weight: 400; text-align: right;}
.titre-div-bien p{font-size: 22px; text-decoration: underline; text-align: right;}
.titre-div-bien p img{height: 22px; width: 22px;}
.infos-bien{margin-top: 80px; display: flex; flex-direction: column; gap: 20px;}
.titre-parties-infos{font-size: 32px; font-weight: 200;}
.div-wrap{display: flex; flex-direction: row; flex-wrap: wrap; width: 100%; gap: 20px;}
.elements-wrap{display:flex; border: 2px solid var(--primary-color); border-radius: 10px; padding: 15px 20px; align-items: center;}
.elements-wrap p{margin: 0; font-size: 22px; font-weight: 400;}
.double-wrap{display: flex; flex-direction: column; gap: 60px;}
#estim-section hr {background-color: var(--primary-color); height: 1px; opacity: 1; margin: 50px 0;}
#estim-section h4{ font-size: 28px; font-weight: 200; margin-top: 40px;}
.précisions-texte{font-size: 20px;}



.modal {display: none; position: fixed;z-index: 1;left: 0;top: 0;width: 100%;height: 100%;overflow: auto; background-color: rgba(0, 0, 0, 0.4); }
.modal-content {background-color: #fff;margin: 15% auto;padding:50px 30px;border: 1px solid var(--primary-color);width: 90%;max-width: 600px; position: relative; display: flex;flex-direction: column; gap: 20px;}
.modal-content button, .error-404 a{margin-top: 20px; color: var(--white); background-color: var(--primary-color); border-radius: 10px; padding: 7px 30px;}
.modal-titre{margin: 0 !important;font-size: 36px;}
.close {color: var(--primary-color);float: right;font-size: 36px;font-weight: bold; position: absolute; right: 30px; top: 10px;}
.close:hover,
.close:focus {color: black;text-decoration: none;cursor: pointer;}

.error-404 h1, .error-404 p{color: var(--primary-color); text-align: center;}
.error-404 h1 {font-size: 48px; font-weight: 600;}

.search-div{display: flex; flex-direction: row; justify-content: space-between; align-items: center;padding: 40px 0;}
.search-div-dashboard{display: flex; flex-direction: row; justify-content: right; align-items: center;padding: 40px 0;}

.search-form { display: flex; align-items: center; border: 2px solid var(--primary-color); border-radius: 10px; overflow: hidden; max-width: 400px; height: 50px;width: 100%;}
.search-form input[type="text"] { flex: 1; padding: 10px; border: none; outline: none; font-size: 16px; }
.search-form button { background-color: var(--primary-color); border: none; padding: 0 15px; cursor: pointer; display: flex; align-items: center; justify-content: center;height: 100%; border-radius: 0!important; }
.search-form button svg { fill: white; width: 18px; height: 18px; }

.titre-estim{margin: 20px 0 ;}

.container-politique {width: 90%;margin: 50px auto;padding:20px;background-color: var(--white);box-shadow: 0 0 10px; color: var(--primary-color);box-shadow: none;}
.container-politique a{color: var(--primary-color);}
.container-politique p {margin-bottom: 20px;}
.container-politique h1 {margin-bottom: 30px;}
.section-title {margin-top: 30px;font-size: 1.5em;font-weight: bold;}
.nav-politique { display: flex; justify-content: space-between; width: 100%; height: 180px;align-items: center; }
.btn-retour{color: var(--white) !important; background-color: var(--primary-color)!important; font: 20px!important; border-radius: 10px!important; padding: 7px 20px!important;height: auto;}
.accept_politique{font-size: 15px !important;}
.accept_politique a{color: var(--primary-color);}

.custom-checkbox {
    min-width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color); /* Remplacez par votre couleur primaire */
    border-radius: 5px;
    appearance: none; /* Retire le style par défaut de la checkbox */
    -webkit-appearance: none; /* Support Safari */
    background-color: white;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

/* Style quand la case est cochée */
.custom-checkbox:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox:checked::after {
    content: '✔';
    color: white;
    font-size: 18px;
    position: absolute;
    top: -7px;
    left: 3px;
}


/* Responsive Styles */
@media (max-width: 1150px) {
    .top-left { width: 70%; }
    #carousel-container, #carousel-why, #carousel-etapes { height: 1000px; }
    .carousel-slide { flex-direction: column; }
    .carousel-image {width: 80%;}
    .carousel-content {width: 80%;}
    .container-form{width: 100%;}
    .form-connexion h2{ font-size: 64px;}
}

@media (max-width: 992px) {
    .top-left { width: 80%; }
    #venez h2 { font-size: 40px; }
    #atouts .row { flex-direction: column; justify-content: center; gap: 40px; }
    .atout { width: 100%; }
    #etapes h2, #why h2 { font-size: 56px; }
    #carousel-container, #carousel-why, #carousel-etapes { margin: 45px auto; }
    footer { padding: 10px 40px; }
    footer, .liens-footer { display: flex; flex-direction: column; height: auto; gap: 10px; }
    footer div p, footer div a { width: 100%; text-align: center; }
    .buttons{width: 100%;}
    .form-step3 h2 { font-size: 56px;}
    .form-connexion h2{ font-size: 64px;}
    .estim-div{padding: 10px 30px;}
    .checkbox-checkmark {left: 30px;}
}

@media (max-width: 960px) {
    .col-image { display: none; }
    .estimation-div { width: 100%; }
    #estimation h2 { font-size: 48px; }
    .estimation-div { gap: 30px; }
    #faq { margin: 100px auto; }
    #titre-choix{font-size: 54px;}
    .radio-group{ flex-direction: column; padding-top: 40px;}
    .radio-button{width: 100%; flex-direction: row; height: 200px;}
    .radio-button p{font-size: 32px; margin: 0;}
    .radio-button svg{height: 100px; width: 100px;}
    .form-step4 h2 { font-size: 54px;}
    .form-connexion h2{ font-size: 64px;}
    .footer-first{flex-direction: column; justify-content: center; gap: 5px;}
}
@media (max-width: 900px){
    .form-step3 label { font-size: 18px;}
    .form-step3 h2 { font-size: 48px;}
    .form-connexion h2{ font-size: 64px;}
}
@media (max-width: 820px){
    #titre-choix{font-size: 48px;}
    .radio-button svg{height: 75px; width: 75px;}
    .radio-button{width: 100%; flex-direction: row; height: 150px;}
    .form-connexion h2{ font-size: 64px;}
    .estim-list{flex-direction: row; flex-wrap: wrap;}
    .estim-list a{width: 49%;}
    .estim-infos{flex-direction: column;}
    .verticale{display: none;}
    .estim-div p{margin: 0; font-size: 16px;}
}

@media (max-width: 770px) {
    #venez p { width: 80%; }
    .carousel-slide { width: 75%; }
    #carousel-container, #carousel-why, #carousel-etapes { height: 1000px; }
    .carousel-content { gap: 10px; }
    .carousel-image { height: 350px; }
    .titre-etape { font-size: 36px; line-height: 36px; }
    #etapes h2, #why h2  { font-size: 48px; line-height: 48px; }
    .bouton-rouge { padding: 10px 30px; gap: 0px; width: 350px; font-size: 18px; }
    .text-rouge { font-size: 20px; }
    .top-left h1 { font-size: 58px; }
    #estimation h2 { font-size: 38px; }
    #faq h2 { font-size: 48px; }
    .suggestions { width: 70%; }
    #titre-choix{font-size: 40px;}
    .form-step3 h2 { font-size: 40px;}
    .radio-between { flex-direction: column;}
    .select-group {flex-direction: column;gap: 20px;}
    .select-group>div {width: 100% !important;}
    .form-step4 h2 { font-size: 48px;}
    .select-resi {gap: 10px;}
    .form-connexion h2{ font-size: 64px;}
}

@media (max-width: 630px) {
    #venez { margin-bottom: 80px; }
    #etapes h2, #why h2  { font-size: 40px; }
    .texte-etape { font-size: 18px; }
    #estimation h2 { font-size: 32px; }
    #estimation label { font-size: 24px; }
    .input-div { width: 100%; }
    #faq h2 { font-size: 40px; }
    .faq-item h4 { font-size: 20px; }
    .buttons, .buttons-step{ flex-direction: column; gap: 20px;}
    .buttons a, .buttons button, .buttons-step a, .buttons-step button {justify-content: center;margin: auto;width: 80%;}
    .radio-group { gap: 30px; padding-top: 20px;}
    .form-step3 h2 { font-size: 36px;}
    .container-form {width: 90%;}
    .form-step4 h2 { font-size: 40px;}
    .lots {flex-direction: column;}
    .lots label {width: 100%;}
    .form-group-step5 {flex-direction: column;}
    .communes {flex-direction: column;}
    .communes label {width: 100%;}
    .form-connexion h2{ font-size: 64px;}
    .estim-list a{width: 48%;}
    .estim-div{padding: 10px}
    .checkbox-checkmark{left: 10px;}
}

@media (max-width: 575px) {
    .top-left { padding: 30px; }
    .top-left h1 { font-size: 48px; }
    .bouton-rouge { width: 310px; margin-top: 10px; }
    #venez h2 { font-size: 36px; }
    #venez p { width: 85%; }
    #estimation h2 { font-size: 28px; }
    #bouton-form { font-size: 18px; width: 330px; margin-top: 30px; }
    #faq { margin: 60px auto; }
    .carousel-image { height: 300px; }
    .titre-etape { font-size: 32px; }
    .texte-etape { font-size: 16px; }
    #top-page { min-height: 750px; }
    #fondForm{ width: 100%;}
    #titre-choix{font-size: 36px;}
    .form-step3 h2 { font-size: 32px;}
    .form-group {gap: 10px;}
    .tiers-div {margin: auto; width: 90%;}
    .exterieur { flex-direction: column; }
    .exterieur label {width: 100%;}
    .surfaceContainer .formM2 {margin-bottom: 30px;}
    .form-connexion h2{ font-size: 54px;}
    .estim-list a{width: 100%;}
    .div-liens{padding-right: 40px;}
    .div-liens a{font-size: 18px;}
    .liens{width: 220px;}
}

@media (max-width: 520px) {
    .carousel-image { height: 280px; }
    #etapes h2, #why h2  { font-size: 36px; line-height: 36px; }
    .titre-etape { font-size: 32px; line-height: 32px; }
    #faq h2 { font-size: 36px; }
    .radio-button {flex-direction: column; height: 200px; gap: 8px;}
    .radio-button svg { height: 65px; width: 65px;}
    .radio-button p {font-size: 28px;}
    .form-step4 h2 { font-size: 32px;}
    .form-connexion h2{ font-size: 46px;}
}

@media (max-width: 480px) {
    .bouton-rouge { width: 290px; font-size: 16px; align-items: center; }
    .top-left h1 { font-size: 40px; }
    .text-rouge { font-size: 18px; }
    #etapes h2, #why h2  { font-size: 32px; }
    .titre-etape { font-size: 28px; }
    .texte-etape { font-size: 15px; }
    #etapes, #why { width: 95%; }
    #carousel-container, #carousel-why, #carousel-etapes { height: 920px; }
    #venez h2 { font-size: 32px; }
    .atout { padding: 0 10px; }
    .atout p { padding: 0 10px; }
    .container-form {width: 95%;}
    .inputM2 p, .inputPrix p{font-size: 20px;}
    .form-connexion h2{ font-size: 40px;}
    #logo-admin{width: 70px; height: 70px;}
    .div-logo{width: 120px;}
    .infos-bien p{font-size: 20px;}
    .modal-titre{font-size: 28px;}
}

@media (max-width: 420px) {
    .top-left { width: 90%; left: 5%; padding: 25px; }
    #etapes h2, #why h2 { font-size: 30px; }
    .radio-button p {font-size: 24px; font-weight: 400;}
    #titre-choix { font-size: 32px;}
    .form-connexion h2{ font-size: 38px;}
}

@media (max-width: 375px){
    .form-step3 h2{font-size: 28px;}
    .form-connexion h2{ font-size: 36px;}
    .sizes{flex-direction: column !important;}
    .div-liens{padding-right: 20px;}
    .liens{width: 200px;}
    .infos-bien p{font-size: 18px;}
}

 /* Styles par défaut */
 .cookie-consent-banner {
    position: fixed;
    bottom: 10px !important;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: rgba(255, 250, 250, 0.95);
    color: #850A1E;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    font-family: Poppins, sans-serif;
    border-radius: 20px;
    border: 2px solid #850A1E;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    top: unset !important;
}

/* Message */
.cookie-consent-banner p {
    width: 70%;
    font-size: 16px;
    margin: 0;
}

/* Liens dans le message */
.cookie-policy-link {
    color: #850A1E;
    text-decoration: underline;
}

/* Conteneur des boutons */
.cookie-buttons {
    display: flex;
    justify-content: center;
    width: 30%;
    gap: 20px;
}

/* Boutons */
button {
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
}

.js-cookie-consent-agree {
    background-color: #850A1E;
    color: white;
}

.js-cookie-consent-decline {
    background-color: #fef8f5;
    color: #850A1E;
    border: 2px solid #850A1E;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cookie-consent-banner p {
        width: 100%;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 70%;
        margin-bottom: 10px;
        margin: auto;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 10px;
    }

    .cookie-consent-banner p {
        font-size: 14px;
    }

    .cookie-buttons button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

#faq strong{
    font-weight: 600 !important;
}

/* Styles du carousel */
.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de l'écran */
    overflow: hidden;
}

.hero-carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-slide.active {
    opacity: 1;
}

/* Filtre sombre pour le texte */
.hero-carousel-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Ajuste l'opacité ici */
}

/* Contenu du texte */
.hero-carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 70%;
}

.hero-carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-carousel-content p {
    font-size: 1.2rem;
}

/* Boutons */
button.hero-prev, button.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
}

button.hero-prev:hover, button.hero-next:hover {
    background: rgba(255, 255, 255, 0.6);
}

button.hero-prev {
    left: 20px;
}

button.hero-next {
    right: 20px;
}

/* Indicateurs */
.hero-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-indicator {
    width: 12px;
    height: 12px;
    margin: 5px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    transition: 0.3s;
}

.hero-indicator.active {
    opacity: 1;
}


.estimations-filter h1 {
    font-family: var(--font-titre);
    font-weight: 700;       /* semi-bold, moins épais */
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.25em;
    letter-spacing: 0.02em;
    line-height: 1;
}

.estimations-filter h4 {
    font-family: var(--font-titre);
    font-weight: 500;       /* semi-bold */
    font-size: 1.2rem;
    color: #939393;
    margin-bottom: 1.5em;
    letter-spacing: normal;
    line-height: 1.3;
}


.estimations-filter form.row {
    font-family: var(--font-texte);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid var(--primary-color);
    align-items: end;
    background-color: #FFF;
    display: flex;
    align-items: flex-end !important;
}

.estimations-filter form h3 {
    font-family: var(--font-titre);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color);
    padding-bottom: 5px;
    margin: 0 !important;
}

.estimations-filter label.form-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    display: inline-block;
}

.estimations-filter input.form-control-sm,
.estimations-filter select.form-select-sm {
    border: 2px solid var(--beige-fonce);
    background-color: var(--opaque);
    color: var(--primary-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    height: 38px;
    padding: 0.25rem 0.5rem;
}

.estimations-filter input.form-control-sm:focus,
.estimations-filter select.form-select-sm:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: var(--white);
    color: var(--primary-color);
}

.estimations-filter input::placeholder {
    color: var(--beige-fonce);
    opacity: 0.7;
    font-style: italic;
}

.estimations-filter button.btn-sm, .estimations-filter a.btn-sm  {
    background-color: var(--primary-color);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 0;
    min-width: 40px;
    color: white;
}


/* Responsive */
@media (max-width: 576px) {
    .estimations-filter form.row {
        padding: 12px 15px;
    }

    .estimations-filter h1 {
        font-size: 2.2rem;
    }

    .estimations-filter h4 {
        font-size: 1.1rem;
    }

    .estimations-filter form h3 {
        font-size: 1.3rem;
    }
}


/* Scoped styles */
.estimation-details {
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.estimation-details .card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.estimation-details h2 {
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    color: rgb(133, 10, 30);
    display: flex;
    align-items: center;
    gap: 8px;

}
.card-body-client{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.estimation-details p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.estimation-details select,
.estimation-details textarea {
    width: 100%;
    padding: 8px 10px;
    margin-top: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.estimation-details .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(133, 10, 30);
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.estimation-details .btn-primary:hover {
    background: rgb(110, 8, 25);
}


/* Cartes */
.estimation-details .card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.05);
}

.estimation-details .card.client {
    grid-column: span 4;
}

.estimation-details .card.bien {
    grid-column: span 8;
}

.estimation-details .card.exposition,
.estimation-details .card.classification {
    grid-column: span 6;
}

.card.appartement-section,
.card.maison-section {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Sous-blocs appartement et maison */
.appart-block,
.maison-block {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

/* Labels et valeurs */
.info-pair {
    margin-bottom: 12px;
}

.info-pair label {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-size: 0.95rem;
}

.info-pair .value {
    font-size: 1.1rem;
    color: #222;
}

/* Icônes */
.estimation-details .info-pair i {
    margin-right: 6px;
    color: var(--primary-color);
}

.estimation-details .infos {
    display: flex;
    flex-direction: column;
}
.estimation-details .infos p {
    margin: 0 !important;
}
.info-content{
    font-size: 1.1rem;
    font-weight: 500;
}

/* Style harmonisé avec la charte */
.estimation-form .input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex-direction: row;
    width: unset;
}
.estimation-form .input-group-text {
    background-color: #f8f9fa;
    font-weight: bold;
    min-width: 45px;
    text-align: center;
}
.estimation-form input {
    border-radius: 0.375rem 0 0 0.375rem;
}
.estimation-form .card {
    border-radius: 10px;
}

.estimation-result .badge { font-size: .85rem; }
.estimation-result h3 { font-size: 1.6rem; }
.estimation-result .value-box { background: #f8f9fa; border-radius: .5rem; padding: .75rem; text-align:center; }
.estimation-result .value-box small { color:#6c757d; display:block; }
.estimation-result .value-box .num { font-weight:700; font-size:1.05rem; }

/* Bloc notes */
    .notes-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        padding: 20px;
        margin-top: 30px;
    }
    .notes-card h3 {
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
    }
    .notes-card textarea {
        width: 100%;
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 12px;
        resize: vertical;
        font-size: 15px;
        min-height: 200px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .notes-card textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
        outline: none;
    }
    .notes-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        margin-top: 15px;
    }
    .notes-actions button,
    .notes-actions .btn-delete {
        border: none;
        border-radius: 20px;
        padding: 10px 25px;
        font-size: 15px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    .notes-actions button {
        background-color: var(--primary-color);
        color: white;
    }
    .notes-actions button:hover {
        background-color: #0056b3;
    }
    .notes-actions .btn-delete {
        background-color: #850A1E;
        color: white;
    }
    .notes-actions .btn-delete:hover {
        background-color: #6b0817;
    }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1050;
        padding-top: 100px;
        left: 0; top: 0;
        width: 100%; height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
    }
    .modal-content {
        background-color: white;
        margin: auto;
        padding: 20px;
        border-radius: 12px;
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
    .modal-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .modal-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .modal-content button {
        border-radius: 20px;
        padding: 8px 20px;
        margin: 5px;
    }

    .modal-backdrop{
        z-index: 2;
    }