/* === STYLES GÉNÉRAUX === */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  color: #333;
}

/* --- HEADER --- */
header {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.header-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}
.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.header-text h1 {
  font-size: 36px;
  margin: 0;
}
.header-text p {
  font-size: 18px;
  margin-top: 10px;
}

/* --- NAVIGATION --- */
.tabs {
  display: flex;
  justify-content: center;
  background-color: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.tab {
  padding: 15px 25px;
  cursor: pointer;
  font-weight: 600;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}
.tab:hover,
.tab.active {
  color: #F57C00;
}
.tab.active::after {
  content: none; /* Supprime le trait orange */
}

/* --- CONTENU DES PAGES --- */
.tab-content {
  display: none;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 40px auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.tab-content.active {
  display: block;
}
.tab-content h2 {
  text-align: center;
  color: #F57C00;
  margin-bottom: 30px;
}

/* === GALERIE DE BIENS === */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.image-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
  width: 300px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
.image-card h3 {
  font-size: 18px;
  color: #333;
  margin: 10px 0 5px;
}
.image-card p {
  color: #666;
  font-size: 14px;
  margin: 0 0 10px;
}

/* --- BOUTON COEUR --- */
.like-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}
.like-btn:hover {
  transform: scale(1.2);
}
.like-btn.liked {
  color: #F57C00;
}

/* --- BOUTONS --- */
.orange-button {
  background-color: #F57C00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin: 20px auto;
  display: block;
  transition: background 0.3s;
}
.orange-button:hover {
  background-color: #e56e00;
}

/* === PAGE BIEN === */
.page-bien {
  background-color: white;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.page-bien h2 {
  text-align: center;
  color: #F57C00;
  margin-bottom: 30px;
}
.page-bien .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-bien .image-card {
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.page-bien .image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.description-bien {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
}
.caracteristiques {
  max-width: 600px;
  margin: 0 auto 30px;
}
.caracteristiques h3 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
}
.caracteristiques ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}
.caracteristiques li::before {
  content: "• ";
  color: #F57C00;
}

/* === FORMULAIRE ESTIMATION === */
.estimation-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.estimation-form input,
.estimation-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}
.estimation-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* === À PROPOS & FAVORIS === */
.page-section {
  background-color: white;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.page-section h2 {
  text-align: center;
  color: #F57C00;
  margin-bottom: 30px;
}
.page-section p {
  color: #555;
  line-height: 1.6;
  text-align: justify;
  max-width: 800px;
  margin: auto;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
  margin-top: 60px;
  font-size: 14px;
  letter-spacing: 0.5px;
}


.apropos-container {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.apropos-img {
  width: 120px;       /* Taille plus petite */
  height: 120px;
  object-fit: cover;
  border-radius: 50%; /* Cercle */
  border: 3px solid #F57C00;
  flex-shrink: 0;     /* Ne pas rétrécir */
}

.apropos-container p {
  flex: 1;            /* Texte prend le reste de l'espace */
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
