/*
 * art + entreprise — site vitrine (artplusentreprise.com), servi par la régie.
 * Direction (22/11/2026, « sobre : gris, noir, rouge, blanc ») : le logo fait la page. Son + rouge devient une croix
 * de filets rouges qui partage le premier écran entre la pièce (sur gris) et le lieu (photo) ; son point rouge marque
 * ce qui est actif. Tout le reste est blanc, gris et noir ; les photos apportent seules la couleur.
 * Titres : Bricolage Grotesque maigre, en grand ; texte : Instrument Sans (la famille de la galerie). Angles droits,
 * filets fins, pas d’ombre. Une seule apparition orchestrée (la croix se trace) ; ailleurs, un fondu de bas en haut.
 */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-wght-normal-XEJcKrT.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal-xZIEQZr.woff2") format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin-wght-normal-1Ubqs2a.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-wght-normal-mz-WyKA.woff2") format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blanc: #fff;
  --noir: #0d0d0d;
  --gris: #6b6b6b;
  --gris-clair: #a3a3a3;
  --filet: #dcdcdc;
  --fond: #eeeeee;
  --rouge: #e8101c;
  --titre: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --texte: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --marge: 40px;
  --ecart: clamp(88px, 11vw, 168px);
  --entete: 80px;
  --doux: cubic-bezier(.2, .7, .2, 1);
  --net: cubic-bezier(.7, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 400 17px/1.6 var(--texte); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 300; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: calc(100% - 2 * var(--marge)); max-width: 1480px; margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--noir); color: #fff; padding: 10px 16px; }
.evitement:focus { top: 12px; }
.rouge { color: var(--rouge); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: 500 15px/1 var(--texte); text-decoration: none; border: 1px solid var(--noir); border-radius: 0; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn-plein { background: var(--noir); color: #fff; }
.btn-plein:hover { background: #fff; color: var(--noir); }
.btn-ligne { background: transparent; color: var(--noir); }
.btn-ligne:hover { background: var(--noir); color: #fff; }
.lien { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--doux); }
.lien:hover { background-size: 0 1px; background-position: 100% 100%; }

/* En-tête : se range quand on descend, revient dès qu’on remonte */
.entete { position: sticky; top: 0; z-index: 30; background: var(--blanc); border-bottom: 1px solid transparent; transition: transform .35s var(--doux), border-color .25s; }
.entete.est-colle { border-bottom-color: var(--filet); }
.entete.est-range { transform: translateY(-100%); }
.entete-in { display: flex; align-items: center; gap: 30px; height: var(--entete); }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--doux); }
.nav a:hover { background-size: 100% 1px; }
.nav .nav-tel { display: none; }
.entete-tel { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; margin-left: 10px; }
.entete-cta { min-height: 44px; padding: 0 20px; }
.menu-bouton { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-trait, .menu-trait::before { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--noir); transition: transform .3s var(--doux); }
.menu-trait { top: 18px; }
.menu-trait::before { content: ''; left: 0; right: 0; top: 7px; }
.menu-bouton[aria-expanded="true"] .menu-trait { transform: translateY(3.5px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-trait::before { transform: translateY(-7px) rotate(-90deg); }

/* Ouverture : la croix du logo partage l’écran — la pièce | le lieu, puis le titre | le propos */
.ouverture { --gauche: calc(100% * 5 / 12); position: relative; display: grid; grid-template-rows: minmax(300px, 1fr) auto; min-height: calc(100svh - var(--entete)); overflow: hidden; }
.vues { position: relative; }
.paire { position: absolute; inset: 0; display: grid; grid-template-columns: 5fr 7fr; }
.paire[hidden] { display: none; }
.paire figure { margin: 0; position: relative; min-width: 0; }
.paire .cadre { position: absolute; inset: 0; overflow: hidden; }
.paire .piece .cadre { background: var(--fond); }
.paire .piece img { position: absolute; inset: 9% 14% 8%; width: 72%; height: 83%; object-fit: contain; mix-blend-mode: multiply; }
.paire .lieu img { width: 100%; height: 100%; object-fit: cover; }
.paire figcaption { position: absolute; top: 100%; left: 0; right: 0; padding: 16px var(--marge) 0; font-size: 14px; line-height: 1.35; display: flex; gap: 10px; }
.paire .lieu figcaption { padding-left: 44px; }
.paire figcaption span { color: var(--gris); }
/* les deux filets rouges et, à leur croisement, le + : un bouton qui change de paire */
.vues::before, .vues::after { content: ''; position: absolute; background: var(--rouge); z-index: 2; pointer-events: none; }
.vues::before { left: 0; right: 0; bottom: 0; height: 1px; transform-origin: var(--gauche) 50%; }
.vues::after { left: var(--gauche); top: 0; bottom: -100vh; width: 1px; transform-origin: 50% 0; }
.plus { position: absolute; left: var(--gauche); top: 100%; z-index: 3; width: 72px; height: 72px; translate: -50% -50%; border: 0; border-radius: 50%; background: var(--blanc); cursor: pointer; transition: rotate .7s var(--doux); }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--rouge); translate: -50% -50%; }
.plus::before { width: 34px; height: 3px; }
.plus::after { width: 3px; height: 34px; }
.plus:hover { rotate: 90deg; }
.ouverture.tourne .plus { rotate: 180deg; }
.ouverture.tourne .plus:hover { rotate: 270deg; }
.propos { display: grid; grid-template-columns: 5fr 7fr; padding-block: 76px 48px; }
.propos h1 { font-size: clamp(34px, 3.75vw, 60px); line-height: 1.02; padding-inline: var(--marge) 44px; }
.propos-texte { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-content: space-between; padding-inline: 44px var(--marge); }
.chapo { font-size: 18px; line-height: 1.55; max-width: 50ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; grid-column: 1; }
.actions .tel-lien { font: 400 26px/1 var(--titre); letter-spacing: -0.02em; white-space: nowrap; }
.choix { grid-column: 2; grid-row: 1 / span 2; display: grid; align-content: start; gap: 2px; }
.choix button, .filtres button { position: relative; font: 400 15px/1 var(--texte); color: var(--gris); background: none; border: 0; padding: 9px 0 9px 18px; text-align: left; cursor: pointer; white-space: nowrap; transition: color .2s; }
.choix button::before, .filtres button::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--rouge); scale: 0; transition: scale .3s var(--doux); }
.choix button:hover, .filtres button:hover { color: var(--noir); }
.choix button[aria-selected="true"], .filtres button[aria-pressed="true"] { color: var(--noir); }
.choix button[aria-selected="true"]::before, .filtres button[aria-pressed="true"]::before { scale: 1; }

/* Maisons diffusées : un titre écrit comme une addition, puis le mur des vingt logos */
.marques { padding-block: var(--ecart); }
.somme { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; font-size: clamp(38px, 6.1vw, 104px); line-height: .98; margin-bottom: 30px; }
.somme .rouge { font-weight: 200; }
.sous-titre { display: flex; justify-content: flex-end; margin-bottom: 56px; }
.sous-titre p { color: var(--gris); max-width: 52ch; }
.mur { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--filet); border-left: 1px solid var(--filet); }
.mur li { display: grid; place-items: center; height: 148px; padding: 0 16%; min-width: 0; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); transition: background-color .3s; }
.mur img { --h: 40px; height: var(--h); width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; }
.mur .taille-xs img { --h: 28px; } .mur .taille-s img { --h: 34px; } .mur .taille-l img { --h: 46px; } .mur .taille-xl img { --h: 52px; }
.mur .nom { font: 500 26px/1 var(--texte); letter-spacing: -0.05em; }
@media (hover: hover) {
  .mur li:hover { background: var(--noir); }
  .mur li:hover img { filter: grayscale(1) contrast(1.2) invert(1); mix-blend-mode: screen; }
  .mur li:hover .nom { color: #fff; }
}

/* Pièces : sur un même gris, la première en grand ; la dernière case est une invitation à demander */
.pieces { padding-bottom: var(--ecart); }
.pieces-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 56px; margin-bottom: 40px; padding-top: 28px; border-top: 1px solid var(--noir); }
.pieces-tete h2, .methode h2, .art h2 { font-size: clamp(34px, 3.9vw, 62px); line-height: 1.02; max-width: 16ch; }
.filtres { display: flex; flex-wrap: wrap; gap: 0 26px; }
.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 14px; }
.carte[hidden] { display: none; }
.carte a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.fond { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--fond); overflow: hidden; }
.fond img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; transition: scale .7s var(--doux); }
.ambiance .fond img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.carte a:hover .fond img { scale: 1.05; }
.carte-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.carte-nom { font-weight: 600; }
.carte-maison { color: var(--gris); font-size: 15px; text-align: right; }
.carte-demande { align-self: flex-start; margin-top: 4px; font-size: 14px; color: var(--gris); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--doux), color .25s; }
.carte a:hover .carte-demande, .carte a:focus-visible .carte-demande { color: var(--noir); background-size: 100% 1px; }
.carte:nth-child(1 of :not([hidden])) { grid-column: span 2; grid-row: span 2; }
.carte:nth-child(1 of :not([hidden])) .fond { aspect-ratio: auto; flex: 1; min-height: 320px; }
.carte.entre { animation: entre .5s var(--doux) both; }
@keyframes entre { from { opacity: 0; translate: 0 14px; } }
.carte-mot { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; aspect-ratio: 4 / 5; padding: 24px; background: var(--noir); color: #fff; }
.carte-mot p { font: 300 clamp(22px, 1.9vw, 30px)/1.12 var(--titre); letter-spacing: -0.03em; }
.carte-mot small { display: block; margin-top: 14px; font: 400 15px/1.5 var(--texte); letter-spacing: 0; color: #b5b5b5; }
.carte-mot .btn { border-color: #fff; color: #fff; align-self: flex-start; }
.carte-mot .btn:hover { background: #fff; color: var(--noir); }

/* Réalisations : une bande de photos qui défile de côté quand on descend (au doigt sur téléphone) */
.realisations { background: var(--noir); color: #fff; }
.real-pin { padding-block: var(--ecart); }
.real-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 56px; margin-bottom: clamp(28px, 4vh, 48px); }
.real-tete h2 { font-size: clamp(34px, 3.9vw, 62px); line-height: 1.02; }
.real-tete p { color: var(--gris-clair); max-width: 44ch; }
.real-piste { position: relative; display: flex; align-items: flex-end; gap: 20px; padding-inline: var(--marge); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--marge); scrollbar-width: none; }
.real-piste::-webkit-scrollbar { display: none; }
.real-piste figure { flex: none; margin: 0; scroll-snap-align: start; }
.real-piste img { height: min(54vh, 540px); width: auto; max-width: none; }
.real-piste .petit img { height: min(34vh, 340px); }
.real-piste figcaption { width: 0; min-width: 100%; margin-top: 14px; min-height: 66px; }
.real-nom { display: block; font: 400 19px/1.25 var(--titre); letter-spacing: -0.02em; }
.real-usage { display: block; color: var(--gris-clair); font-size: 14px; margin-top: 2px; }
.real-fil { display: none; height: 1px; margin-top: 22px; background: rgb(255 255 255 / .22); }
.real-fil span { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.est-epingle .real-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--entete) 0; overflow: hidden; }
.est-epingle .real-piste { overflow: visible; will-change: transform; }
.est-epingle .real-fil { display: block; }

/* Façon de faire : quatre étapes qui s’inversent au survol, puis à qui elle s’adresse */
.methode { padding-block: var(--ecart); }
.methode h2 { max-width: 24ch; margin-bottom: 56px; }
.etapes { counter-reset: e; border-bottom: 1px solid var(--filet); }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 1fr 4fr 7fr; align-items: baseline; gap: 24px; margin-inline: calc(-1 * var(--marge)); padding: 30px var(--marge); border-top: 1px solid var(--filet); transition: background-color .3s, color .3s; }
.etapes li::before { content: counter(e); font: 300 22px/1 var(--titre); color: var(--gris); transition: color .3s; }
.etapes h3 { font-size: clamp(30px, 3.4vw, 54px); line-height: 1; }
.etapes p { color: var(--gris); max-width: 56ch; transition: color .3s; }
@media (hover: hover) {
  .etapes li:hover { background: var(--noir); color: #fff; border-top-color: var(--noir); }
  .etapes li:hover p, .etapes li:hover::before { color: #c9c9c9; }
}
.publics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 7vw, 104px); }
.publics > div { padding: 4px 36px 8px; border-left: 1px solid var(--filet); }
.publics > div:first-child { padding-left: 0; border-left: 0; }
.publics h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 400; margin-bottom: 12px; max-width: 16ch; }
.publics p { color: var(--gris); font-size: 16px; max-width: 38ch; }

/* L’art en entreprise : le seul aplat gris */
.art { background: var(--fond); padding-block: var(--ecart); }
.art-in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; }
.art h2 { margin-bottom: 26px; }
.art p { max-width: 48ch; }
.art .btn { margin-top: 32px; }
.art-chiffre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 40px; align-items: end; padding-top: 28px; border-top: 1px solid var(--noir); }
.art .chiffre { font: 200 clamp(96px, 13vw, 220px)/.8 var(--titre); letter-spacing: -0.06em; white-space: nowrap; max-width: none; }
.art-chiffre div p { font-size: 16px; max-width: 40ch; }
.art small { display: block; margin-top: 12px; color: var(--gris); font-size: 13px; }

/* Vous avez un projet ? Le numéro, en très grand */
.contact { padding-block: var(--ecart); }
.contact h2 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.025em; font-weight: 400; }
.tel { display: block; width: fit-content; margin: 10px 0 0 -0.04em; font: 200 clamp(40px, 14.3vw, 250px)/.95 var(--titre); letter-spacing: -0.055em; white-space: nowrap; text-decoration: none; transition: color .3s; }
.tel:hover { color: var(--rouge); }
.contact-in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; margin-top: clamp(48px, 6vw, 88px); padding-top: 32px; border-top: 1px solid var(--noir); }
.contact-ou { font: 300 clamp(24px, 2.2vw, 34px)/1.15 var(--titre); letter-spacing: -0.03em; max-width: 18ch; }
.contact address { font-style: normal; margin-top: 32px; line-height: 1.7; font-size: 15px; color: var(--gris); }
.contact address a { color: var(--noir); }
.projet { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.projet label { display: grid; gap: 4px; font-size: 14px; color: var(--gris); }
.projet .large, .projet .note, .projet-erreur { grid-column: 1 / -1; }
.projet input, .projet select, .projet textarea { width: 100%; font: 400 18px/1.4 var(--texte); color: var(--noir); background: transparent; border: 0; border-bottom: 1px solid #b9b9b9; border-radius: 0; padding: 8px 0 10px; transition: border-color .2s; }
.projet input:focus, .projet select:focus, .projet textarea:focus { border-bottom-color: var(--noir); box-shadow: 0 1px 0 var(--noir); outline: none; }
.projet textarea { min-height: 120px; resize: vertical; }
.projet ::placeholder { color: var(--gris-clair); }
.projet .btn { justify-self: start; }
.projet .note { color: var(--gris); font-size: 13px; }
.projet-erreur { border: 1px solid var(--rouge); padding: 12px 14px; color: #a30c14; font-weight: 600; font-size: 15px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.merci { display: block; }
.merci h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.08; margin-bottom: 14px; }
.merci p { color: var(--gris); max-width: 46ch; }
.merci:focus { outline: none; }

/* Pied de page */
.pied { background: var(--noir); color: #d6d6d6; padding-block: 72px 32px; font-size: 15px; }
.pied-in { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 40px; }
.pied-marque img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.pied-marque p { margin-top: 20px; max-width: 40ch; color: var(--gris-clair); }
.pied h2 { font: 400 14px/1.3 var(--texte); letter-spacing: 0; color: var(--gris-clair); margin-bottom: 12px; }
.pied ul { display: grid; gap: 6px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied-bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 13px; color: var(--gris-clair); }

/* Pages simples : mentions légales, erreur */
.page { padding-block: 64px var(--ecart); max-width: 760px; }
.page h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1; margin-bottom: 40px; }
.page h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.025em; margin: 40px 0 10px; }
.page p { color: #3a3a3a; margin-bottom: 12px; }
.erreur { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 24px; }
.erreur h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; }

/* Mouvement : à l’arrivée, la croix se trace depuis son centre, puis la pièce et le lieu montent de la ligne */
@media (prefers-reduced-motion: no-preference) {
  .charge .vues::before { animation: trait-h 1.1s .1s var(--net) both; }
  .charge .vues::after { animation: trait-v 1.1s .1s var(--net) both; }
  .charge .plus { animation: plus 1s .1s var(--doux) both; }
  .charge .paire.est-active .cadre { animation: leve 1.1s .45s var(--net) both; }
  .charge .paire.est-active .lieu .cadre { animation-delay: .57s; }
  .charge .paire.est-active .cadre img { animation: recul 1.6s .45s var(--doux) both; }
  .charge .paire figcaption, .charge .propos h1, .charge .propos-texte > * { animation: monte .9s .95s var(--doux) both; }
  .charge .propos-texte > * { animation-delay: 1.08s; }
  .paire.entre .cadre { animation: leve .8s var(--net) both; }
  .paire.entre .lieu .cadre { animation-delay: .08s; }
  .paire.entre figcaption { animation: monte .6s .3s var(--doux) both; }
  @keyframes trait-h { from { transform: scaleX(0); } }
  @keyframes trait-v { from { transform: scaleY(0); } }
  @keyframes plus { from { opacity: 0; rotate: -180deg; scale: .4; } }
  @keyframes leve { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes recul { from { scale: 1.12; } }
  @keyframes monte { from { opacity: 0; translate: 0 22px; } }
  @media (scripting: enabled) {
    [data-reveal]:not(.est-vu) { opacity: 0; translate: 0 26px; }
    [data-reveal] { transition: opacity .9s var(--doux), translate .9s var(--doux); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}

/* Tablette */
@media (max-width: 1100px) {
  :root { --marge: 28px; }
  .nav { display: none; }
  .entete-tel, .entete-cta { display: none; }
  .menu-bouton { display: block; }
  .nav.est-ouvert { display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0; margin: 0; padding: 4px var(--marge) 28px; background: var(--blanc); border-bottom: 1px solid var(--filet); font: 300 32px/1.2 var(--titre); letter-spacing: -0.03em; }
  .nav.est-ouvert a { padding: 13px 0; border-bottom: 1px solid var(--filet); background: none; }
  .nav.est-ouvert .nav-tel { display: block; font: 600 18px/1.2 var(--texte); letter-spacing: 0; padding-top: 22px; border: 0; }
  .propos-texte { grid-template-columns: minmax(0, 1fr); }
  .choix { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; gap: 0 22px; }
  .mur { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .etapes li { grid-template-columns: 40px 3fr 5fr; }
}

/* Téléphone */
@media (max-width: 760px) {
  :root { --marge: 16px; --entete: 64px; }
  body { font-size: 16px; }
  .logo img { height: 32px; }
  .ouverture { --gauche: 40%; grid-template-rows: 46svh auto; min-height: 0; overflow: visible; }
  .paire { grid-template-columns: 2fr 3fr; }
  .vues::after { bottom: 0; }
  .paire .piece img { inset: 12% 10%; width: 80%; height: 76%; }
  .paire figcaption, .paire .lieu figcaption { padding: 12px 10px 0 var(--marge); font-size: 13px; display: block; }
  .paire .lieu figcaption { padding-left: 38px; }
  .paire figcaption span { display: block; }
  .plus { width: 56px; height: 56px; }
  .plus::before { width: 26px; } .plus::after { height: 26px; }
  .propos { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 96px 56px; }
  .propos h1 { font-size: clamp(34px, 10vw, 44px); padding-inline: var(--marge); }
  .propos-texte { padding-inline: var(--marge); }
  .chapo { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .somme { display: block; font-size: clamp(40px, 12vw, 56px); }
  .somme span { display: block; }
  .sous-titre { margin-bottom: 36px; }
  .mur { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mur li { height: 100px; }
  .mur img { height: calc(var(--h) * .8); }
  .mur .nom { font-size: 21px; }
  .filtres { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); scrollbar-width: none; max-width: 100vw; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .carte:nth-child(1 of :not([hidden])) { grid-row: auto; }
  .carte:nth-child(1 of :not([hidden])) .fond { aspect-ratio: 1; min-height: 0; flex: none; }
  .carte-ligne { display: block; }
  .carte-maison { display: block; text-align: left; }
  .carte-mot { grid-column: span 2; aspect-ratio: auto; }
  .real-piste { gap: 12px; }
  .real-piste img { height: 236px; }
  .real-piste .petit img { height: 180px; }
  .etapes li { grid-template-columns: 28px 1fr; gap: 6px 12px; padding-block: 24px; }
  .etapes p { grid-column: 2; }
  .publics, .art-in, .contact-in, .pied-in { grid-template-columns: 1fr; gap: 32px; }
  .publics > div { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--filet); }
  .publics > div:first-child { border-top: 0; padding-top: 0; }
  .art-chiffre { grid-template-columns: 1fr; }
  .projet { grid-template-columns: 1fr; }
  .projet .btn { justify-self: stretch; }
}
