/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */
*{margin:0;padding:0;box-sizing:border-box;}

:root{
  --bg:#ffffff;
  --muted:#f3f5f7;
  --text:#0f172a;
  --sub:#475569;
  --primary:#1f3b57;
  --primary2:#274a6a;
  --brand-blue: #0f2740;        /* bleu principal */
  --brand-blue-accent: #355f8a; /* 4 plus clair mais maîtrisé */
  --border:rgba(15,23,42,.10);
  --border-strong:#e5e7eb;
  --radius:12px;
  --shadow:0 14px 34px rgba(15,23,42,.10);
  --container:1280px;   
  --pad:40px;
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* Container unique */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad);
}

/* ---------------------------------------------------
   TOP STRIP
--------------------------------------------------- */

.top-strip{
  background:#0f2740;
  color:rgba(255,255,255,.92);
  font-size:.85rem;
}

.top-strip__reviews{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.82rem;
  color:rgba(255,255,255,.9);
  text-decoration:none;
}

.top-strip__reviews .stars{
  display:flex;
  gap:2px;
}

.top-strip__reviews i{
  font-size:.7rem;
  color:#f7a500;
}

.top-strip__inner{
  height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.top-strip__right{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.top-strip a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:600;
}

.top-strip__reviews:hover{
  text-decoration:underline;
}

.top-strip a:hover{ text-decoration:underline; }

/* évite le décalage en double */
.top-strip__reviews span{
  opacity:.9;
  margin-left:0;
}

.top-strip .sep{ opacity:.45; }

@media (max-width:768px){
  .top-strip{ display:none; } /* option : cache sur mobile */
}

#reviews{
  scroll-margin-top:100px;
}

/* ---------------------------------------------------
   ANCIEN HEADER (si tu ne l’utilises plus : supprime)
--------------------------------------------------- */
/*.header{
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
  gap:25px;
  padding:20px 40px;
  background:#f5f9fc;
}
.header-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.header-left .logo{width:90px;}
.header-right{flex:1;margin-top:22px;}
.header-right h1.hero-title{margin:0;padding:0;font-weight:700;line-height:1.2;}
.hero-main{display:block;font-size:1.8rem;font-weight:700;line-height:1.1;margin-bottom:4px;}
.hero-subline{display:block;font-size:.95rem;font-weight:500;color:#444;line-height:1.3;}
.grad1{background:linear-gradient(90deg,#ff4c4c,#ff7a7a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.grad2{background:linear-gradient(90deg,#182942,#3a5c80);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.grad3{background:linear-gradient(90deg,#f7a500,#ffd15c);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.page-subtitle{font-size:1rem;font-weight:500;color:#555;margin-top:4px;}*/


/* ---------------------------------------------------
   TOPBAR (HEADER PREMIUM) — CLEAN
--------------------------------------------------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* La grille du header + hauteur maîtrisée */
.topbar__inner{
  height: 68px; /* header compact, ne grossit pas */
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

/* Container */
.topbar .container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Bloc logo + nom */
.brand{
  display: flex;
  align-items: flex-end;  /* alignement sur le bas */
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  justify-self: start;
}

/* Logo */
.brand__logo{
  height: 44px;      /* taille stable */
  width: auto;
  display: block;    /* supprime l’espace baseline */
  object-fit: contain;
  margin: 0;         /* IMPORTANT : pas de margin-bottom */
}

/* Nom */
.brand__name{
  font-size: 1.15rem;
  color: var(--brand-blue);
  font-weight: 900;
  line-height: 1;    /* évite le “flottement” */
  letter-spacing: .2px;
  margin: 0;         /* au cas où */
  transform: none;   /* IMPORTANT : pas de translate */
}

.brand__accent{
  color: var(--brand-blue-accent);
  font-weight: 800; /* très léger retrait de poids */
}

/* Zone droite */
.topbar__right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}


/* ---------------------------------------------------
   BOUTONS (premium)
--------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:var(--radius);
  font-weight:800;
  font-size:.95rem;
  text-decoration:none;
  border:1px solid transparent;
  transition:transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}

.btn--sm{
  height:40px;
  padding:0 14px;  
  border-radius:var(--radius);
  font-size:.95rem;
}

.btn--primary{
  background:var(--primary);
  color:#fff;
  box-shadow:0 10px 22px rgba(31,59,87,.18);
}
.btn--primary:hover{
  background:var(--primary2);
  transform:translateY(-1px);
}

.btn--ghost{
  background:#fff;
  color:var(--primary);
  border-color:rgba(15,23,42,.14);
}
.btn--ghost:hover{border-color:rgba(15,23,42,.22);}

/* ---------------------------------------------------
   LANGUE (flèche SVG uniquement)
--------------------------------------------------- */
.language-selector{position:relative;margin-left:0;}

.flag-select{
  position:relative;
  display:inline-block;
  font-family:inherit;
  user-select:none;
}

/* Bouton FR/EN */
.current-flag{
  border:0 !important;
  background-color:transparent !important;
  box-shadow:none !important;
  height:auto;
  min-width:auto;
  padding:0 18px 0 0;
  font-weight:800;
  font-size:.9rem;
  color:var(--text);
  /* AJOUT : flèche */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230f172a' d='M5.5 7.5 10 12l4.5-4.5 1.5 1.5-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right center;
  background-size:12px 12px;
}


/* hover léger (optionnel) */
.current-flag:hover{
  text-decoration:underline;
  filter:none;
}

/* pas d'effet focus encadré */
.current-flag:focus,
.current-flag:focus-visible{
  box-shadow:none !important;
  outline:none;
}

/* IMPORTANT : pas de pseudo flèche */
.current-flag::after{content:none;}

/* Dropdown */
.flag-options{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  background:#fff;
  border:1px solid rgba(15,23,42,.14);
  border-radius:var(--radius);
  list-style:none;
  margin:0;
  padding:6px;
  min-width:92px;
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  display:none;
  z-index:9999;
  min-width: 86px;
}

.flag-select.open .flag-options{display:block;}

.flag-options li{
  cursor:pointer;
  color:#111;
    /* annule les styles type .btn si jamais */
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px;
  display: block !important;
  width: 100% !important;
  font-size: .9rem !important;
  font-weight: 800;
  line-height: 1.1 !important;
  text-align: left !important;
}
.flag-options li:hover{background:rgba(2,6,23,.06);}

/* ---------------------------------------------------
   HOME HERO (index.php) — .home-hero
--------------------------------------------------- */
.home-hero{
  padding:0 0 5px; /* plus d’espace en haut */
  padding-top: 0px;
  padding-bottom: 12px;
}

.hero__grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:28px;
  align-items:center;
}

.hero__title{
  font-size:clamp(30px,3.4vw,35px);
  line-height:1.06;
  margin:0 0 12px;
  font-weight:900;
  letter-spacing:-.02em;
}

.hero__lead{
  margin:0 0 16px;
  color:var(--sub);
  max-width:58ch;
  font-size:16px;
}

.hero__cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

.hero__media{
  position:relative;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:hidden; /* important pour le fondu */
}

.hero__media img{
  width:100%;
  height:clamp(360px, 42vh, 460px);
  object-fit:cover;
  display:block;
}

/* fondu gauche (effet maquette) */
.hero__media::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:5%;            /* largeur du fondu */
  height:100%;
  pointer-events:none;
  z-index:2;
  background:linear-gradient(
    to right,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.75) 25%,
    rgba(255,255,255,0.45) 45%,
    rgba(255,255,255,0.15) 65%,
    rgba(255,255,255,0.00) 100%
  );
}

.hero__seo{
  margin:10px 0 0;
  max-width:60ch;
  font-size:16px;   
  line-height:1.6;
  color:var(--sub);
}

.hero__seo strong{
  color:var(--text);
  font-weight:900;
}

/* ---------------------------------------------------
   INTRO STRIP (home)
--------------------------------------------------- */
.intro-strip{
  background:var(--muted);
  padding:18px 0;
  margin-top:10px;
}
.intro-strip__inner p{margin:0;color:#1f2937;}

/* ---------------------------------------------------
   SEO ACCORDION (details/summary)
--------------------------------------------------- */
.seo-accordion{margin-top:14px;margin-bottom:6px;}

.seo-accordion details{
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.08);
  overflow:hidden;
}

.seo-accordion summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:900;
  color:var(--primary);
  list-style:none;
}
.seo-accordion summary::-webkit-details-marker{display:none;}

.seo-accordion details[open] summary{border-bottom:1px solid rgba(15,23,42,.10);}
.seo-accordion details > *:not(summary){padding:14px 16px;color:var(--sub);}

/* ---------------------------------------------------
   BENEFITS (home)
--------------------------------------------------- */
.benefits{
  background:var(--muted);
  padding:26px 0;              /* moins haut */
  margin-top:-4px;
}

.benefits .section-title{
  margin:0 0 14px;             /* moins d’espace sous le titre */
  font-size:20px;
  font-weight:800;
}

.benefits__grid--2rows{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px 18px;               /* compact vertical + horizontal */
}

.benefit{
  display:flex;
  align-items:center;
  gap:10px;              /* espace icône / texte */
  padding:6px 0;         /* compact */
  background:none;
  border-radius:0;
}

.benefit__icon{
  width:24px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.benefit__icon i{
  font-size:18px;
}

.benefit__text{
  font-size:15px;
  font-weight:600;
  line-height:1.2;
}

/* ---------------------------------------------------
   BADGES DISPONIBILITE
--------------------------------------------------- */
.badge{
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.45);
}

.available-badge{
  background: rgba(25, 135, 84, .85);
  color: #fff;
}
.unavailable-badge{
  background: rgba(15,31,45,.65);
  color: #fff;
}

/* ---------------------------------------------------
   CONTENU CARTE MAISON
--------------------------------------------------- */
.house-content{
  padding: 16px 16px 18px;
}

.house-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.house-header h3{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #0f1f2d;
}

.price{
  font-weight: 800;
  color: rgba(15,31,45,.85);
}

/* texte */
.summary{
  margin: 10px 0 14px;
  color: rgba(15,31,45,.68);
  line-height: 1.55;
}

/* bouton moins massif */
.view-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 800;
  width: 100%;
}

.house:hover .view-button{background:var(--primary2);}

/* ---------------------------------------------------
   TRUST (si tu le gardes)
--------------------------------------------------- */
.trust{
  padding:20px 0;
}

.trust__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:24px;
}

.tick{
  padding:14px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  background:#fff;
  font-weight:900;
  color:#1f2937;
}

.trust-item{
  font-weight:600;
  color:#0f2740;
}


/* ---------------------------------------------------
   FINAL CTA (home)
--------------------------------------------------- */
.final-cta{
  background:var(--primary);
  color:#fff;
  margin-top:40px;
  padding:46px 0;
}

.final-cta__inner{text-align:center;}

.final-cta h2{
  margin:0 0 14px;
  font-size:26px;
  font-weight:900;
}

.final-cta__actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* ---------------------------------------------------
   PAGE MAISON (carrousel)
--------------------------------------------------- */
.house-details{
  max-width:1200px;
  margin:30px auto;
  padding:0 40px;
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}

.carousel-column{flex:2;min-width:300px;}

.hero{
  height:400px;
  border:1px solid #ddd;
  overflow:hidden;
  border-radius:var(--radius);
}
.hero img{
    width:100%;height:100%;object-fit:cover;
}

.thumbnails{
  margin:12px 0;
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  padding-bottom:6px;
}

.thumbnails img{
  width:100px;
  height:70px;
  border-radius:var(--radius);
  object-fit:cover;
  border:2px solid transparent;
  cursor:pointer;
  transition:.3s;
}
.thumbnails img.active,
.thumbnails img:hover{
  border-color:#e60023;
  transform:scale(1.05);
}

.thumbnails::-webkit-scrollbar{
  height:8px;
}

.thumb{
  flex:0 0 auto;
  cursor:pointer;
}

.thumb.active{
  outline:2px solid currentColor; /* ou une bordure */
}

/* ---------------------------------------------------
   SECTION AVIS — CARROUSEL
--------------------------------------------------- */
.reviews{
  max-width:none;
  margin:0;
  padding:26px 0 40px;
}

.reviews .container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--pad);
}

.reviews-header{margin-bottom:10px;}

.reviews h2.page-subtitle{
  font-size:1.1rem;
  font-weight:900;
  color:#1e2a3b;
  margin:0 0 4px;
  position:relative;
  display:inline-block;
}

.reviews h2.page-subtitle::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:35px;
  height:2px;
  border-radius:999px;
  background:#f7a500;
}

.reviews-intro{
  font-size:.85rem;
  color:#666;
  margin-top:6px;
  margin-bottom:6px;
}

.reviews-slider{
  display:flex;
  align-items:center;
  gap:12px;
}

.reviews-arrow{
  width:34px;
  height:34px;
  border:none;
  border-radius:999px;
  background:#eef1f6;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  cursor:pointer;
  font-size:1.3rem;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.reviews-arrow:hover{background:#e3e7ee;}

.reviews-track{
  display:flex;
  overflow-x:auto;
  scroll-behavior:smooth;
  gap:20px;
  padding:8px 0 10px;
  scrollbar-width:none;
}
.reviews-track::-webkit-scrollbar{display:none;}
.reviews-track .review-card:last-child{margin-right:40px;}

.review-card{
  flex:0 0 260px;
  max-width:260px;
  background:#fff;
  padding:18px;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.10);
  border:1px solid rgba(15,23,42,.10);
  display:flex;
  flex-direction:column;
  transition:.25s;
}
.review-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(15,23,42,.14);
}

.review-header{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:.95rem;
  font-weight:900;
  color:#111;
}

.review-years{
  font-size:.72rem;
  color:#999;
  font-style:italic;
}

.review-meta{
  display:flex;
  justify-content:space-between;
  font-size:.85rem;
  color:#666;
  margin-top:6px;
}

.review-stars{color:#f7a500;letter-spacing:2px;}

.review-text{
  font-size:.9rem;
  color:#334155;
  margin-top:10px;
  line-height:1.5;
  max-height:4.8em;
  overflow:hidden;
}

.review-card.expanded .review-text{max-height:none;}

.review-more{
  margin-top:6px;
  font-size:.85rem;
  color:var(--primary);
  font-weight:900;
  cursor:pointer;
  user-select:none;
}

.review-card.expanded .review-more{color:#999;}
.review-source{margin-top:10px;font-size:.8rem;color:#999;}


/* =====================================================
   FOOTER PREMIUM — FINAL & STABLE
===================================================== */
.footer-premium{
  background: var(--brand-blue);
  padding: 28px 16px 22px;
  text-align: center;
}

.footer-premium__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Bloc logo + nom */
.footer-brand{
  display: inline-flex;
  align-items: flex-end;       
  gap: 12px;
  margin: 0 auto 6px;
  text-decoration: none;
  color: #fff;
}

/* Logo blanc */
.footer-brand__logo{
  height: 44px;                /* taille idéale footer */
  width: auto;
  display: block;              /* supprime l’espace fantôme */
  object-fit: contain;
  transform: translateY(4px);  /* compense le vide du PNG */
}

/* Nom */
.footer-brand__name{
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;              /* évite le flottement */
  letter-spacing: .2px;
  margin: 0;
  color: #fff;
}

/* Accent du "4" */
.footer-brand__accent{
  color: rgba(255,255,255,.85);
  font-weight: 900;
}

/* Tagline */
.footer-tagline{
  margin: 0 0 14px;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
}

/* Navigation */
.footer-nav{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}

.footer-nav a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover{
  color: #fff;
  text-decoration: underline;
}

.footer-nav .sep{
  color: rgba(255,255,255,.35);
}





/* ---------------------------------------------------
   SEO INVISIBLE
--------------------------------------------------- */
.seo-intro{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* ---------------------------------------------------
   SEO VISIBLE (bloc EN)
--------------------------------------------------- */
.seo-content{
  max-width:1125px;
  margin:20px auto 10px;
  padding:18px 20px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}

.seo-content h2{
  margin:0 0 10px;
  font-size:1.15rem;
  line-height:1.25;
  color:#1e2a3b;
  font-weight:900;
}

.seo-content p{margin:0 0 12px;color:#444;}

.seo-toggle{
  border:none;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  padding:10px 16px;
  font-weight:800;
  cursor:pointer;
}
.seo-toggle:hover{background:var(--primary2);}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media (max-width:920px){
  .hero__grid{grid-template-columns:1fr;}
  .hero__media img{height:260px;}
  .benefits__grid--2rows{grid-template-columns:1fr 1fr;}
  .trust__grid{grid-template-columns:1fr 1fr;}
}

@media (max-width:768px){
  .container{padding:0 16px;}
  .topbar__inner{padding:10px 0;}

  /* ancien header */
  .header{
    flex-direction:column;
    text-align:center;
    align-items:center;
    gap:10px;
    padding:16px 16px;
  }

  .reviews{padding:0 20px;}
  .review-card{flex:0 0 82%;max-width:82%;}
}

/* ---------------------------------------------------
   MAISON.PHP — styles scopés (conservés)
--------------------------------------------------- */
body.house-page .house-details{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  max-width:var(--container);
  margin:40px auto;
  padding:0 var(--pad);
}

body.house-page .carousel-column{flex:2;min-width:300px;}
body.house-page .info-column{
  flex:1;
  min-width:250px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

body.house-page .house-hero{
  width:100%;
  height:400px;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.10);
  position:relative;
  background:#fff;
  box-shadow:0 10px 25px rgba(15,23,42,.08);
}

body.house-page .house-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

body.house-page .arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:1.6em;
  color:#fff;
  background:rgba(0,0,0,.35);
  border:none;
  border-radius:999px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:10;
}
body.house-page #prev{left:10px;}
body.house-page #next{right:10px;}
body.house-page .arrow:hover{background:rgba(0,0,0,.48);}

body.house-page .thumbnails{
  display:flex;
  gap:10px;
  margin:15px 0;
  overflow-x:auto;
  padding:5px;
  scrollbar-width:none;
}
body.house-page .thumbnails::-webkit-scrollbar{display:none;}
body.house-page .thumbnails img{
  width:100px;
  height:70px;
  object-fit:cover;
  border-radius:var(--radius);
  cursor:pointer;
  border:2px solid transparent;
  flex-shrink:0;
  transition:0.25s;
}
body.house-page .thumbnails img:hover,
body.house-page .thumbnails img.active{
  border-color:#e60023;
  transform:scale(1.04);
}

body.house-page .house-description,
body.house-page .info-card{
  background:#fff;
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 26px rgba(15,23,42,.08);
}

body.house-page .info-card h3,
body.house-page .house-description h3{
  margin:0 0 10px;
  font-weight:900;
  color:#0f172a;
}

body.house-page .equip-icons{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-top:10px;
}

body.house-page .equip-item{
  min-width:80px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  font-size:.92em;
  color:#555;
}

body.house-page .equip-item i{
  font-size:1.5em;
  margin-bottom:5px;
  color:var(--primary);
}

body.house-page .features,
body.house-page .location,
body.house-page .highlights{
  list-style:none;
  padding:0;
  margin:0;
}

body.house-page .features li,
body.house-page .location li,
body.house-page .highlights li{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:#334155;
}

body.house-page .features li i,
body.house-page .location li i,
body.house-page .highlights li i{
  width:20px;
  text-align:center;
  color:#e60023;
}

body.house-page .booking-card form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

body.house-page .booking-card input[type="text"],
body.house-page .booking-card input[type="email"],
body.house-page .booking-card textarea{
  padding:10px 12px;
  border:1px solid #cbd5e1;
  border-radius:var(--radius);
  font-size:1em;
  width:100%;
  outline:none;
}

body.house-page .booking-card input:focus,
body.house-page .booking-card textarea:focus{
  border-color: rgba(31,59,87,.55);
  box-shadow:0 0 0 3px rgba(31,59,87,.12);
}

body.house-page .date-fields{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
body.house-page .date-fields > div{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}

body.house-page #total_price{
  font-weight:800;
  margin-top:5px;
  color:#0f172a;
}

body.house-page .booking-card .book{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:12px;
  border-radius:var(--radius);
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}
body.house-page .booking-card .book:hover{background:var(--primary2);}

body.house-page .success-msg{
  color:#2e7d32;
  font-weight:800;
  margin-bottom:10px;
}
body.house-page .error-msg{
  color:#c62828;
  font-weight:800;
  margin-bottom:10px;
}

body.house-page .coming-soon-wrapper{
  max-width:520px;
  margin:30px auto;
  padding:18px;
  background:#fff;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 25px rgba(15,23,42,.08);
  text-align:center;
}

body.house-page .coming-soon-wrapper img{
  width:min(420px, 85%);
  height:auto;
  object-fit:contain;
  display:block;
  margin:6px auto 14px auto;
}

body.house-page .coming-soon-title{
  font-size:1.25rem;
  margin-bottom:6px;
  font-weight:900;
}

body.house-page .coming-soon-text{
  font-size:.96rem;
  line-height:1.45;
  color:#555;
}

@media (max-width:1024px){
  body.house-page .house-hero{height:300px;}
  body.house-page .thumbnails img{width:86px;height:60px;}
}

@media (max-width:768px){
  body.house-page .house-details{flex-direction:column;}
}

/* =====================================================
   LEGAL PAGES (mentions / privacy / conditions)
===================================================== */

.legal-page{
  background: var(--muted);
  padding: 34px 0 54px;
}

.legal-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  box-shadow:0 10px 26px rgba(15,23,42,.08);
  padding:26px 22px;
  margin:0 auto;
  max-width:var(--container);
  text-align:left;
}

.legal-title{
  text-align:center;
  margin:0 0 10px;
  font-size:1.7rem;
  font-weight:900;
  color:var(--text);
  line-height:1.15;
}

.legal-updated{
  text-align:center;
  margin:0 0 18px;
  font-size:.9rem;
  color:rgba(15,23,42,.60);
}

.legal-card h2{
  margin:22px 0 8px;
  font-size:1.1rem;
  font-weight:900;
  color:var(--primary);
}

.legal-card p{
  margin:0 0 10px;
  font-size:.98rem;
  line-height:1.65;
  color:var(--sub);
}

.legal-card a{
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
}
.legal-card a:hover{ text-decoration:underline; }

.legal-note{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.10);
  font-size:.9rem;
  color:rgba(15,23,42,.60);
}

@media (max-width:768px){
  .legal-page{ padding:22px 0 40px; }
  .legal-card{ padding:18px 16px; }
  .legal-title{ font-size:24px; }
}



/* =========================
   Catalogue premium
========================= */
.listings{
  padding: 20px 0 40px;
  background: #f6f7f9;
}

/* Head */
.catalog-head{
  margin-bottom: 18px;
}
.catalog-head__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 16px;
}

.catalog-title{
  margin:0 0 8px;
  letter-spacing: -0.6px;
  color: #0f1f2d;
  font-size: 2.1rem;      /* au lieu de 3rem+ */
  font-weight: 800;
  margin-bottom: 6px;
}

.catalog-subtitle{
  margin:0;
  font-size: 1rem;
  color: #5f6b7a;
  max-width: 720px;
}

.catalog-count{
  background:#fff;
  border: 1px solid rgba(15,31,45,.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: rgba(15,31,45,.85);
  box-shadow: 0 10px 24px rgba(10,20,30,.06);
}

.catalog-count-row{
  display:flex;
  justify-content:flex-end;
  margin-top:12px;
}

.catalog-count--bottom{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:1;        /* enlève l'effet “gris” si tu veux */
  margin-left: auto;         /* pousse à droite */
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background:#fff;
  border: 1px solid rgba(15,31,45,.08);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: rgba(15,31,45,.85);
  box-shadow: 0 10px 24px rgba(10,20,30,.06);
  width: auto;               /* important */
}

/* Controls */
.catalog-controls{
  display:grid;
  grid-template-columns: 1.4fr .9fr .9fr .9fr;
  gap: 12px;
  align-items:center;
}

.control{
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,31,45,.10);
  background:#fff;
  padding: 0 12px;
  font-weight: 700;
  color: rgba(15,31,45,.85);
  outline: none;
}

.control:focus{
  border-color: rgba(31,59,87,.35);
  box-shadow: 0 0 0 4px rgba(31,59,87,.10);
}

.control--search{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 0 12px;
}

.control--search i{
  color: rgba(15,31,45,.45);
}

.control--search input{
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
  color: rgba(15,31,45,.85);
}

/* Cards grid */
.cards-wrap{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

@media (max-width: 980px){
  .catalog-controls{ grid-template-columns: 1fr 1fr; }
  .cards-wrap{ grid-template-columns: 1fr; }
}

/* Card */
.house{
  position:relative;
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(15,31,45,.06);
  box-shadow: 0 10px 28px rgba(10,20,30,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.house:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(10,20,30,.12);
}

/* Image 16:9 */
.house-image-wrapper{
  aspect-ratio: 16 / 9;
  height:auto;
  background:#eef2f6;
}
.house-image-wrapper img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Badge modern */
.badge{
  position:absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .85rem;
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  color:#fff;
}
.available-badge{ background: rgba(25, 135, 84, .88); }
.unavailable-badge{ background: rgba(15,31,45,.65); }

/* Content */
.house-content{
  padding: 16px 16px 18px;
}
.house-header h3{
  margin:0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.2px;
  color:#0f1f2d;
}
.house-header .price{
  font-weight: 900;
  color: rgba(15,31,45,.85);
}

.summary{
  margin: 10px 0 14px;
  color: rgba(15,31,45,.65);
  line-height: 1.55;
}

/* Button less “massive” */
.view-button{
  width: 100%;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--brand-blue);
  color:#fff;
  font-weight: 900;
}

/* Contact page - same vibe as index */
.home-hero--contact .hero__media img { object-fit: cover; }

.contact-section { padding: 40px 0 70px; }

.contact-card{
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 28px;
}

.contact-card__header{ margin-bottom: 18px; }
.contact-card__subtitle{ margin-top: 8px; color:#555; }

.contact-form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-weight: 600; font-size: .95rem; color:#222; }

.field input,
.field textarea{
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(0,0,0,.35);
}

.field--full{ grid-column: 1 / -1; }

.form-alert{
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 0;
  font-weight: 600;
}

.form-alert--success{
  background: rgba(0, 200, 120, .10);
  color: #0a6b3f;
}

.form-alert--error{
  background: rgba(255, 60, 60, .10);
  color: #a11414;
}

.contact-submit{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 820px){
  .contact-form__grid{ grid-template-columns: 1fr; }
  .contact-card{ padding: 20px; }
}

/* =====================================================
   CONDITIONS — PAGE LONGUE DURÉE
===================================================== */

.home-hero--conditions .hero__media img {
  object-fit: cover;
}

/* Section principale */
.conditions-section {
  background: var(--muted);
  padding: 46px 0 64px;
}

/* Titre & intro */
.conditions-section .section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: #0f1f2d;
  text-align: center;
}

.conditions-section .section-subtitle {
  margin: 0 auto 28px;
  max-width: 720px;
  font-size: 1.05rem;
  color: rgba(15,31,45,.65);
  line-height: 1.55;
  text-align: center;
}

/* Grille des avantages */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

/* Carte individuelle */
.conditions-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(15,23,42,.08);
  border: 1px solid rgba(15,23,42,.08);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.conditions-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15,23,42,.12);
}

/* Icône */
.conditions-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31,59,87,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conditions-icon i {
  font-size: 1.2rem;
  color: var(--primary);
}

/* Texte */
.conditions-text {
  font-size: .98rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}

/* CTA final */
.conditions-cta {
  margin-top: 46px;
  text-align: center;
  background: #fff;
  padding: 36px 28px;
  border-radius: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 12px 32px rgba(15,23,42,.10);
  border: 1px solid rgba(15,23,42,.08);
}

.conditions-cta__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f1f2d;
}

.conditions-cta__text {
  margin: 0 auto 18px;
  max-width: 600px;
  font-size: 1rem;
  color: rgba(15,31,45,.70);
  line-height: 1.55;
}

/* Bouton CTA déjà stylé via .btn */
.conditions-cta .btn {
  padding: 14px 20px;
}

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

@media (max-width: 1024px) {
  .conditions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }

  .conditions-section {
    padding: 36px 0 52px;
  }

  .conditions-cta {
    padding: 28px 20px;
  }

  .conditions-cta__title {
    font-size: 1.35rem;
  }
}


.top-strip { position: relative; z-index: 10001; }

.flag-select { position: relative; z-index: 10002; }
.flag-options { z-index: 10003; }

/* si un élément du hero recouvre la zone, ça évite qu'il "mange" le clic */
.home-hero, .hero__grid, .hero__media, .hero__media::before {
  pointer-events: auto;
}
.hero__media::before{
  pointer-events: none; /* IMPORTANT : le voile ne doit jamais capturer le clic */
}

.language-links{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:.9rem;
}

.language-links a{
  text-decoration:none;
  color:var(--text);
  opacity:.75;
}

.language-links a.is-active{
  opacity:1;
  text-decoration:underline;
  text-underline-offset: 3px;
}

.language-links .sep{ opacity:.35; }

.price-main{
  font-size:1.25rem;
  font-weight:900;
  color:#0f1f2d;
}

.price-note{
  margin-top:6px;
  font-size:.92rem;
  font-weight:700;
  color:rgba(15,31,45,.65);
}

.pricing-tiers{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
}

.pricing-muted{
  margin-top:8px;
  padding-top:10px;
  border-top:1px solid rgba(15,23,42,.08);
  display:block;
  white-space:normal;
  font-weight:700;
  color:var(--primary);
}
.pricing-muted a{ display:inline; }

.price-sep{
  margin:14px 0;
  border:none;
  border-top:1px solid rgba(15,23,42,.08);
}

.value-card h3{
  margin:0 0 10px;
  font-weight:900;
  color:#0f1f2d;
}

.value-list{
  list-style:none;
  padding:0;
  margin:0 0 10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
}

.value-highlight{
  margin-top:8px;
  font-weight:800;
  color:var(--primary);
}

.value-list li{
  display:flex;
  align-items:center;
  gap:10px;
}
.value-list li i{
  width:18px;
  opacity:.75;
}

.reviews-slider.no-arrows .reviews-arrow {
  display: none !important;
}

.footer-copyright {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
}

.pricing-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.pricing-link:hover {
  text-decoration: underline;
}


/* =====================================================
   MOBILE FIX — À COLLER TOUT EN BAS DU CSS
   Objectif : page lisible sur smartphone, sans casser le desktop
===================================================== */

/* 1) Sécurité anti-débordement (très important) */
html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img, video, iframe{
  max-width: 100%;
  height: auto;
}

/* 2) Container : padding mobile plus petit */
@media (max-width: 768px){
  :root{
    --pad: 16px; /* ton container utilise --pad */
  }

  .container{
    padding-left: var(--pad) !important;
    padding-right: var(--pad) !important;
  }
}

/* 3) Topbar / header : éviter que ça prenne trop de place */
@media (max-width: 768px){
  .topbar__inner{
    height: auto;
    min-height: 60px;
    padding: 10px 0;
    gap: 10px;
  }

  .brand__logo{ height: 38px; }
  .brand__name{ font-size: 1.05rem; }
}

/* 4) HOME HERO : 2 colonnes -> 1 colonne, image moins haute */
@media (max-width: 920px){
  .hero__grid{
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}
@media (max-width: 768px){
  .hero__title{
    font-size: 26px;
    line-height: 1.08;
  }

  .hero__lead, .hero__seo{
    font-size: 15px;
  }

  .hero__media img{
    height: 240px !important; /* au lieu de 360/460 */
  }

  .hero__cta{
    gap: 10px;
  }
  .btn, .btn--sm{
    width: 100%;
    justify-content: center;
  }
}

/* 5) Benefits : 4 colonnes -> 2 -> 1 */
@media (max-width: 920px){
  .benefits__grid--2rows{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px){
  .benefits__grid--2rows{
    grid-template-columns: 1fr;
  }
}

/* 6) Catalogue : contrôles + cards : éviter débordements */
@media (max-width: 980px){
  .catalog-head__top{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .catalog-title{
    font-size: 1.6rem;
  }

  .catalog-controls{
    grid-template-columns: 1fr !important; /* une colonne sur mobile */
  }

  .control, .control--search{
    width: 100%;
  }

  .cards-wrap{
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
}

/* 7) Carte listing : éviter textes trop gros + bouton OK */
@media (max-width: 768px){
  .house-header{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .house-header h3{
    font-size: 1.15rem;
  }

  .summary{
    font-size: .95rem;
  }

  .view-button{
    width: 100%;
  }
}

/* 8) Page maison : c’est ça qui rend “illisible” sur mobile */
@media (max-width: 768px){
  body.house-page .house-details{
    padding-left: var(--pad) !important;
    padding-right: var(--pad) !important;
    margin: 18px auto !important;
    gap: 16px !important;
    flex-direction: column;
  }

  body.house-page .carousel-column,
  body.house-page .info-column{
    min-width: 0 !important; /* empêche le débordement */
    width: 100%;
  }

  body.house-page .house-hero{
    height: 240px !important;
    border-radius: 14px;
  }

  body.house-page .arrow{
    width: 38px;
    height: 38px;
    font-size: 1.2em;
  }

  body.house-page .thumbnails img{
    width: 80px !important;
    height: 56px !important;
  }

  body.house-page .house-description,
  body.house-page .info-card{
    padding: 14px !important;
  }

  /* Formulaire réservation : 2 champs -> 1 colonne */
  body.house-page .date-fields{
    flex-direction: column;
    gap: 10px;
  }

  body.house-page .booking-card .book{
    width: 100%;
  }
}

/* 9) Reviews : largeur carte plus logique sur smartphone */
@media (max-width: 768px){
  .reviews{
    padding-left: var(--pad);
    padding-right: var(--pad);
  }
  .review-card{
    flex: 0 0 88%;
    max-width: 88%;
  }
}

/* 10) Pages légales : enlever les doubles paddings et assurer lecture */
@media (max-width: 768px){
  .legal-page{
    padding: 22px 0 40px !important;
  }
  .legal-card{
    padding: 18px 16px !important;
    margin: 0 var(--pad);
  }
  .legal-title{
    font-size: 24px !important;
  }
}

/* 11) SEO : éviter qu’un bloc "invisible" réapparaisse en mobile */
@media (max-width: 768px){
  .seo-intro{
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }

  .seo-content{
    margin-left: var(--pad);
    margin-right: var(--pad);
    padding: 14px 14px;
  }
}


/* =====================================================
   CATALOGUE — IMAGE "MAISON EN PRÉPARATION"
   Objectif : box 16/9 intacte + image centrée + fond blanc
===================================================== */

/* Fond blanc derrière l’image */
.house-image-wrapper{
  background: #fff !important;
  display: grid;
  place-items: center;
}

/* Image "en préparation" */
.house-image-wrapper img.prep-img{
  object-fit: contain !important;
  width: min(320px, 70%) !important;
  height: auto !important;
  max-height: 70% !important;
  display: block !important;
  margin: 0 !important;
  padding: 10px !important;
  background: transparent !important;
}

/* Mobile : image un peu plus petite */
@media (max-width:768px){
  .house-image-wrapper img.prep-img{
    padding: 8px !important;
    width: min(300px, 82%) !important;
    max-height: 72% !important;
  }
}


/* =====================================================
   FIX : éviter que toute la carte soit soulignée
   (car toute la carte est un <a>)
===================================================== */
/* =====================================================
   FIX : éviter que toute la carte soit soulignée
   (car toute la carte est un <a>)
   âÂÂ pas de soulignement
   âÂÂ couleurs internes respectées
   âÂÂ bouton "Voir la maison" blanc
===================================================== */

.house-link{
  display: block;
  text-decoration: none;
}

/* aucun état du lien ne doit souligner */
.house-link:hover,
.house-link:active,
.house-link:visited{
  text-decoration: none;
}

/* enlève le soulignement sur le contenu interne SANS toucher aux couleurs */
.house-link *{
  text-decoration: none;
}

/* sécurité : bouton toujours blanc */
.house-link .view-button{
  color: #fff !important;
}

/* =====================================================
   FIX : prix toujours en haut à droite
===================================================== */
.house-header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.house-header .price{
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}

/* =====================================================
   FIX HARD : prix toujours en haut à droite (desktop + mobile)
===================================================== */
.house-header{
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.house-header h3{
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.house-header .price{
  flex: 0 0 auto !important;
  margin-left: auto !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.house-header{
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.house-header h3{
  flex: 1 1 auto;
  min-width: 0;
}

.house-header .price{
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}

