/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #f4f7fb;
  color: #333;
  line-height: 1.5;
}

/* ================= HEADER ================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1e3a8a;
  color: white;
}

.main-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.main-header nav a {
  margin-left: 1.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.main-header nav a:hover {
  text-decoration: underline;
}

/* ================= HERO VIDEO ================= */

.hero-video-section {
  position: relative;
  height: 75vh; /* AVANT 100vh */
  min-height: 550px; /* garde un minimum élégant */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 1000px;
  width: 100%;
  padding: 20px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 15px;
}

.categories {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ================= SEARCH BOX ================= */

.search-box {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.search-box input,
.search-box select {
  padding: 16px 22px;
  border-radius: 40px;
  border: none;
  min-width: 200px;
  font-size: 14px;
}

.search-box button {
  padding: 16px 30px;
  border-radius: 40px;
  border: none;
  background: #1e3a8a;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.search-box button:hover {
  background: #3b82f6;
  transform: translateY(-2px);
}

/* ================= PROPERTIES SECTION ================= */

.properties-section {
  padding: 80px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ================= PROPERTY CARD (VERSION BLANCHE CLASSIQUE) ================= */

.property-card {
  position: relative;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

/* Media */

.media-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.property-img,
.property-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge */

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #3b82f6;
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Price overlay */

.price-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: bold;
}

/* Card body */

.property-body {
  padding: 15px;
}

.property-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.property-body p {
  font-size: 0.9rem;
  margin: 4px 0;
}

.location {
  color: #777;
}

/* Contact */

.agent-box {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
}

.whatsapp {
  margin-top: 10px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
}

.whatsapp:hover {
  background-color: #1ebc54;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 28px;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box input,
  .search-box select,
  .search-box button {
    width: 100%;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }

}
.media-container{
position:relative;
overflow:hidden;
height:220px;
border-radius:10px;
}

.media-slider{
width:100%;
height:100%;
position:relative;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:0.4s;
}

.slide.active{
opacity:1;
}

.property-img,
.property-video{
width:100%;
height:100%;
object-fit:cover;
}

.slide-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
color:white;
border:none;
font-size:22px;
padding:6px 12px;
cursor:pointer;
z-index:5;
}

.prev{left:5px;}
.next{right:5px;}
.media-container{
position:relative;
overflow:hidden;
height:220px;
border-radius:10px;
}

.media-slider{
width:100%;
height:100%;
position:relative;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:0.4s;
}

.slide.active{
opacity:1;
}

.property-img,
.property-video{
width:100%;
height:100%;
object-fit:cover;
}

.slide-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
color:white;
border:none;
font-size:22px;
padding:6px 12px;
cursor:pointer;
z-index:5;
}

.prev{left:5px;}
.next{right:5px;}

.views{
font-size:13px;
color:#666;
margin-top:4px;
}
/* ================= GLOBAL ================= */

body{
font-family: "Poppins", sans-serif;
background:#f5f7fa;
margin:0;
padding:0;
color:#333;
}

/* ================= GRID BIENS ================= */

#all-properties{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(360px,1fr));
gap:25px;
padding:30px;
}
/* ================= CARTE BIEN ================= */

.property-card{
background:white;
border-radius:20px; /* 🔥 plus arrondi */
overflow:hidden;
box-shadow:0 12px 35px rgba(0,0,0,0.12); /* 🔥 plus profond */
transition:0.3s;
cursor:pointer;
max-width: 100%;
}

.property-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* ================= MEDIA (IMAGE + VIDEO PLUS GRANDES) ================= */

.media-container{
position:relative;
height:380px; /* 🔥 beaucoup plus grand */
overflow:hidden;
}

.property-img,
.property-video{
width:100%;
height:100%;
object-fit:cover;
transition:0.4s;
}

/* 🔥 effet zoom luxe */
.property-card:hover .property-img,
.property-card:hover .property-video{
transform:scale(1.08);
}

/* ================= SLIDER ================= */

.media-slider{
position:relative;
width:100%;
height:100%;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:0.5s;
}

.slide.active{
opacity:1;
}

/* ================= BOUTONS SLIDER ================= */

.slide-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.4);
border:none;
color:white;
font-size:24px;
width:36px;
height:36px;
border-radius:50%;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
z-index:5;
}

.slide-btn:hover{
background:rgba(0,0,0,0.7);
}

.prev{left:10px;}
.next{right:10px;}

/* ================= OVERLAY VIDEO ================= */

.media-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
to bottom,
rgba(0,0,0,0.1),
rgba(0,0,0,0.5)
);
}

/* ================= BADGE TYPE ================= */

.media-top{
position:absolute;
top:10px;
left:10px;
display:flex;
gap:8px;
z-index:10;
}

.badge-type{
background:white;
padding:4px 10px;
font-size:12px;
border-radius:20px;
font-weight:600;
}

.badge-new{
background:#ff3b3b;
color:white;
padding:4px 10px;
border-radius:20px;
font-size:11px;
font-weight:bold;
}

/* ================= BODY ================= */

.property-body{
padding:15px;
}

.property-body h3{
margin:0 0 6px;
font-size:18px;
}

.location{
font-size:14px;
color:#0a0202;
}

.type{
font-size:13px;
color:#0a0202;
margin-top:3px;
}

/* ================= DETAILS ================= */

.details,
.surface{
font-size:14px;
margin-top:5px;
}

/* ================= VUES ================= */

.views{
font: size 12px;px;
color:#0a0202;
margin-top:4px;
}

/* ================= AGENT ================= */

.agent-box{
margin-top:10px;
display:flex;
justify-content:space-between;
font-size:13px;
color:#a50606;
}

/* ================= BOUTON WHATSAPP ================= */

.contact-actions{
margin-top:12px;
}

.whatsapp{
width:100%;
background:#25D366;
border:none;
color:white;
padding:10px;
border-radius:8px;
font-weight:bold;
cursor:pointer;
transition:0.2s;
}

.whatsapp:hover{
background:#1ebe5d;
}
/* ================= AUTH PAGE ================= */

body{
margin:0;
font-family:'Poppins',sans-serif;
background:#0f172a;
min-height:100vh;
display;
align-items;
justify-content;
}

/* PAGE INSCRIPTION */

.register-page{
margin:0;
font-family:'Poppins',sans-serif;
min-height:100vh;
display:flex;
align-items:center;
justify-content:center;

background-image:url("https://images.unsplash.com/photo-1613977257363-707ba9348227?q=80&w=2070&auto=format&fit=crop");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

/* FORMULAIRE */

.register-container{
background:white;
padding:40px;
border-radius:10px;
width:350px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
text-align:center;
}

/* INPUTS */

.register-container input{
width:100%;
padding:12px;
margin:10px 0;
border-radius:5px;
border:1px solid #ccc;
}

/* BOUTON */

.register-container button{
width:100%;
padding:12px;
background:#2c7be5;
color:white;
border:none;
border-radius:5px;
font-size:16px;
cursor:pointer;
}

.register-container button:hover{
background:#1a5dcc;
}
/* BOUTON ACCUEIL EN HAUT A DROITE */

.home-top-btn{

position:fixed;

top:20px;

right:30px;

background:#2c7be5;

color:white;

padding:10px 18px;

border-radius:8px;

text-decoration:none;

font-weight:bold;

box-shadow:0 5px 15px rgba(0,0,0,0.2);

transition:0.3s;

}

.home-top-btn:hover{

background:#1a5dcc;

transform:translateY(-2px);

}
.delete-btn{

margin-top:10px;

background:#e74c3c;

color:white;

border:none;

padding:8px 12px;

border-radius:6px;

cursor:pointer;

}

.delete-btn:hover{

background:#c0392b;

}
.inspiration-text{
  text-align:center;
  font-size:20px;
  font-style:italic;
  color:#555;
  margin-bottom:30px;
  margin-top:-10px;
  letter-spacing:0.5px;
}

.inspiration-text::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:#0a2540;
  margin:10px auto 0;
  border-radius:5px;
}
video{
  filter: brightness(1.5) contrast(1.1) saturate(1.15);
}
/* ================= FOOTER PREMIUM ================= */

.footer{
  margin-top:60px;
  padding:50px 20px 20px;

  background: rgba(30, 58, 138, 0.9);
  backdrop-filter: blur(12px);

  color:white;
}

/* GRID */
.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap:30px;
}

/* TITRES */
.footer-box h3{
  margin-bottom:15px;
  font-size:15px;
  letter-spacing:1px;
  color:#93c5fd;
}

/* LIENS */
.footer-box a{
  text-decoration:none;
  color:white;
  font-size:14px;
  display:inline-block;
  margin:6px 0;
  transition:0.3s;
}

/* HOVER STYLE AIRBNB */
.footer-box a:hover{
  color:#60a5fa;
  transform:translateX(6px);
}

/* ICÔNES STYLE */
.footer-box a::before{
  margin-right:8px;
  opacity:0.8;
}

/* BAS */
.footer-bottom{
  text-align:center;
  margin-top:30px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,0.2);
  font-size:13px;
  opacity:0.8;
}
/* ================= TOP BIENS ================= */

.top-properties{
  padding:50px 20px;
}

.top-properties h2{
  text-align:center;
  margin-bottom:30px;
  font-size:28px;
  color:#1e3a8a;
}

/* effet spécial */
.top-properties .property-card{
  border:2px solid gold;
  position:relative;
}

/* badge */
.top-properties .property-card::before{
  content:"TOP";
  position:absolute;
  top:10px;
  left:10px;
  background:gold;
  color:black;
  font-size:12px;
  padding:4px 8px;
  border-radius:6px;
  font-weight:bold;
}
/* ================= ANIMATION SCROLL ================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
#searchInput:focus{
  outline:none;
  box-shadow:0 0 10px rgba(56,189,248,0.6);
}
.logo img {
  height: 50px;
  object-fit: contain;
}
.main-header {
  margin-top: 80px; /* 🔥 ajuste ici */
}
.main-header {
  position: relative;
  z-index: 1000; /* 🔥 passe au-dessus */
}
.hero-video-section {
  position: relative;
  z-index: 1;
}
.main-header {
  position: relative;
  z-index: 9999;
}
.main-header {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre logo et texte */
  text-decoration: none;
}

.logo-link img {
  height: 60px;
}

.logo-link span {
  font-size: 22px;
  font-weight: 600;
  color: gold; /* 🔥 style luxe */
  letter-spacing: 1px;
}
.logo-link span {
  font-size: 24px;
  font-family: serif;
  letter-spacing: 2px;
  color: gold;
}
.main-header {
  display: flex;
  justify-content: space-between; /* logo à gauche, menu à droite */
  align-items: center; /* 🔥 aligne verticalement */
  padding: 15px 30px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}
.main-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
nav a:hover {
  color: gold;
}
/* CONTENEUR */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* HEADER */
.main-header {
  padding: 15px 30px;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  height: 60px;
}

.logo-link span {
  font-size: 22px;
  font-weight: 600;
  color: gold;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}
.header-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.main-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.nav-menu {
  display: flex !important;
  gap: 20px;
}
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

/* GAUCHE */
.left {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  height: 60px;
}

.logo-link span {
  font-size: 22px;
  font-weight: 600;
  color: gold;
}

/* DROITE */
.right {
  display: flex;
  gap: 20px;
}

.right a {
  text-decoration: none;
  color: black;
}
.main-header {
  display: flex !important;
}
.menu a {
  color: white; /* 🔥 texte blanc */
}
.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.menu a {
  color: white !important;
}
.main-header a {
  color: white !important;
}
.inspiration-text {
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 3px 10px rgba(0,0,0,0.9);
}
.available-title {
  color: white;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 3px 12px rgba(0,0,0,0.9);
}
.inspiration-text {
  color: #222; /* noir doux (plus élégant) */
  font-size: 18px;
  line-height: 1.5;
}
/* texte noir */
.intro-text {
  color: black;
}
.inspiration-text {
  color: white;
}
.intro-text {
  font-size: 32px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.7;
  max-width: 750px;
  letter-spacing: 0.5px;
}
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  border: none;
  background: red;
  cursor: pointer;
  border-radius: 6px;
}

.tab.active {
  background: black;
  color: white;
}
.tabs {
  display: flex;
  justify-content: center; /* 🔥 centre */
  gap: 15px;
  margin: 30px 0;
}
.tab {
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid #d4af37; /* doré */
  background: transparent;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

/* BOUTONS */
.tab {
  padding: 14px 35px;
  border-radius: 50px;
  border: black;

  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;

  cursor: pointer;

  /* effet glass */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);

  color: black;

  /* ombre luxe */
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);

  transition: all 0.3s ease;
}

/* BOUTON ACTIF */
.tab.active {
  background: linear-gradient(135deg, #0f0c02, #f5d76e);
  color: black;
  box-shadow: 0 10px 30px rgba(212,175,55,0.6);
}

/* HOVER */
.tab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}
.intro-text {
  text-align: center;
  font-weight: 700;
  font-size: 26px;
  color: #111;
  letter-spacing: 0.5px;
}
.top-right-logo img {
  height: 60px !important;
  width: auto !important;
}
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between; /* 🔥 gauche / droite */
  align-items: center;

  padding: 15px 25px;
  z-index: 1000;
}

/* LOGO À GAUCHE */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
}

/* BOUTON À DROITE */
.home-top-btn {
  text-decoration: none;
  font-weight: 600;
}
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
}
.time {
  font-size: 13px;
  color: #0e0202;
}
.badge-type {
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;

  backdrop-filter: blur(10px); /* 🔥 effet verre */
  -webkit-backdrop-filter: blur(10px);

  background: rgba(255, 255, 255, 0.08); /* transparent */
  border: 1px solid rgba(255, 255, 255, 0.2);

  color: white;
  letter-spacing: 0.5px;

  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* 🟢 Maison */
.badge-type.Maison {
  border: 5px solid rgba(46, 204, 113, 0.4);
  color: #2ecc71;
}

/* 🔵 Appartement */
.badge-type.Appartement {
  border: 5px solid rgba(6, 153, 252, 0.4);
  color: #024069;
}

/* 🟣 Studio */
.badge-type.Studio {
  border: 5px solid rgba(155, 89, 182, 0.4);
  color: #9b59b6;
}

/* 🟠 Commerce */
.badge-type.Commerce {
  border: 5px solid rgba(230, 126, 34, 0.4);
  color: #e67e22;
}
.badge-type::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-25deg);
}

.badge-type {
  position: relative;
  overflow: hidden;
}
.property-card {
  width: 100%;
  max-width: 380px; /* 🔥 agrandi */
  border-radius: 20px;
  overflow: hidden;
}
.see-more-container{
  text-align:center;
  margin-top:40px;
}

.see-more-btn{
  display:inline-block;
  padding:14px 40px;

  border-radius:50px;

  background: linear-gradient(135deg, #0f0c02, #f5d76e);
  color:black;

  font-weight:600;
  letter-spacing:1px;
  text-decoration:none;

  box-shadow:0 10px 30px rgba(212,175,55,0.5);

  transition:0.3s;
}

.see-more-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 15px 40px rgba(212,175,55,0.8);
}
/* ================= FOOTER LUXE COMPACT ================= */

.footer {
  padding: 40px 20px 15px;
  text-align: center;

  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255,255,255,0.1);
}

/* CONTENEUR SOCIAL */
.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  margin-bottom: 15px;
}

/* BOUTONS ICÔNES */
.footer-socials a {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.15);

  color: white;
  font-size: 18px;

  transition: all 0.3s ease;
}

/* HOVER LUXE */
.footer-socials a:hover {
  transform: translateY(-4px) scale(1.05);

  background: linear-gradient(135deg, #d4af37, #f5d76e);
  color: black;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* TEXTE BAS */
.footer-bottom {
  font-size: 12px;
  opacity: 0.7;
  color: #ccc;
}
.footer::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #d4af37;
  margin: 0 auto 20px;
  border-radius: 10px;
}
/* ================= FOOTER GRID PRO ================= */

.footer-container {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 40px;

  align-items: start; /* 🔥 alignement vertical parfait */
}

/* BLOCS */
.footer-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TITRES */
.footer-box h3 {
  font-size: 14px;
  color: #d4af37;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* LIENS */
.footer-box a {
  text-decoration: none;
  color: white;
  font-size: 13px;
  opacity: 0.9;
  transition: 0.3s;
}

/* HOVER */
.footer-box a:hover {
  color: #d4af37;
  transform: translateX(5px);
}

/* CONTACT */
.footer-box p {
  font-size: 13px;
  margin: 3px 0;
  color: #ddd;
}
.footer {
  text-align: left;
}
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}
/* ================= ULTRA PREMIUM LIGHT UI ================= */

/* fond global */
body {
  background: #f7f9fc;
  color: #222;
}

/* header plus lumineux */
.main-header {
  background: rgba(30, 58, 138, 0.85);
  backdrop-filter: blur(10px);
}

/* cartes immobilier premium */
.property-card {
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.3s;
}

/* hover luxe */
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
/* ================= SECTION SOMBRE LUXE ================= */

.dark-section {
  background: linear-gradient(135deg, #0b0f19, #111827);
  padding: 60px 20px;
  border-radius: 20px;

  margin: 40px auto;
  max-width: 1200px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* TITRE */
.dark-section .section-title {
  text-align: center;
  color: white;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* PETITE LIGNE LUXE */
.dark-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #d4af37;
  margin: 10px auto;
  border-radius: 10px;
}

/* SOUS-TITRE */
.dark-section .section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-top: 10px;
}

/* ================= SECTION ULTRA SOMBRE LUXE ================= */

.dark-section {
  background: linear-gradient(135deg, #05070f, #0a0f1c, #070a12);
  padding: 70px 25px;
  border-radius: 22px;

  margin: 50px auto;
  max-width: 1200px;

  box-shadow: 0 30px 80px rgba(0,0,0,0.7);

  position: relative;
  overflow: hidden;
}
.lux-text {
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo-register {
  color: #000;
  font-weight: 700;
}

.agent-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
}
.agent-avatar{
  width:50px;
  height:50px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid gold;
  box-shadow:0 0 10px rgba(0,0,0,0.2);
}
.agent-avatar{
  width:45px;
  height:45px;
  border-radius:50%;
  object-fit:cover;
  background:#fff; /* important */
  border:2px solid gold;
}
.agent-box{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-top:10px;
  padding:10px;
  background:#111;
  border-radius:12px;
}

.agent-text{
  color:#fff;
  font-size:14px;
}

.agent-avatar{
  width:55px;
  height:55px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid gold;
}
.agent-name,
.agent-phone {
  font-weight: 700;
}.agent-role {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00c896, #00a86b);
  color: white;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}
.agent-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agent-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-name {
  font-weight: 700;
  font-size: 15px;
}

.agent-phone {
  font-weight: 600;
  font-size: 14px;
  color:#fff;
}

.agent-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.agent-avatar:hover {
  transform: scale(1.05);
}
.footer-premium {
  background: #0f172a;
  color: #e5e7eb;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-box h2 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-box h3 {
  color: #cbd5f5;
  margin-bottom: 15px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-box a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-box a:hover {
  color: #fbbf24;
  padding-left: 5px;
}

.footer-box p {
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-socials a {
  margin-right: 12px;
  font-size: 18px;
  color: #94a3b8;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #fbbf24;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #64748b;
}
.footer-box.brand p {
  margin-bottom: 8px;
  line-height: 1.6;
}
.footer-box.brand h2 {
  font-weight: 600;
  letter-spacing: 2px;
}

.tagline {
  font-size: 14px;
  color: #cbd5f5;
}

.sub-tagline {
  font-size: 13px;
  color: #94a3b8;
  font-style: italic;
}
.recent-properties {
  background: #0f172a;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* Bloc sombre premium */
.recent-properties-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 40px;

  background: #0f172a; /* reste bien sombre */
  border-radius: 18px;

  position: relative;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Bord lumineux subtil (effet luxe) */
.recent-properties-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;

  background: linear-gradient(
    120deg,
    rgba(251, 191, 36, 0.0),
    rgba(251, 191, 36, 0.35),
    rgba(251, 191, 36, 0.0)
  );

  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* Glow très léger externe */
.recent-properties-content::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: radial-gradient(
    circle at top,
    rgba(251, 191, 36, 0.08),
    transparent 70%
  );
  z-index: -1;
}

/* Texte */
.recent-properties-content h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 10px;
}

.recent-properties-content p {
  color: #cbd5f5;
  font-size: 15px;
}
.footer-bottom {
  text-align: center;
  padding: 20px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.auth-area a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 15px;
  transition: 0.3s;
}

.auth-area a:hover {
  color: #fbbf24;
}
.footer-premium,
.footer-premium * {
  color: white !important;
  font-weight: bold;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 15px;
}

.footer-links a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  margin-top:30px;
  margin-bottom:15px;
}

.footer-links a{
  color:white !important;
  text-decoration:none;
  font-weight:bold;
  font-size:14px;
  transition:0.3s;
}

.footer-links a:hover{
  color:white !important;
  opacity:0.7;
}

.footer-bottom{
  color:white;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.footer-links a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  opacity: 1;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 10;
}
.footer-premium {
  position: relative;
  z-index: 1;
}

footer {
  display: block;
}
/* ================= SERVICES ================= */

.services-section{
  padding:70px 20px;
  background:#fff;
  text-align:center;
}

.services-section h2{
  font-size:34px;
  margin-bottom:45px;
  color:#111827;
  font-weight:700;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
  gap:25px;
  max-width:1200px;
  margin:auto;
}

.service-card{
  background:#fff;
  border-radius:20px;
  padding:35px 20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:0.3s;
}

.service-card:hover{
  transform:translateY(-8px);
}

.service-card i{
  font-size:38px;
  color:#0f172a;
  margin-bottom:18px;
}

.service-card span{
  display:block;
  font-size:18px;
  font-weight:600;
  color:#111827;
}
/* ================= SERVICES ================= */

.services-section{
  margin: 50px 0;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 20px;
}

.services-section h2{
  text-align: center;
  font-size: 32px;
  margin-bottom: 35px;
  color: #111827;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.service-card{
  background: #f8fafc;
  border-radius: 18px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #e5e7eb;
}

.service-card:hover{
  transform: translateY(-5px);
  background: #111827;
  color: white;
}

.service-card i{
  font-size: 35px;
  margin-bottom: 15px;
  color: #c9a227;
}

.service-card span{
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.services-section{
padding:50px 20px;
text-align:center;
background:#fff;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:20px;
margin-top:30px;
}

.service-card{
padding:20px;
border-radius:15px;
background:#f8f8f8;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.service-card i{
font-size:28px;
margin-bottom:10px;
display:block;
}
.lux-text{
    margin-bottom:0;
}

.services-section{
    margin:0;
    padding:0;
}

.services-grid{
    margin-top:5px;
}
/* ===== STYLE NORMAL (PC) ===== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:15px;
}

/* ===== MOBILE UNIQUEMENT ===== */
@media screen and (max-width:768px){

  .services-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:12px;
    padding:10px 15px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .service-card{
    flex:0 0 auto;
    min-width:140px;
    scroll-snap-align:start;
    border-radius:12px;
    text-align:center;
  }

  .services-grid::-webkit-scrollbar{
    display:none;
  }

  .services-grid{
    scrollbar-width:none;
  }
}
@media screen and (max-width:768px){
  .service-card{
    background:white;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
    padding:12px;
  }

  .service-card i{
    font-size:20px;
    margin-bottom:5px;
  }

  .service-card span{
    font-size:12px;
    font-weight:600;
  }
}
.services-grid{
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  align-items:stretch;
  gap:12px;
  flex-wrap:wrap; /* permet retour si écran trop petit */
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:15px;
  padding:10px 20px;
  margin-bottom:5px;
}

.footer-links a{
  color:#ccc;
  font-size:13px;
  text-decoration:none;
}

.footer-links a:hover{
  color:#fff;
}
.service-link{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:10px;
text-decoration:none;
color:inherit;
width:100%;
height:100%;
}

.service-link:hover{
transform:scale(1.05);
}
#agents{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));
gap:25px;

padding:30px;
}

.agent-card{

background:white;

padding:25px;

border-radius:20px;

text-align:center;

box-shadow:
0 10px 25px rgba(0,0,0,.08);

transition:.3s;
}

.agent-card:hover{

transform:
translateY(-5px);

}

.photo{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid gold;

  display:block;
  margin:0 auto 20px;

  background:#ddd;

  /* 🔥 FIX ANTI-CLIGNOTEMENT */
  min-width:120px;
  min-height:120px;
  aspect-ratio:1/1;
  transform:translateZ(0);
}

.agent-card h3{

margin:10px 0;

font-size:22px;

}

.agent-card p{

color:#666;

margin:8px 0;

}
.card{

background:
white;

padding:
30px;

border-radius:
20px;

text-align:
center;

box-shadow:
0 10px 30px rgba(
0,
0,
0,
0.08
);

overflow:
hidden;

}
.card{
  background:white;
  padding:30px;
  border-radius:20px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);

  /* 🔥 FIX */
  min-height:320px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

/* ===== FOOTER PREMIUM ===== */

.footer-premium{
background:#0f172a;
color:white;
padding:60px 20px 30px;
font-family:'Poppins',sans-serif;
}


/* CONTAINER */

.footer-container{

display:grid;

grid-template-columns:
repeat(
auto-fit,
minmax(220px,1fr)
);

gap:40px;

max-width:1300px;

margin:auto;

}


/* BLOCS */

.footer-box h3{

font-size:18px;

margin-bottom:15px;

color:#3b82f6;

}


.footer-box a{

display:block;

color:#d1d5db;

text-decoration:none;

margin:10px 0;

font-size:15px;

transition:.3s;

}


.footer-box a:hover{

color:white;
transform:translateX(5px);

}


.footer-box p{

font-size:14px;

line-height:1.7;

color:#d1d5db;

}



/* MARQUE */

.brand h2{

font-size:32px;

margin-bottom:15px;

color:#3b82f6;

}


.tagline{

font-size:15px;

margin-bottom:10px;

}


.sub-tagline{

opacity:.8;

font-size:14px;

}



/* SOCIAL */

.footer-socials{

display:flex;

gap:15px;

margin-top:20px;

flex-wrap:wrap;

}


.footer-socials a{

width:45px;

height:45px;

border-radius:50%;

background:#1e293b;

display:flex;

justify-content:center;

align-items:center;

font-size:20px;

transition:.3s;

}


.footer-socials a:hover{

background:#2563eb;

transform:
translateY(-4px);

}


/* LIENS BAS */

.footer-links{

border-top:
1px solid rgba(
255,
255,
255,
0.1
);

margin-top:50px;

padding-top:25px;

display:flex;

gap:20px;

flex-wrap:wrap;

justify-content:center;

}


.footer-links a{

font-size:13px;

color:#9ca3af;

text-decoration:none;

}


.footer-links a:hover{

color:white;

}



/* COPYRIGHT */

.footer-bottom{

margin-top:25px;

text-align:center;

}


.footer-legal{

font-size:12px;

color:#9ca3af;

line-height:1.8;

}



/* ================= MOBILE ================= */

@media(
max-width:768px
){

.footer-premium{

padding:
40px 18px;

}


.footer-container{

grid-template-columns:
1fr;

gap:
30px;

text-align:
center;

}


/* centre réseaux */

.footer-socials{

justify-content:
center;

}


/* marque */

.brand h2{

font-size:
28px;

}


/* titres */

.footer-box h3{

font-size:
17px;

}


/* liens */

.footer-box a{

font-size:
14px;

}


/* contacts */

.footer-box p{

font-size:
13px;

}


/* liens bas */

.footer-links{

flex-direction:
column;

gap:
12px;

}


.footer-links a{

font-size:
12px;

}


/* copyright */

.footer-legal{

font-size:
11px;

}

}



/* ===== TRÈS PETITS ÉCRANS ===== */

@media(
max-width:480px
){

.brand h2{

font-size:
24px;

}


.footer-socials a{

width:
40px;

height:
40px;

font-size:
18px;

}


.footer-premium{

padding:
35px 15px;

}

}

#installBtn{

position:fixed;

bottom:20px;

right:20px;

background:#2563eb;

color:white;

border:none;

padding:15px 20px;

border-radius:50px;

font-weight:bold;

cursor:pointer;

z-index:9999;

box-shadow:
0 10px 20px rgba(
0,0,0,.2
);

}

.install-app-container{
display:flex;
justify-content:center;
margin:30px 0;
}

#installBtn{

background:#2563eb;

color:white;

border:none;

padding:
16px 28px;

border-radius:
50px;

font-size:
16px;

font-weight:
700;

cursor:pointer;

box-shadow:
0 8px 25px rgba(
0,
0,
0,
.15
);

transition:
.3s;

}

#installBtn:hover{

transform:
translateY(-3px);

background:
#1d4ed8;

}

@media(max-width:768px){

#installBtn{

width:
90%;

font-size:
15px;

padding:
18px;

}

}

.video-wrapper{
  position:relative;
  width:100%;
  height:100%;
}

.sound-icon{
  display:none; /* on cache ton ancien bouton */
}
#installBtn,
.install-app-container {
  display: none !important;
}

