/* Pedaterra : comparateur classique. Bleu nuit, blanc, accent corail. */
:root {
  --nuit: #0b1f3a;
  --nuit-2: #14325c;
  --accent: #e8603c;
  --accent-fonce: #c94b2a;
  --vert: #0f7b5a;
  --vert-clair: #e5f4ee;
  --fond: #f3f5f9;
  --blanc: #fff;
  --texte: #16233a;
  --gris: #5a6880;
  --ligne: #e2e7ef;
  --jaune: #fff6dc;
  --rayon: 12px;
  --ombre: 0 1px 2px rgb(11 31 58 / .06), 0 4px 16px rgb(11 31 58 / .06);
  --ombre-forte: 0 8px 32px rgb(11 31 58 / .18);
  --police: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--police); font-size: 16px; line-height: 1.55; color: var(--texte); background: var(--fond); font-feature-settings: "tnum" 1; }
img { max-width: 100%; display: block; }
a { color: var(--nuit-2); }
a:hover { color: var(--accent-fonce); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.conteneur { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 48px; }
.section-grise { background: var(--blanc); border-block: 1px solid var(--ligne); }
.centre { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.petit { font-size: .875rem; }
.aller-au-contenu { position: absolute; left: -999px; top: 8px; background: var(--blanc); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.aller-au-contenu:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* En-tête */
.entete { background: var(--nuit); color: var(--blanc); }
.entete-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.marque:hover { color: inherit; }
.logo { height: 30px; width: auto; display: block; }
.pied .logo { height: 34px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: rgb(255 255 255 / .86); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgb(255 255 255 / .1); color: var(--blanc); }
.nav .nav-cta { border: 1px solid rgb(255 255 255 / .5); color: var(--blanc); margin-left: 6px; }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } }

/* Bandeau photo + barre de recherche */
.bandeau { position: relative; color: var(--blanc); padding: 40px 0 44px; background: linear-gradient(180deg, rgb(11 31 58 / .55), rgb(11 31 58 / .82)), var(--photo) center / cover no-repeat, var(--nuit); }
.bandeau-grand { padding: 88px 0 72px; }
.bandeau h1 { max-width: 22ch; text-shadow: 0 2px 16px rgb(0 0 0 / .25); }
.bandeau-grand h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.chapo { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 60ch; color: rgb(255 255 255 / .9); margin-bottom: 28px; }
.bandeau .fil { margin-bottom: 16px; }
.bandeau .fil a, .bandeau .fil li { color: rgb(255 255 255 / .85); }

.recherche { display: grid; grid-template-columns: 1.6fr 1fr 1fr .7fr auto; background: var(--blanc); border-radius: var(--rayon); padding: 6px; gap: 0; box-shadow: var(--ombre-forte); color: var(--texte); border: 3px solid var(--accent); }
.champ { display: flex; flex-direction: column; padding: 8px 14px; border-right: 1px solid var(--ligne); min-width: 0; }
.champ:nth-last-child(2) { border-right: 0; }
.champ label { font-size: .75rem; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .04em; }
.champ input, .champ select { font: inherit; font-weight: 600; color: var(--texte); border: 0; background: transparent; padding: 2px 0; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; }
.champ select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6880' stroke-width='2'/%3E%3C/svg%3E") right center no-repeat; padding-right: 18px; cursor: pointer; }
.champ input:focus, .champ select:focus { outline: none; }
.champ:focus-within { background: var(--fond); border-radius: 8px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; border-radius: 10px; padding: 12px 20px; text-decoration: none; cursor: pointer; border: 0; transition: background .15s; }
.bouton-accent { background: var(--accent); color: var(--blanc); }
.bouton-accent:hover { background: var(--accent-fonce); color: var(--blanc); }
.bouton-recherche { font-size: 1.05rem; padding-inline: 28px; }
.bouton-plein { background: var(--nuit-2); color: var(--blanc); width: 100%; white-space: nowrap; padding-inline: 12px; }
.bouton-plein:hover { background: var(--nuit); color: var(--blanc); }
@media (max-width: 1000px) {
  .recherche { grid-template-columns: 1fr 1fr; gap: 0; }
  .champ { border-right: 0; border-bottom: 1px solid var(--ligne); }
  .champ:nth-child(odd) { border-right: 1px solid var(--ligne); }
  .bouton-recherche { grid-column: 1 / -1; margin-top: 6px; padding-block: 14px; }
}

/* Bande de réassurance et logos */
.reassurance { background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.reassurance-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 18px; }
.reassurance p { margin: 0; color: var(--gris); font-size: .95rem; padding-left: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23e5f4ee'/%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230f7b5a' stroke-width='2'/%3E%3C/svg%3E") left center no-repeat; }
.reassurance strong { color: var(--texte); }
@media (max-width: 760px) { .reassurance-inner { grid-template-columns: 1fr; gap: 8px; } }
.logos-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; }
.logos p { margin: 0; color: var(--gris); font-size: .9rem; }
.logos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; }
.logos li { font-weight: 800; font-size: 1.15rem; color: #8a96a8; letter-spacing: -.02em; }

.section-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-tete h2 { margin: 0; }
.titre-resultats { margin-bottom: 16px; }

/* Résultats */
.bandeau-exemple { background: var(--jaune); border: 1px solid #f1dc9e; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin-bottom: 20px; }
.resultats-grille { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .resultats-grille { grid-template-columns: 1fr; } }
.filtres { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); position: sticky; top: 16px; }
@media (max-width: 900px) { .filtres { position: static; } }
.filtre-bloc { border: 0; margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--ligne); min-width: 0; }
.filtre-titre { font-weight: 700; font-size: .95rem; margin: 0 0 8px; padding: 0; }
.filtre-resume { margin: 0; color: var(--gris); font-size: .9rem; }
.case { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .92rem; cursor: pointer; }
.case input { width: 18px; height: 18px; accent-color: var(--nuit-2); margin: 0; flex: none; }
.case-prix { margin-left: auto; color: var(--gris); font-size: .85rem; }
.filtre-note { font-size: .8rem; color: var(--gris); padding: 14px 18px; margin: 0; }

.barre-tri { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.compteur { margin: 0; color: var(--gris); }
.compteur strong { color: var(--texte); }
.onglets { display: inline-flex; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; padding: 4px; gap: 4px; }
.onglet { font: inherit; font-size: .88rem; font-weight: 600; border: 0; background: transparent; color: var(--gris); padding: 8px 14px; border-radius: 7px; cursor: pointer; }
.onglet[aria-pressed="true"] { background: var(--nuit); color: var(--blanc); }

.offres { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offre { display: grid; grid-template-columns: 220px 1fr 230px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); transition: box-shadow .15s, border-color .15s; }
.offre:hover { box-shadow: 0 6px 24px rgb(11 31 58 / .12); }
.offre-top { border: 2px solid var(--vert); }
.offre-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 190px; }
.offre-corps { padding: 18px 20px; min-width: 0; }
.offre-corps h3 { font-size: 1.2rem; margin-bottom: 2px; }
.offre-sous { color: var(--gris); font-size: .92rem; margin-bottom: 10px; }
.offre-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.offre-badges:empty { display: none; }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-top { background: var(--vert); color: var(--blanc); }
.badge-neutre { background: var(--fond); color: var(--gris); border: 1px solid var(--ligne); }
.atouts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .88rem; color: var(--vert); }
.atouts li::before { content: "✓ "; font-weight: 700; }
.detail summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--nuit-2); }
.detail table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 8px; }
.detail td, .detail th { padding: 5px 0; border-bottom: 1px solid var(--ligne); text-align: left; font-weight: 400; }
.detail tfoot th, .detail tfoot td { font-weight: 700; border-bottom: 0; }
.num { text-align: right !important; white-space: nowrap; }
.offre-note, .offre-source { font-size: .8rem; color: var(--gris); margin: 6px 0 0; }
.offre-prix { padding: 18px 20px; border-left: 1px solid var(--ligne); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; }
.offre-prix p { margin: 0; }
.prix-label { font-size: .8rem; color: var(--gris); }
.prix { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.prix-nuit { font-size: .85rem; color: var(--gris); margin-bottom: 8px !important; }
.prix-loyer { font-size: .82rem; color: var(--accent-fonce); margin-bottom: 12px !important; }
.prix-ok { font-size: .82rem; font-weight: 700; color: var(--vert); background: var(--vert-clair); padding: 2px 8px; border-radius: 6px; margin-bottom: 12px !important; }
.offre-indispo { opacity: .65; grid-template-columns: 220px 1fr; }
.offre-indispo .offre-photo img { min-height: 120px; filter: grayscale(1); }
.indispo { font-weight: 600; margin: 0; }
@media (max-width: 760px) {
  .offre { grid-template-columns: 110px 1fr; }
  .offre-photo { grid-row: span 2; }
  .offre-photo img { min-height: 100%; }
  .offre-corps { padding: 14px; }
  .offre-prix { border-left: 0; border-top: 1px solid var(--ligne); align-items: stretch; text-align: left; padding: 14px; }
  .offre-indispo { grid-template-columns: 110px 1fr; }
}
.double-loyer { margin-top: 18px; background: var(--blanc); border: 1px solid var(--ligne); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.erreur { background: #fdecea; border: 1px solid #f3b8ae; border-radius: 10px; padding: 12px 16px; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etapes li { background: var(--fond); border-radius: var(--rayon); padding: 24px; }
.etape-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nuit); color: var(--blanc); font-weight: 800; margin-bottom: 12px; }
.etapes p { margin: 0; color: var(--gris); }
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; } }

/* Cartes destinations */
.villes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.carte-ville { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; color: var(--blanc); text-decoration: none; box-shadow: var(--ombre); aspect-ratio: 4 / 3; }
.carte-ville img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.carte-ville:hover img { transform: scale(1.04); }
.carte-ville::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(11 31 58 / .85)); }
.carte-ville-texte, .carte-ville-prix { position: absolute; z-index: 1; left: 18px; right: 18px; }
.carte-ville-texte { bottom: 58px; }
.carte-ville-nom { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.carte-ville-depuis { font-size: .9rem; opacity: .9; }
.carte-ville-prix { bottom: 14px; font-size: .9rem; }
.carte-ville-prix small { opacity: .8; }
.carte-ville:hover { color: var(--blanc); }

/* Durées (hub) */
.durees { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .durees { grid-template-columns: 1fr 1fr; } }
.carte-duree { display: flex; flex-direction: column; gap: 4px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); }
.carte-duree:hover { border-color: var(--nuit-2); color: var(--texte); }
.carte-duree-titre { font-weight: 800; font-size: 1.2rem; }
.carte-duree .lien { color: var(--nuit-2); font-weight: 600; font-size: .9rem; margin-top: 6px; }
.table-defile { overflow-x: auto; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.tableau { width: 100%; border-collapse: collapse; min-width: 560px; }
.tableau th, .tableau td { padding: 14px 16px; border-bottom: 1px solid var(--ligne); text-align: right; }
.tableau th:first-child { text-align: left; }
.tableau thead th { font-size: .82rem; color: var(--gris); font-weight: 600; background: var(--fond); }
.tableau tbody tr:last-child > * { border-bottom: 0; }
.note-tableau { color: var(--gris); font-size: .9rem; margin-top: 12px; }

/* FAQ, puces, texte */
.section-faq { max-width: 860px; }
.faq { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--gris); }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--gris); }
.puces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.puces a { display: inline-block; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 600; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .88rem; }
.fil li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.page-texte { max-width: 760px; background: var(--blanc); border-radius: var(--rayon); padding: 40px; margin-block: 40px; border: 1px solid var(--ligne); }
.page-texte h2 { margin-top: 1.4em; }
@media (max-width: 600px) { .page-texte { padding: 24px 18px; } }

/* Pied de page */
.pied { background: var(--nuit); color: rgb(255 255 255 / .8); margin-top: 48px; font-size: .92rem; }
.pied a { color: rgb(255 255 255 / .85); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.pied-grille nav { display: flex; flex-direction: column; gap: 8px; }
.pied-titre { color: var(--blanc); font-weight: 700; margin-bottom: 4px; }
.pied .marque { color: var(--blanc); margin-bottom: 12px; }
.pied-bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .12); padding-block: 18px; font-size: .8rem; color: rgb(255 255 255 / .6); }
.pied-bas p { margin: 0; }
.pied-bas a { color: rgb(255 255 255 / .7); }
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; } }

/* Verdict : la réponse en une ligne, selon la ville où l'on habite */
.verdict { background: var(--nuit); color: var(--blanc); border-radius: var(--rayon); padding: 18px 20px; margin-bottom: 18px; }
.verdict-titre { margin: 0 0 12px; font-weight: 600; font-size: .95rem; color: rgb(255 255 255 / .85); }
.verdict ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.verdict li { background: rgb(255 255 255 / .08); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.verdict li:first-child { background: var(--vert); }
.verdict li span { font-size: .9rem; }
.verdict li strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.verdict li small { font-size: .8rem; color: rgb(255 255 255 / .8); }
.prix-loyer { margin-bottom: 0 !important; }
.prix-reel { font-size: .9rem; font-weight: 700; margin-bottom: 12px !important; }
.indispos { color: var(--gris); font-size: .88rem; margin: 14px 0 0; }

/* Tableaux par ville et par solution */
.tableau td small { color: var(--gris); font-weight: 400; }
.tableau-villes th, .tableau-villes td { text-align: left; }
.tableau-villes td:nth-child(2), .tableau-villes td:nth-child(4), .tableau-villes td:nth-child(5),
.tableau-villes th:nth-child(2), .tableau-villes th:nth-child(4), .tableau-villes th:nth-child(5) { text-align: right; }
.tableau tbody th a { font-weight: 700; text-decoration: none; }
.tableau tbody th a:hover { text-decoration: underline; }
.tableau tbody tr:hover { background: #fafbfd; }
.cellule-ok { color: var(--vert); font-weight: 700; background: var(--vert-clair); }
.cellule-vide { color: #9aa5b5; font-size: .85rem; }
.section-grise .bandeau-exemple { margin-bottom: 16px; }

/* Les solutions expliquées */
.solutions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.solution { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.solution img { width: 100%; height: 150px; object-fit: cover; }
.solution div { padding: 16px 18px; }
.solution p { color: var(--gris); font-size: .92rem; margin-bottom: 8px; }
.solution-prix { color: var(--texte) !important; margin: 0 !important; }
.carte-duree span { font-size: .9rem; }

/* ---------- Promesse et recherche ---------- */
.sur-titre { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .3); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.intro { color: var(--gris); max-width: 70ch; margin-bottom: 24px; }
.recherche-plus { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 14px; }
.raccourcis { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.raccourcis > span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgb(255 255 255 / .8); margin-right: 2px; }
.raccourcis button { font: inherit; font-size: .9rem; font-weight: 600; color: var(--blanc); background: rgb(11 31 58 / .45); border: 1px solid rgb(255 255 255 / .45); border-radius: 999px; padding: 7px 14px; cursor: pointer; backdrop-filter: blur(4px); }
.raccourcis button:hover { background: rgb(255 255 255 / .2); }
.raccourcis button[aria-pressed="true"] { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }
.chez-moi { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: .88rem; color: rgb(255 255 255 / .92); background: rgb(11 31 58 / .45); border: 1px solid rgb(255 255 255 / .25); border-radius: 10px; padding: 8px 12px; backdrop-filter: blur(4px); }
.chez-moi-titre { font-weight: 600; }
.chez-moi label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chez-moi select, .chez-moi input { font: inherit; font-weight: 600; color: var(--texte); background: var(--blanc); border: 0; border-radius: 6px; padding: 4px 8px; }
.chez-moi input { width: 84px; }

/* ---------- Onglets par niveau de confort ---------- */
.niveaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.niveau { font: inherit; text-align: left; display: grid; gap: 2px; background: var(--blanc); color: var(--texte); border: 1px solid var(--ligne); border-bottom: 4px solid var(--ligne); border-radius: var(--rayon); padding: 14px 18px; cursor: pointer; box-shadow: var(--ombre); transition: border-color .15s; }
.niveau:hover:not(:disabled) { border-color: var(--nuit-2); }
.niveau[aria-pressed="true"] { border-color: var(--nuit); border-bottom-color: var(--accent); background: var(--nuit); color: var(--blanc); }
.niveau:disabled { opacity: .55; cursor: not-allowed; }
.niveau-titre { font-size: .9rem; font-weight: 600; }
.niveau-prix { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.niveau-prix small { font-size: .8rem; font-weight: 500; letter-spacing: 0; opacity: .8; }
.niveau-nom { font-size: .85rem; color: var(--gris); }
.niveau[aria-pressed="true"] .niveau-nom { color: rgb(255 255 255 / .8); }
@media (max-width: 700px) { .niveau { padding: 10px 12px; } .niveau-prix { font-size: 1.2rem; } .niveau-titre { font-size: .8rem; } .niveau-nom { font-size: .75rem; } }

/* ---------- Le prix selon la durée ---------- */
.bande-durees { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 12px 14px; margin-bottom: 20px; }
.bande-titre { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); margin: 0 0 8px; }
.bande-durees ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(104px, 1fr)); gap: 8px; overflow-x: auto; }
.bande-durees a { display: grid; gap: 1px; text-decoration: none; color: var(--texte); border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 12px; text-align: center; }
.bande-durees a:hover { border-color: var(--nuit-2); color: var(--texte); }
.bande-durees a[aria-current="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.duree-nom { font-size: .82rem; font-weight: 600; }
.duree-prix { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.duree-nuit { font-size: .75rem; color: var(--vert); font-weight: 600; }
.bande-durees a[aria-current="true"] .duree-nuit { color: #8fe3c0; }
.bon-plan .duree-nuit { font-weight: 800; }
.bande-note { margin: 8px 2px 0; font-size: .78rem; color: var(--gris); }

/* ---------- Mentions, préférences ---------- */
.bandeau-reel { background: var(--vert-clair); border: 1px solid #bfe3d4; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin-bottom: 20px; }
.resultats-liste { min-width: 0; }
.filtre-modifier { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; }
.champ-budget { display: grid; gap: 4px; font-size: .92rem; margin-top: 8px; }
.budget-saisie { display: flex; align-items: center; gap: 6px; }
.budget-saisie input { font: inherit; width: 100%; border: 1px solid var(--ligne); border-radius: 8px; padding: 7px 10px; }
.badge-reel { background: var(--vert-clair); color: var(--vert); border: 1px solid #bfe3d4; }
.vide { background: var(--blanc); border: 1px dashed #c5cedc; border-radius: var(--rayon); padding: 24px; text-align: center; color: var(--gris); }

/* ---------- Annonces réelles sous chaque type de logement ---------- */
.annonces { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.annonce { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--texte); border: 1px solid var(--ligne); border-radius: 10px; padding: 8px 12px; background: #fbfcfe; }
.annonce:hover { border-color: var(--nuit-2); background: var(--blanc); color: var(--texte); }
.annonce-texte { display: grid; gap: 1px; min-width: 0; }
.annonce-titre { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.annonce-infos { font-size: .78rem; color: var(--gris); }
.annonce-prix { display: grid; text-align: right; white-space: nowrap; flex: none; }
.annonce-prix strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; }
.annonce-prix small { font-size: .74rem; color: var(--gris); }
.detail .annonces { margin-top: 8px; }
.offre-reelle .offre-sous { margin-bottom: 12px; }

/* ---------- Échange de logement, présenté à part ---------- */
.echange { display: grid; grid-template-columns: 220px 1fr 230px; background: var(--blanc); border: 1px dashed #b9c4d6; border-radius: var(--rayon); overflow: hidden; margin: 14px 0; }
.echange-top { border: 2px solid var(--accent); }
.echange-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.echange-corps { padding: 18px 20px; min-width: 0; }
.echange-corps h3 { font-size: 1.15rem; }
.echange-corps p { margin: 0; color: var(--gris); font-size: .92rem; }
.echange-gain { font-size: .84rem; font-weight: 700; color: var(--vert); margin: 4px 0 12px !important; }
.echange .prix { margin-bottom: 8px !important; }
.bouton-contour { background: var(--blanc); color: var(--nuit-2); border: 2px solid var(--nuit-2); width: 100%; white-space: nowrap; padding: 10px 12px; }
.bouton-contour:hover { background: var(--nuit-2); color: var(--blanc); }
@media (max-width: 760px) {
  .echange { grid-template-columns: 110px 1fr; }
  .echange-photo { grid-row: span 2; }
  .echange-corps { padding: 14px; }
  .echange .offre-prix { border-left: 0; border-top: 1px solid var(--ligne); align-items: stretch; text-align: left; padding: 14px; }
}
.autres-sites { margin-top: 18px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; }
.autres-sites p { margin: 0 0 12px; font-size: .92rem; color: var(--gris); }
.autres-sites strong { color: var(--texte); }
.autres-sites .puces { margin: 0; }
.autres-sites .puces a { font-size: .88rem; padding: 6px 14px; background: var(--fond); }

/* ---------- Destinations classées par prix ---------- */
.destinations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.destination { display: flex; flex-direction: column; height: 100%; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); transition: box-shadow .15s, border-color .15s; }
.destination:hover { border-color: var(--nuit-2); box-shadow: 0 6px 24px rgb(11 31 58 / .12); color: var(--texte); }
.destination-photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ligne); }
.destination-photo img { width: 100%; height: 100%; object-fit: cover; }
.destination-photo .badge { position: absolute; right: 8px; bottom: 8px; background: var(--blanc); }
.destination-photo .badge-reel { background: var(--vert); color: var(--blanc); border-color: var(--vert); }
.rang { position: absolute; left: 10px; top: 10px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--nuit); color: var(--blanc); font-weight: 800; font-size: .9rem; }
.destination-corps { display: grid; gap: 1px; padding: 12px 14px 14px; }
.destination-nom { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.destination-pays { font-size: .8rem; color: var(--gris); }
.destination-prix { margin-top: 6px; }
.destination-prix strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.destination-prix small { color: var(--gris); }
.destination-detail { font-size: .85rem; }
.destination-suite { font-size: .78rem; color: var(--gris); }
.villes-vedettes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.villes-vedettes .carte-ville { aspect-ratio: 16 / 9; }
.carte-ville-prix strong { font-weight: 800; }
.section-serree { padding-block: 28px; }

/* ---------- Usages, comparatif, durées ---------- */
.usages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.usage { background: var(--fond); border-radius: var(--rayon); padding: 20px; display: flex; flex-direction: column; }
.usage > p { color: var(--gris); font-size: .92rem; margin-bottom: 10px; }
.usage ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.usage .lien { margin-top: auto; font-weight: 600; font-size: .9rem; }
.comparatif th, .comparatif td { text-align: left; vertical-align: top; }
.comparatif thead th:last-child, .comparatif td:last-child { background: var(--vert-clair); color: #0b5c43; font-weight: 600; }
.comparatif td:nth-child(2) { color: var(--gris); }
.puces-durees { margin: 0 0 20px; }
.puces-durees a[aria-current="page"] { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.durees { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .durees { grid-template-columns: 1fr 1fr; } }
.carte-duree-prix strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.carte-duree-suite { color: var(--gris); font-size: .84rem !important; }
.ligne-echange th, .ligne-echange td { background: #fafbfd; color: var(--gris); }
.ligne-echange th small { display: block; font-weight: 400; }
.tableau thead th a { color: inherit; }
.logos-inner { gap: 10px 20px; padding-bottom: 8px; }
.logos li { font-size: 1.02rem; }
@media (max-width: 1000px) {
  .recherche { grid-template-columns: 1fr 1fr; }
  .recherche .champ-ville { grid-column: 1 / -1; border-right: 0; }
  .recherche .champ:nth-child(odd) { border-right: 0; }
  .recherche .champ:nth-child(even) { border-right: 1px solid var(--ligne); }
  .recherche .champ-court { grid-column: 1 / -1; border-right: 0; }
}
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr 1fr; } .chez-moi { width: 100%; } }
@media (max-width: 760px) {
  .offre-reelle { grid-template-columns: 1fr; }
  .offre-reelle .offre-photo { display: none; }
  .filtres .filtre-bloc:first-child, .filtre-note { display: none; }
  .annonce { padding: 8px 10px; }
}

.nowrap { white-space: nowrap; }

/* Guides et pages éditoriales */
.bandeau-guide h1 { max-width: 26ch; font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
.bandeau-guide .chapo { margin-bottom: 0; max-width: 64ch; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.guide-seul { grid-template-columns: minmax(0, 820px); justify-content: center; }
.article { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 36px 40px; min-width: 0; }
.article h2 { margin-top: 1.6em; }
.article > h2:first-child, .article-meta + h2 { margin-top: 0; }
.article p, .article li { max-width: 72ch; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article a { text-underline-offset: 2px; }
.article-meta { max-width: none !important; color: var(--gris); font-size: .88rem; border-bottom: 1px solid var(--ligne); padding-bottom: 14px; margin-bottom: 24px; }
.article .table-defile { margin: 0 0 4px; border: 1px solid var(--ligne); border-radius: 10px; overflow-x: auto; }
.article .note-tableau { margin: 10px 0 1.4em; }
.article .faq { background: var(--fond); }
.chiffres-cles { list-style: none; padding: 0 !important; margin: 0 0 1.6em !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.chiffres-cles li { background: var(--fond); border: 1px solid var(--ligne); border-radius: 10px; padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 4px; max-width: none; }
.chiffres-cles strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--nuit); line-height: 1.1; }
.chiffres-cles span { color: var(--gris); font-size: .9rem; line-height: 1.35; }
.encadre { background: var(--vert-clair); border: 1px solid #bfe3d4; border-radius: 10px; padding: 16px 18px; margin: 1.6em 0; font-size: .93rem; }
.encadre p { margin: 0; max-width: none; }
.encadre-editeur { background: var(--jaune); border-color: #f0dfa8; margin-top: 0; }
.tableau-guide th, .tableau-guide td { padding: 11px 14px; font-size: .93rem; }
.tableau-guide thead th { vertical-align: bottom; line-height: 1.3; }
.tableau-guide tbody th { font-weight: 600; white-space: nowrap; }
.tableau-detail td small { display: block; font-size: .78rem; }
.vide-cellule { color: var(--gris); font-size: .82rem; }
.appel { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--nuit); color: var(--blanc); border-radius: var(--rayon); padding: 24px 28px; margin-top: 2em; }
.appel h2 { margin: 0 0 4px; font-size: 1.25rem; }
.appel p { margin: 0; color: rgb(255 255 255 / .85); }
.guide-liens { position: sticky; top: 16px; }
.guide-liens h2 { font-size: 1.05rem; margin: 0 0 12px; }
.guide-liens h2:not(:first-child) { margin-top: 28px; }
.guide-liens .cartes-guides { grid-template-columns: 1fr; }
.guide-liens .puces { gap: 6px; }
.guide-liens .puces a { font-size: .85rem; padding: 5px 12px; font-weight: 500; }
.cartes-guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.carte-guide { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); transition: border-color .15s, transform .15s; }
.carte-guide:hover { border-color: var(--accent); color: var(--texte); transform: translateY(-2px); }
.section-grise .carte-guide { background: var(--fond); box-shadow: none; }
.carte-guide-titre { font-weight: 700; line-height: 1.3; }
.carte-guide-resume { color: var(--gris); font-size: .9rem; line-height: 1.4; }
.carte-guide .lien { margin-top: auto; padding-top: 6px; color: var(--nuit-2); font-weight: 600; font-size: .88rem; }
.guides-villes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 24px; }
.guides-villes h3 { margin-bottom: 8px; }
.guides-villes h3 a { text-decoration: none; }
.guides-villes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: .93rem; }
.telecharger { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.telecharger .bouton { width: auto; padding: 8px 16px; font-size: .9rem; }
.prose p { max-width: 72ch; }
@media (max-width: 1000px) { .guide { grid-template-columns: 1fr; } .guide-liens { position: static; } .guide-liens .cartes-guides { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
@media (max-width: 600px) { .article { padding: 22px 16px; } .appel { padding: 20px; } .chiffres-cles strong { font-size: 1.4rem; } }

/* Recherche en cours : les annonces défilent, le prix descend jusqu'au moins cher */
.scan { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 24px; min-height: 300px; }
.scan-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.scan-tete p { margin: 0; }
.scan-titre { font-weight: 750; font-size: 1.1rem; letter-spacing: -.01em; }
.scan-sejour { color: var(--gris); font-size: .9rem; }
.scan-roue { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ligne); border-top-color: var(--accent); animation: scan-tourne .7s linear infinite; }
.trouve .scan-roue { animation: none; border-color: var(--vert); background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
@keyframes scan-tourne { to { transform: rotate(360deg); } }
.scan-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scan-compteur, .scan-prix { display: flex; flex-direction: column; gap: 2px; min-width: 0; background: var(--fond); border-radius: 10px; padding: 16px 18px; }
.scan-nombre, .scan-montant { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.scan-legende, .scan-etiquette, .scan-annonce { color: var(--gris); font-size: .85rem; }
.scan-etiquette { order: -1; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; }
.scan-montant { color: var(--accent-fonce); align-self: flex-start; transform-origin: left center; transition: color .2s; }
.trouve .scan-montant { color: var(--vert); animation: scan-trouve .45s ease-out; }
.trouve .scan-prix { background: var(--vert-clair); }
.trouve .scan-etiquette { color: var(--vert); }
@keyframes scan-trouve { 40% { transform: scale(1.12); } }
.scan-annonce { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.3em; }
.scan-barre { height: 6px; border-radius: 3px; background: var(--ligne); overflow: hidden; margin-top: 10px; }
.scan-barre i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.trouve .scan-barre i { background: var(--vert); }
.scan-etapes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.scan-etapes li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--ligne); border-radius: 8px; font-size: .92rem; color: var(--gris); transition: color .15s, border-color .15s, background .15s; }
.scan-etapes li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ligne); }
.scan-etapes li[data-etat="cours"] { color: var(--texte); border-color: var(--accent); }
.scan-etapes li[data-etat="cours"]::before { border-color: var(--ligne); border-top-color: var(--accent); animation: scan-tourne .6s linear infinite; }
.scan-etapes li[data-etat="fait"] { color: var(--texte); }
.scan-etapes li[data-etat="fait"]::before { border-color: var(--vert); background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.scan-des { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scan-etapes.compact { display: flex; flex-wrap: wrap; }
.scan-etapes.compact li { padding: 5px 10px; font-size: .82rem; gap: 6px; }
.scan-etapes.compact li::before { width: 12px; height: 12px; }
.scan-etapes.compact li[data-etat="fait"]::before { background-size: 8px; }
.scan-etapes.compact .scan-des { display: none; }
@media (max-width: 600px) {
  .scan { padding: 18px 16px; }
  .scan-titre { font-size: 1rem; }
  .scan-corps { grid-template-columns: 1fr; gap: 10px; }
  .scan-compteur, .scan-prix { padding: 12px 14px; }
  .scan-prix { order: -1; }
}

/* Guides de quartier et duels : listes de liens */
.liens-guides { margin: 16px 0 0; font-size: .92rem; line-height: 1.7; }
.guide-liens .liens-guides { font-size: .88rem; }
.guides-quartiers { margin: 8px 0 0; font-size: .85rem; color: var(--gris); line-height: 1.6; }
.liste-duels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.liste-duels a { display: block; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.liste-duels a:hover { border-color: var(--nuit-2); }
.sans-coupure { white-space: nowrap; }
