/* Grand Paris groupe, refonte 2026. Values measured on John's 1440 px mockups. */

@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/host-grotesk-latin.woff2") format("woff2");
    font-weight: 300 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Host Grotesk";
    src: url("../fonts/host-grotesk-latin-ext.woff2") format("woff2");
    font-weight: 300 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Inks: neutral, no blue anywhere. */
    --ink: #0b0b0b;
    --ink-soft: #85868b;   /* second line of big titles */
    --text: #515151;       /* body copy */
    --muted: #6e6e73;      /* meta, captions */
    --line: #e6e6ea;
    --surface: #f5f5f7;    /* cards, grey sections */
    --white: #fff;
    --coral: #ff545c;
    --coral-dark: #e8434b;
    --plan-pink: #ffc5c9;
    --tint-rose: #fff1f1;
    --tint-rose-strong: #ffe1e3;
    --tint-grey: #e6e5ea;

    --font: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius-sm: 12px;
    --radius: 24px;
    --radius-lg: 28px;
    --container: 1240px; /* John's pages are laid out 1240 px wide (Didier, 2026-11-22; was 1180) */
    --gutter: 16px;
    --section: clamp(64px, 9vw, 128px);
    --shadow-soft: 0 10px 30px rgba(11, 11, 11, .06);
    --shadow-lift: 0 18px 40px rgba(11, 11, 11, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "ss01";
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(920px + 2 * var(--gutter)); }
.container--text { max-width: calc(720px + 2 * var(--gutter)); }

/* Type */
.display-1, .hero__title { font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.display-2 { font-size: clamp(34px, 4.7vw, 52px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.display-3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.h3 { display: block; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
.note { display: block; font-size: 14px; color: var(--muted); }
.strong { font-weight: 500; }
.coral-text { color: var(--coral-dark); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tabular, .pcard__price, .fcard__price, .mini-card__price { font-variant-numeric: tabular-nums; }

/* Icons */
.icon { width: 18px; height: 18px; flex: none; }
.icon.coral { color: var(--coral); }

/* Buttons, pills, chips */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: 999px;
    font-weight: 500; font-size: 15px; letter-spacing: -.01em;
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2a2a2a; }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--coral-dark); }
.btn--block { width: 100%; }
.btn--auto { width: auto; }
.btn .icon { width: 16px; height: 16px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.pill--white { background: #fff; color: var(--ink); }
.pill--ink { background: var(--ink); color: #fff; padding: 8px 14px; font-size: 14px; }
.pill--dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.chip { padding: 7px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; color: var(--ink); transition: background-color .2s; }
.chip:hover { background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.round-arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; flex: none; transition: color .2s; }
.round-arrow .icon { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.site-logo img { width: 176px; height: auto; }
.site-nav ul { display: flex; gap: 32px; }
.site-nav a { font-size: 16px; color: #4a4a4f; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); font-weight: 500; }
.site-nav__phone { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { min-height: 40px; padding: 0 30px; font-size: 15px; }
.header-phone .icon { width: 17px; height: 17px; }
@media (max-width: 1100px) and (min-width: 961px) { .site-nav ul { gap: 22px; } .header-phone span { display: none; } .header-phone { padding: 0 12px; } }
.fav-link { position: relative; display: grid; place-items: center; width: 36px; height: 36px; color: var(--coral); }
.fav-link .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.fav-link__count { position: absolute; top: 0; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 500; line-height: 16px; text-align: center; }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--surface); }

@media (max-width: 960px) {
    .menu-toggle { display: grid; width: 44px; height: 44px; }
    .site-logo img { width: 145px; }
    .site-header__actions { gap: 6px; }
    .fav-link { width: 44px; height: 44px; }
    .header-phone { display: grid; place-items: center; width: 44px; min-height: 44px; height: 44px; padding: 0; border-radius: 50%; }
    .header-phone span { display: none; }
    .header-phone .icon { width: 19px; height: 19px; }
    .site-nav { position: fixed; inset: 64px 0 auto; background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); display: none; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav li a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
    .site-nav__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 500; }
}

/* Sections */
.section { padding-block: var(--section); }
.section--grey { background: var(--surface); }
.section:not(.section--grey) + .section:not(.section--grey) { padding-top: 0; }
.section__title { margin-bottom: 48px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }

/* Hero + ask box */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero__title { text-align: center; }
.hero__title span { display: block; }
.hero__title-muted { color: var(--ink-soft); }
.hero__lead { margin: 22px auto 0; text-align: center; font-size: 18px; color: var(--text); }
.ask {
    max-width: 920px; margin-inline: auto;
    margin-top: 32px; padding: 18px 18px 14px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 12px 34px rgba(11, 11, 11, .07);
}
.ask textarea { width: 100%; border: 0; outline: 0; resize: none; font-size: 19px; line-height: 1.4; padding: 0; min-height: 28px; background: transparent; }
.ask textarea::placeholder { color: #8b8b90; }
.ask__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ask__hint { font-size: 14px; color: var(--muted); }
.ask__send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--ink); flex: none; transition: background-color .2s; }
.ask__send:hover { background: var(--coral-dark); }
.ask__examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }

.ask-answer { margin-top: 56px; padding: 28px 16px 22px; background: var(--surface); border-radius: var(--radius-lg); }
.ask-answer__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-inline: 8px; color: var(--text); font-size: 14px; }
.ask-answer .chips { margin: 16px 8px 18px; }
.ask-answer__grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.ask-answer .note { margin: 16px 8px 0; }
@media (max-width: 860px) { .ask-answer__grid { grid-template-columns: 1fr; } }

.mini-card { display: flex; flex-direction: column; padding: 8px 8px 16px; background: #fff; border-radius: 20px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.mini-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.mini-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.mini-card > span { padding-inline: 8px; }
.mini-card__title { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.mini-card__meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.mini-card__price { font-size: 22px; letter-spacing: -.02em; }

/* Facts bar */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-block: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.facts li { padding: 16px 12px; }
.facts li:nth-child(2) { text-align: center; }
.facts li:nth-child(3) { text-align: right; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } .facts li, .facts li:nth-child(n) { text-align: left; padding-inline: 0; } .facts li + li { border-top: 1px solid var(--line); } }

/* Bento */
.bento { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.bento__card { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 270px; padding: 32px; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; grid-column: span 2; text-align: left; color: var(--ink); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
a.bento__card:hover, button.bento__card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
a.bento__card:hover .round-arrow, button.bento__card:hover .round-arrow { color: var(--coral); }
.bento__card--count { grid-column: span 4; justify-content: flex-start; padding-bottom: 0; }
.bento__card--plan { grid-column: span 2; justify-content: flex-start; }
.bento__card--ink { background: var(--ink); color: #fff; }
.bento__card--ink .link-arrow { margin-top: 14px; color: #fff; }
.bento__card--ink .small { display: block; color: rgba(255, 255, 255, .85); }
.bento__big { font-size: clamp(64px, 8vw, 112px); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.bento__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.bento__photos img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: 16px 16px 0 0; }
.bento__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.bento__card .muted.small { display: block; }
.bento__card .h3 + .muted { margin-top: 8px; }
.bento__card--plan .plan-glyph { width: 100%; max-width: 300px; margin-top: auto; }
.stack-pills { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 960px) {
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__card, .bento__card--plan { grid-column: span 1; }
    .bento__card--count { grid-column: span 2; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento__card, .bento__card--count { grid-column: auto; } }

/* Plan drawing */
.plan-glyph text { font-family: var(--font); }
.plan-glyph--blur { filter: blur(6px); }

/* Featured programmes (photo cards) */
.featured { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.fcard { position: relative; grid-column: span 2; aspect-ratio: 3 / 3.4; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: var(--surface); isolation: isolate; }
.fcard--lead { grid-column: span 4; aspect-ratio: auto; }
.fcard:nth-child(2) { grid-column: span 2; }
.featured .fcard:nth-child(-n+2) { min-height: 430px; aspect-ratio: auto; } /* with its 3:3.4 ratio, 430 px high forced the second card to 379 px wide: 34 px too wide at 1024 */
.fcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .62) 100%); }
.fcard:hover > img { transform: scale(1.03); }
.fcard__badge { position: absolute; top: 14px; left: 14px; }
.fcard .fav-btn { position: absolute; top: 12px; right: 12px; }
.fcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.fcard__title { font-size: 22px; letter-spacing: -.02em; font-weight: 500; line-height: 1.15; }
.fcard--lead .fcard__title { font-size: clamp(28px, 3vw, 36px); }
.fcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fcard__place { font-size: 14px; opacity: .9; margin: 4px 0 16px; }
.fcard .pcard__from { color: rgba(255, 255, 255, .85); }
.fcard__price { display: block; font-size: 24px; letter-spacing: -.02em; }
@media (max-width: 960px) { .featured { grid-template-columns: 1fr 1fr; } .fcard, .fcard--lead, .fcard:nth-child(2) { grid-column: span 1; } .fcard--lead { grid-column: span 2; min-height: 380px; } }
@media (max-width: 640px) { .featured { grid-template-columns: 1fr; } .featured .fcard:nth-child(n) { grid-column: auto; aspect-ratio: 4 / 3.6; min-height: 0; } }

/* Favourite button */
.fav-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .2s var(--ease); }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn .icon { width: 16px; height: 16px; }
.fav-btn[aria-pressed="true"] { color: var(--coral); }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; stroke: none; }

/* Programme card (grid) */
.pcard { position: relative; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border-radius: var(--radius); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.pcard:hover .round-arrow { color: var(--coral); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__badge { position: absolute; left: 12px; bottom: 12px; }
.pcard .fav-btn { top: 12px; right: 12px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 12px 10px; }
.pcard__title { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.pcard__place { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; }
.pcard__from { display: block; font-size: 14px; color: var(--muted); }
.pcard__price { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.program-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .program-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }

/* Departments */
.dept-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.dept-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #dcdce0; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.02em; transition: padding .2s var(--ease); }
.dept-list li:first-child a { padding-top: 0; }
.dept-list a:hover { padding-left: 6px; }
.dept-list__count { font-size: 14px; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
@media (max-width: 760px) { .dept-list { grid-template-columns: 1fr; } }

/* News on home */
.tint-rose { background: var(--tint-rose); }
.tint-grey { background: var(--tint-grey); }
.tint-rose-strong { background: var(--tint-rose-strong); }
.blend { mix-blend-mode: multiply; }
.news-home { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.news-lead { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 16px; background: var(--surface); border-radius: var(--radius); }
.news-lead__media { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; margin-bottom: 8px; }
.news-lead__media img { width: 100%; height: 100%; object-fit: cover; }
.news-lead__badge { position: absolute; top: 12px; left: 12px; }
.news-lead > .h3, .news-lead > p, .news-lead__foot { padding-inline: 10px; }
.news-lead .h3 a::after, .news-row__title a::after { content: ""; position: absolute; inset: 0; }
.news-lead__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.news-lead:hover .round-arrow, .news-row:hover > .icon { color: var(--coral); }
.news-rows { display: grid; gap: 10px; }
.news-row { position: relative; display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 16px; padding: 8px 20px 8px 8px; background: var(--surface); border-radius: var(--radius); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.news-row:hover, .news-lead:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.news-lead { transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.news-row__media { aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.news-row__media img { width: 100%; height: 100%; object-fit: cover; }
.news-row__meta { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.news-row__title { font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.news-row > .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .news-home { grid-template-columns: 1fr; } }

/* Contact block */
.contact-block__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.contact-block__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 32px; background: var(--coral); color: var(--ink); border-radius: var(--radius-lg); }
.contact-block__phone { display: block; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; margin-bottom: 14px; }
.contact-block__aside p { font-size: 14px; line-height: 1.8; }
.contact-block__aside p + p { margin-top: 12px; }
.contact-block__form { padding: 32px; background: var(--surface); border-radius: var(--radius-lg); }
.partner-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding: 20px 32px; border: 1px solid var(--line); border-radius: 22px; font-size: 15px; font-weight: 500; transition: border-color .2s; }
.partner-strip:hover { border-color: var(--ink); }
.partner-strip .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .contact-block__grid { grid-template-columns: 1fr; } .contact-block__aside { min-height: 280px; } }

/* Forms */
.lead-form { display: grid; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; padding: 10px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { padding-right: 40px; cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.field [aria-invalid="true"] { border-color: var(--coral-dark); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: grid; place-items: center; min-height: 46px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.segmented input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.5; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff; }
@media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }

/* Request drawer (native <dialog>) */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: var(--ink); }
.drawer::backdrop { background: rgba(11, 11, 11, .35); }
.drawer[open] { animation: drawer-in .28s var(--ease); }
.drawer__inner { display: flex; flex-direction: column; gap: 28px; min-height: 100%; padding: 32px; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.drawer__kicker { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.drawer__kicker:empty { display: none; }
.drawer__title { font-size: clamp(30px, 3vw, 38px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.drawer__foot { margin-top: auto; font-size: 14px; color: var(--muted); }
.drawer__foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding-top: 72px; margin-top: 0; }
.site-footer__title { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.site-footer h3 { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.site-footer li { font-size: 14px; line-height: 1.5; margin-bottom: 6px; color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__brand img { width: 150px; margin-bottom: 18px; }
.site-footer__brand address { font-style: normal; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); margin-bottom: 20px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: rgba(255, 255, 255, .7); }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__bottom .container { flex-direction: column; } }

/* Page hero (listing pages) */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero__lead { max-width: 520px; margin-top: 24px; font-size: 17px; color: var(--text); }
.section--tight { padding-top: 0; }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--line); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; }
.pager__info { font-size: 14px; color: var(--muted); }

/* Results page */
.results-head { padding-top: clamp(40px, 6vw, 72px); }
.results-head__title { font-size: clamp(34px, 4.6vw, 56px); }
.ask--inline { max-width: 588px; margin-inline: 0; margin-top: 28px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; margin-bottom: 32px; }
.results-bar__chips, .results-bar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill--removable { gap: 8px; padding: 8px 10px 8px 12px; font-size: 14px; }
.pill--removable .icon { width: 13px; height: 13px; opacity: .8; }
.pill--removable .plan-icon { color: #fff; }
.pill--removable:hover .icon { opacity: 1; }
.pill--outline { border: 1px solid var(--line); background: #fff; padding: 8px 14px; font-size: 14px; cursor: pointer; list-style: none; }
.pill--outline::-webkit-details-marker { display: none; }
.pill--outline .icon { width: 14px; height: 14px; }
.link-underline { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { min-height: 38px; padding: 0 38px 0 14px; border: 0; border-radius: 10px; font-size: 14px; color: var(--ink); font-weight: 500; cursor: pointer; -webkit-appearance: none; appearance: none;
    /* drawn chevron 14 px from the right edge (the native arrow sat against it: Didier, 2026-11-23) */
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.view-toggle a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.view-toggle a .icon { width: 14px; height: 14px; }
.view-toggle a[aria-current] { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.results-note { margin: -16px 0 28px; font-size: 14px; color: var(--muted); }
.refine { position: relative; }
.refine__panel { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; display: grid; gap: 16px; width: min(360px, calc(100vw - 32px)); padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); }
.check-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.check-pills label { position: relative; }
.check-pills input { position: absolute; opacity: 0; }
.check-pills span { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.check-pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.check-pills input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }

.typo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.typo-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #fff; font-size: 14px; color: var(--muted); }
.typo-chip strong { color: var(--ink); font-weight: 500; }
.plan-icon { flex: none; }
.pcard__note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.typo-chip--grey { background: var(--surface); }
.mini-card .typo-chips { margin: -8px 0 16px; }

.cta-tile { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 360px; padding: 32px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.cta-tile .display-2 { max-width: 560px; }
.cta-tile .link-arrow { color: #fff; }
.cta-tile--span-1 { grid-column: span 1; }
.cta-tile--span-1 .display-2 { font-size: clamp(26px, 2.4vw, 32px); }
.cta-tile--span-3 { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: flex-end; }
.cta-tile--span-3 .display-2 { max-width: 720px; }
@media (max-width: 960px) {
    .cta-tile, .cta-tile--span-1, .cta-tile--span-3 { grid-column: 1 / -1; min-height: 240px; flex-direction: column; align-items: flex-start; }
    .pcard--wide-md { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .pcard--wide-md { grid-column: auto; } }

.no-results { display: grid; gap: 16px; max-width: 640px; padding: 32px; background: var(--surface); border-radius: var(--radius-lg); }
.no-results__list { display: grid; gap: 8px; }
.no-results__list a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border-radius: 14px; font-weight: 500; }
.no-results__list a span { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 400; }
.no-results__list .icon { width: 16px; height: 16px; }

/* Map */
.map { position: relative; height: clamp(360px, 52vw, 560px); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); isolation: isolate; }
.map--location { height: clamp(300px, 36vw, 420px); margin-bottom: 24px; }
.map__status { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--muted); z-index: 500; pointer-events: none; }
.map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow-soft); border-radius: 12px; overflow: hidden; }
.map .leaflet-control-zoom a { color: var(--ink); }
.map .leaflet-container, .map.leaflet-container { font-family: var(--font); }
.gp-marker { background: none; border: 0; }
.gp-price {
    position: absolute; left: 0; bottom: 8px; transform: translateX(-50%);
    padding: 5px 9px; border-radius: 999px; background: #fff; color: var(--ink);
    font: 500 12px/1.2 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(11, 11, 11, .16); cursor: pointer; transition: transform .15s var(--ease), background-color .15s, color .15s;
}
/* The tip, not the pill, sits on the exact address. */
.gp-price::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 2px 0; }
.leaflet-marker-icon:hover .gp-price, .leaflet-marker-icon:focus-visible .gp-price { background: var(--ink); color: #fff; transform: translateX(-50%) scale(1.08); }
.leaflet-marker-icon:hover, .leaflet-marker-icon:focus-visible { z-index: 10000 !important; }
.gp-price.is-open { background: var(--ink); color: #fff; }
.gp-price.is-seen { background: #e9e9ec; color: #6b6b70; }
.gp-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.gp-dot.is-seen { background: #b9b9be; }
.gp-cluster-wrap { background: none; }
.gp-cluster { display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 500 14px var(--font); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 4px 12px rgba(0, 0, 0, .2); transition: background-color .15s; }
.gp-cluster-wrap:hover .gp-cluster { background: var(--coral); color: var(--ink); }
.gp-pop .leaflet-popup-content-wrapper { padding: 0; border-radius: 22px; box-shadow: var(--shadow-lift); }
.gp-pop .leaflet-popup-content { margin: 0; width: 264px !important; }
.gp-pop .leaflet-popup-tip-container { display: none; }
.gp-pop.leaflet-popup { animation: pop-in .24s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px); } }
.gp-pop__card, .leaflet-container a.gp-pop__card { display: block; padding: 8px; color: var(--ink); text-decoration: none; }
.gp-pop__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--surface); }
.gp-pop__media img { width: 100%; height: 100%; object-fit: cover; }
.gp-pop__badge { position: absolute; left: 10px; bottom: 10px; }
.gp-pop__body { display: block; padding: 12px 8px 6px; }
.gp-pop__name { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.gp-pop__place { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.gp-pop__foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; }
.gp-pop__price { display: block; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gp-pop__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); transition: color .15s; }
.gp-pop__card:hover .gp-pop__arrow { color: var(--coral); }
.gp-pop__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }

/* Programme page */
.h2 { font-size: clamp(22px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.section--tight-top { padding-top: 0; }
.section__lead { margin: 14px 0 32px; max-width: 460px; color: var(--text); font-size: 15px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .icon { width: 14px; height: 14px; }
.prog-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 10px; align-items: stretch; }
.gallery { position: relative; min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); outline: none; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s var(--ease); }
.gallery__img.is-active { opacity: 1; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); z-index: 2; }
.gallery__nav .icon { width: 16px; height: 16px; }
.gallery__nav--prev { left: 18px; }
.gallery__nav--next { right: 18px; }
.gallery__count { position: absolute; left: 14px; bottom: 14px; background: rgba(11, 11, 11, .78); color: #fff; z-index: 2; }
.gallery__legal { position: absolute; left: 14px; bottom: 46px; background: rgba(11, 11, 11, .78); color: #fff; font-size: 12px; z-index: 2; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 2; cursor: pointer; }
.gallery__zoom .icon { width: 13px; height: 13px; }
.gallery__fav { top: 14px; right: 14px; }
.prog-card { display: flex; flex-direction: column; padding: 32px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.prog-card__title { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.prog-card__place { margin-top: 14px; font-size: 17px; font-weight: 500; }
.prog-card__from { margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.prog-card__price { font-size: clamp(34px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.prog-card__facts { margin: 20px 0 24px; }
.prog-card__facts > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.prog-card__facts > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.prog-card__facts dt { color: rgba(255, 255, 255, .75); }
.prog-card__facts dd { margin: 0; font-weight: 500; text-align: right; }
.prog-card__types { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.prog-card__types span { display: inline-flex; align-items: center; gap: 4px; }
.prog-card__form-title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 16px; }
.prog-card .field label { color: #fff; }
.prog-card .field input, .prog-card .field select, .prog-card .field textarea, .prog-card .segmented span { border-color: transparent; color: var(--ink); }
.prog-card .field legend { color: #fff; }
.prog-card .segmented input:checked + span { background: var(--coral); color: var(--ink); }
.prog-card .consent { color: rgba(255, 255, 255, .78); }
.prog-card .consent input { accent-color: var(--coral); }
.prog-card .form-status { color: var(--ink); }
/* « Imaginez-vous déjà chez vous. » (John's page): title on the left half, the short text on the right half, 20 px */
.prog-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 96px); }
.prog-about h2 { margin: 0; }
.prog-about__soft { color: var(--ink-soft); }
.prog-about__text { color: var(--text); font-size: 20px; line-height: 1.55; }
.prog-about--long { grid-template-columns: 1fr 2fr; }
.prog-about--long .prog-about__text { font-size: 17px; line-height: 1.7; }
.prog-about__text p + p { margin-top: .9em; }
@media (max-width: 960px) {
    .prog-top { grid-template-columns: 1fr; }
    .gallery { min-height: 0; aspect-ratio: 4 / 3; }
    .prog-about { grid-template-columns: 1fr; gap: 16px; }
    .prog-about__text { font-size: 18px; }
}

.plans-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.plans-head__lead { max-width: 480px; margin: 0; font-size: 17px; color: var(--muted); text-align: right; }
.plan-rows { display: grid; gap: 12px; }
.plan-row { display: flex; align-items: center; gap: 32px; width: 100%; padding: 28px 28px 28px 32px; background: var(--surface); border: 0; border-radius: var(--radius); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.plan-row:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.plan-row__icon { display: flex; flex-shrink: 0; }
.plan-row__text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.plan-row__type { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.plan-row__code { font-size: 20px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-row__meta { font-size: 16px; color: var(--text); }
.plan-row__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 32px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-row__from { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-row__cta { flex-shrink: 0; }
/* Brochure block (John's page), measured on the client's capture (CSS px at 1440): panel padding 52/56, cover 260 x 268,
   front sheet 180 x 254 at -4°, back sheet 180 x 240 at 6° showing a narrow strip, radius 8, title 36, text 17, button 16 */
.brochure { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; column-gap: 76px; margin-top: 12px; padding: 52px 56px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.brochure--alone { margin-top: 0; }
.brochure__cover { position: relative; width: 260px; height: 268px; }
.brochure__sheet { position: absolute; display: block; width: 180px; overflow: hidden; background: #fff; border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.brochure__sheet img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px); transform: scale(1.08); }
.brochure__sheet--back { left: 67px; top: 18px; height: 240px; transform: rotate(6deg); background: #dcdce1; }
.brochure__sheet--back img { opacity: .75; }
.brochure__sheet--front { left: 10px; top: 5.5px; height: 254px; display: flex; flex-direction: column; transform: rotate(-4deg); }
.brochure__photo { flex: 1 1 auto; display: grid; place-items: center; overflow: hidden; background: #dcdce1; color: #5c5d63; }
.brochure__photo .icon { width: 30px; height: 30px; }
.brochure__label { display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 16px; background: #fff; color: var(--ink); }
.brochure__name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere; }
.brochure__city { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.brochure__body { padding-top: 10px; }
.brochure__title { margin: 0; font-size: 36px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.brochure__text { max-width: 460px; margin: 18px 0 16px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.brochure__cta { font-size: 16px; padding: 0 27px; }
@media (max-width: 860px) {
    .brochure { grid-template-columns: 1fr; row-gap: 28px; padding: 32px 24px; }
    .brochure__cover { margin: 0 auto; }
    .brochure__body { padding-top: 0; }
    .brochure__title { font-size: 30px; }
}

@media (max-width: 960px) { .plans-head__lead { text-align: left; } } /* under the title once it wraps */
@media (max-width: 900px) {
    .plan-row { flex-wrap: wrap; gap: 16px 20px; padding: 20px; }
    .plan-row__icon .plan-icon { width: 36px; height: 36px; }
    .plan-row__text { flex-basis: calc(100% - 56px); }
    .plan-row__type { font-size: 22px; }
    .plan-row__code { font-size: 16px; }
    .plan-row__price { align-items: flex-start; font-size: 26px; margin-right: auto; }
}

/* « Acheter neuf » (John's page): 4 fixed cards, the first one black */
.newbuy { margin-top: -18px; padding-bottom: 110px; } /* measured on John's capture: 120 px from the brochure to the title's capitals, 110 px to the next section */
.newbuy__title { margin: 0; }
.newbuy__soft { color: var(--ink-soft); }
.newbuy__lead { margin: 16px 0 0; font-size: 18px; color: var(--text); }
.newbuy__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 31px 0 0; padding: 0; list-style: none; }
.newbuy__card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 283px; padding: 26px 32px 32px; background: var(--surface); border-radius: var(--radius); color: var(--ink); }
.newbuy__card--ink { background: var(--ink); color: #fff; }
.newbuy__figure { font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.newbuy__body { display: flex; flex-direction: column; gap: 8px; }
.newbuy__name { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.newbuy__text { font-size: 15px; line-height: 1.6; color: var(--text); }
.newbuy__card--ink .newbuy__text { color: rgba(255, 255, 255, .78); }
@media (max-width: 1024px) { .newbuy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .newbuy { margin-top: 0; padding-bottom: var(--section); } }
@media (max-width: 560px) { .newbuy__grid { grid-template-columns: 1fr; } .newbuy__card { min-height: 0; } .newbuy__figure { font-size: 44px; } }

.prog-area { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 42%, 520px); gap: 40px; align-items: start; }
.map--single { height: auto; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; } /* map on the right edge: more room for the list (Didier, 2026-11-22) */
/* « À proximité » list (mockup 05) */
.nearby { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.nearby__row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.nearby__badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; flex-shrink: 0; min-width: 104px; }
.nearby__gap { margin-left: 4px; }
.nearby__icon { width: 24px; height: 24px; display: block; }
.nearby__mark, .nearby__badge { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 22px; min-width: 22px; line-height: 1; font-weight: 500; }
.nearby__mark { padding: 0 5px; font-size: 11px; color: #fff; background: #1c2b5a; border-radius: 5px; }
.nearby__mark--round { padding: 0; border-radius: 11px; }
.nearby__badge { padding: 0 4px; font-size: 13px; border-radius: 5px; }
.nearby__badge--round { padding: 0 3px; border-radius: 11px; }
.nearby__badge--tram { padding: 0 3px; color: var(--ink); background: none; border-radius: 0; border-top: 3px solid; border-bottom: 3px solid; }
.nearby__label { width: 104px; flex-shrink: 0; font-size: 14px; color: var(--muted); }
.nearby__name { flex: 1 1 auto; min-width: 0; }
.nearby__end { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; } /* time and map icon never split */
.nearby__time { font-size: 14px; color: var(--muted); white-space: nowrap; }
.nearby__maps { display: inline-flex; color: var(--muted); }
.nearby__maps:hover { color: var(--ink); }
.nearby--collapsed .nearby__row--more { display: none; }
.nearby__toggle { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px auto 0; padding: 6px 12px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.nearby__toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.nearby__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
@media (max-width: 560px) { /* phones: name on the first line, time and map icon under it, always the same way */
    .nearby__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: start; column-gap: 12px; row-gap: 4px; }
    .nearby__badges, .nearby__label { grid-row: span 2; min-width: 0; width: auto; padding-top: 1px; }
    .nearby__end { grid-column: 2; margin-left: 0; }
}
.nearby__maps .icon { width: 18px; height: 18px; }
.gp-pointer { display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
@media (max-width: 860px) { .prog-area { grid-template-columns: 1fr; } .map--single { max-width: none; justify-self: stretch; aspect-ratio: 4 / 3; } }

.coral-strip { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 32px; background: var(--coral); color: var(--ink); border-radius: var(--radius-lg); }
.coral-strip__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.coral-strip__phone { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; }
@media (max-width: 640px) { .coral-strip__side { align-items: flex-start; } }

.lightbox { width: min(1200px, 96vw); max-width: 96vw; max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #000; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 12px; right: 12px; background: #fff; font-size: 20px; }

/* News: listing */
.pill--coral { background: var(--coral); color: var(--ink); }
.pill--dark { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f0f0f2; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.news-chips .chip.is-active { background: var(--ink); color: #fff; }
.is-photo { background: var(--surface); }
.is-photo img { width: 100%; height: 100%; object-fit: cover; }

.news-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 10px; padding: 8px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.news-feature__body { display: flex; flex-direction: column; gap: 20px; padding: 28px 28px 20px; }
.news-feature__title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; margin-top: 20px; }
.news-feature__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.news-feature__excerpt { color: rgba(255, 255, 255, .8); font-size: 15px; }
.news-feature__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; }
.news-feature__foot .note { color: rgba(255, 255, 255, .65); }
.news-feature__media { display: grid; place-items: center; min-height: 360px; border-radius: 20px; overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: contain; }
.news-feature__media.is-photo img { object-fit: cover; }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } .news-feature__media { min-height: 220px; order: -1; } }

.news-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.ncard { position: relative; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border-radius: var(--radius); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.ncard:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.ncard:hover .round-arrow { color: var(--coral); }
.ncard__media { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__badge { position: absolute; top: 12px; left: 12px; }
.ncard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 10px 8px; }
.ncard__title { font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.ncard__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.ncard__excerpt { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.ncard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.ncard--wide { grid-column: span 2; flex-direction: row; background: var(--ink); color: #fff; }
.ncard--wide .ncard__media { flex: 1 1 58%; aspect-ratio: auto; min-height: 320px; }
.ncard--wide .ncard__media img:not(.is-photo img) { object-fit: contain; }
.ncard--wide .ncard__body { flex: 1 1 42%; padding: 24px; }
.ncard--wide .ncard__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.08; letter-spacing: -.03em; }
.ncard--wide .ncard__excerpt { color: rgba(255, 255, 255, .78); font-size: 14px; }
.ncard--wide .note { color: rgba(255, 255, 255, .65); }
.ncard--wide .round-arrow { background: rgba(255, 255, 255, .14); color: #fff; }
.ncard--img-right .ncard__media { order: 2; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } .ncard--wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .ncard--wide { flex-direction: column; } .ncard--wide .ncard__media { min-height: 200px; order: 0; } }

.numbers { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.numbers__n, .numbers__arrow { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 999px; font-size: 14px; }
.numbers__n:hover, .numbers__arrow:hover { background: var(--surface); }
.numbers__n.is-current { background: var(--ink); color: #fff; }
.numbers__arrow .icon { width: 16px; height: 16px; }
.numbers__gap { color: var(--muted); }

.author-head { display: flex; gap: 32px; align-items: flex-start; }
.author-head__photo img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.author-head__job { margin-top: 12px; font-size: 17px; font-weight: 500; }
.author-head__bio { max-width: 720px; }
@media (max-width: 700px) { .author-head { flex-direction: column; gap: 20px; } }

/* News: article */
.article-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 10px; }
.article-top__media { display: grid; place-items: center; min-height: 300px; margin: 0; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.article-top__media img { width: 100%; max-height: 360px; object-fit: contain; }
.article-top__media.is-photo { padding: 0; border: 0; box-shadow: none; }
.article-top__media.is-photo img { height: 100%; max-height: none; object-fit: cover; }
.article-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.article-card__title { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.article-card .prog-card__facts { margin: 0; }
.gpi-cover-credit { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.gpi-cover-credit a { text-decoration: underline; }
@media (max-width: 960px) { .article-top { grid-template-columns: 1fr; } .article-top__media { min-height: 220px; } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 56px; align-items: start; }
/* No inner scroll: the column follows the page, and stays in view only when it fits the screen (app.js). */
.article-aside { display: grid; gap: 10px; }
.article-aside.is-sticky { position: sticky; top: 88px; }
.aside-programs { padding: 18px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-programs__title { padding: 0 6px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.aside-programs ul { display: grid; gap: 4px; margin-top: 10px; }
.aside-program { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 14px; transition: background-color .2s; }
.aside-program:hover { background: var(--surface); }
.aside-program__img { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface); }
.aside-program__img img { width: 100%; height: 100%; object-fit: cover; }
.aside-program__text { display: grid; gap: 1px; min-width: 0; }
.aside-program__name { font-size: 14px; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside-program__place { font-size: 14px; color: var(--muted); }
.aside-program__price { margin-top: 3px; font-size: 14px; font-variant-numeric: tabular-nums; }
.aside-programs__all { margin: 8px 6px 0; }
.article-aside__box { display: grid; gap: 14px; padding: 22px; background: var(--surface); border-radius: var(--radius); }
.article-aside__link { justify-self: center; color: var(--ink); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .article-aside.is-sticky { position: static; } .aside-programs ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

.article-body { max-width: 680px; margin-top: 0; font-size: 16px; line-height: 1.75; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.025em; margin-top: 1.8em; }
.article-body h3 { font-size: 20px; color: var(--ink); font-weight: 500; letter-spacing: -.015em; margin-top: 1.5em; }
.article-body h2 + *, .article-body h3 + * { margin-top: .6em; }
.article-body ul, .article-body ol { padding-left: 1.2em; list-style: revert; }
.article-body li + li { margin-top: .4em; }
.article-body img { border-radius: 16px; }
.article-body blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--coral); color: var(--ink); }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { color: var(--ink); font-weight: 500; }

/* Live figures box ([gpi_chiffres]): tighter than the old one (Q3). */
.gpi-chiffres { margin: 32px 0; padding: 18px 20px 14px; background: var(--ink); color: #fff; border-radius: 20px; }
.gpi-chiffres p { margin: 0; }
.gpi-chiffres__title { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.gpi-chiffres__intro { margin-top: 2px !important; font-size: 14px; color: rgba(255, 255, 255, .7); }
.article-body .gpi-chiffres__items { list-style: none; padding-left: 0; }
.gpi-chiffres__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.gpi-chiffres__items li { margin: 0 !important; padding: 10px 12px; background: rgba(255, 255, 255, .08); border-radius: 12px; }
.gpi-chiffres__items li { line-height: 1.3; }
@media (max-width: 520px) { .gpi-chiffres__items { grid-template-columns: repeat(3, 1fr); gap: 6px; } .gpi-chiffres__items li { padding: 9px 10px; } .gpi-chiffres__items strong { font-size: 20px; } .gpi-chiffres__items span { font-size: 14px; } }
.gpi-chiffres__items strong { display: block; color: #fff; font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gpi-chiffres__items span { font-size: 14px; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.gpi-chiffres__items a { color: inherit !important; text-decoration: none !important; }
.gpi-chiffres__items a:hover strong { color: var(--coral); }
.gpi-chiffres__cities { margin-top: 12px !important; font-size: 14px; color: rgba(255, 255, 255, .8); }
.gpi-chiffres__more { margin-top: 10px !important; font-size: 14px; font-weight: 500; }
.gpi-chiffres__more a { color: #fff !important; text-decoration: none !important; }
.gpi-chiffres__more a:hover { color: var(--coral) !important; }
.gpi-chiffres__date { margin-top: 10px !important; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* FAQ and author box (Q3) */
.gpi-faq { margin-top: 48px !important; padding: 24px; background: var(--surface); border-radius: 20px; }
.gpi-faq h2 { margin: 0 0 4px; font-size: 24px; }
.gpi-faq h3 { margin: 18px 0 4px; font-size: 17px; }
.gpi-faq p { margin: 0; font-size: 15px; }
.gpi-author-box { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; margin-top: 40px !important; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.gpi-author-box__photo { grid-row: span 4; }
.gpi-author-box__photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.gpi-author-box__label { margin: 0; font-size: 14px; color: var(--muted); }
.gpi-author-box__name { margin: 2px 0 8px !important; font-weight: 500; color: var(--ink); }
.gpi-author-box__name a { text-decoration: none !important; }
.gpi-author-box__bio { margin: 0 !important; font-size: 14px; line-height: 1.6; }
.gpi-author-box__link { margin-top: 10px; font-size: 14px; font-weight: 500; }
@media (max-width: 520px) { .gpi-author-box { grid-template-columns: 1fr; } .gpi-author-box__photo { grid-row: auto; margin-bottom: 12px; } }

/* Five programmes in a 3-column grid without a hole: 2 wide, then 3. */
.program-grid--five { grid-template-columns: repeat(6, 1fr); }
.program-grid--five > * { grid-column: span 2; }
.program-grid--five > :nth-child(-n+2) { grid-column: span 3; }
@media (max-width: 960px) { .program-grid--five { grid-template-columns: 1fr 1fr; } .program-grid--five > *, .program-grid--five > :nth-child(-n+2) { grid-column: auto; } .program-grid--five > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .program-grid--five { grid-template-columns: 1fr; } .program-grid--five > :last-child { grid-column: auto; } }

/* Financement calculators */
.calcs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 12px 34px rgba(11, 11, 11, .06); overflow: hidden; }
.calc__body { padding: 28px 24px 24px; flex: 1; }
.calc__title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.calc__lead { margin: 4px 0 20px; font-size: 14px; color: var(--muted); }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.calc-input { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.calc-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 11, 11, .06); }
.calc-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-input em { font-style: normal; font-size: 14px; color: var(--muted); }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 24px; background: var(--ink); color: #fff; }
.calc__label { display: block; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.calc__big { display: block; margin-top: 4px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__cost { display: block; margin-top: 4px; font-size: 20px; color: var(--plan-pink); font-variant-numeric: tabular-nums; }
.calc-note { margin-top: 20px; font-size: 13px; }
.calc-cta { margin-top: 24px; }
@media (max-width: 860px) { .calcs { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .calc__grid, .calc__result { grid-template-columns: 1fr; } }

/* Ventes privées */
.vp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 96px) 0; }
.vp-hero__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vp-hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 56px; align-items: start; }
.vp-hero__text { padding-top: 8px; }
.vp-hero h1 { font-size: clamp(36px, 3.9vw, 48px); line-height: 1.04; letter-spacing: -.04em; }
.vp-hero h1 em { font-style: normal; color: var(--coral); white-space: nowrap; }
.vp-hero__lead { max-width: 580px; margin-top: 28px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .88); }
.vp-benefits { display: grid; gap: 26px; margin: 40px 0 0; padding: 0; list-style: none; max-width: 580px; }
.vp-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.vp-benefits__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; }
.vp-benefits__icon .icon { width: 20px; height: 20px; }
.vp-benefits strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 500; }
.vp-benefits li > span:last-child { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.vp-form { padding: 32px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); }
.vp-form [data-lead-submit] { justify-self: start; padding-inline: 24px; }
.vp-form__title { margin-bottom: 24px; font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
@media (max-width: 960px) { .vp-hero__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .vp-form { padding: 24px 20px; } .vp-form [data-lead-submit] { justify-self: stretch; } }

/* Partenariat */
.page-hero__lead--wide { max-width: 660px; font-size: clamp(17px, 1.4vw, 19px); }
.why { text-align: center; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(32px, 4vw, 56px); text-align: left; }
.why__card { display: flex; flex-direction: column; justify-content: flex-start; padding: 36px; background: var(--surface); border-radius: var(--radius-lg); }
.why__card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.why__card p { margin-top: 14px; font-size: 14px; line-height: 1.75; color: var(--text); }
.trust { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.trust__label { font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; margin: 28px 0 0; padding: 0; list-style: none; }
.trust__logos img { display: block; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .6; transition: filter .25s, opacity .25s; } /* same height and grey for all (task #23) */
.trust__logos li:hover img { filter: none; opacity: 1; }
.trust + .contact-block { padding-top: 80px; } /* 80 px before the coral block (task #23) */
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why__grid { grid-template-columns: 1fr; } .why__card { padding: 28px 24px; } .trust__logos { gap: 12px 24px; } .trust__logos img { transform: scale(.88); } .trust + .contact-block { padding-top: 56px; } }

/* Ma sélection */
.selection { min-height: 60vh; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); background: var(--surface); }
.selection__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.selection__head h1 { font-size: clamp(36px, 4.6vw, 56px); }
.selection__clear { padding: 0 0 6px; border: 0; background: none; font-size: 14px; color: var(--coral); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.selection__layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 5vw, 72px); align-items: start; }
.selection.is-empty .selection__layout { grid-template-columns: 1fr; }
.selection__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.selection__grid:empty { display: none; }
.selection__empty { max-width: 520px; display: grid; gap: 14px; justify-items: start; }
.selection [hidden] { display: none; }
.selection__form { position: sticky; top: 96px; padding: 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 12px 34px rgba(11, 11, 11, .06); }
.selection__form .field-grid { grid-template-columns: 1fr 1fr; }
.selection__form [data-lead-submit] { justify-self: start; padding-inline: 24px; }
.selection__title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; }
.selection__lead { margin: 6px 0 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .selection__layout { grid-template-columns: 1fr; } .selection__form { position: static; } }
@media (max-width: 520px) { .selection__head h1 { font-size: 34px; } .selection__form .field-grid { grid-template-columns: 1fr; } .selection__form [data-lead-submit] { justify-self: stretch; } }

/* Photo placeholder: programmes without a photo */
.ph-photo { display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; height: 100%; background: #dcdce1; color: #5c5d63; font-size: 14px; } /* darker than the card's grey so the frame reads (Didier, R3) */
.ph-photo .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.mini-card .ph-photo, .fcard .ph-photo { aspect-ratio: 4 / 3; height: auto; border-radius: 14px; margin-bottom: 14px; }
.aside-program__img .ph-photo > span { display: none; }
.aside-program__img .ph-photo .icon { width: 22px; height: 22px; }

/* Programme page: sticky "Plans et prix" bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; justify-content: center; padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); pointer-events: none; opacity: 0; transform: translateY(120%); transition: transform .3s var(--ease), opacity .3s; }
.action-bar.is-visible { opacity: 1; transform: none; }
.action-bar__inner { pointer-events: auto; display: flex; align-items: center; gap: 16px; max-width: 100%; padding: 6px 6px 6px 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 24px 60px -24px rgba(11, 11, 11, .28); }
.action-bar__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; color: var(--muted); }
.action-bar__name { color: var(--ink); font-weight: 500; }
.action-bar__price::before { content: " · "; }
.action-bar .btn { flex: none; }
@media (max-width: 520px) { .action-bar__inner { width: 100%; padding-left: 18px; } .action-bar__text { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; } .action-bar__name, .action-bar__price { overflow: hidden; text-overflow: ellipsis; } .action-bar__price { font-size: 14px; } .action-bar__price::before { content: none; } }
@media (prefers-reduced-motion: reduce) { .action-bar { transition: none; } }

/* Programme page: thumbnail row under the photo (one line, 3 visible, scrolls sideways) */
.prog-media { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.prog-media .gallery { flex: 1 1 auto; }
/* Desktop: photo at John's 560 px so photo + thumbnails fit the first screen; the column stays in view
   while the (taller) black card with the form scrolls past. */
@media (min-width: 961px) {
    .prog-top { align-items: start; }
    .prog-media { position: sticky; top: 84px; }
    .prog-media .gallery { flex: none; height: clamp(360px, calc(100vh - 300px), 560px); min-height: 0; } /* thumbnails stay in the first screen */
}
.thumbs { position: relative; }
.thumbs__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; padding: 6px; margin: -6px; scroll-padding-inline: 6px; overflow-x: auto; scroll-snap-type: x mandatory; /* room for the 4 px outline of the selected thumbnail (Didier) */ scrollbar-width: none; overscroll-behavior-x: contain; }
.thumbs__track::-webkit-scrollbar { display: none; }
.thumbs__item { scroll-snap-align: start; height: 120px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--surface); cursor: pointer; }
.thumbs__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.thumbs__item:hover img { opacity: .85; }
.thumbs__item.is-active { outline: 2px solid var(--ink); outline-offset: 2px; }
.thumbs__item.is-active img { opacity: 1; }
.thumbs__item:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.thumbs__arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(11, 11, 11, .2); cursor: pointer; }
.thumbs__arrow[hidden] { display: none; }
.thumbs__arrow .icon { width: 16px; height: 16px; }
.thumbs__arrow--prev { left: 10px; }
.thumbs__arrow--next { right: 10px; }
@media (max-width: 960px) { .thumbs__item { height: 84px; border-radius: 12px; } }
@media (prefers-reduced-motion: reduce) { .thumbs__item img { transition: none; } }

/* Fallback content */
.prose { margin-top: 32px; color: var(--text); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; color: var(--ink); letter-spacing: -.02em; font-weight: 500; margin-top: 1.6em; }
.prose a { color: var(--ink); text-decoration: underline; }

/* Reduced motion: everything moving is removed. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .pcard:hover, .mini-card:hover, .news-row:hover, .news-lead:hover, a.bento__card:hover, button.bento__card:hover { transform: none; }
}

/* Cookie banner (template-parts/cookie-banner.php): a card at the bottom left, above everything but the lead drawer */
.cookies[hidden] { display: none; }
.cookies { position: fixed; left: max(24px, env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(11, 11, 11, .05), 0 30px 70px -20px rgba(11, 11, 11, .35); opacity: 0; transform: translateY(16px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.cookies.is-open { opacity: 1; transform: none; }
.cookies__title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.cookies__text { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.cookies__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.cookies__btn { width: 100%; padding-inline: 12px; }
.cookies__link { display: block; margin: 12px auto 0; padding: 4px 8px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookies__list { margin: 14px 0 0; padding: 0; list-style: none; }
.cookies__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cookies__item:last-child { border-bottom: 0; }
.cookies__name { display: block; margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.cookies__desc { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cookies__tools { display: block; margin-top: 2px; color: var(--text); }
.cookies__always { flex-shrink: 0; padding-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--tint-grey); transition: background .2s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 11, 11, .25); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--coral); outline-offset: 2px; }
.site-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.site-footer__cookies:hover { text-decoration: underline; }
@media (max-width: 560px) { .cookies { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: auto; padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .cookies { transition: none; } }

/* Managed residence label (student, senior, tourism): investment only, the buyer doesn't live there */
.pcard__managed { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--tint-grey); color: var(--ink); font-size: 13px; font-weight: 500; }
.prog-card__managed { display: inline-block; margin: 10px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; font-weight: 500; }


/* Base map (map.js): Mapbox Streets, colours toned down so the clusters and price pins stay on top (2026-11-25) */
.map--soft .leaflet-tile-pane { filter: saturate(.55) brightness(1.04) contrast(.95); }
