:root {
  /* === COULEURS === */
  --color-white: #EEEDE6;     /* blanc cassé / fond,texte */
  --color-grey: #5D5D5D;   /* gris / paragraphe */
  --color-dark: #333333;   /* noir profond / titres, header, footer */

  /* === TYPOGRAPHIES === */
  --font-main: 'Rubik', sans-serif;

  /* === TAILLES === */
  --container-width: 1200px;
  --gutter: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background-color: #EEEDE6;
  font-size: 16px;
  line-height: 1;
}
/* TITRES */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 20px 0;
}
/* Titre principal */
h1 {
  font-size: 40px;
  color: #EEEDE6;
}
/* Sous-titre */
h2 {
  font-size: 20px;
  color: #EEEDE6;
}
/* Sous-sous-titre */
h3 {
  font-size: 28px;
}
/* Titres plus discrets (petits blocs, cartes...) */
h4 {
  font-size: 22px;
  font-weight: 400;
}
h5 {
  font-size: 18px;
  font-weight: 400;
}
h6 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
/* PARAGRAPHES */
p {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-grey);
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0 0 20px 0;
}  
/*lien*/
a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
/* UTILITAIRES DE COULEURS */
.text-dark {
  color: var(--color-dark);
}
.text-white {
  color: var(--color-white);
}
.text-grey {
  color: var(--color-grey);
}
/* === BOUTONS DE BASE === */
.btn-black,
.btn-white {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
/* === BTN NOIR === */
.btn-black {
  background-color: #333333;
  color: #EEEDE6;
}
.btn-black:hover {
  background-color: #EEEDE6;
  color: #333333;
  border-color: #333333;
}
/* === BTN BLANC === */
.btn-white {
  background-color: #EEEDE6;
  color: #EEEDE6;
}
.btn-white:hover {
  background-color: #333333;
  color: #EEEDE6;
}
/* === VERSIONS LARGE === */
.btn-black-large {
  background-color: #333333;
  color: #EEEDE6;
  border-radius: 10px;
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 16px 30px;
  margin: 0 auto;
  text-align: center;
}
.btn-white-large {
  background-color: #EEEDE6;
  color: #333333;
  border-radius: 10px;
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 16px 30px;
  margin: 0 auto;
  text-align: center;
}
.section {
  padding: 40px 20px; /* 40px haut/bas, 20px gauche/droite */
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 auto;
}

/* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 200px; /* ajuste à ta convenance */
  height: auto;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease;
}
.site-header.scrolled {
  background-color: #333333;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}
.logo img {
  height: 34px;
  display: block;
}
.burger {
  width: 28px;
  height: 16px;
  display: flex;
  position: relative; /* pour pouvoir le déplacer */
  right: 10px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 1001;
}
.burger span {
  position: absolute;
  display: block;
  height: 2px;
  width: 100%;
  background: #EEEDE6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .burger span {
  background: #EEEDE6;
}
.burger span:first-child {
  top: 0;
}
.burger span:last-child {
  bottom: 0;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.fullscreen-menu {
  position: fixed;
  inset: 0;
  background: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.fullscreen-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.fullscreen-nav li {
    margin: 20px 0;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.fullscreen-nav a {
  color: #EEEDE6;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.fullscreen-nav a:hover {
  opacity: 0.7;
}
.menu-logo {
  margin-top: 40px;
}
.menu-logo img {
  max-width: 120px;
  height: auto;
}
.body-lock {
  overflow: hidden;
}

/* FRONT PAGE */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.hero .overlay {
  background-color: rgba(0, 0, 0, 0.5); 
  width: 100%;
  height: 100%;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.social-icons {
  margin-top: 10px;
  margin-right: 15px;
}
.social-icons img {
  width: 20px;
  height: 20px;
}
.social-icons a:hover img {
  opacity: 0.6;
}
/* À propos*/
.about .about__wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.about__media img{
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}
.about__content h6{ margin: 0 0 18px; }
.about__content h3{ margin: 0 0 16px; }
.about__content h4{ margin: 0 0 18px; font-weight: 400; }
.about__content p{ margin: 0 0 14px; }
.about__contact{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.contact__icon{
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.contact__icon img{ width: 40px; height: 40px; }
.contact__text h6{ color: var(--color-text); }
.contact__tel{
  display: block;
  color: var(--color-dark);
  text-decoration: none;
  margin-top: 4px;
}
/* Proprietes */
.section-dark { background: var(--color-dark); padding: 20px 20px; }
.props__head { max-width: 1300px; margin: 0 auto 28px; }
.props__head h6 { margin: 0 0 10px; }
.props__head h3 { margin: 0; }
.props__grid{
  max-width: 1300px;
  margin: 28px auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.prop-card{ display:block; text-decoration:none; }
.prop-card__media{
  position: relative;
  margin:0;
  background:#222;
  overflow:hidden;
  border-radius: 10px;
}
.prop-card__media img{
  width:100%; 
  height:420px;
  object-fit:cover; display:block;
}
.prop-card__label{
  position:absolute; left:16px; bottom:14px;
  color:#fff; font-weight:500; letter-spacing:.12em;
  text-transform:uppercase; font-size:14px;
}
.props__cta{ max-width: 1300px; margin: 0 auto; }

/* Services */
.services {
  padding: 4rem 2rem;
  text-align: center;
}
.services__subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
}
.services__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #111;
}
.btn-primary {
  background-color: #111;
  color: white;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 3rem;
  transition: 0.3s ease;
}
.btn-primary:hover {
  background-color: white;
  color: #111;
  border: 2px solid #111;
}
.services__list .service {
  margin-bottom: 2.5rem;
}
.service__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

/* A PROPOS*/
.mission {
  padding: 2rem;
  text-align: center;
}
.mission__wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.mission__content h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333333;
}
.mission__intro {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.mission__points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}
.mission__points li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.mission__valeurs {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.method {
  padding: 1rem;
  text-align: center;
}
.method__title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333333;
}
.method__intro {
  font-size: 1rem;
  color: #444;
}
.method__grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.method__bloc {
  flex: 1;
  min-width: 250px;
  padding: 2rem;
  background-color: #333333;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.method__bloc h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #EEEDE6;
}
.method__bloc p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #EEEDE6;
}
.cta-block {
  padding: 0;
  margin-bottom: 2rem;
  text-align: center;
}
.cta-block__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333333;
}
.cta-block__subtitle {
  font-size: 1rem;
  color: #555;
}
.cta-block__buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn.btn-outline {
  padding: 0.9rem 2rem;
  font-weight: 400;
  border: 1px solid #333333;
  border-radius: 10px;
  color: #333333;
  background-color: transparent;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.btn.btn-outline:hover {
  background-color: #333333;
  color: #EEEDE6;
}
.imageseule {
  max-width: 1300px;
  margin: 0px auto;
  margin-bottom: 20px;
  padding: 0;
}
.imageseule img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
}

/* NOS BIENS */
.nosbiens-image-section {
  padding: 10px 0;
  text-align: center;
}
.nosbiens-image-wrapper {
  position: relative;
  display: inline-block;
  width: 95%;
  height: 400px;
  max-width: 1200px;
  border-radius: 40px;
  overflow: hidden;
}
.nosbiens-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.nosbiens-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 20px;
}
.nosbiens-overlay h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 400;
}
.nosbiens-overlay h1 {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  color: #EEEDE6;
}
.nosbiens-info-section {
  text-align: center;
  margin: 10px auto;
  width: 95%;
}
.nosbiens-container {
  width: 95%;
  margin: 0 auto;
}
.nosbiens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 10px;
}
.nosbiens-carte-bien {
  position: relative;
  overflow: hidden;
  display: block;
  height: 400px;
  border-radius: 20px;
}
.nosbiens-carte-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nosbiens-carte-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* bandeau noir semi-transparent */
  color: #EEEDE6;
  padding: 20px;
  box-sizing: border-box;
}
.nosbiens-overlay-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nosbiens-overlay-content .nosbiens-titre {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  color: #EEEDE6;
  text-transform: uppercase;
}
.nosbiens-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #EEEDE6;
  font-weight: 400;
}
.nosbiens-bottom-row .nosbiens-ville {
  margin: 0;
  color: #EEEDE6;
}
.nosbiens-bottom-row .nosbiens-prix {
  margin: 0;
  font-weight: 500;
  color: #EEEDE6;
}

/* ACHETER/VENDRE */
.buy-sell-hero {
  width: 95%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
  margin: 1rem auto;
  text-align: center;
  color: #EEEDE6;
  border-radius: 20px;
}
.buy-sell-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.buy-sell-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}
.buy-sell-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #EEEDE6;
}
.buy-sell-hero h1 span {
  color: #333333;
}
.buy-sell-hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #EEEDE6;
}
.btn.btn-primary {
  font-size: 1rem;
  background-color: transparent;
  color: #EEEDE6;
  font-weight: 500;
  border: 1px solid #EEEDE6;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 16px 30px;
  margin: 0 auto;
  text-align: center;
}
.btn.btn-primary:hover {
  background-color: #333333;
}

/* Footer */
.footer {
  background-color: #333333;
  color: #EEEDE6;
  padding: 2rem;
  text-align: center;
  margin: 0 auto;
  align-items: center;
}
.footer-logo {
  text-align: center;
  margin-bottom: 0;
}
.footer-logo img {
  height: 60px;
  width: auto;
  display: inline-block;
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__tagline p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.footer__tagline em {
  font-style: italic;
  font-weight: 400;
}
.btn-footer {
  background-color: #EEEDE6;
  color: #333333;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  text-align: center;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}
.btn-footer:hover {
  background-color: transparent;
  color: #EEEDE6;
}
.footer__infos p, .footer__infos a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-secondary);
}
.footer__nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.footer__nav li {
  margin-bottom: 0.5rem;
}
.footer__nav a {
  color: #EEEDE6;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__nav a:hover {
  text-decoration: underline;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid #fff3;
  padding-top: 1.5rem;
  text-align: center;
}
.footer__socials a {
  margin-left: 1rem;
  font-size: 1rem;
  color: #EEEDE6;
}
.footer__socials a:hover {
  opacity: 0.7;
}

/* QUESTIONNAIRE POUR TOUS */
.estimation-form-container {
  width: 100%;
  padding: 20px;
  margin: 40px auto;
  font-weight: 500;
  background-color: transparent;
  color: #333333;
  text-align: center;
}
.progress-bar {
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}
.progress {
  height: 100%;
  background-color: #333333;
  width: 0%;
  transition: width 0.4s ease-in-out;
}
.form-step {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s ease-in-out;
}
.form-step.active {
  display: flex;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: white;
}
button.next,
button.submit-btn {
  background-color: #333333;
  color: #EEEDE6;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 16px 30px;
  margin: 0 auto;
  text-align: center;
}
button.prev {
  background-color: transparent;
  color: #333333;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 16px 30px;
  margin: 0 auto;
  text-align: center;
  border: 1 solid #333333;
}
button:hover {
  background-color: #000;
}
.form-step.confirmation {
  display: none;
  text-align: center;
  font-size: 1.1rem;
  color: #2c7a55;
  font-weight: 500;
}
.icon-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-option {
  padding: 1rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  background-color: transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.icon-option span {
  margin-top: 0.5rem;
  font-weight: 500;
}
.icon-option.selected {
  border-color: #333333;
  background-color: #f1f1f1;
}

/* BIENS */
.bien-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  color: #333333;
}
.bien-image-principale {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}
.bien-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.bien-title {
  font-size: 1.7rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: #333333;
  text-align: center;
}
.bien-price {
  font-size: 20px;
  color: #333333;
  font-weight: 200;
}
.bien-adresse {
  font-size: 18px;
  color: #777;
  margin-bottom: 30px;
}
.accordion-section {
  max-width: 900px;
  margin: 40px auto;
}
.accordion-item {
  border-bottom: 1px solid #ccc;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-header:hover {
  background: none;
  border: none;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
  color: #555;
}
.accordion-item.open .accordion-content {
  max-height: 1000px;
  padding: 0 0 20px 0;
}
.chevron {
  transition: transform 0.3s ease;
}
.accordion-item.open .chevron {
  transform: rotate(90deg);
}
.bien-infos {
  margin: 4rem auto;
  max-width: 900px;
  background-color: #f2f1e9;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.bien-infos-titre {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333333;
}
.bien-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #ddd;
}
.bien-info-valeur {
  font-weight: 600;
  font-size: 1rem;
}
.bien-info-label {
  font-style: italic;
  font-size: 0.95rem;
  color: #666;
}
.gallery-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}
.gallery-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.gallery-carousel::-webkit-scrollbar {
  display: none;
}
.gallery-image {
  max-height: 400px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
}
.sectionbien-title {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
}

/* CONTACT */
.contact-image-section {
  padding: 10px 0;
  text-align: center;
}
.contact-image-wrapper {
  position: relative;
  display: inline-block;
  width: 95%;
  height: 400px;
  max-width: 1200px;
  border-radius: 20px;
  overflow: hidden;
}
.contact-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.contact-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 20px;
}
.contact-overlay h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 400;
}
.contact-overlay h1 {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  color: #EEEDE6;
}
.contact-buttons-section {
  text-align: center;
  margin: 10px auto;
}
.contact-btn {
  background-color: #333333;
  color: #EEEDE6;
  padding: 15px 30px;
  margin: 10px;
  display: inline-block;
  border: 1px solid #333333;
  border-radius: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.contact-btn:hover {
  background-color: #333;
}
.contact-btn-secondaire {
  background-color: transparent;
  color: #333333;
  padding: 15px 30px;
  margin: 10px;
  border: 1px solid #333333;
  display: inline-block;
  border-radius: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 55%;
}
.contact-info-section {
  text-align: center;
  margin: 14px auto;
}

/* MEDIAS */
@media screen and (max-width: 768px) {
  .estimation-form-container {
  padding: 20px;
  padding-top: 120px;
  padding-bottom: 120px;
  margin: 40px auto;
  }
  .icon-option {
  font-size: 0.7rem;
}
  .header-container {
  padding: 15px 20px;
  }
  .hero {
    min-height: 600px;
    padding-left: 15px;
  }
  .hero h1 {
      font-size: 35px;
  }
  .props__head h3 {
  font-size: 20px;
  }
  .props__head { 
    text-align: center;
  }
  .props__grid {
    grid-template-columns: 1fr;
  }
  .prop-card__media img{
    height: 350px;
  }
  .about .about__wrap {
    display: block;
    padding: 0;
  }
  .about__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .about__content {
    padding-top: 20px;
  }
  .services__list {
    display: block;
    flex: 1;
  }
  .hero-secondary {
    height: 30vh;
    min-height: 160px;
  }
  .hero-secondary__content h1 {
    font-size: 1.5rem;
  }
  .mission h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .mission__intro,
  .mission__valeurs {
    text-align: center;
  }
  .mission__valeurs {
  font-size: 12px;
  }
  .mission__points li {
    font-size: 1rem;
    padding-left: 1.2rem;
  }
  .method__grid {
    flex-direction: column;
    gap: 10px;
  }
  .method__bloc {
    padding: 1.5rem;
  }

  .method__title {
    font-size: 2rem;
  }

  .method__intro {
    font-size: 1rem;
  }
  .nosbiens-image-wrapper {
    height: 200px;
  }
  .nosbiens-overlay h1 {
    font-size: 1.5rem;
  }
  .nosbiens-overlay h2 {
    font-size: 1rem;
  }
  .bien-infos {
  margin: 1rem auto;
  max-width: 900px;
  background-color: #f2f1e9;
  border-radius: 10px;
  padding: 1rem 1rem;
  }
  .gallery-image {
  max-height: 250px;
  border-radius: 10px;
  gap: 4px;
  }
  .buy-sell-hero {
    width: 95%;
    border-radius: 40px;
  }
  .buy-sell-hero__overlay {
    border-radius: 40px;
  }
  .buy-sell-hero h1 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 1rem;
   }
  .contact-image-wrapper {
    border-radius: 40px;
  }
  .contact-image {
    border-radius: 40px;
  }
  .contact-overlay {
    color: #EEEDE6;
    padding: 0;
  }
  .contact-overlay h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  .contact-overlay h2 {
    font-size: 1rem;
  }
  .contact-btn-secondaire {
    width: 92%;
    margin: 0 auto;
  }
  .contact-btn {
    display: block;
    width: 92%;
    margin: 0 auto 10px;
    text-align: center;
  }
  .footer {
    padding: 1rem;
    align-items: center;
  }
  .footer__top {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .footer__tagline p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .btn-footer {
    padding: 1rem 1.5rem;
    width: 90%;
    border-radius: 10px;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    margin-top: 0.5rem;
  }
  .footer__infos p, .footer__infos a {
    font-size: 0.7rem;
  }
  .footer__nav {
    display: none;
  }
  .footer__bottom {
    align-items: center;
    font-size: 0.8rem;
    padding-top: 2rem;
  }
}
