/* myplace.immo : feuille de style écrite pour la première vague de retouches (septembre 2026).
   Polices hébergées (Montserrat titres, Open Sans texte depuis le 15/09/2026), palette en variables, en-tête sur une ligne, boutons, accueil, biens, fiche, contact,
   blog, pages, mentions légales, 404, pied de page. Aucune dépendance : ni Font Awesome, ni jQuery. */

/* ---------- Polices ---------- */
/* Montserrat pour les titres (continuité avec le logo), Open Sans pour le texte (police de l'ancien site), hébergées ici */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

/* ---------- Palette et mesures ---------- */
:root {
  --or: #C18B4D;
  --or-profond: #8C6730;
  --or-survol: #7A5928;
  --anthracite: #2B2926;
  --taupe: #6B6560;
  --creme: #F7F3EC;
  --sable: #EFE7DB;
  --vert: #4F7A5C;
  --gris-statut: #9A948E;
  --blanc: #FFFFFF;
  --ardoise: #4A6B7A;        /* 04/11/2026 : deuxième accent, bleu ardoise désaturé (complémentaire adoucie de l'or). Code couleur : l'or pour la marque et l'action (titres, boutons, menu, plaques, mots des esquisses, étoiles), l'ardoise pour ce qui guide (icônes, dessins au trait, liens dans le texte, étiquettes, bande « Pourquoi ») */
  --ardoise-clair: #E6EDF0;
  --ardoise-profond: #33505D;   /* bande sombre de l'accueil */
  --ardoise-survol: #35525F;
  --ardoise-trait: #8AA3AF;     /* trait des esquisses de l'accueil */
  --ardoise-trait-fin: #A9BCC4; /* ligne de toits derrière l'équipe */
  --olive: #6B7A3F;
  --olive-clair: #EEF0E4;
  --pied-texte: #CFC9C1;
  --ombre: 0 2px 8px rgba(0, 0, 0, .06);
  --ombre-haute: 0 6px 18px rgba(0, 0, 0, .09);
  --rayon: 4px;
  --largeur: 1200px;
  --gouttiere: 20px;
  --titres: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --texte: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --section: 64px;
}
@media (max-width: 900px) { :root { --section: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--texte); font-size: 1rem; line-height: 1.6; color: var(--anthracite); background: var(--blanc); }
img, svg { max-width: 100%; }
picture { display: contents; }   /* <picture> (variante WebP) : l'image reste l'élément mis en page */
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--titres); color: var(--anthracite); margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
/* Tous les titres de niveau 1 et 2 en or profond (choix du 15/09/2026), y compris les titres des annonces, des articles et des cartes ; titre de la photo d'accueil en blanc */
h1, h2 { color: var(--or-profond); }
.hero-texte h1 { color: var(--blanc); }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
h4 { font-family: var(--texte); font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { h1 { font-size: 30px; } }
p { margin: 0 0 1em; }
small, .petit { font-size: 14px; }
a { color: var(--ardoise); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }   /* 04/11/2026 : liens dans le texte en ardoise, l'or reste aux titres et boutons */
a:hover { color: var(--ardoise-survol); }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }
.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: var(--section) 0; }
.section-creme { background: var(--creme); }
.intro { font-size: 18px; color: var(--taupe); max-width: 760px; margin: 0 0 32px; }
.titre-or { color: var(--or); }
.taupe { color: var(--taupe); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icone { width: 1em; height: 1em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icone-fond { fill: currentColor; stroke: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--rayon); font-family: var(--texte); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; text-transform: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.btn-primary { background: var(--or-profond); color: var(--blanc); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--or-survol); color: var(--blanc); }
.btn-outline { background: var(--blanc); color: var(--or-profond); border-color: var(--or-profond); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--creme); color: var(--or-profond); }
.btn-brand { background: var(--or); color: var(--blanc); width: 100%; height: 48px; font-size: 16px; }
.btn-brand:hover, .btn-brand:focus-visible { background: #A87E48; color: var(--blanc); }
.btn-petit { height: 36px; padding: 0 14px; font-size: 14px; }
.btn .icone { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.entete { background: var(--blanc); border-bottom: 1px solid var(--sable); box-shadow: 0 1px 6px rgba(0, 0, 0, .04); position: sticky; top: 0; z-index: 20; transition: box-shadow 200ms ease; }
.entete .wrap { display: flex; align-items: center; gap: 32px; min-height: 104px; transition: min-height 200ms ease; }
.entete.compacte { box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.entete.compacte .wrap { min-height: 72px; }
.entete.compacte .logo img { height: 56px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 76px; width: auto; display: block; transition: height 200ms ease; }
.menu { margin: 0 auto; }   /* menu centré entre le logo et les actions de droite (téléphone, estimation) */
.menu ul { display: flex; flex-wrap: nowrap; gap: 34px; list-style: none; margin: 0; padding: 0; }
.menu a { font-size: 16px; font-weight: 600; color: var(--anthracite); text-decoration: none; text-transform: none; padding: 10px 0; display: inline-block; white-space: nowrap; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--or); transform: scaleX(0); transform-origin: left center; transition: transform 250ms ease; }
.menu a:hover, .menu a:focus-visible { color: var(--or-profond); }
.menu a:hover::after, .menu a:focus-visible::after, .menu a.actif::after { transform: scaleX(1); }
/* 02/11/2026 (Nicolas : bloc téléphone et bouton trop massif) : numéro en graisse normale (Open Sans 400) 15 px, bouton de
   38 px et texte 14,5 px ; icône non compressible (sur my2ndplace.com, l'en-tête plein l'écrasait à 0 px à 1440 px de large) */
.tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: 15px; color: var(--anthracite); text-decoration: none; white-space: nowrap; }
.tel .icone { width: 18px; height: 18px; flex: none; color: var(--ardoise); }
.tel:hover { color: var(--or-profond); }
.btn-entete { height: 38px; padding: 0 16px; font-size: 14.5px; letter-spacing: .01em; }
.btn-entete .court { display: none; }
.burger, .fermer { display: none; background: none; border: 0; padding: 8px; color: var(--anthracite); cursor: pointer; }
.burger .icone, .fermer .icone { width: 26px; height: 26px; }
.menu-mobile { position: fixed; inset: 0; background: var(--blanc); z-index: 40; padding: 20px var(--gouttiere) 40px; overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile .haut { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.menu-mobile .haut img { height: 50px; width: auto; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile li { border-bottom: 1px solid var(--sable); }
.menu-mobile a { display: block; padding: 16px 0; font-size: 20px; font-weight: 600; color: var(--anthracite); text-decoration: none; }
.menu-mobile a.actif { color: var(--or-profond); }
.menu-mobile .bas { margin-top: 28px; display: grid; gap: 12px; }
/* 02/11/2026 (remarque d'Angela) : les deux boutons du bas héritaient de la règle des liens du menu (bloc, texte à gauche,
   texte noir sur le bouton brun) ; on les remet en boutons : centrés, blanc sur brun, 48 px de haut */
.menu-mobile .bas a.btn { display: flex; justify-content: center; align-items: center; gap: 8px; height: 48px; padding: 0 18px; font-size: 17px; line-height: 1; }
.menu-mobile .bas a.btn-primary { color: var(--blanc); }
.menu-mobile .bas a.btn-outline { color: var(--or-profond); }
/* Largeurs intermédiaires (tablette en paysage, petit portable) : bandeau resserré, téléphone en icône seule */
@media (min-width: 901px) and (max-width: 1220px) {
  .entete .wrap { gap: 20px; }
  .menu ul { gap: 18px; }
  .menu a { font-size: 15px; }
  .tel { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--sable); border-radius: var(--rayon); }
  .tel span { display: none; }
  .btn-entete { height: 36px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 900px) {
  .entete .wrap { gap: 12px; min-height: 76px; }
  .logo img { height: 50px; }
  .entete.compacte .wrap { min-height: 64px; }
  .entete.compacte .logo img { height: 42px; }
  .menu { display: none; }
  .tel { margin-left: auto; width: 40px; height: 40px; justify-content: center; border: 1px solid var(--sable); border-radius: var(--rayon); }
  .tel span { display: none; }
  .btn-entete { height: 36px; padding: 0 12px; font-size: 14px; }
  .btn-entete .long { display: none; }
  .btn-entete .court { display: inline; }
  .burger, .fermer { display: inline-flex; }
}

/* ---------- Photos du site (retouches 2) ---------- */
/* cadre 16:9 sur téléphone : réservé aux photos sans visage près du bord (séjour, contact) ; les photos de groupe
   et les étapes de la page Vendre s'affichent entières (4:3), un cadre 16:9 y coupait les têtes ou la clé */
.cadre-mobile-16-9 img { width: 100%; height: auto; border-radius: 6px; display: block; }
@media (max-width: 900px) { .cadre-mobile-16-9 img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; } }
.bandeau-photo { margin-bottom: 32px; }
.bandeau-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 10%;   /* ancrage haut : les visages sont près du bord supérieur, le bas (table) peut être rogné */ border-radius: 6px; display: block; }
.bandeau-photo.avec-legende { margin: 8px 0 28px; }
.bandeau-photo figcaption { font-size: 14px; color: var(--taupe); margin-top: 8px; text-align: center; }
.bandeau-photo.ancre-haut img { object-position: 50% 0; }   /* photo de groupe debout : on garde le haut (page Rejoindre) */
@media (max-width: 600px) { .bandeau-photo img { aspect-ratio: 16 / 9; object-position: 50% 10%; } }
.lien-texte { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.lien-texte:hover { text-decoration: underline; }

/* ---------- Accueil ---------- */
.entete-accueil { background: var(--blanc); }
.entete-accueil-grille { display: grid; grid-template-columns: 45fr 55fr; align-items: stretch; gap: 0; padding-top: 24px; }
.entete-accueil-texte { background: var(--creme); padding: 64px; border-radius: 6px 0 0 6px; display: flex; flex-direction: column; justify-content: center; }
.entete-accueil-texte h1 { margin-bottom: 14px; }
.entete-accueil-texte .sous-titre { font-size: 18px; color: var(--taupe); margin-bottom: 24px; }
.entete-accueil-texte .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
.entete-accueil-photo { position: relative; }   /* la frise (04/11/2026) se cale sur la photo */
.entete-accueil-photo img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: 0 6px 6px 0; display: block; }
@media (max-width: 900px) {
  .entete-accueil-grille { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .entete-accueil-photo { order: -1; }
  .entete-accueil-photo img { border-radius: 0 0 6px 6px; max-height: none; aspect-ratio: 4 / 3; object-position: 50% 50%; }   /* photo de groupe : entière sur téléphone, pas de cadre 16:9 qui couperait les têtes */
  .entete-accueil-texte { padding: 32px 24px; border-radius: 0; }
}

.hero { position: relative; height: 70vh; min-height: 380px; max-height: 760px; background: var(--anthracite); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; animation: zoom-lent 14s ease-out forwards; }
@keyframes zoom-lent { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top, rgba(20, 16, 10, .72), rgba(20, 16, 10, 0)); pointer-events: none; }
.hero-texte { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 1; color: var(--blanc); }
.hero-texte h1 { color: var(--blanc); margin-bottom: 10px; max-width: 820px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.hero-texte p { font-size: 18px; margin: 0; max-width: 680px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
@media (max-width: 900px) {
  .hero { height: 45vh; min-height: 280px; }
  .hero-texte { bottom: 24px; }
  .hero-texte p { font-size: 16px; }
}
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte { background: var(--blanc); border-radius: 6px; box-shadow: var(--ombre); padding: 32px 24px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 150ms ease, box-shadow 150ms ease; }
.carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-haute); }
.carte img { width: 48px; height: 48px; margin-bottom: 16px; }
.carte h2 { font-size: 22px; margin-bottom: 4px; }
.carte h2 small { display: block; font-family: var(--texte); font-size: 16px; font-weight: 400; color: var(--taupe); margin-top: 4px; }
.carte .btn { margin-top: 20px; }
@media (max-width: 900px) { .cartes { grid-template-columns: 1fr; gap: 16px; } .carte { padding: 24px 20px; } }
.presentation { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.presentation img { width: 100%; border-radius: 6px; box-shadow: var(--ombre); }
.presentation h2 { margin-bottom: 16px; }
.presentation h3 { margin-top: 24px; }
@media (max-width: 900px) { .presentation { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.section.pourquoi { background: var(--ardoise-profond); color: #E9E3D9; }   /* 04/11/2026 : bande ardoise profond entre deux sections claires, titre or, sous-titres blancs */
.pourquoi h2 { text-align: center; margin-bottom: 36px; color: var(--or); }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.point h3 { font-size: 18px; margin-bottom: 8px; padding-top: 14px; border-top: 2px solid var(--or); color: var(--blanc); }
.point p { margin: 0; color: #D6CFC4; font-size: 15px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .points { grid-template-columns: 1fr; } }
.equipe h2 { text-align: center; margin-bottom: 36px; }
/* Équipe en cartes portrait (02/11/2026) : photo 4:5, nom et fonction en bas sur un dégradé, fiche crème qui glisse au survol,
   au focus clavier ou d'une touche (classe .ouvert posée par site.js sur écran tactile) */
.membres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; max-width: 1000px; margin: 0 auto; }   /* 02/11/2026 : cartes plus petites et plus espacées (portraits de 500 px plus nets) */
.membre { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--sable); outline: none; cursor: default; }
.membre-photo { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: height 360ms ease; }   /* 02/11/2026 : au survol, la photo remonte dans le tiers supérieur et la fiche prend la place en dessous ; le visage reste entier */
.membre-sans-photo { background: linear-gradient(160deg, var(--sable), var(--creme)); }
.membre:hover .membre-photo, .membre:focus-within .membre-photo, .membre.ouvert .membre-photo { height: 40%; }
.membre-bandeau { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 16px; background: linear-gradient(to top, rgba(28, 26, 24, .78), rgba(28, 26, 24, 0)); color: var(--blanc); transition: opacity 250ms ease; }
.membre-bandeau h3 { color: var(--blanc); font-size: 19px; margin: 0 0 2px; }
.membre-bandeau .fonction { font-size: 14px; font-weight: 600; margin: 0; opacity: .92; }
.membre-fiche { position: absolute; left: 0; right: 0; top: 40%; bottom: 0; overflow: auto; padding: 12px 14px; background: var(--creme); color: var(--anthracite); transform: translateY(102%); transition: transform 360ms ease; font-size: 13px; line-height: 1.4; }
.membre-fiche-nom { font-family: var(--titres); font-weight: 600; font-size: 15px; margin: 0; color: var(--anthracite); }
.membre-fiche .fonction { font-weight: 600; font-size: 12px; color: var(--taupe); margin: 0 0 5px; }
.membre-fiche p { margin: 0 0 5px; }
.membre-fiche .langues { font-size: 12px; color: var(--taupe); margin-bottom: 3px; }
.membre-fiche .coordonnees { font-size: 12.5px; display: flex; flex-direction: column; gap: 0; overflow-wrap: anywhere; margin: 0; }
.membre:hover .membre-fiche, .membre:focus-within .membre-fiche, .membre.ouvert .membre-fiche { transform: translateY(0); }
.membre:hover .membre-bandeau, .membre:focus-within .membre-bandeau, .membre.ouvert .membre-bandeau { opacity: 0; }
.membre:focus-visible { box-shadow: 0 0 0 3px var(--ardoise); }
@media (hover: none) { .membre::after { content: "+"; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--anthracite); font-weight: 600; font-size: 20px; line-height: 28px; text-align: center; }
  .membre.ouvert::after { content: "×"; } }
/* Variante de comparaison (?equipe=voile) : la photo reste entière, un voile sombre et le texte en blanc par-dessus */
html.equipe-voile .membre:hover .membre-photo, html.equipe-voile .membre:focus-within .membre-photo, html.equipe-voile .membre.ouvert .membre-photo { height: 100%; }
html.equipe-voile .membre-fiche { top: 0; transform: none; opacity: 0; transition: opacity 300ms ease; background: rgba(28, 26, 24, .74); color: var(--blanc); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
html.equipe-voile .membre:hover .membre-fiche, html.equipe-voile .membre:focus-within .membre-fiche, html.equipe-voile .membre.ouvert .membre-fiche { opacity: 1; }
html.equipe-voile .membre-fiche-nom, html.equipe-voile .membre-fiche .fonction, html.equipe-voile .membre-fiche .langues { color: var(--blanc); }
html.equipe-voile .membre-fiche .fonction, html.equipe-voile .membre-fiche .langues { opacity: .85; }
html.equipe-voile .membre-fiche a { color: var(--blanc); }
/* Arrivée en paquet (02/11/2026, site.js) : empilées en quinconce au centre de la première rangée, visibles, puis étalées une carte après l'autre */
.membres.paquet .membre { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg)); box-shadow: 0 8px 24px rgba(28, 26, 24, .18); transition: transform 760ms cubic-bezier(.2, .7, .15, 1), box-shadow 760ms ease; will-change: transform; }
.membres.paquet.sans-transition .membre { transition: none; }
.membres.paquet.etale .membre { transform: none; box-shadow: none; will-change: auto; }
/* tant que les cartes ne sont pas posées (classe pret), le survol n'ouvre pas la fiche : le paquet se sépare d'abord */
.membres.paquet:not(.pret) .membre-fiche { transform: translateY(102%) !important; }
.membres.paquet:not(.pret) .membre-photo { height: 100% !important; }
.membres.paquet:not(.pret) .membre-bandeau { opacity: 1 !important; }
.membres.paquet:not(.etale) .membre { cursor: pointer; }
@media print { .membres.paquet .membre { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .membre-photo, .membre-fiche, .membre-bandeau { transition: none; } }
@media (max-width: 900px) { .membres { grid-template-columns: 1fr 1fr; gap: 24px; max-width: 640px; } }
/* Esquisses derrière la photo de groupe (04/11/2026, adoptées ; ?accueil=sans-esquisses pour la photo nue ; templates/_frise.html) : dessins au trait posés sur la
   photo et masqués par la silhouette des personnes (photos/equipe-six-masque-fond.png, même cadrage que la photo : mask-size
   cover et même position). site.js pose les onze esquisses une à une, dans l'ordre d'une vente, dans les zones dégagées du
   fond (lues dans le masque) ; chacune se trace en une seconde et reste : le décor se construit puis ne bouge plus. Avec
   « réduire les animations », tout est posé d'emblée. */
.frise-accueil { display: none; }
html.accueil-frise .frise-accueil { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-height: 560px; overflow: hidden; pointer-events: none; border-radius: 0 6px 6px 0;
  -webkit-mask-image: url(/photos/equipe-six-masque-fond.png); mask-image: url(/photos/equipe-six-masque-fond.png); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 50%; mask-position: 50% 50%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.frise-objet { position: absolute; left: 0; top: 0; width: 140px; height: 140px; max-width: none; opacity: 0; overflow: visible; transition: opacity 700ms ease; }
.frise-objet.en-route { opacity: 1; }
.frise-accueil path { fill: none; stroke: var(--ardoise-trait); stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; }
.frise-objet .frise-icone { stroke-dasharray: 1; stroke-dashoffset: 1; }
.frise-objet.en-route .frise-icone { animation: frise-tracer 850ms ease-out forwards; }
.frise-accueil .frise-mot { fill: var(--or); font: 700 18px Montserrat, sans-serif; letter-spacing: .1em; opacity: 0; transition: opacity 400ms ease 550ms; }
.frise-objet.en-route .frise-mot { opacity: 1; }
@keyframes frise-tracer { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { html.accueil-frise .frise-accueil { max-height: none; border-radius: 0 0 6px 6px; } }
@media (prefers-reduced-motion: reduce) { .frise-objet, .frise-accueil .frise-mot { transition: none; } .frise-objet.en-route .frise-icone { animation: none; stroke-dashoffset: 0; } }
/* Ligne de toits (04/11/2026, adoptée par Nicolas le soir même ; ?equipe=sans-toits pour la grille sans décor, site.js) : portraits détourés sur le dégradé des cartes, décor au trait
   derrière eux, tracé en 1,4 s quand les cartes sont en place, panneau « vendu » au survol. Sans animation si le visiteur l'a demandé. */
html.equipe-toits .membre { background: linear-gradient(135deg, #F6F3EE, #E8E2DA); }
html.equipe-toits .membre-decor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
html.equipe-toits .membre-decor path { fill: none; stroke: var(--ardoise-trait-fin); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }   /* trait en unités du dessin (1,2 pour 300 de large) : avec vector-effect non-scaling-stroke, Safari n'honore pas pathLength et laissait la ligne inachevée sur iPhone (04/11/2026) */
html.equipe-toits .membre-decor { visibility: hidden; }   /* rien tant que les cartes ne sont pas en place (pas même l'amorce du trait) */
html.equipe-toits .membres.pret .membre-decor, html.equipe-toits .membres.sans-paquet .membre-decor { visibility: visible; }
html.equipe-toits .membre-decor .toits-ligne { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: butt; }
html.equipe-toits .membres.pret .membre-decor .toits-ligne, html.equipe-toits .membres.sans-paquet .membre-decor .toits-ligne { animation: toits-tracer 1.4s ease-out var(--delai, 0ms) forwards; }
html.equipe-toits .membre-decor .toits-details { opacity: 0; transition: opacity 600ms ease; }
html.equipe-toits .membres.pret .membre-decor .toits-details, html.equipe-toits .membres.sans-paquet .membre-decor .toits-details { opacity: 1; transition-delay: calc(var(--delai, 0ms) + 1100ms); }
html.equipe-toits .membre-decor .toits-plaque { opacity: 0; transition: opacity 300ms ease; }
html.equipe-toits .membre-decor .toits-plaque rect { stroke: var(--or); fill: var(--creme); }
html.equipe-toits .membre-decor .toits-plaque text { fill: var(--or); font: 700 7.2px Montserrat, sans-serif; letter-spacing: .06em; }
html.equipe-toits .membres.decor-pret .membre:hover[data-cote="gauche"] .toits-plaque-gauche, html.equipe-toits .membres.decor-pret .membre:hover:not([data-cote="gauche"]) .toits-plaque-droite,
html.equipe-toits .membres.decor-pret .membre:focus-within .toits-plaque-droite, html.equipe-toits .membres.decor-pret .membre.ouvert .toits-plaque-droite { opacity: 1; }   /* plaques seulement une fois les toits dessinés (site.js : decor-pret) */
@keyframes toits-tracer { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { html.equipe-toits .membre-decor .toits-ligne { animation: none; stroke-dashoffset: 0; } html.equipe-toits .membre-decor .toits-details { opacity: 1; transition: none; } }
@media (max-width: 600px) { .membres { grid-template-columns: 1fr; gap: 16px; max-width: 420px; margin: 0 auto; } .membre-fiche { padding: 14px 16px; font-size: 14px; } }   /* une colonne (cartes plus larges) : un peu plus d'air */
/* Passerelles (accueil, 16/09/2026) : deux cartes égales sur fond crème juste avant le pied de page (Rejoindre, My 2nd Place),
   sans image, titre H3, une phrase, lien en or profond avec flèche ; une colonne sous 800 px ; textes dans content/home.yaml.
   Règles supprimées par erreur le 02/11/2026 avec l'ancienne mise en page de l'équipe, rétablies le jour même. */
.passerelles { background: var(--creme); padding: 40px 0; }
.passerelles-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.passerelle { background: var(--blanc); border: 1px solid var(--sable); border-radius: 6px; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.passerelle-image { margin: -28px -28px 8px; aspect-ratio: 21 / 9; overflow: hidden; }   /* 04/11/2026 : photo en tête de carte, à fond perdu */
.passerelle-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.passerelle h3 { font-size: 19px; margin: 0; }
.passerelle p { margin: 0; font-size: 16px; }
.passerelle .lien-texte { color: var(--ardoise); margin-top: auto; align-self: flex-start; padding-top: 6px; }
@media (max-width: 800px) { .passerelles { padding: 32px 0; } .passerelles-grille { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* ---------- Page Vendre : six étapes (retouches 2) ---------- */
.vendre-intro { margin: 0 0 8px; }
.etapes { counter-reset: etape; display: grid; gap: 56px; margin-top: 24px; }
.etape { display: grid; grid-template-columns: 40fr 60fr; gap: 40px; align-items: center; }
.etape:nth-child(even) .etape-photo { order: 2; }
.etape-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.etape h2 { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.etape h2::before { counter-increment: etape; content: counter(etape); flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--ardoise); color: var(--blanc); font-family: var(--titres); font-size: 18px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; margin-top: -3px; }   /* pastille numérotée : contraste net avec le titre en or profond */
.etape p { margin: 0; font-size: 17px; }
@media (max-width: 800px) {
  .etape { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .etape:nth-child(even) .etape-photo { order: 0; }
  /* photos des étapes : entières (4:3) aussi sur téléphone ; un cadre 16:9 coupait les têtes (étapes 3 et 5) et la clé (étape 6) */
  .etapes { gap: 40px; }
}
.appel { text-align: center; }
.appel-texte { font-family: var(--titres); font-size: 24px; font-weight: 600; color: var(--anthracite); max-width: 720px; margin: 0 auto 24px; letter-spacing: -0.01em; }
.appel-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0; }
.appel-paragraphe { font-size: 18px; max-width: 680px; margin: 0 auto 24px; }   /* bloc final en texte courant (page Rejoindre) */

/* ---------- Nos biens ---------- */
.onglets { display: flex; gap: 6px; border-bottom: 1px solid var(--sable); margin: 0 0 28px; padding: 0; list-style: none; flex-wrap: wrap; }
/* Filtres de la liste des biens : restent visibles sous le bandeau compact pendant le défilement */
.section .onglets { position: sticky; top: 72px; z-index: 10; background: var(--blanc); padding-top: 6px; }
@media (max-width: 900px) { .section .onglets { top: 64px; } }
.onglet { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 16px; font-family: var(--texte); font-size: 15px; font-weight: 600; color: var(--taupe); cursor: pointer; }
.onglet:hover { color: var(--anthracite); }
.onglet.actif { color: var(--anthracite); border-bottom-color: var(--or); }
.onglet .compte { font-weight: 400; color: var(--taupe); margin-left: 4px; }
.grille-biens { display: grid; grid-template-columns: 1fr; gap: 24px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .grille-biens { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grille-biens { grid-template-columns: repeat(3, 1fr); } }
.bien { background: var(--blanc); border: 1px solid var(--sable); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 200ms ease, transform 200ms ease; }
.bien:hover { box-shadow: var(--ombre-haute); transform: translateY(-2px); }
.bien-image { overflow: hidden; }
.bien-image img { transition: transform 500ms ease; }
.bien:hover .bien-image img { transform: scale(1.04); }
.bien[hidden] { display: none; }
.bien-image { position: relative; aspect-ratio: 3 / 2; background: var(--sable); display: block; }
.bien-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blanc); padding: 4px 9px; border-radius: 3px; line-height: 1.3; }
.bien-image .badge { position: absolute; top: 12px; left: 12px; }
.bien-image .peb-vignette { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); border-radius: 3px; padding: 2px 3px; line-height: 0; }   /* 02/11/2026 : étiquette PEB sur la couverture */
.bien-image .peb-vignette img { height: 16px; width: auto; display: block; }   /* réduit de 26 à 20 puis 16 px le 02/11/2026 */
.badge-ardoise, .badge-vert { background: var(--ardoise); }   /* à vendre (04/11/2026 : ardoise, plus de vert) */
.badge-olive { background: var(--olive); }   /* à louer, comme l'étiquette Location des témoignages */
.badge-or { background: var(--or); }   /* sous option, réservé */
.badge-gris { background: var(--gris-statut); }
.badge-neutre { background: var(--taupe); }
.bien-corps { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bien .prix { font-weight: 600; font-size: 17px; margin: 0; }
.bien h2 { font-size: 18px; font-weight: 600; margin: 0; }
.bien h2 a { color: var(--or-profond); text-decoration: none; }
.bien h2 a:hover { color: var(--or-survol); text-decoration: underline; }
.extrait { color: var(--taupe); font-size: 15px; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.commune { display: inline-flex; align-items: center; gap: 6px; color: var(--taupe); font-size: 14px; margin: 0; }
.commune .icone { color: var(--ardoise); }
.bien .btn { margin-top: auto; align-self: flex-start; }
.vide { display: none; color: var(--taupe); padding: 24px 0; }

/* ---------- Fiche d'un bien ---------- */
.retour { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 20px; }
.retour:hover { text-decoration: underline; }
.retour .icone { width: 18px; height: 18px; }
.retour-bas { margin: 40px 0 0; }
.fiche { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .fiche { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.galerie-principale { position: relative; aspect-ratio: 3 / 2; background: var(--sable); border-radius: 6px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-principale .compteur { position: absolute; right: 12px; bottom: 12px; background: rgba(43, 41, 38, .75); color: var(--blanc); font-size: 13px; padding: 3px 8px; border-radius: 3px; }
.miniatures { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
.miniatures button { flex: 0 0 80px; width: 80px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: var(--sable); cursor: pointer; }
.miniatures button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.miniatures button.actif { border-color: var(--or); }
.fiche-info .badge { margin-bottom: 12px; }
.fiche-info .prix { font-family: var(--titres); font-size: 28px; font-weight: 600; margin: 0 0 8px; }
.fiche-info h1 { font-size: 27px; margin-bottom: 8px; }
.fiche-info .adresse { display: flex; align-items: center; gap: 6px; color: var(--taupe); margin-bottom: 8px; }
.fiche-info .adresse .icone { color: var(--ardoise); }
.caracteristiques { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--sable); border-bottom: 1px solid var(--sable); list-style: none; }
.caracteristiques li { font-weight: 600; }
.caracteristiques span { display: block; font-size: 13px; font-weight: 400; color: var(--taupe); }
.agent { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 16px; background: var(--creme); border-radius: 6px; }
.agent img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: 0 0 64px; background: var(--sable); }
.agent .initiales { width: 64px; height: 64px; border-radius: 50%; background: var(--or); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-family: var(--titres); font-weight: 600; font-size: 22px; flex: 0 0 64px; }
.agent > div { min-width: 0; }
.agent p { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.agent .nom { font-weight: 600; }
.peb { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; font-size: 14px; color: var(--taupe); }
.peb img { height: 34px; width: auto; }
.peb span { overflow-wrap: anywhere; min-width: 0; }
.description { max-width: 800px; margin-top: 28px; }
.description .vr { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 16px; }
@media (max-width: 700px) { .details { grid-template-columns: 1fr; } }
.details dl { margin: 0; }
.details .ligne { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--sable); font-size: 15px; }
.details dt { color: var(--taupe); margin: 0; }
.details dd { margin: 0; font-weight: 600; text-align: right; }
.visionneuse { position: fixed; inset: 0; background: rgba(15, 13, 11, .94); z-index: 100; display: flex; align-items: center; justify-content: center; }
.visionneuse[hidden] { display: none; }
.visionneuse img { max-width: 92vw; max-height: 88vh; object-fit: contain; display: block; }
.visionneuse button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: var(--blanc); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.visionneuse button:hover { background: rgba(255, 255, 255, .24); }
.visionneuse .fermer-visionneuse { top: 16px; right: 16px; display: flex; }
.visionneuse .precedent { left: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse .suivant { right: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse .icone { width: 24px; height: 24px; }
.visionneuse .position { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--pied-texte); font-size: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 60fr 40fr; grid-template-rows: auto 1fr; gap: 24px 48px; align-items: stretch; }
.contact .formulaire { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; }
/* 02/11/2026 : les deux colonnes finissent à la même hauteur ; le champ Message s'étire pour que le bouton Envoyer
   s'aligne sur le bas de la colonne de droite (bureaux, e-mail, Espagne) */
.contact .formulaire form { display: flex; flex-direction: column; flex: 1; align-items: stretch; }
.contact .formulaire form > .btn { align-self: flex-start; }   /* le bouton garde sa largeur naturelle */
.formulaire .champ-message { flex: 1; display: flex; flex-direction: column; }
.formulaire .champ-message textarea { flex: 1; min-height: 160px; }
.contact-photo { grid-column: 2; grid-row: 1; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.contact .bureaux { grid-column: 2; grid-row: 2; }
@media (max-width: 800px) {
  .contact { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 28px; }
  .contact-photo { grid-column: auto; grid-row: auto; order: -1; }
  .contact-photo img { aspect-ratio: 16 / 9; object-position: 50% 30%; }
  .contact .formulaire, .contact .bureaux { grid-column: auto; grid-row: auto; }
}
.bureaux { overflow-wrap: anywhere; }
.formulaire .champ { margin-bottom: 18px; }
.formulaire .champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }   /* 02/11/2026 : champs courts deux par deux, le formulaire respire */
.formulaire { max-width: 640px; }
@media (max-width: 520px) { .formulaire .champs-2 { grid-template-columns: 1fr; } }
.formulaire label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.formulaire label .facultatif { font-weight: 400; color: var(--taupe); font-size: 14px; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire textarea { width: 100%; padding: 9px 12px; border: 1px solid #D9D2C6; border-radius: var(--rayon); font: inherit; color: var(--anthracite); background: var(--blanc); }
.formulaire input:focus, .formulaire textarea:focus { outline: 2px solid var(--ardoise); outline-offset: 1px; border-color: var(--ardoise); }
.formulaire .consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.formulaire .consentement input { margin-top: 5px; }
.formulaire .piege { position: absolute; left: -9999px; top: -9999px; }
.form-erreur { background: #FBEDEA; border: 1px solid #E4B4A8; color: #7A2E21; padding: 10px 14px; margin: 0 0 16px; border-radius: var(--rayon); }
.form-objet { background: var(--creme); border-left: 3px solid var(--ardoise); padding: 10px 14px; margin: 0 0 16px; border-radius: 0 var(--rayon) var(--rayon) 0; font-weight: 600; }   /* rappel de l'objet prérempli (?objet=rejoindre) */
.bureaux h2 { font-size: 22px; margin-top: 28px; }
.bureaux h2:first-child { margin-top: 0; }
.bureaux h3 { font-size: 18px; margin-top: 20px; margin-bottom: 4px; }
.bureaux p { margin-bottom: 6px; }
.bureaux strong { font-weight: 600; }
.bureaux .contact-email, .bureaux .espagne { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--sable); font-size: 16px; line-height: 1.6; color: var(--anthracite); }   /* e-mail général (02/11/2026) et passerelle My 2nd Place (16/09/2026) : même taille, même espacement */
.bureaux .contact-email a, .bureaux .espagne a { font-weight: 600; }

/* ---------- Blog ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articles { grid-template-columns: 1fr; } }
.article-carte { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--sable); border-radius: 6px; overflow: hidden; transition: box-shadow 200ms ease, transform 200ms ease; }
.article-carte:hover { box-shadow: var(--ombre-haute); transform: translateY(-2px); }
.article-carte .image { overflow: hidden; }
.article-carte .image img { transition: transform 500ms ease; }
.article-carte:hover .image img { transform: scale(1.04); }
.article-carte .image { aspect-ratio: 3 / 2; background: var(--sable); display: block; }
.article-carte .image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-carte .corps { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-carte h2 { font-size: 20px; margin: 0; }
.article-carte h2 a { color: var(--or-profond); text-decoration: none; }
.article-carte h2 a:hover { color: var(--or-survol); text-decoration: underline; }
.date { color: var(--taupe); font-size: 14px; margin: 0; }
.article-carte .extrait { -webkit-line-clamp: 4; }
.lire { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--sable); border-radius: var(--rayon); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--anthracite); }
.pagination .current { background: var(--or-profond); border-color: var(--or-profond); color: var(--blanc); }
.article { max-width: 800px; margin: 0 auto; }
.article .image-titre { aspect-ratio: 2 / 1; border-radius: 6px; overflow: hidden; margin-bottom: 28px; background: var(--sable); }
.article .image-titre img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article .date { margin-bottom: 24px; }
.article .retour { margin-bottom: 24px; }
.article .contenu img, .page-simple .contenu img { border-radius: 6px; }
.article .contenu h2, .page-simple .contenu h2 { margin-top: 32px; }
.article .contenu h3, .page-simple .contenu h3 { margin-top: 24px; }
.voisins { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--sable); font-size: 15px; }
.voisins a { text-decoration: none; font-weight: 600; }
.voisins .suivant-article { text-align: right; margin-left: auto; }
/* Contenus repris de WordPress (blocs Gutenberg) : neutralisation des couleurs et espacements forcés */
.contenu .wp-block-spacer { height: 16px !important; }
.contenu [style*="color:#bb8854"], .contenu .has-text-color { color: inherit !important; }
.contenu h2, .contenu h2.has-text-color, .contenu h2[style] { color: var(--or-profond) !important; }   /* titres des contenus repris de WordPress : couleur du thème, malgré la couleur imposée par l'ancien site */
.contenu .has-background { background: var(--creme) !important; color: var(--anthracite) !important; padding: 14px 16px; border-radius: var(--rayon); }
.contenu .wp-block-columns { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.contenu .wp-block-column { flex: 1 1 200px; }
.contenu .wp-block-button__link { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--rayon); background: var(--or-profond) !important; color: var(--blanc) !important; text-decoration: none; font-weight: 600; }
.contenu figure.aligncenter { text-align: center; }
.contenu { overflow-wrap: anywhere; }
.contenu iframe, .contenu video { max-width: 100%; }
.contenu table { display: block; max-width: 100%; overflow-x: auto; }

/* ---------- Pages simples, mentions légales, estimation, 404 ---------- */
.page-simple { max-width: 800px; margin: 0 auto; }
.page-simple .image-titre { aspect-ratio: 5 / 2; border-radius: 6px; overflow: hidden; margin-bottom: 28px; background: var(--sable); }
.page-simple .image-titre img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-simple .action { margin-top: 32px; }
/* Page Rejoindre (16/09/2026) : blocs titre + paragraphe, encart en retrait sur fond crème */
.rejoindre h2 { margin: 36px 0 10px; }
.rejoindre p { font-size: 17px; }
.rejoindre .intro { font-size: 18px; }
.rejoindre .encart { margin: 32px 0 32px 28px; padding: 20px 24px; background: var(--creme); border-left: 3px solid var(--or); border-radius: 0 6px 6px 0; }
@media (max-width: 600px) { .rejoindre .encart { margin-left: 0; } }
.section-onglet[hidden] { display: none; }
.section-onglet { max-width: 800px; }
.section.estimation { padding-top: 16px; }   /* 02/11/2026 : module seul, tout de suite sous le bandeau */
.estimation-cadre { margin: 0 auto; max-width: 920px; border: 1px solid var(--sable); border-radius: 6px; overflow: hidden; }   /* 02/11/2026 : sous 940 px, le module Propteo passe en une colonne, sans son image d'accueil ni son logo : on reste en dessous */
.estimation-cadre iframe { display: block; width: 100%; min-height: 640px; border: 0; }   /* hauteur réelle posée par iframe-resizer ; 640 px de secours */
.introuvable { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 0; }
.introuvable .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: var(--pied-texte); padding: 36px 0 20px; margin-top: var(--section); font-size: 15px; }   /* resserré le 04/11/2026 (56/24 -> 36/20, bas 44 -> 22) */
.pied a { color: var(--pied-texte); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-colonnes { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .pied-colonnes { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 600px) {   /* 09/10/2026 : pied de page resserré sur une colonne (titre et adresse collés), essai « une ligne par bureau » abandonné */
  .pied-colonnes { grid-template-columns: 1fr; gap: 14px; }
  .pied-colonnes > div:not(.pied-marque) h3 { margin-bottom: 2px; }
  .pied-marque { margin-bottom: 6px; }
  .pied-bas { margin-top: 28px; }
}
.pied h3 { color: var(--blanc); font-family: var(--texte); font-size: 16px; font-weight: 600; margin: 0 0 10px; line-height: 1.4; }
.pied p { margin: 0 0 4px; }
.pied-marque { padding-top: 2px; }
.pied-logo { display: inline-block; margin-bottom: 8px; }
.pied-logo img { height: 46px; width: auto; display: block; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 22px; padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.pied-liens li + li::before { content: "·"; margin-right: 10px; color: var(--taupe); }

/* Apparition en douceur des blocs au défilement (classe posée par site.js, une seule fois par bloc) */
.apparition { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.apparition.visible { opacity: 1; transform: none; }
@media print { .apparition { opacity: 1 !important; transform: none !important; } }

/* Personnes qui ont demandé moins d'animations dans leur système : aucune transition */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Impression ---------- */
@media print { .entete, .pied, .burger, .menu-mobile, .btn { display: none !important; } }

/* Bandeau cookies (09/10/2026 ; classe renommée le 02/11/2026, « consentement » étant déjà la case du formulaire de contact) : bandeau en bas de page, deux boutons de même taille, lien « Cookies » du pied de page */
/* Témoignages (04/11/2026) : bande avant le pied de page, cartes qui défilent de droite à gauche en boucle (piste
   dupliquée, translation de -50 %), vitesse proportionnelle au nombre de cartes (--n), pause au survol et au focus */
.temoignages { background: var(--creme); border-top: 1px solid var(--sable); padding: 30px 0 28px; overflow: hidden; margin-top: var(--section); }
.temoignages + .pied { margin-top: 0; }
.temoignages-symboles { display: none; }   /* définition du symbole étoile, jamais affichée (l'attribut hidden est écrasé par la règle svg du site) */
.temoignages-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }   /* 18 -> 28 px le 04/11/2026 : un peu d'air sous le titre */
.temoignages-tete h2 { font-size: 22px; margin: 0; }
.temoignages-note { margin: 0; font-size: 15px; color: var(--taupe); display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.temoignages-note strong { color: var(--anthracite); }
.temoignages-note a { color: var(--ardoise); font-weight: 600; }
.etoiles { display: inline-flex; gap: 1px; vertical-align: middle; }
.etoile { width: 15px; height: 15px; fill: var(--or); }
.etoile.vide { fill: var(--sable); }
.temoignages-defile { outline: none; }
.temoignages-defile:focus-visible { box-shadow: inset 0 0 0 2px var(--ardoise); }
.temoignages-piste { display: flex; gap: 18px; width: auto; overflow-x: auto; padding-left: var(--gouttiere); }   /* sans script : bande à faire glisser */
.temoignages-piste.boucle { width: max-content; overflow-x: visible; animation: temoignages-defilement calc(var(--n, 10) * 9s) linear infinite; will-change: transform; }   /* site.js a copié les cartes : le défilement boucle (16/11/2026) */
.temoignages-piste[data-cartes] { min-height: 204px; }   /* cartes pas encore chargées (pages autres que l'accueil) : la place est gardée, le pied de page ne bouge pas */
.temoignages-sans-script { margin: 0; align-self: center; }
.temoignages-defile:hover .temoignages-piste, .temoignages-defile:focus-within .temoignages-piste, .temoignages-defile:focus .temoignages-piste { animation-play-state: paused; }
@keyframes temoignages-defilement { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.temoignage { position: relative; flex: 0 0 auto; width: 360px; background: var(--blanc); border: 1px solid var(--sable); border-radius: 10px; padding: 16px 18px 14px; display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto auto 1fr; column-gap: 12px; row-gap: 4px; align-items: center; align-content: start; }
.temoignage-objet { grid-column: 3; grid-row: 1; align-self: start; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ardoise); background: var(--ardoise-clair); border: 1px solid #D3DEE3; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }   /* étiquette « Vente », « Achat »… (ligne facultative du fichier Word) ; ardoise par défaut, olive pour Location, taupe pour Estimation (04/11/2026) */
.temoignage.ecourte { cursor: pointer; }
.temoignage.ecourte:hover { border-color: var(--or); }
.temoignage-lire { background: none; border: 0; padding: 0; margin-left: 8px; font: inherit; font-size: 12px; font-weight: 600; color: var(--ardoise); text-decoration: underline; cursor: pointer; }
.temoignage-objet.objet-location { color: var(--olive); background: var(--olive-clair); border-color: #DDE2CC; }
.temoignage-objet.objet-estimation { color: var(--taupe); background: var(--creme); }
.temoignage-complet { display: none; }

/* fenêtre de lecture du témoignage complet */
.temoignage-fenetre { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 12px; padding: 28px 28px 22px; background: var(--blanc); color: var(--anthracite); box-shadow: 0 20px 60px rgba(28, 26, 24, .3); }
.temoignage-fenetre::backdrop { background: rgba(28, 26, 24, .55); }
.temoignage-fermer { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--creme); color: var(--anthracite); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; }
.temoignage-fermer .icone { width: 18px; height: 18px; }
.temoignage-fenetre-nom { font-family: var(--titres); font-weight: 600; font-size: 19px; margin: 0 36px 4px 0; }
.temoignage-fenetre-note { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.temoignage-fenetre-objet:empty { display: none; }
.temoignage-fenetre-objet { font-size: 12px; font-weight: 600; color: var(--ardoise); background: var(--ardoise-clair); border: 1px solid #D3DEE3; border-radius: 999px; padding: 3px 10px; }
.temoignage-fenetre-texte p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.temoignage-fenetre-source { margin: 14px 0 0; font-size: 13px; color: var(--taupe); }
.temoignage-fenetre-source a { color: var(--ardoise); font-weight: 600; }
.temoignage-guillemet { position: absolute; right: 16px; bottom: 2px; font-family: var(--titres); font-size: 72px; line-height: 1; color: var(--or); opacity: .22; pointer-events: none; }   /* guillemet décoratif, remplit le coin bas droit des cartes courtes */
.temoignage-photo, .temoignage-initiales { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.temoignage-initiales { display: inline-flex; align-items: center; justify-content: center; background: var(--or); color: var(--blanc); font-family: var(--titres); font-weight: 600; font-size: 16px; letter-spacing: .02em; }
.temoignage-nom { grid-column: 2; margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; align-self: end; }
.temoignage .etoiles { grid-column: 2; align-self: start; }
.temoignage-texte { grid-column: 1 / -1; margin: 6px 0 8px; font-size: 14px; line-height: 1.5; color: var(--anthracite); align-self: start; }
.temoignage-source { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--taupe); align-self: end; }
@media (max-width: 600px) { .temoignage { width: 290px; padding: 14px 16px 12px; } .temoignages-tete h2 { font-size: 20px; } .temoignages-piste { gap: 12px; } .temoignages-piste[data-cartes] { min-height: 233px; } }
@media (prefers-reduced-motion: reduce) { .temoignages-piste, .temoignages-piste.boucle { animation: none; width: auto; overflow-x: auto; padding-bottom: 6px; } .temoignage[aria-hidden="true"] { display: none; } }
.bandeau-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--blanc); color: var(--anthracite); border: 1px solid var(--sable); border-radius: 8px; box-shadow: 0 10px 32px rgba(0, 0, 0, .2); padding: 18px 20px; font-size: 15px; line-height: 1.5; display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies p { margin: 0; flex: 1 1 320px; }
.bandeau-cookies a { color: var(--ardoise); }
.bandeau-cookies-boutons { display: flex; gap: 10px; flex: 0 0 auto; }
.bandeau-cookies-boutons .btn { min-width: 112px; justify-content: center; }
.lien-cookies { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; }
.lien-cookies:hover { color: var(--blanc); text-decoration: underline; }
@media print { .bandeau-cookies { display: none !important; } }

/* Mode écran (02/11/2026) : marge de sécurité pour les téléviseurs, qui rognent 2 à 5 % des bords (overscan, AirPlay).
   Activé par /?tv=1 (gardé dans le navigateur), désactivé par /?tv=0 ; voir PROCEDURE.md 4.9. */
html.ecran-tv .entete { padding-top: 4vh; }
html.ecran-tv .wrap { padding-left: max(var(--gouttiere), 4vw); padding-right: max(var(--gouttiere), 4vw); }
html.ecran-tv .pied { padding-bottom: 5vh; }
html.ecran-tv .bandeau-cookies { bottom: 5vh; left: 4vw; right: 4vw; }
html.ecran-tv .menu-mobile { padding-top: 5vh; }
