/* Les Chroniques · Affinités Immobilier · v3 · 14.10.2026 · au dessin du site (immobilier.css) */
:root{--vend:#8C6B42;--vend-2:#74572F;--ach:#2E6B57;--ach-2:#245746;--loc:#B24E14;--loc-2:#8F3E10;--lac:#1F4B5E;--lac-2:#2D6B84}
[data-fam="vendre"],[data-chemin="vendre"],[data-chemin="estimer"]{--fam:#8C6B42;--fam-2:#74572F;--fam-l:#F4EDE2}
[data-fam="acheter"],[data-chemin="acheter"],[data-chemin="financer"]{--fam:#2E6B57;--fam-2:#245746;--fam-l:#E7F0EB}
[data-fam="louer"],[data-chemin="louer"],[data-chemin="bailleurs"]{--fam:#B24E14;--fam-2:#8F3E10;--fam-l:#F8EBE1}
[data-fam="marche"],[data-chemin="marche"],[data-chemin="investir"]{--fam:#2D6B84;--fam-2:#235669;--fam-l:#E3EEF2}
[data-fam="droit"],[data-chemin="droit"],[data-chemin="habiter"]{--fam:#1F4B5E;--fam-2:#163847;--fam-l:#E6EEF2}
[data-fam="agence"],[data-chemin="agence"],[data-chemin=""]{--fam:#2B3036;--fam-2:#17191C;--fam-l:#ECEDEE}
[data-vis="vendre"],[data-vis="estimer"]{background-image:url(/img/chroniques/imm-ch1-vendre.jpg),url(/img/imm-r5-porte-ouverte.webp)}
@media (max-width:760px){[data-vis="vendre"],[data-vis="estimer"]{background-image:url(/img/chroniques/imm-ch1-vendre-m.jpg),url(/img/chroniques/imm-ch1-vendre.jpg),url(/img/imm-r5-porte-ouverte.webp)}}
[data-vis="acheter"],[data-vis="financer"]{background-image:url(/img/chroniques/imm-ch2-acheter.jpg),url(/img/imm-r7-visite-baie.webp)}
@media (max-width:760px){[data-vis="acheter"],[data-vis="financer"]{background-image:url(/img/chroniques/imm-ch2-acheter-m.jpg),url(/img/chroniques/imm-ch2-acheter.jpg),url(/img/imm-r7-visite-baie.webp)}}
[data-vis="louer"],[data-vis="bailleurs"]{background-image:url(/img/chroniques/imm-ch3-louer.jpg),url(/img/imm-r6-fenetre-lin.webp)}
@media (max-width:760px){[data-vis="louer"],[data-vis="bailleurs"]{background-image:url(/img/chroniques/imm-ch3-louer-m.jpg),url(/img/chroniques/imm-ch3-louer.jpg),url(/img/imm-r6-fenetre-lin.webp)}}
[data-vis="marche"],[data-vis="investir"]{background-image:url(/img/chroniques/imm-ch4-marche.jpg),url(/img/imm-a4-aerien-pully.webp)}
@media (max-width:760px){[data-vis="marche"],[data-vis="investir"]{background-image:url(/img/chroniques/imm-ch4-marche-m.jpg),url(/img/chroniques/imm-ch4-marche.jpg),url(/img/imm-a4-aerien-pully.webp)}}
[data-vis="droit"],[data-vis="habiter"]{background-image:url(/img/chroniques/imm-ch5-droit.jpg),url(/img/imm-r4-dossier-ordonne.webp)}
@media (max-width:760px){[data-vis="droit"],[data-vis="habiter"]{background-image:url(/img/chroniques/imm-ch5-droit-m.jpg),url(/img/chroniques/imm-ch5-droit.jpg),url(/img/imm-r4-dossier-ordonne.webp)}}
[data-vis="agence"]{background-image:url(/img/chroniques/imm-ch6-agence.jpg),url(/img/imm-g1-bureau-lumineux.webp)}
@media (max-width:760px){[data-vis="agence"]{background-image:url(/img/chroniques/imm-ch6-agence-m.jpg),url(/img/chroniques/imm-ch6-agence.jpg),url(/img/imm-g1-bureau-lumineux.webp)}}
[data-vis="accueil"]{background-image:url(/img/chroniques/imm-ch0-entree.jpg),url(/img/imm-c1-toits-lausanne.webp)}
@media (max-width:760px){[data-vis="accueil"]{background-image:url(/img/chroniques/imm-ch0-entree-m.jpg),url(/img/chroniques/imm-ch0-entree.jpg),url(/img/imm-c1-toits-lausanne.webp)}}
.cr-med{display:block;flex:0 0 auto;filter:drop-shadow(0 5px 12px rgba(23,25,28,.17))}

/* ouverture (accueil des Chroniques), au dessin de l'accueil du site */
.cr-ouv{position:relative;padding-inline:0!important;min-height:min(62svh,620px);display:grid;align-items:end;overflow:hidden;background:#33434E;isolation:isolate}
.cr-ouv .fond{position:absolute;inset:0;background-color:#33434E;background-size:cover;background-position:50% 45%;background-repeat:no-repeat;z-index:-2}
.cr-ouv::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(20,24,28,.78) 0%,rgba(20,24,28,.58) 40%,rgba(20,24,28,.18) 70%,rgba(20,24,28,.05) 100%),linear-gradient(0deg,rgba(20,24,28,.45) 0%,rgba(20,24,28,0) 50%)}
.cr-ouv .t{padding:clamp(40px,6vw,88px) var(--gut) clamp(36px,5vw,64px);display:flex;flex-direction:column;gap:18px;max-width:920px;min-width:0}
.cr-ouv .eyebrow{color:#F1E9DE;text-shadow:0 1px 10px rgba(0,0,0,.45)}
.cr-ouv h1{color:#fff;font-size:clamp(40px,5.8vw,80px);line-height:1.02;text-shadow:0 2px 30px rgba(0,0,0,.25)}
.cr-ouv h1 em{color:#D5E4EA}
.cr-ouv .lead{color:rgba(255,255,255,.92);max-width:56ch;text-shadow:0 1px 14px rgba(0,0,0,.25)}
.cr-ouv .tete{display:flex;align-items:center;gap:14px}
.cr-ouv .tete .cr-med{width:64px;height:64px}

/* la chronique du jour */
.cr-une{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.cr-une .im{background-color:var(--sand);background-size:cover;background-position:center;background-repeat:no-repeat;min-height:340px}
.cr-une .tx{background:var(--surface);padding:clamp(26px,3.4vw,52px);display:flex;flex-direction:column;gap:14px;min-width:0}
.cr-une .k{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--fam);font-weight:700}
.cr-une .k .cr-med{width:46px;height:46px}
.cr-une h3{font-family:var(--f-d);font-weight:500;font-size:clamp(30px,3.4vw,46px);line-height:1.05;margin:0;text-wrap:balance}
.cr-une h3 a{color:var(--text);text-decoration:none}
.cr-une p{margin:0;color:var(--muted);font-size:16px}
.cr-une .d{font-size:13px;color:var(--faint)}
.cr-une .hero-cta{margin-top:auto;padding-top:6px}

/* les quatre familles */
.cr-fams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.cr-fam{background:var(--surface);padding:0 0 clamp(20px,2.4vw,30px);display:flex;flex-direction:column;gap:12px;min-width:0}
.cr-fam>*:not(.vi){margin-inline:clamp(20px,2.4vw,30px)}
.cr-fam .vi{display:block;aspect-ratio:12/5;background-color:var(--sand);background-size:cover;background-position:center;border-bottom:3px solid var(--fam);margin-bottom:6px;position:relative}
.cr-fam .vi .cr-med{position:absolute;left:clamp(20px,2.4vw,30px);bottom:-26px;width:58px;height:58px}
.cr-fam small{margin-top:18px}
.cr-fam small{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--fam);font-weight:700}
.cr-fam h3{font-family:var(--f-d);font-weight:500;font-size:clamp(28px,2.6vw,36px);line-height:1.05;margin:0}
.cr-fam p{margin:0;font-size:14.5px;color:var(--muted)}
.cr-fam ul{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column}
.cr-fam li{border-top:1px solid var(--line)}
.cr-fam li a{display:flex;align-items:center;gap:12px;padding:11px 0;color:var(--text);text-decoration:none;font-size:15px;font-weight:600}
.cr-fam li a .cr-med{width:34px;height:34px;filter:none}
.cr-fam li a i{margin-left:auto;font-style:normal;font-size:12.5px;color:var(--faint);font-weight:500}
.cr-fam li a:hover{color:var(--fam)}

/* filtres et recherche */
.cr-outils{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cr-puces{display:flex;flex-wrap:wrap;gap:8px}
.cr-puces button{font:600 14px var(--f-b);padding:10px 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;min-height:42px}
.cr-puces button[aria-pressed="true"]{background:var(--fam,var(--ink));border-color:var(--fam,var(--ink));color:#fff}
.cr-puces button:not([aria-pressed="true"]):hover{border-color:var(--fam,var(--ink))}
.cr-cherche{flex:1 1 260px;max-width:420px;margin-left:auto}
.cr-cherche input{width:100%;font:16px var(--f-b);padding:11px 18px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);min-height:44px}
.cr-cherche input:focus{outline:2px solid var(--gold);outline-offset:2px}

/* la grille des chroniques (accueil, chemin) */
.cr-grille{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.cr-grille>a,.cr-grille>.carte{background:var(--surface);padding:24px 22px;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--text);min-height:220px;min-width:0;transition:background .15s}
.cr-grille>a:hover{background:#FFFDF9}
.cr-grille .k,.cr-grille .pl{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--fam,var(--espace));font-weight:700}
.cr-grille .k .cr-med{width:30px;height:30px;filter:none}
.cr-grille strong,.cr-grille .ti{font-family:var(--f-d);font-weight:500;font-size:clamp(23px,2vw,27px);line-height:1.15;text-wrap:balance}
.cr-grille .me{font-size:14px;color:var(--muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cr-grille .pied{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--faint);padding-top:4px}
.cr-grille .pied .cap{display:inline-flex;align-items:center;gap:6px;color:var(--fam,var(--gold));font-weight:600}
.cr-grille .pied .cap svg{width:14px;height:14px}
.cr-grille .go{margin-top:auto;color:var(--fam,var(--gold));font-size:14px;font-weight:600}
.cr-vide{color:var(--muted);font-size:15.5px;margin:0}
.cr-plus{align-self:flex-start}

/* page d'un chemin */
.cr-ch{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding-top:clamp(28px,4vw,56px)}
.cr-ch .t{display:flex;flex-direction:column;gap:16px;min-width:0}
.cr-ch .t .cr-med{width:84px;height:84px}
.cr-ch h1{font-size:clamp(44px,6vw,84px)}
.cr-ch h1 em{color:var(--fam)}
.cr-ch .eyebrow{color:var(--fam)}
.cr-ch .im{aspect-ratio:4/3;background:var(--sand) center/cover no-repeat}
.cr-voisins{display:flex;flex-wrap:wrap;gap:8px}
.cr-voisins a{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:7px 14px 7px 8px;font-size:14px;font-weight:600;color:var(--text);text-decoration:none;background:var(--surface)}
.cr-voisins a .cr-med{width:26px;height:26px;filter:none}
.cr-voisins a:hover{border-color:var(--fam)}

/* l'article */
.cr-fil{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:13.5px;color:var(--faint);padding-top:clamp(20px,3vw,36px)}
.cr-fil a{color:var(--muted);text-decoration:none}
.cr-fil a:hover{color:var(--fam);text-decoration:underline}
.cr-tete{display:flex;flex-direction:column;gap:18px;padding-top:clamp(18px,2.6vw,30px);max-width:1100px}
.cr-tete .k{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cr-tete .k .cr-med{width:64px;height:64px}
.cr-tete .k .eyebrow{color:var(--fam)}
.cr-tete .k .d{font-size:13px;color:var(--faint);letter-spacing:.04em}
.cr-tete h1{font-size:clamp(38px,5.4vw,74px);line-height:1.03;max-width:20ch}
.w>.cr-fig{padding-inline:0!important;margin-inline:var(--gut)}
.cr-fig{margin-top:clamp(24px,3vw,40px);aspect-ratio:21/8;background-color:var(--sand);background-size:cover;background-position:center;background-repeat:no-repeat}
.cr-corps{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,720px);gap:clamp(28px,5vw,88px);padding-top:clamp(28px,4vw,56px);align-items:start}
.cr-cote{position:sticky;top:96px;display:flex;flex-direction:column;gap:18px;min-width:0}
.cr-cap{border:1px solid var(--line);background:var(--surface);padding:18px;display:flex;flex-direction:column;gap:12px}
.cr-cap[hidden]{display:none}
.cr-cap .h{display:flex;align-items:center;gap:12px}
.cr-cap .jouer{flex:none;width:52px;height:52px;border-radius:50%;border:0;background:var(--fam);color:#fff;cursor:pointer;display:grid;place-items:center;-webkit-tap-highlight-color:transparent;transition:background .15s}
.cr-cap .jouer:hover{background:var(--fam-2)}
.cr-cap.joue .jouer{animation:crpouls 1.6s ease-in-out infinite}
@keyframes crpouls{0%,100%{box-shadow:0 0 0 0 rgba(23,25,28,.22)}50%{box-shadow:0 0 0 10px rgba(23,25,28,0)}}
.cr-cap .jouer svg{width:18px;height:18px}
.cr-cap small{display:block;font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--fam);font-weight:700}
.cr-cap b{display:block;font-family:var(--f-d);font-weight:500;font-size:21px;line-height:1.15}
.cr-cap .barre{height:3px;background:var(--line);cursor:pointer;position:relative;border-radius:3px}
.cr-cap .barre i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--fam);border-radius:3px}
.cr-cap .d{font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums}
.cr-som{border-top:1px solid var(--line);padding-top:14px}
.cr-som[hidden]{display:none}
.cr-som small{display:block;font-size:10.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--espace);font-weight:700;margin-bottom:6px}
.cr-som ol{list-style:none;margin:0;padding:0}
.cr-som a{display:flex;gap:10px;padding:7px 0;color:var(--muted);text-decoration:none;font-size:14.5px;line-height:1.35;border-bottom:1px solid var(--line)}
.cr-som a i{font-style:normal;font-family:var(--f-d);color:var(--fam);min-width:22px}
.cr-som a:hover,.cr-som a.ici{color:var(--text)}
.chr{font-size:18px;line-height:1.75;color:var(--text);min-width:0}
.chr>p:first-child{font-size:20px;line-height:1.65}
.chr p{margin:0 0 1.1em}
.chr h2{font-family:var(--f-d);font-weight:500;font-size:clamp(30px,3.2vw,40px);line-height:1.08;margin:1.6em 0 .55em;text-wrap:balance;scroll-margin-top:96px}
.chr h2 .n{display:block;font:700 11px/1 var(--f-b);letter-spacing:.24em;color:var(--fam);margin-bottom:12px}
.chr h3{font:700 19px/1.35 var(--f-b);margin:1.4em 0 .4em}
.chr ul,.chr ol{margin:0 0 1.2em;padding-left:1.2em}
.chr li{margin:.35em 0}
.chr li::marker{color:var(--fam)}
.chr a{color:var(--text);text-decoration:underline;text-decoration-color:var(--fam);text-underline-offset:3px;text-decoration-thickness:1px}
.chr a:hover{color:var(--fam)}
.chr strong{font-weight:700}
.chr blockquote{margin:1.6em 0;padding:4px 0 4px clamp(18px,2.4vw,28px);border-left:2px solid var(--fam);font-family:var(--f-d);font-size:clamp(26px,2.8vw,34px);line-height:1.2;color:var(--text)}
.chr blockquote p{margin:0}
.chr table{width:100%;border-collapse:collapse;font-size:15px;margin:.4em 0 1.4em;border:1px solid var(--line);background:var(--surface)}
.chr th,.chr td{border-bottom:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.chr th{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700;background:var(--sand)}
.cr-tablo{overflow-x:auto;margin:0 0 1.2em}
.cr-sig{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:8px}
.cr-sig .cr-med{width:58px;height:58px}
.cr-sig b{display:block;font-family:var(--f-d);font-weight:500;font-size:24px;line-height:1.1}
.cr-sig span{font-size:13.5px;color:var(--muted)}
.cr-av{font-size:13px;color:var(--faint);line-height:1.6;margin:14px 0 0}
.cr-appel{border-top:3px solid var(--fam)}
.cr-appel h2 em{color:var(--fam)}
.cr-appel .eyebrow{color:var(--fam)}
.cr-appel .hero-cta .cta:not(.ghost){background:var(--fam);border-color:var(--fam);color:#fff}
.cr-appel .hero-cta .cta:not(.ghost):hover{background:var(--fam-2);border-color:var(--fam-2)}
.cr-suite .cr-grille>a{min-height:150px}
.sec .cr-entete{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}

@media (max-width:1100px){.cr-fams{grid-template-columns:repeat(2,minmax(0,1fr))}.cr-grille{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
  .cr-corps{grid-template-columns:minmax(0,1fr);gap:22px}
  .cr-cote{position:static}
  .cr-som{display:none}
  .cr-une{grid-template-columns:minmax(0,1fr)}.cr-une .im{min-height:0;aspect-ratio:3/2}
  .cr-ch{grid-template-columns:minmax(0,1fr)}.cr-ch .im{order:-1;aspect-ratio:16/9}
  .cr-fig{aspect-ratio:16/9}
}
@media (max-width:640px){
  .cr-fams,.cr-grille{grid-template-columns:minmax(0,1fr)}
  .cr-grille>a{min-height:0}
  .chr{font-size:17px}.chr>p:first-child{font-size:18.5px}
  .cr-tete .k .cr-med{width:52px;height:52px}
  .cr-ouv{min-height:72svh}
  .cr-ouv::after{background:linear-gradient(180deg,rgba(20,24,28,.35) 0%,rgba(20,24,28,.55) 45%,rgba(20,24,28,.78) 100%)}
  .cr-cherche{max-width:none;margin-left:0}
  .cr-outils{display:block}
  .cr-puces{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .cr-puces button{width:100%;padding:10px 12px;font-size:14px;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cr-puces button:first-child:nth-last-child(odd){grid-column:1/-1}
  .cr-cherche{margin-top:12px}
}

.cr-ouv.rub{min-height:min(52svh,520px)}
.cr-ouv.rub .eyebrow{color:#F1E9DE}
.cr-ouv.rub h1 em{color:#F1E3C4}
.cr-ouv .fil{display:flex;gap:10px;font-size:13.5px}
.cr-ouv .fil a{color:rgba(255,255,255,.85);text-decoration:none}
.cr-ouv .fil a:hover{color:#fff;text-decoration:underline}
