/* =========================================================
   AZUR IMMO — Feuille de style
   Palette : blanc / bleu ciel / noir (épuré, premium)
   Typo placeholder : Poppins (à confirmer depuis Figma)
   ========================================================= */

:root {
  --c-white: #ffffff;
  --c-black: #111111;
  --c-text: #2a2a2a;
  --c-blue: #4f8fe0;        /* bleu ciel principal */
  --c-blue-dark: #2b6cb0;   /* bleu plus profond (logo footer) */
  --c-blue-sea-top: #bfe3f5;
  --c-blue-sea-bottom: #2f8fd6;
  --c-grey: #f4f3f1;        /* fond doux footer/section */
  --c-border: #d9d9d9;

  --maxw: 1180px;
  --radius: 8px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Jost', 'Century Gothic', 'Futura', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Image manquante -> dégradé bleu doux (placeholder visuel) */
.img-fallback {
  background: linear-gradient(135deg, var(--c-blue-sea-top), var(--c-blue));
  min-height: 100%;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1600px;                     /* header élargi (comme le footer) */
  margin: 0 auto;
  padding: .3rem 1.5rem .3rem .35rem;   /* logo colle a gauche */
}

/* --- Logo (icone + AZUR IMMO dessous, dans le GIF) --- */
.brand { display: flex; align-items: center; }
.brand-logo { height: 120px; width: auto; flex-shrink: 0; object-fit: contain; transition: transform .3s ease; mix-blend-mode: multiply; }
.brand:hover .brand-logo { transform: scale(1.04); }
.brand-logo.small { height: 64px; width: auto; }
.brand-text {
  font-family: var(--font-logo);
  display: flex; flex-direction: column;
  line-height: .95;
}
.brand-name { font-weight: 400; font-size: 1.8rem; letter-spacing: .16em; color: var(--c-black); }
.brand-sub  { font-weight: 400; font-size: .72rem; letter-spacing: .62em; color: var(--c-black); padding-left: .14em; }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  font-size: .95rem;
  color: var(--c-text);
  position: relative;
  transition: color .2s;
}
/* soulignement animé au survol */
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--c-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--c-blue); }
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--c-black); font-weight: 500; }

/* bouton Connexion */
.main-nav a.nav-cta {
  position: relative;
  overflow: hidden;
  padding: .6rem 2rem;
  border: none;
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff;
  font-weight: 600;
  transition: transform .2s, box-shadow .25s;
}
.main-nav a.nav-cta::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.main-nav a.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(73, 160, 221, .35);
}
.main-nav a.nav-cta:hover::after { animation: btn-shine .7s ease; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--c-black); transition: .3s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  text-align: center;
  padding: 1.5rem 1.5rem 3rem;
}
.hero-tagline {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--c-black);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================================
   3 CARTES AGENCES
   ========================================================= */
.agencies {
  padding: 3.5rem 0 6rem;
  min-height: 100vh;                /* la section remplit l'écran -> on ne voit pas la section bleue en dessous */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* En-tête de section */
.agencies-head { text-align: center; max-width: var(--maxw); margin: 0 auto 2.5rem; padding: 0 1.5rem; }
.agencies-eyebrow {
  display: inline-block;
  font-family: var(--font-logo);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  color: var(--c-blue-dark);
  margin-bottom: .6rem;
}
.agencies-head h2 {
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--c-black);
  line-height: 1.2;
}

/* ============ Agences : 3 couches qui défilent, toutes centrées sur la même ligne ============ */
.strip {
  --pitch: 420px;        /* largeur d'un créneau -> ~3 cartes visibles, avec espace */
  position: relative;
  height: 620px;
  overflow: hidden;
  /* bords en fondu (effet pro) */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.layer { position: absolute; inset: 0; display: flex; align-items: center; }  /* TOUT centré verticalement */
.layer-cards  { z-index: 1; }
.layer-apts   { z-index: 2; }
.layer-people { z-index: 3; }

.mtrack { display: flex; width: max-content; will-change: transform; }
/* chaque créneau a la largeur du pas ; l'élément reste à SA taille, centré dedans */
.slot {
  flex: 0 0 var(--pitch);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* le défilement (auto lent + flèches/points) est piloté en JS via translateX */

/* --- Flèches --- */
.strip-wrap { position: relative; }
.strip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  font-size: 1.8rem; line-height: 1;
  color: var(--c-blue-dark);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(20,40,80,.18);
  transition: background .2s, color .2s, transform .2s;
}
.strip-arrow:hover { background: var(--c-blue); color: #fff; }
.strip-arrow.prev { left: 18px; }
.strip-arrow.next { right: 18px; }
.strip-arrow:active { transform: translateY(-50%) scale(.94); }

/* --- Points --- */
.strip-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.8rem;
}
.strip-dots button {
  width: 11px; height: 11px;
  padding: 0;
  border: none; border-radius: 50%;
  background: var(--c-border);
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.strip-dots button.active { background: var(--c-blue); transform: scale(1.3); }

/* ---- Carte : immeuble + nom de la ville dedans ---- */
.scard {
  position: relative;
  width: 360px; height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-grey);
  box-shadow: 0 26px 46px -22px rgba(20,40,80,.55);
}
.scard { transition: transform .35s ease, box-shadow .35s ease; }
.strip:hover .scard:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -24px rgba(20,40,80,.6); }
.scard img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.scard-name {
  position: absolute; top: 0; left: 0; right: 0;
  padding: 18px 20px 34px;
  background: linear-gradient(to bottom, rgba(15,28,54,.72), rgba(15,28,54,0));
  color: #fff;
  font-family: var(--font-logo);
  font-weight: 500; font-size: 1.18rem;
  letter-spacing: .06em;
}

/* ---- Appartement (forme + intérieur), centré ---- */
.sapt { position: relative; width: 246px; height: 360px; }
.sapt.oval {
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid var(--c-blue);
  background: var(--c-grey);
  box-shadow: 0 10px 26px rgba(20,40,80,.22);
}
.sapt.oval img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* contour maison affiné + ombre */
.sapt.house { filter: drop-shadow(0 10px 22px rgba(20,40,80,.22)); }
.sapt .ho polygon { stroke-width: 2.5px; }
.sapt.house .sapt-clip {
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
  background: var(--c-grey);
}
.sapt.house .sapt-clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sapt.house .ho { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* ---- Personnes (cercle), centré ---- */
.sper {
  width: 188px; height: 188px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 3px solid var(--c-blue);
  background: var(--c-grey);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.sper img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
  .mtrack { animation: none !important; }
}

/* =========================================================
   SECTION EXCLUSIVITÉ (fond bleu mer)
   ========================================================= */
.exclusivity {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem 4rem;
  background: linear-gradient(180deg, var(--c-blue-sea-top) 0%, var(--c-blue) 55%, var(--c-blue-sea-bottom) 100%);
  color: var(--c-black);
}
.exclusivity-mini-logo {
  position: absolute; top: 1.4rem; left: 1.6rem;
  width: 46px; height: 46px;
  color: #fff;
}
.exclusivity-title {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.exclusivity-logo { display: inline-flex; flex-direction: column; align-items: center; color: var(--c-black); }
.exclusivity-logo svg { width: clamp(160px, 26vw, 260px); height: auto; }
.exclusivity-name {
  font-weight: 500;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: .12em;
  color: var(--c-black);
  margin-top: -.5rem;
}
.exclusivity-sub {
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.8rem);
  letter-spacing: .5em;
  color: var(--c-black);
}

/* ---- Carousel des biens (fondu, structure collage façon Figma) ---- */
.biens { margin-top: 3.5rem; }
.biens-wrap { position: relative; max-width: 1000px; margin: 0 auto; }  /* -15% */
.biens-viewport {
  position: relative;
  height: clamp(440px, 50vw, 560px);   /* hauteur DÉFINIE -> les % des photos se calculent correctement */
  overflow: hidden;                     /* empêche tout débordement */
  border-radius: 20px;
}

/* fondu + flou entre les biens (la carte se floute pour laisser place à la suivante) */
.bien {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  filter: blur(12px);
  transition: opacity .8s ease, filter .8s ease, visibility .8s ease;
}
.bien.active { opacity: 1; visibility: visible; filter: blur(0); }

/* 1er slide : grand logo AZUR centré (pas de carte) */
.bien-intro { display: flex; align-items: center; justify-content: center; }
.bien-intro .exclusivity-logo { margin: 0; }

/* carte verre dépoli — grille SOLIDE (robuste, jamais cassée) */
.bien-card {
  width: 100%; height: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
  box-shadow: 0 30px 60px -28px rgba(15,40,80,.5);
  padding: 1.6rem 1.9rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "photo info";
  gap: 1.1rem 1.6rem;
}

.bien-title {
  grid-area: title; margin: 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  color: #10233f;
}
.bien-title .bien-sub {
  display: inline-block; margin-left: .6rem;
  font-weight: 500; font-size: .62em; color: var(--c-blue-dark);
  letter-spacing: .02em; vertical-align: middle;
}

/* grande photo (cadre blanc) */
.bien-ext {
  grid-area: photo; margin: 0; min-height: 0;
  background: #fff; padding: 7px; border-radius: 8px;
  box-shadow: 0 18px 34px -16px rgba(15,40,80,.5);
  overflow: hidden;
}
.bien-ext img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }

/* colonne droite */
.bien-info {
  grid-area: info; min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(90px, 1fr) auto;
  gap: 1rem;
}
.bien-price, .bien-desc {
  background: rgba(20,28,44,.9);
  color: #fff; border-radius: 10px;
  padding: .9rem 1.1rem;
  box-shadow: 0 14px 26px -16px rgba(15,40,80,.5);
}
.bien-price p { margin: .22rem 0; font-size: clamp(.78rem, 1vw, .96rem); }
.bien-price strong { float: right; font-weight: 600; }
.bien-desc { font-size: clamp(.76rem, .92vw, .9rem); line-height: 1.5; overflow: hidden; }

/* 2 intérieurs (légèrement décalés pour le style) */
.bien-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; min-height: 0; }
.bien-thumbs figure {
  margin: 0; min-height: 0;
  background: #fff; padding: 5px; border-radius: 8px;
  box-shadow: 0 12px 22px -14px rgba(15,40,80,.5);
  overflow: hidden;
}
.bien-thumbs figure:nth-child(2) { transform: translateY(14px); }
.bien-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }

/* Flèches */
.biens-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 50px; height: 50px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--c-blue-dark);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(15,40,80,.3);
  transition: background .2s, color .2s;
}
.biens-arrow:hover { background: var(--c-blue-dark); color: #fff; }
.biens-arrow.prev { left: -10px; }
.biens-arrow.next { right: -10px; }

/* Points */
.biens-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.biens-dots button {
  width: 11px; height: 11px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer; transition: background .25s, transform .25s;
}
.biens-dots button.active { background: #fff; transform: scale(1.3); }

/* Mobile : empilement propre */
@media (max-width: 760px) {
  .biens-viewport { height: auto; }
  .bien { position: relative; opacity: 1; visibility: visible; filter: none; display: none; }
  .bien.active { display: block; }
  .bien-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.2rem; }
  .bien-ext { height: 200px; }
  .bien-thumbs figure { height: 130px; }
  .bien-thumbs figure:nth-child(2) { transform: none; }
}

/* =========================================================
   CARTE FRANCE + RECHERCHE
   ========================================================= */
.search-section { max-width: var(--maxw); margin: 0 auto; padding: 3.5rem 1.5rem; }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 {
  display: inline-block;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--c-black);
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--c-border);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.france-map {
  display: flex; align-items: center; justify-content: flex-start;
  /* leger decalage vers la gauche (pas colle au bord) */
  margin-left: -2.5rem;
}
.france-map img { width: 100%; max-width: 420px; }
.map-placeholder {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--c-grey);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius);
  color: #888;
}

/* ---- Carte interactive (SVG régions) ---- */
.france-svg { width: 100%; max-width: 782px; height: auto; display: block; }
.france-svg .region {
  fill: #ece8e1;
  stroke: #2b2b2b;
  stroke-width: .8;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .2s ease;
}
.france-svg .region:hover { fill: #9cc1ee; }
.france-svg .region.is-selected { fill: var(--c-blue); }
.france-svg .region-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
  text-anchor: middle;
  fill: #1d1d1d;
  pointer-events: none;
}
.france-svg .region.is-selected ~ .region-label { /* labels stay dark */ }

.search-title {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-black);
  margin-bottom: 2rem;
}
.search-intro { color: #555; margin-bottom: 2rem; }

.search-form { display: flex; flex-direction: column; gap: 1rem; }
.search-form input,
.search-form select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-white);
}
.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(79,143,224,.15);
}
.btn-search {
  align-self: flex-start;
  margin-top: .5rem;
  padding: .85rem 2.4rem;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff;
  border: none;
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-search:hover { background: var(--c-blue-dark); }

/* =========================================================
   BANDE D'IMAGES EN FORME DE MAISONS
   ========================================================= */
.house-band {
  display: flex;
  align-items: flex-end;      /* bas alignés -> sommets décalés comme le Figma */
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem 1.5rem;
}
.house-shape {
  aspect-ratio: 3 / 4;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  background: var(--c-grey);
  overflow: hidden;
}
.house-shape img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: filter .35s ease, opacity .35s ease;
}
/* pendant le décalage d'une maison à l'autre : l'image se floute puis revient nette */
.house-shape img.shifting { filter: blur(12px); opacity: .35; }
@media (prefers-reduced-motion: reduce) {
  .house-shape img { transition: none; }
}

/* tailles variées (comme le Figma) */
.house-shape.s1 { flex: 0 0 15%; }
.house-shape.s2 { flex: 0 0 11%; }
.house-shape.s3 { flex: 0 0 17%; }
.house-shape.s4 { flex: 0 0 19%; }
.house-shape.s5 { flex: 0 0 11%; }
.house-shape.s6 { flex: 0 0 15%; }

/* maisons en aplat de couleur du site */
.house-shape.color-blue      { background: var(--c-blue); }
.house-shape.color-blue-dark { background: var(--c-blue-dark); }
.house-shape.color-grey      { background: #c9cdd2; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-grey);
  padding: 3rem 1.5rem 1.5rem;
  color: var(--c-text);
}

.footer-top {
  max-width: var(--maxw);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.footer-logo { height: 130px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; text-align: center; }
.footer-brand-text .brand-name { color: var(--c-blue-dark); }
.footer-brand-text .brand-sub  { color: var(--c-blue-dark); }

.newsletter { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.newsletter input {
  width: 100%; max-width: 320px;
  padding: .8rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--font);
  background: var(--c-white);
}
.btn-connexion {
  padding: .65rem 1.8rem;
  background: transparent;
  border: 1px solid var(--c-blue);
  color: var(--c-blue-dark);
  border-radius: var(--radius);
  font-family: var(--font);
  cursor: pointer;
  transition: .2s;
}
.btn-connexion:hover { background: var(--c-blue); color: #fff; }

.footer-faq { font-weight: 500; color: var(--c-black); }

.footer-social { display: flex; flex-direction: column; gap: .6rem; }
.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: #fff; font-weight: 700;
}
.social-link.facebook { background: #1877f2; }
.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-cols {
  max-width: var(--maxw);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  font-size: .9rem;
}
.footer-col h3 { font-weight: 600; color: var(--c-black); }
.footer-address { margin-top: .6rem; font-weight: 500; }
.footer-hours { list-style: none; margin-top: .4rem; }
.footer-hours li { position: relative; padding-left: 1rem; }
.footer-hours li::before { content: "•"; position: absolute; left: 0; color: var(--c-blue); }

.footer-phone,
.footer-legal {
  max-width: var(--maxw);
  margin: .8rem auto;
  text-align: center;
  font-size: .85rem;
  color: #666;
}

.footer-bottom-nav {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-bottom-nav nav { display: flex; gap: 1.4rem; }
.footer-bottom-nav a { font-size: .9rem; }
.footer-bottom-nav a:hover { color: var(--c-blue); }

/* =========================================================
   ANIMATION APPARITION AU SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   FOOTER DYNAMIQUE
   ========================================================= */
/* apparition en cascade des blocs du footer */
.footer-top .reveal:nth-child(1) { transition-delay: 0s; }
.footer-top .reveal:nth-child(2) { transition-delay: .08s; }
.footer-top .reveal:nth-child(3) { transition-delay: .16s; }
.footer-top .reveal:nth-child(4) { transition-delay: .24s; }
.footer-cols .footer-col:nth-child(1) { transition-delay: 0s; }
.footer-cols .footer-col:nth-child(2) { transition-delay: .12s; }
.footer-cols .footer-col:nth-child(3) { transition-delay: .24s; }

/* logo footer : léger zoom au survol */
.footer-logo { transition: transform .4s ease, filter .4s ease; }
.footer-brand:hover .footer-logo { transform: scale(1.06) rotate(-1.5deg); }

/* champ e-mail : focus dynamique */
.newsletter input { transition: border-color .25s, box-shadow .25s, transform .25s; }
.newsletter input:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(73, 160, 221, .18);
  transform: translateY(-2px);
}

/* bouton Connexion : relief + balayage lumineux au survol */
.btn-connexion { position: relative; overflow: hidden; transition: background .25s, color .25s, transform .2s, box-shadow .25s; }
.btn-connexion::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-connexion:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(73, 160, 221, .35); }
.btn-connexion:hover::after { animation: btn-shine .7s ease; }
@keyframes btn-shine { to { left: 140%; } }

/* lien FAQ : flèche qui glisse */
.footer-faq { transition: color .2s; }
.footer-faq::after { content: " →"; display: inline-block; transition: transform .25s; }
.footer-faq:hover { color: var(--c-blue); }
.footer-faq:hover::after { transform: translateX(5px); }

/* icônes sociales : pulsation douce + survol qui soulève */
.social-link {
  transition: transform .25s ease, box-shadow .25s ease;
  animation: social-pulse 2.6s ease-in-out infinite;
}
.social-link:nth-child(2) { animation-delay: .6s; }
.social-link:hover {
  animation: none;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}
@keyframes social-pulse {
  0%, 100% { box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }
  50%      { box-shadow: 0 7px 16px rgba(0, 0, 0, .22); }
}

/* titres de colonnes : soulignement animé */
.footer-col h3 { position: relative; display: inline-block; padding-bottom: .3rem; }
.footer-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--c-blue);
  transition: width .4s ease;
}
.footer-cols:hover .footer-col h3::after { width: 100%; }

/* horaires : décalage au survol */
.footer-hours li { transition: transform .2s, color .2s; }
.footer-hours li:hover { transform: translateX(4px); color: var(--c-blue-dark); }

/* nav du bas : soulignement qui pousse depuis le centre */
.footer-bottom-nav nav a { position: relative; padding-bottom: 3px; transition: color .2s; }
.footer-bottom-nav nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; background: var(--c-blue);
  transform: translateX(-50%); transition: width .3s ease;
}
.footer-bottom-nav nav a:hover::after { width: 100%; }
.footer-bottom-nav .brand-logo { transition: transform .4s ease; }
.footer-bottom-nav:hover .brand-logo { transform: rotate(-3deg) scale(1.06); }

/* bouton retour en haut */
.to-top {
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border: none; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--c-blue); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(73, 160, 221, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, background .2s, visibility .3s;
  z-index: 50;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-blue-dark); transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .social-link { animation: none; }
}

/* =========================================================
   FOOTER — LOOK MODERNE
   ========================================================= */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
  padding-top: 3.75rem;
}
/* fine barre dégradée en haut du footer */
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-dark), var(--c-blue));
  background-size: 200% 100%;
  animation: footer-accent 6s linear infinite;
}
@keyframes footer-accent { to { background-position: 200% 0; } }

/* newsletter : pilule moderne (champ + bouton intégrés) */
.newsletter {
  flex-direction: row;
  align-items: center;
  gap: .4rem;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: .35rem .35rem .35rem 1.3rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, .08);
  transition: box-shadow .25s ease, transform .25s ease;
}
.newsletter:focus-within {
  box-shadow: 0 14px 34px rgba(73, 160, 221, .22);
  transform: translateY(-2px);
}
.newsletter input {
  flex: 1; width: auto; max-width: none;
  border: none; background: transparent; padding: .6rem 0;
}
.newsletter input:focus { outline: none; box-shadow: none; transform: none; }
.btn-connexion {
  flex-shrink: 0;
  padding: .7rem 2rem;
  border: none;
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff;
  font-weight: 600;
}
.btn-connexion:hover {
  background: linear-gradient(135deg, var(--c-blue-dark), var(--c-blue-dark));
  color: #fff;
}

/* réseaux : icônes rondes modernes, alignées */
.footer-social { flex-direction: row; gap: .7rem; }
.social-link { width: 44px; height: 44px; border-radius: 50%; font-size: 1.05rem; }

/* micro-titres modernes (majuscules espacées) */
.footer-col h3 {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--c-blue-dark);
}

/* respiration générale */
.footer-cols { gap: 2.5rem; }
.footer-bottom-nav { margin-top: 2rem; }
.footer-faq { font-weight: 600; letter-spacing: .02em; }

/* footer plus large (sans changer la hauteur) */
.site-footer { --footer-maxw: 1600px; }
.footer-top,
.footer-cols,
.footer-phone,
.footer-legal,
.footer-bottom-nav { max-width: var(--footer-maxw); }

@media (prefers-reduced-motion: reduce) {
  .site-footer::before { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .carousel { --visible: 2; }   /* 2 cartes visibles sur tablette */
}

@media (max-width: 900px) {
  .search-grid { grid-template-columns: 1fr; gap: 2rem; }
  .france-map { margin-left: 0; justify-content: center; }
  .search-title { text-align: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: absolute; top: 80px; right: 1rem; left: 1rem;
    flex-direction: column;
    background: #fff;
    padding: 1rem 1.5rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 20;
  }
  .main-nav.open { display: flex; }
  .main-nav a::after { content: ""; margin: 0; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .carousel { --visible: 1; }   /* 1 carte visible sur mobile */
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* =========================================================
   PAGE À PROPOS — QUI SOMMES-NOUS
   ========================================================= */
.about-hero { padding: 2.2rem 0 0; overflow: hidden; }   /* full-largeur, les maisons débordent */
.about-houses {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 100%;
  padding: 0 1rem;
}
.ah-shape {
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  background: var(--c-grey);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-left: -2.4vw;                 /* les maisons se chevauchent */
}
.ah-shape:first-child { margin-left: 0; }
.ah-shape img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-shape.ah-logo { padding: 6% 0; }
.ah-shape.ah-logo svg { width: 78%; height: auto; }
/* photo d'équipe : une seule image continue, découpée en 2 maisons */
.ah-photo2 {
  flex: 0 0 auto;
  width: 33vw;
  aspect-ratio: 3 / 2;
  margin-left: -2.4vw;
  overflow: hidden;
  /* 2 toits avec un creux PEU profond -> ne coupe pas les têtes */
  clip-path: polygon(0% 18%, 25% 2%, 50% 11%, 75% 2%, 100% 18%, 100% 100%, 0% 100%);
}
.ah-photo2 img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.ah-blue      { background: #2b3a8c; }
.ah-lightblue { background: #9fc0e8; }
.ah-cream     { background: #ece8e1; }
.ah-dark      { background: #1f1f1f; }
/* tailles : les colorées (xl) dépassent derrière les crème/photos */
.a-sm    { width: 9.4vw; }
.a-md    { width: 11.5vw; }
.a-lg    { width: 13.7vw; }
.a-xl    { width: 15.4vw; }
.a-wide  { width: 22vw; }   /* maison du titre, plus large pour voir tout le texte */
.ah-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(.75rem, 1.35vw, 1.35rem);
  letter-spacing: .03em;
  color: #3a3a3a;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, .15);
  padding: 0 .5rem;
}
/* profondeur + couches : les colorées passent DERRIÈRE, les crème/photo DEVANT */
.ah-shape, .ah-photo2 { position: relative; filter: drop-shadow(0 10px 14px rgba(20, 30, 60, .12)); }
.about-houses .back  { z-index: 1; }
.about-houses .front { z-index: 2; }

.about-tagline {
  position: relative;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--c-black);
  margin: 2.2rem auto 0;
  padding: 0 1rem 1.4rem;
}
.about-tagline::after {
  content: "";
  display: block;
  width: 70px; height: 3px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-dark));
  border-radius: 2px;
}

.about-intro { max-width: 1000px; margin: 3.5rem auto 4.5rem; padding: 0 1.5rem; text-align: center; }
.about-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--c-blue);
  margin-bottom: .9rem;
}
.about-intro h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--c-blue-dark); margin-bottom: 1.6rem; }
.about-intro > p { font-size: 1.08rem; line-height: 1.75; color: var(--c-text); max-width: 720px; margin: 0 auto 3rem; }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: val; }
.value-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  counter-increment: val;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 14px; padding: 2.2rem 1.6rem 1.9rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* barre d'accent animée en haut de carte */
.value-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-dark));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.value-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 36px rgba(20, 40, 80, .12);
  border-color: transparent;
}
.value-card:hover::before { transform: scaleX(1); }
/* numéro éditorial 01 / 02 / 03 */
.value-card h3::before {
  content: "0" counter(val);
  display: block;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--c-blue);
  opacity: .28;
  margin-bottom: .7rem;
  letter-spacing: 0;
}
.value-card h3 { color: var(--c-blue-dark); margin-bottom: .55rem; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.value-card p { font-size: .94rem; line-height: 1.65; color: var(--c-text); }

.about-team { background: linear-gradient(180deg, #f6f8fa, #eef1f5); padding: 3.5rem 1.5rem; }
.team-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.team-photo img { width: 100%; border-radius: var(--radius); display: block; box-shadow: 0 18px 40px rgba(20, 40, 80, .15); }
.team-text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--c-blue-dark); margin-bottom: 1rem; }
.team-text p { line-height: 1.7; color: var(--c-text); margin-bottom: 1.6rem; }
.btn-team {
  display: inline-block; padding: .8rem 2.2rem;
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%); background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff; font-weight: 600; transition: transform .2s, box-shadow .25s;
}
.btn-team:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(73, 160, 221, .35); }

@media (max-width: 760px) {
  .about-values { grid-template-columns: 1fr; }
  .about-houses { gap: .4rem; }
  .team-inner { grid-template-columns: 1fr; }
}

/* =========================================================
   À PROPOS — SECTION AGENCE PARISIENNE (collage + carousel)
   ========================================================= */
.agency-about { padding: 4rem 1.5rem 5rem; }
.agency-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.agency-media { position: relative; min-height: 620px; }

/* devanture en forme de maison */
.agency-house {
  position: absolute; top: 0; left: 0;
  width: 58%; aspect-ratio: 3 / 4;
  clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%);
  overflow: hidden;
  filter: drop-shadow(0 14px 26px rgba(20, 30, 60, .22));
}
.agency-house img { width: 100%; height: 100%; object-fit: cover; }

/* carousel des bureaux */
.agency-carousel {
  position: absolute; top: 18%; left: 40%;
  width: 56%; aspect-ratio: 3 / 4;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 44px rgba(20, 40, 80, .25);
  z-index: 2;
}
.ac-track { position: absolute; inset: 0; }
.ac-track img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.ac-track img.active { opacity: 1; }
.ac-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .45rem; }
.ac-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: .2s; }
.ac-dots button.active { background: #fff; transform: scale(1.25); }

/* badge logo hexagone */
.agency-logo {
  position: absolute; top: 33%; left: 24%; bottom: auto;   /* sur le pilier, masque l'enseigne */
  width: 104px; height: 104px;
  background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(20, 40, 80, .2);
  z-index: 4;
}
.agency-logo svg { width: 62%; height: auto; }

/* panneau texte beige */
.agency-text { background: #ece8e1; border-radius: 16px; padding: 2.6rem 2.3rem; }
.agency-text h2 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 600; color: var(--c-black); line-height: 1.4; margin-bottom: 1.8rem; }
.agency-text p { line-height: 1.78; color: var(--c-text); }
.agency-text .hl { color: var(--c-blue); font-weight: 600; }

@media (max-width: 860px) {
  .agency-inner { grid-template-columns: 1fr; gap: 2rem; }
  .agency-media { min-height: 70vw; max-width: 460px; width: 100%; margin: 0 auto; }
}

/* =========================================================
   À PROPOS — ÉQUIPE (cartes qui se retournent)
   ========================================================= */
.team-section { padding: 4.5rem 1.5rem 5rem; background: #fff; }
.team-head { text-align: center; max-width: 840px; margin: 0 auto 3rem; }
.team-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--c-blue-dark); margin-bottom: 1rem; }
.team-head p { color: var(--c-text); line-height: 1.75; }

.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 1080px; margin: 0 auto; }
.member { width: 300px; height: 440px; perspective: 1200px; outline: none; }
.member-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4, .2, .2, 1);
}
.member:hover .member-inner,
.member:focus-within .member-inner { transform: rotateY(180deg); }

.member-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #ece8e1; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20, 40, 80, .1);
  overflow: hidden;
}
/* recto */
.member-front { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.6rem; text-align: center; }
.member-photo {
  width: 175px; height: 175px; border-radius: 50%;
  background: linear-gradient(180deg, #2b6cb0, #c3d8ee);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(20, 40, 80, .2);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member-name { margin-top: 1.4rem; font-weight: 700; color: var(--c-black); }
.member-role { margin-top: .2rem; color: var(--c-blue-dark); font-weight: 600; font-size: .92rem; }
/* indice "survol" */
.member-front::after {
  content: "Survolez";
  position: absolute; bottom: 14px; left: 0; right: 0;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-blue); opacity: .55;
}
/* verso */
.member-back {
  transform: rotateY(180deg);
  display: flex; align-items: center; justify-content: center;
  padding: 1.7rem 1.5rem; text-align: center;
}
.member-back p { position: relative; z-index: 1; font-size: .82rem; line-height: 1.55; color: var(--c-text); }
.member-hex { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .1; }
.member-hex svg { width: 78%; height: auto; }

@media (max-width: 520px) {
  .member { width: 100%; max-width: 330px; }
}

/* =========================================================
   À PROPOS — BANDEAU PRESSE « ON PARLE DE NOUS »
   ========================================================= */
.press { padding: 2.8rem 0 3.2rem; background: #fff; overflow: hidden; }
.press-title { text-align: center; text-transform: uppercase; letter-spacing: .28em; font-size: .82rem; color: var(--c-blue-dark); font-weight: 600; margin-bottom: 2.2rem; }
.press-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.press-track {
  display: flex; align-items: center; gap: 5.5rem;
  width: max-content;
  animation: press-scroll 26s linear infinite;
}
.press:hover .press-track { animation-play-state: paused; }
@keyframes press-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .press-track { animation: none; } }

.press-logo {
  flex: 0 0 auto;
  color: #111;
  transition: transform .25s ease;
}
.press-logo:hover { transform: scale(1.06); }

/* recréations typographiques des logos */
.pl-elle { font-family: var(--font-logo); text-align: center; line-height: 1; }
.pl-elle b { display: block; font-weight: 400; font-size: 2rem; letter-spacing: .34em; padding-left: .34em; }
.pl-elle span { display: block; font-size: .72rem; letter-spacing: .26em; margin-top: .15rem; padding-left: .26em; }

.pl-vogue {
  width: 86px; height: 86px; border-radius: 50%;
  background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-logo); font-size: 1.15rem; letter-spacing: .12em;
}

.pl-milk { font-family: var(--font); font-weight: 800; font-size: 2.3rem; line-height: .85; text-align: center; }
.pl-milk span { display: block; font-size: .5rem; font-weight: 600; letter-spacing: .06em; margin-top: .3rem; }

.pl-figaro {
  background: #111; color: #fff;
  font-family: var(--font-logo); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em;
  padding: .35rem 1.05rem;
}

/* =========================================================
   PAGE NOS BIENS
   ========================================================= */
.biens-hero { position: relative; overflow: hidden; padding: 1rem 1.5rem 2.5rem; }
.biens-title {
  text-align: center; position: relative; z-index: 3;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 4vw, 3rem); color: var(--c-blue-dark);
  text-shadow: 2px 2px 3px rgba(0,0,0,.12);
  margin: .6rem 0 1.6rem;
}
/* nuages flottants (dérive horizontale, fondu aux extrémités) */
.cloud {
  position: absolute; z-index: 2; pointer-events: none;
  background-image: url("nuage.png");
  background-size: contain; background-repeat: no-repeat;
  aspect-ratio: 1 / 1;
  left: var(--x); top: var(--y); --travel: 60vw;
  filter: drop-shadow(0 14px 16px rgba(60,85,120,.18));
  animation: cloud-drift 30s linear infinite;
}
.c1 { --x:-8%; --y:8%; --travel:72vw; width:214px; animation-duration:30s; animation-delay:-2s; }
.c2 { --x:18%; --y:4%; --travel:66vw; width:156px; animation-duration:26s; animation-delay:-11s; }
.c3 { --x:52%; --y:10%; --travel:56vw; width:240px; animation-duration:34s; animation-delay:-5s; }
.c4 { --x:-6%; --y:40%; --travel:76vw; width:143px; animation-duration:28s; animation-delay:-17s; }
.c5 { --x:38%; --y:46%; --travel:62vw; width:182px; animation-duration:32s; animation-delay:-23s; }
.c6 { --x:8%; --y:70%; --travel:70vw; width:162px; animation-duration:27s; animation-delay:-8s; }
.c7 { --x:60%; --y:30%; --travel:50vw; width:124px; animation-duration:24s; animation-delay:-14s; }
.c8 { --x:24%; --y:58%; --travel:66vw; width:172px; animation-duration:31s; animation-delay:-3s; }
.c9 { --x:70%; --y:54%; --travel:46vw; width:140px; animation-duration:29s; animation-delay:-20s; }
.c10 { --x:-10%; --y:22%; --travel:80vw; width:198px; animation-duration:33s; animation-delay:-12s; }
@keyframes cloud-drift {
  0%   { transform: translate(0,0);                       opacity: 0; }
  7%   { opacity: 1; }
  50%  { transform: translate(calc(var(--travel)/2), -16px); }
  93%  { opacity: 1; }
  100% { transform: translate(var(--travel), 0);          opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; opacity: 1; } }

/* façade en forme de maison + barre de recherche */
.biens-house { position: relative; max-width: 820px; margin: 0 auto; z-index: 1; }
.biens-house-img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  clip-path: polygon(50% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
}
.biens-search {
  position: absolute; top: 33%; left: 50%; transform: translateX(-50%);
  width: 104%; z-index: 5;
  background: #2b3a8c; padding: 7px; border-radius: 4px;
  box-shadow: 0 16px 36px rgba(20,30,60,.3);
}
.bs-tabs { display: flex; gap: 7px; margin-bottom: 7px; }
.bs-tab {
  flex: 1; padding: .8rem; border: none;
  background: rgba(255,255,255,.16); color: #fff;
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  cursor: pointer; transition: background .2s, color .2s;
}
.bs-tab.active, .bs-tab:hover { background: #fff; color: var(--c-blue-dark); }
.bs-fields { display: flex; gap: 7px; margin-bottom: 7px; }
.bs-fields input, .bs-fields select { flex: 1 1 0; min-width: 0; padding: .75rem .8rem; border: none; border-radius: 3px; background: #fff; font-family: var(--font); font-size: .9rem; }
.bs-submit {
  display: block; width: 100%; margin: 0;
  padding: .9rem; border: none;
  background: #fff; color: var(--c-blue-dark);
  font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: .04em;
  clip-path: polygon(3% 0%, 97% 0%, 100% 50%, 97% 100%, 3% 100%, 0% 50%);
  cursor: pointer; transition: transform .2s ease, filter .2s ease;
}
.bs-submit:hover { transform: translateY(-1px); filter: brightness(.97); }

/* panneau intro bleu */
.biens-intro { background: #9fc0e8; padding: 3.2rem 1.5rem 3.6rem; margin-top: -30px; }
.biens-intro-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.biens-intro h2 { font-weight: 600; color: var(--c-black); font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 1.6rem; }
.biens-intro p { text-align: left; max-width: 680px; margin: 0 auto 1.2rem; color: #16294a; line-height: 1.75; }
.biens-cta {
  display: inline-block; margin-top: 1.6rem;
  padding: .9rem 2.6rem; border: none;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark));
  color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: .04em;
  clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
  transition: transform .2s ease, filter .2s ease;
}
.biens-cta:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* grille des 6 biens */
.biens-grid { padding: 4rem 1.5rem 5rem; background: #fff; }
.biens-grid-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.nb-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.4rem 1.4rem 1.8rem; border-radius: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.nb-card:hover { transform: translateY(-7px); box-shadow: 0 20px 38px rgba(20,40,80,.16); }
.nb-photo { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; margin-bottom: 1.2rem; }
.biens-grid-inner .nb-card:nth-child(3n+2) .nb-photo { clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); border-radius: 0; }
.nb-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.nb-card:hover .nb-photo img { transform: scale(1.05); }
.nb-card h3 { font-size: 1.05rem; font-weight: 600; }
.nb-loc { font-size: .9rem; opacity: .85; margin-bottom: .9rem; }
.nb-info { font-size: .85rem; line-height: 1.6; margin-bottom: 1.3rem; }
/* bouton hexagone (forme du logo) */
.nb-btn {
  display: inline-block;
  padding: 1.05rem 2.4rem;
  border: none; color: #fff; font-weight: 600;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--c-blue-dark);
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  transition: transform .2s ease, filter .2s ease;
}
.nb-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }
/* contraste de l'hexagone selon la couleur de la carte */
.c-dark  .nb-btn { background: var(--c-blue); }
.c-cream .nb-btn { background: var(--c-blue-dark); }
.c-blue  .nb-btn { background: #fff; color: var(--c-blue-dark); }
.c-light .nb-btn { background: var(--c-blue-dark); }
.c-dark  { background: #1f1f1f; color: #fff; }
.c-cream { background: #ece8e1; color: var(--c-text); }
.c-blue  { background: #2b3a8c; color: #fff; }
.c-light { background: #9fc0e8; color: #16294a; }


@media (max-width: 820px) {
  .bs-fields { flex-wrap: wrap; }
  .bs-fields input, .bs-fields select { flex: 1 1 45%; }
  .biens-grid-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .biens-search { position: static; transform: none; width: 100%; margin-top: 1rem; }
  .biens-grid-inner { grid-template-columns: 1fr; max-width: 360px; }
}
