/* LES PAGES SUR MESURE DE L'AGENCE — ce qu'elles partagent.

   L'accueil (`/`) et la page des exemples (`/vitrine/`) sont une seule marque : mêmes
   jetons, même barre, mêmes boutons, mêmes cartes, même contact, même pied. Tout ce qui
   vaut pour les deux vit ICI, une fois ; chaque gabarit n'ajoute que ses propres bandes.
   `outils/fabriquer.mjs` pose cette feuille en tête de celle de chaque page.

   La vue depuis St-Sulpice à l'heure bleue. Les bandes alternent le CIEL et le clair,
   JOUR ou BLANC, pleine largeur. Le foncé porte l'élaboré, le clair le simple (fondateur,
   12.11.2026) ; une bande qui vaut pour les deux offres est claire. Deux bandes claires
   de même fond ne se touchent pas.
   Hors du parc : couleurs écrites ici, une seule fois, en jetons. */
:root {
  --nuit: #0d1726;
  --nuit-2: #15243b;
  --nuit-filet: #263752;
  --encre: #2c3a4f;
  --lac: #1f689d;
  --lac-fonce: #18557f;
  --lac-clair: #8fc3ea;
  --alpenglow: #f2b08f;
  --alpenglow-vif: #ffd2b8;
  --jour: #f3f5f8;
  --blanc: #ffffff;
  --texte: #142033;
  --texte-doux: #4b586b;
  --filet: #d9dfe7;
  --sur-nuit: #e8eef6;
  --sur-nuit-doux: #a9b6c8;

  --f-titre: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-texte: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  --t-xl: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
  --t-2xl: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
  --t-3xl: clamp(2.125rem, 1.05rem + 4.4vw, 4.5rem);

  --gouttiere-g: max(1.25rem, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(1.25rem, env(safe-area-inset-right, 0px));
  --mesure: 38rem;
  --largeur: 74rem;
  --rayon: .75rem;
  --barre-h: 4.25rem;
}

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-400-600.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barre-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--jour);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--nuit); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lac-clair); outline-offset: 3px; border-radius: 4px; }
.bande--jour :focus-visible, .bande--blanc :focus-visible { outline-color: var(--lac); }

.enveloppe {
  width: 100%;
  max-width: calc(var(--largeur) + 2.5rem);
  margin-inline: auto;
  padding-left: var(--gouttiere-g);
  padding-right: var(--gouttiere-d);
}
.evitement { position: absolute; left: -999rem; }
.evitement:focus { left: 1rem; top: 1rem; z-index: 40; background: var(--blanc); color: var(--texte); padding: .5rem 1rem; }

.surtitre {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---- Boutons ------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.bouton {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 3rem; padding: .75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600; font-size: var(--t-s); letter-spacing: .01em;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .25s; }
.bouton:hover svg { transform: translateX(3px); }
.bouton--plein { background: var(--lac); color: var(--blanc); }
.bouton--plein:hover { background: var(--lac-fonce); }
.bande--ciel .bouton--plein { background: var(--alpenglow); color: var(--nuit); }
.bande--ciel .bouton--plein:hover { background: var(--alpenglow-vif); }
.bouton--trait { border: 1.5px solid currentColor; color: var(--texte); }
.bouton--trait:hover { background: var(--blanc); }
.bande--ciel .bouton--trait { color: var(--sur-nuit); border-color: var(--sur-nuit-doux); }
.bande--ciel .bouton--trait:hover { background: var(--nuit-2); border-color: var(--sur-nuit); }

/* ---- Barre ---------------------------------------------------- */
.barre {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--nuit) 92%, transparent);
  backdrop-filter: blur(10px);
  color: var(--sur-nuit);
  border-bottom: 1px solid var(--nuit-filet);
}
.barre .enveloppe { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--barre-h); }
/* Le logo et les liens gardent leur dessin ; leur surface de clic s'étend dans la hauteur
   de la barre, qui ne change pas (cible d'au moins 24 px, WCAG 2.5.8). */
.barre__marque { display: block; color: var(--sur-nuit); line-height: 0; padding-block: .6rem; }
.barre__marque svg { width: clamp(10.5rem, 8rem + 8vw, 13.5rem); height: auto; }
.accent-e { fill: var(--lac-clair); }
.barre nav ul { display: flex; align-items: center; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.barre nav a { font-size: var(--t-s); font-weight: 500; text-decoration: none; color: var(--sur-nuit-doux); transition: color .2s; padding-block: .5rem; }
.barre nav a:hover { color: var(--sur-nuit); }
.barre nav .bouton { color: var(--nuit); background: var(--alpenglow); min-height: 2.5rem; padding: .5rem 1.1rem; }
.barre nav .bouton:hover { background: var(--alpenglow-vif); color: var(--nuit); }
.barre__ancre { display: none; }
@media (max-width: 52rem) {
  .barre__ancre { display: list-item; }
  .barre nav li:not(.barre__ancre) { display: none; }
}

/* ---- Bandes --------------------------------------------------- */
.bande--ciel { background: var(--nuit); color: var(--sur-nuit); }
.bande { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.bande--jour { background: var(--jour); color: var(--texte); }
.bande--blanc { background: var(--blanc); color: var(--texte); }
.tete { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.tete h2 { font-size: var(--t-2xl); }
.tete p { font-size: var(--t-l); color: var(--texte-doux); }
.bande--ciel .tete p { color: var(--sur-nuit-doux); }
.bande--ciel .surtitre { color: var(--alpenglow); }
.bande--jour .surtitre, .bande--blanc .surtitre { color: var(--lac); }

/* L'AUBE : la nuit du héros se dissout dans le jour de la bande suivante. */
.aube {
  position: relative;
  height: clamp(5rem, 3rem + 8vw, 10rem);
  background: linear-gradient(180deg, #1b2840 0%, #343d5c 26%, #79798f 52%, #c4c3cc 76%, #e9ebf0 92%, var(--jour) 100%);
}

/* ---- Cartes (une démonstration clé en main) -------------------- */
.carte {
  display: grid; grid-template-rows: auto 1fr; height: 100%;
  text-decoration: none; color: inherit;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon);
  overflow: hidden;
  transition: border-color .2s, transform .3s;
}
.carte:hover { border-color: var(--encre); }
.carte__image { background: linear-gradient(160deg, #e6ebf2, #f6f8fb); padding: 1rem 1rem 0; aspect-ratio: 16 / 10; display: grid; place-items: end center; overflow: hidden; }
.carte__image img { width: 100%; height: auto; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.carte:hover .carte__image img { transform: translateY(-4px) scale(1.015); }
.carte__corps { display: grid; gap: .5rem; align-content: start; padding: 1.25rem 1.35rem 1.4rem; }
.carte__titre { font-family: var(--f-titre); font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; }
.carte__texte { color: var(--texte-doux); font-size: var(--t-s); }
.carte__lien { margin-top: .35rem; font-size: var(--t-s); font-weight: 600; color: var(--lac); display: inline-flex; gap: .4em; align-items: center; }
.carte__lien svg { width: 1em; height: 1em; transition: transform .25s; }
.carte:hover .carte__lien svg { transform: translateX(3px); }
.appel { margin-top: 2.5rem; display: grid; gap: .85rem; justify-items: start; }
.appel__note { font-size: var(--t-s); color: var(--texte-doux); }

/* ---- Sur mesure ----------------------------------------------- */
.sur-mesure { background: linear-gradient(180deg, var(--nuit) 0%, #111e32 100%); }
.sur-mesure .appel { margin-top: 3rem; }
.sur-mesure .appel__note { color: var(--sur-nuit-doux); }

/* ---- Façon de travailler -------------------------------------- */
.facon { display: grid; gap: 2.5rem; }
.facon .tete { margin-bottom: 0; }
@media (min-width: 64rem) { .facon { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; } .facon .tete { position: sticky; top: calc(var(--barre-h) + 2rem); align-self: start; } }
.principes { display: grid; gap: 2.25rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.principe { display: grid; gap: .6rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--filet); }
.principe h3 { font-size: var(--t-l); letter-spacing: -.01em; line-height: 1.25; }
.principe p { color: var(--texte-doux); }
@media (min-width: 52rem) { .principes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Contact -------------------------------------------------- */
.contact { position: relative; background: var(--nuit); overflow: clip; }
.contact__grille { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.contact .tete { margin-bottom: 0; }
.coordonnees { display: grid; gap: 1rem; margin: 0; }
.coordonnees div { display: grid; gap: .15rem; padding-bottom: 1rem; border-bottom: 1px solid var(--nuit-filet); }
.coordonnees dt { font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sur-nuit-doux); }
.coordonnees dd { margin: 0; font-size: var(--t-l); color: var(--blanc); overflow-wrap: anywhere; }
.coordonnees__email { font-family: var(--f-titre); font-size: var(--t-xl) !important; letter-spacing: -.02em; line-height: 1.25; }
.coordonnees a { text-decoration: none; background-image: linear-gradient(var(--alpenglow), var(--alpenglow)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.coordonnees a:hover { background-size: 100% 1px; }
/* L'email d'abord (fondateur, 17.11.2026) : plus adapté à ce service qu'un
   appel. Sous 52 rem, un numéro est un appel à portée de pouce : le bloc ne
   le montre pas, il reste écrit dans le pied. Au-dessus, la page se lit sur
   un ordinateur, qui n'appelle pas : la ligne est une simple coordonnée. */
.coordonnees .coordonnees__tel { display: none; }
@media (min-width: 52rem) { .coordonnees .coordonnees__tel { display: grid; } }

/* ---- Pied ----------------------------------------------------- */
.pied { background: #0a121e; color: var(--sur-nuit-doux); font-size: var(--t-s); padding-block: 2.5rem; }
.pied .enveloppe { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; }
.pied__marque { color: var(--sur-nuit); line-height: 0; }
.pied__marque svg { width: 11rem; height: auto; }
.pied p + p { margin-top: .35rem; }
/* Deux liens empilés : chacun porte sa marge en rembourrage, pour que les cibles se
   touchent sans se chevaucher sous le doigt (WCAG 2.5.8). */
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; justify-items: start; }
.pied a { color: var(--sur-nuit); text-underline-offset: .2em; }
.pied li a { display: inline-block; padding-block: .25rem; }

/* ---- Entrée des sections au défilement (amélioration progressive) ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .monte { animation: monte linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes monte { from { transform: translateY(1.75rem); } }

/* L'ACCUEIL — ce qui n'appartient qu'à lui. Les jetons, la barre, les boutons, les
   cartes, le contact et le pied sont dans `commun.css`, partagés avec `/vitrine/`.
   La crête relevée de la Dent d'Oche fait l'horizon du héros. */

/* ---- Héros ---------------------------------------------------- */
.heros {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 55% 38% at 46% 88%, rgba(242, 176, 143, .26), transparent 70%),
    linear-gradient(180deg, var(--nuit) 0%, #13223a 46%, #27304f 74%, #3d3a5c 100%);
}
.heros__grille { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(1rem, .5rem + 2vw, 2rem); }
@media (min-width: 64rem) {
  .heros__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; }
  .heros h1 { font-size: clamp(2.5rem, 1rem + 3vw, 3.75rem); }
  .oeuvre { margin-bottom: calc(-1 * clamp(3rem, 7vw, 7rem)); }
}
.heros__texte { display: grid; gap: 1.5rem; min-width: 0; }
.oeuvre { margin: 0; position: relative; z-index: 1; display: grid; gap: .75rem; justify-items: end; }
.oeuvre a { display: block; text-decoration: none; color: var(--sur-nuit-doux); }
.oeuvre img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.oeuvre a:hover img { transform: translateY(-6px); }
.oeuvre figcaption { font-size: var(--t-xs); color: var(--sur-nuit-doux); }
.oeuvre figcaption a { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; color: var(--alpenglow); }
.oeuvre figcaption svg { width: 1em; height: 1em; }
@media (prefers-reduced-motion: no-preference) {
  .oeuvre { animation: leve 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
}
@keyframes leve { from { transform: translateY(1.5rem); } }
.heros .surtitre { color: var(--alpenglow); }
.heros h1 { font-size: var(--t-3xl); max-width: 16ch; color: var(--blanc); }
.heros__chapo { font-size: var(--t-l); color: var(--sur-nuit-doux); max-width: var(--mesure); }
.heros__chapo strong { color: var(--sur-nuit); font-weight: 600; }
.heros .actions { margin-top: .5rem; }

.vue { position: relative; margin: 0; overflow: clip; }
.vue svg {
  display: block;
  width: 100%;
  max-width: calc(35svh * 2.995);
  height: auto;
  aspect-ratio: 557 / 186;
  margin-inline: auto;
  overflow: visible;
}
.vue__eau { fill: url(#g-eau); }
.vue__rive { stroke: var(--sur-nuit-doux); stroke-opacity: .55; stroke-width: 1; vector-effect: non-scaling-stroke; }
.vue__crete, .vue__halo, .vue__reflet path { fill: none; stroke: url(#g-crete); stroke-linecap: round; stroke-linejoin: round; }
.vue__crete { stroke-width: 1.25; }
.vue__halo { stroke-width: 4; opacity: .55; }
.vue__reflet path { stroke-width: 1.4; opacity: .28; }
.vue__reflet-etire { transform-origin: 0 140px; }
.vue__miroitement path { fill: none; stroke: url(#g-crete); stroke-width: .9; stroke-linecap: round; opacity: .38; }
.vue__miroitement--loin path { stroke-width: .7; opacity: .24; }
.vue__etoile path { fill: var(--alpenglow-vif); }
.vue__etoile { transform-box: fill-box; transform-origin: center; }
@media (max-width: 44rem) {
  .vue__crete { stroke-width: 2.4; }
  .vue__halo { stroke-width: 6; }
  .vue__reflet path { stroke-width: 2.2; }
}
@media (prefers-reduced-motion: no-preference) {
  .vue__crete, .vue__halo { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 2.4s cubic-bezier(.6, 0, .25, 1) .2s forwards; }
  .vue__reflet { opacity: 0; animation: apparait 1.6s ease 1.6s forwards; }
  .vue__etoile { opacity: 0; animation: apparait 1.2s ease 1.9s forwards, scintille 5s ease-in-out 3.1s infinite; }
  .vue__miroitement path { animation: ondule 6s ease-in-out infinite; }
  .vue__miroitement path:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
  .vue__miroitement path:nth-child(3n) { animation-duration: 5s; animation-delay: -3.5s; }
}
@keyframes ondule { 0%, 100% { opacity: .12; } 50% { opacity: .5; } }

/* L'AUBE : le lac se dissout dans la brume, et la brume dans le jour de la
   bande suivante. Au défilement, le reflet s'étire, les miroitements
   glissent en sens contraires et l'horizon s'éclaire — en CSS seul
   (animation-timeline), sans script ; sans support, tout reste immobile
   et complet. */
.heros__lueur {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 60% 30% at 46% 72%, rgba(255, 196, 160, .28), transparent 70%);
}
.heros__grille, .vue { position: relative; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .heros { view-timeline: --heros block; }
    .vue__reflet-etire { animation: etire linear both; animation-timeline: --heros; animation-range: exit 0% exit 80%; }
    .vue__miroitement--pres { animation: glisse-g linear both; animation-timeline: --heros; animation-range: exit 0% exit 100%; }
    .vue__miroitement--loin { animation: glisse-d linear both; animation-timeline: --heros; animation-range: exit 0% exit 100%; }
    .heros__lueur { animation: eclaire linear both; animation-timeline: --heros; animation-range: exit 0% exit 70%; }
  }
}
@keyframes etire { to { transform: scaleY(1.3); opacity: .4; } }
@keyframes glisse-g { to { transform: translateX(-26px); } }
@keyframes glisse-d { to { transform: translateX(34px); } }
@keyframes eclaire { to { opacity: 1; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes apparait { to { opacity: 1; } }
@keyframes scintille { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }

/* ---- Formules (clé en main) ----------------------------------- */
.formules { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.formule {
  display: grid; gap: 1rem; align-content: start;
  background: var(--blanc); border: 1px solid var(--filet); border-radius: var(--rayon);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}
.formule--marquee { border-color: var(--lac); box-shadow: 0 0 0 1px var(--lac); }
.formule__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.formule__nom { font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.formule__badge { font-size: var(--t-xs); font-weight: 600; color: var(--lac); background: color-mix(in srgb, var(--lac) 10%, var(--blanc)); padding: .2rem .65rem; border-radius: 999px; }
.formule__prix { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.formule__prix strong { font-family: var(--f-titre); font-size: var(--t-2xl); line-height: 1; letter-spacing: -.03em; color: var(--texte); }
.formule__prix span { color: var(--texte-doux); font-weight: 500; }
.formule__pour { font-weight: 600; }
.formule__contenu { color: var(--texte-doux); }
.cloture { margin-top: 1.5rem; color: var(--texte-doux); max-width: var(--mesure); }
.cloture--note { margin-top: .75rem; font-size: var(--t-s); }
.cloture strong { color: var(--texte); font-weight: 600; }

/* ---- Démonstrations (défilement horizontal) -------------------- */
.demos { margin-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.demos__tete { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.demos__tete p { font-size: var(--t-l); max-width: 34rem; }
.demos__fleches { display: flex; gap: .5rem; }
@media (max-width: 44rem) { .demos__fleches { display: none; } }
.demos__fleches button {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; display: grid; place-items: center;
  border: 1.5px solid var(--encre); background: transparent; color: var(--encre); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.demos__fleches button:hover { background: var(--encre); color: var(--blanc); }
.demos__fleches button:disabled { opacity: .35; cursor: default; background: transparent; color: var(--encre); }
.demos__fleches svg { width: 1.1rem; height: 1.1rem; }
.defile {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 25rem);
  gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere-g);
  list-style: none; margin: 0;
  margin-inline: calc(-1 * var(--gouttiere-g)) calc(-1 * var(--gouttiere-d));
  padding: .25rem var(--gouttiere-d) 1.25rem var(--gouttiere-g);
  scrollbar-width: thin; scrollbar-color: var(--filet) transparent;
}
.defile > li { scroll-snap-align: start; min-width: 0; }

/* ---- Maquettes (sur mesure) ----------------------------------- */
.maquettes { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.maquette {
  display: grid; text-decoration: none; color: var(--sur-nuit); height: 100%;
  background: var(--nuit-2); border: 1px solid var(--nuit-filet); border-radius: var(--rayon); overflow: hidden;
  transition: border-color .25s;
}
.maquette:hover { border-color: var(--sur-nuit-doux); }
.maquette__image { padding: clamp(1rem, .5rem + 2vw, 2rem) clamp(1rem, .5rem + 2vw, 2rem) 0; display: grid; place-items: end center; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(143, 195, 234, .10), transparent 70%); }
.maquette__image img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.maquette:hover .maquette__image img { transform: translateY(-6px); }
.maquette__corps { display: grid; gap: .5rem; align-content: start; padding: 1.35rem clamp(1.25rem, 1rem + 1vw, 2rem) 1.6rem; }
.maquette__titre { font-family: var(--f-titre); font-size: var(--t-l); line-height: 1.2; letter-spacing: -.01em; color: var(--blanc); }
.maquette__texte { color: var(--sur-nuit-doux); font-size: var(--t-s); max-width: 34rem; }
.maquette__lien { margin-top: .35rem; font-size: var(--t-s); font-weight: 600; color: var(--alpenglow); display: inline-flex; gap: .4em; align-items: center; }
.maquette__lien svg { width: 1em; height: 1em; transition: transform .25s; }
.maquette:hover .maquette__lien svg { transform: translateX(3px); }
/* Douze colonnes pour pouvoir CENTRER une dernière rangée incomplète sans changer la taille de
   ses cartes. Les sélecteurs comptent depuis la fin : la grille vient de content/demos.json, et
   aucune règle ne doit supposer le nombre de maquettes. La vedette est le premier <li>, les
   cartes commencent au deuxième. */
@media (min-width: 52rem) {
  .maquettes { grid-template-columns: repeat(12, 1fr); }
  .maquettes > li { grid-column: span 6; }
  .maquettes > li:first-child { grid-column: 1 / -1; }
  .maquettes > li:first-child .maquette { grid-template-columns: 1.55fr 1fr; align-items: center; }
  .maquettes > li:first-child .maquette__image { padding-bottom: clamp(1rem, .5rem + 2vw, 2rem); place-items: center; }
  .maquettes > li:first-child .maquette__titre { font-size: var(--t-xl); }
}
/* Deux cartes par rangée : une carte seule en dernier est centrée. Borné à 64rem, sinon ce
   sélecteur, plus spécifique, survivrait dans la grille à trois. */
@media (min-width: 52rem) and (max-width: 63.99rem) {
  .maquettes > li:nth-child(2n):last-child { grid-column: 4 / span 6; }
}
/* Trois cartes par rangée, qui commencent aux <li> 2, 5, 8… : une ou deux cartes en dernière
   rangée sont centrées ; la seconde d'une paire se place d'elle-même à côté de la première. */
@media (min-width: 64rem) {
  .maquettes > li:not(:first-child) { grid-column: span 4; }
  .maquettes > li:nth-child(3n+2):last-child { grid-column: 5 / span 4; }
  .maquettes > li:nth-child(3n+2):nth-last-child(2) { grid-column: 3 / span 4; }
}

/* ---- Visibilité (docs/02-5 §3.4) ------------------------------ */
.visibilite { display: grid; gap: 2.5rem; }
.visibilite .tete { margin-bottom: 0; }
.visibilite__corps { display: grid; gap: 1.25rem; max-width: var(--mesure); }
.visibilite__corps p { color: var(--texte-doux); }
.visibilite__corps .visibilite__garantie { margin-top: .5rem; padding-left: 1.25rem; border-left: 3px solid var(--lac); color: var(--texte); font-size: var(--t-l); font-weight: 500; line-height: 1.45; }
@media (min-width: 64rem) { .visibilite { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } }

/* ---- Questions ------------------------------------------------ */
.questions { display: grid; gap: 0; max-width: 52rem; border-top: 1px solid var(--filet); }
.questions details { border-bottom: 1px solid var(--filet); }
.questions summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 0; font-weight: 600; font-size: var(--t-m);
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem;
  border-right: 2px solid var(--lac); border-bottom: 2px solid var(--lac);
  transform: translateY(-25%) rotate(45deg); transition: transform .25s;
}
.questions details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.questions details p { padding: 0 0 1.35rem; color: var(--texte-doux); max-width: var(--mesure); }

