/* ============================================================
   Aureva Bronze — page d'attente (HTML statique, sans PHP).

   Charte de la vitrine : Cormorant Garamond pour les titres (la police
   de titres du configurateur et de l'espace client) + Inter pour le
   texte ; titres blanc casse ; accents couleur LAITON PALE, la teinte
   reelle du bronze des photos ; plaque gravee, frise des etapes.
   Deux fonds au choix :
     .fd            NOIR (par defaut) : noir neutre, sans teinte
     .fd.fd--blanc  BLANC : fond blanc, bronze fonce pour les accents
   Quel que soit le fond, le bandeau du configurateur et le pied
   de page restent noirs (.fd-nuit) ; les sections claires (.fd-clair)
   sont couleur pierre.
   Polices hebergees ici : aucun service externe.
   ============================================================ */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('polices/cormorant-garamond-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('polices/cormorant-garamond-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('polices/inter-300.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('polices/inter-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('polices/inter-500.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}

/* Position du reflet sur le metal (proprietes typees : animables) */
@property --lx { syntax: '<percentage>'; inherits: false; initial-value: 28%; }
@property --ly { syntax: '<percentage>'; inherits: false; initial-value: 18%; }

/* ─── Jetons ─────────────────────────────────────────────── */
/* Le « fond » est celui de l'ouverture ; les jetons *-fond donnent
   les couleurs lisibles dessus. .fd-nuit les remet en version noire. */
.fd,
.fd-nuit {
    --fd-fond: #0a0a0a;            /* noir neutre, celui des photos */
    --fd-titre-fond: #f2f1ed;      /* titres sur le noir : blanc casse */
    --fd-texte-fond: #c6c5c0;      /* texte courant (12:1) */
    --fd-discret-fond: #9c9b95;    /* texte secondaire (7:1) */
    --fd-accent-fond: #c4b48c;     /* laiton pale : le bronze des photos (9:1) */
    --fd-accent-vif: #ddd0aa;
    --fd-trait-fond: rgba(255, 255, 255, .12);
    --fd-trait-fort-fond: rgba(255, 255, 255, .34);
    --fd-lueur: rgba(255, 255, 255, .045);
    --fd-btn-fond: #f2f1ed;        /* bouton principal : blanc casse */
    --fd-btn-texte: #0a0a0a;
    --fd-btn-survol: #ddd0aa;
}
.fd {
    --fd-noir: #0a0a0a;
    --fd-bronze: #c4b48c;          /* laiton pale (soulignes, evitement) */
    --fd-bronze-clair: #ddd0aa;
    --fd-bronze-fonce: #6f6446;    /* laiton fonce, lisible sur fond clair (5,5:1) */
    --fd-pierre: #eeede9;          /* sections claires : pierre calcaire */
    --fd-trait-clair: #d2cfc9;
    --fd-encre: #151515;
    --fd-encre-2: #55534e;         /* texte secondaire sur pierre (7:1) */

    --fd-display: 'Cormorant Garamond', 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
    --fd-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fd-marge: clamp(16px, 5vw, 64px);
    --fd-section: clamp(88px, 11vw, 156px);

    margin: 0;
    background: var(--fd-fond);
    color: var(--fd-encre);
    font: 400 16px/1.7 var(--fd-texte);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}
/* Variante BLANCHE : seule l'ouverture change de fond */
.fd--blanc {
    --fd-fond: #ffffff;
    --fd-titre-fond: #141414;
    --fd-texte-fond: #3a3936;
    --fd-discret-fond: #67655f;
    --fd-accent-fond: #6f6446;
    --fd-accent-vif: #4f4733;
    --fd-trait-fond: rgba(0, 0, 0, .12);
    --fd-trait-fort-fond: rgba(0, 0, 0, .34);
    --fd-lueur: transparent;
    --fd-btn-fond: #141414;        /* bouton principal : noir */
    --fd-btn-texte: #ffffff;
    --fd-btn-survol: #3a3936;
}

.fd *, .fd *::before, .fd *::after { box-sizing: border-box; }
.fd img { display: block; max-width: 100%; height: auto; }

/* ─── Utilitaires ────────────────────────────────────────── */
.fd-cadre {
    width: min(1240px, 100% - 2 * var(--fd-marge));
    margin-inline: auto;
}
.fd-evitement {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--fd-bronze); color: #000;
    font-weight: 600; text-decoration: none;
}
.fd-evitement:focus { top: 16px; }
.fd a:focus-visible { outline: 2px solid var(--fd-accent-fond); outline-offset: 3px; }
.fd-clair a:focus-visible { outline-color: var(--fd-bronze-fonce); }

/* Trois ambiances : l'ouverture (noire ou blanche), les bandeaux
   toujours noirs, les sections claires couleur pierre. */
.fd-sombre, .fd-nuit { background: var(--fd-fond); color: var(--fd-texte-fond); }
.fd-clair { background: var(--fd-pierre); color: var(--fd-encre); }

/* ─── Typographie ────────────────────────────────────────── */
:where(.fd) h1, :where(.fd) h2, :where(.fd) h3 { font-family: var(--fd-display); font-weight: 500; margin: 0; }
:where(.fd) h2 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.06;
    letter-spacing: -.005em;
    margin-top: .28em;
    text-wrap: balance;
}
.fd-sombre h2, .fd-nuit h2 { color: var(--fd-titre-fond); }

.fd-surtitre {
    margin: 0;
    font: 500 12px/1.4 var(--fd-texte);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--fd-bronze-fonce);
}
.fd-sombre .fd-surtitre, .fd-nuit .fd-surtitre { color: var(--fd-accent-fond); }

.fd-chapo {
    font-size: clamp(17px, 1.35vw, 19px);
    font-weight: 300;
    line-height: 1.65;
    max-width: 34em;
    margin: 0;
}
.fd-clair .fd-chapo { color: var(--fd-encre-2); }

/* ─── En-tete ────────────────────────────────────────────── */
.fd-entete { position: relative; z-index: 2; }
.fd-entete-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: clamp(18px, 2.6vw, 32px);
}
.fd-marque { display: block; }
.fd-marque img { height: clamp(76px, 8vw, 108px); width: auto; }
.fd-entete-tel {
    padding: 12px 18px;
    border: 1px solid var(--fd-trait-fort-fond);
    color: var(--fd-titre-fond);
    font: 500 12px/1 var(--fd-texte);
    letter-spacing: .16em;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.fd-entete-tel:hover { border-color: var(--fd-accent-fond); color: var(--fd-accent-fond); }

/* ─── Boutons ────────────────────────────────────────────── */
.fd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fd-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    border: 1px solid var(--fd-btn-fond);
    background: var(--fd-btn-fond);
    color: var(--fd-btn-texte);
    font: 500 12.5px/1 var(--fd-texte);
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s, border-color .2s, color .2s;
}
.fd-btn:hover { background: var(--fd-btn-survol); border-color: var(--fd-btn-survol); }
.fd-btn--ligne { background: transparent; color: var(--fd-titre-fond); border-color: var(--fd-trait-fort-fond); }
.fd-btn--ligne:hover { background: transparent; color: var(--fd-accent-fond); border-color: var(--fd-accent-fond); }
.fd-fleche { width: 22px; height: 10px; flex: none; transition: transform .25s; }
.fd-btn:hover .fd-fleche { transform: translateX(4px); }

/* ─── En-tete de section (titre a gauche, chapo a droite) ── */
.fd-tete {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
    align-items: end;
    gap: 24px 8%;
    margin-bottom: clamp(44px, 6vw, 84px);
}

/* ─── Ouverture ──────────────────────────────────────────── */
.fd-hero {
    background:
        radial-gradient(1100px 640px at 8% -8%, var(--fd-lueur), transparent 62%),
        var(--fd-fond);
}
.fd-hero-grille {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px clamp(32px, 5vw, 88px);
    padding-block: clamp(36px, 5vw, 72px) 0;
}
.fd-hero-titre {
    margin: .3em 0 .38em;
    font-size: clamp(52px, 6.2vw, 92px);
    line-height: 1.02;
    letter-spacing: -.01em;
    color: var(--fd-titre-fond);
    text-wrap: balance;
}
.fd-hero-texte {
    margin: 0;
    max-width: 31em;
    font-size: clamp(17px, 1.4vw, 20px);
    font-weight: 300;
    line-height: 1.65;
    color: var(--fd-texte-fond);
}
.fd-hero .fd-actions { margin-top: 36px; }
.fd-pros {
    margin: 40px 0 0;
    padding-top: 22px;
    max-width: 33em;
    border-top: 1px solid var(--fd-trait-fond);
    font-size: 15px;
    line-height: 1.65;
    color: var(--fd-discret-fond);
}
.fd-pros strong {
    display: block;
    margin-bottom: 6px;
    font: 500 11.5px/1.5 var(--fd-texte);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-accent-fond);
}
.fd-hero-fiche {
    list-style: none;
    margin: clamp(56px, 7vw, 96px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--fd-trait-fond);
}
.fd-hero-fiche li {
    padding: 24px 24px 28px 0;
    font: 500 11.5px/1.5 var(--fd-texte);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-discret-fond);
}
.fd-hero-fiche li + li { padding-left: 24px; border-left: 1px solid var(--fd-trait-fond); }

/* ─── Defile des creations ───────────────────────────────── */
/* Huit pieces, cinq secondes chacune : la suivante glisse et
   apparait pendant que la precedente s'efface. CSS seul.
   Sur le noir, les photos (fond noir) s'y fondent : bords adoucis,
   lumiere prolongee. Sur le blanc, elles se posent comme des tirages. */
.fd-defile {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 580px;
}
.fd-defile::before {
    content: '';
    position: absolute;
    inset: -14% -14% 6%;
    background: radial-gradient(closest-side, rgba(40, 40, 40, .72), rgba(26, 26, 26, .38) 58%, transparent 100%);
    pointer-events: none;
}
.fd-defile-pile { position: relative; display: grid; }
.fd-diapo {
    grid-area: 1 / 1;
    margin: 0;
    opacity: 0;
    animation: fd-defile 40s infinite;
    animation-delay: var(--retard);
}
.fd-diapo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
                        linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent),
                linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
    mask-composite: intersect;
}
.fd--blanc .fd-defile::before { display: none; }
.fd--blanc .fd-diapo img {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 2px;
    box-shadow: 0 40px 60px -36px rgba(0, 0, 0, .55);
}
.fd--blanc .fd-diapo figcaption { margin-top: 22px; }
.fd-diapo figcaption {
    margin-top: 4px;
    text-align: center;
    font: 500 24px/1.25 var(--fd-display);
    color: var(--fd-titre-fond);
    /* la legende part avant la photo et revient apres elle :
       deux legendes ne se superposent jamais */
    animation: fd-legende 40s infinite;
    animation-delay: var(--retard);
}
.fd-diapo figcaption span {
    display: block;
    margin-bottom: 4px;
    font: 500 11px/1.4 var(--fd-texte);
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--fd-accent-fond);
}
/* Retards negatifs : au premier affichage, la rose est deja la et
   les sept autres attendent leur tour. */
.fd-diapo:nth-child(1), .fd-reperes span:nth-child(1) { --retard: -1.6s; }
.fd-diapo:nth-child(2), .fd-reperes span:nth-child(2) { --retard: -36.6s; }
.fd-diapo:nth-child(3), .fd-reperes span:nth-child(3) { --retard: -31.6s; }
.fd-diapo:nth-child(4), .fd-reperes span:nth-child(4) { --retard: -26.6s; }
.fd-diapo:nth-child(5), .fd-reperes span:nth-child(5) { --retard: -21.6s; }
.fd-diapo:nth-child(6), .fd-reperes span:nth-child(6) { --retard: -16.6s; }
.fd-diapo:nth-child(7), .fd-reperes span:nth-child(7) { --retard: -11.6s; }
.fd-diapo:nth-child(8), .fd-reperes span:nth-child(8) { --retard: -6.6s; }
.fd-diapo:nth-child(1) { opacity: 1; }
@keyframes fd-defile {
    0%    { opacity: 0; transform: translateX(28px); }
    3%    { opacity: 1; transform: none; }
    12.5% { opacity: 1; transform: none; }
    15.5% { opacity: 0; transform: translateX(-28px); }
    100%  { opacity: 0; transform: translateX(-28px); }
}
@keyframes fd-legende {
    0%, 1%      { opacity: 0; }
    3%, 11.5%   { opacity: 1; }
    12.5%, 100% { opacity: 0; }
}
/* Les reperes : un trait se remplit pendant que sa piece est visible */
.fd-reperes {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}
.fd-reperes span {
    position: relative;
    width: 26px;
    height: 2px;
    overflow: hidden;
    background: var(--fd-trait-fond);
}
.fd-reperes span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--fd-accent-fond);
    transform-origin: left center;
    transform: scaleX(0);
    animation: fd-repere 40s linear infinite;
    animation-delay: var(--retard);
}
@keyframes fd-repere {
    0%    { transform: scaleX(0); opacity: 1; }
    15.5% { transform: scaleX(1); opacity: 1; }
    16%   { transform: scaleX(1); opacity: 0; }
    100%  { transform: scaleX(0); opacity: 0; }
}
/* Survol : tout s'arrete ensemble (les reperes restent synchrones) */
.fd-defile:hover .fd-diapo,
.fd-defile:hover .fd-diapo figcaption,
.fd-defile:hover .fd-reperes span::after { animation-play-state: paused; }

/* ─── Realisations ───────────────────────────────────────── */
.fd-realisations { padding: var(--fd-section) 0; }
.fd-devise { max-width: 16em; }
.fd-pieces {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(32px, 3.4vw, 48px) clamp(14px, 2vw, 28px);
}
.fd-piece { margin: 0; }
.fd-piece img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #111;
    box-shadow: 0 34px 44px -34px rgba(0, 0, 0, .6);
}
.fd-piece figcaption {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--fd-trait-clair);
}
.fd-piece figcaption span {
    display: block;
    font: 500 11px/1.5 var(--fd-texte);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-bronze-fonce);
}
.fd-piece figcaption strong { display: block; margin-top: 4px; font: 500 23px/1.25 var(--fd-display); }

/* ─── Le configurateur (bandeau noir) ────────────────────── */
.fd-atelier {
    padding: var(--fd-section) 0;
    background:
        radial-gradient(1000px 560px at 50% 40%, var(--fd-lueur), transparent 66%),
        var(--fd-fond);
}
.fd-ecrans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
}
/* La capture : l'ecran tel quel, pose comme un tirage */
.fd-vue { margin: 0; }
.fd-vue img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: #141416;
    box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .03);
}
.fd-vue figcaption { margin-top: 16px; font-size: 14.5px; color: var(--fd-discret-fond); }
.fd-vue figcaption strong {
    display: block;
    margin-bottom: 2px;
    font: 500 11.5px/1.5 var(--fd-texte);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-accent-fond);
}
/* Les cinq etapes, en frise sous les captures */
.fd-etapes {
    list-style: none;
    margin: clamp(48px, 6vw, 80px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--fd-trait-fond);
}
.fd-etapes li { padding: 22px 22px 6px 0; }
.fd-etapes li + li { padding-left: 22px; border-left: 1px solid var(--fd-trait-fond); }
.fd-num {
    display: block;
    margin-bottom: 12px;
    font: 500 27px/1 var(--fd-display);
    letter-spacing: .04em;
    color: var(--fd-accent-fond);
}
.fd-etapes p { margin: 0; font-size: 15px; line-height: 1.6; }
.fd-etapes strong { display: block; margin-bottom: 2px; color: var(--fd-titre-fond); font-weight: 500; }

/* ─── Contact ────────────────────────────────────────────── */
.fd-contact { padding: var(--fd-section) 0; }
.fd-contact-grille {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 64px 8%;
    align-items: center;
}
.fd-contact-texte .fd-chapo { margin-top: 28px; }
.fd-coord { margin: 36px 0 0; }
.fd-coord div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--fd-trait-clair);
}
.fd-coord div:last-child { border-bottom: 1px solid var(--fd-trait-clair); }
.fd-coord dt {
    font: 500 11.5px/1.5 var(--fd-texte);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-encre-2);
}
.fd-coord dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.fd-coord a { color: var(--fd-encre); text-decoration: underline; text-decoration-color: var(--fd-bronze); text-underline-offset: 5px; }
.fd-coord a:hover { color: var(--fd-bronze-fonce); }
.fd-coord .fd-tel a { font: 500 clamp(27px, 2.6vw, 33px)/1.2 var(--fd-display); font-variant-numeric: lining-nums; text-decoration: none; }

/* La plaque d'adresse : bronze brosse, lettres GRAVEES (en creux),
   filet grave et quatre vis de fixation. Teinte : le bronze des photos
   (laiton pale), pas le cuivre. */
.fd-plaque {
    --m1: #f1ead0; --m2: #cfc29b; --m3: #908462; --m4: #b5a981; --m5: #4f4730;
    position: relative;
    display: block;
    padding: clamp(46px, 5.5vw, 72px) clamp(28px, 4vw, 56px);
    text-align: center;
    font: 600 clamp(16px, 1.4vw, 19px)/2 var(--fd-display);
    font-style: normal;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-variant-numeric: lining-nums;
    color: #36301f;
    text-shadow: 0 1px 0 rgba(255, 250, 230, .55), 0 -1px 0 rgba(40, 34, 18, .28);
    border-radius: 2px;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .035) 1px 2px, transparent 2px 4px),
        radial-gradient(ellipse 70% 60% at var(--lx) var(--ly), rgba(255, 247, 228, .6), rgba(255, 247, 228, 0) 70%),
        linear-gradient(160deg, var(--m1) 0%, var(--m2) 34%, var(--m3) 64%, var(--m4) 82%, var(--m5) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 252, 244, .6),
        inset 0 -2px 0 rgba(0, 0, 0, .28),
        0 40px 56px -32px rgba(0, 0, 0, .55);
}
.fd-plaque::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(54, 48, 31, .38);
    box-shadow: 0 1px 0 rgba(255, 250, 230, .4), inset 0 1px 0 rgba(255, 250, 230, .3);
    pointer-events: none;
}
.fd-plaque strong {
    display: block;
    margin-bottom: 18px;
    font-weight: 400;
    font-size: clamp(22px, 2.3vw, 30px);
    letter-spacing: .22em;
    line-height: 1.3;
}
.fd-vis {
    position: absolute;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fbf6e2 0%, #c7ba92 38%, #7d7253 72%, #45402b 100%);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .45), inset 0 0 0 .5px rgba(50, 44, 28, .5);
}
.fd-vis::after {
    content: "";
    position: absolute;
    left: 2px; right: 2px; top: 5.5px;
    height: 1.6px;
    background: rgba(40, 34, 18, .6);
    transform: rotate(-32deg);
}
.fd-vis--hg { top: 26px; left: 26px; }
.fd-vis--hd { top: 26px; right: 26px; }
.fd-vis--bg { bottom: 26px; left: 26px; }
.fd-vis--bd { bottom: 26px; right: 26px; }
.fd-vis--hd::after, .fd-vis--bg::after { transform: rotate(58deg); }

/* ─── Pied de page (bandeau noir) ────────────────────────── */
.fd-pied { padding: 72px 0 36px; font-size: 14.5px; color: var(--fd-discret-fond); }
.fd-pied-grille {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 48px;
}
.fd-pied-marque { display: flex; align-items: center; gap: 24px; }
.fd-pied-marque img { height: 72px; width: auto; }
.fd-pied-marque p { margin: 0; line-height: 1.7; max-width: 26em; }
.fd-pied a { color: var(--fd-titre-fond); text-decoration: none; transition: color .2s; }
.fd-pied a:hover { color: var(--fd-accent-fond); }
.fd-pied-legal {
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid var(--fd-trait-fond);
    font-size: 12.5px;
    color: #7b7b77;
}

/* ─── Tablettes ──────────────────────────────────────────── */
@media (max-width: 1080px) {
    .fd-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    .fd-hero-grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .fd-defile { order: -1; justify-self: center; max-width: 420px; }
    .fd-tete { grid-template-columns: minmax(0, 1fr); }
    .fd-etapes { grid-template-columns: 1fr; }
    .fd-etapes li, .fd-etapes li + li {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: baseline;
        padding: 16px 0;
        border-left: 0;
        border-bottom: 1px solid var(--fd-trait-fond);
    }
    .fd-num { margin: 0; }
}

/* ─── Telephones ─────────────────────────────────────────── */
@media (max-width: 720px) {
    .fd-ecrans { grid-template-columns: minmax(0, 1fr); }
    .fd-contact-grille { grid-template-columns: minmax(0, 1fr); }
    .fd-hero-fiche { grid-template-columns: 1fr; }
    .fd-hero-fiche li, .fd-hero-fiche li + li { padding: 16px 0; border-left: 0; }
    .fd-hero-fiche li + li { border-top: 1px solid var(--fd-trait-fond); }
    .fd-coord div { grid-template-columns: 96px minmax(0, 1fr); }
    .fd-btn { flex: 1 1 auto; justify-content: center; }
    .fd-entete-tel { padding: 10px 12px; letter-spacing: .1em; }
    .fd-defile { max-width: min(80vw, 330px); }
    .fd-diapo figcaption { font-size: 19px; }
    .fd-pied-marque { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .fd-diapo, .fd-diapo figcaption, .fd-reperes span::after { animation: none; }
    .fd-reperes { display: none; }
    .fd-btn, .fd-fleche, .fd-entete-tel { transition: none; }
}
