/*
 * Home Épure — realisations.css
 * Rubrique « Nos Réalisations » : galerie éditoriale + page projet.
 *
 * Tout est scopé sous [data-rl="root"] / .rl-* : aucune règle ne peut fuir
 * vers le reste du site, ni recevoir celles de style.css.
 *
 * Vocabulaire de la page : neutres chauds, aucun accent coloré (la photographie
 * porte seule la couleur), arêtes franches (aucun angle arrondi), échelle
 * typographique très contrastée, et de larges silences entre les blocs.
 */

/* ══ Sortie de gouttière ══════════════════════════════════════════════════
   header.php ouvre <main class="container"> (max-width 1360px + padding).
   La rubrique doit occuper toute la largeur de l'écran : on annule ce cadre
   depuis l'intérieur. --rl-sbw (largeur de la barre de défilement, mesurée en
   JS) empêche 100vw de dépasser la fenêtre sur les systèmes à barre permanente. */
main.container:has([data-rl="root"]) { width: 100%; }

[data-rl="root"] {
    --ink:      #131211;
    --ink-2:    #1F1C19;
    --paper:    #ffffff;
    --ivory:    #F6F4F0;
    --sand:     #EDE8E0;
    --line:     #E2DBD1;
    --line-dk:  rgba(255,255,255,.14);
    --mute:     #8A8177;
    --mute-dk:  rgba(255,255,255,.56);

    --f-ui:     'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --f-serif:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;

    --pad:      clamp(20px, 5vw, 80px);
    --sect:     clamp(70px, 9vw, 148px);
    --swing:    cubic-bezier(.16, 1, .3, 1);
    --smooth:   cubic-bezier(.4, 0, .2, 1);

    width:         calc(100vw - var(--rl-sbw, 0px));
    max-width:     calc(100vw - var(--rl-sbw, 0px));
    margin-inline: calc(50% - 50vw + var(--rl-sbw, 0px) / 2);
    margin-top:    calc(-1 * var(--gap-lg, 4rem));
    margin-bottom: calc(-1 * var(--gap-lg, 4rem));
    background:    var(--paper);
    color:         var(--ink);
    font-family:   var(--f-ui);
    overflow-x:    clip;
}

[data-rl="root"] *,
[data-rl="root"] *::before,
[data-rl="root"] *::after { box-sizing: border-box; }

[data-rl="root"] img { display: block; max-width: 100%; }
[data-rl="root"] picture { display: block; }

/* ── Primitives ─────────────────────────────────────────────────────────── */
.rl-wrap  { padding-inline: var(--pad); }
.rl-sect  { padding-block: var(--sect); }
.rl-ivory { background: var(--ivory); }
.rl-ink   { background: var(--ink); color: #fff; }
.rl-sand  { background: var(--sand); }

.rl-eyebrow {
    font-size: .58rem; font-weight: 600; letter-spacing: .34em;
    text-transform: uppercase; color: var(--mute);
    display: flex; align-items: center; gap: 14px; margin: 0;
}
.rl-eyebrow::before {
    content: ''; width: 30px; height: 1px; background: currentColor;
    opacity: .5; flex: none;
}
.rl-ink .rl-eyebrow { color: var(--mute-dk); }

.rl-h2 {
    font-family: var(--f-ui);
    font-weight: 200;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    line-height: 1.03;
    letter-spacing: -.035em;
    color: inherit;
    margin: 18px 0 0;
}
.rl-h2 em {
    font-family: var(--f-serif);
    font-style: italic; font-weight: 400; letter-spacing: -.008em;
}

.rl-lede {
    font-family: var(--f-serif);
    font-size: clamp(1.35rem, 2.6vw, 2.15rem);
    line-height: 1.34; font-weight: 300; letter-spacing: -.01em;
    color: var(--ink); margin: 22px 0 0;
}
.rl-lede em { font-style: italic; }
.rl-ink .rl-lede { color: #fff; }

.rl-para {
    font-size: .875rem; line-height: 1.95; color: var(--mute);
    letter-spacing: .012em; margin: 20px 0 0; max-width: 62ch;
}
.rl-ink .rl-para { color: var(--mute-dk); }

.rl-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 52px);
}

.rl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    font-family: var(--f-ui); font-size: .62rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    padding: 17px 32px; border: 1px solid transparent; cursor: pointer;
    text-decoration: none;
    transition: background .35s var(--smooth), color .35s var(--smooth),
                border-color .35s var(--smooth), transform .35s var(--swing);
}
.rl-btn--solid { background: #fff; color: var(--ink); }
.rl-btn--solid:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.rl-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.rl-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; transform: translateY(-2px); }
.rl-btn--ink   { background: var(--ink); color: #fff; }
.rl-btn--ink:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }
.rl-btn--line  { background: transparent; color: var(--ink); border-color: rgba(19,18,17,.28); }
.rl-btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* Apparition au défilement — masquée seulement si le script est bien actif. */
.rl-js .rl-rise {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s var(--smooth), transform 1s var(--swing);
    transition-delay: calc(var(--i, 0) * 80ms);
}
.rl-js .rl-rise.is-in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════════════════
   1 · HÉRO
   ══════════════════════════════════════════════════════════════════════════ */
.rl-hero {
    position: relative;
    height: calc(100svh - 72px);
    min-height: 560px;
    max-height: 1080px;
    display: flex; align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
}
.rl-hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    /* Respiration très lente : perceptible sans jamais devenir un effet. */
    animation: rl-breathe 26s var(--smooth) infinite alternate;
}
@keyframes rl-breathe {
    from { transform: scale(1.001); }
    to   { transform: scale(1.07); }
}
.rl-hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(10,9,8,.86) 0%, rgba(10,9,8,.42) 38%, rgba(10,9,8,.06) 68%, rgba(10,9,8,.22) 100%);
}
.rl-hero__body {
    position: relative;
    width: 100%;
    padding: 0 var(--pad) clamp(58px, 9vh, 118px);
    color: #fff;
}
.rl-hero .rl-eyebrow { color: rgba(255,255,255,.78); }

.rl-hero__title {
    font-family: var(--f-ui);
    font-weight: 200;
    font-size: clamp(3rem, 11vw, 9.5rem);
    line-height: .92;
    letter-spacing: -.05em;
    margin: clamp(16px, 2.4vw, 30px) 0 0;
    color: #fff;
}
.rl-hero__title em {
    font-family: var(--f-serif);
    font-style: italic; font-weight: 300; letter-spacing: -.02em;
}
.rl-line { display: block; overflow: hidden; }
.rl-line > span { display: block; }
.rl-js .rl-line > span {
    transform: translateY(105%);
    animation: rl-up 1.15s var(--swing) forwards;
    animation-delay: calc(.12s + var(--i, 0) * .11s);
}
@keyframes rl-up { to { transform: none; } }

.rl-hero__sub {
    max-width: 46ch; margin: clamp(20px, 2.6vw, 32px) 0 0;
    font-size: .9rem; line-height: 1.85; color: rgba(255,255,255,.8);
    letter-spacing: .015em;
}
.rl-hero__stats { display: flex; gap: clamp(28px, 4vw, 60px); margin-top: clamp(30px, 4vh, 52px); flex-wrap: wrap; }
.rl-stat b {
    display: block; font-weight: 200; font-size: clamp(1.6rem, 3vw, 2.5rem);
    letter-spacing: -.03em; line-height: 1; color: #fff;
}
.rl-stat span {
    display: block; margin-top: 8px; font-size: .56rem; font-weight: 600;
    letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.rl-hero__stats .rl-stat b,
.rl-hero__stats .rl-stat span,
.rl-hero .rl-eyebrow { text-shadow: 0 1px 16px rgba(8,7,6,.5); }

.rl-js .rl-fade {
    opacity: 0; transform: translateY(20px);
    animation: rl-fade .95s var(--smooth) forwards;
    animation-delay: calc(.34s + var(--i, 0) * .1s);
}
@keyframes rl-fade { to { opacity: 1; transform: none; } }

.rl-scroll {
    position: absolute; right: var(--pad); bottom: clamp(58px, 9vh, 118px);
    width: 1px; height: clamp(48px, 8vh, 84px);
    background: rgba(255,255,255,.28); overflow: hidden;
}
.rl-scroll span {
    position: absolute; inset: 0; background: #fff;
    transform: translateY(-100%);
    animation: rl-scroll 2.4s var(--smooth) infinite;
}
@keyframes rl-scroll {
    0%   { transform: translateY(-100%); }
    55%  { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* ══ 2 · MANIFESTE ════════════════════════════════════════════════════════ */
.rl-manifeste { max-width: 940px; }
.rl-manifeste .rl-lede { max-width: 22ch; }
@media (min-width: 900px) { .rl-manifeste .rl-lede { max-width: 30ch; } }

/* ══ 3 · FILTRES ══════════════════════════════════════════════════════════ */
.rl-filters {
    display: flex; flex-wrap: wrap; gap: 6px 30px;
    padding-bottom: 20px; margin-bottom: clamp(34px, 4.5vw, 62px);
    border-bottom: 1px solid var(--line);
}
.rl-filter {
    position: relative;
    font-size: .63rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--mute); text-decoration: none; padding: 8px 0 10px;
    display: inline-flex; align-items: baseline; gap: 7px;
    transition: color .3s var(--smooth);
    white-space: nowrap;
}
.rl-filter span { font-size: .56rem; opacity: .55; font-weight: 500; }
.rl-filter::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 1px; background: var(--ink);
    transition: right .55s var(--swing);
}
.rl-filter:hover { color: var(--ink); }
.rl-filter:hover::after { right: 0; }
.rl-filter.is-on { color: var(--ink); }
.rl-filter.is-on::after { right: 0; }

/* ══ 4 · GRILLE ÉDITORIALE ════════════════════════════════════════════════
   Douze colonnes, formats alternés selon --n (posé en JS d'après la position
   VISIBLE, pour que le motif survive au filtrage). Les décalages verticaux
   sont ce qui distingue une planche éditoriale d'un catalogue en damier. */
.rl-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(16px, 2.4vw, 44px);
    row-gap: clamp(48px, 7vw, 118px);
    align-items: start;
}
.rl-item { grid-column: span 12; }
.rl-item[hidden] { display: none; }

@media (min-width: 860px) {
    .rl-item { grid-column: span 6; }
    /* 7 + 5, puis pleine largeur, puis 5 + 7, puis pleine largeur.
       Le rang est porté par data-n (et non par une variable CSS) : un sélecteur
       d'attribut sur la valeur est exact, là où [style*="--n:0"] dépend de la
       façon dont chaque navigateur re-sérialise la propriété personnalisée. */
    .rl-item[data-n="0"] { grid-column: span 7; }
    .rl-item[data-n="1"] { grid-column: span 5; padding-top: clamp(30px, 7vw, 110px); }
    .rl-item[data-n="2"] { grid-column: span 12; }
    .rl-item[data-n="3"] { grid-column: span 5; }
    .rl-item[data-n="4"] { grid-column: span 7; padding-top: clamp(30px, 7vw, 110px); }
    .rl-item[data-n="5"] { grid-column: span 12; }

    .rl-item[data-n="0"] .rl-item__frame { aspect-ratio: 3 / 2; }
    .rl-item[data-n="1"] .rl-item__frame { aspect-ratio: 4 / 5; }
    .rl-item[data-n="2"] .rl-item__frame { aspect-ratio: 21 / 9; }
    .rl-item[data-n="3"] .rl-item__frame { aspect-ratio: 4 / 5; }
    .rl-item[data-n="4"] .rl-item__frame { aspect-ratio: 3 / 2; }
    .rl-item[data-n="5"] .rl-item__frame { aspect-ratio: 21 / 9; }

    /* Un seul projet visible : il prend toute la largeur plutôt que de flotter
       à gauche d'un vide. */
    .rl-grid--solo .rl-item { grid-column: span 12 !important; padding-top: 0 !important; }
    .rl-grid--solo .rl-item .rl-item__frame { aspect-ratio: 21 / 9 !important; }
}

.rl-item__link { display: block; text-decoration: none; color: inherit; }
.rl-item__frame {
    display: block; position: relative; overflow: hidden;
    background: var(--sand); aspect-ratio: 4 / 5;
}
.rl-item__frame::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,11,10,.28), transparent 46%);
    opacity: 0; transition: opacity .6s var(--smooth);
}
.rl-item__frame picture,
.rl-item__frame .rl-item__img { width: 100%; height: 100%; }
.rl-item__img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.25s var(--swing), filter 1s var(--smooth);
}
.rl-item__link:hover .rl-item__img { transform: scale(1.045); }
.rl-item__link:hover .rl-item__frame::after { opacity: 1; }

.rl-item__star {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: rgba(255,255,255,.94); color: var(--ink);
    font-size: .53rem; font-weight: 700; letter-spacing: .24em;
    text-transform: uppercase; padding: 9px 15px;
}

.rl-item__meta { display: block; padding-top: clamp(16px, 1.9vw, 26px); }
.rl-item__cat {
    display: block; font-size: .55rem; font-weight: 600; letter-spacing: .28em;
    text-transform: uppercase; color: var(--mute);
}
.rl-item__cat i { font-style: normal; opacity: .7; }
.rl-item__title {
    display: block; margin-top: 12px;
    font-family: var(--f-ui); font-weight: 200;
    font-size: clamp(1.3rem, 2.1vw, 1.95rem);
    line-height: 1.15; letter-spacing: -.028em; color: var(--ink);
    position: relative;
}
.rl-item__loc {
    display: block; margin-top: 8px;
    font-family: var(--f-serif); font-style: italic;
    font-size: 1rem; color: var(--mute);
}
.rl-item__accroche {
    display: block; margin-top: 12px; max-width: 48ch;
    font-size: .82rem; line-height: 1.8; color: var(--mute);
}
.rl-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.rl-item__tags i {
    font-style: normal; font-size: .55rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--mute);
    border: 1px solid var(--line); padding: 5px 11px;
}
.rl-item__go {
    display: inline-flex; align-items: center; gap: 11px; margin-top: 18px;
    font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink); position: relative; padding-bottom: 7px;
}
.rl-item__go::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: currentColor; opacity: .22;
}
.rl-item__go::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: currentColor; transition: width .6s var(--swing);
}
.rl-item__link:hover .rl-item__go::after { width: 100%; }
.rl-item__go svg { transition: transform .45s var(--swing); }
.rl-item__link:hover .rl-item__go svg { transform: translateX(6px); }

.rl-js .rl-item {
    opacity: 0; transform: translateY(34px);
    transition: opacity 1s var(--smooth), transform 1.05s var(--swing);
    transition-delay: calc(var(--d, 0) * 90ms);
}
.rl-js .rl-item.is-in { opacity: 1; transform: none; }

.rl-noresult, .rl-empty { text-align: center; padding: clamp(40px, 8vw, 90px) 0; }
.rl-noresult { color: var(--mute); font-size: .88rem; }
.rl-empty .rl-eyebrow { justify-content: center; }
.rl-empty .rl-lede { margin-inline: auto; max-width: 26ch; }
.rl-empty .rl-btn { margin-top: 34px; }

/* ══ 5 · APPEL FINAL ══════════════════════════════════════════════════════ */
.rl-cta__in {
    display: grid; grid-template-columns: 1fr; gap: clamp(30px, 5vw, 70px);
}
@media (min-width: 900px) { .rl-cta__in { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.rl-cta__side { display: flex; flex-direction: column; }
.rl-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ══════════════════════════════════════════════════════════════════════════
   PAGE PROJET
   ══════════════════════════════════════════════════════════════════════════ */

/* Fil d'Ariane discret, posé sur le héro. */
.rl-crumb {
    position: absolute; top: clamp(22px, 4vh, 44px); left: var(--pad); z-index: 3;
    display: flex; align-items: center; gap: 10px;
    font-size: .56rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.rl-crumb a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .3s; }
.rl-crumb a:hover { color: #fff; }
.rl-crumb span { color: rgba(255,255,255,.38); }

.rl-phero__title { font-size: clamp(2.3rem, 7.4vw, 6.4rem); }

/* ── Bandeau d'informations ─────────────────────────────────────────────── */
.rl-facts {
    display: grid; gap: 1px;
    grid-template-columns: repeat(2, 1fr);
    background: var(--line);
    border-block: 1px solid var(--line);
}
@media (min-width: 760px) { .rl-facts { grid-template-columns: repeat(4, 1fr); } }
.rl-fact { background: var(--paper); padding: clamp(24px, 3.4vw, 44px) clamp(18px, 2.4vw, 34px); }
.rl-fact dt {
    font-size: .53rem; font-weight: 600; letter-spacing: .28em;
    text-transform: uppercase; color: var(--mute);
}
.rl-fact dd {
    margin: 12px 0 0; font-family: var(--f-ui); font-weight: 200;
    font-size: clamp(1rem, 1.7vw, 1.4rem); letter-spacing: -.02em; color: var(--ink);
    line-height: 1.25;
}

/* ── Introduction en colonne éditoriale ─────────────────────────────────── */
.rl-intro { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 980px) { .rl-intro { grid-template-columns: 5fr 7fr; } }
.rl-intro__aside { position: relative; }
@media (min-width: 980px) { .rl-intro__aside { position: sticky; top: 110px; align-self: start; } }
.rl-intro__txt p { margin-top: 20px; }
.rl-intro__txt p:first-child { margin-top: 0; }
.rl-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.rl-tags i {
    font-style: normal; font-size: .55rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--mute); border: 1px solid var(--line); padding: 6px 12px;
}

/* ── Galerie immersive ──────────────────────────────────────────────────── */
.rl-shots { display: flex; flex-direction: column; gap: clamp(16px, 3vw, 54px); }
.rl-duo { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 3vw, 54px); }
@media (min-width: 820px) { .rl-duo { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 820px) { .rl-duo > *:nth-child(2) { margin-top: clamp(24px, 6vw, 90px); } }

.rl-shot { position: relative; background: var(--sand); }
/* Ces règles ne visent QUE la photo du projet, jamais les images qu'elle
   contient par ailleurs (vignette produit d'une fiche de point). D'où le
   « > picture » : un sélecteur large comme « .rl-shot img » l'emporterait par
   spécificité sur .rl-hcard__img — y compris depuis une media query — et la
   vignette du panneau mobile s'étirerait sur toute la largeur. */
.rl-shot > picture { width: 100%; }
/* « height: auto » est indispensable : les <img> portent leurs dimensions
   intrinsèques en attributs (pour réserver la place et éviter le saut de page).
   Sans cette règle, la hauteur reste figée à la valeur de l'attribut et la photo
   s'affiche à sa taille d'origine, quelle que soit la largeur du cadre.
   Les proportions d'origine sont conservées — une photo d'intérieur recadrée de
   force perd ce que le photographe a cadré. Le plafond de hauteur évite
   seulement qu'un portrait pleine largeur dépasse l'écran. */
.rl-shot > picture > img,
.rl-shot > img { width: 100%; height: auto; display: block; }
.rl-shot--wide > picture > img,
.rl-shot--wide > img { max-height: 92svh; object-fit: cover; }
.rl-shot--tall > picture > img,
.rl-shot--tall > img { max-height: 104svh; object-fit: cover; }
.rl-shot__cap {
    margin-top: 14px; font-family: var(--f-serif); font-style: italic;
    font-size: 1rem; color: var(--mute); line-height: 1.55;
}

/* ── Points produits ────────────────────────────────────────────────────── */
.rl-hs {
    position: absolute; z-index: 3;
    width: 22px; height: 22px; margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    box-shadow: 0 2px 14px rgba(0,0,0,.35);
    text-decoration: none;
    display: grid; place-items: center;
    transition: transform .45s var(--swing), background .3s var(--smooth);
}
/* Cible tactile confortable : le point reste discret à l'œil, mais la zone
   sensible fait 44 px — en dessous, il est impossible à viser au doigt. */
.rl-hs::before {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 46px; height: 46px; transform: translate(-50%, -50%);
    border-radius: 50%;
}
.rl-hs__dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
    transition: transform .4s var(--swing);
}
/* Halo : une seule onde lente, jamais un clignotement. */
.rl-hs__ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.9);
    animation: rl-pulse 2.9s var(--smooth) infinite;
    pointer-events: none;
}
@keyframes rl-pulse {
    0%   { transform: scale(1);   opacity: .85; }
    70%  { transform: scale(2.1); opacity: 0; }
    100% { transform: scale(2.1); opacity: 0; }
}
.rl-hs:hover, .rl-hs:focus-visible { transform: scale(1.18); background: #fff; outline: none; }
.rl-hs:focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 2px 14px rgba(0,0,0,.4); }

.rl-hs__lab {
    position: absolute; left: 50%; bottom: calc(100% + 12px);
    transform: translate(-50%, 6px);
    background: rgba(19,18,17,.94); color: #fff;
    font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    padding: 8px 13px; white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .35s var(--smooth), transform .45s var(--swing);
    max-width: 46vw; overflow: hidden; text-overflow: ellipsis;
}
.rl-hs:hover .rl-hs__lab,
.rl-hs:focus-visible .rl-hs__lab { opacity: 1; transform: translate(-50%, 0); }

/* Fiche produit au clic. */
.rl-hcard {
    position: absolute; z-index: 6;
    width: 268px; background: var(--paper);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    display: none;
    transform: translate(-50%, -100%);
}
.rl-hcard.is-open { display: block; animation: rl-card .4s var(--swing); }
@keyframes rl-card { from { opacity: 0; } }
.rl-hcard__link { display: block; text-decoration: none; color: inherit; }
.rl-hcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.rl-hcard__in { display: block; padding: 15px 17px 17px; }
.rl-hcard__cat {
    font-size: .5rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute);
}
.rl-hcard__nom {
    display: block; margin-top: 7px; font-size: .92rem; font-weight: 400;
    letter-spacing: -.01em; color: var(--ink); line-height: 1.3;
}
.rl-hcard__prix { margin-top: 9px; font-size: .82rem; color: var(--ink); }
.rl-hcard__prix s { color: var(--mute); opacity: .75; margin-left: 8px; font-size: .74rem; }
.rl-hcard__go {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 14px;
    font-size: .56rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink); border-bottom: 1px solid rgba(19,18,17,.25); padding-bottom: 6px;
}
.rl-hcard__go svg { transition: transform .4s var(--swing); }
.rl-hcard:hover .rl-hcard__go svg { transform: translateX(5px); }
.rl-hcard__close {
    position: absolute; top: 8px; right: 8px; width: 30px; height: 30px;
    border: 0; background: rgba(255,255,255,.92); color: var(--ink);
    cursor: pointer; font-size: 15px; line-height: 1; display: grid; place-items: center;
}

/* Sur mobile, la fiche devient un panneau bas : une carte ancrée au point
   sortirait de l'écran ou masquerait la photo qu'elle commente. */
@media (max-width: 719px) {
    /* !important assumé : la position exacte du point est écrite en style en
       ligne (left/top en pourcentage de la photo), ce qui n'a de sens qu'en
       fiche ancrée. Sur mobile la fiche devient un panneau bas ancré à la
       fenêtre ; sans surcharge, l'attribut style l'emporterait et la fiche
       s'ouvrirait décalée, voire hors de l'écran. */
    .rl-hcard {
        position: fixed;
        left: 0 !important; right: 0;
        bottom: 0; top: auto !important;
        width: 100%; transform: none !important;
        display: none;
        box-shadow: 0 -16px 46px rgba(0,0,0,.32);
    }
    .rl-hcard.is-open { display: block; padding: 14px; animation: rl-sheet .4s var(--swing); }
    @keyframes rl-sheet { from { transform: translateY(100%); } }
    .rl-hcard__link { display: flex; gap: 14px; align-items: flex-start; }
    .rl-hcard__img { width: 92px; height: 92px; aspect-ratio: 1; flex: none; }
    .rl-hcard__in { padding: 2px 0; flex: 1; min-width: 0; }
    .rl-hcard__go { margin-top: 10px; }
    .rl-hs__lab { display: none; }
}

/* ── Histoire ───────────────────────────────────────────────────────────── */
.rl-story { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 70px); }
@media (min-width: 980px) { .rl-story { grid-template-columns: 4fr 8fr; } }
.rl-story__txt p { margin-top: 22px; color: var(--mute-dk); font-size: .9rem; line-height: 2; max-width: 68ch; }
.rl-story__txt p:first-child { margin-top: 0; }

/* ── Produits présents ──────────────────────────────────────────────────── */
.rl-prods {
    display: grid; gap: clamp(20px, 2.6vw, 40px);
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.rl-prod { text-decoration: none; color: inherit; display: block; }
.rl-prod__f { position: relative; overflow: hidden; background: var(--ivory); aspect-ratio: 1; }
.rl-prod__f img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--swing); }
.rl-prod:hover .rl-prod__f img { transform: scale(1.05); }
.rl-prod__tag {
    position: absolute; top: 0; left: 0;
    background: var(--ink); color: #fff; font-size: .5rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px;
}
.rl-prod__c { display: block; margin-top: 14px; font-size: .53rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.rl-prod__n { display: block; margin-top: 8px; font-size: .88rem; line-height: 1.35; color: var(--ink); }
.rl-prod__p { display: block; margin-top: 8px; font-size: .82rem; color: var(--ink); }
.rl-prod__p s { color: var(--mute); margin-left: 7px; font-size: .74rem; }

/* ── Projets similaires ─────────────────────────────────────────────────── */
.rl-more { display: grid; gap: clamp(22px, 3vw, 44px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .rl-more { grid-template-columns: repeat(3, 1fr); } }
.rl-more__i { text-decoration: none; color: inherit; }
.rl-more__f { overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.rl-more__f img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.15s var(--swing); }
.rl-more__i:hover .rl-more__f img { transform: scale(1.05); }
.rl-more__c { display: block; margin-top: 14px; font-size: .53rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.rl-more__t { display: block; margin-top: 9px; font-weight: 200; font-size: 1.18rem; letter-spacing: -.02em; color: var(--ink); }

/* ══════════════════════════════════════════════════════════════════════════
   ADAPTATIONS ÉCRAN
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .rl-hero { height: calc(100svh - 60px); min-height: 500px; }
    .rl-scroll { display: none; }
}
@media (max-width: 640px) {
    .rl-hero__sub { font-size: .84rem; }
    .rl-hero__stats { gap: 26px; }
    .rl-btn { padding: 15px 24px; width: 100%; }
    .rl-cta__btns .rl-btn { width: auto; flex: 1 1 auto; }
    .rl-filters { gap: 4px 22px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 14px; }
    .rl-filters::-webkit-scrollbar { display: none; }
    .rl-filters { scrollbar-width: none; }
}

/* ══ Confort de mouvement ═════════════════════════════════════════════════
   Aucune animation ne subsiste : ni l'apparition, ni la respiration du héro,
   ni le halo des points. Les contenus restent tous visibles. */
@media (prefers-reduced-motion: reduce) {
    [data-rl="root"] *,
    [data-rl="root"] *::before,
    [data-rl="root"] *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .rl-hero__img { animation: none; transform: none; }
    .rl-line > span { transform: none; }
    .rl-item, .rl-rise, .rl-fade { opacity: 1 !important; transform: none !important; }
}
