/* Feuille de style commune — fond noir, rouge des logos (#e2002e) et blanc, comme les anciens sites */
:root {
  --accent: #e2002e; --accent-fonce: #aa0023; --fond: #000; --surface: #121212; --surface-2: #1b1b1b;
  --ligne: #2e2e2e; --texte: #f2f2f2; --gris: #a9a9a9; --blanc: #fff;
  --ombre: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 28px rgba(0, 0, 0, .55);
  --rayon: 12px; --titre: "Exo 2", "Segoe UI", system-ui, sans-serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 16px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: #ff4d6a; text-underline-offset: 3px; }
a:hover { color: #fff; }
svg { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; letter-spacing: .01em; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sauter { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .6rem 1rem; z-index: 100; }
.sauter:focus { left: 1rem; }
.cache { position: absolute !important; left: -9999px; }
.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .conteneur { padding: 0 28px; } }

/* En-tête : logo centré + menu */
.entete { background: #000; border-bottom: 1px solid var(--ligne); position: relative; z-index: 50; }
.entete-logo { display: flex; justify-content: center; padding: 12px 16px 6px; }
.entete-logo img { width: min(560px, 92vw); height: auto; }
.entete-nav { position: sticky; top: 0; z-index: 60; background: rgba(0, 0, 0, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.entete-in { display: flex; align-items: center; justify-content: center; min-height: 54px; gap: 1rem; }
.menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .15rem; }
.menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: var(--accent); }
.menu .bouton { margin-left: .4rem; }
.burger { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.burger-texte { display: none; color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) {
  .entete-in { justify-content: space-between; }
  .burger, .burger-texte { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #000; border-bottom: 1px solid var(--ligne); padding: .5rem 16px 1rem; display: none; }
  .menu.ouvert { display: flex; }
  .menu a { padding: .8rem .5rem; } .menu .bouton { margin: .5rem 0 0; text-align: center; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--accent); color: #fff; border: 2px solid var(--accent); border-radius: 999px; padding: .75rem 1.4rem; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.bouton:hover { color: #fff; background: var(--accent-fonce); border-color: var(--accent-fonce); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(226, 0, 46, .35); }
.bouton-petit { padding: .5rem 1rem; font-size: .85rem; }
.bouton-large { width: 100%; }
.bouton-contour { background: transparent; color: #fff; border-color: #fff; }
.bouton-contour:hover, .bouton-contour[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.bouton-clair { background: #fff; color: #000; border-color: #fff; }
.bouton-clair:hover { background: #e9e9e9; color: #000; border-color: #e9e9e9; }
.bouton-contour-clair { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.bouton-contour-clair:hover { background: #fff; color: #000; border-color: #fff; }

/* Héros + recherche */
.hero { position: relative; color: #fff; background: #000 var(--hero, none) center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .78) 70%, #000 100%); }
.hero-in { padding: clamp(2.5rem, 7vw, 5.5rem) 16px clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 3rem); max-width: 26ch; margin: 0 auto 1rem; }
.hero-texte { max-width: 62ch; margin: 0 auto 2rem; color: rgba(255, 255, 255, .85); }
.chiffres { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; margin: 2.2rem 0 0; }
.chiffres div { margin: 0; } .chiffres dt { font: 700 1.8rem/1 var(--titre); color: #fff; } .chiffres dd { margin: .35rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .08em; }

.recherche { display: grid; gap: .8rem; grid-template-columns: 1fr; background: rgba(18, 18, 18, .92); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem; max-width: 860px; margin: 0 auto; text-align: left; box-shadow: var(--ombre); }
@media (min-width: 720px) { .recherche { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }
.recherche > label > span, .champ-titre, .champ span { display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gris); margin-bottom: .35rem; }
.recherche .bouton { height: 48px; }

/* Menu déroulant à cases à cocher (villes) */
.multi { position: relative; }
.multi-bouton { width: 100%; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--surface-2); color: #fff; border: 1px solid var(--ligne); border-radius: 10px; padding: 0 .9rem; font: inherit; cursor: pointer; text-align: left; }
.multi-bouton span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-bouton::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translateY(-3px); flex: none; transition: transform .15s; }
.multi-bouton[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.multi-bouton[aria-expanded="true"], .multi-bouton:hover { border-color: var(--accent); }
.multi-liste { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 4px); max-height: 320px; overflow: auto; background: #111; border: 1px solid var(--accent); border-radius: 10px; padding: .4rem; box-shadow: var(--ombre); }
.multi-liste[hidden] { display: none; }
.multi-liste label { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem; border-radius: 6px; cursor: pointer; color: #fff; font-size: .95rem; }
.multi-liste label:hover { background: var(--surface-2); }
.multi-liste input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; padding: 0; border: 2px solid #fff; border-radius: 3px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.multi-liste input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.multi-liste input[type="checkbox"]:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.multi-liste .nb { margin-left: auto; color: var(--gris); font-size: .8rem; }
.multi-actions { display: flex; justify-content: space-between; gap: .5rem; padding: .4rem .3rem .2rem; border-top: 1px solid var(--ligne); margin-top: .3rem; }
.multi-actions button { background: none; border: 0; color: #ff4d6a; font: 600 .82rem var(--sans); cursor: pointer; padding: .3rem; }

input, select, textarea { width: 100%; font: inherit; color: #fff; background: var(--surface-2); border: 1px solid var(--ligne); border-radius: 10px; padding: .65rem .8rem; }
select { height: 48px; color-scheme: dark; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 0, 46, .25); }
::placeholder { color: #777; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.titre-section { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.4rem; text-transform: uppercase; letter-spacing: .04em; }
.titre-section::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: .6rem; }
.intro-section { color: var(--gris); max-width: 62ch; margin: -.4rem 0 1.8rem; }
.titre-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.lien-fleche { font-weight: 600; text-decoration: none; }
.section-texte { background: var(--surface); border-block: 1px solid var(--ligne); }
.texte-colonne { max-width: 820px; }
.chapeau { font-size: 1.1rem; border-left: 3px solid var(--accent); padding-left: 1.2rem; margin-bottom: 2rem; }
.prose h2, .prose h3, .prose h4 { margin: 2rem 0 .7rem; } .prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.35rem; } .prose h4, .prose h5 { font-size: 1.15rem; }
.prose p { margin: 0 0 1rem; } .prose ul { padding-left: 1.2rem; } .prose li { margin: .3rem 0; } .prose strong { color: #fff; }
.vide { background: var(--surface); border: 1px dashed var(--ligne); border-radius: var(--rayon); padding: 1.6rem; color: var(--gris); }
.note, .petit { font-size: .85rem; color: var(--gris); }

/* En-tête de page */
.entete-page { background: var(--surface); border-bottom: 1px solid var(--ligne); padding: clamp(1.8rem, 4vw, 2.8rem) 0 clamp(1.4rem, 3vw, 2.2rem); }
.entete-page h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin: .3rem 0 .5rem; max-width: 34ch; }
.entete-page p { color: var(--gris); margin: 0; }
.fil { font-size: .85rem; color: var(--gris); } .fil a { color: var(--gris); }

/* Cartes de biens */
.grille-biens { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.carte-bien { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.carte-bien:hover { transform: translateY(-3px); border-color: var(--accent); }
.carte-bien[hidden] { display: none; }
.carte-lien { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.carte-lien:hover { color: inherit; }
.carte-photo { position: relative; aspect-ratio: 4 / 3; background: #1d1d1d; overflow: hidden; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte-bien:hover .carte-photo img { transform: scale(1.04); }
.sans-photo { display: grid; place-items: center; height: 100%; color: var(--gris); font-size: .9rem; min-height: 180px; }
.sans-photo.grand { min-height: 320px; background: #1d1d1d; border-radius: var(--rayon); }
.pastille { position: absolute; top: .8rem; left: .8rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 999px; }
.carte-texte { padding: 1.05rem 1.2rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.carte-prix { margin: 0; font: 700 1.35rem/1.1 var(--titre); color: var(--accent); }
.carte-texte h3 { margin: 0; font: 600 1rem/1.35 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carte-ville { margin: 0; color: var(--gris); font-size: .9rem; display: flex; align-items: center; gap: .35rem; } .carte-ville span { opacity: .7; }
.faits { list-style: none; margin: auto 0 0; padding: .7rem 0 0; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; }
.faits li { display: flex; align-items: center; gap: .35rem; } .faits svg { color: var(--accent); }
.carte-info { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: 0 1.2rem 1.1rem; padding: .6rem; border: 1px solid var(--accent); border-radius: 999px; color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; }
.carte-info:hover { background: var(--accent); color: #fff; }

/* Barre de filtres (page Nos biens) */
.filtres { display: grid; gap: .8rem 1rem; grid-template-columns: 1fr; align-items: end; background: var(--surface); border: 1px solid var(--ligne); padding: 1.1rem; border-radius: var(--rayon); margin-bottom: 1.6rem; }
@media (min-width: 760px) { .filtres { grid-template-columns: 1.5fr 1fr 1fr; } }
.filtres-bas { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.compteur { font-weight: 600; }
.carte-liste { height: min(60vh, 480px); border-radius: var(--rayon); overflow: hidden; margin-bottom: 1.6rem; border: 1px solid var(--ligne); }
.carte-fiche { height: 320px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne); }
.leaflet-popup-content a.popup-bien { display: block; width: 210px; text-decoration: none; color: #111; }
.popup-bien img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: .4rem; }
.popup-bien strong { color: var(--accent); font-size: 1rem; display: block; }

/* Fiche bien */
.fiche-grille { display: grid; gap: 2rem; }
@media (min-width: 980px) { .fiche-grille { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .fiche-cote { position: sticky; top: 72px; } }
.galerie-principale { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 3 / 2; background: #1d1d1d; }
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vignettes { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.galerie-vignettes button { flex: 0 0 92px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #1d1d1d; }
.galerie-vignettes button.actif { border-color: var(--accent); }
.galerie-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.titre-bloc { font-size: 1.35rem; margin: 2rem 0 .8rem; } .encadre .titre-bloc { margin-top: 0; }
.description { background: var(--surface); border: 1px solid var(--ligne); padding: 1.4rem 1.5rem; border-radius: var(--rayon); }
.encadre { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem; margin-bottom: 1.4rem; }
.fiche-prix { font: 700 2rem/1 var(--titre); color: var(--accent); margin: 0 0 1rem; }
.fiche-faits { margin: 0 0 1.2rem; }
.fiche-faits div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--ligne); }
.fiche-faits dt { color: var(--gris); } .fiche-faits dd { margin: 0; font-weight: 600; text-align: right; }
.fiche-actions { display: grid; gap: .7rem; }
.section-proches { background: var(--surface); border-top: 1px solid var(--ligne); }
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .96); display: grid; place-items: center; }
.visionneuse img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.visionneuse button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.visionneuse .fermer { top: 16px; right: 16px; } .visionneuse .prec { left: 12px; top: 50%; } .visionneuse .suiv { right: 12px; top: 50%; }
.visionneuse .num { position: absolute; bottom: 16px; color: #fff; font-size: .9rem; }

/* Formulaires */
.formulaire { display: grid; gap: .9rem; }
.champs-2 { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.champ.large { grid-column: 1 / -1; }
.rgpd { font-size: .8rem; color: var(--gris); margin: 0; }
.section-formulaire { background: var(--surface); border-top: 1px solid var(--ligne); }
.contact-grille { display: grid; gap: 2rem; } @media (min-width: 900px) { .contact-grille { grid-template-columns: 1fr 1fr; align-items: start; } }
.coordonnees p { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .5rem 0; }

/* Secteurs */
.puces-secteurs { display: flex; flex-wrap: wrap; gap: .6rem; }
.puces-secteurs a { background: var(--surface); border: 1px solid var(--ligne); border-radius: 999px; padding: .5rem 1rem; text-decoration: none; color: #fff; font-weight: 500; }
.puces-secteurs a:hover { border-color: var(--accent); }
.puces-secteurs span { color: var(--accent); font-size: .85rem; margin-left: .2rem; font-weight: 600; }
.grille-secteurs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.tuile-secteur { position: relative; min-height: 170px; border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; color: #fff; text-decoration: none; background: #1a1a1a var(--img, none) center / cover; isolation: isolate; border: 1px solid var(--ligne); }
.tuile-secteur::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .15)); }
.tuile-secteur:hover { color: #fff; border-color: var(--accent); }
.tuile-secteur strong { font: 600 1.3rem/1.15 var(--titre); } .tuile-secteur span { font-size: .85rem; color: #ff4d6a; font-weight: 600; }
.secteur-texte { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; max-width: 900px; }

/* Bandeaux */
.section-sites { background: #0a0a0a; border-top: 1px solid var(--ligne); }
.grille-sites { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-groupe { background: var(--surface); border-radius: var(--rayon); padding: 1.2rem 1.3rem; text-decoration: none; color: var(--texte); border: 1px solid var(--ligne); transition: border-color .2s, transform .2s; }
.site-groupe:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--texte); }
.site-groupe strong { display: block; font: 700 1.15rem/1.2 var(--titre); color: var(--accent); text-transform: uppercase; letter-spacing: .03em; } .site-groupe span { font-size: .9rem; color: var(--gris); }
.bandeau-contact { background: var(--accent); color: #fff; }
.bandeau-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.bandeau-contact h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .3rem; } .bandeau-contact p { margin: 0; color: rgba(255, 255, 255, .85); }
.bandeau-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Pied de page */
.pied { background: #000; color: rgba(255, 255, 255, .75); padding: 3rem 0 1.4rem; font-size: .93rem; border-top: 3px solid var(--accent); }
.pied a { color: rgba(255, 255, 255, .9); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; } .pied a:hover { color: #fff; text-decoration: underline; }
.pied h2 { color: #fff; font: 600 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; margin: .4rem 0 1rem; }
.pied-grille { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pied-logo img { width: 240px; height: auto; margin-bottom: .8rem; }
.pied-agence { color: rgba(255, 255, 255, .55); }
.liste-simple { list-style: none; padding: 0; margin: 0; } .liste-simple li { margin: .3rem 0; }
.pied-bas { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.pied-bas a { color: rgba(255, 255, 255, .7); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Page « Nos biens » : barre de recherche pleine largeur + compteur / tri / carte */
#filtres { max-width: none; margin: 0 0 1rem; box-shadow: none; }
.barre-liste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.4rem; }
.barre-liste .tri { margin-left: auto; } .barre-liste .tri select { height: 40px; padding: 0 .7rem; min-width: 180px; }
@media (max-width: 560px) { .barre-liste .tri { margin-left: 0; flex: 1; } }

/* ---------- Accueil : une seule fenêtre de 3 biens qui défilent ---------- */
.page-accueil { display: flex; flex-direction: column; min-height: 100vh; }
.page-accueil main { flex: 1; }
.vitrine { padding: clamp(.9rem, 2vw, 1.4rem) 0 1.4rem; }
.fenetre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; background: #0b0b0b; border: 1px solid #333; border-radius: 14px; padding: 1rem; box-shadow: 0 0 0 1px rgba(226, 0, 46, .25), 0 18px 50px rgba(0, 0, 0, .7); margin-bottom: 1.2rem; }
.fente { background: #151515; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: opacity .5s ease, transform .5s ease; }
.fente.sortie { opacity: 0; transform: translateX(-24px); }
.fente.entree { animation: fente-entree .6s ease; }
@keyframes fente-entree { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.fente-lien { display: flex; flex-direction: column; flex: 1; color: #fff; text-decoration: none; }
.fente-lien:hover { color: #fff; }
.fente-photo { display: block; aspect-ratio: 16 / 10; background: #222; overflow: hidden; }
.fente-photo img { width: 100%; height: 100%; object-fit: cover; }
.fente-texte { display: flex; flex-direction: column; gap: .2rem; padding: .75rem .9rem .4rem; }
.fente-prix { color: var(--accent); font: 700 1.15rem/1.2 var(--titre); }
.fente-titre { font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.fente-ville { font-size: .8rem; color: var(--gris); }
.fente-info { margin: .4rem .9rem .9rem; text-align: center; font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none; border: 1px solid var(--accent); border-radius: 999px; padding: .45rem; }
.fente-info:hover { background: var(--accent); color: #fff; }
.vitrine .recherche { max-width: none; box-shadow: none; }
.pied-compact { padding: .2rem 0 1rem; border-top: 1px solid #222; }
.pied-compact .pied-bas { margin-top: 0; border-top: 0; }
@media (max-width: 760px) {
  .fenetre { grid-template-columns: 1fr; }
  .fente:not(:first-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fente, .fente.entree { transition: none; animation: none; } }

/* Page Secteurs : toutes les communes */
.section-communes { border-top: 1px solid var(--ligne); }
.grille-communes { list-style: none; margin: 1.2rem 0 0; padding: 0; columns: 4 200px; column-gap: 1.5rem; font-size: .9rem; }
.grille-communes li { break-inside: avoid; padding: .18rem 0; }
.grille-communes a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.grille-communes a:hover { color: #fff; text-decoration: underline; }
.grille-communes a.avec-biens { color: #fff; font-weight: 600; }
.grille-communes .nb { display: inline-block; min-width: 1.4em; padding: 0 .35em; margin-left: .25rem; border-radius: 99px; background: var(--accent); color: #fff; font-size: .72rem; text-align: center; }
.multi-recherche { width: 100%; margin: 0 0 .5rem; padding: .45rem .6rem; background: #111; color: #f2f2f2; border: 1px solid #333; border-radius: 4px; font: inherit; font-size: .9rem; position: sticky; top: -.4rem; z-index: 1; }
/* Agences */
.agences { display: grid; gap: .3rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pied-compact .pied-agences { display: flex; flex-direction: column; gap: .2rem; }
.multi-liste label[hidden] { display: none; }
.multi-liste .multi-actions { position: sticky; bottom: -.4rem; background: #111; }
.agence h3 { margin: .2rem 0 .3rem; font: 600 1rem var(--titre); color: #fff; }
.agence p { display: flex; align-items: center; gap: .4rem; margin: .25rem 0; }
.fiche-actions small { font-weight: 400; opacity: .7; }
/* Voir nos autres sites */
.autres-sites { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--ligne); text-align: center; }
.pied-compact .autres-sites { margin-top: .4rem; border-top: 0; }
.autres-sites h2 { margin: 0 0 1.1rem; font: 700 .95rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.autres-sites ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; }
.autres-sites a { display: block; border-radius: 6px; transition: transform .2s, filter .2s; }
.autres-sites a:hover { transform: translateY(-2px); filter: drop-shadow(0 0 8px rgba(226, 0, 46, .6)); }
.autres-sites img { display: block; width: clamp(180px, 22vw, 250px); height: auto; }
/* Drapeaux de langue (haut à droite) */
.langues { position: absolute; top: 10px; right: 14px; display: flex; gap: 6px; z-index: 5; }
.langues button { width: 30px; height: 20px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; background: none; cursor: pointer; overflow: hidden; opacity: .75; transition: opacity .2s, transform .2s; }
.langues button svg { display: block; width: 100%; height: 100%; }
.langues button:hover, .langues button[aria-pressed="true"] { opacity: 1; transform: translateY(-1px); border-color: #fff; }
.langues button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 640px) { .entete-logo { padding-top: 38px; } .langues { top: 8px; right: 10px; } .langues button { width: 26px; height: 17px; } }
/* Masque la barre et les bulles ajoutées par Google Traduction */
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }
