/* ==========================================================================
   Teck7 · feuille de style
   Palette reprise du site d'origine : jaune #FDC900, crème #FFFCEB, noir.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --jaune: #fdc900;
  --jaune-clair: #ffe066;
  --creme: #fffceb;
  --papier: #fffcf8;
  --encre: #111111;
  --gris: #5f5b4c;
  --gris-clair: #b9b4a0;
  --rouge: #d41317;
  --rouge-texte: #b00e12;
  --vert: #186a0f;
  --trait: rgba(17, 17, 17, 0.16);

  --texte: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --marge: clamp(20px, 5vw, 76px);
  --large: 1320px;
  --rayon: 10px;
  --doux: cubic-bezier(0.22, 0.8, 0.24, 1);
  --barre-mobile: 0px;
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--barre-mobile);
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
.no-js .top__burger { display: none; }
::selection { background: var(--encre); color: var(--jaune); }

:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, .pc :focus-visible, .pied :focus-visible, .carte-contact :focus-visible,
.visionneuse :focus-visible, .barre-mobile :focus-visible { outline-color: var(--jaune); }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  background: var(--jaune); color: var(--encre); font-weight: 700;
  padding: 12px 18px; border-radius: 8px; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ───────────── Éléments communs ───────────── */
.surtitre {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.9em;
}
.surtitre__n {
  display: inline-grid; place-items: center;
  min-width: 2.6em; height: 2.6em; padding: 0 0.6em;
  border: 1.5px solid currentColor; border-radius: 999px;
  letter-spacing: 0;
}
.titre {
  font-size: clamp(2.5rem, 7.4vw, 6.2rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.bloc { padding: clamp(72px, 11vw, 150px) var(--marge); position: relative; }
.bloc > * { max-width: var(--large); margin-inline: auto; }
.bloc__tete { display: grid; gap: 22px; margin-bottom: clamp(36px, 6vw, 80px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 50px; padding: 0.7em 1.45em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--doux);
}
.btn:active { transform: scale(0.97); }
.btn--noir { background: var(--encre); color: var(--creme); border-color: var(--encre); }
.btn--noir:hover { background: var(--jaune); color: var(--encre); }
.contact .btn--noir:hover, .bandeau .btn--noir:hover { background: var(--papier); }
.btn--jaune { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
.btn--jaune:hover { background: var(--papier); border-color: var(--papier); }
.btn--ligne { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--ligne:hover { background: var(--encre); color: var(--creme); }
.btn--ligne-claire { background: transparent; color: var(--creme); border-color: rgba(255, 252, 235, 0.55); }
.btn--ligne-claire:hover { background: var(--creme); color: var(--encre); border-color: var(--creme); }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em;
  padding: 8px 0; min-height: 44px;
}
.lien-fleche::after { content: "→"; transition: transform 0.25s var(--doux); }
.lien-fleche:hover { text-decoration-color: var(--jaune); text-decoration-thickness: 4px; }
.lien-fleche:hover::after { transform: translateX(5px); }

.rond {
  width: 50px; height: 50px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--creme); border: 1.5px solid rgba(255, 252, 235, 0.55);
  font-size: 1.15rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.rond:hover:not(:disabled) { background: var(--jaune); color: var(--encre); border-color: var(--jaune); }
.rond:disabled { opacity: 0.35; cursor: default; }

.statut { display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.82rem; font-weight: 500; white-space: nowrap; }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: var(--gris-clair); flex: none; }
.statut.est-ouvert i { background: #49d13f; box-shadow: 0 0 0 4px rgba(73, 209, 63, 0.22); }
.statut.est-ferme i { background: #ff6a5b; }

/* Apparition au défilement (seulement si les animations sont permises) */
.anim [data-revele] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--doux), transform 0.9s var(--doux); }
.anim [data-revele].est-vu { opacity: 1; transform: none; }

/* ───────────── En-tête ───────────── */
.top { position: fixed; inset: 12px 12px auto; z-index: 100; pointer-events: none; }
.top__bar {
  pointer-events: auto;
  max-width: 1260px; margin-inline: auto; height: 62px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 22px;
  background: var(--encre); color: var(--creme);
  border-radius: 999px;
  box-shadow: 0 10px 30px -12px rgba(17, 17, 17, 0.45);
}
.top__logo { flex: none; display: block; padding: 6px 0; border-radius: 6px; position: relative; z-index: 2; }
.top__logo img { height: 34px; width: auto; }

.top__burger {
  margin-left: auto; position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 16px;
  background: var(--jaune); color: var(--encre); border: 0; border-radius: 999px;
  font-weight: 650; font-size: 0.95rem;
}
.top__burger-icone { width: 18px; height: 12px; position: relative; display: block; }
.top__burger-icone i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--doux), top 0.3s var(--doux); }
.top__burger-icone i:first-child { top: 1px; }
.top__burger-icone i:last-child { top: 9px; }
.menu-ouvert .top__burger-icone i:first-child { top: 5px; transform: rotate(45deg); }
.menu-ouvert .top__burger-icone i:last-child { top: 5px; transform: rotate(-45deg); }
.top__tel { display: none; }

/* Menu plein écran (mobile) */
.top__nav {
  position: fixed; inset: 0; z-index: 1;
  background: var(--encre); color: var(--creme);
  padding: 104px 24px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s, visibility 0s 0.25s;
}
.menu-ouvert .top__nav { visibility: visible; opacity: 1; transition: opacity 0.25s; }
.top__nav ul { display: grid; gap: 2px; }
.top__nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 252, 235, 0.16);
  font-size: clamp(1.55rem, 7.2vw, 2.3rem); font-weight: 700; font-stretch: 82%; line-height: 1.1;
  text-decoration: none;
}
.top__nav li a::after { content: "→"; font-size: 0.7em; color: var(--jaune); }
.top__nav-extra { display: grid; gap: 12px; }
.menu-ouvert { overflow: hidden; }

@media (min-width: 1020px) {
  .top { inset: 14px 16px auto; }
  .top__burger { display: none; }
  .top__nav {
    position: static; visibility: visible; opacity: 1; padding: 0; background: none;
    flex-direction: row; justify-content: center; overflow: visible; flex: 1; transition: none;
  }
  .top__nav ul { display: flex; gap: 2px; }
  .top__nav li a {
    padding: 10px 14px; border: 0; border-radius: 999px;
    font-size: 0.95rem; font-weight: 550; font-stretch: 100%; white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
  }
  .top__nav li a::after { content: none; }
  .top__nav li a:hover { background: rgba(255, 252, 235, 0.14); }
  .top__nav li a[aria-current="true"] { background: var(--creme); color: var(--encre); }
  .top__nav-extra { display: none; }
  .top__tel {
    display: inline-flex; align-items: center; gap: 14px; flex: none;
    text-decoration: none; border-radius: 999px;
  }
  .top__tel-num {
    display: inline-flex; align-items: center; height: 46px; padding: 0 20px;
    background: var(--jaune); color: var(--encre); border-radius: 999px;
    font-family: var(--mono); font-weight: 700; font-size: 0.95rem; white-space: nowrap;
    transition: background-color 0.2s;
  }
  .top__tel:hover .top__tel-num { background: var(--papier); }
  .top__tel .statut span { display: none; }
}
@media (min-width: 1240px) {
  .top__tel .statut span { display: inline; }
}

/* ───────────── Scène d'accueil ───────────── */
.scene { position: relative; background: var(--creme); }
.scene__pin {
  position: relative;
  padding: 118px var(--marge) 56px;
  display: grid; gap: 34px;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  --a: 0; --b: 0; --mx: 0; --my: 0;
  --tour: url("../img/pc-gaming-amd-sm.webp");
}
.scene__plan, .scene__traits, .scene__indice, .scene__passer { display: none; }

.titre-geant {
  font-size: clamp(3rem, 14.2vw, 6.4rem);
  font-weight: 800; font-stretch: 75%;
  line-height: 0.88; letter-spacing: -0.02em;
  margin-top: 14px;
}
.titre-geant .ligne { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.titre-geant .ligne > span { display: inline-block; }
.titre-geant .point {
  display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em;
  background: var(--jaune); border-radius: 50%; box-shadow: 0 0 0 0.035em var(--encre);
}
.scene__chapo { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.4; max-width: 30em; margin-top: 20px; font-weight: 450; }
.scene__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.rig { position: relative; width: min(72vw, 400px); margin-inline: auto; }
.rig__disque {
  position: absolute; left: 50%; top: 52%; width: 122%; aspect-ratio: 1;
  background: var(--jaune); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.rig__tour { position: relative; }
.rig__tour::after {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: -3.5%; height: 9%;
  background: radial-gradient(closest-side, rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0));
  z-index: -1;
}
.rig__corps { width: 100%; }
.rig__lueur, .rig__porte {
  position: absolute; inset: 0;
  clip-path: polygon(0.5% 14.5%, 48% 3%, 48% 69.5%, 0.5% 66.5%);
}
.rig__lueur {
  background: radial-gradient(ellipse 60% 55% at 27% 42%, rgba(253, 201, 0, 0.7), rgba(253, 201, 0, 0) 75%);
  mix-blend-mode: screen; opacity: var(--b);
}
.rig__porte { display: none; }
.rig__point {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  display: grid; place-items: center;
  background: var(--jaune); color: var(--encre);
  border: 2px solid var(--encre); border-radius: 50%;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  --v: 1;
}

.notes { display: grid; gap: 22px; }
.note { border-top: 2px solid var(--encre); padding-top: 12px; }
.note__num { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }
.note .note__titre { color: var(--encre); font-size: 1.32rem; font-weight: 700; font-stretch: 88%; line-height: 1.1; margin: 6px 0 6px; text-wrap: balance; }
.note p { font-size: 0.97rem; color: var(--gris); line-height: 1.4; }

@media (min-width: 620px) {
  .notes { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}

/* ── Version animée : la scène est épinglée et pilotée par le défilement ── */
.anim .scene { height: 500vh; }
.anim .scene__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: block; padding: 0; overflow: hidden;
  --rig-l: min(74vw, calc(50svh * 0.7545));
  --rig-h: calc(var(--rig-l) / 0.7545);
}
.anim .scene__intro {
  position: absolute; left: var(--marge); right: var(--marge); top: 96px;
  opacity: calc(1 - var(--a) * 2.2);
  transform: translateY(calc(var(--a) * -46px));
}
.anim .scene__intro.est-loin { visibility: hidden; }
.anim .titre-geant { font-size: min(17.6vw, 11svh); }
.anim .titre-geant .ligne > span { animation: monte 0.95s var(--doux) both; }
.anim .titre-geant .ligne:nth-child(2) > span { animation-delay: 0.08s; }
.anim .titre-geant .ligne:nth-child(3) > span { animation-delay: 0.16s; }
.anim .scene .surtitre, .anim .scene__chapo, .anim .scene__actions { animation: fondu 0.9s 0.35s var(--doux) both; }
@keyframes monte { from { transform: translateY(108%); } }
@keyframes fondu { from { opacity: 0; transform: translateY(14px); } }
.anim .scene__actions { display: none; }

.anim .rig {
  position: absolute; left: 50%; top: 0; margin: 0; width: var(--rig-l);
  transform: translate(-50%, calc((1 - var(--a)) * 62svh + var(--a) * 12.5svh));
  animation: arrive 1.1s 0.15s var(--doux) both;
}
@keyframes arrive { from { opacity: 0; translate: 0 60px; } }
.anim .rig__disque { transform: translate(-50%, -50%) scale(calc(0.86 + var(--a) * 0.14)); }
.anim .rig__tour {
  transform: perspective(1300px) rotateY(calc((1 - var(--a)) * -10deg + var(--mx) * 5deg)) rotateX(calc(var(--my) * -3deg));
  transform-origin: 50% 60%;
}
.anim .rig__porte {
  display: block;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0.06)),
    var(--tour) center / 100% 100% no-repeat;
  transform-origin: 0.5% 40%;
  transform: perspective(1500px) rotateY(calc(var(--b) * -74deg));
  opacity: calc(min(1, var(--b) * 6) * (1 - var(--b) * 0.5));
}
.anim .rig__point {
  transform: scale(var(--v)); --v: 0;
  transition: background-color 0.25s, color 0.25s;
}
.anim .rig__point.est-actif { background: var(--encre); color: var(--jaune); box-shadow: 0 0 0 6px rgba(253, 201, 0, 0.55); }

.anim .notes {
  position: absolute; left: var(--marge); right: var(--marge);
  top: calc(12.5svh + var(--rig-h) + 30px);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.anim .note {
  grid-area: 1 / 1; --v: 0; --s: 0;
  opacity: calc(var(--v) * (1 - var(--s)));
  transform: translateY(calc((1 - var(--v)) * 18px - var(--s) * 14px));
}
.anim .note__titre { font-size: clamp(1.3rem, 5.6vw, 1.7rem); }

.anim .scene__plan { display: block; }
.cote {
  position: absolute; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gris); display: none;
}
.cote--bd { display: block; right: var(--marge); top: calc(12.5svh + var(--rig-h) + 6px); color: var(--encre); font-weight: 700; opacity: min(1, calc(var(--b) * 3)); }

.anim .scene__passer {
  display: inline-flex; align-items: center; gap: 0.5em;
  position: absolute; right: var(--marge); bottom: calc(14px + var(--barre-mobile));
  min-height: 44px; padding: 0 14px; z-index: 3;
  background: var(--creme); border: 1.5px solid var(--encre); border-radius: 999px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; transition: background-color 0.2s;
}
.anim .scene__passer:hover { background: var(--jaune); }
.anim .scene__indice { display: none; }

@media (min-width: 900px) {
  .scene__pin { --tour: url("../img/pc-gaming-amd.webp"); }
  .anim .scene__pin { --rig-l: min(35vw, calc(76svh * 0.7545)); }
  .anim .scene__intro {
    left: var(--marge); right: auto; top: 50%; width: min(60vw, 900px);
    transform: translateY(calc(-46% + var(--a) * -10vh));
    opacity: calc(1 - var(--a) * 1.8);
  }
  .anim .titre-geant { font-size: min(9.4vw, 19svh); }
  .anim .scene__actions { display: flex; }
  .anim .rig {
    top: 53%; left: calc(75% - var(--a) * 25%);
    transform: translate(-50%, -50%) scale(calc(1 - var(--a) * 0.16));
  }
  .anim .rig__point { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 0.86rem; }
  .anim .rig__point.est-actif { box-shadow: none; background: var(--jaune); color: var(--encre); }

  .anim .scene__traits {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  }
  .scene__traits path {
    fill: none; stroke: var(--encre); stroke-width: 1.5;
    stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--v, 0));
  }

  .anim .notes { position: static; display: block; }
  .anim .note {
    position: absolute; width: min(25vw, 330px);
    opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 18px));
  }
  .anim .note--hg { left: var(--marge); top: 23%; }
  .anim .note--hd { right: var(--marge); top: 23%; }
  .anim .note--bg { left: var(--marge); bottom: 15%; }
  .anim .note--bd { right: var(--marge); bottom: 15%; }
  .anim .note__titre { font-size: clamp(1.25rem, 1.9vw, 1.7rem); }

  .cote { display: block; }
  .cote--hg { left: var(--marge); top: 98px; }
  .cote--hd { right: var(--marge); top: 98px; }
  .cote--bg { left: 50%; bottom: 22px; transform: translateX(-50%); }
  .cote--bd { right: var(--marge); top: auto; bottom: 22px; opacity: 1; }

  .anim .scene__passer { left: var(--marge); right: auto; bottom: 16px; }
  .anim .scene__indice {
    display: flex; align-items: center; gap: 14px;
    position: absolute; left: var(--marge); bottom: 76px;
    font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase;
    opacity: calc(1 - var(--a) * 4);
  }
  .scene__indice i { display: block; width: 64px; height: 1.5px; background: var(--encre); transform-origin: left; animation: tire 1.8s var(--doux) infinite; }
  @keyframes tire { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
}

@media (max-width: 899px) and (max-height: 700px) {
  .anim .scene__pin { --rig-l: min(74vw, calc(44svh * 0.7545)); }
}
@media (max-width: 899px) and (max-height: 620px) {
  .anim .scene__chapo, .anim .note p:not(.note__titre) { display: none; }
}

/* ───────────── Bandeau ───────────── */
.bandeau { background: var(--jaune); border-block: 1.5px solid var(--encre); padding: 0 var(--marge); position: relative; z-index: 1; }
.bandeau ul { max-width: var(--large); margin-inline: auto; display: grid; }
.bandeau li { padding: 15px 0; font-size: 1rem; }
.bandeau li + li { border-top: 1.5px solid var(--encre); }
.bandeau strong { font-weight: 750; }
@media (min-width: 860px) {
  .bandeau ul { grid-template-columns: repeat(3, 1fr); }
  .bandeau li { padding: 20px 28px; text-align: center; }
  .bandeau li + li { border-top: 0; border-left: 1.5px solid var(--encre); }
}

/* ───────────── Services ───────────── */
.fiches { border-bottom: 1.5px solid var(--encre); }
.fiche {
  display: grid; gap: 18px;
  padding: 28px 0 34px; border-top: 1.5px solid var(--encre);
}
.fiche__num { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; }
.fiche h3 { font-size: clamp(1.7rem, 3.6vw, 3rem); font-weight: 750; font-stretch: 80%; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.fiche__texte p { margin-top: 14px; max-width: 34em; color: #33312a; }
.fiche__texte .lien-fleche { margin-top: 10px; }
.fiche__image { position: relative; margin: 6px 12px 12px 0; }
.fiche__image::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; background: var(--jaune); border-radius: 6px; }
.fiche__image img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }

@media (min-width: 820px) {
  .fiche { grid-template-columns: 84px minmax(0, 1fr) minmax(240px, 30%); gap: 28px; align-items: start; padding: 38px 0 46px; }
  .fiche__num { padding-top: 0.9em; }
  .fiche__image { margin-top: 4px; transition: transform 0.6s var(--doux); }
  .fiche__image::before { transition: transform 0.6s var(--doux); }
  .fiche:hover .fiche__image { transform: translate(-6px, -6px) rotate(-1.2deg); }
  .fiche:hover .fiche__image::before { transform: translate(6px, 6px) rotate(1.2deg); }
}

.services__aussi { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.services__aussi-titre { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 8px 15px; border: 1.5px solid var(--encre); border-radius: 999px; font-size: 0.95rem; font-weight: 500; background: var(--papier); }
.services__autres { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 650; font-stretch: 88%; }

/* ───────────── Ordinateurs personnalisés ───────────── */
.pc { background: var(--encre); color: var(--creme); padding-inline: 0; padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.pc > .bloc__tete, .pc > .pc__intro { padding-inline: var(--marge); max-width: calc(var(--large) + 2 * var(--marge)); }
.pc .titre { color: var(--jaune); }
.pc__intro { display: grid; gap: 30px; margin-bottom: clamp(44px, 7vw, 90px); }
.pc__question { font-size: clamp(1.3rem, 2.5vw, 1.95rem); line-height: 1.25; font-weight: 500; font-stretch: 90%; max-width: 22em; text-wrap: pretty; }
.pc__atouts { display: grid; gap: 0; border-top: 1px solid rgba(255, 252, 235, 0.25); }
.pc__atouts li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 252, 235, 0.25); font-size: 1.08rem; font-weight: 550; }
.pc__atouts li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--jaune);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='m7.5 13.5 3.7 3.7 7.3-8' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 860px) {
  .pc__intro { grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: end; }
  .pc__atouts { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

.galerie { max-width: none !important; }
.galerie__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--marge); max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto 18px; }
.galerie__legende { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.galerie__legende span { color: var(--gris-clair); margin-left: 0.8em; }
.galerie__fleches { display: flex; gap: 8px; }
.no-js .galerie__fleches { display: none; }
.galerie__piste {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--marge) 22px; scroll-padding-inline: var(--marge);
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--jaune) rgba(255, 252, 235, 0.12);
}
.galerie__piste::-webkit-scrollbar { height: 6px; }
.galerie__piste::-webkit-scrollbar-track { background: rgba(255, 252, 235, 0.12); }
.galerie__piste::-webkit-scrollbar-thumb { background: var(--jaune); border-radius: 6px; }
.galerie__piste li { flex: none; scroll-snap-align: start; }
.galerie__piste button { display: block; padding: 0; border: 0; background: #1c1c1c; border-radius: 6px; overflow: hidden; cursor: zoom-in; position: relative; }
.galerie__piste img { height: clamp(230px, 34vw, 430px); width: auto; max-width: none; transition: transform 0.7s var(--doux), filter 0.4s; }
.galerie__piste button:hover img { transform: scale(1.045); }
.galerie__piste button::after {
  content: "Agrandir"; position: absolute; left: 10px; bottom: 10px;
  background: var(--jaune); color: var(--encre); font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s var(--doux);
}
.galerie__piste button:hover::after, .galerie__piste button:focus-visible::after { opacity: 1; transform: none; }

/* ───────────── Configurations ───────────── */
.configs { background: var(--creme); }
.config { display: grid; gap: 18px; }
.config__onglets { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 8px; scrollbar-width: none; }
.config__onglets::-webkit-scrollbar { display: none; }
.config__onglets button {
  flex: none; display: flex; align-items: baseline; gap: 12px;
  min-height: 50px; padding: 10px 18px;
  background: var(--papier); border: 1.5px solid var(--encre); border-radius: 999px;
  font-weight: 650; white-space: nowrap; transition: background-color 0.2s, color 0.2s;
}
.config__onglet-prix { font-family: var(--mono); font-size: 0.82rem; font-weight: 500; color: var(--gris); }
.config__onglets button:hover { background: var(--jaune); }
.config__onglets button[aria-selected="true"] { background: var(--encre); color: var(--creme); }
.config__onglets button[aria-selected="true"] .config__onglet-prix { color: var(--jaune); }

.config__fiche { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 14px; overflow: hidden; display: grid; }
.config__visuel { position: relative; display: grid; place-items: center; padding: 34px 20px 22px; min-height: 300px; overflow: hidden; border-bottom: 1.5px solid var(--encre); }
.config__disque { position: absolute; width: min(88%, 460px); aspect-ratio: 1; border-radius: 50%; background: var(--jaune); top: 50%; left: 50%; transform: translate(-50%, -46%); }
.config__visuel img { position: relative; max-height: 300px; max-width: 74%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(17, 17, 17, 0.28)); }
.config__visuel img.change { animation: echange 0.55s var(--doux); }
@keyframes echange { from { opacity: 0; transform: translateX(34px) scale(0.96); } }
.config__promo {
  position: absolute; left: 18px; top: 18px;
  background: var(--rouge); color: #fff; font-weight: 800; font-style: italic; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; transform: rotate(-5deg);
}
.config__promo[hidden] { display: none; }
.config__detail { padding: 26px 22px 26px; display: grid; gap: 14px; align-content: start; }
.config__detail h3 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; font-stretch: 78%; line-height: 0.95; }
.config__resume { font-family: var(--mono); font-size: 0.85rem; color: var(--gris); }
.config__specs { border-top: 1.5px solid var(--encre); margin-top: 4px; }
.config__specs div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--trait); font-size: 0.98rem; }
.config__specs dt { color: var(--gris); flex: none; }
.config__specs dd { font-weight: 600; text-align: right; }
.config__delai { font-size: 0.9rem; color: var(--gris); }
.config__achat { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-top: 6px; }
.config__prix { display: grid; }
.config__prix s { font-family: var(--mono); font-size: 0.9rem; color: var(--gris); }
.config__prix s[hidden] { display: none; }
.config__prix strong { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; font-stretch: 80%; line-height: 1; }
.config__etat { font-size: 0.85rem; color: var(--gris); margin-top: 6px; }

.petites-lignes { margin-top: 26px; display: grid; gap: 4px; font-size: 0.9rem; color: var(--gris); }
.petites-lignes li::before { content: "* "; }

@media (min-width: 900px) {
  .config { grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
  .config__onglets { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; border-top: 1.5px solid var(--encre); }
  .config__onglets button {
    justify-content: space-between; width: 100%; padding: 20px 14px; min-height: 66px;
    background: transparent; border: 0; border-bottom: 1.5px solid var(--encre); border-radius: 0;
    font-size: 1.25rem; font-stretch: 88%; text-align: left; position: relative;
    transition: background-color 0.2s, color 0.2s, padding 0.3s var(--doux);
  }
  .config__onglets button:hover { background: var(--jaune); padding-left: 22px; }
  .config__onglets button[aria-selected="true"] { background: var(--encre); padding-left: 22px; }
  .config__fiche { grid-template-columns: 1fr 1.1fr; }
  .config__visuel { border-bottom: 0; border-right: 1.5px solid var(--encre); min-height: 520px; }
  .config__visuel img { max-height: 400px; max-width: 78%; }
  .config__detail { padding: 36px 36px 34px; }
}

/* ───────────── Création de site web ───────────── */
.web { background: var(--papier); border-top: 1.5px solid var(--encre); }
.web__corps { display: grid; gap: 26px; }
.web__choix { display: grid; gap: 0; border-top: 1.5px solid var(--encre); }
.web__choix button {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; text-align: left;
  padding: 18px 12px; background: transparent; border: 0; border-bottom: 1.5px solid var(--encre);
  transition: background-color 0.2s, padding 0.3s var(--doux);
}
.web__choix-n {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center; margin-top: 4px;
  border: 1.5px solid var(--encre); border-radius: 50%; font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
}
.web__choix strong { display: block; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 750; font-stretch: 80%; line-height: 1.05; }
.web__choix small { display: block; font-size: 0.97rem; color: var(--gris); margin-top: 5px; }
.web__choix button:hover { background: var(--creme); }
.web__choix button[aria-selected="true"] { background: var(--jaune); padding-left: 20px; }
.web__choix button[aria-selected="true"] .web__choix-n { background: var(--encre); color: var(--jaune); }
.web__choix button[aria-selected="true"] small { color: #33312a; }

.navigateur { border: 1.5px solid var(--encre); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--jaune); margin-right: 10px; }
.navigateur__barre { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--encre); }
.navigateur__barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 252, 235, 0.3); }
.navigateur__barre i:first-child { background: var(--jaune); }
.navigateur__url { margin-left: 10px; flex: 1; min-width: 0; background: rgba(255, 252, 235, 0.12); color: var(--creme); border-radius: 999px; padding: 5px 14px; font-family: var(--mono); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navigateur__url b { font-weight: 400; opacity: 0.55; }
.navigateur__page { position: relative; aspect-ratio: 16 / 11; background: #fff; overflow: hidden; }

.maquette { position: absolute; inset: 0; padding: 5%; display: grid; gap: 5%; align-content: start; visibility: hidden; }
.navigateur[data-type="vitrine"] .maquette--vitrine,
.navigateur[data-type="blog"] .maquette--blog,
.navigateur[data-type="boutique"] .maquette--boutique { visibility: visible; }
.maquette > * { --d: 0; }
.anim .navigateur[data-type="vitrine"] .maquette--vitrine > *,
.anim .navigateur[data-type="blog"] .maquette--blog > *,
.anim .navigateur[data-type="boutique"] .maquette--boutique > * { animation: pose 0.6s var(--doux) both; }
.maquette > :nth-child(2) { animation-delay: 0.08s !important; }
.maquette > :nth-child(3) { animation-delay: 0.16s !important; }
@keyframes pose { from { opacity: 0; transform: translateY(16px); } }
.maquette i, .maquette u, .maquette b, .maquette em, .maquette span { display: block; font-style: normal; text-decoration: none; }
.mq-nav { display: flex; align-items: center; gap: 4%; height: 10px; }
.mq-nav b { width: 16%; height: 10px; background: var(--encre); border-radius: 3px; margin-right: auto; }
.mq-nav span { width: 8%; height: 5px; background: #cfc9b2; border-radius: 3px; }
.mq-nav em { width: 22px; height: 22px; border-radius: 50%; background: var(--jaune); border: 1.5px solid var(--encre); font-family: var(--mono); font-size: 0.62rem; font-weight: 700; display: grid; place-items: center; margin-left: 2%; }
.mq-photo { background: repeating-linear-gradient(135deg, #f1ecd6 0 10px, #e8e2c8 10px 20px); border-radius: 6px; }
.mq-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 5%; align-items: center; }
.mq-hero > div:first-child { display: grid; gap: 9px; }
.mq-hero .mq-photo { aspect-ratio: 4 / 3; background: var(--jaune); }
.maquette .l1 { height: 16px; width: 92%; background: var(--encre); border-radius: 4px; }
.maquette .l2 { height: 16px; width: 64%; background: var(--encre); border-radius: 4px; }
.maquette .l3 { height: 6px; width: 80%; background: #cfc9b2; border-radius: 3px; margin-top: 4px; }
.mq-hero em { width: 34%; height: 20px; background: var(--jaune); border: 1.5px solid var(--encre); border-radius: 999px; margin-top: 8px; }
.mq-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.mq-trio div { aspect-ratio: 5 / 3; background: #f1ecd6; border-radius: 6px; border-top: 4px solid var(--encre); }
.mq-une { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5%; align-items: center; }
.mq-une .mq-photo { aspect-ratio: 16 / 9; }
.mq-une > div:last-child { display: grid; gap: 9px; }
.mq-articles { display: grid; gap: 10px; }
.mq-articles div { display: grid; grid-template-columns: 15% 1fr; grid-template-rows: auto auto; column-gap: 4%; row-gap: 6px; align-items: center; padding-bottom: 10px; border-bottom: 1.5px solid #e8e2c8; }
.mq-articles u { grid-row: span 2; aspect-ratio: 4 / 3; background: var(--jaune); border-radius: 4px; }
.mq-articles i { height: 7px; background: var(--encre); border-radius: 3px; width: 70%; }
.mq-articles i + i { background: #cfc9b2; width: 90%; height: 5px; }
.mq-produits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.mq-produits div { display: grid; gap: 6px; }
.mq-produits u { aspect-ratio: 1; background: #f1ecd6; border-radius: 6px; }
.mq-produits div:nth-child(2) u, .mq-produits div:nth-child(6) u { background: var(--jaune); }
.mq-produits i { height: 6px; width: 70%; background: #cfc9b2; border-radius: 3px; }
.mq-produits b { font-family: var(--mono); font-size: clamp(0.6rem, 1.3vw, 0.8rem); font-weight: 700; }

.web__qualites { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.web__qualites li { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; }
.web__qualites svg { width: 38px; height: 38px; fill: var(--jaune); stroke: var(--encre); stroke-width: 1.5; stroke-linejoin: round; }
.web__qualites .trou { fill: var(--encre); stroke: none; }
.web__qualites .trait { fill: none; }
.web__bouton { justify-self: start; }

@media (min-width: 900px) {
  .web__corps { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px 64px; align-items: start; }
  .navigateur { grid-column: 2; grid-row: 1 / span 3; }
  .web__choix, .web__qualites, .web__bouton { grid-column: 1; }
  .web__qualites { margin-top: 8px; }
}

/* ───────────── À propos ───────────── */
.apropos { background: var(--creme); border-top: 1.5px solid var(--encre); display: grid; gap: clamp(36px, 6vw, 72px); }
.apropos__photo { position: relative; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--encre); }
.apropos__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.apropos__photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--jaune); border: 1.5px solid var(--encre); border-radius: 999px;
  padding: 7px 15px; font-family: var(--mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.apropos__texte { display: grid; gap: 8px; }
.apropos__colonnes { display: grid; gap: 1.1em; max-width: 44em; }
.apropos__chapo { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.25; font-weight: 600; font-stretch: 90%; text-wrap: balance; }
.apropos__faits { margin-top: clamp(30px, 5vw, 56px); display: grid; border-top: 1.5px solid var(--encre); }
.apropos__faits div { padding: 16px 0; border-bottom: 1.5px solid var(--encre); display: grid; gap: 4px; }
.apropos__faits dt { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); }
.apropos__faits dd { font-weight: 600; font-size: 1.05rem; }
@media (min-width: 900px) {
  .apropos__photo img { aspect-ratio: 21 / 9; }
  .apropos__colonnes { max-width: none; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: 64px; }
  .apropos__chapo { grid-row: 1 / span 3; }
  .apropos__colonnes p:not(.apropos__chapo) { grid-column: 2; }
  .apropos__faits { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
  .apropos__faits div { border-top: 1.5px solid var(--encre); border-bottom: 0; }
}

/* ───────────── Contact ───────────── */
.contact { background: var(--jaune); border-top: 1.5px solid var(--encre); }
.contact__grille { display: grid; gap: 22px; }
.formulaire {
  background: var(--creme); border: 1.5px solid var(--encre); border-radius: 16px;
  padding: clamp(20px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr; gap: 18px 20px; align-content: start;
}
.formulaire__aide { font-size: 0.92rem; color: var(--gris); grid-column: 1 / -1; }
.requis { color: var(--rouge-texte); font-weight: 700; }
.facultatif { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gris); margin-left: 0.5em; }
.champ { display: grid; gap: 7px; grid-column: 1 / -1; align-content: start; position: relative; }
.champ label { font-weight: 650; font-size: 0.98rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: #fff; border: 1.5px solid var(--encre); border-radius: 9px;
  font-size: 1rem; line-height: 1.4; transition: box-shadow 0.2s, border-color 0.2s;
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; padding-right: 44px; }
.champ ::placeholder { color: #767160; }
.champ input:hover, .champ select:hover, .champ textarea:hover { box-shadow: 4px 4px 0 var(--jaune); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--encre); outline-offset: 2px; box-shadow: none; border-radius: 9px; }
.champ.est-invalide input, .champ.est-invalide textarea { border-color: var(--rouge); box-shadow: 4px 4px 0 rgba(212, 19, 23, 0.22); }
.champ.est-valide input, .champ.est-valide textarea { border-color: var(--vert); }
.champ__erreur { color: var(--rouge-texte); font-size: 0.92rem; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.champ__erreur[hidden] { display: none; }
.champ__erreur::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--rouge); color: #fff; font-size: 0.75rem; display: inline-grid; place-items: center; font-weight: 800; transform: translateY(-1px); }
.champ__compteur { position: absolute; right: 2px; top: 2px; font-family: var(--mono); font-size: 0.7rem; color: var(--gris); }
.formulaire__envoi { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 4px; }
.formulaire__retour { grid-column: 1 / -1; padding: 14px 16px; border-radius: 9px; font-weight: 600; background: #e7f3e3; color: #114d0a; border: 1.5px solid var(--vert); }
.formulaire__retour.est-erreur { background: #fdeaea; color: var(--rouge-texte); border-color: var(--rouge); }
.formulaire__retour[hidden] { display: none; }
@media (min-width: 620px) {
  .formulaire { grid-template-columns: 1fr 1fr; }
  .champ--demi { grid-column: span 1; }
  .formulaire__envoi { grid-template-columns: auto auto; justify-content: start; }
}

.contact__infos { display: grid; gap: 22px; align-content: start; }
.carte-contact { background: var(--encre); color: var(--creme); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; }
.statut--sombre { font-size: 0.95rem; font-weight: 600; }
.carte-contact__liens li { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid rgba(255, 252, 235, 0.2); }
.carte-contact__liens li:first-child { border-top: 1px solid rgba(255, 252, 235, 0.2); }
.carte-contact__liens span:first-child { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-clair); }
.carte-contact__liens a, .carte-contact__liens address { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; font-stretch: 85%; line-height: 1.2; text-decoration: none; overflow-wrap: anywhere; }
.carte-contact__liens a { text-decoration: underline; text-decoration-color: rgba(255, 252, 235, 0.35); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; padding: 4px 0; }
.carte-contact__liens a:hover { color: var(--jaune); text-decoration-color: var(--jaune); }
.plan { display: grid; gap: 12px; justify-items: start; }
.plan iframe { width: 100%; height: 280px; border: 0; border-radius: 10px; background: #2a2a2a; }
.plan__note { font-size: 0.8rem; color: var(--gris-clair); }
.lien-clair { font-weight: 600; text-underline-offset: 0.22em; padding: 6px 0; }
.lien-clair:hover { color: var(--jaune); }

.horaires h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 85%; margin-bottom: 10px; }
.horaires h3 small { font-size: 0.9rem; font-weight: 500; font-stretch: 100%; }
.horaires table { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td { text-align: left; padding: 11px 10px; border-top: 1.5px solid var(--encre); font-size: 1rem; }
.horaires th { font-weight: 600; width: 38%; }
.horaires td { font-family: var(--mono); font-size: 0.9rem; }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 1.5px solid var(--encre); }
.horaires tr.est-aujourdhui th, .horaires tr.est-aujourdhui td { background: var(--encre); color: var(--creme); }
.horaires tr.est-aujourdhui th::after { content: "aujourd’hui"; display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--jaune); color: var(--encre); font-family: var(--mono); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; vertical-align: middle; }

@media (min-width: 980px) {
  .contact__grille { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 28px; align-items: start; }
  .contact__infos { display: contents; }
  .formulaire { grid-column: 1; grid-row: 1; }
  .carte-contact { grid-column: 2; grid-row: 1 / span 2; }
  .horaires { grid-column: 1; grid-row: 2; margin-top: 14px; }
}

/* ───────────── Pied de page ───────────── */
.pied { background: var(--encre); color: var(--creme); padding: clamp(48px, 7vw, 90px) var(--marge) 28px; }
.pied > * { max-width: var(--large); margin-inline: auto; }
.pied__haut { display: grid; gap: 18px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 252, 235, 0.2); }
.pied__logo { display: inline-block; justify-self: start; border-radius: 6px; }
.pied__logo img { width: min(64vw, 300px); }
.pied__devise { color: var(--gris-clair); font-size: 1.05rem; }
.pied__colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 36px 0; }
.pied h2 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-clair); font-weight: 500; margin-bottom: 12px; }
.pied ul { display: grid; gap: 2px; }
.pied a { text-decoration: none; display: inline-block; padding: 6px 0; }
.pied a:hover { color: var(--jaune); text-decoration: underline; text-underline-offset: 0.22em; }
.pied address { margin-bottom: 10px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 22px; border-top: 1px solid rgba(255, 252, 235, 0.2); font-family: var(--mono); font-size: 0.72rem; color: var(--gris-clair); }
@media (min-width: 860px) {
  .pied__haut { grid-template-columns: 1fr auto; align-items: end; }
  .pied__devise { text-align: right; }
  .pied__colonnes { grid-template-columns: repeat(4, 1fr); }
}

/* ───────────── Barre d'action mobile ───────────── */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--encre); color: var(--creme);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1.5px solid var(--encre);
  transition: transform 0.35s var(--doux);
}
.barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; font-weight: 650; font-size: 0.98rem; text-decoration: none; }
.barre-mobile a + a { border-left: 1px solid rgba(255, 252, 235, 0.2); }
.barre-mobile a:first-child { background: var(--jaune); color: var(--encre); }
.barre-mobile.est-cachee, .menu-ouvert .barre-mobile { transform: translateY(110%); }
@media (max-width: 1019px) { :root { --barre-mobile: calc(58px + env(safe-area-inset-bottom)); } }
@media (min-width: 1020px) { .barre-mobile { display: none; } }

/* ───────────── Visionneuse ───────────── */
.visionneuse {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 16px; border: 0; background: rgba(12, 12, 12, 0.97); color: var(--creme);
  display: none; grid-template-rows: 1fr auto auto; gap: 12px; justify-items: center;
}
.visionneuse[open] { display: grid; }
.visionneuse::backdrop { background: rgba(12, 12, 12, 0.9); }
.visionneuse img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; align-self: center; border-radius: 6px; }
.visionneuse__legende { font-size: 0.95rem; color: var(--gris-clair); text-align: center; max-width: 40em; }
.visionneuse__commandes { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.82rem; }
.visionneuse__commandes .btn { margin-left: 10px; }

/* ───────────── Page de texte (conditions générales) ───────────── */
.page-texte { padding: 150px var(--marge) clamp(64px, 9vw, 120px); }
.page-texte > * { max-width: var(--large); margin-inline: auto; }
.page-texte__tete { display: grid; gap: 20px; padding-bottom: clamp(30px, 5vw, 60px); border-bottom: 1.5px solid var(--encre); }
.page-texte__corps { display: grid; gap: 40px; padding-top: clamp(30px, 5vw, 60px); }
.sommaire { align-self: start; }
.sommaire h2 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.sommaire ol { display: grid; gap: 0; counter-reset: s; border-top: 1.5px solid var(--encre); }
.sommaire li { counter-increment: s; border-bottom: 1px solid var(--trait); }
.sommaire a { display: flex; gap: 12px; padding: 10px 4px; text-decoration: none; font-weight: 550; font-size: 0.98rem; }
.sommaire a::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem; color: var(--gris); padding-top: 0.25em; }
.sommaire a:hover { background: var(--jaune); }
.articles { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 46em; }
.articles section { scroll-margin-top: 100px; }
.articles h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; font-stretch: 80%; line-height: 1; margin-bottom: 18px; padding-top: 16px; border-top: 1.5px solid var(--encre); }
.articles p + p, .articles ul + p, .articles p + ul { margin-top: 1em; }
.articles ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: "– "; }
.articles .num { font-family: var(--mono); font-weight: 700; font-size: 0.85em; background: var(--jaune); padding: 1px 7px; border-radius: 999px; margin-right: 6px; }
.articles a { text-underline-offset: 0.2em; }
.retour-haut { display: inline-flex; margin-top: 30px; }
@media (min-width: 980px) {
  .page-texte__corps { grid-template-columns: 300px minmax(0, 1fr); gap: 72px; }
  .sommaire { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
}

/* ───────────── Mouvement réduit / impression ───────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .top, .barre-mobile, .scene__passer, .galerie__fleches, .formulaire__envoi, .plan { display: none !important; }
  body { background: #fff; padding: 0; }
  .pc, .pied, .carte-contact { background: #fff !important; color: #000 !important; }
}
