/* Site public de l'agence (site_agence/README.md) : le menu, les bandeaux et le pied portent la couleur sombre de
   l'agence, les boutons son accent ; les deux arrivent par la feuille site_agence:couleurs (--sombre, --sur-sombre,
   --accent, --sur-accent), jamais par un attribut style. Polices du site servies par l'application
   (espace/static/espace/fonts), comme le portail des candidats. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../espace/fonts/bricolage-grotesque-latin-wght-normal.ada540c0e24a.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../espace/fonts/bricolage-grotesque-latin-ext-wght-normal.b1ae2c312cfb.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../espace/fonts/instrument-sans-latin-wght-normal.fa41c43a3d8e.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../espace/fonts/instrument-sans-latin-ext-wght-normal.1ff13d113ba4.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #ffffff;
  --fond: #f5f3ef;
  --encre: #1d262b;
  --encre-2: #5a666d;
  --filet: #e3dfd9;
  --accent: #16181a;
  --sur-accent: #ffffff;
  --sombre: #1b1d21;
  --sur-sombre: #ffffff;
  --libre: #0a7d43;
  --titre: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --texte: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --rayon: 16px;
  --pointe: 28px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.6 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.w { max-width: 1240px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.visuel-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--papier); color: var(--encre); padding: 10px 16px; border-radius: 99px; }
.evitement:focus { top: 10px; }
.apercu { background: var(--encre); color: #fff; text-align: center; font-size: 14px; padding: 9px 20px; }
.modifier { position: absolute; top: 10px; right: 10px; z-index: 6; background: #fff; color: #1d262b; border: 1.5px solid #1d262b; border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600; text-decoration: none; }

/* Boutons et champs : des pilules */
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; background: var(--accent); color: var(--sur-accent); border: 2px solid var(--accent); border-radius: 99px; padding: 12px 24px; font-weight: 600; font-size: 15.5px; line-height: 1.2; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(.92); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sobre { background: transparent; color: inherit; border-color: currentColor; }
.btn-clair { background: #fff; color: #1d262b; border-color: #fff; }
.rond { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--filet); background: var(--papier); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.rond:hover { border-color: var(--encre); }
.centre { text-align: center; margin-top: 28px; }
.titre-centre { text-align: center; margin-bottom: 36px; }

/* En-tête : logo sur bandeau clair, puis barre sombre collante */
.site-tete { position: relative; z-index: 30; }
.logo-bandeau { background: var(--papier); display: flex; justify-content: center; padding: 14px 20px; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.logo-nom { font: 800 1.7rem/1 var(--titre); letter-spacing: -.02em; }
.menu-barre { position: sticky; top: 0; background: var(--sombre); color: var(--sur-sombre); z-index: 30; }
.barre-contenu { display: flex; align-items: center; gap: 12px 20px; min-height: 60px; flex-wrap: wrap; }
.btn-rappel { padding: 9px 18px; font-size: 14.5px; }
.menu { margin-inline: auto; }
.menu > ul { display: flex; gap: 4px 6px; flex-wrap: wrap; }
.menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; border-radius: 99px; }
.menu a:hover, .menu a[aria-current] { background: rgba(255,255,255,.14); }
.avec-sous { position: relative; }
.sous-menu { position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--sombre); border-radius: 14px; padding: 8px; display: none; box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.avec-sous:hover .sous-menu, .avec-sous:focus-within .sous-menu { display: block; }
.barre-outils { display: flex; gap: 6px; margin-left: auto; }
.outil { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }
.outil:hover { background: rgba(255,255,255,.14); }
.outil .ico { width: 24px; height: 24px; }
.compteur { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding-inline: 5px; border-radius: 99px; background: var(--accent); color: var(--sur-accent); font: 700 11.5px/19px var(--texte); text-align: center; outline: 2px solid var(--sombre); }
.menu-bouton { display: none; align-items: center; gap: 8px; background: transparent; color: inherit; border: 1.5px solid rgba(255,255,255,.5); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
@media (max-width: 900px) {
  .js .menu-bouton { display: inline-flex; order: -1; }
  .barre-contenu { justify-content: space-between; gap: 8px; }
  .js .btn-rappel { margin-left: auto; }
  .js .menu { order: 5; width: 100%; margin: 0; display: none; padding-bottom: 12px; }
  .js .menu.ouvert { display: block; }
  .js .menu > ul { flex-direction: column; }
  .sous-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; background: transparent; }
  .barre-outils { margin-left: 0; }
}
@media (max-width: 520px) {     /* téléphone : le bouton de rappel se réduit à son icône, tout tient sur une ligne */
  .btn-rappel { width: 44px; height: 44px; padding: 0; }
  .btn-rappel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Fenêtre « Être rappelé » */
.fenetre { border: 0; border-radius: 22px; padding: 26px; width: min(520px, calc(100% - 28px)); max-height: 92vh; overflow: auto; }
.fenetre::backdrop { background: rgba(10,14,16,.6); }
.fenetre-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fenetre h2 { font: 700 1.5rem/1.2 var(--titre); }

/* Formulaires */
.formulaire { display: grid; gap: 16px; }
.formulaire-titre { font: 700 1.3rem/1.2 var(--titre); }
.formulaire-grille { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.champ { display: grid; gap: 5px; min-width: 0; }
.champ-large { grid-column: 1 / -1; }
.champ label, .champ-r span { font-size: 13.5px; font-weight: 600; }
.champ input, .champ select, .champ textarea, .champ-r input, .champ-r select { width: 100%; border: 1.5px solid #c9c4bc; border-radius: 99px; padding: 11px 16px; background: var(--papier); color: var(--encre); }
.champ textarea { border-radius: 18px; min-height: 110px; resize: vertical; }
.erreur { color: #8a1c14; font-size: 13.5px; font-weight: 500; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consentement { font-size: 13.5px; color: var(--encre-2); }
.consentement label { display: flex; gap: 10px; align-items: flex-start; }
.consentement input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.resultat { border-radius: 14px; padding: 12px 16px; font-weight: 500; background: #e6f4ea; color: #0b4a26; }
.resultat.echec { background: #fbe9e7; color: #7a1a12; }
.aide { font-size: 13.5px; color: var(--encre-2); }

/* Blocs : alternance clair, gris, sombre, accent ; séparés par une pointe */
.bloc { position: relative; padding-block: 72px; }
.bloc + .bloc { padding-top: calc(72px + var(--pointe)); }
.bloc + .bloc::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: var(--pointe); background: var(--precedent, var(--papier)); clip-path: polygon(0 0, 50% 100%, 100% 0); pointer-events: none; z-index: 3; }
.ton-clair + .bloc { --precedent: var(--papier); }
.ton-gris + .bloc { --precedent: var(--fond); }
.ton-sombre + .bloc, .hero + .bloc { --precedent: var(--sombre); }
.ton-accent + .bloc { --precedent: var(--accent); }
.bloc-estimation + .bloc::before, .bloc-bandeau + .bloc::before, .hero-grand + .bloc::before { display: none; }
.ton-clair { background: var(--papier); }
.ton-gris { background: var(--fond); }
.ton-sombre { background: var(--sombre); color: var(--sur-sombre); }
.ton-accent { background: var(--accent); color: var(--sur-accent); }
.bloc h2 { font: 700 clamp(1.7rem, 3.6vw, 2.5rem)/1.1 var(--titre); letter-spacing: -.02em; text-wrap: balance; margin-bottom: 18px; }
.texte-riche p + p, .texte-riche ul + p, .texte-riche p + ul { margin-top: 14px; }
.texte-riche ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.texte-riche p { max-width: 68ch; }
.texte-centre { text-align: center; max-width: 820px; margin-inline: auto; display: grid; gap: 18px; justify-items: center; }
.texte-centre .texte-riche { text-align: left; }
.deux-colonnes { display: grid; gap: 40px 64px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 880px) { .deux-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .deux-colonnes-formulaire { align-items: start; } }
.figure img { width: 100%; border-radius: var(--rayon); aspect-ratio: 4 / 3; object-fit: cover; }
.figure-portrait img { aspect-ratio: 3 / 4; max-height: 560px; }
.portrait-seul { max-width: 780px; text-align: center; }     /* sans photo : le texte seul, centré, plutôt qu'une colonne vide */
.fonction { color: var(--encre-2); font-weight: 500; }
.ton-sombre .fonction, .ton-accent .fonction { color: inherit; opacity: .85; }
.fond-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fond-voile { position: absolute; inset: 0; background: linear-gradient(rgba(10,12,14,.62), rgba(10,12,14,.72)); }
.bloc-estimation > .w, .bloc-bandeau > .w { position: relative; z-index: 2; }

/* Bandeau d'en-tête de page */
.hero { position: relative; color: #fff; background: var(--sombre); padding-block: 64px 80px; isolation: isolate; overflow: hidden; }
.hero::after { display: none; }
.hero-grand { padding-block: 96px 120px; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-voile { position: absolute; inset: 0; background: linear-gradient(rgba(10,12,14,.55), rgba(10,12,14,.7)); z-index: -1; }
.hero h1 { font: 800 clamp(2.1rem, 5.6vw, 3.9rem)/1.04 var(--titre); letter-spacing: -.03em; text-wrap: balance; max-width: 20ch; }
.hero-texte { font-size: 1.15rem; margin-top: 14px; max-width: 56ch; opacity: .95; }
.hero-contenu { display: grid; gap: 4px; }

/* Recherche */
.recherche { margin-top: 30px; background: var(--papier); color: var(--encre); border-radius: 26px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.recherche-champs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); align-items: end; }
.champ-r { display: grid; gap: 4px; min-width: 0; }
.btn-recherche { width: 100%; }
.recherche-plus summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.recherche-plus summary::-webkit-details-marker { display: none; }
.recherche-plus[open] summary { margin-bottom: 12px; }

/* Chiffres, tuiles, étapes, membres */
.chiffres { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); text-align: center; }
.chiffres b { display: block; font: 800 clamp(2.4rem, 6vw, 3.8rem)/1 var(--titre); font-variant-numeric: tabular-nums; }
.chiffres span { font-weight: 500; }
.tuiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tuile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; background: var(--sombre); color: #fff; text-decoration: none; }
.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tuile:hover img { transform: scale(1.05); }
.tuile-voile { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(10,12,14,.78)); }
.tuile-nom { position: absolute; left: 18px; right: 18px; bottom: 16px; font: 700 1.3rem/1.15 var(--titre); }
.etapes { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: etape; }
.etapes li { background: var(--papier); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 24px; display: grid; gap: 8px; align-content: start; }
.ton-gris .etapes li { border-color: transparent; }
.etape-numero { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); display: grid; place-items: center; font-weight: 700; }
.etapes h3 { font: 700 1.15rem/1.25 var(--titre); }
.etapes p { color: var(--encre-2); }
.membres { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.membre { text-align: center; display: grid; gap: 6px; justify-items: center; align-content: start; }
.membre-photo { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; background: var(--sombre); display: grid; place-items: center; text-decoration: none; }
.membre-photo img { width: 100%; height: 100%; object-fit: cover; }
.initiales { font: 700 2.4rem/1 var(--titre); color: var(--sur-sombre); }
.initiales-grand { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--sombre); border-radius: var(--rayon); font-size: 5rem; }
.membre h3 { font: 700 1.2rem/1.2 var(--titre); margin-top: 8px; }
.membre h3 a { text-decoration: none; }
.membre-contact { display: grid; gap: 6px; margin-top: 6px; }
.membre-contact a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.membre-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.coordonnees { display: grid; gap: 10px; margin-top: 14px; }
.coordonnees li { display: flex; gap: 10px; align-items: center; }
.horaires { display: grid; gap: 4px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.bandeau-titre { font: 800 clamp(1.8rem, 4.4vw, 3rem)/1.1 var(--titre); letter-spacing: -.02em; text-wrap: balance; }
.carte-formulaire { background: var(--papier); color: var(--encre); border-radius: 22px; padding: 26px; box-shadow: 0 10px 36px rgba(20,24,28,.12); }
.carte-formulaire-seule { max-width: 760px; margin-inline: auto; }
.texte-formulaire { max-width: 900px; display: grid; gap: 18px; }

/* Estimation rapide (accueil) */
.estimation-rapide { display: flex; gap: 10px; flex-wrap: wrap; width: min(100%, 640px); }
.estimation-rapide input { flex: 1 1 260px; border: 0; border-radius: 99px; padding: 14px 20px; color: #1d262b; background: #fff; }

/* Annonces : cartes */
.titre-ligne { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.titre-ligne h2 { margin-bottom: 0; }
.defilement-pas { display: none; gap: 8px; }
.js .defilement-pas { display: flex; }
.defilement { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.defilement .carte { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
.carte { position: relative; }
.carte-photo { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; background: var(--fond); text-decoration: none; color: #fff; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carte:hover .carte-photo img { transform: scale(1.04); }
.sans-photo { display: grid; place-items: center; height: 100%; color: var(--encre-2); font-size: 14px; background: repeating-linear-gradient(135deg, var(--fond) 0 14px, #ece9e3 14px 28px); }
.etiquette { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--encre); border-radius: 99px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }
.etiquette.nouveau { background: var(--accent); color: var(--sur-accent); }
.coeur { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--encre); display: grid; place-items: center; cursor: pointer; z-index: 2; padding: 0; }
.coeur[aria-pressed="true"] { background: var(--accent); color: var(--sur-accent); }
.coeur[aria-pressed="true"] use { fill: currentColor; }
.carte-galerie .carte-voile { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10,12,14,.82)); }
.carte-sur-photo { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.carte-sur-photo b { font: 700 1.1rem/1.2 var(--titre); }
.carte-sur-photo .prix { font-weight: 700; font-size: 1.15rem; margin-top: 4px; }
.carte-sur-photo small { font-weight: 400; font-size: 12.5px; opacity: .9; }
.cartes-galerie { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.cartes-liste { display: grid; gap: 22px; }
.carte-liste { display: grid; gap: 0; background: var(--papier); border: 1px solid var(--filet); border-radius: 20px; overflow: hidden; }
.carte-liste .carte-photo { border-radius: 0; aspect-ratio: 16 / 10; }
.pastille-prix { position: absolute; left: 12px; bottom: 12px; background: var(--sombre); color: var(--sur-sombre); border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.pastille-prix b { font-size: 1.1rem; }
.carte-corps { padding: 20px; display: grid; gap: 10px; align-content: start; }
.carte-corps h3 { font: 700 1.2rem/1.25 var(--titre); }
.carte-corps h3 a { text-decoration: none; }
.carte-debut { color: var(--encre-2); }
.carte-infos { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; font-size: 14.5px; }
.carte-corps .btn { justify-self: start; padding: 9px 20px; }
@media (min-width: 760px) { .carte-liste { grid-template-columns: minmax(260px, 38%) 1fr; } .carte-liste .carte-photo { aspect-ratio: auto; min-height: 220px; } .carte-liste .coeur { right: 14px; } }
.liste-barre { display: grid; gap: 14px; margin-bottom: 26px; }
.liste-compte { font: 700 1.3rem/1.2 var(--titre); }
.liste-options { display: grid; gap: 10px 28px; }
.options { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.options span { font-size: 13.5px; color: var(--encre-2); margin-right: 4px; }
.options a { text-decoration: none; border: 1.5px solid var(--filet); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.options a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.vide { padding-block: 40px; color: var(--encre-2); text-align: center; }
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.pagination a { min-width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 99px; border: 1.5px solid var(--filet); text-decoration: none; font-weight: 600; }
.pagination a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }

/* Blog */
.articles { display: grid; gap: 30px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.article-carte { display: grid; gap: 14px; align-content: start; }
.article-image { display: block; aspect-ratio: 16 / 10; border-radius: var(--rayon); overflow: hidden; background: var(--sombre); }
.article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-corps { display: grid; gap: 8px; }
.article-corps h3 { font: 700 1.25rem/1.25 var(--titre); }
.article-corps h3 a { text-decoration: none; }
.rubrique { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--encre-2); }
.meta { font-size: 13.5px; color: var(--encre-2); }
.article-colonne { max-width: 780px; display: grid; gap: 16px; }
.article h1, .page-texte-corps h1, .page-membre-corps h1 { font: 800 clamp(2rem, 5vw, 3rem)/1.08 var(--titre); letter-spacing: -.025em; text-wrap: balance; }
.article-couverture { width: 100%; border-radius: var(--rayon); aspect-ratio: 16 / 9; object-fit: cover; }
.article-voisins { display: grid; gap: 14px; margin-top: 30px; }
.article-voisins a { border: 1.5px solid var(--filet); border-radius: var(--rayon); padding: 16px 20px; text-decoration: none; font-weight: 600; }
.article-voisins span { display: block; font-size: 12.5px; color: var(--encre-2); font-weight: 500; }
.retour { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 600; margin-bottom: 22px; }

/* Pages de texte */
.page-texte-corps .w { max-width: 860px; display: grid; gap: 22px; }
.mentions { display: grid; gap: 16px; }
.mentions dt { font-size: 13px; color: var(--encre-2); }
.mentions dd { font-weight: 500; }
.plan-rubrique h2 { font-size: 1.3rem; margin-bottom: 10px; }
.plan-rubrique ul { display: grid; gap: 6px; }
.selection-vide { color: var(--encre-2); }
.texte-riche h2 { font-size: 1.4rem; margin-top: 24px; }

/* Fiche */
.fiche-bandeau { background: var(--sombre); color: var(--sur-sombre); padding-block: 26px 30px; }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; opacity: .85; }
.fil li + li::before { content: "›"; margin-right: 10px; }
.fil a { text-decoration: none; }
.fiche-titre-ligne { display: flex; justify-content: space-between; align-items: end; gap: 10px 30px; flex-wrap: wrap; margin-top: 14px; }
.fiche-titre-ligne h1 { font: 800 clamp(1.6rem, 4vw, 2.5rem)/1.1 var(--titre); letter-spacing: -.02em; text-wrap: balance; max-width: 26ch; }
.fiche-prix b { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1 var(--titre); }
.fiche-adresse { margin-top: 8px; opacity: .85; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 22px; }
.fiche-actions .btn { padding: 9px 18px; font-size: 14.5px; }
.js [data-imprimer] { display: inline-flex !important; }
.mosaique { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--rayon); scrollbar-width: none; }
.mosaique::-webkit-scrollbar { display: none; }
.mosaique a { position: relative; flex: 0 0 88%; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); background: var(--fond); display: block; cursor: zoom-in; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique-vide { aspect-ratio: 3 / 1; }
.plus-photos { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: 13.5px; color: var(--encre); }
@media (min-width: 820px) {
  .mosaique { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 2.35 / 1; overflow: hidden; }
  .mosaique a { aspect-ratio: auto; border-radius: 0; min-height: 0; }
  .mosaique a:first-child { grid-row: 1 / 3; }
  .mosaique a:nth-child(n+6) { display: none; }
  .mosaique[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .mosaique[data-n="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .mosaique[data-n="1"] a:first-child, .mosaique[data-n="2"] a:first-child { grid-row: auto; }
  .mosaique[data-n="3"] { grid-template-columns: 2fr 1fr; }
  .mosaique[data-n="4"] { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
  .mosaique[data-n="4"] a:first-child { grid-row: 1 / 4; }
}
.fiche-colonnes { display: grid; gap: 36px 64px; padding-top: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fiche-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fiche section h2, .fiche-demande h2 { font: 700 1.5rem/1.2 var(--titre); margin-bottom: 16px; }
.fiche-descriptif p { max-width: 62ch; }
.fiche-descriptif p + p { margin-top: 12px; }
.pictos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; font-weight: 600; }
.pictos li { display: inline-flex; gap: 8px; align-items: center; }
.mention { font-size: 14px; color: var(--encre-2); margin-top: 12px; }
.pointilles { display: grid; gap: 8px; }
.pointilles div { display: flex; align-items: baseline; gap: 8px; }
.pointilles dt { color: var(--encre-2); }
.pointilles div::after { content: ""; order: 1; flex: 1; border-bottom: 2px dotted var(--filet); transform: translateY(-4px); }
.pointilles dd { order: 2; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pointilles dt { order: 0; }
.fiche-contacts { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 30px; }
.fiche section { margin-top: 52px; }
.fiche .fiche-colonnes section { margin-top: 0; }
.visite360 .cadre-visite { aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: var(--fond); }
.visite360 iframe { width: 100%; height: 100%; border: 0; display: block; }
.echelles { display: grid; gap: 24px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.echelle { display: grid; gap: 4px; }
.echelle h3 { font: 600 14px/1.3 var(--texte); margin-bottom: 6px; }
.barre { height: 22px; border-radius: 3px 11px 11px 3px; background: var(--d); color: var(--encre); font: 700 12px/22px var(--texte); padding-left: 8px; opacity: .55; }
.barre.ici { opacity: 1; height: 30px; line-height: 30px; font-size: 15px; box-shadow: 0 0 0 2px var(--papier), 0 0 0 4px var(--encre); margin-block: 4px; }
.barre.blanc { color: #fff; }
.larg-0 { width: 38%; } .larg-1 { width: 47%; } .larg-2 { width: 56%; } .larg-3 { width: 65%; }
.larg-4 { width: 74%; } .larg-5 { width: 83%; } .larg-6 { width: 92%; }
.dpe-A { --d: #009c6d; } .dpe-B { --d: #52b153; } .dpe-C { --d: #a5cc74; } .dpe-D { --d: #f4e70f; } .dpe-E { --d: #f0b40f; } .dpe-F { --d: #eb8235; } .dpe-G { --d: #d7221f; }
.ges-A { --d: #a4dbf8; } .ges-B { --d: #8cb4d3; } .ges-C { --d: #7792b1; } .ges-D { --d: #606f8f; } .ges-E { --d: #4d5271; } .ges-F { --d: #393551; } .ges-G { --d: #281b35; }
.fiche-infos ul { display: grid; gap: 8px; list-style: disc; padding-left: 1.3em; margin-bottom: 18px; max-width: 80ch; }
.interlocuteur { display: grid; gap: 14px; align-content: start; }
.interlocuteur-tete { display: flex; gap: 16px; align-items: center; }
.interlocuteur-tete img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.interlocuteur .nom { font: 700 1.2rem/1.2 var(--titre); }
.ref { font-size: 13.5px; color: var(--encre-2); }
.similaires { padding-bottom: 72px; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 90; background: rgba(12,18,21,.96); display: grid; grid-template-rows: auto 1fr auto; padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px)); color: #fff; }
.visionneuse .haut, .visionneuse .bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.visionneuse .bas { justify-content: center; }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; margin: auto; display: block; min-height: 0; }
.visionneuse .cadre { min-height: 0; display: grid; padding-block: 12px; }
.visionneuse .rond { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* Pied */
.site-pied { background: var(--sombre); color: var(--sur-sombre); padding-block: 56px 36px; font-size: 14.5px; }
.pied-colonnes { display: grid; gap: 30px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.site-pied h2 { font: 700 1.1rem/1.2 var(--titre); margin-bottom: 14px; }
.site-pied ul { display: grid; gap: 8px; }
.site-pied a { text-decoration: none; opacity: .92; }
.site-pied a:hover { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }
.pied-coordonnees { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.pied-nom { font: 700 1.2rem/1 var(--titre); }
.site-pied .reseaux { margin-top: 0; }
.pied-mentions { margin-top: 20px; font-size: 13px; opacity: .8; max-width: 100ch; }

/* Apparition douce, seulement avec le script */
.js .reveal:not(.visible) { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) { .reveal, .carte-photo img, .tuile img { transition: none; } .js .reveal:not(.visible) { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
@media (max-width: 480px) { .bloc { padding-block: 52px; } .bloc + .bloc { padding-top: calc(52px + var(--pointe)); } .hero-grand { padding-block: 64px 80px; } .carte-formulaire { padding: 20px; } }

/* Impression : la fiche d'un logement seule, sans menu ni formulaires */
@media print {
  .logo-bandeau ~ .menu-barre, .menu-barre, .fiche-actions, .fiche-contacts, .fiche-demande, .similaires, .site-pied,
  .fenetre, .coeur, .apercu, .evitement, .plus-photos { display: none !important; }
  .fiche-bandeau { background: none; color: #000; padding-block: 8px; }
  .mosaique { display: grid; grid-template-columns: repeat(3, 1fr); aspect-ratio: auto; }
  .mosaique a:nth-child(n+4) { display: none; }
  .mosaique a { aspect-ratio: 4 / 3; }
  .js .reveal:not(.visible) { opacity: 1; transform: none; }
  body { font-size: 12pt; }
  .fiche-colonnes { grid-template-columns: 1fr 1fr; }
}

/* Page d'attente du domaine d'une agence dont le site est hors ligne */
.page-attente { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--papier); }
.page-attente main { display: grid; gap: 22px; justify-items: center; text-align: center; padding: 32px 24px; max-width: 640px; }
.page-attente h1 { font: 800 clamp(1.8rem, 5vw, 2.8rem)/1.1 var(--titre); letter-spacing: -.025em; text-wrap: balance; }
.page-attente .logo img { height: 56px; }
