/*
 * Réalisations — direction "Horizon" (maquettes 34a fiche, 33a liste), lot 129.
 * Feuille à part (comme horizon-gabarits.css) : chargée seulement par les
 * gabarits templates/realisations/*.php. Classes hz-r-*, variables --horizon-*.
 * Mobile d'abord (maquette 390 px), puis tablette / bureau.
 */

.hz-r-page {
    --r-bleu: var(--horizon-bleu, #12314A);
    --r-nuit: var(--horizon-bleu-deep, #0C2333);
    --r-texte: var(--horizon-anthracite, #1C201E);
    --r-doux: var(--horizon-anthracite-soft, #4B5049);
    --r-ligne: var(--horizon-gris-verre-ligne, #E4E5E2);
    --r-verre: var(--horizon-gris-verre, #F1F2F0);
    --r-ciel: #C5DBF7;
    --r-laiton: var(--horizon-laiton, #A8875E);
    --r-sauge: var(--horizon-sauge, #3F5C4C);
    --r-in: cubic-bezier(.22, 1, .36, 1);
    font-family: var(--horizon-font-sans, 'Manrope', 'Helvetica Neue', Arial, sans-serif);
    color: var(--r-texte);
    background: #FFFFFF;
}

.hz-r-page img { max-width: 100%; }
.hz-r-page h1, .hz-r-page h2, .hz-r-page h3 { text-transform: none; }

/* Surtitre : trait laiton + capitales espacées */
.hz-r-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--r-bleu);
}
.hz-r-eyebrow > span { flex: none; width: 20px; height: 1px; background: var(--r-laiton); }
.hz-r-eyebrow.is-light { color: #FFFFFF; }

.hz-r-h2 {
    margin: 12px 0 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
    color: var(--r-bleu);
    text-wrap: balance;
}

/* ---------------------------------------------------------------
 * 2. Héros
 * ------------------------------------------------------------- */

.hz-r-hero {
    position: relative;
    height: 600px;
    max-height: 86svh;
    min-height: 480px;
    overflow: hidden;
    background: var(--r-nuit);
    color: #FFFFFF;
}
.hz-r-hero__media { position: absolute; inset: 0; display: block; will-change: transform; }
.hz-r-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hz-r-hero__veil { position: absolute; left: 0; right: 0; pointer-events: none; }
.hz-r-hero__veil--top { top: 0; height: 140px; background: linear-gradient(to bottom, rgba(12, 35, 51, .6), rgba(12, 35, 51, 0)); }
.hz-r-hero__veil--bottom { bottom: 0; height: 360px; background: linear-gradient(to top, rgba(12, 35, 51, .96) 0%, rgba(12, 35, 51, .74) 50%, rgba(12, 35, 51, 0) 100%); }

.hz-r-crumbs { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 1; }
.hz-r-crumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hz-r-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: #FFFFFF; text-decoration: none; }
.hz-r-crumbs a:hover, .hz-r-crumbs a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.hz-r-crumbs li[aria-current], .hz-r-crumbs__sep { color: var(--r-ciel); }

.hz-r-hero__in { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; }
.hz-r-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hz-r-chip {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #FFFFFF;
}
.hz-r-chip.is-solid { background: #FFFFFF; border-color: #FFFFFF; color: var(--r-bleu); }
.hz-r-hero__title {
    margin: 12px 0 0;
    max-width: 16ch;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
    color: #FFFFFF;
    text-wrap: balance;
}
.hz-r-hero__lead { margin: 10px 0 0; max-width: 46ch; font-size: 15.5px; line-height: 1.5; color: var(--r-ligne); }

/* ---------------------------------------------------------------
 * 3–4. Chapô et fiche du projet
 * ------------------------------------------------------------- */

.hz-r-intro { padding-top: 26px; }
.hz-r-chapo { margin: 0; font-size: 17px; line-height: 1.65; color: var(--r-texte); text-wrap: pretty; max-width: 62ch; }
.hz-r-projet { margin-top: 24px; }
.hz-r-projet dl { margin: 12px 0 0; border-bottom: 1px solid var(--r-ligne); }
.hz-r-projet__row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--r-ligne);
}
.hz-r-projet dt { padding-top: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--r-doux); }
.hz-r-projet dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--r-bleu); }
.hz-r-projet dd a { color: var(--r-bleu); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------
 * 5. Récit en cartes, façon stories
 * ------------------------------------------------------------- */

.hz-r-story { margin-top: 34px; }
.hz-r-story__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hz-r-story__title { margin: 8px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; color: var(--r-bleu); }
.hz-r-story__nav { display: flex; gap: 8px; flex: none; }
.hz-r-round {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 49, 74, .22);
    background: #FFFFFF;
    color: var(--r-bleu);
    font: 700 17px/1 var(--horizon-font-sans, sans-serif);
    cursor: pointer;
}
.hz-r-round.is-solid { border: 0; background: var(--r-bleu); color: #FFFFFF; }
.hz-r-round:focus-visible { outline: 2px solid var(--r-laiton); outline-offset: 2px; }

.hz-r-story__stage { position: relative; margin-top: 14px; }
.hz-r-story__bars {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 14px;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    gap: 4px;
    pointer-events: none;
}
.hz-r-story__bars > span { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.hz-r-story__bars > span > span { position: absolute; inset: 0; background: #FFFFFF; transform-origin: 0 50%; transform: scaleX(0); }

.hz-r-story__track {
    display: flex;
    gap: 10px;
    padding: 0 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 32px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hz-r-story__track::-webkit-scrollbar { display: none; }

.hz-r-card {
    position: relative;
    flex: none;
    width: min(326px, calc(100vw - 64px));
    height: 540px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--r-nuit);
    scroll-snap-align: center;
}
.hz-r-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-r-card__veil { position: absolute; left: 0; right: 0; pointer-events: none; }
.hz-r-card__veil--top { top: 0; height: 110px; background: linear-gradient(to bottom, rgba(12, 35, 51, .6), rgba(12, 35, 51, 0)); }
.hz-r-card__veil--bottom { bottom: 0; height: 330px; background: linear-gradient(to top, rgba(12, 35, 51, .96) 0%, rgba(12, 35, 51, .78) 48%, rgba(12, 35, 51, 0) 100%); }
.hz-r-card__num { position: absolute; left: 18px; top: 30px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.hz-r-card__num span { color: var(--r-ciel); font-weight: 600; }
.hz-r-card__txt { position: absolute; left: 18px; right: 18px; bottom: 22px; }
.hz-r-card__txt h2 { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: #FFFFFF; text-wrap: pretty; }
.hz-r-card__txt p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--r-ligne); }

/* Anciennes réalisations : contenu de l'éditeur, habillé sobrement */
.hz-r-legacy { margin-top: 30px; max-width: 760px; font-size: 16px; line-height: 1.7; }
.hz-r-legacy img { height: auto; border-radius: 16px; }
.hz-r-legacy h2, .hz-r-legacy h3 { color: var(--r-bleu); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.hz-r-legacy figure { margin: 18px 0; }
.hz-r-legacy a { color: var(--r-bleu); }

/* ---------------------------------------------------------------
 * 6–8. Emprise, FAQ, boutique
 * ------------------------------------------------------------- */

.hz-r-grid { display: grid; gap: 34px; padding-top: 34px; }

.hz-r-fp { padding: 22px 18px 18px; border-radius: 18px; background: var(--r-verre); }
.hz-r-fp__lead { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--r-doux); }
.hz-r-fp__plan { margin-top: 14px; padding: 6px 4px 0; }
.hz-r-fp__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hz-r-fp__rect { fill: #12314A; fill-opacity: .08; stroke: #12314A; stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 0; }
.hz-r-fp__dim { font-family: var(--horizon-font-sans, sans-serif); font-size: 12px; font-weight: 700; fill: #12314A; }
.hz-r-fp__area { font-size: 15px; font-weight: 800; }
.hz-r-fp__name { font-size: 11px; font-weight: 600; fill: #4B5049; }
.hz-r-fp__boxes { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hz-r-fp__box { padding: 12px 14px; border-radius: 12px; background: #FFFFFF; }
.hz-r-fp__k { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--r-doux); }
.hz-r-fp__v { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--r-bleu); font-variant-numeric: tabular-nums; }
.hz-r-fp__model {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #FFFFFF;
    text-decoration: none;
}
.hz-r-fp__model img { width: 84px; height: 70px; object-fit: contain; display: block; }
.hz-r-fp__model > span > span { display: block; }
.hz-r-fp__mname { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--r-bleu); }
.hz-r-fp__mspec { margin-top: 2px; font-size: 12.5px; color: var(--r-doux); }
.hz-r-fp__mgo { margin-top: 5px; font-size: 13.5px; font-weight: 700; color: var(--r-bleu); }

.hz-r-faq .hz-r-h2 { margin-bottom: 14px; }
.hz-r-faq details { border-top: 1px solid var(--r-ligne); }
.hz-r-faq details:last-of-type { border-bottom: 1px solid var(--r-ligne); }
.hz-r-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
    color: var(--r-bleu);
}
.hz-r-faq summary::-webkit-details-marker { display: none; }
.hz-r-faq summary h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: inherit; }
.hz-r-faq__plus {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 49, 74, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    transition: transform .3s var(--r-in);
}
.hz-r-faq details[open] .hz-r-faq__plus { transform: rotate(45deg); }
.hz-r-faq details p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--r-texte); }

.hz-r-shopcard { position: relative; margin-top: 12px; border: 1px solid var(--r-ligne); border-radius: 18px; overflow: hidden; background: #FFFFFF; }
.hz-r-shopcard__photo { display: block; height: 148px; background: var(--r-verre); }
.hz-r-shopcard__photo img { display: block; width: 100%; height: 148px; object-fit: cover; }
.hz-r-shopcard__status {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    color: var(--r-bleu);
}
.hz-r-shopcard__status > span { width: 7px; height: 7px; border-radius: 999px; background: var(--r-laiton); }
.hz-r-shopcard__status.is-open > span { background: var(--r-sauge); }
.hz-r-shopcard__body { padding: 16px; }
.hz-r-shopcard__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hz-r-shopcard__city { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--r-bleu); text-decoration: none; }
.hz-r-shopcard__more { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin: -12px -4px -12px 0; padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--r-bleu); text-decoration: none; }
.hz-r-shopcard address { margin-top: 4px; font-style: normal; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--r-texte); }
.hz-r-shopcard__meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--r-ligne); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 13.5px; line-height: 1.45; }
.hz-r-shopcard__meta span:first-child { padding-top: 1px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--r-doux); }
.hz-r-shopcard__actions { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hz-r-shopcard__tel, .hz-r-shopcard__go {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.hz-r-shopcard__tel { background: var(--r-bleu); color: #FFFFFF; }
.hz-r-shopcard__go { border: 1.5px solid var(--r-sauge); color: var(--r-sauge); }
.hz-r-shopcard__actions > a:only-child { grid-column: 1 / -1; }

/* ---------------------------------------------------------------
 * 9. Étude à domicile
 * ------------------------------------------------------------- */

.hz-r-form { margin-top: 34px; padding: 30px 0 26px; background: var(--r-nuit); color: #FFFFFF; scroll-margin-top: 72px; }
.hz-r-form__in { display: grid; gap: 18px; }
.hz-r-form__title { margin: 12px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: #FFFFFF; text-wrap: balance; }
.hz-r-form__lead { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--r-ligne); max-width: 52ch; }
.hz-r-form__form { display: flex; flex-direction: column; gap: 12px; }
.hz-r-form__pair { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.hz-r-field { display: flex; flex-direction: column; gap: 6px; }
.hz-r-field > span { font-size: 13px; font-weight: 700; color: #FFFFFF; }
.hz-r-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 0 14px;
    border: 1.5px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    background: #FFFFFF;
    font: 500 16px var(--horizon-font-sans, sans-serif);
    color: var(--r-texte);
}
.hz-r-field input:focus-visible { outline: 3px solid var(--r-ciel); outline-offset: 1px; }
.hz-r-field input[aria-invalid="true"] { border-color: #F2B8A0; }
.hz-r-field em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #F7C9B6; }
.hz-r-field em:empty { display: none; }
.hz-r-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hz-r-form__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--r-bleu);
    font: 700 15.5px var(--horizon-font-sans, sans-serif);
    text-decoration: none;
    cursor: pointer;
}
.hz-r-form__btn.is-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); color: #FFFFFF; }
.hz-r-form__btn[disabled] { opacity: .6; cursor: progress; }
.hz-r-form__msg { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: #FFFFFF; }
.hz-r-form__msg:empty { display: none; }
.hz-r-form__legal { margin: 0; font-size: 12px; line-height: 1.55; color: var(--r-ciel); }
.hz-r-form__legal a { color: #FFFFFF; font-weight: 700; }
.hz-r-form__ctas { display: grid; gap: 10px; align-content: end; }
.hz-r-form.is-sent .hz-r-field, .hz-r-form.is-sent .hz-r-form__pair, .hz-r-form.is-sent .hz-r-form__btn { display: none; }

/* ---------------------------------------------------------------
 * 11. Maillage
 * ------------------------------------------------------------- */

.hz-r-more { padding: 30px 0 34px; }
.hz-r-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hz-r-more__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--r-bleu); }
.hz-r-more__head a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; font-weight: 700; color: var(--r-bleu); text-decoration: none; }
.hz-r-more__track {
    margin: 8px auto 0;
    max-width: 1120px;
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
}
.hz-r-more__track::-webkit-scrollbar { display: none; }
.hz-r-mini { flex: none; width: 220px; scroll-snap-align: start; text-decoration: none; }
.hz-r-mini > span { display: block; }
.hz-r-mini__img { height: 150px; border-radius: 14px; overflow: hidden; background: var(--r-verre); }
.hz-r-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--r-in); }
.hz-r-mini:hover .hz-r-mini__img img { transform: scale(1.04); }
.hz-r-mini__kicker { margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r-doux); }
.hz-r-mini__title { margin-top: 4px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--r-bleu); }
.hz-r-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hz-r-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 49, 74, .18);
    color: var(--r-bleu);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.hz-r-links a:hover { border-color: var(--r-bleu); }

/* ---------------------------------------------------------------
 * 10. Barre d'action fixe (mobile)
 * translateZ(0) : Safari peint sinon les vidéos/animations par-dessus
 * les éléments fixes (cf. lots 63 / 125).
 * ------------------------------------------------------------- */

.hz-r-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid var(--r-ligne);
    transform: translate3d(0, 105%, 0);
    transition: transform 420ms var(--r-in);
}
.hz-r-sticky.is-on { transform: translate3d(0, 0, 0); }
.hz-r-sticky__go, .hz-r-sticky__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}
.hz-r-sticky__go { background: var(--r-bleu); color: #FFFFFF; font-size: 14.5px; }
.hz-r-sticky__tel { width: 50px; border: 1.5px solid rgba(18, 49, 74, .22); color: var(--r-bleu); font-size: 13px; font-weight: 800; }
/* La bulle de l'assistant (lot 75) remonte au-dessus de la barre. */
html.hz-r-bar-on .hz-chat { bottom: calc(84px + env(safe-area-inset-bottom)); transition: bottom 420ms cubic-bezier(.22, 1, .36, 1); }
.hz-r { padding-bottom: 8px; }

/* ---------------------------------------------------------------
 * 33a. Liste des réalisations
 * ------------------------------------------------------------- */

.hz-r-list__head { padding-top: 28px; }
.hz-r-list__title { margin: 12px 0 0; font-size: 36px; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: var(--r-bleu); text-wrap: balance; }
.hz-r-list__lead { margin: 12px 0 0; max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--r-doux); }
.hz-r-list__lead p { margin: 0 0 8px; }

.hz-r-filters {
    margin: 20px auto 0;
    max-width: 1120px;
    display: flex;
    gap: 8px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.hz-r-filters::-webkit-scrollbar { display: none; }
.hz-r-filter {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(18, 49, 74, .18);
    background: #FFFFFF;
    color: var(--r-bleu);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s, color .25s, border-color .25s;
}
.hz-r-filter span { font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.hz-r-filter[aria-pressed="true"] { background: var(--r-bleu); border-color: var(--r-bleu); color: #FFFFFF; }
.hz-r-filter:focus-visible { outline: 2px solid var(--r-laiton); outline-offset: 2px; }

.hz-r-list__count { margin: 14px auto 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r-doux); }

.hz-r-cards {
    margin: 12px auto 0;
    padding-top: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.hz-r-tile { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: var(--r-nuit); }
.hz-r-tile[hidden] { display: none; }
/* Une carte sur trois en pleine largeur (rythme de la maquette 33a), recalculé en JS après filtrage. */
.hz-r-tile.is-big { grid-column: 1 / -1; height: 400px; }
.hz-r-tile a { position: absolute; inset: 0; display: block; color: #FFFFFF; text-decoration: none; }
.hz-r-tile__img, .hz-r-tile__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hz-r-tile__img img { transition: transform .8s var(--r-in); }
.hz-r-tile a:hover .hz-r-tile__img img { transform: scale(1.04); }
.hz-r-tile__veil { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(to top, rgba(12, 35, 51, .92), rgba(12, 35, 51, 0)); }
.hz-r-tile__txt { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.hz-r-tile__txt > span { display: block; }
.hz-r-tile__kicker { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--r-ciel); }
.hz-r-tile__title { margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
.hz-r-tile.is-big .hz-r-tile__title { font-size: 22px; }
.hz-r-tile a:focus-visible { outline: 3px solid var(--r-laiton); outline-offset: -3px; border-radius: 18px; }

.hz-r-form--cta { margin-top: 40px; }
.hz-r-seo { padding: 30px 16px; font-size: 15px; line-height: 1.7; color: var(--r-doux); }
.hz-r-seo h2, .hz-r-seo h3 { color: var(--r-bleu); font-weight: 800; letter-spacing: -.03em; }

/* ---------------------------------------------------------------
 * Tablette et bureau
 * ------------------------------------------------------------- */

@media (min-width: 768px) {
    .hz-r-hero { height: 78svh; max-height: 760px; }
    .hz-r-crumbs { left: 32px; right: 32px; top: 24px; }
    .hz-r-hero__in { bottom: 44px; }
    .hz-r-hero__title { font-size: 56px; }
    .hz-r-hero__lead { font-size: 18px; }
    .hz-r-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; padding-top: 44px; align-items: start; }
    .hz-r-projet { margin-top: 0; }
    .hz-r-chapo { font-size: 19px; }
    .hz-r-story { margin-top: 56px; }
    .hz-r-story__track { padding: 0 max(32px, calc((100vw - 1120px) / 2 + 32px)); scroll-padding: 0 max(32px, calc((100vw - 1120px) / 2 + 32px)); gap: 16px; }
    .hz-r-story__bars { left: max(32px, calc((100vw - 1120px) / 2 + 32px)); right: max(32px, calc((100vw - 1120px) / 2 + 32px)); }
    .hz-r-card { width: 420px; height: 600px; scroll-snap-align: start; }
    .hz-r-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 56px; align-items: start; }
    .hz-r-shop { grid-column: 1 / -1; max-width: 540px; }
    .hz-r-form { margin-top: 56px; padding: 48px 0; }
    .hz-r-form__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
    .hz-r-form__title { font-size: 34px; }
    .hz-r-more__track { padding: 0 32px; }
    .hz-r-mini { width: 280px; }
    .hz-r-mini__img { height: 190px; }

    .hz-r-list__head { padding-top: 48px; }
    .hz-r-list__title { font-size: 52px; }
    .hz-r-filters { padding: 0 32px 4px; flex-wrap: wrap; overflow: visible; }
    .hz-r-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .hz-r-tile { height: 300px; }
    .hz-r-tile.is-big { grid-column: span 2; height: 300px; }
    .hz-r-tile.is-big .hz-r-tile__title { font-size: 24px; }
}

@media (min-width: 1024px) {
    .hz-r-sticky { display: none; }
    .hz-r-shop { grid-column: auto; max-width: none; }
    .hz-r-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); }
    .hz-r-tile, .hz-r-tile.is-big { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
    .hz-r-sticky, .hz-r-faq__plus, .hz-r-tile__img img, .hz-r-mini__img img, .hz-r-filter { transition: none; }
}
