/* Styles partagés des pages générées (villes et quartiers). Extraits des pages Marrakech. */
    :root{
      --ink:#152039;--muted:#5b6476;--faint:#8a92a3;
      --blue:#2340c2;--blue-dark:#1a2f94;--navy:#101a33;
      --tint:#eef1fa;--soft:#f6f7fa;--line:#dfe2ea;--white:#fff;
      --display:'Archivo','Arial Narrow',Arial,sans-serif;
      --body:'Roboto',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
      --shell:1180px;
    }
    *,*::before,*::after{box-sizing:border-box}
    html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
    body{margin:0;background:var(--white);color:var(--ink);font:400 16px/1.6 var(--body);-webkit-font-smoothing:antialiased}
    img,svg{max-width:100%;display:block}
    a{color:inherit}
    button,input{font:inherit;color:inherit}
    :focus-visible{outline:3px solid var(--blue);outline-offset:3px}
    .shell{width:100%;max-width:var(--shell);margin:0 auto;padding:0 24px}
    .skip-link{position:absolute;left:12px;top:-60px;background:var(--ink);color:#fff;padding:10px 14px;z-index:50}
    .skip-link:focus{top:12px}
    .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
    h1,h2,h3{font-family:var(--display);margin:0;color:var(--ink)}
    p{margin:0}

    /* Header */
    .site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
    .header-row{display:flex;align-items:center;gap:32px;min-height:68px}
    .logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;flex:none}
    .logo-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--blue);color:#fff;border-radius:3px}
    .logo-mark svg{width:22px;height:22px}
    .logo-word{font:800 19px/1 var(--display);letter-spacing:-.03em}
    .main-nav{display:flex;gap:26px;margin-left:8px}
    .main-nav a{text-decoration:none;font-size:15px;font-weight:500;color:var(--muted)}
    .main-nav a:hover{color:var(--ink)}
    .header-cta{margin-left:auto}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:0;font-weight:700;font-size:15px;text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:nowrap}
    .btn-primary{background:var(--blue);color:#fff}
    .btn-primary:hover{background:var(--blue-dark)}
    .btn-ghost{border-color:var(--line);background:#fff;color:var(--ink)}
    .btn-ghost:hover{border-color:var(--ink)}
    .menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--line);border-radius:6px;background:#fff}
    .menu-toggle svg{width:22px;height:22px;margin:auto}
    .mobile-nav{border-top:1px solid var(--line);padding:8px 24px 18px;background:#fff}
    .mobile-nav a{display:block;padding:12px 0;text-decoration:none;font-weight:500;border-bottom:1px solid var(--line)}

    /* Hero */
    .hero{padding:64px 0 80px;background:linear-gradient(180deg,var(--soft) 0,var(--white) 420px)}
    .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,540px);gap:64px;align-items:start}
    .hero-copy{padding-top:24px;position:sticky;top:110px}
    .hero h1{font-size:clamp(40px,5.2vw,64px);line-height:1.03;font-weight:800;letter-spacing:-.035em;max-width:11em}
    .hero-lede{font-size:19px;line-height:1.55;color:var(--muted);max-width:30em;margin-top:24px}
    .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
    .hero-source{margin-top:28px;font-size:14px;color:var(--faint);max-width:34em}

    /* Calculator */
    .calc{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 24px 48px -32px rgba(16,26,51,.45)}
    .calc-inputs{padding:24px 24px 22px}
    .field-label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
    .budget{display:flex;align-items:baseline;gap:10px;border-bottom:2px solid var(--ink);padding-bottom:4px}
    .budget input{flex:1;min-width:0;border:0;padding:0;background:none;font:700 34px/1.2 var(--display);letter-spacing:-.02em}
    .budget input:focus{outline:none}
    .budget:focus-within{border-color:var(--blue)}
    .budget span{font-weight:700;color:var(--muted)}
    .presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
    .presets button{border:1px solid var(--line);background:#fff;border-radius:0;padding:5px 10px;font-size:13px;color:var(--muted);cursor:pointer}
    .presets button:hover,.presets button[aria-pressed="true"]{border-color:var(--ink);color:var(--ink)}
    .quartiers{border:0;margin:22px 0 0;padding:0;min-width:0}
    .quartiers legend{padding:0}
    .chips{display:flex;flex-wrap:wrap;gap:6px}
    .chip input{position:absolute;opacity:0;pointer-events:none}
    .chip span{display:inline-block;padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;cursor:pointer;background:#fff}
    .chip span:hover{border-color:var(--ink)}
    .chip input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
    .chip input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
    .calc-result{background:var(--tint);padding:24px 24px 22px}
    .result-lead{font-size:16px;color:var(--muted)}
    .result-m2{font:800 clamp(80px,10.5vw,128px)/.92 var(--display);font-stretch:125%;letter-spacing:-.045em;color:var(--blue);margin:8px 0 10px;font-variant-numeric:tabular-nums}
    .result-m2 small{font-size:.36em;letter-spacing:0;margin-left:.08em}
    .result-m2.tick{animation:tick .28s ease-out}
    @keyframes tick{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
    .result-basis{font-size:15px}
    .result-real{margin-top:16px;padding-top:14px;border-top:1px solid #d3d9ee;font-size:15px}
    .result-real a{font-weight:700;color:var(--blue)}
    .calc-compare{padding:20px 24px 24px}
    .calc-compare h2{font:700 15px/1.3 var(--body);margin-bottom:12px}
    .cmp{list-style:none;margin:0;padding:0;display:grid;gap:4px}
    .cmp button{width:100%;display:grid;grid-template-columns:150px 1fr 56px;gap:12px;align-items:center;border:0;background:none;padding:5px 6px;border-radius:4px;text-align:left;cursor:pointer;font-size:14px}
    .cmp button:hover{background:var(--soft)}
    .cmp button[aria-pressed="true"]{background:var(--tint);font-weight:700}
    .cmp-bar{height:10px;background:var(--soft);border-radius:2px;overflow:hidden}
    .cmp-bar i{display:block;height:100%;background:#9fb0ee;border-radius:2px}
    .cmp button[aria-pressed="true"] .cmp-bar i{background:var(--blue)}
    .cmp-val{text-align:right;font-variant-numeric:tabular-nums}
    .calc-note{margin-top:14px;font-size:13px;line-height:1.5;color:var(--muted)}

    /* Sections */
    .section{padding:96px 0}
    .section-soft{background:var(--soft)}
    .section-head{max-width:700px;margin-bottom:40px}
    .section-head h2,.feature h2,.offers h2,.faq-grid h2,.contact h2{font-size:clamp(30px,3.6vw,44px);line-height:1.08;font-weight:800;letter-spacing:-.03em}
    .section-head p{margin-top:16px;font-size:18px;color:var(--muted)}

    /* Chart */
    .chart{border:1px solid var(--line);border-radius:10px;background:#fff;padding:24px 28px 20px}
    .chart-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}
    .chart-top p{font-size:15px;color:var(--muted);max-width:36em}
    .switch{display:inline-flex;border:1px solid var(--line);border-radius:6px;padding:3px;background:var(--soft)}
    .switch button{border:0;background:none;padding:7px 14px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;color:var(--muted)}
    .switch button[aria-pressed="true"]{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 2px rgba(16,26,51,.12)}
    .axis,.mrow{display:grid;grid-template-columns:200px minmax(0,1fr) 150px;gap:20px;align-items:center}
    .axis{font-size:12px;color:var(--faint);padding-bottom:8px;border-bottom:1px solid var(--line)}
    .axis-ticks{position:relative;height:16px}
    .axis-ticks span{position:absolute;left:var(--x);transform:translateX(-50%);white-space:nowrap}
    .axis-ticks span:first-child{transform:none}
    .axis-ticks span:last-child{transform:translateX(-100%)}
    .axis-end{text-align:right}
    .mlist{list-style:none;margin:0;padding:0}
    .mrow{padding:12px 0;border-bottom:1px solid var(--line)}
    .mrow:last-child{border-bottom:0}
    .mrow-name a{font-weight:700;text-decoration:none}
    .mrow-name a:hover{color:var(--blue);text-decoration:underline}
    .mrow-name span{display:block;font-size:13px;color:var(--faint)}
    .mrow-plot{position:relative;height:36px}
    .mrow-grid i{position:absolute;top:0;bottom:0;left:var(--x);width:1px;background:var(--line)}
    .mrow-bar{position:absolute;left:0;top:12px;height:12px;width:var(--median);background:var(--blue);border-radius:0 2px 2px 0;transition:opacity .2s}
    .mrow-pin{position:absolute;left:var(--median);top:2px;bottom:2px;width:2px;margin-left:-1px;background:var(--ink);opacity:0;transition:opacity .2s}
    .mrow-dots{opacity:0;transition:opacity .2s}
    .dot{position:absolute;left:var(--x);top:var(--y);width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:var(--blue);opacity:.5}
    .dot.outlier{background:#fff;border:1.5px solid var(--blue);opacity:1}
    .chart[data-mode="distribution"] .mrow-bar{opacity:0}
    .chart[data-mode="distribution"] .mrow-pin,.chart[data-mode="distribution"] .mrow-dots{opacity:1}
    .mrow-price{text-align:right;font-size:13px;color:var(--muted);white-space:nowrap}
    .mrow-price strong{font:700 19px var(--display);color:var(--ink);font-variant-numeric:tabular-nums}
    .chart-foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
    .chart-foot p{max-width:46em}
    .legend{display:flex;gap:16px;white-space:nowrap}
    .legend span{display:inline-flex;align-items:center;gap:6px}
    .legend .l-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);opacity:.5}
    .legend .l-line{width:2px;height:12px;background:var(--ink)}
    .chart-table{margin-top:14px;font-size:14px}
    .chart-table summary{cursor:pointer;color:var(--blue);font-weight:700}
    .table-wrap{overflow-x:auto;margin-top:12px}
    table{border-collapse:collapse;width:100%;min-width:480px}
    caption{text-align:left;color:var(--muted);font-size:13px;padding-bottom:8px}
    th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;font-variant-numeric:tabular-nums}
    thead th{font-size:13px;color:var(--muted);font-weight:500}
    .insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:48px}
    .insights h3{font-size:20px;line-height:1.25;letter-spacing:-.015em;margin-bottom:8px}
    .insights p{color:var(--muted);font-size:15px}

    /* Features */
    .feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:72px;align-items:center}
    .feature+.feature{margin-top:112px}
    .feature.flip .feature-copy{order:2}
    .feature-copy p{margin-top:18px;font-size:17px;color:var(--muted);max-width:30em}
    .feature-copy .btn{margin-top:28px}
    .mock{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 24px 48px -36px rgba(16,26,51,.5)}
    .mock-bar{display:flex;flex-wrap:wrap;gap:6px;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--soft)}
    .mock-bar span{font-size:12px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 10px;color:var(--muted)}
    .mock-bar span.on{background:var(--ink);border-color:var(--ink);color:#fff}
    .mock-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
    .mock-kpis div{padding:14px 16px;border-right:1px solid var(--line)}
    .mock-kpis div:last-child{border-right:0}
    .mock-kpis span{display:block;font-size:11px;color:var(--faint);line-height:1.3}
    .mock-kpis strong{display:block;font:800 21px/1.2 var(--display);letter-spacing:-.02em;margin-top:4px;font-variant-numeric:tabular-nums}
    .mock table{min-width:0;font-size:13px;white-space:nowrap}
    .mock th,.mock td{padding:9px 16px}
    .mock td:nth-child(n+3),.mock th:nth-child(n+3){text-align:right}
    .mock tbody tr:last-child td{border-bottom:0}
    .mock-lock{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:var(--tint);font-size:13px;color:var(--muted)}
    .mock-lock strong{color:var(--ink)}
    .roadmap{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
    .roadmap li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line)}
    .roadmap li:last-child{border-bottom:0}
    .roadmap strong{display:block;font-size:15px}
    .roadmap small{display:block;font-size:13px;color:var(--muted)}
    .status{flex:none;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}
    .status.ok{background:#e3f4ea;color:#1b6b3e}
    .status.pro{background:var(--tint);color:var(--blue)}
    .status.soon{background:var(--soft);color:var(--muted);border:1px dashed #c4c9d4}

    /* Offers */
    .offers{background:var(--navy);color:#fff}
    .offers h2{color:#fff}
    .offers-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:72px;align-items:start}
    .offers-intro p{margin-top:18px;color:#c3cbe0;font-size:17px;max-width:30em}
    .pro-card{background:#fff;color:var(--ink);border-radius:10px;padding:32px}
    .pro-card h3{font-size:22px;letter-spacing:-.02em}
    .pro-price{font:800 46px/1 var(--display);letter-spacing:-.03em;margin:16px 0 4px}
    .pro-price small{font:500 16px var(--body);color:var(--muted);letter-spacing:0}
    .pro-terms{color:var(--muted);font-size:15px}
    .checks{list-style:none;padding:0;margin:22px 0 26px;display:grid;gap:10px}
    .checks li{position:relative;padding-left:28px;font-size:15px}
    .checks li::before{content:"";position:absolute;left:2px;top:6px;width:13px;height:7px;border-left:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg)}
    .pro-card .btn{width:100%}
    .other-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:72px;padding-top:40px;border-top:1px solid #ffffff2b}
    .other-offers h3{color:#fff;font-size:19px;margin-bottom:8px}
    .other-offers p{color:#c3cbe0;font-size:15px}
    .other-offers a{display:inline-block;margin-top:12px;color:#fff;font-weight:700}

    /* Method */
    .steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;counter-reset:step}
    .steps li{counter-increment:step;border-top:2px solid var(--ink);padding-top:20px}
    .steps h3{font-size:20px;margin-bottom:8px}
    .steps h3::before{content:counter(step) ". ";color:var(--blue)}
    .steps p{color:var(--muted);font-size:15px}
    .fineprint{margin-top:48px;padding:24px 28px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:15px;color:var(--muted);max-width:860px}
    .fineprint strong{color:var(--ink)}

    /* FAQ */
    .faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:72px;align-items:start}
    .faq-list details{border-bottom:1px solid var(--line)}
    .faq-list details:first-child{border-top:1px solid var(--line)}
    .faq-list summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-weight:700;font-size:17px;position:relative}
    .faq-list summary::-webkit-details-marker{display:none}
    .faq-list summary::after{content:"";position:absolute;right:6px;top:26px;width:9px;height:9px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);transition:transform .2s}
    .faq-list details[open] summary::after{transform:rotate(-135deg);top:30px}
    .faq-list details p{padding:0 0 22px;color:var(--muted);max-width:40em}

    /* Contact */
    .contact{padding:80px 0;border-top:1px solid var(--line)}
    .contact-row{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
    .contact p{margin-top:12px;color:var(--muted);font-size:17px}

    /* Footer */
    .site-footer{background:var(--soft);border-top:1px solid var(--line);padding:64px 0 32px;font-size:14px}
    .footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:40px}
    .footer-about p{color:var(--muted);margin-top:14px;max-width:24em}
    .site-footer h2{font:700 14px/1.3 var(--body);margin-bottom:14px}
    .site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
    .site-footer ul a{text-decoration:none;color:var(--muted)}
    .site-footer ul a:hover{color:var(--ink);text-decoration:underline}
    .footer-bottom{margin-top:48px;padding-top:24px;border-top:1px solid var(--line);color:var(--faint);font-size:13px;display:grid;gap:8px}
    .legal summary{cursor:pointer;color:var(--muted);font-weight:500}
    .legal p{margin-top:8px}

    @media (max-width:1040px){
      .hero-grid{grid-template-columns:minmax(0,1fr);gap:40px}
      .hero-copy{padding-top:0;position:static}
      .calc{max-width:620px}
      .feature,.feature.flip{grid-template-columns:minmax(0,1fr);gap:36px}
      .feature.flip .feature-copy{order:0}
      .offers-grid,.faq-grid{grid-template-columns:minmax(0,1fr);gap:40px}
      .footer-grid{grid-template-columns:1fr 1fr}
    }
    @media (max-width:820px){
      .main-nav,.header-cta{display:none}
      .menu-toggle{display:grid}
      .axis,.mrow{grid-template-columns:130px minmax(0,1fr) 110px;gap:12px}
      .insights,.steps,.other-offers{grid-template-columns:minmax(0,1fr);gap:28px}
      .section{padding:72px 0}
    }
    @media (max-width:600px){
      .shell{padding:0 18px}
      .hero{padding:40px 0 56px}
      .hero-lede{font-size:17px}
      .calc-inputs,.calc-result,.calc-compare{padding-left:18px;padding-right:18px}
      .budget input{font-size:28px}
      .cmp button{grid-template-columns:118px 1fr 48px;gap:8px;font-size:13px}
      .chart{padding:18px 16px}
      .axis{grid-template-columns:1fr}
      .axis>span{display:none}
      .mrow{grid-template-columns:1fr auto;grid-template-areas:"name price" "plot plot";row-gap:6px}
      .mrow-name{grid-area:name}.mrow-price{grid-area:price}.mrow-plot{grid-area:plot}
      .mock-kpis{grid-template-columns:1fr 1fr}
      .mock-kpis div:nth-child(2){border-right:0}
      .mock-kpis div:nth-child(-n+2){border-bottom:1px solid var(--line)}
      .mock th:nth-child(4),.mock td:nth-child(4){display:none}
      .pro-card{padding:24px}
      .footer-grid{grid-template-columns:1fr}
    }
    @media (prefers-reduced-motion:reduce){
      html{scroll-behavior:auto}
      *,*::before,*::after{animation:none!important;transition:none!important}
    }
  
    .page-hero{padding:40px 0 56px;background:linear-gradient(180deg,var(--soft) 0,var(--white) 360px)}
    .crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--faint);margin-bottom:18px}
    .crumbs a{color:var(--blue);font-weight:700;text-decoration:none}
    .crumbs a:hover{text-decoration:underline}
    .page-hero h1{font-size:clamp(36px,4.6vw,58px);line-height:1.04;font-weight:800;letter-spacing:-.035em;max-width:14em}
    .page-hero .hero-lede{max-width:38em}
    .facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:40px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
    .facts div{padding:22px 24px;border-right:1px solid var(--line)}
    .facts div:last-child{border-right:0}
    .facts span{display:block;font-size:13px;color:var(--muted);line-height:1.35}
    .facts strong{display:block;font:800 30px/1.15 var(--display);letter-spacing:-.03em;margin-top:8px;font-variant-numeric:tabular-nums}
    .facts small{display:block;font-size:13px;color:var(--faint);margin-top:2px}
    .facts .hl strong{color:var(--blue)}
    .block{padding:72px 0;border-top:1px solid var(--line)}
    .block-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start}
    .block h2{font-size:clamp(26px,3vw,36px);line-height:1.1;font-weight:800;letter-spacing:-.03em}
    .block-copy p{margin-top:16px;color:var(--muted);font-size:17px;max-width:32em}
    .block-copy .btn{margin-top:24px}
    .card{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
    .card table{min-width:0}
    .card th,.card td{padding:13px 14px;font-size:15px}
    .card th:first-child,.card td:first-child{padding-left:20px}
    .card th:last-child,.card td:last-child{padding-right:20px}
    .card tbody th,.card td.num,.card th.num{white-space:nowrap}
    .card .table-wrap{margin:0}
    .card thead th{background:var(--soft)}
    .card tbody tr:last-child td,.card tbody tr:last-child th{border-bottom:0}
    .card td.num,.card th.num{text-align:right}
    .card-foot{padding:12px 20px;background:var(--soft);border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
    .hist{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:end;height:220px;padding:28px 24px 0}
    .hist div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%}
    .hist b{font:700 14px var(--display);margin-bottom:6px;font-variant-numeric:tabular-nums}
    .hist i{display:block;width:100%;background:#9fb0ee;border-radius:2px 2px 0 0}
    .hist .med i{background:var(--blue)}
    .hist-labels{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:10px 24px 18px;font-size:12px;color:var(--muted);text-align:center;border-top:1px solid var(--line)}
    .rank{list-style:none;margin:0;padding:8px 0}
    .rank li a{display:grid;grid-template-columns:170px minmax(0,1fr) 90px;gap:16px;align-items:center;padding:10px 20px;text-decoration:none;font-size:15px}
    .rank li a:hover{background:var(--soft)}
    .rank .bar{height:10px;background:var(--soft);border-radius:2px;overflow:hidden}
    .rank .bar i{display:block;height:100%;background:#9fb0ee}
    .rank .me a{font-weight:700;background:var(--tint)}
    .rank .me .bar i{background:var(--blue)}
    .rank .v{text-align:right;font-variant-numeric:tabular-nums}
    .pro-band{background:var(--navy);color:#fff;padding:64px 0}
    .pro-band .shell{display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
    .pro-band h2{color:#fff;font-size:clamp(26px,3vw,36px);letter-spacing:-.03em;line-height:1.1;max-width:18em}
    .pro-band p{color:#c3cbe0;margin-top:12px;max-width:36em}
    .note{font-size:14px;color:var(--muted);max-width:52em}
    .note strong{color:var(--ink)}
    @media (max-width:1040px){.block-grid{grid-template-columns:minmax(0,1fr);gap:32px}}
    @media (max-width:820px){.facts{grid-template-columns:1fr 1fr}.facts div:nth-child(2){border-right:0}.facts div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
    @media (max-width:600px){.facts strong{font-size:24px}.rank li a{grid-template-columns:120px minmax(0,1fr) 70px;gap:10px;padding:9px 14px;font-size:14px}.hist{gap:6px;padding:24px 14px 0}.hist-labels{gap:6px;padding:10px 14px 16px;font-size:11px}.card th,.card td{padding:12px 14px}}

    .strip{position:relative;height:120px;margin:24px 24px 0}
    .strip .axis-line{position:absolute;left:0;right:0;top:60px;height:1px;background:var(--line)}
    .strip .pt{position:absolute;left:var(--x);top:calc(60px + var(--y));width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--blue);opacity:.55}
    .strip .pt.out{background:#fff;border:2px solid var(--blue);opacity:1}
    .strip .med{position:absolute;left:var(--x);top:14px;bottom:14px;width:2px;margin-left:-1px;background:var(--ink)}
    .strip .med span{position:absolute;top:-4px;left:8px;white-space:nowrap;font-size:12px;font-weight:700}
    .strip-scale{padding:8px 24px 18px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);margin-top:8px}
    .strip-scale .ticks{position:relative;height:16px}
    .strip-scale .ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
    .strip-scale .ticks span:first-child{transform:none}
    .strip-scale .ticks span:last-child{transform:translateX(-100%)}
    .sample-note{margin-top:16px;font-size:14px;color:var(--muted);max-width:48em}
  
    /* Thème Atlas Data 2026 : Roboto, coins arrondis, accent terracotta, pied de page bleu nuit */
    :root{
      --ink:#0f1a33;--muted:#4f5a6e;--faint:#5f687a;--line:#e3e6ec;--soft:#f5f6f8;--navy:#0f1a33;
      --clay:#b8502a;--clay-ink:#8a3a1c;--clay-tint:#fbede6;--green-ink:#0b5a4b;--green-tint:#e3f3ef;
      --body:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;--mono:var(--body);--radius:6px;
    }
    .btn,.ad-btn,.export-btn,dialog .modal-foot a{border-radius:var(--radius)}
    .btn{min-height:48px;padding:0 22px}
    .header-cta,.ad-header-cta{background:var(--navy)}
    .header-cta:hover,.ad-header-cta:hover{background:#1f2c4d}
    .logo-mark{border-radius:4px}
    .btn-ghost{border-color:#c9ceda}
    .presets button{border-radius:var(--radius);min-height:36px;padding:0 12px}
    .chip span{padding:8px 14px}
    .calc{border-radius:14px;box-shadow:0 30px 60px -40px rgba(15,26,51,.45);overflow:hidden}
    .chart,.card,.mock,.roadmap,.fineprint{border-radius:12px}
    .pro-card{border-radius:14px}
    .hero{background:var(--soft);border-bottom:1px solid var(--line)}
    .page-hero{background:var(--soft);border-bottom:1px solid var(--line)}
    .page-hero + .block{border-top:0}
    .badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--clay-ink);background:var(--clay-tint);padding:6px 12px;border-radius:999px;margin-bottom:20px}
    .badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--clay)}
    .facts{border:0;background:none;gap:12px;overflow:visible}
    .facts div,.facts div:nth-child(n){border:1px solid var(--line);border-radius:10px;background:#fff}
    .facts .hl{border-color:#c9d2f2;background:#fff}
    .facts .hl strong{font-size:40px;font-stretch:115%}
    .sample-note{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:14px 18px;border-radius:10px;background:#fff8f4;border:1px solid #f1d3c4;color:#5a3020;font-size:15px;max-width:none}
    .sample-note::before{content:"Échantillon réduit";flex:none;font-weight:700;color:var(--clay-ink)}
    .pro-band{border-radius:16px;margin:0 auto 72px;max-width:calc(var(--shell) - 48px);padding:48px 0}
    .pro-band .shell{padding:0 44px}
    /* Chiffres clés */
    .keyfigs{border-bottom:1px solid var(--line)}
    .keyfigs ul{list-style:none;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
    .keyfigs li{padding:28px 24px;border-left:1px solid var(--line)}
    .keyfigs li:first-child{border-left:0;padding-left:0}
    .keyfigs strong{display:block;font:800 36px/1.1 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
    .keyfigs span{font-size:14px;color:var(--muted)}
    /* Cartes quartiers */
    .qcards{list-style:none;margin:0 0 40px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
    .qcard{display:flex;flex-direction:column;gap:12px;height:100%;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}
    .qcard:hover{border-color:var(--blue);box-shadow:0 16px 32px -24px rgba(15,26,51,.5)}
    .qcard-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
    .qcard-rank{font:700 14px var(--display);color:var(--faint)}
    .delta{font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px;white-space:nowrap}
    .delta.up{color:var(--clay-ink);background:var(--clay-tint)}
    .delta.down{color:var(--green-ink);background:var(--green-tint)}
    .qcard-name{font:800 24px/1.15 var(--display);letter-spacing:-.02em}
    .qcard-price strong{font:800 34px/1 var(--display);letter-spacing:-.03em;color:var(--blue);font-variant-numeric:tabular-nums}
    .qcard-price span{font-size:14px;color:var(--muted)}
    .qcard-bar{height:8px;background:#eef0f4;border-radius:4px;overflow:hidden}
    .qcard-bar i{display:block;height:100%;background:var(--blue);border-radius:4px}
    .qcard-foot{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted);margin-top:auto}
    .qcard-foot em{font-style:normal;color:var(--clay-ink);font-weight:600}
    .qcard.cta{background:var(--navy);border-color:var(--navy);color:#fff;justify-content:space-between}
    .qcard.cta .qcard-name{color:#fff}
    .qcard.cta p{color:#c9cfdc;font-size:15px}
    .qcard.cta .btn{background:#fff;color:var(--ink)}
    .chart-title{font:800 22px/1.2 var(--display);letter-spacing:-.02em;margin:0 0 6px}
    /* Pied de page bleu nuit */
    .site-footer,.ad-footer{background:var(--navy);border-top:0;color:#c9cfdc}
    .site-footer h2,.ad-footer h2,.site-footer .logo-word,.ad-footer .logo-word{color:#fff}
    .site-footer .logo-mark,.ad-footer .logo-mark{background:#fff;color:var(--navy)}
    .footer-about p,.ad-footer-about p{color:#c9cfdc}
    .site-footer ul a,.ad-footer ul a,.ad-footer-bottom a,.footer-bottom a{color:#c9cfdc}
    .site-footer ul a:hover,.ad-footer ul a:hover,.ad-footer-bottom a:hover,.footer-bottom a:hover{color:#fff}
    .footer-bottom,.ad-footer-bottom{border-top-color:#2a3550;color:#a9b1c2}
    .legal summary{color:#c9cfdc}
    @media (max-width:820px){
      .keyfigs ul{grid-template-columns:1fr 1fr}
      .keyfigs li:nth-child(3){border-left:0;padding-left:0}
      .keyfigs li:nth-child(-n+2){border-bottom:1px solid var(--line)}
      .pro-band{border-radius:0;margin-bottom:0;max-width:none}
      .pro-band .shell{padding:0 24px}
    }
    @media (max-width:600px){
      .keyfigs strong{font-size:28px}
      .keyfigs li{padding:20px 12px}
      .facts .hl strong{font-size:32px}
      .qcards{gap:10px}
      .qcard{padding:16px 18px;gap:8px}
      .qcard-name{font-size:20px}
      .qcard-price strong{font-size:28px}
      .sample-note{flex-direction:column;gap:2px}
      .pro-band .shell{padding:0 18px}
    }
  
.small-list{list-style:none;margin:0;padding:8px 0}
.small-list li{display:flex;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid var(--line);font-size:15px}
.small-list li:last-child{border-bottom:0}
.small-list span{color:var(--muted);white-space:nowrap}
.pro-actions{display:flex;flex-wrap:wrap;gap:10px}

/* Affinage 2026-10 : hiérarchie des graphiques, colonnes de texte, nuage de points plus lisible */
.rank .bar{position:relative;overflow:visible}
.rank .bar i{background:var(--blue);border-radius:2px}
.rank.has-me .bar i{background:#b7c3f1}
.rank.has-me .me .bar i{background:var(--blue)}
.rank .ref{position:absolute;top:-4px;bottom:-4px;width:0;border-left:2px dashed var(--ink);opacity:.55;margin-left:-1px}
.rank-legend{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ref-key{display:inline-block;width:0;height:12px;border-left:2px dashed var(--ink);opacity:.55}
.card tbody th a{color:var(--blue);font-weight:600;text-decoration:none}
.card tbody th a:hover{text-decoration:underline}
.card tbody tr:hover{background:var(--soft)}
.strip{height:170px}
.strip .axis-line{top:85px}
.strip .pt{top:calc(85px + var(--y))}
@media (min-width:1041px){.block-copy{position:sticky;top:100px}}
@media (max-width:600px){.page-hero .hero-lede{font-size:16px}.block{padding:56px 0}.block-copy .btn{width:100%}.pro-actions .btn{flex:1 1 100%}}

/* Évolution depuis le relevé précédent */
.since{margin-top:16px;padding:12px 16px;border-left:3px solid var(--blue);background:#fff;border-radius:0 8px 8px 0;font-size:15px;color:var(--muted);max-width:none}
.since strong{color:var(--ink)}
.since a{font-weight:700;color:var(--blue)}
.moves-col{display:grid;gap:16px}
.moves{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}
.moves div{padding:18px 20px;border-right:1px solid var(--line)}
.moves div:last-child{border-right:0}
.moves strong{display:block;font:800 32px/1.1 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.moves span{display:block;margin-top:4px;font-size:13px;line-height:1.35;color:var(--muted)}
.moves .down strong{color:var(--green-ink)}
.moves .up strong{color:var(--clay-ink)}
.card td.down{color:var(--green-ink);font-weight:700}
.card s{color:var(--faint);margin-right:6px}
@media (max-width:600px){.moves{grid-template-columns:1fr 1fr}.moves div:nth-child(2){border-right:0}.moves div:nth-child(-n+2){border-bottom:1px solid var(--line)}.moves strong{font-size:26px}.since{font-size:14px}}
.moves-col table{min-width:0}
@media (max-width:600px){.moves-col th,.moves-col td,.moves-col .card th:first-child,.moves-col .card td:first-child{padding:11px 10px;font-size:14px}.moves-col .card th:first-child,.moves-col .card td:first-child{padding-left:14px}.cuts-table th:nth-child(2),.cuts-table td:nth-child(2){display:none}.card s{display:block;margin:0}}

/* Pages villes : calculateur (#budget) et graphique des quartiers (#analyse), repris de l'accueil */
[hidden]{display:none!important}
.block .calc{max-width:none}
.calc-inputs{padding:20px 24px 18px}
.budget input{font-size:30px}
.presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.presets button{padding:0 6px;min-height:34px}
.quartiers{margin-top:16px}
.calc-result{padding:18px 24px}
.result-m2{font-size:clamp(72px,8vw,104px);margin:4px 0 8px}
.result-real{display:block;margin-top:14px;padding:12px 14px;border:1px solid transparent;border-radius:8px;font-size:14px;line-height:1.5;background:#fff}
.result-real strong{color:var(--ink)}
.result-real.is-none{background:var(--clay-tint);border-color:#f1d3c4;color:#5a3020}
.result-real.is-none strong{color:var(--clay-ink)}
.result-real.is-some{background:var(--green-tint);border-color:#c4e6dd;color:#123f36}
.result-real.is-some strong{color:var(--green-ink)}
.calc-compare{padding:16px 24px 20px}
.calc-compare h3{font:700 15px/1.3 var(--body);margin:0 0 12px;letter-spacing:0}
.cmp{gap:2px}
.cmp button{padding:4px 6px}
#analyse .section-head{margin-bottom:28px}
#analyse .insights{margin-top:40px}
@media (max-width:600px){.presets button{font-size:12px;padding:0 2px}.result-m2{font-size:76px}#analyse .chart{padding:16px 14px}}
/* Audit UX (octobre 2026) : cibles tactiles d'au moins 44 px, contour du champ budget, calculateur des villes à nombreux quartiers */
.budget:focus-within{outline:3px solid var(--blue);outline-offset:6px;border-radius:2px}
.budget input,.presets button,.switch button,.cmp button{min-height:44px}
.crumbs a{display:inline-block;padding:11px 0;margin:-11px 0}
tbody th a{display:inline-block;padding:12px 0;margin:-12px 0}
.site-footer ul a{display:inline-block;padding:4px 0}
.quartier-select{display:none;width:100%;min-height:48px;padding:0 12px;border:1px solid var(--line-strong,#c9ceda);border-radius:8px;background:#fff;font:500 16px var(--body);color:var(--ink)}
.quartier-select:focus{outline:3px solid var(--blue);outline-offset:2px}
.cmp-more{margin-top:4px}
.cmp-more summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:0 6px;color:var(--blue);font-weight:700;font-size:14px}
@media (max-width:600px){
  .quartiers.many .chips{display:none}
  .quartiers.many .quartier-select{display:block}
}
.chip span{min-height:44px;display:inline-flex;align-items:center}
.legal summary{min-height:44px;display:flex;align-items:center}

/* ---------- Refonte novembre 2026 : clair et aéré ----------
   Fond gris bleuté pâle, blocs blancs à ombre douce, titres Archivo plus larges et moins gras,
   bleu d'action plus vif. Ces règles passent après les précédentes et les remplacent. */
:root{
  --ink:#0f1a33;--navy:#0f1a33;--muted:#4f5a6e;--faint:#6b7486;
  --blue:#2f5be7;--blue-dark:#2347c4;--tint:#edf1fd;
  --canvas:#f5f7fb;--soft:#f5f7fb;--line:#e3e7ef;--line-strong:#c9cfdc;
  --radius:14px;
  --shadow:0 1px 2px rgba(15,26,51,.05),0 10px 30px -18px rgba(15,26,51,.25);
  --shadow-lg:0 2px 4px rgba(15,26,51,.04),0 24px 48px -24px rgba(15,26,51,.35);
}
body{background:var(--canvas)}
h1,h2,h3{font-stretch:112%;font-weight:650;letter-spacing:-.02em}
.hero h1,.page-hero h1,.section-head h2,.feature h2,.offers h2,.faq-grid h2,.contact h2,.block h2,.pro-band h2{font-weight:650;letter-spacing:-.025em}
.logo-mark{border-radius:8px}
.logo-word{font-weight:700;font-stretch:112%;letter-spacing:-.02em}
.btn{min-height:46px;border-radius:10px;font-weight:600}
.btn-ghost{border-color:var(--line-strong)}
.site-header{background:rgba(255,255,255,.92);border-bottom-color:var(--line)}
.page-hero{background:#fff;border-bottom:1px solid var(--line)}
.page-hero h1{line-height:1.06}
.hero{background:#fff}
.block{border-top:0}
.block + .block{border-top:1px solid var(--line)}
.facts{border:0;border-radius:var(--radius);box-shadow:var(--shadow)}
.facts div{border-color:var(--line)}
.facts strong{font-weight:650;font-stretch:112%;letter-spacing:-.02em}
.card,.calc{border:0;border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;overflow:hidden}
.result-m2{font-weight:650}
.presets button{border-radius:999px;padding:6px 12px}
.section-soft{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps li{border-top:0;padding:24px;border-radius:var(--radius);background:var(--canvas)}
.section-soft .steps li{background:var(--canvas)}
.steps h3::before{color:var(--blue)}
.faq-list summary{font-weight:600}
.contact{background:#fff}
.pro-band{background:var(--navy)}
.pro-band .btn-primary{background:#fff;color:var(--navy)}
.pro-band .btn-primary:hover{background:#e8ecf7}
.pro-band .btn-ghost{background:transparent;color:#fff;border-color:#ffffff59}
.pro-band .btn-ghost:hover{border-color:#fff}
.rank .bar{border-radius:999px}
.rank .bar i{border-radius:999px;background:#b9c7f6}
.rank .me .bar i{background:var(--blue)}
.rank li a:hover{background:var(--tint)}
@media (max-width:600px){.btn{min-height:48px}}
.feature-row > *{min-width:0}
.panel .table-wrap{overflow-x:auto}
.rank:not(.has-me) .bar i{background:var(--blue)}

/* Check-up mobile (novembre 2026) */
.logo{min-height:44px}
.site-footer ul{gap:0}
.site-footer ul a{display:inline-flex;align-items:center;min-height:44px;padding:0}
.footer-bottom a,.legal summary{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:600px){
  .card th,.card td{padding:10px 8px;white-space:normal}
  .card th:first-child,.card td:first-child{padding-left:14px}
  .card th:last-child,.card td:last-child{padding-right:14px}
  .card td.num{white-space:nowrap}
  .card thead th,.card thead th.num{font-size:13px;line-height:1.3;vertical-align:bottom;white-space:normal}
  .card tbody th{white-space:normal;hyphens:auto}
}
@media (max-width:380px){
  .card th,.card td{padding:9px 5px;font-size:13px}
  .card th:first-child,.card td:first-child{padding-left:12px}
  .card th:last-child,.card td:last-child{padding-right:12px}
}
/* Listes repliées sur mobile (components.js) */
.is-folded > :nth-child(n+11):not(.me):not(.fold-keep){display:none}
.fold-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;border:0;border-top:1px solid var(--line);background:#fff;color:var(--blue);font:700 15px var(--body);cursor:pointer}
.chart .fold-btn{border-radius:0 0 var(--radius) var(--radius)}
@media (max-width:600px){
  .presets{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .presets button{white-space:nowrap;min-height:44px;font-size:14px}
}
