*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary-text-color: #002e6b;
  --secondary-text-color: #c7a765;
}
body {
  font-family: Poppins, sans-serif;
  font-size: clamp(0.8em, 1vw, 1.2em);
  color: var(--primary-text-color);
}

header {
  position: sticky;
  top: 0;
  right: 0;
  background: #4ab851;
  z-index: 3000;
  border-bottom: 1px solid grey;
  color: white;
}
.max {
  max-width: 1600px;
  margin: auto;
}
[x-cloak] {
  display: none !important;
}
.mobile-side-menu {
  display: none;
}
#logo {
  text-align: center;
}
#logo img {
  width: 70%;
  height: auto;
  object-fit: cover;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  width: 90%;
  max-width: 1600px;
  margin: auto;
  text-transform: uppercase;

  line-height: 1.4;
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
}
.header-container .search {
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: 500;

  display: flex;
  align-items: center;
  gap: 15px;

  cursor: pointer;
}
.main-navigation {
  padding: 17px;
  width: 65%;
}
.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-navigation ul li a {
  text-decoration: none;
}
.selected-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.lang-container {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.1em;
  cursor: pointer;
  position: relative;
}
.lang-menu {
  position: absolute;
  top: 30px;
  left: 0;
  background: var(--secondary-text-color);
  color: white;
}
.lang-menu ul li {
  padding: 5px;
  font-weight: 500;
}
.lang-menu ul li.selected {
  background: var(--primary-text-color);
}

.menu-mobile {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

.search-container {
  position: absolute;
  transform: translateY(10%);
  background: #4ab851;
  color: white;
  left: 0;
  right: 0;
  padding: 25px 50px;
  padding-bottom: 75px;
}
.search-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.search-inputs {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 20px 0;
}
.input {
  border-bottom: 1px solid var(--secondary-text-color);
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7vw;
}
.button {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 15px 25px;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid var(--primary-text-color);
}
.button.active {
  background-color: var(--primary-text-color);
}
.button.with-icon {
  padding: 10px 25px;
}
#submit-search {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
footer {
  padding: 65px;
  padding-bottom: 20px;
  background-color: #bdbec0;
  color: #fff;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  max-width: 1600px;
  margin: auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  flex-wrap: wrap;
  gap: 35px;
}

.footer-top .client-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-top .client-login span:first-child {
  color: #c7a765;
  text-transform: capitalize;
  letter-spacing: 0.3em;
  font-size: 1.25em;
}
.footer-top .client-login span:last-child {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.5em;
  font-weight: 500;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0 2em;
}
.contact-info h2 {
  font-size: 2.2em;
  color: var(--secondary-text-color);
  line-height: 1.5em;
  font-weight: 500;
}
.contact-info h2 span {
  color: var(--primary-text-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1em;
}
.contact-info p {
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: 500;
  font-size: 1.5em;
}
.contact-info p:last-child {
  font-size: 1.5em;
}
.contact-form {
  background: #bdbec0;
  color: white;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 50px;
}
.contact-form form {
  width: 100%;
}
.contact-form .button {
  color: white;
}
.input-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.input-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
}
.input-form label {
  letter-spacing: 0.4em;
  color: var(--secondary-text-color);
  font-weight: 500;
  font-size: 1.2em;
}
.input-form input,
.input-form textarea {
  background: transparent;
  border: 1px solid #aba3a3;
  /*  border-bottom:  */
  padding: 15px;
  outline: none;
  color: white;
  font-size: 1.2em;
  font-weight: 500;
  resize: none;
  /* padding-right: 75px; */
}
.contact-form input[type="submit"] {
  margin-left: auto;
  margin-top: 15px;
}
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
}
.contact-form small {
  color: var(--secondary-text-color);
  letter-spacing: 0.3em;
}

.hero {
  height: calc(100vh - 100px);
  background-image: url(../images/slide_1.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  background-size: cover;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.23);
}
.hero-content {
  background: rgba(255, 255, 255, 0.95);
  position: absolute;
  /* bottom: 0;
  right: 0; */
  padding: 40px 85px;
  border-radius: 15px 0 0 0;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero-content h1 {
  font-size: 2.2em;
  color: var(--primary-text-color);
  text-align: center;
  line-height: 1.2em;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.hero-content h1 span {
  font-size: 0.8em;
  color: var(--secondary-text-color);
  text-transform: none;
  letter-spacing: 0.1em;
}
main {
  background: fixed #fff url(../images/background.jpg) no-repeat 50% 0 / cover;
  position: relative;
  z-index: 2000;
}
section {
  background: #fff;
}
section.about-us {
  background: #f5f5f5;
}
.about-us-container {
  background: #bdbec0;
  color: white;
  width: 55%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-bottom: 2em;
}
.about-us-container h1 {
  margin: 0;
  font-size: 2.2em;
  text-transform: uppercase;
  color: var(--secondary-text-color);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4em;
  margin-bottom: 65px;
  padding-top: 120px;
}

.about-us-container h1 span {
  font-size: 0.8em;
  color: white;
}
.about-us-content {
  width: 65%;
  line-height: 1.8em;
  font-size: 1.3em;
}
.about-us-content p {
  margin-bottom: 15px;
}
#about-img {
  position: absolute;
  width: 40vw;
  right: 0;
  top: 50%;
  transform: translate(90%, -50%);
}
.about-us-content a {
  font-weight: 500;
  color: var(--secondary-text-color);
}
.selection {
  padding-bottom: 65px;
  padding-right: 1em;
  padding-left: 1em;
}
.selection h1 {
  text-align: center;
  font-size: 2.2em;
  font-weight: 500;
  color: var(--secondary-text-color);
  line-height: 1.5em;
  padding: 1.4em 0;
}
.selection h1 span {
  font-size: 1.65em;
  text-transform: uppercase;
  color: var(--primary-text-color);
  letter-spacing: 0.1em;
}

.card-bien {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 100px;
  height: 100%;
}

.image-bien {
  height: 280px;
  overflow: hidden;
}

.image-bien img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.description-bien {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  justify-content: space-between;
}

.description-bien #ville {
  color: var(--secondary-text-color);
  letter-spacing: 0.25em;
  font-weight: 500;
  font-size: 1.2em;
}
.description-bien h2 {
  font-weight: 600;
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4em;
  height: 3.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.description-bien .prix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4em;
  font-weight: 500;
}

.swiper {
  width: 90%;
}

.swiper-slide {
  height: auto;
}

.swiper-wrapper {
  align-items: stretch;
}

.nos-service {
  position: relative;

  height: 100%;
  background: transparent url(../images/service.jpg) no-repeat 50% / cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nos-service::before {
  background-color: rgba(0, 46, 107, 0.56);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.nos-service-container {
  position: relative;
  padding: 6em;
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.nos-service-container h1 {
  color: var(--secondary-text-color);
  text-align: center;
  line-height: 1.5em;
  font-weight: 500;
}
.nos-service-container h1 span {
  font-size: 1.8em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  width: 100%;
}
.items-container {
  display: flex;
  justify-content: center;
  width: 44%;
  background: white;
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3em;
  padding: 2em 2em;
}
.item-content h2 {
  font-size: 1.2em;
  color: var(--secondary-text-color);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

.item-content h2 span {
  font-size: 1.3em;
  color: var(--primary-text-color);
  text-transform: uppercase;
}

.item-content p {
  font-size: 0.85em;
  line-height: 1.6em;
  /* margin: 1em 2em; */
  width: 65%;
}

.item-content a {
  color: var(--secondary-text-color);
  align-self: flex-end;
  font-weight: 500;
}

.item-container {
  background: white;
  width: 44%;
  display: flex;
  justify-content: center;
}

.alert-mail {
  position: relative;
  background: url(../images/alert.jpg) 50% center / cover no-repeat fixed
    transparent;
  height: 500px;
}

.alert-mail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 46, 107, 0.41);
}

.alert-mail-container {
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.alert-mail-container h1 {
  color: var(--secondary-text-color);
  text-align: center;
  line-height: 1.8em;
  font-weight: 500;
}
.alert-mail-container h1 span {
  font-size: 1.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
}

.blank {
  height: 500px;
}

.ventes {
  min-height: calc(100vh - 100px);
}
.container {
  max-width: 1600px;
  padding: 1em 4em;
  margin: auto;
  height: 100%;
}
.header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 40px;
}

.header h2 {
  font-size: 1.5em;
}

.search-tools {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.circle {
  background: var(--secondary-text-color);
  color: white;
  border-radius: 50%;
  /* padding: 0.3em; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
.tri {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tri span {
  color: var(--secondary-text-color);
  font-size: 1.2em;
  /* font-weight: 500; */
  letter-spacing: 0.1em;
}
.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--primary-text-color);
  color: var(--primary-text-color);
  font-size: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 14l5-5 5 5z'/></svg>"),
    url("data:image/svg+xml;utf8,<svg fill='gray' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");

  background-repeat: no-repeat;
  background-position: right 12px top 10px,
    /* Up arrow */ right 12px bottom 10px; /* Down arrow */

  background-size: 12px;
}

.annonces {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin: 25px 0;
  align-items: stretch;
}

.annonce {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 1em;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.annonce:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.annonce-image {
  height: 250px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.annonce-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 0.3s ease;
}

.annonce:hover .annonce-image img {
  transform: scale(1.05);
}

.annonce-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1em;
  justify-content: space-between;
}
.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1em;
  color: var(--secondary-text-color);
}
.info #prix {
  font-size: 1.3em;
}
.titre h2 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.5em;
  margin: 0;
}
.description {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1em 0;
  /* font-weight: 500; */
  color: var(--secondary-text-color);
  font-size: 1.3em;
  letter-spacing: 0.1em;
}
.desc {
  font-weight: 500;
}
.selectioner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selectioner .button {
  border: none;
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  font-size: 1.2em;
  text-transform: capitalize;
}

.top-blank {
  background: transparent none no-repeat 50% 0 / cover;
  height: 14vh;
  position: relative;
}

.top-blank::before {
  content: "";
  background: rgba(0, 46, 107, 0.72);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3em 4em;
}

.controls a {
  font-size: 1.5em;
}
.controls span {
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  font-size: 1.2em;
}

.fiche-bien .swiper {
  width: 94%;
  height: 750px;
  position: relative;
}
.fiche-bien .swiper .swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.fiche-bien .swiper-pagination-clickable .swiper-pagination-bullet {
  border: 2px solid white;
}
.fiche-bien .swiper-pagination-bullet-active {
  background: white !important;
}
.fiche-bien .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.8);
  background: rgba(0, 0, 0, 0.4);
}
.fiche-bien .swiper-button-next,
.fiche-bien .swiper-button-prev {
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  color: var(--primary-text-color);
}
.fiche-bien .swiper-button-next::after,
.fiche-bien .swiper-button-prev::after {
  font-size: 1.2em;
}

.titre-bien {
  position: absolute;
  background: white;
  z-index: 100;
  bottom: 0px;
  right: 8px;
  padding: 1.1em 2em;
  width: 35%;
  text-align: center;
}
.titre-bien span {
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
}

.titre-bien h1 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.4em;
  padding: 0.5em 3em;
  line-height: 1.4em;
  text-align: center;
}
.bien-infos {
  width: 94%;
  margin: auto;
  display: flex;
}
.infos-techinques {
  flex: 2.5;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 35px;
}
.desc-piece {
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.desc-piece .desc {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  font-size: 1.1em;
  padding: 1.5em;
}

.scroll-wrapper {
  font-size: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 100vh;
  overflow: hidden scroll;
  line-height: 1.4em;
}

.info-description {
  background: #3da754;
  color: white;
  padding: 5em 8%;
  /* width: 20%; */
  flex: 1;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-text-color);
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  border-radius: 4px;
}
.infos-essentiel {
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.infos-essentiel h2 span {
  text-transform: uppercase;
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  font-size: 1.3em;
  /* text-align: center; */
}
.infos-essentiel h2 {
  text-align: center;
  font-size: 1.4em;
}
.info-ess-container {
  padding: 2em 4em 2em 2em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-item-name span#square {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #4ab851;
  border-radius: 50%;
}
.info-item-name span.info-name {
  letter-spacing: 0.2em;
  font-size: 1.3em;
  line-height: 1.4em;
}
.info-item-value span.value {
  color: var(--secondary-text-color);
  font-size: 1.2em;
}
.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info-item-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tools-container button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 1.2em;
  color: var(--secondary-text-color);
  letter-spacing: 0.1em;
  line-height: 1.4em;
}

.decouvrir-bien-container {
  display: grid;
  grid-template-columns: 2fr 2fr;
  padding: 2em;
}
.infos-essentiel.tools {
  padding: 0 2em;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 2em;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.compos-piece {
  display: flex;
  flex-direction: column;
}

.compos-piece h3 {
  text-align: center;
  font-size: 1.2em;
  letter-spacing: 0.1em;
}
.etage {
  display: flex;
  flex-direction: column;
  padding: 2em;
}
.etage-title {
  font-size: 1.3em;
  color: var(--secondary-text-color);
  border-bottom: 1px solid var(--secondary-text-color);
  padding: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.etage-item {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  font-size: 1.2em;
  font-weight: 500;
}

.etage-item:nth-child(2n) {
  background: rgba(240, 240, 240, 0.5);
}
.page-title {
  position: relative;
  width: 100%;
  height: 30vh;
  background: rgba(255, 255, 255, 0.5);
}
.page-title .title {
  background: var(--primary-text-color);
  color: white;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 3em 9em;
  bottom: 0;
  left: 0;
}
.notre-agence .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  letter-spacing: 0.1em;
  line-height: 1.4em;
  text-align: center;
  font-size: 1.3em;
  padding: 10em 3em;
}

.estimation-form {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  font-family: Poppins, sans-serif;
}

.form-section {
  margin-bottom: 3rem;
}

.form-section h3 {
  color: #4ab851;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* Radio buttons styling */
.radio-options {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.radio-options label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary-text-color);
}

.radio-options input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-text-color);
  border-radius: 50%;
  margin-right: 10px;
}

.radio-options input[type="radio"]:checked {
  background-color: var(--secondary-text-color);
  position: relative;
}

.radio-options input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Form fields layout */
.form-section:nth-child(2) .form-group,
.form-section:nth-child(3) .form-group {
  display: inline-block;
  width: calc(33.33% - 1.5rem);
  margin-right: 1.5rem;
  vertical-align: top;
}

.form-section:nth-child(2) .form-group:last-child,
.form-section:nth-child(3) .form-group:last-child {
  margin-right: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #4ab851;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 0.8rem 0;
  border: none;
  border-bottom: 1px solid #4ab851;;
  background-color: transparent;
  color: #4ab851;
  font-size: 1rem;
  outline: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c7a765' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 30px;
}

.form-group.checkbox label {
  display: flex;
  align-items: center;
  color: var(--primary-text-color);
}

.form-group.checkbox input[type="checkbox"] {
  margin-right: 10px;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit .btn {
  background-color: var(--primary-text-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit .btn:hover {
  background-color: #b59655;
}

.estimation .content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.estimation .content h1 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.type-bien {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  background: white;
  color: var(--primary-text-color);
  padding: 1em 6em 1em 1em;
  z-index: 1000;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 5px;
}
.container-loc {
  display: flex;
  align-items: center;
  /* gap: 7vw; */
  border-bottom: 1px solid var(--secondary-text-color);
}
.container-loc .input {
  background: transparent;
  border: none;
  color: white;
  /* background: red; */
  height: 100%;
  width: 100%;
}
.container-loc input:focus,
select:focus,
textarea:focus {
  outline: none;
  border: none;
}
.container-loc input::placeholder {
  color: white;
  text-transform: uppercase;
  font-weight: 500;
}

.budget {
  position: relative;
}

.budget-filter {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-text-color);
  color: white;
  padding: 25px;
  width: 300px;
  z-index: 1000;
}

.slider-container {
  display: flex;
  flex-direction: column;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mini-label,
.maxi-label {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-value {
  color: var(--secondary-text-color);
  font-size: 1.4em;
  font-weight: 500;
}

.currency {
  color: var(--secondary-text-color);
  font-size: 1.4em;
  font-weight: 500;
}

.slider-track {
  position: relative;
  height: 20px;
  margin: 20px 0;
}

.slider-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary-text-color);
  transform: translateY(-50%);
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  top: 0;
  left: 0;
  margin: 0;
}
.value {
  display: flex;
  align-items: center;
  gap: 5px;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: none;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: none;
}

/* Dual range slider fix */
.slider-min {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.slider-max {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.slider-min::-webkit-slider-thumb {
  pointer-events: auto;
  background: white;
  border: 2px solid white;
  position: relative;
  z-index: 100;
}

.slider-max::-webkit-slider-thumb {
  pointer-events: auto;
  background: white;
  border: 2px solid white;
  position: relative;
  z-index: 99;
}

.slider-min::-moz-range-thumb {
  pointer-events: auto;
  background: #4ab851;
  border: 2px solid white;
}

.slider-max::-moz-range-thumb {
  pointer-events: auto;
  background: #c7a765;
  border: 2px solid white;
}

/* Make min thumb accessible when values overlap */
.slider-track:hover .slider-min {
  z-index: 3;
}

.slider-min:focus {
  z-index: 4;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 46, 107, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border-top: 3px solid #4ab851;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.2em;
  color: #4ab851;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
  opacity: 0.9;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-accept {
  background: #4ab851;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.btn-accept:hover {
  background: #3a9441;
  transform: translateY(-2px);
}

.btn-essential {
  background: transparent;
  color: #c7a765;
  border: 2px solid #c7a765;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.btn-essential:hover {
  background: #c7a765;
  color: var(--primary-text-color);
}

.btn-more {
  color: #c7a765;
  text-decoration: underline;
  font-size: 0.85em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.btn-more:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-accept, .btn-essential {
    flex: 1;
    min-width: 120px;
  }
}

.reset-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--secondary-text-color);
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 15px;
}

.dpe-container {
  padding-left: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.energy-scale {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.energy-rating {
  padding: 0.2em 0.5em;
  color: white;
  font-weight: 700;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 50%,
    calc(100% - 10px) 100%,
    0 100%
  );
  display: flex;
  align-items: center;
}
.co2-rating {
  padding: 0.2em 0.5em;
  color: white;
  font-weight: 700;
  position: relative;
  border-radius: 4px;

  padding-right: 15px;
  display: flex;
  align-items: center;
}

.energy-rating.active {
  font-size: 1.8em;
  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 50%,
    calc(100% - 15px) 100%,
    0 100%
  );
}
.energy-rating {
  padding: 0.2em;
  outline: 1px solid;
  color: white;
  font-weight: 700;
}
.energy-rating.active {
  font-size: 1.8em;
}
/* energy rating start with 15% width and increase 5% each  */
.energy-rating.a {
  width: 50px;
  background-color: #4caf50;
}
.energy-rating.b {
  width: 80px;
  background-color: #8bc34a;
}
.energy-rating.c {
  width: 110px;
  background-color: #cddc39;
}
.energy-rating.d {
  width: 140px;
  background-color: #ffeb3b;
}
.energy-rating.e {
  width: 170px;
  background-color: #ffc107; /* amber/orange-yellow */
}
.energy-rating.f {
  width: 200px;
  background-color: #ff9800; /* orange */
}
.energy-rating.g {
  width: 230px;
  background-color: #f44336; /* red */
}
.co2-rating.active {
  font-size: 1.8em;
}

.co2-rating.a {
  width: 50px;
  background-color: #87ceeb;
}
.co2-rating.b {
  width: 80px;
  background-color: #73b1e6;
}
.co2-rating.c {
  width: 110px;
  background-color: #5e9fe1;
}
.co2-rating.d {
  width: 140px;
  background-color: #4a8edc;
}
.co2-rating.e {
  width: 170px;
  background-color: #367bd7;
}
.co2-rating.f {
  width: 200px;
  background-color: #1b58ab;
}
.co2-rating.g {
  width: 230px;
  background-color: #053372;
}

.dpe-label {
  font-weight: 500;
}

.active-energy {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.energy-conso {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
span.line {
  display: block;
  width: 19px;
  height: 1px;
  border: 1px solid black;
}
.conso-value span#value {
  font-size: 1.8em;
  font-weight: 600;
}

.info-energy-conainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5em;
}

/* New css */
section.about-us {
  background: #f5f5f5;
  display: flex;
  justify-content: space-between;
}
.about-us-container {
  flex: 1;
}

.about-us-img-container {
  flex: 1;
}
/* !!!!!!!!!!!!!!!!!!!!!!! #about-img existe deja en haut > remplace avec ceci  !!!!!!!!  */

#about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.annonce-image {
  flex: 1;
}
