/*
Theme Name: Gaëlle Ravenet
Theme URI: https://www.gaelleravenet.fr
Author: Gaëlle Ravenet
Description: Thème du site de Gaëlle Ravenet, graphiste PowerPoint freelance.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gaelle-ravenet
*/

/* ---------- Polices (hébergées localement) ---------- */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("assets/fonts/plex-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("assets/fonts/plex-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Helvetica LT Roman : déposer le fichier web sous licence dans assets/fonts/helvetica-lt-roman.woff2.
   Sans ce fichier, on retombe sur Helvetica Neue du système. */
@font-face { font-family: "Helvetica LT Roman"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("assets/fonts/helvetica-lt-roman.woff2") format("woff2"), url("assets/fonts/helvetica-lt-roman.otf") format("opentype"); }

/* Helvetica LT Std Light : utilisée si elle est installée sur l'ordinateur ; sinon, le fichier Roman ci-dessous la remplace.
   Pour l'avoir partout, déposer le fichier web sous licence dans assets/fonts/helvetica-lt-light.woff2 et l'ajouter ci-dessous. */
@font-face { font-family: "Helvetica LT Light"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Helvetica LT Std Light"), local("HelveticaLTStd-Light"), local("Helvetica Neue Light"), local("HelveticaNeue-Light"), url("assets/fonts/helvetica-lt-roman.otf") format("opentype"); }

/* Helvetica LT Std Regular (Roman) : utilisée si elle est installée sur l'ordinateur ; sinon, le fichier Roman du thème. */
@font-face { font-family: "Helvetica LT Regular"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Helvetica LT Std Roman"), local("HelveticaLTStd-Roman"), local("Helvetica LT Std"), local("HelveticaLTStd"), url("assets/fonts/helvetica-lt-roman.otf") format("opentype"); }

/* ---------- Base ---------- */
:root {
  --black: #0e0d0d;
  --light: #f2f2f2;
  --lilac: #caa8e5;
  --pink: #e8aadd;
  --yellow: #f6ed1f;
  --green: #44c05e;
  --h1: clamp(64.76px, 5.5556vw, 80px); /* titre des pages intérieures */
  --h3: clamp(18px, 1.667vw, 24px);
  --lead-h: 84.8px; /* hauteur du chapeau : 3 lignes */
  --violet: #4d44c7;
  --line: #c2c2c2;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --stroke: 0; /* épaisseur ajoutée aux titres Helvetica (0 pour la retirer) */
  --grain: url("assets/img/997db1_e978ddde601d4beb93ad3236eb0f13bd.webp");
  --pad: 3vw;
  --pad-in: 38px;
  --bar: 7.3vw;
  --speed: 102; /* vitesse des bandeaux, en px par seconde */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--light);
  color: var(--black);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
.gr-skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--black); padding: 8px 12px; z-index: 300; }
.gr-skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gr-dark { background: var(--black) var(--grain) center / cover; color: var(--light); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- En-tête ---------- */
.gr-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--bar);
  display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad);
  background: var(--black) var(--grain) center / cover; color: var(--light);
  opacity: 1; transition: opacity .5s ease, visibility .5s;
}
.gr-header.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gr-header__brand { font-size: 17px; letter-spacing: .06em; text-decoration: none; }
.gr-header__toggle {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 0;
  color: inherit; font: inherit; font-size: 17px; cursor: pointer; transition: color .2s;
}
.gr-burger { display: grid; gap: 4px; width: 16px; transform-origin: center; transition: transform .25s ease; }
.gr-burger i { display: block; height: 1px; background: currentColor; }
.gr-header__toggle:hover, .gr-header__toggle:focus-visible { color: var(--green); }
.gr-header__toggle:hover .gr-burger, .gr-header__toggle:focus-visible .gr-burger { transform: scale(1.7); }
.gr-topbar { height: var(--bar); }

h1, h2, h3, .gr-menu a, .gr-card__label { -webkit-text-stroke: var(--stroke) currentColor; }
.gr-cols h3, .gr-legal h2 { -webkit-text-stroke: 0; }

/* Menu : panneau lilas sur la moitié droite */
.gr-menu { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .6); }
.gr-menu[hidden] { display: none; }
.gr-menu__panel { position: relative; width: 50%; min-width: 280px; height: 100%; background: var(--lilac); padding: 9.95vw 3.7vw var(--pad); text-align: right; }
.gr-menu__close { position: absolute; top: 1.875vw; right: 2.86vw; width: 20px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; }
.gr-menu__close::before, .gr-menu__close::after { content: ""; position: absolute; left: -2px; right: -2px; top: 9.5px; height: 1px; background: var(--black); transform: rotate(45deg); }
.gr-menu__close::after { transform: rotate(-45deg); }
.gr-menu ul { list-style: none; padding: 0; }
.gr-menu a { display: inline-block; padding: 2px 0; font-family: var(--display); font-size: max(30px, 3.5266vw); line-height: 1.15; text-decoration: none; color: var(--black); transition: background-color .2s, color .2s; vertical-align: top; }
.gr-menu li { margin-bottom: 4px; line-height: 0; }
/* Les capitales d'Helvetica LT sont plus hautes que le centre de la ligne : on descend le texte pour le centrer dans la boîte. */
.gr-menu__t { position: relative; top: .1485em; display: inline-block; }
.gr-menu a:hover, .gr-menu a:focus-visible { background: #4d44c7; color: #fff; }
body.gr-menu-open { overflow: hidden; }

/* ---------- Accueil : hero ---------- */
.gr-hero { position: relative; min-height: calc(71.76vw + 13px); padding: calc(3.68vw + 80px) var(--pad) 40px; }
.gr-hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--light);
  font-size: calc(8.55vw + 1.5px); line-height: .95; letter-spacing: -.02em;
}
.gr-hero__tagline { font-size: 22px; line-height: 1.8; letter-spacing: .06em; text-transform: uppercase; margin-top: .4vw !important; }
.gr-hero__intro { position: absolute; left: var(--pad); top: 77.3%; width: 66.7vw; font-size: max(14.4px, 1.4118vw); line-height: 1.4; }
.gr-stickers { position: absolute; right: 4.6vw; top: 78%; display: grid; gap: 1.4vw; z-index: 3; }
.gr-sticker {
  display: inline-block; background: var(--pink); color: var(--black); text-decoration: none; font-size: max(12px, 1.1627vw); line-height: 1.4;
  padding: .5vw 1.2vw; transform: rotate(-3deg); box-shadow: 2px 3px 0 rgba(0, 0, 0, .25); transition: transform .2s; justify-self: end;
}
.gr-sticker + .gr-sticker { transform: rotate(2deg); margin-right: 8px; }
.gr-sticker:hover { transform: rotate(0) scale(1.08); }

/* Bandeaux défilants */
.gr-marquee { overflow: hidden; white-space: nowrap; }
.gr-marquee--lilac { background: var(--lilac); color: var(--black); font-size: max(22.67px, 2.196vw); line-height: 1.2; padding: 2.9vw 0; border-bottom: 1px solid var(--black); }
.gr-track { display: inline-flex; animation: gr-scroll 60s linear infinite; will-change: transform; }
.gr-track__item { flex: none; padding-right: 1ch; }
@keyframes gr-scroll { to { transform: translateX(calc(var(--shift, 1000px) * -1)); } }
.gr-marquee:hover .gr-track, .gr-marquee:focus-visible .gr-track, .gr-cta:hover .gr-track, .gr-cta:focus-visible .gr-track { animation-play-state: paused; }

/* Deux lignes soulignées */
.gr-rows { background: var(--light); }
.gr-rowlink { display: grid; grid-template-columns: 50% 1fr; align-items: center; min-height: 135px; padding: 0 0 0 var(--pad); border-bottom: 1px solid var(--black); text-decoration: none; }
.gr-rowlink h2 { font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1.4; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: .085em; text-underline-offset: .1em; transition: color .2s; }
.gr-rowlink:hover h2, .gr-rowlink:focus-visible h2 { color: var(--lilac); }
.gr-rowlink:nth-child(2):hover h2, .gr-rowlink:nth-child(2):focus-visible h2 { color: var(--pink); }
.gr-rowlink p { font-size: 17px; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; padding: 16px 0; }

/* Portfolio : carrousel à gauche, titre à droite */
.gr-portfolio { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 791px; background: var(--light); }
.gr-slides { position: relative; overflow: hidden; background: #fff; }
.gr-slides__track { display: flex; gap: 32px; height: 100%; transition: transform .6s cubic-bezier(.45, 0, .2, 1); will-change: transform; }
.gr-slides__track img { flex: none; width: 1055px; max-width: none; height: 100%; object-fit: cover; }
.gr-slides__arrow {
  position: absolute; top: calc(50% - 25px); width: 50px; height: 50px; z-index: 3; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  background: var(--yellow); opacity: .9; display: grid; place-items: center; transition: opacity .2s;
}
.gr-slides__arrow[hidden] { display: none; }
.gr-slides__arrow:hover { opacity: 1; }
.gr-slides__arrow svg { width: 12.3px; height: 20.8px; fill: var(--black); }
.gr-slides__arrow--next { right: 23px; }
.gr-slides__arrow--prev { left: 23px; }
.gr-slides__arrow--prev svg { transform: scaleX(-1); }
.gr-portfolio__side { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--light); }
.gr-portfolio__side h2 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 4.444vw, 64px); line-height: 1; padding: 0 var(--pad) 52px; }

/* Bandeau « EXPLORER LES PROJETS + » */
.gr-cta { display: block; overflow: hidden; white-space: nowrap; background: var(--light); color: var(--black); text-decoration: none; border-top: 1px solid var(--black); padding: calc(2.9vw - 1px) 0; font-size: max(22.67px, 2.196vw); line-height: 1.2; }
.gr-cta .gr-track__item { padding-right: 0; }
.gr-cta__txt { display: inline-block; background: var(--yellow); padding: 0 2px; line-height: 1.2; text-decoration: underline; text-decoration-skip-ink: none; }
.gr-cta__plus { line-height: 1.2; }
.gr-cta__plus { display: inline-block; padding: 0 1ch; }
/* Variante violet clair (page Présentations) : texte noir sans surlignage. */
.gr-cta--lilac { background: var(--lilac); }
.gr-cta--lilac .gr-cta__txt { background: transparent; }
.gr-portfolio__side .gr-cta { height: 80px; padding: 0; display: flex; align-items: center; }
.gr-portfolio__side .gr-cta .gr-track { align-items: center; }

/* Bandes de projets (accueil) */
.gr-band { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.gr-band > video, .gr-band > img.gr-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-band--banner { height: 65vh; min-height: 300px; }
.gr-band--freedom { height: 73.7vh; min-height: 300px; }
.gr-band--photo { height: 104.8vh; min-height: 400px; background: #000; }
.gr-band--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .68); }

.gr-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 15vh; min-height: 80px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); border-top: 1px solid #fff; color: inherit;
}
.gr-split .gr-bar { height: 12.5vh; border-top: 1px solid var(--black); }
.gr-split--791 .gr-bar { height: 80px; }
.gr-bar__t { flex: 1 1 auto; min-width: 0; padding-right: 2vw; font-size: clamp(14.4px, 1.3917vw, 22px); line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }
.gr-split .gr-bar__t { font-size: clamp(14px, 1.2375vw, 22px); }
.gr-info { flex: none; }
.gr-info { text-decoration: none; display: inline-flex; align-items: baseline; font-size: clamp(32px, 2.78vw, 40px); line-height: 1.3; white-space: nowrap; }
.gr-info__plus { font-weight: 300; margin-right: .2em; }
.gr-info { padding: 0; transition: background-color .2s, color .2s; }
.gr-bar--violet { --hb: #4d44c7; --hf: #fff; }
.gr-bar--yellow { --hb: #f6ed1f; --hf: var(--black); }
.gr-bar--lilac { --hb: #caa8e5; --hf: var(--black); }
.gr-bar--green { --hb: #44c05e; --hf: var(--black); }
.gr-info:hover, .gr-info:focus-visible { background: var(--hb, var(--lilac)); color: var(--hf, var(--black)); }
.gr-info__plus { text-decoration: none; }
.gr-info__txt { text-decoration: underline; }

/* Séparations à deux panneaux */
.gr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 100vh; min-height: 420px; }
.gr-split--791 { height: 791px; }
.gr-split__cell { position: relative; overflow: hidden; }
.gr-split__cell--dark { background: var(--black) var(--grain) center / cover; }
.gr-split__cell--light { background: var(--light); color: var(--black); }
.gr-split__cell--pink { background: var(--pink); }
.gr-split__cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.gr-split__cell .gr-color { opacity: 0; }
.gr-split:hover .gr-color { opacity: 1; }
.gr-split h2 { position: absolute; left: var(--pad); right: var(--pad); font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1; text-transform: uppercase; top: 3vw; }
.gr-split h2.is-bottom { top: auto; bottom: 112px; }
.gr-split--rev .gr-split__cell:first-child .gr-bar { right: 0; }
.gr-split a.gr-cover { position: absolute; inset: 0; z-index: 1; }
.gr-split .gr-bar { z-index: 2; }

/* ---------- Bloc « fenêtre PowerPoint » ---------- */
.gr-deck { background: var(--light); padding: clamp(40px, 6vw, 110px) var(--pad); }
.gr-deck__window {
  --win: rgba(255, 255, 255, .16);
  max-width: 1500px; margin: 0 auto; color: var(--light); font-family: var(--mono);
  background: var(--black) var(--grain) center / cover; box-shadow: 0 40px 90px rgba(14, 13, 13, .28);
}
.gr-deck__window:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.gr-deck__titlebar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; }
.gr-deck__dots { display: flex; gap: 8px; }
.gr-deck__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }
.gr-deck__dots i:nth-child(2) { background: var(--yellow); }
.gr-deck__dots i:nth-child(3) { background: var(--green); }
.gr-deck__file { flex: 1; text-align: center; font-size: 13px; letter-spacing: .04em; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-deck__share { background: var(--pink); color: var(--black); font-size: 12px; text-decoration: none; padding: 5px 14px; transform: rotate(-2deg); transition: transform .2s; }
.gr-deck__share:hover { transform: rotate(0) scale(1.06); }
.gr-deck__tabs { display: flex; gap: 28px; padding: 0 20px 12px; border-bottom: 1px solid var(--win); font-size: 13px; overflow-x: auto; white-space: nowrap; }
.gr-deck__tabs a { color: inherit; text-decoration: none; padding-bottom: 4px; }
.gr-deck__tabs a:hover { color: var(--green); }
.gr-deck__tabs a.is-active { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.gr-deck__body { display: grid; grid-template-columns: minmax(130px, 15%) minmax(0, 1fr); }
.gr-deck__thumbs { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; min-width: 0; background: rgba(0, 0, 0, .3); border-right: 1px solid var(--win); }
.gr-thumb { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gr-thumb__n { flex: none; width: 14px; font-size: 12px; opacity: .75; padding-top: 2px; }
.gr-thumb__mini { flex: none; width: calc(100% - 22px); min-width: 0; container-type: inline-size; display: block; aspect-ratio: 16 / 9; background: var(--sbg); color: var(--sfg); border: 2px solid transparent; outline: 1px solid var(--win); overflow: hidden; transition: border-color .2s, transform .2s; }
.gr-thumb__mini span { display: block; padding: 7cqw; font-family: var(--display); font-size: 11cqw; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.gr-thumb:hover .gr-thumb__mini { transform: translateY(-2px); }
.gr-thumb.is-active .gr-thumb__mini { border-color: var(--green); }
.gr-thumb:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.gr-deck__stage { display: grid; place-items: center; padding: clamp(16px, 3vw, 48px); background: rgba(255, 255, 255, .03); }
.gr-deck__canvas { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; background: var(--black); user-select: none; -webkit-user-select: none; touch-action: pan-y; }

/* Les couleurs des diapositives (et de leurs miniatures) */
.gr-slide--black, .gr-thumb.gr-slide--black { --sbg: var(--black); --sfg: var(--light); --sac: var(--lilac); }
.gr-slide--lilac, .gr-thumb.gr-slide--lilac { --sbg: var(--lilac); --sfg: var(--black); --sac: var(--violet); }
.gr-slide--yellow, .gr-thumb.gr-slide--yellow { --sbg: var(--yellow); --sfg: var(--black); --sac: var(--violet); }
.gr-slide--violet, .gr-thumb.gr-slide--violet { --sbg: var(--violet); --sfg: #fff; --sac: var(--yellow); }
.gr-slide--green, .gr-thumb.gr-slide--green { --sbg: var(--green); --sfg: var(--black); --sac: var(--violet); }

.gr-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 6cqw 6.5cqw 8cqw;
  background: var(--sbg); color: var(--sfg); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0s .6s, visibility 0s .6s; /* la sortante reste opaque sous la nouvelle, puis disparaît */
}
.gr-slide--black { background: var(--black) var(--grain) center / cover; }
.gr-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; transition: opacity .5s ease; } /* fondu enchaîné classique : la nouvelle apparaît par-dessus */
.gr-slide__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 8.4cqw; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.gr-slide__title--xl { font-size: 11.5cqw; }
.gr-slide__kicker { margin: 0 0 2.2cqw; font-size: max(1.7cqw, 8px); letter-spacing: .06em; color: var(--sac); }
.gr-slide__text { margin: auto 0 0; max-width: 46%; font-size: max(1.9cqw, 9px); line-height: 1.5; }
.gr-slide__quote { margin: 2.4cqw 0 0; max-width: 58%; font-family: var(--display); font-size: 3.1cqw; line-height: 1.15; }
.gr-slide__list { margin: auto 0 0; padding: 0; list-style: none; max-width: 60%; font-size: max(2.1cqw, 9px); line-height: 1.55; }
.gr-slide__list li::before { content: "+ "; }
.gr-slide__links { display: grid; gap: .8cqw; margin-top: auto; }
.gr-slide__links a { display: block; width: fit-content; color: inherit; font-family: var(--display); font-size: 6.2cqw; line-height: 1.1; text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .1em; transition: color .2s; }
.gr-slide__links a span { font-family: var(--mono); font-size: 1.8cqw; vertical-align: top; margin-right: 1cqw; text-decoration: none; display: inline-block; }
.gr-slide__links a:hover { color: var(--yellow); }
.gr-slide__mail { margin-top: auto; width: fit-content; color: inherit; font-size: max(2.6cqw, 10px); letter-spacing: .04em; text-decoration: underline; text-underline-offset: .2em; }
.gr-slide__mail:hover { background: var(--black); color: var(--green); text-decoration: none; }
.gr-slide__sticker { position: absolute; right: 7cqw; top: 9cqw; transform: rotate(-4deg); background: var(--pink); color: var(--black); font-size: max(1.5cqw, 8px); padding: .7cqw 1.8cqw; box-shadow: .3cqw .4cqw 0 rgba(0, 0, 0, .3); }
.gr-slide__foot { position: absolute; left: 6.5cqw; right: 6.5cqw; bottom: 2.6cqw; display: flex; justify-content: space-between; font-size: max(1.4cqw, 7px); letter-spacing: .06em; opacity: .75; }
.gr-deck__hint { position: absolute; right: 6.5cqw; bottom: 6cqw; z-index: 5; background: var(--yellow); color: var(--black); font-size: max(1.4cqw, 8px); letter-spacing: .04em; padding: .7cqw 1.6cqw; pointer-events: none; animation: gr-pulse 1.8s ease-in-out infinite; transition: opacity .4s; }
.gr-deck__canvas.is-used .gr-deck__hint { opacity: 0; animation: none; }
@keyframes gr-pulse { 50% { transform: translateX(.6cqw); } }

.gr-deck__notes { margin: 0; padding: 12px 20px; border-top: 1px solid var(--win); font-size: 13px; line-height: 1.5; opacity: .85; min-height: 3.4em; }
.gr-deck__status { display: flex; align-items: center; gap: 20px; padding: 8px 20px; background: rgba(0, 0, 0, .4); border-top: 1px solid var(--win); font-size: 12px; }
.gr-deck__lang { flex: 1; opacity: .7; }
.gr-deck__nav { display: flex; gap: 8px; margin-left: auto; }
.gr-deck__nav button { width: 30px; height: 30px; padding: 0; border: 0; background: var(--yellow); color: var(--black); font: 400 14px/1 var(--mono); cursor: pointer; opacity: .9; transition: opacity .2s; }
.gr-deck__nav button:hover { opacity: 1; }
.gr-deck__fs { margin-left: auto; padding: 5px 12px; border: 1px solid var(--win); background: none; color: inherit; font: 400 12px/1 var(--mono); letter-spacing: .06em; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.gr-deck__fs:hover, .gr-deck__fs:focus-visible { background: var(--green); border-color: var(--green); color: var(--black); }
.gr-deck__fs + .gr-deck__nav { margin-left: 0; }

/* Mode présentation (plein écran) */
.gr-deck__window.is-fs { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100vh; height: 100dvh; width: 100%; max-width: none; background: var(--black); }
.gr-deck__window.is-fs .gr-deck__titlebar, .gr-deck__window.is-fs .gr-deck__tabs, .gr-deck__window.is-fs .gr-deck__notes, .gr-deck__window.is-fs .gr-deck__thumbs, .gr-deck__window.is-fs .gr-deck__lang { display: none; }
.gr-deck__window.is-fs .gr-deck__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.gr-deck__window.is-fs .gr-deck__stage { container-type: size; padding: 0; min-height: 0; background: var(--black); }
.gr-deck__window.is-fs .gr-deck__canvas { width: min(100cqw, 100cqh * 16 / 9); }
.gr-deck__window.is-fs .gr-deck__status { background: rgba(0, 0, 0, .75); }
.gr-deck__window.is-fs-fake { position: fixed; inset: 0; z-index: 500; }
@media (prefers-reduced-motion: reduce) { .gr-slide { transition: opacity .01s; } .gr-deck__hint { animation: none; } }
@media (max-width: 800px) {
  .gr-deck__body { grid-template-columns: 1fr; }
  .gr-deck__stage { order: 1; padding: 12px; }
  .gr-deck__thumbs { order: 2; display: flex; overflow-x: auto; gap: 10px; padding: 10px 12px; border-right: 0; border-top: 1px solid var(--win); }
  .gr-thumb { flex: none; width: 150px; }
  .gr-deck__lang, .gr-deck__file { display: none; }
  .gr-deck__titlebar { justify-content: space-between; }
  .gr-deck__tabs { gap: 20px; }
}

/* Bloc diaporama : thème clair (#F2F2F2), dans l'esprit du pack speaker */
.gr-slide--pink, .gr-thumb.gr-slide--pink { --sbg: var(--pink); --sfg: var(--black); --sac: var(--violet); }
.gr-slide__title--m { font-size: 8cqw; }
.gr-slide__title--l { font-size: 8.4cqw; }
.gr-slide__title + .gr-slide__list { margin-top: auto; }
.gr-slide__kicker + .gr-slide__title { margin-top: 0; }
.gr-slide__text + .gr-slide__quote { margin-top: 1.6cqw; font-size: 2.5cqw; }
.gr-slide .gr-slide__text { max-width: 62%; }
.gr-deck { background: var(--light); border-bottom: 1px solid var(--black); padding: clamp(28px, 5vw, 90px) var(--pad); }
.gr-deck__window { --win: rgba(14, 13, 13, .3); max-width: 1240px; margin: 0 auto; overflow: hidden; border-radius: 14px; background: var(--light); color: var(--black); box-shadow: 0 0 0 1px rgba(14, 13, 13, .55), 0 30px 70px rgba(14, 13, 13, .2); }
.gr-deck__window:focus-visible { outline-color: var(--black); }
.gr-deck__tabs { display: flex; gap: 22px; padding: 0 20px 10px; border-bottom: 1px solid var(--black); overflow-x: auto; white-space: nowrap; }
.gr-deck__tabs button { padding: 2px 0; border: 0; background: none; color: var(--black); font: 400 13px/1.5 var(--mono); letter-spacing: .01em; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 7px; transition: text-decoration-color .15s; }
.gr-deck__tabs button:hover { text-decoration-color: rgba(14, 13, 13, .45); }
.gr-deck__tabs button[aria-selected="true"] { font-weight: 500; text-decoration-color: var(--black); text-decoration-thickness: 3px; }
.gr-deck__tabs button:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.gr-deck__ico { width: 18px; height: 18px; flex: none; }
.gr-deck__fs { display: inline-flex; align-items: center; gap: 8px; }
.gr-deck__thumbs { background: rgba(14, 13, 13, .04); border-right: 1px solid var(--black); }
.gr-thumb__mini { outline-color: rgba(14, 13, 13, .3); }
.gr-deck__stage { background: var(--light); }
.gr-deck__notes { border-top: 1px solid var(--black); opacity: 1; }
.gr-deck__status { background: var(--lilac); color: var(--black); border-top: 0; }
.gr-deck__fs { border-color: rgba(14, 13, 13, .55); }
@media (min-width: 801px) { .gr-deck__body { grid-template-columns: minmax(120px, 14%) minmax(0, 1fr); } .gr-deck__thumbs { gap: 10px; scrollbar-width: thin; } }
.gr-deck__window.is-fs { background: var(--black); color: var(--light); border-radius: 0; box-shadow: none; max-width: none; margin: 0; }
.gr-deck__window.is-fs .gr-deck__status { background: rgba(0, 0, 0, .8); color: var(--light); }
.gr-deck__window.is-fs .gr-deck__fs { border-color: var(--win); }

/* ---------- Page « Accueil 2 » : le site entier dans une fenêtre PowerPoint ---------- */
.gr-sitedeck-page .gr-header, .gr-sitedeck-page .gr-menu, .gr-sitedeck-page .gr-topbar, .gr-sitedeck-page .gr-skip { display: none; }
body.gr-sitedeck-page { overflow: hidden; background: var(--light); }
.gr-sitedeck { box-sizing: border-box; height: 100vh; height: 100dvh; padding: 14px; border-bottom: 0; }
.gr-sitedeck .gr-deck__window:not(.is-fs) { max-width: none; height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.gr-sitedeck .gr-deck__body { min-height: 0; }
.gr-sitedeck .gr-deck__thumbs { overflow-y: auto; min-height: 0; }
.gr-sitedeck .gr-deck__stage { container-type: size; min-height: 0; padding: clamp(10px, 1.5vw, 24px); }
.gr-sitedeck .gr-deck__canvas { width: min(100cqw, 100cqh * 16 / 9); box-shadow: 0 0 0 1px rgba(14, 13, 13, .35); }
.gr-sitedeck .gr-deck__window.is-fs .gr-deck__canvas { box-shadow: none; }
.gr-deck__sec { margin: 8px 0 -2px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.gr-deck__sec:first-child { margin-top: 0; }
button.gr-deck__share { border: 0; font-family: var(--mono); cursor: pointer; }
.gr-deck__dots a { display: inline-flex; }

.gr-slide--light, .gr-thumb.gr-slide--light { --sbg: var(--light); --sfg: var(--black); --sac: var(--violet); }
.gr-slide--bleed { padding: 0; }
.gr-slide--bleed .gr-slide__foot { display: none; }
.gr-slide__lead { margin: 2cqw 0 0; max-width: 72%; font-size: max(1.55cqw, 9px); line-height: 1.45; }
.gr-slide__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3cqw; margin-top: auto; padding-bottom: 3.4cqw; }
.gr-slide__cols h4, .gr-slide__pack h4 { margin: 0 0 .7cqw; font: 400 max(1.35cqw, 8px)/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gr-slide__cols p, .gr-slide__cols li, .gr-slide__pack p { margin: 0; font-size: max(1.1cqw, 7.5px); line-height: 1.45; }
.gr-slide__cols ul { margin: .4cqw 0 0; padding-left: 1.3cqw; }

.gr-slide__grid { flex: 1 1 auto; min-height: 0; margin-bottom: 3.6cqw; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.4cqw 1.6cqw; }
.gr-slide__card { display: block; min-height: 0; color: inherit; text-decoration: none; }
.gr-slide__card figure { display: flex; flex-direction: column; height: 100%; margin: 0; min-height: 0; }
.gr-slide__card img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s; }
.gr-slide__card:hover img { filter: none; }
.gr-slide__card figcaption { padding-top: .6cqw; line-height: 1.25; }
.gr-slide__card figcaption b { display: block; font: 400 max(1.3cqw, 8px)/1.2 var(--display); text-transform: uppercase; }
.gr-slide__card figcaption span { display: block; font-size: max(.95cqw, 6.5px); }
.gr-slide__packs { flex: 1 1 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; margin: 2.2cqw 0 4cqw; }
.gr-slide__pack { padding-top: 1.1cqw; border-top: .5cqw solid var(--lilac); }
.gr-slide__pack--pink { border-color: var(--pink); }
.gr-slide__pack--yellow { border-color: var(--yellow); }
.gr-slide__pack span { font-size: max(1.1cqw, 7.5px); letter-spacing: .08em; }
.gr-slide__pack h4 { margin: .6cqw 0 1.4cqw; font: 400 3.2cqw/1.02 var(--display); letter-spacing: 0; }
.gr-slide__pack p { margin-bottom: 1.1cqw; font-size: max(1.2cqw, 8px); }

.gr-slide__shots { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5cqw; background: var(--light); }
.gr-slide__shots img { width: 100%; height: 100%; object-fit: cover; }
.gr-slide__tag { position: absolute; left: 1.6cqw; bottom: 1.6cqw; padding: .6cqw 1.2cqw; background: var(--light); color: var(--black); font-size: max(1cqw, 7px); letter-spacing: .06em; }
.gr-slide__shot { position: absolute; inset: 0; margin: 0; }
.gr-slide__shot img { width: 100%; height: 100%; object-fit: cover; }
.gr-slide__cap { position: absolute; left: 2cqw; bottom: 2cqw; max-width: 42%; padding: 1.5cqw 1.9cqw 1.6cqw; background: var(--light); color: var(--black); }
.gr-slide__cap strong { display: block; font: 400 3.6cqw/1.02 var(--display); text-transform: uppercase; }
.gr-slide__cap span { display: block; margin-top: .9cqw; font-size: max(1.1cqw, 7.5px); }
.gr-slide__cap a { display: inline-block; margin-top: 1cqw; color: inherit; font-size: max(1.2cqw, 8px); text-decoration: underline; text-underline-offset: .25em; }
.gr-slide__cap a span { display: inline; margin: 0; text-decoration: none; }
.gr-slide__cap a:hover { background: var(--violet); color: #fff; text-decoration: none; }

.gr-slide__contact { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5cqw; margin-bottom: 3cqw; }
.gr-slide__contact-info p { margin: 1.6cqw 0 0; font-size: max(1.8cqw, 10px); }
.gr-slide__contact a { color: inherit; text-underline-offset: .2em; }
.gr-slide__links-inline a { margin-right: 1.6cqw; }
.gr-slide__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw 2cqw; align-content: start; min-height: 0; }
.gr-slide__form label { display: grid; gap: .3cqw; font-size: max(.95cqw, 7px); letter-spacing: .04em; }
.gr-slide__form .full, .gr-slide__notice { grid-column: 1 / -1; }
.gr-slide__form input[type="text"], .gr-slide__form input[type="email"], .gr-slide__form input[type="tel"], .gr-slide__form textarea { width: 100%; padding: .4cqw 0; border: 0; border-bottom: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; font: 400 max(1.2cqw, 9px)/1.4 var(--mono); outline: 0; resize: none; }
.gr-slide__form textarea::placeholder { color: rgba(255, 255, 255, .8); }
.gr-slide__form input:focus, .gr-slide__form textarea:focus { border-bottom-width: 2px; }
.gr-slide__check { display: flex !important; align-items: center; gap: .8cqw; }
.gr-slide__check input { width: 1.2cqw; height: 1.2cqw; min-width: 10px; min-height: 10px; margin: 0; accent-color: #fff; }
.gr-slide__send { padding: .9cqw 3cqw; border: 1px solid #fff; background: none; color: #fff; font: 400 max(1.1cqw, 8px)/1 var(--mono); cursor: pointer; transition: background-color .2s, color .2s; }
.gr-slide__send:hover { background: #fff; color: var(--violet); }
.gr-slide__notice { margin: 0 0 .6cqw; padding: .8cqw 1.2cqw; background: rgba(255, 255, 255, .2); font-size: max(1.05cqw, 8px); }

/* ---------- Diaporama : couverture, mission, missions claires, portfolio ---------- */
.gr-slide.gr-slide--cover .gr-slide__title--cover { font-size: 9.4cqw; line-height: .95; }
.gr-slide__slogan { margin: 2.4cqw 0 0; font-size: max(2cqw, 9px); letter-spacing: .06em; }
.gr-cover-pic { position: absolute; opacity: 0; transform: translateY(1.2cqw) scale(.96); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.gr-cover-pic img { display: block; width: 100%; height: auto; }
.gr-cover-pic:nth-of-type(2) { transition-delay: .08s; }
.gr-cover-pic:nth-of-type(3) { transition-delay: .16s; }
.gr-slide--cover:hover .gr-cover-pic, .gr-slide--cover.is-touched .gr-cover-pic { opacity: 1; transform: none; }

.gr-slide__quote--big { margin: 0; max-width: 74%; font-size: 4.2cqw; line-height: 1.05; }
.gr-slide__quote--big + .gr-slide__text { margin-top: 2cqw; max-width: 58%; font-size: max(1.65cqw, 9px); line-height: 1.45; }
.gr-stickers.gr-stickers--slide { top: auto; right: 6.5cqw; bottom: 17cqw; gap: 1.2cqw; }
.gr-stickers--slide .gr-sticker { font-size: max(1.5cqw, 8px); padding: .5cqw 1.4cqw; }
.gr-slide__marquee { position: absolute; left: 0; right: 0; bottom: 5.6cqw; z-index: 2; padding: 1cqw 0; overflow: hidden; background: var(--lilac); color: var(--black); font-size: max(2cqw, 10px); line-height: 1.2; white-space: nowrap; border-bottom: 1px solid var(--black); }
.gr-slide__marquee:hover .gr-track { animation-play-state: paused; }
.gr-slide__kicker--violet, .gr-slide__kicker--green, .gr-slide__kicker--pink { display: inline-block; align-self: flex-start; padding: .5cqw 1.3cqw; color: var(--black); }
.gr-slide__kicker--violet { background: var(--violet); color: #fff; }
.gr-slide__kicker--green { background: var(--green); }
.gr-slide__kicker--pink { background: var(--pink); }

.gr-slide.gr-slide--folio { display: grid; grid-template-columns: 27cqw minmax(0, 1fr); padding: 0; background: var(--light); }
.gr-slide--folio .gr-slide__foot { display: none; }
.gr-folio__side { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; padding-top: 2cqw; border-right: 1px solid var(--black); }
.gr-folio__kicker { margin: 0; padding: 0 2cqw; font-size: max(1.1cqw, 7px); letter-spacing: .06em; }
.gr-folio__cap { padding: 2cqw 2cqw 2.4cqw; border-top: 1px solid var(--black); }
.gr-folio__cap h3 { margin: 0; font: 400 3cqw/1.03 var(--display); text-transform: uppercase; }
.gr-folio__cap p { margin: 1.4cqw 0 0; font-size: max(1.2cqw, 8px); line-height: 1.4; }
.gr-folio__link { display: inline-block; margin-top: 1.6cqw; padding: .2cqw .5cqw; margin-left: -.5cqw; color: inherit; font-size: max(1.3cqw, 8px); text-decoration: none; transition: background-color .2s, color .2s; }
.gr-folio__link { text-decoration: underline; text-underline-offset: .25em; }
.gr-folio__link:hover { background: var(--yellow); color: var(--black); text-decoration: none; }
.gr-folio__link span { text-decoration: none; display: inline-block; }
.gr-folio__media { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #0b0b0b; }
.gr-mock { position: relative; width: 100%; margin: 0; }
.gr-mock img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gr-mock__video { position: absolute; left: 0; top: 0; width: 1000px; max-width: none; transform-origin: 0 0; object-fit: cover; background: #000; opacity: 0; transition: opacity .6s; pointer-events: none; }
.gr-mock__video.is-on { opacity: 1; }
.gr-folio__video { width: 100%; }
.gr-folio__video video { display: block; width: 100%; height: auto; max-height: 100%; background: #000; }

/* ---------- Pied de page ---------- */
.gr-footer__top { text-align: center; padding: calc(2.35vw + 93px) var(--pad) 40px; min-height: calc(19.75vw + 146px); }
.gr-footer__title { font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1.4; text-transform: uppercase; }
.gr-footer__mail { display: inline-block; font-size: max(17.6px, 1.719vw); line-height: 1.4; margin-top: 1.4vw; text-decoration: none; }
.gr-footer__mail:hover { text-decoration: underline; }
.gr-footer__bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gr-footer__nav { background: var(--light); color: var(--black); display: flex; align-items: center; padding: 0 0 0 var(--pad); min-height: 52px; font-size: 16px; }
.gr-footer__nav ul { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; flex-wrap: nowrap; white-space: nowrap; }
.gr-footer__nav a, .gr-footer__soc a { text-decoration: none; }
.gr-footer__nav a { padding: 2px 5px; margin: 0 -5px; transition: background .15s; }
.gr-footer__nav a:hover, .gr-footer__nav a:focus-visible, .gr-footer__nav a:active, .gr-footer__nav .current-menu-item > a, .gr-footer__nav .current_page_item > a { background: var(--green); color: var(--black); }
.gr-footer__soc a:hover { text-decoration: underline; }
.gr-footer__soc { display: flex; gap: 32px; align-items: center; padding: 0 var(--pad); font-size: 17px; background: var(--black) var(--grain) center / cover; color: #fff; }
.gr-footer__legal { background: var(--light); color: var(--black); display: flex; justify-content: space-between; gap: 16px; padding: 6px var(--pad); font-size: 14px; flex-wrap: wrap; }
.gr-footer__legal ul { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.gr-footer__legal a { text-decoration: none; }
.gr-footer__legal a:hover { text-decoration: underline; }

/* ---------- Pages intérieures ---------- */
.gr-page { background: var(--light); }
.gr-content > h1 { font-family: var(--display); font-weight: 400; font-size: var(--h1); line-height: 1.1625; text-transform: uppercase; padding: 2.92vw var(--pad-in) 0; }
.gr-content > .gr-lead { font-size: 16px; line-height: 25.6px; max-width: calc(77vw + 80px); padding: 8px var(--pad-in) 0; }

.gr-cols.wp-block-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; box-sizing: border-box; margin: 0;
  padding: calc(276px - 2.92vw - 1.1625 * var(--h1) - var(--lead-h)) clamp(0px, calc(2.5vw - 23px), 13px) 59px var(--pad-in); }
.gr-cols.wp-block-columns > .wp-block-column { flex: none; width: auto; margin: 0; padding-right: 2.9vw; }
.gr-project .gr-cols.wp-block-columns { padding-bottom: 190px; }
.gr-page--pres .gr-cols.wp-block-columns { min-height: calc(702px - 2.92vw - 1.1625 * var(--h1) - var(--lead-h)); padding-bottom: 0; }
.gr-page--event .gr-cols.wp-block-columns { min-height: calc(719px - 2.92vw - 1.1625 * var(--h1) - var(--lead-h)); padding-bottom: 0; }
.gr-cols h3 { font-family: var(--mono); font-weight: 400; font-size: var(--h3); line-height: normal; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .45em; }
.gr-cols p, .gr-cols li { font-size: 16px; line-height: 25.6px; margin: 0; }
.gr-cols ul { padding-left: 29px; margin: 0; }
.gr-cols .wp-block-column > h3:not(:first-child) { margin-top: 3vw; }
.gr-cols .wp-block-column > p + h3 { margin-top: 3vw; }

/* Apparition des colonnes : fondu doux qui monte du bas (1,2 s, comme sur l'original). */
.js .gr-cols .wp-block-column { opacity: 0; transform: translateY(60px); }
.js .gr-cols .wp-block-column.is-in { animation: gr-float 1.2s cubic-bezier(.445, .05, .55, .95) both; }
@keyframes gr-float { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .gr-cols .wp-block-column { opacity: 1; transform: none; } }

/* Packs */
.gr-pack.wp-block-columns { display: grid; grid-template-columns: 40.4% 1fr; gap: 0; padding: 25px var(--pad-in) 0; min-height: 238px; margin: 0; border-top: 1px solid #8a8a8a; }
.gr-pack.wp-block-columns > .wp-block-column { flex: none; width: auto; margin: 0; }
.gr-pack.wp-block-columns:nth-of-type(n) { }
.gr-pack .gr-pack__n { font-size: var(--h3); line-height: 1.5; letter-spacing: .06em; margin: 0; }
.gr-pack h3 { font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1; text-transform: uppercase; margin: 0; }
.gr-pack p { max-width: 524px; font-size: 16px; line-height: 25.6px; margin: 0; }
.gr-pack p + p { margin-top: 16px; }
.gr-pack.wp-block-columns:last-of-type { min-height: 247px; }

/* Mosaïque d'images (événementiel, fiches projet) */
.gr-mrow { position: relative; width: 100%; background: var(--light); }
.gr-mrow > * { position: absolute; display: block; object-fit: cover; }
.gr-mrow > img, .gr-mrow > video { height: auto; }
.gr-mrow .gr-m-bg { background: var(--cell, #e7e7e9); }
.gr-mrow .gr-m-text { color: #fff; }
.gr-mrow .gr-m-text h3 { font-family: var(--display); font-weight: 400; font-size: 32.4px; line-height: 1.1; text-transform: uppercase; }
.gr-mrow .gr-m-text .sub { font-size: 17px; line-height: 1.4; margin-top: 18px; text-transform: uppercase; }
.gr-mrow .gr-m-text p.d { position: absolute; left: 0; bottom: 0; right: 0; font-size: 14.4px; line-height: 1.45; }
.gr-mosaic { background: var(--light); }
.gr-vid { position: absolute; overflow: hidden; background: #000; }
.gr-vid video, .gr-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-vid__play {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; z-index: 2; border: 0; padding: 0; cursor: pointer;
  background: var(--yellow); display: grid; place-items: center;
}
.gr-vid__play::before { content: ""; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent var(--black); }
.gr-vid.is-playing .gr-vid__play { display: none; }
.gr-xfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.gr-xfade img.is-active { opacity: 1; }

/* Cartes projet (page Présentations) */
.gr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; padding: 0 40px 100px; }
.gr-card { min-height: 417px; }
.gr-card__img { overflow: hidden; aspect-ratio: 462 / 259.3; background: #ddd; }
.gr-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s, transform .6s; }
.gr-card:hover .gr-card__img img { filter: grayscale(0); }
.gr-card__label { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.4; margin-top: 10px; text-transform: uppercase; }
.gr-card__type { font-size: 12px; line-height: 1.5; margin-top: 2px; }
.gr-card__btn {
  display: inline-block; margin-top: 18px; width: 190px; padding: 14px 0; text-align: center; border: 1px solid #555; background: transparent; color: var(--black);
  font: 400 12.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.gr-card:nth-child(odd) .gr-card__btn:hover, .gr-card:nth-child(odd) .gr-card__btn:focus-visible { background: var(--green); border-color: var(--green); color: var(--black); }
.gr-card:nth-child(even) .gr-card__btn:hover, .gr-card:nth-child(even) .gr-card__btn:focus-visible { background: var(--violet); border-color: var(--violet); color: #fff; }
.gr-lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(14, 13, 13, .92); display: grid; place-items: center; padding: 40px; }
.gr-lightbox[hidden] { display: none; }
.gr-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gr-lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font: 400 32px/1 var(--mono); cursor: pointer; }

/* Fiche projet */
.gr-project__title { font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1.4; text-transform: uppercase; padding: 38px var(--pad-in) 0; }

/* ---------- Contact ---------- */
.gr-contact1 { display: grid; grid-template-columns: 224px 1fr; gap: 127px; padding: 38px var(--pad-in) 209px; align-items: start; }
.gr-contact1 h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 3.333vw, 64px); line-height: 1.4; text-transform: uppercase; }
.gr-contact1__side p { font-size: max(17.6px, 1.719vw); line-height: 1.4; }
.gr-contact1__side p.gr-mail { font-size: clamp(32px, 2.083vw, 40px); line-height: 1.6; margin-top: 26px; }
.gr-contact1 a { text-decoration: none; }
.gr-contact1 a:hover { text-decoration: underline; }
.gr-contact2 { background: var(--violet); color: var(--light); display: grid; grid-template-columns: 388px 1fr; gap: 76px; padding: 85px var(--pad) 90px; }
.gr-contact2 h2 { font-family: var(--display); font-weight: 400; font-size: max(48px, 4.6875vw); line-height: 1.1; text-transform: uppercase; margin-top: -24px; }
.gr-form { display: grid; gap: 59px 62px; grid-template-columns: 238px 238px; max-width: 700px; align-content: start; }
.gr-form label { display: grid; gap: 6px; font-size: 17px; line-height: 1.6; text-transform: uppercase; }
.gr-form .full { grid-column: 1 / -1; }
.gr-form input[type="text"], .gr-form input[type="email"], .gr-form input[type="tel"], .gr-form textarea {
  font: 400 16px/1.5 var(--mono); color: var(--light); background: transparent; border: 0; border-bottom: 1px solid var(--light);
  border-radius: 0; padding: 8px 0; width: 100%; outline: 0;
}
.gr-form textarea { resize: vertical; min-height: 75px; }
.gr-form textarea::placeholder { color: rgba(242, 242, 242, .85); }
.gr-form input:focus, .gr-form textarea:focus { border-bottom-width: 2px; }
.gr-form__check { display: flex !important; align-items: center; gap: 10px; font-size: 14px !important; }
.gr-form__check input { width: 14px; height: 14px; appearance: none; border: 1px solid var(--light); background: transparent; margin: 0; }
.gr-form__check input:checked { background: var(--light); }
.gr-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gr-form__legal { font-size: 12px; line-height: 1.5; opacity: .85; grid-column: 1 / -1; }
.gr-btn { width: 238px; background: transparent; border: 1px solid var(--light); color: var(--light); font: 400 14px/1 var(--mono); padding: 14px 0; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.gr-btn:hover { background: var(--light); color: var(--violet); }
.gr-notice { grid-column: 1 / -1; padding: 12px 16px; font-size: 14px; background: rgba(255, 255, 255, .15); }

/* Pages légales */
.gr-legal { padding: 30px var(--pad-in) 100px; max-width: 1100px; }
.gr-legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 3.333vw, 64px); line-height: 1.4; text-transform: uppercase; margin-bottom: 24px; }
.gr-legal h2 { font-family: var(--mono); font-weight: 400; font-size: var(--h3); letter-spacing: .06em; text-transform: uppercase; margin: 40px 0 8px; }
.gr-legal p { font-size: 16px; line-height: 25.6px; max-width: 760px; margin-bottom: 12px; }
.gr-legal mark { background: var(--yellow); padding: 0 4px; }

/* Le chapeau passe sur 4 lignes sur les écrans étroits, comme sur l'original. */
@media (max-width: 1100px) { :root { --lead-h: 110.4px; } }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  :root { --pad: 20px; --pad-in: 20px; --bar: 64px; }
  .gr-hero h1 { font-size: 13vw; }
  .gr-hero__tagline { font-size: 14px; }
  .gr-hero { min-height: 100vh; }
  .gr-hero__intro { position: static; width: auto; margin-top: 40px; font-size: 14px; }
  .gr-bar, .gr-split .gr-bar { height: 80px; }
  .gr-footer__top { min-height: 0; padding: 60px var(--pad); }
  .gr-portfolio__side h2 { font-size: 40px; }
  .gr-cta { padding: 20px 0; }
  .gr-stickers { position: static; display: flex; gap: 12px; margin-top: 24px; }
  .gr-sticker { justify-self: auto; }
  .gr-marquee--lilac, .gr-cta { font-size: 16px; padding: 20px 0; }
  .gr-split--791 { height: auto; }
  .gr-split h2.is-bottom { bottom: 100px; }
  .gr-rowlink { grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 6px; }
  .gr-rowlink h2 { font-size: 34px; line-height: 1.2; }
  .gr-footer__mail { font-size: 14px; }
  .gr-rowlink p { font-size: 13px; padding: 8px 0 12px; }
  .gr-portfolio { grid-template-columns: 1fr; grid-template-rows: 60vh 40vh; height: auto; }
  .gr-slides__track img { width: 100vw; }
  .gr-slides__track { gap: 0; }
  .gr-split { grid-template-columns: 1fr; height: auto; }
  .gr-split__cell { height: 70vh; }
  .gr-split h2, .gr-footer__title, .gr-project__title, .gr-contact1 h1, .gr-contact2 h2 { font-size: 32px; line-height: 1.15; }
  .gr-bar { height: 80px; }
  .gr-info { font-size: 22px; }
  .gr-bar__t { font-size: 11px; }
  .gr-footer__bar { grid-template-columns: 1fr; }
  .gr-footer__soc { min-height: 52px; }
  .gr-cols.wp-block-columns { grid-template-columns: 1fr; gap: 24px; padding: 40px var(--pad-in); }
  .gr-pack.wp-block-columns { grid-template-columns: 1fr; gap: 12px; }
  .gr-content > h1 { font-size: 40px; padding-top: 30px; }
  .gr-cols.wp-block-columns, .gr-page--pres .gr-cols.wp-block-columns, .gr-page--event .gr-cols.wp-block-columns { min-height: 0; padding: 40px var(--pad-in); }
  .gr-pack h3 { font-size: 34px; line-height: 1.1; }
  .gr-grid { grid-template-columns: 1fr; padding: 0 var(--pad-in) 60px; }
  .gr-contact1 { grid-template-columns: 1fr; gap: 24px; padding-bottom: 60px; }
  .gr-contact1__side .gr-mail { font-size: 18px; }
  .gr-contact2 { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--pad); }
  .gr-form { grid-template-columns: 1fr; gap: 28px; }
  .gr-btn { width: 100%; }
  .gr-menu__panel { width: 100%; padding-top: 100px; }
  .gr-menu a { font-size: 40px; }
  .gr-menu__close { top: 22px; right: 20px; }
}

/* Portfolio : miniatures en photo (jamais de texte) et mockups à écran détouré */
.gr-thumb__mini--img { padding: 0; }
.gr-thumb__mini--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gr-mock--fg { background-size: cover; background-position: center; }
.gr-mock--fg .gr-mock__video { z-index: 0; }
.gr-mock--fg img { position: relative; z-index: 1; }
.gr-folio__photo { display: block; width: 100%; height: 100%; object-fit: cover; }

.gr-folio__media:has(.gr-folio__photo--paper) { background: #F2F2F2; }
.gr-folio__photo--paper { object-fit: contain; mix-blend-mode: multiply; }
.gr-folio__photo--paper + * { display: none; }

/* ---------- Diapositives 1 à 7 : mise en page de la maquette (unités cqw = px / 10 sur une page de 1000 px) ---------- */
.gr-slide.gr-slide--cover .gr-slide__title--cover { font-size: 8.9cqw; line-height: .94; }
.gr-slide--cover .gr-slide__slogan { margin-top: 1.2cqw; }
.gr-cover-pic { overflow: hidden; }
.gr-cover-pic img { width: 100%; height: 100%; object-fit: cover; }
.gr-slide--abs { padding: 0; }
.gr-a { position: absolute; left: 6.8cqw; margin: 0; }
.gr-a__kick { top: 7.6cqw; padding: .55cqw .5cqw; font-size: 2.2cqw; line-height: 1.5; color: #000; letter-spacing: 0; }
.gr-a__kick--top { top: 7.6cqw; }
.gr-a__kick--pink { background: var(--pink); }
.gr-a__kick--green { background: var(--green); }
.gr-a__kick--yellow { background: var(--yellow); }
.gr-slide--black .gr-a__kick--top { top: 14.2cqw; }
.gr-slide--black .gr-a__kick--yellow.gr-a__kick--top { top: 7.6cqw; }
.gr-a__title { top: 14.3cqw; font-family: var(--display); font-weight: 400; font-size: 6.1cqw; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .06em; }
.gr-a__list { top: 27cqw; padding: 0; list-style: none; font-size: 2.1cqw; line-height: 2.5cqw; white-space: nowrap; }
.gr-a__list li::before { content: "+ "; }
.gr-a__list--who { top: 16cqw; color: var(--light); }
.gr-a__para { top: 19cqw; font-size: 1.7cqw; line-height: 2.4cqw; white-space: nowrap; }
.gr-a__para--grey { color: var(--light); }
.gr-a__para--conc { top: 28cqw; font-size: 2.1cqw; line-height: 2.5cqw; color: var(--light); }
.gr-a__big { top: 5.4cqw; font-family: var(--display); font-weight: 400; font-size: 8cqw; line-height: .94; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.gr-slide--abs .gr-slide__marquee { top: 38.5cqw; bottom: auto; padding: 2.8cqw 0; font-size: 2cqw; border-bottom: 0; }
.gr-slide--abs .gr-stickers.gr-stickers--slide { top: 3.5cqw; bottom: auto; right: 4.4cqw; justify-items: end; gap: 1.6cqw; }
.gr-slide__cols p + h4 { margin-top: 3.1cqw; }
.gr-slide__cols { margin-top: 4cqw; padding-bottom: 0; }

/* ---------- v2 : accueil en fond noir, miniatures en blocs ---------- */
.gr-a__kick--lilac { background: var(--lilac); }
.gr-slide--black .gr-a__kick--top { top: 4.9cqw; }
.gr-a__para--grey { top: 9.6cqw; }
.gr-a__para--conc { top: 21.6cqw; font-size: 1.7cqw; line-height: 2.05cqw; }
.gr-slide--cover .gr-stickers.gr-stickers--slide { top: auto; bottom: 2.9cqw; right: 2.5cqw; justify-items: end; gap: 1.2cqw; }
.gr-slide__cta { position: absolute; left: 0; right: 0; top: 38.5cqw; padding: 2.8cqw 0; font-size: 2.2cqw; border-top: 1px solid var(--violet); }
.gr-thumb__mini--card { display: grid; place-items: center; background: #000; }
.gr-thumb__mini--light { background: var(--light); outline-color: #12303f; }
.gr-tsticker { display: inline-block; max-width: 80%; padding: .9cqw 2cqw; transform: rotate(-2deg); font-style: normal; font-family: var(--display); font-size: 5.6cqw; line-height: 1.15; text-align: center; text-transform: uppercase; color: #000; }
.gr-tsticker b { font: 400 .95em/1 var(--mono); }
.gr-tsticker--pink { background: var(--pink); }
.gr-tsticker--green { background: var(--green); }
.gr-tsticker--yellow { background: var(--yellow); }
.gr-tsticker--lilac { background: var(--lilac); }
.gr-tname { padding: 1.6cqw 3.5cqw; background: #0d1519; color: var(--light); font: 400 4.2cqw/1 var(--mono); letter-spacing: .04em; }
.gr-thumb__mini--img { position: relative; display: grid; place-items: center; }
.gr-thumb__mini--img img { position: absolute; inset: 0; }
.gr-thumb__mini--img .gr-tsticker, .gr-thumb__mini--img .gr-tname { position: relative; }
.gr-slide__grid { row-gap: 4.5cqw; }

/* ---------- v3 : miniatures 16:9, grilles de projets ---------- */
.gr-thumb.gr-slide--black, .gr-thumb.gr-slide--light { background: none; }
.gr-slide.gr-slide--grid { padding: 3.2cqw 8cqw 5.5cqw; }
.gr-slide--grid .gr-slide__grid { flex: 1 1 auto; margin: 0; grid-template-rows: auto auto; align-content: center; gap: 4.5cqw 1.6cqw; }
.gr-slide--grid .gr-slide__card { display: flex; flex-direction: column; min-width: 0; }
.gr-slide__pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.gr-slide__pic img { display: block; width: 100%; height: 100%; flex: none; object-fit: cover; filter: grayscale(1); transition: filter .35s; }
.gr-slide__card:hover .gr-slide__pic img { filter: none; }
.gr-slide__meta { padding-top: .8cqw; line-height: 1.2; }
.gr-slide__meta b { display: block; font: 400 1.75cqw/1.15 var(--display); text-transform: uppercase; }
.gr-slide__meta span { display: block; margin-top: .25cqw; font-size: 1.2cqw; }
.gr-slide__more { align-self: flex-start; margin-top: .7cqw; padding: .45cqw .9cqw .45cqw .1cqw; border: .2cqw solid transparent; color: inherit; font: 400 1.35cqw/1.2 var(--mono); text-decoration: none; transition: border-color .2s, padding .2s; }
.gr-slide__more u { text-decoration-thickness: .16em; text-underline-offset: .2em; }
.gr-slide__more:hover, .gr-slide__more:focus-visible { padding-left: .9cqw; border-color: var(--yellow); outline: 0; }
.gr-slide__pic { position: relative; width: 100%; height: auto; flex: none; }
.gr-slide__pic img { position: absolute; inset: 0; }
.gr-slide.gr-slide--grid { padding: 3cqw 11cqw 7cqw; }
.gr-slide--grid .gr-slide__grid { gap: 3.2cqw 1.6cqw; }
.gr-deck__hint { left: 6.8cqw; right: auto; }
/* Slide 2 : texte et bandeau légèrement plus bas */
.gr-a__para--grey { top: 11.2cqw; }
.gr-a__para--conc { top: 23.2cqw; }
.gr-slide--abs .gr-slide__marquee { top: 39.7cqw; }
/* « + INFO » des grilles : remplissage jaune au survol */
.gr-slide__more { transition: background-color .2s, padding .2s; }
.gr-slide__more:hover, .gr-slide__more:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
/* Miniatures du portfolio : noir et blanc, la couleur revient au survol */
.gr-thumb__mini--img img { filter: grayscale(1); transition: filter .35s ease; }
.gr-thumb:hover .gr-thumb__mini--img img { filter: none; }

/* ---------- Page projet dans le diaporama (fondu + défilement dans le cadre) ---------- */
.gr-pj { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; gap: 1.4cqw; padding: 2.6cqw 8cqw 5.2cqw; background: var(--light); color: var(--black); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility 0s .55s; }
.gr-pj.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.gr-pj__bar { flex: none; display: flex; align-items: center; justify-content: space-between; }
.gr-pj__back { padding: .5cqw 1.2cqw; border: 0; background: var(--yellow); color: var(--black); font: 400 1.3cqw/1.2 var(--mono); letter-spacing: .04em; cursor: pointer; }
.gr-pj__back:hover, .gr-pj__back:focus-visible { background: var(--black); color: var(--yellow); outline: 0; }
.gr-pj__hint { font: 400 1.2cqw/1 var(--mono); letter-spacing: .08em; opacity: .7; transition: opacity .3s; }
.gr-pj__hint i { display: inline-block; font-style: normal; animation: gr-nudge 1.4s ease-in-out infinite; }
.gr-pj.is-scrolled .gr-pj__hint { opacity: 0; }
@keyframes gr-nudge { 0%, 100% { transform: translateY(-.2cqw); } 50% { transform: translateY(.4cqw); } }
.gr-pj__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #b9b9b9; scrollbar-width: auto; scrollbar-color: var(--pink) transparent; outline: 0; }
.gr-pj__card { padding: 2.4cqw 2.4cqw 3cqw; }
.gr-pj__title { margin: 0 0 3.2cqw; font: 400 3.4cqw/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.gr-pj__body .gr-cols, .gr-pj__body .wp-block-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6cqw; margin: 0; padding: 0; }
.gr-pj__body .wp-block-column { margin: 0; flex: none; }
.gr-pj__body h3 { margin: 0 0 .5cqw; font: 400 1.5cqw/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gr-pj__body p { margin: 0 0 1.9cqw; font-size: 1.1cqw; line-height: 1.5; }
.gr-pj__body .gr-mosaic { margin-top: 3cqw; }
.gr-pj__body .wp-block-image img { max-width: 100%; height: auto; }
.gr-deck__canvas.has-pj .gr-deck__hint { display: none; }
/* Visuels des pages projet dans le diaporama : les textes suivent la largeur */
.gr-pj__body .gr-mrow { container-type: inline-size; }
.gr-pj__body .gr-mrow .gr-m-text h3 { font-size: 4.8cqw; line-height: 1.08; }
.gr-pj__body .gr-mrow .gr-m-text .sub { font-size: 2.1cqw; margin-top: 2cqw; }
.gr-pj__body .gr-mrow .gr-m-text p.d { font-size: 1.7cqw; }
.gr-pj__body .gr-mosaic { margin-top: 3cqw; }

/* Grille des projets : une seule diapositive, on défile dans le cadre */
.gr-slide.gr-slide--grid { padding-top: 5.2cqw; }
.gr-gridscroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; outline: 0; }
.gr-slide--grid .gr-gridscroll .gr-slide__grid { flex: none; grid-template-rows: none; grid-auto-rows: auto; align-content: start; row-gap: 3.2cqw; padding: .4cqw 1cqw 4cqw 0; }
.gr-slide__scrollhint { position: absolute; top: 2.2cqw; right: 11cqw; font: 400 1.2cqw/1 var(--mono); letter-spacing: .08em; opacity: .7; transition: opacity .3s; }
.gr-slide__scrollhint i { display: inline-block; font-style: normal; animation: gr-nudge 1.4s ease-in-out infinite; }
.gr-slide--grid.is-scrolled .gr-slide__scrollhint { opacity: 0; }
/* Slide Portfolio : plus d'air entre les projets */
.gr-slide--grid .gr-gridscroll .gr-slide__grid { column-gap: 4.2cqw; row-gap: 6.5cqw; padding-right: 2cqw; padding-bottom: 6cqw; }
/* Plus de place dans le cadre : slide Portfolio et pages projet */
.gr-slide.gr-slide--grid { padding: 4.6cqw 5.5cqw 6.2cqw; }
.gr-slide__scrollhint { right: 5.5cqw; top: 1.8cqw; }
.gr-slide--grid .gr-gridscroll .gr-slide__grid { column-gap: 3.6cqw; row-gap: 5.5cqw; padding-right: 1cqw; }
.gr-slide__meta b { font-size: 2.15cqw; }
.gr-slide__meta span { font-size: 1.5cqw; }
.gr-slide__more { font-size: 1.65cqw; }
.gr-pj { padding: 2cqw 4.5cqw 4.2cqw; gap: 1.2cqw; }
.gr-pj__back { font-size: 1.5cqw; }
.gr-pj__hint { font-size: 1.4cqw; }
.gr-pj__card { padding: 3cqw 3cqw 3.5cqw; }
.gr-pj__title { font-size: 3.6cqw; margin-bottom: 3.4cqw; }
.gr-pj__body .gr-cols, .gr-pj__body .wp-block-columns { gap: 3cqw; }
.gr-pj__body h3 { font-size: 1.4cqw; margin-bottom: .5cqw; }
.gr-pj__body p { font-size: 1.05cqw; margin-bottom: 1.9cqw; }
.gr-pj__body .gr-mosaic { margin-top: 3.4cqw; }

/* ---------- Mobile : le cadre PowerPoint garde sa structure, les diapositives défilent à l'intérieur ---------- */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck { padding: 6px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) { border-radius: 12px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__thumbs, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__hint, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__fs { display: none; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__body { display: block; height: 100%; min-height: 0; overflow: hidden; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { container-type: normal; display: block; height: 100%; padding: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-snap-type: y proximity; background: #d9d9d9; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__canvas { width: 100%; aspect-ratio: auto; overflow: visible; cursor: auto; box-shadow: none; touch-action: auto; background: transparent; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 6px; opacity: 1; visibility: visible; pointer-events: auto; transition: none; scroll-snap-align: start; overflow: hidden; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-cover-pic { opacity: 1; transform: none; }
  .gr-deck__tabs button { font-size: 2.5vw; }
  .gr-deck__tabs { gap: 12px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .gr-deck__status { gap: 10px; padding: 8px 12px; }

  /* Grille des projets : liste sur deux colonnes, qui s'allonge avec la diapositive */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide.gr-slide--grid { aspect-ratio: auto; padding: 18px 14px 40px; }
  .gr-sitedeck .gr-gridscroll { overflow: visible; }
  .gr-sitedeck .gr-slide--grid .gr-gridscroll .gr-slide__grid { grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 26px; padding: 0; }
  .gr-slide__scrollhint { display: none; }
  .gr-slide__meta b { font-size: 3.7vw; }
  .gr-slide__meta span { font-size: 3vw; }
  .gr-slide__more { font-size: 3.3vw; }

  /* Contact : le formulaire prend la place dont il a besoin */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide.gr-slide--violet { aspect-ratio: auto; padding: 26px 16px 46px; }
  .gr-slide__contact { display: block; }
  .gr-slide__contact-info { margin-bottom: 4px; }
  .gr-slide__contact-info .gr-slide__title { font-size: 11vw; }
  .gr-slide__contact-info p, .gr-slide__contact-info a { font-size: 4vw; }
  .gr-slide__form { display: none; }
  .gr-slide__form label { font-size: 3vw; }
  .gr-slide__form input, .gr-slide__form textarea { font-size: 16px; }
  .gr-slide__send { font-size: 14px; padding: 12px 26px; }

  /* Page projet : plein cadre */
  .gr-pj { position: fixed; inset: 0; z-index: 600; padding: 10px 10px 14px; gap: 8px; }
  .gr-pj__back { font-size: 3.4vw; padding: 7px 11px; }
  .gr-pj__hint { font-size: 3vw; }
  .gr-pj__card { padding: 16px 14px 26px; }
  .gr-pj__title { font-size: 7vw; margin-bottom: 18px; }
  .gr-pj__body .gr-cols, .gr-pj__body .wp-block-columns { grid-template-columns: 1fr; gap: 4px; }
  .gr-pj__body h3 { font-size: 3.7vw; margin-bottom: 4px; }
  .gr-pj__body p { font-size: 3.6vw; margin-bottom: 14px; }
  .gr-pj__body .gr-mosaic { margin-top: 20px; }
}
/* Portfolio : les mockups sans vidéo remplissent tout le cadre (pas de bandes noires) */
.gr-folio__media > .gr-mock:not([data-quad]) { width: 100%; height: 100%; aspect-ratio: auto !important; }
.gr-folio__media > .gr-mock:not([data-quad]) img { width: 100%; height: 100%; object-fit: cover; }
/* Slide 6 : bandeau « EXPLORER LES PROJETS » sur fond lilas */
.gr-slide__cta, .gr-slide__cta:hover { background: var(--lilac); border-top: 0; }

.gr-slide--black .gr-slide__foot { opacity: 1; color: var(--light); }
.gr-deck__social { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.gr-deck__social .gr-deck__share:last-child { transform: rotate(2deg); }
.gr-deck__social .gr-deck__share:last-child:hover { transform: rotate(0) scale(1.06); }
.gr-deck__social .gr-deck__share { padding: 3px 12px; font-size: 11px; line-height: 1.3; }
.gr-a__big--who { top: 4.9cqw; font-size: 8cqw; }
.gr-a__list--who { top: 18cqw; }

/* Slide 10 : indication de défilement bien visible (pastille jaune + fondu en bas), qui disparaît dès qu'on défile. */
.gr-slide--grid:not(.gr-thumb)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12cqw; background: linear-gradient(to bottom, transparent, var(--sbg) 85%); pointer-events: none; z-index: 2; transition: opacity .3s; }
.gr-slide--grid.is-scrolled::after { opacity: 0; }
.gr-slide--grid .gr-slide__foot { z-index: 3; }
.gr-slide__scrollhint { top: auto; bottom: 3.2cqw; right: auto; left: 50%; transform: translateX(-50%); z-index: 3; padding: .8cqw 2cqw; background: var(--yellow); color: var(--black); font-size: 1.5cqw; opacity: 1; white-space: nowrap; pointer-events: none; }
.gr-slide--grid.is-scrolled .gr-slide__scrollhint { opacity: 0; }
.gr-slide--grid .gr-gridscroll { scrollbar-width: auto; scrollbar-color: var(--yellow) transparent; }

/* Barre de défilement rose des pages projet (Safari plus ancien). */
@supports not (scrollbar-color: auto) {
  .gr-pj__scroll::-webkit-scrollbar { width: 12px; }
  .gr-pj__scroll::-webkit-scrollbar-track { background: transparent; }
  .gr-pj__scroll::-webkit-scrollbar-thumb { background: var(--pink); }
}

/* ---------- Gagner de la place : fenêtre plus compacte, diapositive plus grande ---------- */
.gr-sitedeck { padding: 8px; }
.gr-sitedeck .gr-deck__window:not(.is-fs) { position: relative; }
.gr-deck__titlebar { align-items: flex-start; gap: 12px; padding: 7px 16px 3px; }
.gr-deck__dots { padding-top: 1px; }
.gr-deck__dots i { width: 11px; height: 11px; }
.gr-deck__file { font-size: 12px; line-height: 13px; }
.gr-deck__tabs { padding: 0 16px 6px; }
/* Malt / Linkedin : plus grands, posés à droite sur la hauteur de l'en-tête (titre + onglets) */
.gr-deck__social { position: absolute; top: 7px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.gr-deck__social .gr-deck__share { padding: 5px 18px; font-size: 14px; line-height: 1.25; }
.gr-sitedeck .gr-deck__stage { padding: clamp(4px, .7vw, 10px); }
.gr-sitedeck .gr-deck__thumbs { padding: 10px; gap: 8px; }
.gr-deck__status { padding: 5px 16px; }
.gr-deck__nav button { width: 26px; height: 26px; }
@media (min-width: 801px) { .gr-deck__body { grid-template-columns: minmax(104px, 11%) minmax(0, 1fr); } }
.gr-deck__sec { font-size: 10px; letter-spacing: .03em; white-space: nowrap; }
.gr-deck__social .gr-deck__share { font-size: 13px; padding: 5px 16px; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-deck__social { display: none; } }
/* Comme dans PowerPoint : la diapositive occupe presque toute la zone, marges minimales. */
.gr-sitedeck { padding: 4px; }
.gr-sitedeck .gr-deck__stage { padding: 4px; }
.gr-sitedeck .gr-deck__thumbs { padding: 8px; }
@media (min-width: 801px) { .gr-deck__body { grid-template-columns: minmax(100px, 10%) minmax(0, 1fr); } }

/* Proportions de la fenêtre PowerPoint (capture de référence 1514 × 830) :
   en-tête ≈ 8,5 % de la hauteur, vignettes ≈ 15,5 % de la largeur, marges de la diapositive ≈ 2,6 % × 3 %, barre d'état ≈ 4 %. */
.gr-sitedeck { padding: 8px; }
.gr-deck__titlebar { align-items: center; padding: 10px 16px 8px; }
.gr-deck__dots i { width: 12px; height: 12px; }
.gr-deck__file { font-size: 12.5px; line-height: 16px; }
.gr-deck__tabs { padding: 0 16px 11px; }
.gr-deck__social { top: 9px; }
.gr-sitedeck .gr-deck__stage { padding: clamp(10px, 2.9vh, 26px) clamp(14px, 2.6vw, 40px); }
.gr-sitedeck .gr-deck__thumbs { padding: 14px 14px 14px 12px; gap: 10px; }
.gr-deck__status { padding: 7px 16px; }
.gr-deck__nav button { width: 28px; height: 28px; }
@media (min-width: 801px) { .gr-deck__body { grid-template-columns: minmax(120px, 15.5%) minmax(0, 1fr); } }

/* Proportions de la 2e capture de référence (2000 × 1091) : vignettes ≈ 18 % de la largeur, slide ≈ 78 % × 80 %, marges ≈ 1,9 % × 3 %. */
.gr-sitedeck .gr-deck__stage { padding: clamp(10px, 3vh, 34px) clamp(14px, 1.9vw, 38px); }
.gr-sitedeck .gr-deck__thumbs { padding: clamp(10px, 1.2vh, 14px) clamp(10px, .9vw, 16px); gap: clamp(10px, 2.2vh, 24px); }
@media (min-width: 801px) { .gr-deck__body { grid-template-columns: minmax(130px, 18%) minmax(0, 1fr); } }

/* ---------- Slides de mission (3 à 5) : titre, bloc « Mission #n », lignes Description / Pour qui ? ---------- */
.gr-slide--mission:not(.gr-thumb) { padding: 4.2cqw 0 0; }
.gr-m__head { display: flex; align-items: flex-end; gap: 2.2cqw; padding: 0 6.5cqw; }
.gr-m__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 8cqw; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.gr-m__tag { margin-bottom: .9cqw; padding: .5cqw 1.1cqw; font: 400 1.7cqw/1.3 var(--mono); color: var(--black); text-decoration: underline; text-underline-offset: .25em; }
.gr-m__tag--green { background: var(--green); }
.gr-m__tag--pink { background: var(--pink); }
.gr-m__tag--yellow { background: var(--yellow); }
.gr-m__rows { margin-top: 3.6cqw; }
.gr-m__row { display: grid; grid-template-columns: 24cqw minmax(0, 1fr); padding: 1.9cqw 6.5cqw 2.1cqw; border-top: 1px solid var(--light); }
.gr-m__label { font: 400 1.4cqw/1.5 var(--mono); }
.gr-m__content { font: 400 1.9cqw/1.5 var(--mono); }
.gr-m__content p, .gr-m__content ul { margin: 0; }
.gr-m__content ul { padding: 0; list-style: none; }
.gr-m__content li::before { content: "•"; display: inline-block; width: 2.4cqw; }
.gr-m__content p { max-width: 62cqw; }
.gr-m__title { font-size: 7cqw; white-space: nowrap; }
.gr-m__tag { white-space: nowrap; }
.gr-m__rows { margin-top: 3cqw; }
.gr-m__title { font-size: 5.8cqw; }

/* Slide « Intro » : bloc violet foncé, texte blanc. Slides de service : puces sur deux colonnes. */
.gr-a__kick--violet { background: var(--violet); color: #fff; }
.gr-tsticker--violet { background: var(--violet); color: #fff; }
.gr-m__content ul.is-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3cqw; }
.gr-m__tag--violet { background: var(--violet); color: #fff; }

/* Slides de service : plus compactes pour tenir sans toucher le pied de page. */
.gr-slide--mission:not(.gr-thumb) { padding-top: 3.8cqw; }
.gr-m__title { font-size: 5.6cqw; }
.gr-m__rows { margin-top: 2.6cqw; }
.gr-m__row { grid-template-columns: 22cqw minmax(0, 1fr); padding: 1.5cqw 6.5cqw 1.7cqw; }
.gr-m__content { font-size: 1.7cqw; }
.gr-m__label { font-size: 1.3cqw; }
.gr-m__content ul.is-cols { column-gap: 2cqw; }
.gr-m__content p { max-width: 64cqw; }

/* ---------- Slides de service : bloc « Service #n » en haut à gauche, libellés en petits blocs de couleur ---------- */
.gr-slide--mission:not(.gr-thumb) { padding-top: 3.2cqw; }
.gr-m__head { display: block; padding: 0 6.5cqw; }
.gr-m__tag { display: inline-block; margin: 0 0 1.4cqw; }
.gr-m__rows { margin-top: 2.4cqw; }
.gr-m__label { align-self: start; justify-self: start; padding: .35cqw .9cqw; color: var(--black); }
.gr-m__label--green { background: var(--green); }
.gr-m__label--pink { background: var(--pink); }
.gr-m__label--yellow { background: var(--yellow); }

/* ---------- Tableau des packs ---------- */
.gr-slide--table:not(.gr-thumb) { padding: 3cqw 0 0; }
.gr-t__row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 15.5cqw); align-items: center; min-height: 4.5cqw; padding: 0 6.5cqw; border-top: 1px solid var(--light); font: 400 1.55cqw/1.3 var(--mono); }
.gr-t__row > span:not(.gr-t__label):not(.gr-t__kick) { text-align: center; }
.gr-t__head { min-height: 5.6cqw; border-top: 0; }
.gr-t__kick { font-size: 1.3cqw; opacity: .9; }
.gr-t__pill { justify-self: center; padding: .4cqw 1.6cqw; color: var(--black); font-size: 1.55cqw; text-decoration: underline; text-underline-offset: .25em; }
.gr-t__pill--violet { background: var(--violet); color: #fff; }
.gr-t__pill--green { background: var(--green); }
.gr-t__pill--yellow { background: var(--yellow); }
.gr-t__row { font-size: 1.7cqw; min-height: 4.6cqw; }
.gr-t__pill { font-size: 1.7cqw; }
.gr-t__kick { font-size: 1.35cqw; }
/* Slides de service : un seul corps de texte (tag, libellés, descriptions) en plus du titre. */
.gr-m__tag, .gr-m__label, .gr-m__content { font-size: 1.45cqw; line-height: 1.55; }
.gr-m__tag { padding: .45cqw 1cqw; }
.gr-m__label { padding: .3cqw .9cqw; line-height: 1.5; }
.gr-m__row { padding: 1.7cqw 6.5cqw 1.9cqw; }
.gr-m__content p { max-width: 66cqw; }
.gr-m__tag, .gr-m__label, .gr-m__content { font-size: 1.55cqw; }
.gr-m__tag { margin-bottom: 2cqw; }

/* Packs : colonnes de texte (alignées à gauche) sous les pastilles Pack 1 / 2 / 3. */
.gr-t__row--text { grid-template-columns: 11cqw repeat(3, minmax(0, 1fr)); align-items: start; column-gap: 2.4cqw; padding: 1.6cqw 6.5cqw 1.8cqw; font-size: 1.3cqw; line-height: 1.55; }
.gr-t__row--text > span:not(.gr-t__label):not(.gr-t__kick) { text-align: left; }
.gr-t__head { grid-template-columns: 11cqw repeat(3, minmax(0, 1fr)); column-gap: 2.4cqw; padding-top: 0; }
.gr-t__head .gr-t__pill { justify-self: start; }
.gr-t__row--text .gr-t__name { font: 400 2.6cqw/1.05 var(--display); text-transform: uppercase; }
.gr-t__label { font-size: 1.3cqw; }
.gr-t__kick { line-height: 1.4; }

/* ---------- Échelle typographique unique (slides 1 à 6) ----------
   --t-body  : tous les textes courants en IBM Plex Mono
   --t-box   : tous les textes dans de petites boxes colorées (même corps que le texte courant)
   --t-title : tous les titres Helvetica des slides de service */
:root { --t-body: 1.55cqw; --t-box: 1.55cqw; --t-title: 5.6cqw; --t-lh: 1.55; }
.gr-slide .gr-slide__slogan,
.gr-slide .gr-a__para,
.gr-slide .gr-m__content,
.gr-slide .gr-t__row--text,
.gr-slide .gr-t__label,
.gr-slide .gr-slide__marquee,
.gr-slide--abs .gr-slide__marquee { font-size: var(--t-body); line-height: var(--t-lh); }
.gr-slide .gr-a__para--conc { line-height: var(--t-lh); }
.gr-slide .gr-a__kick,
.gr-slide .gr-m__tag,
.gr-slide .gr-m__label,
.gr-slide .gr-t__pill,
.gr-slide .gr-t__kick,
.gr-slide .gr-stickers--slide .gr-sticker,
.gr-deck__hint { font-size: var(--t-box); line-height: 1.4; }
.gr-slide .gr-m__title { font-size: var(--t-title); }
/* Boxes : même gabarit partout */
.gr-slide .gr-a__kick, .gr-slide .gr-m__tag, .gr-slide .gr-m__label, .gr-slide .gr-t__pill { padding: .45cqw 1cqw; }
.gr-slide .gr-t__row--text { padding-top: 1.2cqw; padding-bottom: 1.3cqw; }
.gr-slide--table:not(.gr-thumb) { padding-top: 2.4cqw; }
.gr-slide .gr-t__head { min-height: 4.4cqw; }
.gr-slide .gr-t__row--text { padding-top: .9cqw; padding-bottom: 1cqw; }
.gr-t__row--text .gr-t__name { font-size: 2.3cqw; }
.gr-slide .gr-t__label, .gr-slide .gr-t__kick { white-space: nowrap; }
/* Pastilles Pack 1 / 2 / 3 : toutes roses, sans soulignement, non interactives. */
.gr-slide .gr-t__pill, .gr-slide .gr-t__pill--violet, .gr-slide .gr-t__pill--green, .gr-slide .gr-t__pill--yellow { background: var(--pink); color: var(--black); text-decoration: none; cursor: default; pointer-events: none; }
/* Bandeau des clients (slide Intro) : il garde sa taille d'origine. */
.gr-slide .gr-slide__marquee, .gr-slide--abs .gr-slide__marquee { font-size: max(2cqw, 10px); line-height: 1.2; }

/* Fondu enchaîné un peu plus doux. */
.gr-slide.is-active { transition: opacity .45s cubic-bezier(.4, 0, .2, 1); }

/* Barre de défilement des vignettes : violet foncé. */
.gr-sitedeck .gr-deck__thumbs { scrollbar-width: auto; scrollbar-color: var(--violet) transparent; }
@supports not (scrollbar-color: auto) {
  .gr-deck__thumbs::-webkit-scrollbar { width: 12px; }
  .gr-deck__thumbs::-webkit-scrollbar-track { background: transparent; }
  .gr-deck__thumbs::-webkit-scrollbar-thumb { background: var(--violet); }
}
/* En-tête un peu plus haut : de l'air autour de Malt / Linkedin. */
.gr-deck__titlebar { padding-bottom: 9px; }
.gr-deck__tabs { padding-bottom: 13px; }
.gr-deck__social { top: 11px; right: 16px; }

/* Mentions légales / confidentialité : liens discrets dans la barre d'état. */
.gr-deck__lang { flex: none; }
.gr-deck__legal { flex: 1; display: flex; gap: 18px; margin-left: 6px; }
.gr-deck__legal a { color: inherit; font-size: 12px; text-decoration: none; opacity: .85; }
.gr-deck__legal a:hover, .gr-deck__legal a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.gr-deck__window.is-fs .gr-deck__legal { display: none; }
@media (max-width: 800px) { .gr-deck__legal { gap: 12px; margin-left: 0; } .gr-deck__legal a { font-size: 10.5px; } }

/* Pages légales dans la fenêtre : titres de paragraphes et largeur de lecture. */
.gr-pj__body h2 { margin: 2.4cqw 0 .6cqw; font: 400 1.4cqw/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gr-pj--legal .gr-pj__body { max-width: 74cqw; }
.gr-pj--legal .gr-pj__body h2:first-child { margin-top: 0; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-pj__body h2 { font-size: 3.7vw; margin: 18px 0 4px; } .gr-pj--legal .gr-pj__body { max-width: none; } }
/* Slide Intro : texte remonté pour laisser de l'air au-dessus du bandeau. */
.gr-slide .gr-a__para--grey { top: 6.8cqw; }
.gr-slide .gr-a__para--conc { top: 18.6cqw; }

/* En-tête plus haut (+≈10 px) ; l'espace est repris sur les marges verticales pour que la diapositive ne rétrécisse pas. */
.gr-deck__titlebar { padding: 13px 16px 12px; }
.gr-deck__tabs { padding-bottom: 16px; }
.gr-deck__social { top: 14px; }
.gr-sitedeck .gr-deck__stage { padding-top: clamp(6px, 1.4vh, 16px); padding-bottom: clamp(6px, 1.4vh, 16px); }

/* Slide 3 (Service #1) : les infos arrivent l'une après l'autre quand la diapositive devient active. */
@keyframes grInUp   { from { opacity: 0; transform: translateY(3cqw); } to { opacity: 1; transform: none; } }
@keyframes grInLeft { from { opacity: 0; transform: translateX(-5cqw); } to { opacity: 1; transform: none; } }
@keyframes grInLine { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__tag   { animation: grInLeft .6s cubic-bezier(.2, .7, .2, 1) .25s both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__title { animation: grInLeft .7s cubic-bezier(.2, .7, .2, 1) .4s both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row   { animation: grInLine .7s ease-out both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__label,
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__content > p { animation: grInUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__content li { animation: grInUp .5s cubic-bezier(.2, .7, .2, 1) both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(1) { animation-delay: .8s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(1) .gr-m__label,
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(1) .gr-m__content > p { animation-delay: 1s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) { animation-delay: 1.15s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) .gr-m__label { animation-delay: 1.35s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) li:nth-child(1) { animation-delay: 1.5s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) li:nth-child(2) { animation-delay: 1.65s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) li:nth-child(3) { animation-delay: 1.8s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(2) li:nth-child(4) { animation-delay: 1.95s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(3) { animation-delay: 1.5s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(3) .gr-m__label,
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row:nth-child(3) .gr-m__content > p { animation-delay: 2.2s; }
/* Slide 2 (Intro) : les deux paragraphes montent l'un après l'autre, puis le bandeau des clients se dévoile. */
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-a__para { animation: grInUp .8s cubic-bezier(.2, .7, .2, 1) .35s both; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-a__para--conc { animation-delay: 1.2s; }
.gr-slide--anim-in.is-active:not(.gr-thumb) .gr-slide__marquee { animation: grInLine .9s ease-out 2s both; }
@media (prefers-reduced-motion: reduce) {
  .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__tag, .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__title,
  .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__row, .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__label,
  .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__content > p, .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-m__content li,
  .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-a__para, .gr-slide--anim-in.is-active:not(.gr-thumb) .gr-slide__marquee { animation: none !important; }
}

/* « Cliquez ou faites défiler » : arrive en douceur, flotte, grossit légèrement au survol (ressort), flèche qui avance. */
@keyframes gr-hint-in { from { opacity: 0; transform: translateY(2cqw) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes gr-arrow { 50% { transform: translateX(.5cqw); } }
.gr-deck__hint { pointer-events: auto; cursor: pointer; transform-origin: left center; animation: gr-hint-in .9s cubic-bezier(.2, .7, .2, 1) .9s backwards;
  transition: opacity .4s, transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease; will-change: transform; }
.gr-deck__arrow { display: inline-block; font-style: normal; animation: gr-arrow 1.8s ease-in-out infinite; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.gr-deck__hint:hover, .gr-deck__hint:focus-visible { transform: scale(1.08); box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .35); }
.gr-deck__hint:hover .gr-deck__arrow { animation: none; transform: translateX(.9cqw); }
.gr-deck__hint:active { transform: scale(.97); transition-duration: .12s; }
.gr-deck__canvas.is-used .gr-deck__hint { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .gr-deck__hint, .gr-deck__arrow { animation: none; } .gr-deck__hint:hover { transform: none; } }

/* Slide 1 : au survol du bouton « Cliquez ou faites défiler », il passe au violet et les textes se dézooment très doucement. */
.gr-slide--cover:not(.gr-thumb) .gr-slide__title--cover,
.gr-slide--cover:not(.gr-thumb) .gr-slide__slogan,
.gr-slide--cover:not(.gr-thumb) .gr-slide__foot { transform-origin: left center; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.gr-deck__canvas:has(.gr-deck__hint:hover) .gr-slide--cover.is-active .gr-slide__title--cover { transform: scale(.955); }
.gr-deck__canvas:has(.gr-deck__hint:hover) .gr-slide--cover.is-active .gr-slide__slogan { transform: scale(.975); }
.gr-deck__hint { transition: opacity .4s, transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, background-color .45s ease, color .45s ease; }
.gr-deck__hint:hover, .gr-deck__hint:focus-visible { background: var(--violet); color: #fff; }
@media (prefers-reduced-motion: reduce) { .gr-slide--cover .gr-slide__title--cover, .gr-slide--cover .gr-slide__slogan, .gr-slide--cover .gr-slide__foot { transition: none; transform: none !important; } }

/* Slide 1 : le titre monte ligne par ligne depuis un masque (flou -> net), puis le slogan arrive en douceur. */
.gr-slide--cover .gr-slide__title--cover { display: flow-root; }
.gr-slide--cover .gr-slide__title--cover .gr-line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.gr-slide--cover .gr-slide__title--cover .gr-line > span { display: block; }
@keyframes grLineIn { from { transform: translateY(108%); filter: blur(10px); opacity: 0; } 55% { opacity: 1; } }
@keyframes grSloganIn { from { opacity: 0; transform: translateY(1.6cqw); filter: blur(6px); } }
.gr-slide--cover.is-active:not(.gr-thumb) .gr-line > span { animation: grLineIn 1.3s cubic-bezier(.16, 1, .3, 1) both; }
.gr-slide--cover.is-active:not(.gr-thumb) .gr-line:nth-child(1) > span { animation-delay: .25s; }
.gr-slide--cover.is-active:not(.gr-thumb) .gr-line:nth-child(2) > span { animation-delay: .4s; }
.gr-slide--cover.is-active:not(.gr-thumb) .gr-line:nth-child(3) > span { animation-delay: .55s; }
.gr-slide--cover.is-active:not(.gr-thumb) .gr-slide__slogan { animation: grSloganIn 1.2s cubic-bezier(.16, 1, .3, 1) 1s backwards; }
@media (prefers-reduced-motion: reduce) { .gr-slide--cover .gr-line > span, .gr-slide--cover .gr-slide__slogan { animation: none !important; } }

/* Slide « Mes offres » : trois cartes qui se retournent (survol à la souris, toucher sur mobile). */
.gr-slide--cards:not(.gr-thumb) { padding: 0; }
.gr-fcards { position: absolute; left: 5.5cqw; top: 7.6cqw; display: flex; gap: 2.7cqw; }
.gr-fc { width: 27.9cqw; height: 41.3cqw; perspective: 110cqw; cursor: pointer; outline: none; }
.gr-fc__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4, .1, .2, 1); }
.gr-fc__face { position: absolute; inset: 0; border-radius: 2cqw; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: var(--black); }
.gr-fc--lilac .gr-fc__face { background: var(--lilac); }
.gr-fc--pink .gr-fc__face { background: var(--pink); }
.gr-fc--green .gr-fc__face { background: var(--green); }
.gr-fc__back { transform: rotateY(180deg); display: grid; place-items: center; padding: 3cqw; text-align: center; }
.gr-fc__back p { margin: 0; font: 400 1.45cqw/1.65 var(--mono); }
.gr-fc__n { position: absolute; left: 1.8cqw; font: 400 1.25cqw/1 var(--mono); }
.gr-fc__front .gr-fc__n { top: 1.6cqw; }
.gr-fc__back .gr-fc__n { bottom: 1.6cqw; }
.gr-fc__title { position: absolute; left: 1.7cqw; right: 1.2cqw; top: 7.5cqw; margin: 0; font-family: var(--display); font-weight: 400; font-size: 3.1cqw; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.gr-fc__img { position: absolute; left: 1.2cqw; right: 1.2cqw; bottom: 1.1cqw; width: calc(100% - 2.4cqw); height: 18.6cqw; object-fit: cover; border-radius: 1.2cqw; filter: grayscale(1) contrast(1.05); }
.gr-fc:focus-visible .gr-fc__face { box-shadow: 0 0 0 .3cqw var(--yellow); }
@media (hover: hover) { .gr-fc:hover .gr-fc__in { transform: rotateY(180deg); } }
.gr-fc.is-flipped .gr-fc__in { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .gr-fc__in { transition-duration: .01s; } }

/* Bouton « + INFO » au verso des cartes : fond sombre, coins arrondis. */
.gr-fc__back { grid-auto-flow: row; align-content: center; justify-items: center; row-gap: 2.6cqw; }
.gr-fc__btn { padding: 1.1cqw 3cqw; border: 0; border-radius: .5em; background: var(--black); color: #fff; font: 400 1.5cqw/1 var(--mono); letter-spacing: .04em; cursor: pointer;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .3s ease, color .3s ease; }
.gr-fc__btn:hover, .gr-fc__btn:focus-visible { transform: scale(1.06); background: var(--violet); outline: 0; }
.gr-fc__btn:active { transform: scale(.97); }

/* Tous les boutons : mêmes coins arrondis (comme le bouton « Explore » de l'exemple). */
.gr-deck__hint, .gr-folio__link, .gr-slide__more, .gr-slide__send, .gr-deck__nav button, .gr-deck__fs,
.gr-pj__back, .gr-btn, .gr-deck__share, .gr-sticker { border-radius: .5em; }

/* Service #1 : grande carte arrondie qui arrive de la droite (texte à gauche, visuel sur panneau noir à droite). */
.gr-slide--card:not(.gr-thumb) { padding: 0; overflow: hidden; }
.gr-sc { position: absolute; left: 3.1cqw; top: 1.6cqw; width: 93.8cqw; height: 49.2cqw; border-radius: 2.2cqw; color: var(--black); }
.gr-sc--lilac { background: var(--lilac); }
.gr-sc--pink { background: var(--pink); }
.gr-sc--yellow { background: var(--yellow); }
.gr-sc__main { position: absolute; left: 2.5cqw; top: 2cqw; bottom: 2cqw; width: 57cqw; }
.gr-sc__rows { display: grid; row-gap: 3.4cqw; }
.gr-sc__row { display: grid; grid-template-columns: 14.7cqw minmax(0, 1fr); align-items: start; }
.gr-sc__label { justify-self: start; padding: .55cqw 1.1cqw; background: var(--black); color: var(--light); font: 400 1.25cqw/1.2 var(--mono); }
.gr-sc__txt { font: 400 1.5cqw/1.3 var(--mono); }
.gr-sc__txt p, .gr-sc__txt ul { margin: 0; padding: 0; list-style: none; }
.gr-sc__txt li::before { content: "•"; display: inline-block; width: 1.8cqw; }
.gr-sc__title { position: absolute; left: 0; bottom: 0; margin: 0; display: flex; align-items: baseline; gap: 1.3cqw; font-family: var(--display); font-weight: 400; font-size: 6.8cqw; line-height: .9; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.gr-sc__n { font: 400 1.25cqw/1 var(--mono); letter-spacing: 0; }
.gr-sc__media { position: absolute; right: 1.25cqw; top: 1.4cqw; bottom: 1.4cqw; width: 32.1cqw; border-radius: 2cqw; background: #000; display: grid; place-items: center; overflow: hidden; }
.gr-sc__media img { width: 88%; height: auto; border-radius: .6cqw; display: block; }
/* Arrivée : la carte glisse depuis la droite, puis son contenu se met en place. */
@keyframes grCardIn { from { opacity: 0; transform: translateX(16cqw); } to { opacity: 1; transform: none; } }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc { animation: grCardIn 1.3s cubic-bezier(.16, 1, .3, 1) .15s both; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row { animation: grInUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(1) { animation-delay: .8s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) { animation-delay: 1s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(3) { animation-delay: 1.2s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__title { animation: grInLeft .9s cubic-bezier(.2, .7, .2, 1) 1.1s both; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__media { animation: grInUp 1s cubic-bezier(.2, .7, .2, 1) 1s both; }
@media (prefers-reduced-motion: reduce) { .gr-slide--card .gr-sc, .gr-slide--card .gr-sc__row, .gr-slide--card .gr-sc__title, .gr-slide--card .gr-sc__media { animation: none !important; } }
/* Le visuel de la carte remplit tout le panneau (son fond sombre se fond dans le panneau). */
.gr-sc__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Carte Service #1 : marges égales autour de la carte (haut = bas = côtés), textes à 13 px (1,17cqw = 13 px à la taille normale du diaporama). */
.gr-slide--card .gr-slide__foot { display: none; }
.gr-sc { top: 3.1cqw; height: 50.05cqw; }
.gr-sc__main { top: 2.4cqw; bottom: 2.4cqw; }
.gr-sc__rows { row-gap: 3cqw; }
.gr-sc__row { grid-template-columns: 12.5cqw minmax(0, 1fr); }
.gr-sc__label { padding: .5cqw 1cqw; font-size: 1.17cqw; line-height: 1.3; }
.gr-sc__txt { font-size: 1.17cqw; line-height: 1.5; }
.gr-sc__txt li::before { width: 1.5cqw; }
.gr-sc__n { font-size: 1.17cqw; }
.gr-sc__title { line-height: .78; }

/* Slide 3 (cartes) : même interlignage que le texte de la slide 2. */
.gr-fc__back p { line-height: var(--t-lh, 1.55); }

/* Vignette de la slide 4 : carte lilas avec « (1) » en haut et le titre en grand en bas. */
.gr-thumb__mini--lilac, .gr-thumb__mini--pink, .gr-thumb__mini--yellow, .gr-thumb__mini--green { position: relative; display: block; color: var(--black); }
.gr-thumb__mini--lilac { background: var(--lilac); }
.gr-thumb__mini--pink { background: var(--pink); }
.gr-thumb__mini--yellow { background: var(--yellow); }
.gr-thumb__mini--green { background: var(--green); }
.gr-tc__n { position: absolute; left: 4cqw; top: 4.2cqw; font: 400 3.1cqw/1 var(--mono); font-style: normal; }
.gr-tc__t { position: absolute; left: 3.6cqw; right: 3cqw; bottom: 3.2cqw; font: 400 13.4cqw/.85 var(--display); letter-spacing: -.01em; text-transform: uppercase; }

/* Vignettes : petits angles arrondis. */
.gr-thumb__mini { border-radius: 5px; overflow: hidden; }

/* Cartes de service 2 et 3 : titre sur plusieurs lignes possible, photo en noir et blanc. */
.gr-sc__title { align-items: last baseline; white-space: normal; max-width: 100%; }
.gr-sc__tt { display: block; }
.gr-sc__media img.is-bw { filter: grayscale(1) contrast(1.05); }

/* Slide 1 : le bandeau des clients défile sous le slogan ; le bouton jaune reste toujours visible. */
.gr-slide--cover .gr-slide__marquee { top: 38.5cqw; bottom: auto; padding: 2.2cqw 0; border-bottom: 0; }
.gr-deck__canvas.is-used .gr-deck__hint { opacity: 1; pointer-events: auto; }

/* Slide 2 : le texte de mission remplit la slide, à 50 % d'opacité ; chaque mot passe en blanc au survol. */
.gr-slide--manifesto:not(.gr-thumb) { padding: 0; }
.gr-mf { position: absolute; left: 6.8cqw; right: 6.8cqw; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; font: 400 3.5cqw/1.3 var(--mono); letter-spacing: 0; color: var(--light); }
.gr-w { display: inline-block; margin: 0 .3em; white-space: nowrap; }
/* Le texte est à 50 % ; au passage de la souris, toute la ligne devient blanche, puis retrouve doucement ses 50 %. */
.gr-c { display: inline-block; opacity: .5; transition: opacity 1.8s ease-out; cursor: default; }
.gr-w.is-hot .gr-c { opacity: 1; color: #fff; transition-duration: .2s; }
.gr-c.is-lit { opacity: 1; color: #fff; transition-duration: .35s; }
.gr-slide--manifesto:hover .gr-cover-pic, .gr-slide--manifesto.is-touched .gr-cover-pic { opacity: 1; transform: none; }
@keyframes grWordIn { from { opacity: 0; transform: translateY(.35em); } }
.gr-slide--manifesto.is-active:not(.gr-thumb) .gr-w { animation: grWordIn .8s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 22ms + .3s) backwards; }
@media (prefers-reduced-motion: reduce) { .gr-slide--manifesto .gr-w { animation: none !important; } }

.gr-sc--green { background: var(--green); }

/* Slide 1 : bandeau un peu plus haut ; animations du bouton très lentes, comme en apesanteur. */
.gr-slide--cover .gr-slide__marquee { top: 36.3cqw; }
.gr-slide--cover:not(.gr-thumb) .gr-slide__title--cover,
.gr-slide--cover:not(.gr-thumb) .gr-slide__slogan,
.gr-slide--cover:not(.gr-thumb) .gr-slide__foot { transition: transform 5s cubic-bezier(.2, .6, .2, 1); }
.gr-deck__hint { transition: opacity .4s, transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-deck__arrow { transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.gr-deck__hint:active { transition-duration: .4s; }

/* Logo et numéro de page : au même endroit sur toutes les slides (comme dans la maquette). */
.gr-slide__foot { left: 2cqw; right: 2cqw; bottom: 2cqw; }
.gr-slide--card .gr-slide__foot { display: flex; }

/* Cartes de service : la carte s'arrête avant le pied de page (même espace en haut et au-dessus du pied de page). */
.gr-sc { top: 3.1cqw; height: 46.65cqw; }

/* Slide 2 : mise en page de la maquette, texte en Helvetica LT Std Light, aligné à gauche en haut de la slide. */
.gr-mf { left: 2cqw; right: 2cqw; top: 2cqw; transform: none; text-align: left; font: 400 4.75cqw/1.03 "Helvetica LT Light", "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.01em; }
.gr-w { margin: 0 .24em 0 0; }

/* Slide 1 : mise en page de la maquette (titre en haut à gauche, slogan, bouton jaune, bandeau lilas, pied de page). */
.gr-slide--cover:not(.gr-thumb) { padding: 0; }
.gr-slide.gr-slide--cover .gr-slide__title--cover { position: absolute; left: 1.9cqw; top: 2.7cqw; margin: 0; font-size: 9.1cqw; line-height: .925; }
.gr-slide--cover .gr-slide__slogan { position: absolute; left: 2cqw; top: 27.6cqw; margin: 0; font-size: 1.6cqw; letter-spacing: .06em; }
.gr-slide--cover .gr-deck__hint { left: 1.9cqw; right: auto; top: 31.4cqw; bottom: auto; padding: 1cqw 2.2cqw; font-size: 1.7cqw; line-height: 1.2; border-radius: .35em; }
.gr-slide--cover .gr-slide__marquee { top: 42.5cqw; bottom: auto; padding: 2.9cqw 0; font-size: 2.2cqw; line-height: 1.2; border-bottom: 0; }

/* Vignette de la slide 3 : aperçu réel de la slide (les trois cartes, à l'échelle). */
.gr-thumb__mini--preview { position: relative; display: block; background: var(--black); overflow: hidden; }
.gr-thumb__mini--preview .gr-fc { cursor: inherit; pointer-events: none; }
.gr-thumb__mini--preview .gr-fc__in { transform: none !important; }
.gr-thumb__mini--preview .gr-fc__n { padding: 0; font-family: var(--mono); font-size: 1.25cqw; line-height: 1; text-transform: none; }
.gr-thumb__mini--preview .gr-fc__img { filter: grayscale(1); }

/* Vignette de la slide 2 : aperçu du texte à l'échelle (sans les règles de texte des vignettes). */
.gr-thumb__mini--preview .gr-mf { pointer-events: none; }
.gr-thumb__mini--preview .gr-w, .gr-thumb__mini--preview .gr-c { display: inline-block; padding: 0; font: inherit; text-transform: none; letter-spacing: inherit; line-height: inherit; }

/* Petits blocs « PORTFOLIO » des vignettes : mêmes coins arrondis que les boutons. */
.gr-tsticker { border-radius: .2em; }

/* Vignette 1 : carte noire avec le nom centré dans un bloc sombre (comme la maquette). */
.gr-tname { padding: 0; background: none; border: 0; outline: 0; box-shadow: none; font-size: 3.9cqw; line-height: 1; }

/* Slide 3, boutons « + INFO » : même survol lent que le bouton de la slide 1 (grossit, passe au violet, comme en apesanteur). */
.gr-fc__btn { transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-fc__btn:hover, .gr-fc__btn:focus-visible { transform: scale(1.08); background: var(--violet); color: #fff; box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .35); }
.gr-fc__btn:active { transition-duration: .4s; transform: scale(.97); }

/* Slide 1 : titre et slogan plus grands, titre en Helvetica LT Std Regular ; le bandeau des clients passe sur la slide 2. */
.gr-slide.gr-slide--cover .gr-slide__title--cover { top: 3cqw; font-family: "Helvetica LT Regular", "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12cqw; line-height: .925; }
/* Slogan juste sous le titre : même espace entre sa ligne et la dernière ligne du titre qu'entre les lignes du titre. */
.gr-slide--cover .gr-slide__slogan { top: 34.8cqw; font-size: 2.3cqw; }
.gr-slide--cover .gr-deck__hint { top: 39.8cqw; }
.gr-slide--manifesto .gr-slide__marquee { top: 42.5cqw; bottom: auto; padding: 2.9cqw 0; font-size: 2.2cqw; line-height: 1.2; border-bottom: 0; }

/* Vignettes 4, 5 et 6 : fond noir, carte de couleur arrondie en retrait (comme la maquette). */
.gr-thumb__mini--svc { position: relative; display: block; background: #000; }
.gr-tcard { position: absolute; left: 4.9cqw; right: 4.9cqw; top: 5.4cqw; bottom: 4.9cqw; border-radius: 3.2cqw; font-style: normal; color: var(--black); overflow: hidden; }
.gr-tcard--lilac { background: var(--lilac); }
.gr-tcard--pink { background: var(--pink); }
.gr-tcard--yellow { background: var(--yellow); }
.gr-tcard--green { background: var(--green); }
.gr-tcard .gr-tc__n { left: 5cqw; top: 4.2cqw; }
.gr-tcard .gr-tc__t { left: 4.5cqw; right: 2cqw; bottom: 3.4cqw; }

/* Slide 2 : bandeau des clients plus fin. */
.gr-slide--manifesto .gr-slide__marquee { top: 44cqw; padding: 1.8cqw 0; font-size: 1.8cqw; }

/* Vignettes du portfolio : fond noir, photo arrondie en retrait (même cadre que les vignettes 4, 5 et 6). */
.gr-thumb__mini--img { background: #000; }
.gr-thumb__mini--img img { left: 4.9cqw; top: 5.4cqw; right: auto; bottom: auto; inset: 5.4cqw auto auto 4.9cqw; width: calc(100% - 9.8cqw); height: calc(100% - 10.3cqw); border-radius: 3.2cqw; object-fit: cover; }


/* Slides 4, 5 et 6 : les textes arrivent comme le titre de la slide 1 (montée depuis un masque, flou -> net, décalés). */
.gr-sc__txt p, .gr-sc__txt li, .gr-sc__tt, .gr-sc__label { overflow: hidden; }
.gr-sc__txt p, .gr-sc__txt li { padding-top: .12em; margin-top: -.12em; }
.gr-sc__tt { padding-top: .12em; margin-top: -.12em; }
.gr-sc__txt p > span, .gr-sc__txt li > span, .gr-sc__tt > span, .gr-sc__label > span { display: block; }
.gr-sc__txt li::before { content: none; }
.gr-sc__txt li > span::before { content: "•"; display: inline-block; width: 1.5cqw; }
@keyframes grFadeIn { from { opacity: 0; } }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row,
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__title { animation: none; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__txt p > span,
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__txt li > span,
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__tt > span,
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__label > span { animation: grLineIn 1.3s cubic-bezier(.16, 1, .3, 1) both; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__label { animation: grFadeIn .6s ease both; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__tt > span { animation-delay: .6s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(1) .gr-sc__label { animation-delay: .8s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(1) .gr-sc__label > span { animation-delay: .85s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(1) .gr-sc__txt p > span { animation-delay: 1s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__label { animation-delay: 1.05s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__label > span { animation-delay: 1.1s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__txt li:nth-child(1) > span { animation-delay: 1.25s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__txt li:nth-child(2) > span { animation-delay: 1.37s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__txt li:nth-child(3) > span { animation-delay: 1.49s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(2) .gr-sc__txt li:nth-child(4) > span { animation-delay: 1.61s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(3) .gr-sc__label { animation-delay: 1.5s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(3) .gr-sc__label > span { animation-delay: 1.55s; }
.gr-slide--card.is-active:not(.gr-thumb) .gr-sc__row:nth-child(3) .gr-sc__txt p > span { animation-delay: 1.7s; }
@media (prefers-reduced-motion: reduce) { .gr-slide--card .gr-sc__txt p > span, .gr-slide--card .gr-sc__txt li > span, .gr-slide--card .gr-sc__tt > span, .gr-slide--card .gr-sc__label > span, .gr-slide--card .gr-sc__label { animation: none !important; } }

/* Slide 2 : retours à la ligne imposés (maquette) ; chaque ligne reste d'un seul tenant. */
.gr-mf { font-size: 3.85cqw; line-height: 1.26; }
.gr-ln { display: block; white-space: nowrap; }
.gr-thumb__mini--preview .gr-ln { display: block; padding: 0; font: inherit; text-transform: none; letter-spacing: inherit; line-height: inherit; white-space: nowrap; }
/* Titres des cartes : le masque ne coupe plus le bas des lettres (marge ajoutée sous le texte, compensée pour garder la même position). */
.gr-sc__tt { padding-bottom: .16em; margin-bottom: -.16em; }

/* Slide 3 : texte du verso des cartes plus petit (13 px, comme la slide 4) et interligne resserré. */
.gr-fc__back p { font-size: 1.17cqw; line-height: 1.35; }
.gr-fc__back { row-gap: 2.2cqw; }

/* Slides du portfolio : les textes arrivent comme le titre de la slide 1 (montée depuis un masque, flou -> net, décalés). */
.gr-rise { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; padding-bottom: .16em; margin-bottom: -.16em; }
.gr-rise > span { display: block; }
.gr-slide--folio.is-active:not(.gr-thumb) .gr-rise > span { animation: grLineIn 1.3s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) both; }
@media (prefers-reduced-motion: reduce) { .gr-slide--folio .gr-rise > span { animation: none !important; } }

/* Flottement au passage de la souris, sur toutes les slides : chaque texte a sa profondeur (réglée dans main.js). */
.gr-fl { translate: calc(var(--px, 0) * var(--kx, 0) * 1cqw) calc(var(--py, 0) * var(--ky, 0) * 1cqw); }

/* Dernière slide « Parlons slides » : même titre que la slide 1 (même position, même taille, même arrivée) ; infos dessous à gauche, formulaire à droite. */
@media (min-width: 801px) {
  .gr-slide--violet:not(.gr-thumb) { padding: 0; }
  .gr-slide.gr-slide--violet .gr-slide__title--m { position: absolute; left: 1.9cqw; top: 3cqw; margin: 0; display: flow-root; font-family: "Helvetica LT Regular", "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12cqw; line-height: .925; }
  .gr-slide--violet .gr-slide__title--m .gr-line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; }
  .gr-slide--violet .gr-slide__title--m .gr-line > span { display: block; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__contact { margin: 29.5cqw 2cqw 0; gap: 4cqw; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); flex: 0 0 auto; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__form { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1cqw 1.6cqw; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__form label.full:has(input[name="entreprise"]) { grid-column: span 2; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__form label.gr-slide__check.full { grid-column: span 2; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__form div.full { grid-column: span 1; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__contact-info p:first-of-type { margin-top: 0; }
}
.gr-slide--violet.is-active:not(.gr-thumb) .gr-slide__title--m .gr-line > span { animation: grLineIn 1.3s cubic-bezier(.16, 1, .3, 1) both; }
.gr-slide--violet.is-active:not(.gr-thumb) .gr-slide__title--m .gr-line:nth-child(1) > span { animation-delay: .25s; }
.gr-slide--violet.is-active:not(.gr-thumb) .gr-slide__title--m .gr-line:nth-child(2) > span { animation-delay: .4s; }
.gr-slide--violet.is-active:not(.gr-thumb) .gr-rise > span { animation: grLineIn 1.3s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) both; }
@media (prefers-reduced-motion: reduce) { .gr-slide--violet .gr-line > span, .gr-slide--violet .gr-rise > span { animation: none !important; } }

/* Formulaire de contact : le texte saisi (et les indications) en IBM Plex Mono. */
.gr-slide__form input, .gr-slide__form textarea, .gr-slide__form input::placeholder, .gr-slide__form textarea::placeholder { font-family: var(--mono); font-weight: 400; }

/* Le logo et le numéro de page (pied de page) ne bougent jamais, sur aucune slide. */
.gr-slide__foot { translate: none !important; transform: none !important; }

/* Dernière slide : bouton « ENVOYER » dans la même direction artistique que les autres boutons (jaune, coins arrondis) avec le même survol lent. */
.gr-slide__send { padding: 1cqw 2.2cqw; border: 0; border-radius: .35em; background: var(--yellow); color: var(--black); font: 400 1.7cqw/1.2 var(--mono); letter-spacing: .02em; cursor: pointer; transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-slide__send:hover, .gr-slide__send:focus-visible { transform: scale(1.08); background: #fff; color: var(--violet); box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .35); outline: 0; }
.gr-slide__send:active { transition-duration: .4s; transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .gr-slide__send { transition: none; } .gr-slide__send:hover { transform: none; } }

/* Bouton « DIAPORAMA » (en bas à droite) : même direction artistique que les autres boutons (jaune, coins arrondis) et même survol lent. */
.gr-deck__fs { border: 0; border-radius: .35em; background: var(--yellow); color: var(--black); transform-origin: right center;
  transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-deck__fs:hover, .gr-deck__fs:focus-visible { transform: scale(1.08); background: var(--violet); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); outline: 0; }
.gr-deck__fs:active { transition-duration: .4s; transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .gr-deck__fs { transition: none; } .gr-deck__fs:hover { transform: none; } }

/* Flèches « < » et « > » : même survol lent que les autres boutons (grossit, passe au violet, ombre). */
.gr-deck__nav button { border-radius: .35em; opacity: 1; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-deck__nav button:hover, .gr-deck__nav button:focus-visible { transform: scale(1.12); background: var(--violet); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); outline: 0; }
.gr-deck__nav button:active { transition-duration: .4s; transform: scale(.95); }
@media (prefers-reduced-motion: reduce) { .gr-deck__nav button { transition: none; } .gr-deck__nav button:hover { transform: none; } }

/* Logo et numéro de page : même modèle et même taille que « PORTFOLIO · 02 / 25 » (IBM Plex Mono, petit, espacé). */
.gr-slide .gr-slide__foot { font-size: max(1.1cqw, 7px); letter-spacing: .06em; line-height: 1.2; }

/* Slide 2 : le bandeau des clients défile lentement (data-speed) et ne réagit pas à la souris (ni flottement, ni pause). */
.gr-slide--manifesto .gr-slide__marquee:hover .gr-track { animation-play-state: running; }

/* Vignette de la dernière slide : carte violette, texte blanc. */
.gr-tcard--violet { background: var(--violet); color: #fff; }
.gr-tcard--violet .gr-tc__n, .gr-tcard--violet .gr-tc__t { color: #fff; }

/* Dernière slide : même fond noir que la slide 1, texte blanc ; bouton « ENVOYER » en violet foncé qui passe au jaune au survol. */
article.gr-slide--violet { --sbg: var(--black); --sfg: #fff; --sac: var(--yellow); }
.gr-slide__send { background: var(--violet); color: #fff; }
.gr-slide__send:hover, .gr-slide__send:focus-visible { background: var(--yellow); color: var(--black); }

/* Vignettes du portfolio : « PORTFOLIO » en grand, en bas à gauche de la photo, comme les titres des vignettes 4, 5 et 6. */
.gr-thumb__mini--img .gr-tc__t--photo { left: 9.4cqw; right: 6cqw; bottom: 8.3cqw; z-index: 2; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }

/* ===== Marges identiques sur tout le site : 2 % de la largeur de la slide (référence : slide 8, portfolio). =====
   Les très grands titres (slides 1 et 32) sont recalés pour que le bord visible des lettres tombe exactement sur la marge
   (la police laisse un petit espace à gauche des lettres et au-dessus des capitales). */
.gr-slide.gr-slide--cover .gr-slide__title--cover, .gr-slide.gr-slide--violet .gr-slide__title--m { left: 1.03cqw; top: 2.43cqw; }
.gr-slide--cover .gr-slide__slogan { left: 2cqw; top: 34.23cqw; }
.gr-slide--cover .gr-deck__hint { left: 2cqw; top: 39.23cqw; }
@media (min-width: 801px) { .gr-slide--violet:not(.gr-thumb) .gr-slide__contact { margin-top: 28.93cqw; } }
/* Slide 3 : trois cartes de même largeur, marge de 2 % en haut, à gauche et à droite, 2 % entre les cartes. */
.gr-fcards { left: 2cqw; top: 2cqw; gap: 2cqw; }
.gr-fc { width: calc((96cqw - 4cqw) / 3); height: 45.4cqw; }
.gr-fc__title { top: 8cqw; }
.gr-fc__img { height: 20cqw; }
/* Slides 4, 5 et 6 : la carte a 2 % de marge en haut, à gauche et à droite, et s'arrête 2 % au-dessus du pied de page. */
.gr-sc { left: 2cqw; top: 2cqw; width: 96cqw; height: 48cqw; }
/* Cartes des slides 3 à 6 : elles s'arrêtent exactement 2 % au-dessus du pied de page (même marge en haut et en bas). */
.gr-sc { height: 48.9cqw; }
.gr-fc { height: 48.9cqw; }
.gr-fc__title { top: 8.5cqw; }
.gr-fc__img { height: 22.5cqw; }

/* Slide 3, première carte : photo en couleur (les autres restent en noir et blanc), y compris dans la vignette. */
.gr-fc__img.is-color, .gr-thumb__mini--preview .gr-fc__img.is-color { filter: none; }

/* Slide 1 : le bouton « Diaporama » est à droite de « Cliquez ou faites défiler » (même style, même survol lent). */
.gr-deck__actions { position: absolute; left: 2cqw; top: 39.23cqw; display: flex; align-items: stretch; gap: 1.2cqw; }
.gr-slide--cover .gr-deck__actions .gr-deck__hint { position: static; }
.gr-deck__fsbtn { display: inline-flex; align-items: center; gap: .8cqw; padding: 1cqw 2.2cqw; border: 0; border-radius: .35em; background: var(--yellow); color: var(--black); font: 400 1.7cqw/1.2 var(--mono); letter-spacing: .04em; cursor: pointer; transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-deck__fsbtn .gr-deck__ico { width: 2cqw; height: 2cqw; flex: none; }
.gr-deck__fsbtn:hover, .gr-deck__fsbtn:focus-visible { transform: scale(1.08); background: var(--violet); color: #fff; box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .35); outline: 0; }
.gr-deck__fsbtn:active { transition-duration: .4s; transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .gr-deck__fsbtn { transition: none; } .gr-deck__fsbtn:hover { transform: none; } }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__actions { display: none; } }

/* Slide 1 : « Cliquez ou faites défiler » en violet clair (lilas) ; au survol il passe au violet foncé. */
.gr-slide--cover .gr-deck__hint { background: var(--lilac); color: var(--black); }
.gr-slide--cover .gr-deck__hint:hover, .gr-slide--cover .gr-deck__hint:focus-visible { background: var(--violet); color: #fff; }

/* Slide 1 : « Voir le portfolio » (bouton principal, lilas) + « Diaporama » ; « Cliquez ou faites défiler » devient une simple indication discrète dessous. */
.gr-deck__actions .gr-deck__hint { border: 0; font-family: var(--mono); line-height: 1.2; letter-spacing: .04em; cursor: pointer; }
.gr-deck__tip { position: absolute; left: 2cqw; top: 45.6cqw; margin: 0; font: 400 max(1.1cqw, 7px)/1.2 var(--mono); letter-spacing: .06em; color: var(--light); opacity: .6; }
.gr-deck__tip .gr-deck__arrow { margin-left: .3em; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__tip { display: none; } }

/* Pages projet et pages légales (mentions légales, confidentialité) : mêmes marges que le reste du site (2 % de la largeur de la slide
   sur les quatre côtés, texte aligné sur la marge) et même style de bouton « Retour » (jaune, coins arrondis, survol lent vers le violet). */
@media (min-width: 801px) {
  .gr-pj { padding: 2cqw; gap: 1.6cqw; }
  .gr-pj__back { padding: 1cqw 2.2cqw; border-radius: .35em; font-size: 1.7cqw; line-height: 1.2; transform-origin: left center;
    transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
  .gr-pj__back:hover, .gr-pj__back:focus-visible { transform: scale(1.08); background: var(--violet); color: #fff; box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .3); outline: 0; }
  .gr-pj__back:active { transition-duration: .4s; transform: scale(.97); }
  .gr-pj__hint { font-size: max(1.1cqw, 7px); letter-spacing: .06em; }
  .gr-pj__scroll { border: 0; }
  .gr-pj__card { padding: 0 0 2cqw; }
}

/* ===== Échelle unique des tailles du site (en % de la largeur de la slide ; 1,17 % = 13 px à la taille normale) =====
   Petits libellés (pied de page, compteurs, indications, étiquettes de formulaire) : 1,1 %
   Texte courant et boutons : 1,17 %      Titres moyens (cartes, portfolio) : 3 %      Grands titres : 12 %
   Tous les boutons : même taille de texte, même hauteur, mêmes coins arrondis, même survol lent. */
.gr-deck__actions .gr-deck__hint, .gr-deck__fsbtn, .gr-fc__btn, .gr-slide__send { font-size: 1.17cqw; line-height: 1.2; padding: .7cqw 1.5cqw; }
.gr-deck__fsbtn .gr-deck__ico { width: 1.5cqw; height: 1.5cqw; }
.gr-deck__actions { gap: 1cqw; }
.gr-deck__tip { top: 44.6cqw; }
.gr-deck__fs { font-size: 13px; padding: 7px 14px; }
@media (min-width: 801px) { .gr-pj__back { font-size: 1.17cqw; padding: .7cqw 1.5cqw; } }
/* Textes */
.gr-slide__contact-info p, .gr-slide__contact-info a { font-size: 1.17cqw; }
.gr-slide__form label { font-size: 1.1cqw; }
.gr-slide__form input[type="text"], .gr-slide__form input[type="email"], .gr-slide__form input[type="tel"], .gr-slide__form textarea { font-size: 1.17cqw; }
.gr-folio__cap p { font-size: 1.17cqw; }
.gr-fc__n, .gr-sc__n { font-size: 1.1cqw; }
.gr-folio__cap h3, .gr-fc__title { font-size: 3cqw; }
.gr-slide--manifesto .gr-slide__marquee { top: 46cqw; padding: 1.5cqw 0; font-size: 1.17cqw; }

/* ===== Boutons : toujours un texte blanc (jamais de jaune ni de texte noir) =====
   Fond violet ; au survol il s'éclaircit, le texte reste blanc ; même taille, mêmes coins arrondis, même survol lent. */
.gr-deck__actions .gr-deck__hint, .gr-slide--cover .gr-deck__hint, .gr-deck__fsbtn, .gr-fc__btn, .gr-slide__send, .gr-pj__back, .gr-deck__fs,
.gr-deck__nav button, .gr-deck__share, .gr-folio__link, .gr-slide__more, .gr-btn { background: var(--violet) !important; color: #fff !important; }
.gr-deck__actions .gr-deck__hint:hover, .gr-deck__actions .gr-deck__hint:focus-visible, .gr-slide--cover .gr-deck__hint:hover, .gr-deck__fsbtn:hover, .gr-deck__fsbtn:focus-visible,
.gr-fc__btn:hover, .gr-fc__btn:focus-visible, .gr-slide__send:hover, .gr-slide__send:focus-visible, .gr-pj__back:hover, .gr-pj__back:focus-visible, .gr-deck__fs:hover, .gr-deck__fs:focus-visible,
.gr-deck__nav button:hover, .gr-deck__nav button:focus-visible, .gr-deck__share:hover, .gr-deck__share:focus-visible, .gr-folio__link:hover, .gr-folio__link:focus-visible,
.gr-slide__more:hover, .gr-slide__more:focus-visible, .gr-btn:hover { background: var(--violet) !important; color: #fff !important; }
.gr-deck__fs { border-color: transparent !important; }
/* « + INFO » du portfolio : devient un vrai bouton (même taille que les autres) */
.gr-folio__link { display: inline-block; margin: 1.6cqw 0 0; padding: .7cqw 1.5cqw; border-radius: .35em; font-size: 1.17cqw; line-height: 1.2; letter-spacing: .04em; text-decoration: none; transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-folio__link:hover, .gr-folio__link:focus-visible { transform: scale(1.08); box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .3); text-decoration: none; outline: 0; }

/* Exceptions : « Diaporama » reste jaune (texte noir) ; « Voir le portfolio » est en violet clair (texte noir). Le texte ne change jamais de couleur au survol. */
.gr-deck__actions .gr-deck__fsbtn, button.gr-deck__fs { background: var(--yellow) !important; color: var(--black) !important; }
.gr-deck__actions .gr-deck__fsbtn:hover, .gr-deck__actions .gr-deck__fsbtn:focus-visible, button.gr-deck__fs:hover, button.gr-deck__fs:focus-visible { background: var(--yellow) !important; color: var(--black) !important; }
.gr-deck__actions .gr-deck__hint { background: var(--lilac) !important; color: var(--black) !important; }
.gr-deck__actions .gr-deck__hint:hover, .gr-deck__actions .gr-deck__hint:focus-visible { background: var(--lilac) !important; color: var(--black) !important; }

/* Barre du haut : bouton « Me contacter » (toujours visible, mène à la slide de contact), à la place de Malt et Linkedin (qui restent sur la slide de contact). */
.gr-deck__contactbtn { margin-left: auto; padding: 7px 14px; border: 0; border-radius: .35em; font: 400 13px/1 var(--mono); letter-spacing: .06em; cursor: pointer; transform-origin: right center;
  background: var(--violet) !important; color: #fff !important;
  transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), box-shadow 1.6s ease, background-color 1.8s ease, color 1.8s ease; }
.gr-deck__contactbtn:hover, .gr-deck__contactbtn:focus-visible { transform: scale(1.08); background: var(--violet) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); outline: 0; }
.gr-deck__contactbtn:active { transition-duration: .4s; transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .gr-deck__contactbtn { transition: none; } .gr-deck__contactbtn:hover { transform: none; } }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__contactbtn { display: none; } }

/* Survol des boutons violets : même violet (couleur de la DA), avec un liseré lilas pour que le changement se voie même sur fond noir. Aucune couleur hors de la DA. */
.gr-deck__nav button:hover, .gr-deck__nav button:focus-visible, .gr-deck__share:hover, .gr-deck__share:focus-visible, .gr-fc__btn:hover, .gr-fc__btn:focus-visible,
.gr-slide__send:hover, .gr-slide__send:focus-visible, .gr-pj__back:hover, .gr-pj__back:focus-visible, .gr-folio__link:hover, .gr-folio__link:focus-visible,
.gr-deck__contactbtn:hover, .gr-deck__contactbtn:focus-visible { box-shadow: 0 0 0 2px var(--lilac), 0 4px 14px rgba(0, 0, 0, .3); }

/* Bouton « Me contacter » de la barre du haut : en haut à droite, sans l'ancienne inclinaison des étiquettes Malt / Linkedin. */
.gr-deck__social .gr-deck__contactbtn { margin: 0; transform: none; padding: 7px 14px; font-size: 13px; line-height: 1; transform-origin: right center; }
.gr-deck__social .gr-deck__contactbtn:hover, .gr-deck__social .gr-deck__contactbtn:focus-visible { transform: scale(1.08); }

/* Bouton « CONTACT » (en-tête) : jaune, texte noir, centré dans la hauteur de l'en-tête. */
.gr-deck__social { flex-direction: column; justify-content: center; align-items: flex-end; }
.gr-deck__social .gr-deck__contactbtn { background: var(--yellow) !important; color: var(--black) !important; letter-spacing: .06em; }
.gr-deck__social .gr-deck__contactbtn:hover, .gr-deck__social .gr-deck__contactbtn:focus-visible { background: var(--yellow) !important; color: var(--black) !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }

/* Le jaune est réservé aux éléments importants : vignette sélectionnée (contour) et barre de défilement des vignettes. */
.gr-thumb.is-active .gr-thumb__mini { border-color: var(--yellow); }
.gr-sitedeck .gr-deck__thumbs { scrollbar-color: var(--yellow) transparent; }
@supports not (scrollbar-color: auto) {
  .gr-deck__thumbs::-webkit-scrollbar-thumb { background: var(--yellow); }
}

/* Slide 2 : bandeau des clients un peu plus grand ; son bord bas s'aligne sur celui des cartes des slides 3 à 6 (2 % au-dessus du pied de page). */
.gr-slide--manifesto .gr-slide__marquee { top: 45.5cqw; padding: 1.8cqw 0; font-size: 1.5cqw; }

/* Barre de défilement des vignettes : en lilas (couleur de la DA), toujours visible, sans fond noir, avec de l'air entre les vignettes et la barre. */
.gr-sitedeck .gr-deck__thumbs { padding-right: 22px; scrollbar-color: var(--lilac) transparent; scrollbar-width: auto; }
@supports selector(::-webkit-scrollbar) {
  .gr-sitedeck .gr-deck__thumbs { scrollbar-color: auto; }
  .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar { width: 10px; }
  .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-track { background: transparent; }
  .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-thumb { background: var(--lilac); border-radius: 6px; }
}

/* ===== Taille minimale des textes : proportionnelle à la slide, mais jamais en dessous d'un seuil lisible ===== */
.gr-slide__slogan, .gr-slide--cover .gr-slide__slogan { font-size: max(2.3cqw, 14px); }
.gr-deck__actions .gr-deck__hint, .gr-deck__fsbtn, .gr-fc__btn, .gr-slide__send, .gr-folio__link { font-size: max(1.17cqw, 11px); padding: max(.7cqw, 6px) max(1.5cqw, 13px); }
.gr-deck__fsbtn .gr-deck__ico { width: max(1.5cqw, 13px); height: max(1.5cqw, 13px); }
@media (min-width: 801px) { .gr-pj__back { font-size: max(1.17cqw, 11px); padding: max(.7cqw, 6px) max(1.5cqw, 13px); } }
.gr-sc__label, .gr-sc__txt, .gr-fc__back p, .gr-folio__cap p, .gr-slide__contact-info p, .gr-slide__contact-info a,
.gr-slide__form input[type="text"], .gr-slide__form input[type="email"], .gr-slide__form input[type="tel"], .gr-slide__form textarea { font-size: max(1.17cqw, 11px); }
.gr-pj__body p { font-size: max(1.05cqw, 11px); }
.gr-pj__body h3 { font-size: max(1.4cqw, 11.5px); }
.gr-slide--manifesto .gr-slide__marquee { font-size: max(1.5cqw, 12px); }
.gr-slide .gr-slide__foot, .gr-slide .gr-folio__kicker, .gr-slide .gr-deck__tip, .gr-slide__form label, .gr-slide .gr-fc__n, .gr-slide .gr-sc__n, .gr-pj__hint { font-size: max(1.1cqw, 10px); }

/* ===== Animations d'arrivée plus courtes ===== */
/* Portfolio : 25 slides qu'on enchaîne vite -> moins d'attente */
.gr-slide--folio.is-active:not(.gr-thumb) .gr-rise > span { animation-duration: .9s; animation-delay: calc(var(--d, 0s) * .4); }
/* Slide déjà vue : les animations d'arrivée se rejouent en version courte, sans attente */
.gr-slide.is-seen.is-active:not(.gr-thumb) :is(.gr-line > span, .gr-rise > span, .gr-sc, .gr-sc__label, .gr-sc__label > span, .gr-sc__media, .gr-w, .gr-sc__tt > span, .gr-sc__txt p > span, .gr-sc__txt li > span, .gr-slide__slogan) { animation-delay: 0s !important; animation-duration: .5s !important; }

/* Dernière slide : le bloc contact remonte un peu (2,5 % sous le titre, comme l'espace entre les lignes du titre) pour ne jamais toucher le pied de page quand les textes sont à leur taille minimale. */
@media (min-width: 801px) { .gr-slide--violet:not(.gr-thumb) .gr-slide__contact { margin-top: 27cqw; } }

/* ===== Sélecteur de langue (en bas à gauche) : FR / EN, avec une petite bulle pour signaler la version anglaise ===== */
.gr-deck__lang { position: relative; display: flex; align-items: center; gap: 4px; flex: none; opacity: 1; }
.gr-lang__globe { width: 15px; height: 15px; flex: none; margin-right: 4px; }
.gr-lang__btn { padding: 4px 7px; border: 0; border-radius: .35em; background: none; color: inherit; font: 400 12px/1 var(--mono); letter-spacing: .06em; cursor: pointer; opacity: .7; transition: opacity .2s, background-color .3s, color .3s; }
.gr-lang__btn:hover, .gr-lang__btn:focus-visible { opacity: 1; outline: 0; }
.gr-lang__btn.is-on { opacity: 1; background: var(--violet); color: #fff; }
.gr-lang__sep { opacity: .4; font-size: 12px; }
/* Rappel visuel : l'autre langue pulse trois fois à l'arrivée */
@keyframes grLangPulse { 0% { box-shadow: 0 0 0 0 rgba(77, 68, 199, .65); } 100% { box-shadow: 0 0 0 9px rgba(77, 68, 199, 0); } }
.gr-lang__btn:not(.is-on) { animation: grLangPulse 1.4s ease-out 2.5s 3; }
.gr-lang__tip { position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 20; padding: 9px 13px; border: 0; border-radius: .5em; background: var(--violet); color: #fff; font: 400 12px/1.3 var(--mono); white-space: nowrap; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.gr-lang__tip::after { content: ""; position: absolute; left: 34px; top: 100%; border: 7px solid transparent; border-top-color: var(--violet); }
.gr-lang__tip[hidden] { display: none; }
.gr-lang__tip b { font-weight: 500; margin-left: .4em; }
.gr-deck__window.is-fs .gr-deck__lang { display: none; }
@media (prefers-reduced-motion: reduce) { .gr-lang__btn:not(.is-on) { animation: none; } }

/* ===== Bouton jour / nuit (en haut à droite, à gauche de CONTACT) ===== */
.gr-deck__social { flex-direction: row; justify-content: flex-end; align-items: center; gap: 14px; }
.gr-theme { display: inline-flex; align-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.gr-theme__track { position: relative; display: block; width: 46px; height: 24px; border-radius: 12px; background: #cfcfcf; transition: background-color .35s ease; }
.gr-theme__knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .35s cubic-bezier(.2, .6, .2, 1); }
.gr-theme__ico { position: absolute; top: 6px; width: 12px; height: 12px; transition: opacity .3s; }
.gr-theme__ico--moon { right: 6px; color: #6b6b6b; }
.gr-theme__ico--sun { left: 6px; color: #fff; opacity: 0; }
.gr-theme[aria-checked="true"] .gr-theme__track { background: var(--violet); }
.gr-theme[aria-checked="true"] .gr-theme__knob { transform: translateX(22px); }
.gr-theme[aria-checked="true"] .gr-theme__ico--moon { opacity: 0; }
.gr-theme[aria-checked="true"] .gr-theme__ico--sun { opacity: 1; }
.gr-theme:focus-visible .gr-theme__track { outline: 2px solid var(--violet); outline-offset: 3px; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme { display: none; } }

/* ===== Mode nuit : l'habillage de la fenêtre et les slides claires passent au noir (les slides noires et les cartes de couleur ne changent pas) ===== */
html[data-theme="dark"] body.gr-sitedeck-page, html[data-theme="dark"] .gr-deck { background: #070707; border-color: rgba(242, 242, 242, .3); }
html[data-theme="dark"] .gr-deck__window { --win: rgba(242, 242, 242, .3); background: var(--black); color: var(--light); box-shadow: 0 0 0 1px rgba(242, 242, 242, .28), 0 30px 70px rgba(0, 0, 0, .7); }
html[data-theme="dark"] .gr-deck__window:focus-visible { outline-color: var(--yellow); }
html[data-theme="dark"] .gr-deck__tabs { border-bottom-color: rgba(242, 242, 242, .45); }
html[data-theme="dark"] .gr-deck__tabs button { color: var(--light); }
html[data-theme="dark"] .gr-deck__tabs button:hover { text-decoration-color: rgba(242, 242, 242, .5); }
html[data-theme="dark"] .gr-deck__tabs button[aria-selected="true"] { text-decoration-color: var(--light); }
html[data-theme="dark"] .gr-deck__tabs button:focus-visible { outline-color: var(--light); }
html[data-theme="dark"] .gr-deck__thumbs { background: rgba(242, 242, 242, .05); border-right-color: rgba(242, 242, 242, .4); }
html[data-theme="dark"] .gr-thumb__mini { outline-color: rgba(242, 242, 242, .3); }
html[data-theme="dark"] .gr-deck__stage { background: #1b1a1a; }
html[data-theme="dark"] .gr-deck__notes { border-top-color: rgba(242, 242, 242, .4); }
html[data-theme="dark"] .gr-deck__status { background: #1b1a1a; color: var(--light); }
html[data-theme="dark"] .gr-slide--light, html[data-theme="dark"] .gr-thumb.gr-slide--light { --sbg: #141313; --sfg: var(--light); }
html[data-theme="dark"] .gr-slide.gr-slide--folio { background: #141313; color: var(--light); }
html[data-theme="dark"] .gr-folio__side { border-right-color: rgba(242, 242, 242, .4); }
html[data-theme="dark"] .gr-folio__cap { border-top-color: rgba(242, 242, 242, .4); }
html[data-theme="dark"] .gr-pj { background: #141313; color: var(--light); }
html[data-theme="dark"] .gr-pj__scroll { border-color: rgba(242, 242, 242, .3); }
html[data-theme="dark"] .gr-theme__track { background: var(--violet); }

/* Mode nuit : la barre de défilement des vignettes passe du lilas au jaune. */
html[data-theme="dark"] .gr-sitedeck .gr-deck__thumbs { scrollbar-color: var(--yellow) transparent; }
@supports selector(::-webkit-scrollbar) {
  html[data-theme="dark"] .gr-sitedeck .gr-deck__thumbs { scrollbar-color: auto; }
  html[data-theme="dark"] .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-thumb { background: var(--yellow); }
}

/* ===== Défilement fluide (ordinateur) : les slides sont empilées dans une piste qui défile, avec aimantation ===== */
.gr-deck__track, .gr-slide__pin { display: contents; }
.gr-snap { display: none; }
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track { display: block; position: absolute; inset: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y proximity; overscroll-behavior-y: auto; scrollbar-width: none; scroll-behavior: auto; }
  .gr-deck__track::-webkit-scrollbar { display: none; }
  .gr-deck__canvas.has-track { cursor: default; }
  .gr-deck__track .gr-slide { position: relative; inset: auto; height: 100%; flex: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
  .gr-deck__track .gr-slide.is-active { z-index: auto; transition: none; }
  /* Slide 3 : 4 arrêts (les 3 cartes se retournent l'une après l'autre au fil du défilement) */
  .gr-deck__track .gr-snap { display: block; position: absolute; left: 0; width: 1px; height: 25%; scroll-snap-align: start; scroll-snap-stop: always; pointer-events: none; }
  /* Pas d'animations d'arrivée du texte (elles s'accordent mal avec le défilement) : seule l'ouverture du site garde la sienne. */
  .gr-deck__track .gr-slide:not(.gr-slide--cover) :is(.gr-line > span, .gr-rise > span, .gr-sc, .gr-sc__row, .gr-sc__title, .gr-sc__label, .gr-sc__label > span, .gr-sc__media, .gr-w, .gr-sc__tt > span, .gr-sc__txt p > span, .gr-sc__txt li > span, .gr-slide__slogan, .gr-m__tag, .gr-m__title, .gr-m__row, .gr-m__label, .gr-m__content > p, .gr-m__content li, .gr-a__para) { animation: none !important; }
  /* Slides 4, 5, 6 : chaque bloc recouvre le précédent au défilement ; le premier arrive par la gauche. */
  .gr-deck__track .gr-slide--card { position: sticky; top: 0; scroll-snap-align: none; scroll-snap-stop: normal; }
  .gr-deck__track .gr-snap.gr-snap--flow { position: static; width: 1px; height: 2px; margin-bottom: -2px; }
  .gr-deck__track .gr-slide--card.is-over { background: none !important; overflow: visible; }
  .gr-deck__track .gr-slide--card.is-over .gr-sc { will-change: transform; }
  /* Portfolio : un trait fin sépare chaque slide de la précédente (même trait que celui au-dessus du titre du projet). */
  .gr-deck__track .gr-slide--folio::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--black); z-index: 5; pointer-events: none; }
  html[data-theme="dark"] .gr-deck__track .gr-slide--folio::before { background: rgba(242, 242, 242, .4); }
  /* Portfolio : chaque slide recouvre la précédente, avec une parallaxe sur l'image et la légende */
  .gr-deck__track .gr-slide--folio { position: sticky; top: 0; scroll-snap-align: none; scroll-snap-stop: normal; }
  .gr-deck__track .gr-slide--folio .gr-folio__media > .gr-mock { translate: 0 calc((var(--in, 0) - var(--out, 0)) * 5%); }
  .gr-deck__track .gr-slide--folio .gr-folio__cap { translate: 0 calc(var(--in, 0) * 34px - var(--out, 0) * 22px); }
  /* Slide 2 : texte grisé au départ, qui passe au blanc au défilement (la slide est « épinglée » sur 2,6 écrans) */
  .gr-deck__track .gr-slide--manifesto { padding: 0; overflow: visible; scroll-snap-align: none; scroll-snap-stop: normal; }
  .gr-deck__track .gr-slide--manifesto .gr-slide__pin { display: block; position: sticky; top: 0; overflow: hidden; padding: 0; }
  .gr-deck__track .gr-slide--manifesto .gr-c { opacity: .28; }
  .gr-deck__track .gr-slide--manifesto .gr-c.is-lit { opacity: 1; }
  /* Pas de logo ni de numéro de page au défilement */
  .gr-deck__track .gr-slide__foot { display: none; }
  /* Slide 3 : la carte grossit au survol (on peut cliquer), et se retourne au clic. */
  .gr-deck__track .gr-fc:not(.is-flipped):hover .gr-fc__in { transform: none; }
  .gr-deck__track .gr-fc { transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
  .gr-deck__track .gr-fc:hover, .gr-deck__track .gr-fc:focus-visible { scale: 1.06; z-index: 3; }
  .gr-deck__tip .gr-deck__arrow { animation-name: gr-arrow-down; }
}
@keyframes gr-arrow-down { 0%, 100% { transform: translateY(-.15em); } 50% { transform: translateY(.25em); } }
@keyframes grCardInL { from { opacity: 0; transform: translateX(-16cqw); } to { opacity: 1; transform: none; } }
/* Slide 2 : bandeau défilant plus gros */
.gr-slide--manifesto .gr-slide__marquee { top: 43.5cqw; padding: 2.4cqw 0; font-size: max(2.5cqw, 14px); line-height: 1.2; }
/* Slides 4, 5, 6 : blocs plus petits (réduits autour de leur centre, texte compris), centrés dans la slide */
.gr-slide--card:not(.gr-thumb) .gr-sc { top: 3.65cqw; scale: .84; transform-origin: 50% 50%; }
/* Slides 4, 5, 6 : blocs un peu plus grands (0,84 → 0,93), toujours centrés au même endroit dans la slide. */
.gr-slide--card:not(.gr-thumb) .gr-sc { scale: .93; }
/* Survol des boutons violets : le remplissage passe au lilas (texte noir), plus de liseré. */
.gr-pj__back:hover, .gr-pj__back:focus-visible, .gr-deck__nav button:hover, .gr-deck__nav button:focus-visible,
.gr-deck__share:hover, .gr-deck__share:focus-visible, .gr-fc__btn:hover, .gr-fc__btn:focus-visible,
.gr-slide__send:hover, .gr-slide__send:focus-visible, .gr-folio__link:hover, .gr-folio__link:focus-visible,
.gr-slide__more:hover, .gr-slide__more:focus-visible, .gr-btn:hover, .gr-btn:focus-visible {
  background: var(--lilac) !important; color: var(--black) !important; box-shadow: 0 .8cqw 2cqw rgba(0, 0, 0, .3);
}
/* Version anglaise : les étiquettes noires (« What’s included », « Who is it for? ») tiennent sur une ligne */
.gr-sc__label { white-space: nowrap; }
html[data-lang="en"] .gr-sc__row { grid-template-columns: 18cqw minmax(0, 1fr); }
/* Mode nuit / jour : en haut à gauche, à droite des trois pastilles, comme « Enregistrement automatique » dans PowerPoint */
.gr-deck__mode { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; }
.gr-deck__modelabel { font-size: 12.5px; line-height: 1; letter-spacing: .02em; white-space: nowrap; opacity: .9; }
.gr-deck__titlebar { align-items: center; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__mode { display: none; } }
.gr-deck__window.is-fs .gr-deck__mode { display: none; }

/* ===== Mobile / petits écrans : vraie mise en page verticale, sans vignettes, sans logo ni numéro de page ===== */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide { aspect-ratio: auto !important; min-height: calc(100svh - 155px); padding: 30px 20px !important; display: flex; flex-direction: column; justify-content: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__foot { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__mode, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme { display: inline-flex !important; }
  .gr-deck__titlebar { justify-content: flex-start; }

  /* Slide 1 */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__title--cover { position: static !important; font-size: 12.6vw !important; line-height: .96 !important; margin: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__slogan { position: static !important; margin: 16px 0 0 !important; font-size: 13px !important; line-height: 1.4; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__actions { display: flex !important; position: static !important; margin: 26px 0 0 !important; gap: 10px; flex-wrap: wrap; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint { display: inline-flex !important; position: static !important; font-size: 13px !important; padding: 11px 16px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__fsbtn { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__tip { display: block !important; position: static !important; margin: 22px 0 0 !important; font-size: 11px !important; }

  /* Slide 2 : le texte coule librement, le bandeau suit */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf { position: static !important; transform: none !important; font-size: 6.2vw !important; line-height: 1.22 !important; text-align: left; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-ln { display: inline !important; white-space: normal !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w { margin: 0 .22em 0 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-c { opacity: .95 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { position: static !important; margin: 28px -20px 0 !important; font-size: 14px !important; padding: 12px 0 !important; }

  /* Slide 3 : les trois cartes l'une sous l'autre, on les retourne en touchant */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cards { justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cards .gr-fcards { position: static !important; flex-direction: column; gap: 16px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cards .gr-fc { width: 100% !important; height: 86vw !important; max-height: 460px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__face { border-radius: 18px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__n { left: 18px !important; font-size: 12px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__front .gr-fc__n { top: 16px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__back .gr-fc__n { bottom: 16px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__title { left: 18px !important; right: 14px !important; top: 48px !important; font-size: 9vw !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__img { left: 14px !important; right: 14px !important; bottom: 14px !important; width: calc(100% - 28px) !important; height: 52% !important; border-radius: 12px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__back { padding: 26px 20px !important; row-gap: 16px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__back p { font-size: 14px !important; line-height: 1.5 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-fc__btn { font-size: 13px !important; padding: 10px 22px !important; }

  /* Slides 4, 5, 6 : un bloc coloré par service */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card { min-height: 0; padding: 14px !important; justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc { position: static !important; width: auto !important; height: auto !important; scale: 1 !important; transform: none !important; translate: none !important; border-radius: 18px; padding: 16px 16px 20px; display: flex; flex-direction: column; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media { position: static !important; order: -1; width: 100% !important; height: auto !important; margin-bottom: 14px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media img { width: 100% !important; height: 56vw !important; max-height: 380px; object-fit: cover; border-radius: 12px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__main { display: flex !important; flex-direction: column; position: static !important; width: auto !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__title { order: -1; position: static !important; margin: 0 0 14px !important; font-size: 10vw !important; line-height: 1 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__rows { position: static !important; display: grid; gap: 14px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__row { display: grid !important; grid-template-columns: 1fr !important; gap: 6px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__label { justify-self: start; font-size: 12px !important; padding: 5px 10px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt p, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt li { font-size: 13.5px !important; line-height: 1.45 !important; }

  /* Portfolio : l'image, puis la légende */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio { display: flex !important; flex-direction: column !important; padding: 0 !important; min-height: 0; justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__media { order: -1; position: relative; aspect-ratio: 16 / 11; min-height: 0; width: 100%; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__side { display: block !important; border-right: 0 !important; padding: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__kicker { padding: 16px 18px 0 !important; font-size: 11px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap { border-top: 0 !important; padding: 10px 18px 24px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap h3 { font-size: 7.4vw !important; line-height: 1.03; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap p { font-size: 14px !important; margin-top: 10px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__link { font-size: 13px !important; padding: 9px 16px !important; }

  /* Contact */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet { justify-content: flex-start; padding: 28px 18px 36px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__contact { display: block !important; margin-top: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info .gr-slide__title { font-size: 11vw !important; line-height: 1; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info p, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info a { font-size: 14px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form .full { grid-column: 1 / -1; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form label { font-size: 11px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form input, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form textarea { font-size: 16px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__send { font-size: 14px !important; padding: 12px 26px !important; }

  .gr-sitedeck .gr-deck__window:not(.is-fs), .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__body, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__canvas { min-width: 0; max-width: 100%; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) { grid-template-columns: minmax(0, 1fr); overflow: hidden; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { overflow-x: hidden; }

  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-line { display: block !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__check { display: flex !important; align-items: center; gap: 8px; }

  .gr-deck__tabs button { font-size: clamp(11px, 2.5vw, 14px); }
}

/* Mobile : plus de bandes grises autour des slides (le fond de la zone de défilement suit le thème). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { background: var(--black); }
  html[data-theme="light"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { background: var(--light); }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { scrollbar-width: none; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage::-webkit-scrollbar { display: none; }
}

/* Mobile : la slide des 3 cartes fait doublon avec les slides 4 à 6, elle est masquée. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__track .gr-slide--cards { display: none !important; }
}

/* Mobile, slides services : coins des photos sans noir, et vrai espace entre la puce et le texte. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media { background: transparent !important; border-radius: 12px !important; overflow: hidden; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt li > span { display: block; padding-left: 1.3em; text-indent: -1.3em; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt li > span::before { width: 1.3em; text-indent: 0; }
}

/* Mobile : espacements harmonisés entre tous les éléments. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Couverture : le bloc de texte remonte (plus haut que le centre). */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover { justify-content: flex-start; padding-top: 11vh !important; }
  /* Blocs de services : même écart entre eux (14px), 20px sous le bandeau, 28px avant le portfolio. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card { padding: 7px 14px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card) { padding-top: 20px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card:not(:has(~ .gr-slide--card)) { padding-bottom: 28px !important; }
  /* Titre de service : un peu d'air au-dessus et sous l'image. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media { margin-bottom: 18px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__title { margin: 0 0 20px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc { padding: 16px 16px 24px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__rows { gap: 18px; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet { padding: 44px 20px 48px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info .gr-slide__title { margin-bottom: 22px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form { margin-top: 30px; row-gap: 20px; }
  /* Intro : plus d'air en haut, le bandeau garde 36px sous le texte. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { padding-top: 44px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { margin-top: 36px !important; }
}

/* Mobile : mise en page inspirée de la version mobile du site actuel — blocs pleine largeur, une seule gouttière de 20px, rythme vertical régulier. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover { padding: 36px 20px 40px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__actions { margin-top: 28px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { padding: 36px 20px 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { margin: 32px -20px 0 !important; }
  /* Services : trois blocs de couleur collés, pleine largeur, sans coins arrondis. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card),
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card:not(:has(~ .gr-slide--card)) { padding: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc { border-radius: 0 !important; padding: 0 0 28px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media { margin-bottom: 22px; border-radius: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__media img { border-radius: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__main { padding: 0 20px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__title { margin: 0 0 22px !important; }
  /* Contact */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet { padding: 36px 20px 44px !important; }
}

/* Portfolio mobile : carrousel horizontal (balayage), un projet par écran. */
.gr-folio-rail { display: contents; }
.gr-folio-nav { display: none; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-rail { display: flex; position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; align-items: stretch; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-rail::-webkit-scrollbar { display: none; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-rail > .gr-slide--folio { flex: 0 0 100%; width: 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; box-sizing: border-box; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-rail > .gr-slide--folio::before { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--black); color: var(--light); border-top: 1px solid rgba(255,255,255,.25); }
  html[data-theme="light"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-nav { background: var(--light); color: var(--black); border-top-color: rgba(0,0,0,.25); }
  .gr-folio-nav__t { font: 400 11px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .75; text-align: center; }
  .gr-folio-nav__b { appearance: none; border: 1px solid currentColor; background: transparent; color: inherit; width: 44px; height: 36px; font: 400 18px/1 var(--mono); border-radius: 2px; cursor: pointer; }
}

/* Mobile : en-tête plus compact (pastilles et bouton nuit réduits), bouton Contact en haut à droite, pas de compteur « Diapositive x sur y ». */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__titlebar { align-items: center; gap: 10px; padding: 13px 14px 11px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__dots { gap: 5px; padding: 0; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__dots i { width: 8px; height: 8px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__modelabel { font-size: 11px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__mode { gap: 6px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme__track { width: 34px; height: 18px; border-radius: 9px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme__knob { top: 2px; left: 2px; width: 14px; height: 14px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme[aria-checked="true"] .gr-theme__knob { transform: translateX(16px); }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme__ico { top: 4px; width: 10px; height: 10px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme__ico--moon { right: 4px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-theme__ico--sun { left: 4px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__tabs { padding: 2px 14px 13px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social { display: flex !important; position: static !important; height: auto !important; top: auto !important; margin-left: auto; flex-direction: row; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn { display: inline-block !important; padding: 6px 11px; font-size: 11px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__status [data-status], .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__nav, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__fs { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__status { justify-content: space-between; }
}

/* Mobile : échelle typographique unique. Titre de couverture 11vw · titres de section 9.5vw · titres moyens 7vw · texte 14px · petites mentions 11px · boutons 14px. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) {
    --m-xl: 11vw; --m-lg: 9.5vw; --m-md: 7vw; --m-body: 14px; --m-small: 11px; --m-btn: 14px;
  }
  /* Grands titres */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__title--cover { font-size: var(--m-xl) !important; line-height: 1 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__title,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info .gr-slide__title { font-size: var(--m-lg) !important; line-height: 1 !important; }
  /* Titres moyens */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap h3 { font-size: var(--m-md) !important; }
  /* Texte courant */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__slogan,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt p,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__txt li,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap p,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info p,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__contact-info a { font-size: var(--m-body) !important; line-height: 1.5 !important; }
  /* Petites mentions */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__modelabel,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__tabs button,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__status a,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-lang__btn,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__tip,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__label,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc__n,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__kicker,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-nav__t,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form label,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__check { font-size: var(--m-small) !important; }
  /* Boutons */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__link,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__send { font-size: var(--m-btn) !important; }
}

/* Mobile : textes d'exemple du formulaire plus discrets (le texte saisi reste à 16px pour éviter le zoom automatique de l'iPhone). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form input::placeholder,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__form textarea::placeholder { font-size: 13px; line-height: 1.4; }
}

/* Mobile : la couverture n'occupe plus tout l'écran, l'intro enchaîne juste après (moins de vide entre les deux). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover { min-height: 0; padding-bottom: 28px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { min-height: 0; padding-top: 28px !important; padding-bottom: 36px !important; }
}

/* Mobile intro : plus d'air entre le texte et le bandeau, et sous le bandeau. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { margin-top: 56px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { padding-bottom: 56px !important; }
}

/* Mobile : plus aucun trait noir entre deux slides (suppression de la marge de 6px sous chaque slide). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__track .gr-slide,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-rail > .gr-slide { margin: 0 !important; }
}

/* ===== Mobile : les 3 blocs de services s'empilent (parallaxe), mise en page centrée ===== */
.gr-svc-stack { display: contents; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack { display: block; position: relative; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card { position: sticky !important; background: transparent !important; padding: 0 14px 14px !important; min-height: calc(100svh - 169px); display: flex; flex-direction: column; overflow: visible; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card) { padding-top: 0 !important; }
  /* Petit titre de la section, en IBM Plex Mono */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before { content: "SERVICES"; display: block; text-align: center; font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--light); padding: 34px 0 26px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc { flex: 1 1 auto; border-radius: 28px !important; padding: 24px 20px 20px !important; text-align: center; transform-origin: 50% 100%; will-change: transform; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__main { padding: 0 !important; align-items: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__title { display: block !important; text-align: center; margin: 0 0 18px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__n { display: block; margin: 0 0 12px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__rows { justify-items: center; width: 100%; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__row { justify-items: center; text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__label { justify-self: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__txt li > span { padding-left: 0; text-indent: 0; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__txt li > span::before { display: none; }
  /* Photo en bas du bloc, coins arrondis */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media { order: 99; margin: 20px 0 0 !important; border-radius: 18px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media img { border-radius: 18px !important; }
  /* Le sc est un flex en colonne : l'image passe après le texte */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc { display: flex; flex-direction: column; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc { margin: 0 14px 14px !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Blocs de services : uniquement la description (le reste est masqué sur mobile). */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__row:not(:first-child) { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card { padding: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc { justify-content: flex-start; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Pas d'animation d'arrivée sur les blocs empilés : c'est le défilement qui les anime. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc * { animation: none !important; }
}

/* Mobile, blocs de services : mise en page « maquette » — (n), grand titre, description serrée, photo qui remplit le bas du bloc. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before { font: 500 12.5px/1 var(--mono); letter-spacing: 0; padding: 36px 0 30px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc { padding: 12px 14px 14px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__main { flex: 0 0 auto; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__n { margin: 0 0 30px; font-size: 13px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__title { font-size: 10vw !important; line-height: 1 !important; margin: 0 0 22px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__label { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__txt p { line-height: 1.25 !important; padding: 0 6px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media { flex: 1 1 auto; min-height: 200px; margin: 24px 0 0 !important; display: block; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media { flex: 1 1 0; position: relative !important; overflow: hidden; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media img { position: absolute; inset: 0; }
}

/* ===== Mobile : portfolio en blocs empilés (même effet que les services) — jour : bloc noir sur fond clair, nuit : bloc clair sur fond noir ===== */
.gr-folio-stack { display: contents; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Fond de la zone de défilement : clair le jour, noir la nuit. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { background: var(--light); }
  html[data-theme="dark"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { background: var(--black); }
  /* Titres de section « SERVICES » / « PORTFOLIO » : noirs le jour, clairs la nuit. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before { color: var(--black); }
  html[data-theme="dark"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before { color: var(--light); }

  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack { display: block; position: relative; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack::before { content: "PORTFOLIO"; display: block; text-align: center; font: 500 12.5px/1 var(--mono); letter-spacing: 0; color: var(--black); padding: 36px 0 30px; }
  html[data-theme="dark"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack::before { color: var(--light); }

  /* Chaque projet = un bloc arrondi de la hauteur de l'écran, qui s'empile. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack > .gr-slide--folio {
    position: sticky !important; display: flex !important; flex-direction: column !important; align-items: center; text-align: center;
    min-height: calc(100svh - 169px); height: auto; margin: 0 14px 14px !important; width: auto; padding: 12px 14px 14px !important;
    border-radius: 28px; overflow: hidden; background: var(--black) !important; color: var(--light) !important; transform-origin: 50% 100%; will-change: transform;
  }
  html[data-theme="dark"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack > .gr-slide--folio { background: var(--light) !important; color: var(--black) !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack > .gr-slide--folio::before { content: "(" attr(data-n) ")"; display: block !important; position: static !important; width: auto; height: auto; background: none !important; font: 400 13px/1 var(--mono); margin: 0 0 30px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack > .gr-slide--folio .gr-folio__side { display: block !important; order: 1; padding: 0 !important; border: 0 !important; background: none; width: 100%; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__kicker { display: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__cap { padding: 0 !important; border: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__cap h3 { font-size: 10vw !important; line-height: 1 !important; margin: 0 0 18px; color: inherit; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__cap h3 > .gr-rise { display: block; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__cap p { line-height: 1.25 !important; margin: 0 !important; color: inherit; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__link { display: inline-block; margin-top: 18px; background: var(--lilac) !important; color: var(--black) !important; border: 0 !important; border-radius: 6px; padding: 10px 18px !important; }
  /* Image qui remplit le bas du bloc */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__media { order: 2 !important; flex: 1 1 0; width: 100%; min-height: 180px; aspect-ratio: auto !important; margin-top: 22px; border-radius: 18px; overflow: hidden; position: relative; }
  /* Pas d'animation d'arrivée : c'est le défilement qui anime. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-slide--folio *, .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-slide--folio { animation: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-rise > span { transform: none !important; opacity: 1 !important; }
}

/* ===== Mobile : slide d'intro « MA MISSION » — titre en IBM Plex Mono, texte centré, phrases clés soulignées ===== */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { min-height: calc(100svh - 155px); padding: 36px 20px 0 !important; justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto::before { content: "BONJOUR, JE M’APPELLE GAËLLE."; display: block; text-align: center; font: 500 12.5px/1 var(--mono); letter-spacing: 0; color: var(--light); padding: 0 0 20px; }
  html[data-lang="en"] .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto::before { content: "HELLO, MY NAME IS GAËLLE."; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf { margin: auto 0 !important; text-align: center !important; font-size: var(--m-md) !important; line-height: 1.2 !important; text-wrap: balance; }
  /* La phrase d'accroche « Ma mission est simple : » devient le titre au-dessus : on la retire du texte. */
  /* Mots et lettres en ligne (pour que le soulignement soit continu, espaces compris). */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w { display: inline !important; margin: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-c { display: inline !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w::after { content: " "; }
  /* Soulignés : « présentations PowerPoint stratégiques » et les deux dernières phrases. */
  /* Souligné : « Elles la rendent plus forte. » (mots marqués gr-u). */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w.gr-u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-ln { display: block !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-ln + .gr-ln { margin-top: .8em; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { margin: 36px -20px 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { padding-bottom: 0 !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-ln,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w { white-space: normal !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf { padding: 0 24px; }
}

/* ===== Mobile : hero (couverture) — nom, titre, slogan, bouton, indication, bandeau des clients, le tout centré ===== */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover { min-height: calc(100svh - 155px); padding: 34px 20px 0 !important; align-items: center; text-align: center; justify-content: flex-start; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover::before { content: "Studio Colette"; display: block; font: 400 20px/1 "Bringbold Nineties", Georgia, serif; letter-spacing: .04em; color: var(--light); margin: 0 0 40px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__title--cover { text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__title--cover .gr-line { display: block !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__slogan { text-align: center; margin: 16px 0 0 !important; color: var(--light); font-weight: 500; letter-spacing: .02em; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__actions { justify-content: center; margin-top: 40px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint .gr-deck__arrow { font-size: 11px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__tip { margin: 40px 0 0 !important; text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__tip .gr-deck__arrow { display: inline-block; font-size: 11px; }
  /* Bandeau des clients, sous le hero, pleine largeur */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__marquee { position: static !important; align-self: stretch; width: calc(100% + 40px); margin: 48px -20px 0 !important; padding: 12px 0 !important; font-size: var(--m-body) !important; line-height: 1.2; border: 0; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__slogan { font-size: 12.5px !important; letter-spacing: 0; white-space: nowrap; }
}

/* Mobile : même espace (72px) au-dessus de chaque titre de section — MA MISSION, SERVICES, PORTFOLIO. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover { min-height: 0; padding-bottom: 0 !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto { min-height: 0; padding-top: 72px !important; padding-bottom: 36px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before { padding-top: 36px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack::before { padding-top: 58px; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Photo des services centrée : on annule les décalages (right / top / bottom) hérités de la version ordinateur. */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack .gr-slide--card .gr-sc__media,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__media { inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; align-self: stretch; }
}

/* Mobile : section contact entièrement centrée. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet { text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__contact-info { text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__contact-info p { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form label { text-align: center; display: block; width: 100%; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form input,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form textarea { text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form input::placeholder,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form textarea::placeholder { text-align: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__check { justify-content: center; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet .gr-slide__form .gr-slide__send { display: block; margin-left: auto; margin-right: auto; }
}

/* Mobile : petit titre « CONTACT » (comme « MA MISSION »), avec le même espace (72px) au-dessus. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet { padding: 58px 20px 44px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet::before { content: "CONTACT"; display: block; text-align: center; font: 500 12.5px/1 var(--mono); letter-spacing: 0; color: var(--light); padding: 0 0 30px; }
}

/* Mobile : texte de la mission à 50 % d'opacité, qui passe au blanc lettre par lettre au défilement (comme sur ordinateur). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-c { opacity: .5 !important; transition: opacity .35s ease-out; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-c.is-lit { opacity: 1 !important; color: #fff; }
}

/* Mobile : plus d'accrochage automatique au défilement (il faisait sauter la page au bout des blocs empilés). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { scroll-snap-type: none !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide { scroll-snap-align: none !important; }

  /* Tous les boutons du contenu : même taille (hauteur 42px, texte 14px, coins 6px). */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__hint,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__link,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__send {
    display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
    height: 42px; min-width: 0; padding: 0 22px !important; font: 400 14px/1 var(--mono) !important; letter-spacing: .02em; border-radius: 6px !important; white-space: nowrap;
  }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint { height: 42px; padding: 0 22px !important; font: 400 14px/1 var(--mono) !important; border-radius: 6px !important; box-sizing: border-box; }
}

/* Mobile : TOUS les boutons ont exactement la même taille — texte 11px (comme « CONTACT »), hauteur 32px, mêmes coins et même espacement des lettres. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__link,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__send,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn {
    display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
    height: 32px !important; min-height: 0; padding: 0 16px !important; margin-top: 0;
    font: 400 11px/1 var(--mono) !important; letter-spacing: .06em !important; border-radius: 5px !important; white-space: nowrap;
  }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__link { margin-top: 18px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-folio__link *,
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn * { font: inherit !important; letter-spacing: inherit !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint { transform: none !important; animation: none !important; scale: 1 !important; }
}

/* Mobile : le bouton « Retour aux projets » (fiche projet) a la même taille que tous les autres boutons. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-pj__back {
    display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box;
    height: 32px !important; padding: 0 16px !important; font: 400 11px/1 var(--mono) !important; letter-spacing: .06em !important; border-radius: 5px !important; transform: none;
  }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-pj__hint { font-size: 11px !important; }
}

/* Slide 1 (couverture) : le gros titre respirait trop peu par rapport à la slide 2. Titre, slogan et bouton décalés
   ensemble vers 3,5 % du bord gauche et du haut (le bord visible des lettres, pas leur boîte). Ordinateur uniquement. */
@media (min-width: 801px) {
  .gr-slide.gr-slide--cover .gr-slide__title--cover { left: 2.64cqw; top: 2cqw; } /* recalé pour la police Light : bord des lettres à 3,5 % */
  .gr-slide--cover .gr-slide__slogan { left: 3.5cqw; top: 35.73cqw; }
  .gr-slide--cover .gr-deck__actions { left: 3.5cqw; top: 40.73cqw; }
  .gr-slide--cover .gr-deck__tip { left: 3.5cqw; top: 46.1cqw; }
}

/* Slide 1 : titre en Helvetica Light (au lieu de Roman). Utilise « Helvetica LT Light » déclarée plus haut :
   la police Light installée sur l'ordinateur, sinon le Roman du thème en secours. */
.gr-slide.gr-slide--cover .gr-slide__title--cover { font-family: "Helvetica LT Light", "Helvetica LT Regular", "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; }

/* ===== Slides pleine largeur (ordinateur) : la slide occupe tout l'espace disponible, même si ce n'est plus du 16:9 =====
   Le contenu garde sa taille (unités cqw du cadre 16:9) et reste calé sur le bord gauche ; le fond s'étend jusqu'aux bords. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__stage { padding: 6px; overflow: hidden; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas { overflow: visible; box-shadow: none; background: transparent; }
  .gr-sitedeck .gr-deck__window .gr-deck__track { left: calc(var(--deck-extra, 0px) * -1); right: calc(var(--deck-extra, 0px) * -1); }
  /* Les cartes (slides 3 à 6) suivent la largeur de la slide au lieu d'une largeur fixe, avec toujours 2 % de marge. */
  .gr-sitedeck .gr-deck__window .gr-slide--cards:not(.gr-thumb) .gr-fcards { right: 2cqw; }
  .gr-sitedeck .gr-deck__window .gr-slide--cards:not(.gr-thumb) .gr-fc { flex: 1 1 0; width: auto; min-width: 0; }
  .gr-sitedeck .gr-deck__window .gr-slide--card:not(.gr-thumb) .gr-sc { width: calc(100% - 4cqw); }
}

/* Slide « Parlons slides. » : même police Light que le titre de la couverture. */
.gr-slide.gr-slide--violet .gr-slide__title--m { font-family: "Helvetica LT Light", "Helvetica LT Regular", "Helvetica LT Roman", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; }
@media (min-width: 801px) {
  /* même marge que le titre de la couverture : bord des lettres à 3,5 % à gauche et en haut (police Light, même taille) */
  .gr-slide.gr-slide--violet .gr-slide__title--m { left: 2.64cqw; top: 2cqw; }
  .gr-slide--violet:not(.gr-thumb) .gr-slide__contact { margin-left: 3.5cqw; margin-right: 3.5cqw; }
}

/* Slide 1 : le bouton « Diaporama » arrive avec la même animation (et au même moment) que « Voir le portfolio ». */
.gr-deck__actions .gr-deck__fsbtn { animation: gr-hint-in .9s cubic-bezier(.2, .7, .2, 1) .9s backwards; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .gr-deck__actions .gr-deck__fsbtn { animation: none; } }

/* ===== Couverture claire (ordinateur) + fond coloré au survol du titre (inspiré de emblematica.agency) =====
   Au départ le fond est clair et le titre noir. Au survol d'une ligne du titre, un cercle de couleur grandit depuis cette ligne. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-theme="dark"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) { --sbg: var(--light); --sfg: var(--black); background: var(--light); color: var(--black); }
  html:not([data-theme="dark"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__tip) { color: var(--black); }
  html:not([data-theme="dark"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__tip { opacity: .7; }
  .gr-slide--cover .gr-slide__title--cover .gr-line { width: fit-content; max-width: 100%; }
}
.gr-cover-wipe { position: absolute; inset: 0; z-index: 0; background: var(--wipe-color); clip-path: circle(0 at var(--wipe-x) var(--wipe-y)); transition: clip-path 1400ms cubic-bezier(.45, .05, .25, 1), opacity 700ms ease; pointer-events: none; will-change: clip-path; }
.gr-cover-wipe--grain { background: var(--black) var(--grain) center / cover; }
.gr-cover-wipe.is-active { clip-path: circle(150cqw at var(--wipe-x) var(--wipe-y)); }
.gr-cover-wipe.is-exiting { opacity: 0; transition: opacity 500ms; }
@media (prefers-reduced-motion: reduce) { .gr-cover-wipe { transition: opacity 300ms; } }

/* ===== Slides 1 et 2 centrées (ordinateur), façon emblematica.agency ===== */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  /* --- Slide 1 : tout est centré (titre, slogan, boutons, indication) et plus d'animation d'apparition des textes. --- */
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) { text-align: center; }
  .gr-sitedeck .gr-deck__window .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-slide__title--cover { left: 0; right: 0; top: 4.8cqw; text-align: center; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-slide__title--cover .gr-line { margin-left: auto; margin-right: auto; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-slide__slogan { left: 0; right: 0; top: 38.53cqw; text-align: center; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__actions { left: 0; right: 0; top: 43.53cqw; justify-content: center; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__tip { left: 0; right: 0; top: 48.9cqw; text-align: center; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-line > span,
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-slide__slogan,
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-deck__hint,
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-deck__fsbtn,
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-deck__actions,
  .gr-sitedeck .gr-deck__window .gr-slide--cover .gr-deck__tip { animation: none !important; }

  /* --- Slide 2 : petit titre « MA MISSION » au-dessus, puis le texte centré et beaucoup plus gros. --- */
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__pin::before { content: "BONJOUR, JE M’APPELLE GAËLLE."; position: absolute; left: 0; right: 0; top: 22cqw; z-index: 2; text-align: center; font: 500 max(1.15cqw, 14px)/1 var(--mono); letter-spacing: 0; color: var(--light); }
  html[data-lang="en"] .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__pin::before { content: "HELLO, MY NAME IS GAËLLE."; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__pin { position: static; height: auto; overflow: visible; padding-bottom: 29cqw; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-mf { position: relative; left: auto; right: auto; top: auto; transform: none; margin: 28cqw 0 0; padding: 0 19cqw; text-align: center; font-size: 4.6cqw; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
  /* le bandeau des clients suit le texte, en bas de la longue section */
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__marquee { position: relative; top: auto; bottom: auto; left: auto; right: auto; width: 100%; margin: 24cqw 0 0; padding: 1.6cqw 0; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-ln { display: block; white-space: normal; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-ln + .gr-ln { margin-top: .85em; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-w { margin: 0 .12em; }
}

/* ===== Slide 1 : six pictos en grand, qui changent la couleur du fond au survol (façon emblematica.agency) ===== */
.gr-cover-art { display: none; }
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window .gr-cover-art { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas > .gr-cover-art { left: calc(var(--deck-extra, 0px) * -1); right: calc(var(--deck-extra, 0px) * -1); }
  .gr-cover-art.is-docked .gr-cover-picto { pointer-events: none; }
  /* Boutons de la couverture au-dessus des pictos (pour rester cliquables). */
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__actions { z-index: 4; }
  /* Les blocs de texte (pleine largeur) laissent passer la souris vers les pictos ; seuls les mots du titre et les boutons la reçoivent. */
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__actions, .gr-deck__tip) { pointer-events: none; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-line, .gr-deck__hint, .gr-deck__fsbtn) { pointer-events: auto; }
  .gr-cover-picto { position: absolute; height: auto; filter: url(#gr-3d); will-change: translate, scale; pointer-events: auto; cursor: default; user-select: none; -webkit-user-drag: none; }
  .gr-cover-picto--1 { left: -2%;  top: -4cqw;  width: 38cqw; rotate: -9deg; }   /* lecture */
  .gr-cover-picto--2 { right: -2%; top: -6cqw;  width: 52cqw; rotate: 8deg; }    /* diapo */
  .gr-cover-picto--3 { left: -3%;  top: 13cqw;  width: 36cqw; rotate: 7deg; }    /* conversation */
  .gr-cover-picto--4 { right: -1%; top: 22cqw;  width: 24cqw; rotate: -7deg; }   /* normal */
  .gr-cover-picto--5 { left: 2%;   top: 33cqw;  width: 30cqw; rotate: 12deg; }   /* flèche */
  .gr-cover-picto--6 { right: 3%;  top: 33cqw;  width: 30cqw; rotate: -11deg; }  /* trieuse */
}

/* Fond sombre (violet ou noir) : le texte de la couverture passe en clair, en douceur. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-theme="dark"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__tip) { transition: color .45s ease; }
  html:not([data-theme="dark"]) .gr-sitedeck .gr-deck__window .gr-slide--cover[data-wipe-tone="dark"]:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__tip) { color: var(--light); }
}

/* ===== Boutons de la couverture (« Voir le portfolio » et « Diaporama ») : en majuscules, plus d'effet de zoom ni de rétrécissement au survol / au clic.
   Seul le petit élément (flèche ou icône) glisse doucement au passage de la souris. ===== */
.gr-deck__actions :is(.gr-deck__hint, .gr-deck__fsbtn) { text-transform: uppercase; }
.gr-deck__actions :is(.gr-deck__hint, .gr-deck__fsbtn):is(:hover, :focus-visible, :active) { transform: none !important; scale: 1 !important; box-shadow: none !important; }
.gr-deck__actions .gr-deck__arrow, .gr-deck__actions .gr-deck__fsbtn .gr-deck__ico { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.gr-deck__actions .gr-deck__hint:hover .gr-deck__arrow, .gr-deck__actions .gr-deck__hint:focus-visible .gr-deck__arrow { transform: translateX(.6cqw); }
.gr-deck__actions .gr-deck__fsbtn:hover .gr-deck__ico, .gr-deck__actions .gr-deck__fsbtn:focus-visible .gr-deck__ico { transform: translateX(.35cqw); }

/* Mots soulignés de la slide 2 (« Elles la rendent plus forte. ») : le trait suit la couleur de la lettre, donc il s'allume avec le texte. */
.gr-mf .gr-u .gr-c { text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .13em; }

/* pas de rétrécissement du titre/slogan au survol du bouton ; le fond change par le cercle qui s'agrandit */
.gr-deck__canvas:has(.gr-deck__hint:hover) .gr-slide--cover.is-active .gr-slide__title--cover,
.gr-deck__canvas:has(.gr-deck__hint:hover) .gr-slide--cover.is-active .gr-slide__slogan { transform: none !important; }
.gr-cover-wipe { opacity: 0; }
.gr-cover-wipe.is-active { opacity: 1; }
.gr-cover-wipe.is-exiting { opacity: 0; }

/* les pictos suivent légèrement la souris (même mouvement que le titre, en un peu plus marqué car ils sont "devant") */
.gr-cover-picto { transform: translate(calc(var(--px, 0) * var(--pk, -1.4) * 1cqw + var(--dx, 0px)), calc(var(--py, 0) * var(--pk, -1.4) * 1cqw + var(--dy, 0px))); }
.gr-cover-picto--1 { --pk: -1.6; } .gr-cover-picto--2 { --pk: -2; } .gr-cover-picto--3 { --pk: -1.2; }
.gr-cover-picto--4 { --pk: -1.8; } .gr-cover-picto--5 { --pk: -1.4; } .gr-cover-picto--6 { --pk: -1.1; }

/* changement de fond : simple fondu doux et fluide (plus de cercle) */
.gr-cover-wipe, .gr-cover-wipe.is-active { clip-path: none; }
.gr-cover-wipe { opacity: 0; transition: opacity 1000ms cubic-bezier(.4, 0, .2, 1); }
.gr-cover-wipe.is-active { opacity: 1; }
.gr-cover-wipe.is-exiting { opacity: 0; transition: opacity 800ms cubic-bezier(.4, 0, .2, 1); }
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__tip) { transition: color .8s ease; }

/* Mobile : le texte de la mission n'a plus d'animation d'apparition (seul l'éclairage lettre par lettre reste). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-w { animation: none !important; }
}

/* Mobile : texte de la mission un peu plus petit. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf { font-size: 5.6vw !important; }
}

/* Diaporama (plein écran) : la couche des pictos n'est visible que pendant la couverture et la slide 2. */
.gr-deck__window.is-fs .gr-deck__canvas > .gr-cover-art { transition: opacity .5s ease, visibility .5s; }
.gr-deck__window.is-fs .gr-deck__canvas:not(:has(:is(.gr-slide--hero, .gr-slide--cover, .gr-slide--manifesto).is-active)) > .gr-cover-art { opacity: 0; visibility: hidden; pointer-events: none; }

/* Diaporama : même rendu et même défilement que le site normal (plus de flèches : on défile). */
.gr-deck__window.is-fs .gr-deck__nav { display: none; }

/* ===== Intro (ordinateur) : au chargement, les pictos arrivent de partout en tournoyant, puis le texte apparaît ===== */
@media (min-width: 801px) and (min-height: 501px) and (prefers-reduced-motion: no-preference), (min-width: 801px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  @keyframes grPictoIn {
    0%   { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.35); }
    18%  { opacity: 1; }
    100% { opacity: 1; transform: translate(calc(var(--px, 0) * var(--pk, -1.4) * 1cqw + var(--dx, 0px)), calc(var(--py, 0) * var(--pk, -1.4) * 1cqw + var(--dy, 0px))) rotate(0deg) scale(1); }
  }
  @keyframes grIntroText { from { opacity: 0; } to { opacity: 1; } }
  .gr-cover-picto { animation: grPictoIn 1.5s cubic-bezier(.2, .85, .25, 1.08) var(--fd, 0s) backwards; }
  .gr-cover-picto--1 { --fx: -70cqw; --fy: -45cqw; --fr: -140deg; --fd: .05s; }
  .gr-cover-picto--2 { --fx: 75cqw;  --fy: -55cqw; --fr: 150deg;  --fd: .2s; }
  .gr-cover-picto--3 { --fx: -80cqw; --fy: 10cqw;  --fr: 120deg;  --fd: .35s; }
  .gr-cover-picto--4 { --fx: 80cqw;  --fy: 5cqw;   --fr: -120deg; --fd: .15s; }
  .gr-cover-picto--5 { --fx: -45cqw; --fy: 65cqw;  --fr: -160deg; --fd: .3s; }
  .gr-cover-picto--6 { --fx: 55cqw;  --fy: 70cqw;  --fr: 140deg;  --fd: .45s; }
  html .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__actions, .gr-deck__tip) { animation: grIntroText .9s ease 1.7s backwards !important; }
}

/* Slides services (4, 5, 6) : mêmes marges que la couverture, 3,5 % de chaque côté, en haut et en bas (plus de réduction du bloc). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window .gr-slide--card:not(.gr-thumb) .gr-sc { scale: .86; left: 3.5cqw; top: 10cqw; width: calc(100% - 7cqw); height: 49.25cqw; transform-origin: 50% 0; }
}

/* ===== Services : défilement plus fluide, façon emblematica.agency ===== */
.gr-svc-kicker { display: none; }
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  /* petit titre « MES SERVICES » fixe en haut pendant que les 3 blocs s'empilent */
  .gr-svc-kicker { display: block; position: absolute; left: 0; right: 0; top: 4cqw; z-index: 2; text-align: center; font: 500 max(1.15cqw, 14px)/1 var(--mono); letter-spacing: 0; color: var(--light); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
  .gr-svc-kicker::before { content: "MES SERVICES"; }
  html[data-lang="en"] .gr-svc-kicker::before { content: "MY SERVICES"; }
  .gr-svc-kicker.is-on { opacity: 1; transition: opacity .3s ease; }
  html:not([data-theme="dark"]) .gr-svc-kicker { color: var(--light); }
  /* chaque bloc reste épinglé un moment (0,5 écran) avant que le suivant arrive */
  .gr-deck__track .gr-slide--card { height: 150%; }
  .gr-deck__track .gr-slide--card .gr-sc { will-change: transform, filter; }
  /* aimantation plus douce : plus d'arrêt obligatoire */
  .gr-deck__track .gr-slide, .gr-deck__track .gr-snap { scroll-snap-stop: normal; }
}

/* Fond grainé partout derrière les blocs services (le fond gris plat apparaissait pendant l'arrivée du premier bloc). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track { background: var(--black) var(--grain) center / cover; }
}

/* Défilement lissé : plus d'aimantation (l'inertie est gérée par le script). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track { scroll-snap-type: none; }
}

/* Blocs services : texte un peu plus grand (les blocs sont réduits à 86 %). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) :is(.gr-sc__label, .gr-sc__txt) { font-size: max(1.42cqw, 13px); }
}

/* Slide 2 (très longue) : le grain garde la même taille que sur les autres fonds (il était étiré sur toute la hauteur de la slide). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track .gr-slide--manifesto:not(.gr-thumb) { background: var(--black) var(--grain) 0 0 / 100% var(--gr-vh, 100%) repeat-y; }
}

/* Blocs services : un vrai espace entre les étiquettes (Description, Au programme, Pour qui ?) et leur texte. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__row { grid-template-columns: 17cqw minmax(0, 1fr); }
}

/* Services : les blocs sont dans un conteneur ; après le dernier, tout remonte avec la page, puis « MON PORTFOLIO » apparaît dessous et se bloque avant que le 1er projet arrive. */
.gr-svc-wrap { display: contents; }
.gr-pf-intro { display: none; }
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track .gr-svc-wrap { display: block; position: relative; padding-bottom: calc(var(--gr-vh, 0px) * .5); margin-bottom: calc(-1 * (var(--gr-vh, 100vh) - 16.5cqw)); }
  .gr-deck__track .gr-svc-wrap > .gr-slide--card { height: calc(var(--gr-vh, 100vh) * 1.5); }
  .gr-deck__track .gr-pf-intro { display: block; position: sticky; top: 0; height: calc(var(--gr-vh, 100vh) * 1.5); pointer-events: none; }
  .gr-pf-intro::before { content: "MON PORTFOLIO"; position: absolute; left: 0; right: 0; top: 4cqw; text-align: center; font: 500 max(1.15cqw, 14px)/1 var(--mono); letter-spacing: 0; color: var(--light); }
  html[data-lang="en"] .gr-pf-intro::before { content: "MY PORTFOLIO"; }
}

/* Portfolio : chaque projet est une carte aux bords arrondis, avec une marge de 3,5 % en haut, à gauche et à droite (fond noir grainé autour), comme sur mobile. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track .gr-slide--folio:not(.gr-thumb) { width: calc(100% - 7cqw); margin: 0 3.5cqw 11.5cqw; top: 3.5cqw; height: calc(var(--gr-vh, 100vh) - 7cqw); border-radius: 2.4cqw; overflow: hidden; }
  .gr-deck__track .gr-slide--folio::before { display: none; }
}

/* Portfolio : le bouton « + INFO » est en haut à gauche de la slide, sous « PORTFOLIO · 01 / 25 ». */
@media (min-width: 801px) {
  .gr-slide--folio .gr-folio__side > .gr-folio__link { align-self: flex-start; margin: 1.2cqw 0 0 2cqw; }
}
@media (min-width: 801px) {
  .gr-slide--folio .gr-folio__side { justify-content: flex-start; }
  .gr-slide--folio .gr-folio__side > .gr-folio__cap { margin-top: auto; }
}

/* « MES SERVICES » : collant en haut du groupe de blocs ; les blocs passent par-dessus (jamais l'inverse). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-svc-wrap > .gr-svc-kicker { position: sticky; top: 4cqw; left: auto; right: auto; height: 0; z-index: auto; transition: none; }
}


/* Pictos à plat : un effet de perspective (inclinaison qui suit la souris) et des ombres portées douces, à la place du relief 3D. */
@media (min-width: 801px) {
  .gr-cover-picto { filter: drop-shadow(0 .45cqw .9cqw rgba(0, 0, 0, .2)); }
  .gr-cover-picto { transform: translate(calc(var(--px, 0) * var(--pk, -1.4) * 1cqw + var(--dx, 0px)), calc(var(--py, 0) * var(--pk, -1.4) * 1cqw + var(--dy, 0px))); }
  .gr-cover-picto--1 { --rx: 10deg; --ry: -14deg; } .gr-cover-picto--2 { --rx: 8deg; --ry: 16deg; } .gr-cover-picto--3 { --rx: -9deg; --ry: -12deg; }
  .gr-cover-picto--4 { --rx: 12deg; --ry: 14deg; } .gr-cover-picto--5 { --rx: -8deg; --ry: -16deg; } .gr-cover-picto--6 { --rx: -10deg; --ry: 12deg; }
}

/* Pictos : une marge intérieure invisible laisse de la place à l'ombre (elle était coupée net au bord de l'image). */
@media (min-width: 801px) {
}

/* Les flèches « < > » en bas à droite ne servent plus (on défile) : retirées. */
.gr-deck__nav { display: none !important; }

/* Fondu noir lors d'un saut (« Voir le portfolio »), au lieu de faire défiler toute la page. */
.gr-jump-fade { position: absolute; inset: 0; z-index: 8; background: var(--black) var(--grain) center / cover; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.gr-jump-fade.is-on { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .gr-jump-fade { transition: none; } }

/* Fiche projet (« + INFO ») : même taille et mêmes bords arrondis que les cartes du portfolio (marge de 3,5 % en haut, à gauche et à droite). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__canvas > .gr-pj { left: calc(var(--deck-extra, 0px) * -1 + 3.5cqw); right: calc(var(--deck-extra, 0px) * -1 + 3.5cqw); top: 3.5cqw; bottom: 3.5cqw; border-radius: 2.4cqw; overflow: hidden; }
}

/* Angles arrondis : la slide forme son propre calque (isolation) pour que l'arrondi découpe bien le contenu animé, sans clip-path (qui peut laisser des zones vides dans Chrome). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__track .gr-slide--folio:not(.gr-thumb) { isolation: isolate; }
  .gr-sitedeck .gr-deck__canvas > .gr-pj { isolation: isolate; }
}

/* Page d'accueil (slide 1) : fond noir grainé en mode jour comme en mode nuit. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-x]):not([data-theme="x"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) { --sbg: var(--black); --sfg: var(--light); background: var(--black) var(--grain) center / cover; color: var(--light); }
  html:not([data-x]):not([data-theme="x"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) :is(.gr-slide__title--cover, .gr-slide__slogan, .gr-deck__tip) { color: var(--light); }
  html:not([data-x]):not([data-theme="x"]) .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__tip { opacity: .7; }
}

/* Le fondu noir couvre exactement la même zone que les slides (toute la largeur de la scène, pas seulement le cadre 16:9). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__canvas > .gr-jump-fade { left: calc(var(--deck-extra, 0px) * -1); right: calc(var(--deck-extra, 0px) * -1); top: 0; bottom: 0; }
}

/* Bandeau des clients (slide 2) : plus gros, et moins d'espace avant et après. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__marquee { margin: 10cqw 0 0; padding: 2cqw 0; font-size: 3.7cqw; }
  .gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__pin { padding-bottom: 10cqw; }
}

/* Projets entièrement recouverts : on ne les dessine plus (leur place reste réservée). */
.gr-deck__track .gr-slide--folio.is-covered { visibility: hidden; }

/* Titre de la couverture : « DESIGN POWERPOINT SUR-MESURE. » en Regular, la même typographie que les titres des cartes services. */
.gr-slide.gr-slide--cover .gr-slide__title--cover { font-family: var(--display); font-weight: 400; }

/* Mobile : le bouton « + INFO » est un peu plus haut, sous le numéro du projet, avec de l'air avant le titre (il le recouvrait). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__side > .gr-folio__link { margin: 8px auto 30px !important; position: relative; z-index: 2; }
}

/* The Consultant : la vidéo de la fiche projet remplace le mockup, centrée sur le bleu du projet. */
.gr-folio__media:has(.gr-folio__video--stage) { background: #202cea; display: grid; place-items: center; }
.gr-folio__video--stage { width: 82%; }
.gr-folio__video--stage video { width: 100%; height: auto; max-height: none; border-radius: .7cqw; box-shadow: 0 1.4cqw 3.4cqw rgba(0, 0, 0, .3); background: #000; }

/* Fiche projet ouverte : on ne voit que la fiche (les autres projets sont masqués, y compris dans la marge du bas). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-deck__canvas.has-pj .gr-deck__track .gr-slide { visibility: hidden; transition: visibility 0s .55s; }
}

/* ===== Essai : boutons style Windows 98, aux couleurs de la charte =====
   Face plate, relief « biseauté » (clair en haut à gauche, sombre en bas à droite), coins droits, enfoncé au clic. */
.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn { --w98-face: var(--yellow); --w98-ink: var(--black); }
.gr-deck__hint { --w98-face: var(--lilac); --w98-ink: var(--black); }
.gr-folio__link, .gr-pj__back, .gr-slide__send { --w98-face: var(--violet); --w98-ink: #fff; }
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send),
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send):is(:hover, :focus-visible) {
  background: var(--w98-face) !important; color: var(--w98-ink) !important;
  border: 2px solid !important; border-radius: 0 !important;
  border-color: color-mix(in srgb, var(--w98-face), #fff 72%) color-mix(in srgb, var(--w98-face), #000 74%) color-mix(in srgb, var(--w98-face), #000 74%) color-mix(in srgb, var(--w98-face), #fff 72%) !important;
  box-shadow: inset 1px 1px 0 color-mix(in srgb, var(--w98-face), #fff 40%), inset -1px -1px 0 color-mix(in srgb, var(--w98-face), #000 40%) !important;
  transition: none !important; transform: none !important; scale: 1 !important; text-shadow: none !important;
}
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send):active {
  border-color: color-mix(in srgb, var(--w98-face), #000 74%) color-mix(in srgb, var(--w98-face), #fff 72%) color-mix(in srgb, var(--w98-face), #fff 72%) color-mix(in srgb, var(--w98-face), #000 74%) !important;
  box-shadow: inset 1px 1px 0 color-mix(in srgb, var(--w98-face), #000 40%), inset -1px -1px 0 color-mix(in srgb, var(--w98-face), #fff 40%) !important;
}
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send):focus-visible { outline: 1px dotted currentColor !important; outline-offset: -5px !important; }

/* ===== Essai : pictogrammes style Windows 98 =====
   Ombre portée « dure » (sans flou) en bas à droite et liseré clair en haut à gauche : le même relief que les boutons. */


/* ===== Essai n°2 : inspiration « interface rétro » (aplats, contour franc, ombre dure décalée) ===== */
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send),
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send):is(:hover, :focus-visible) {
  border: 2px solid var(--black) !important;
  box-shadow: 3px 3px 0 var(--black) !important;
}
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-folio__link, .gr-pj__back, .gr-slide__send):active {
  border: 2px solid var(--black) !important;
  box-shadow: 1px 1px 0 var(--black) !important;
  translate: 2px 2px !important;
}


/* ===== Pictos de la couverture : tes pictos redessinés en pixel art (contour noir, aplat de couleur) ===== */


/* Boutons FR / EN : même style que les autres boutons (aplat, contour noir, ombre dure). Langue active en violet, l'autre en lilas. */
.gr-lang__btn.is-on { --w98-face: var(--violet); --w98-ink: #fff; }
.gr-lang__btn:not(.is-on) { --w98-face: var(--lilac); --w98-ink: var(--black); }
html:not([data-w98]) .gr-lang__btn,
html:not([data-w98]) .gr-lang__btn:is(:hover, :focus-visible) {
  background: var(--w98-face) !important; color: var(--w98-ink) !important; opacity: 1 !important;
  border: 2px solid var(--black) !important; border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--black) !important; 
  transition: none !important; transform: none !important; scale: 1 !important; animation: none !important;
  padding: 3px 7px !important;
}
html:not([data-w98]) .gr-lang__btn:active { box-shadow: 1px 1px 0 var(--black) !important; translate: 2px 2px !important; }

/* Boutons sur fond noir (couverture, slide Contact, mode nuit) : l'ombre dure devient claire, pour qu'on voie le côté rétro. */
html:not([data-w98]) :is(.gr-slide--cover, .gr-slide--violet:not(.gr-thumb)) :is(.gr-deck__hint, .gr-deck__fsbtn, .gr-slide__send):not(:active),
html:not([data-w98]) :is(.gr-slide--cover, .gr-slide--violet:not(.gr-thumb)) :is(.gr-deck__hint, .gr-deck__fsbtn, .gr-slide__send):is(:hover, :focus-visible):not(:active),
html[data-theme="dark"]:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-lang__btn):not(:active),
html[data-theme="dark"]:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-lang__btn):is(:hover, :focus-visible):not(:active) {
  box-shadow: 3px 3px 0 var(--light) !important;
}

/* Blocs services : la colonne de texte s'arrête toujours à 4 % de l'image (elle est ancrée à droite comme l'image, quelle que soit la largeur du bloc). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__main { width: auto; right: calc(1.25cqw + 32.1cqw + 4cqw); }
}

/* Vignettes 1 et 2 : petits pictogrammes « bureau » (disque / dossier) + légende en IBM Plex Mono. */
.gr-ticonwrap { display: flex; flex-direction: column; align-items: center; gap: 3cqw; }
.gr-ticon { width: 22cqw; height: auto; display: block; }
.gr-ticonwrap .gr-tname { font: 500 3.8cqw/1 var(--mono); letter-spacing: .02em; color: var(--light); text-align: center; }

/* Slides 3-5 (services) : étiquettes en boutons gris à relief (style Windows 98). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__label {
    background: var(--light); color: var(--black); border: .15cqw solid; border-color: #fff #404040 #404040 #fff;
    box-shadow: inset -.1cqw -.1cqw 0 #9a9a9a;
  }
}
img.gr-ticon { image-rendering: pixelated; }

/* Pictos : style « sobre » (aplats de la palette, contour noir fin, formes simples). Les versions pixel-*.svg restent dans assets/img/pictos. */
img.gr-ticon { image-rendering: auto; }

/* Vignettes 1 et 2 : légende plus grosse, pictogramme + texte centrés (verticalement et horizontalement). */
.gr-thumb__mini--card:has(.gr-ticonwrap) { display: flex; align-items: center; justify-content: center; }
.gr-ticonwrap { justify-content: center; gap: 2.5cqw; }
.gr-ticon { width: 20cqw; }
.gr-ticonwrap .gr-tname { font-size: 5.6cqw; font-weight: 500; line-height: 1.1; }

/* Pictos : pixels « barre d'outils PowerPoint d'époque » (16×16, contour noir, aplats palette). Versions pixel-* et sober-* conservées dans assets/img/pictos. */
img.gr-ticon { image-rendering: pixelated; }

/* Retour aux pictos d'origine en pixel art (pixel-*.svg). */
img.gr-ticon { image-rendering: pixelated; }

/* Pictos d'origine avec contour encre + liseré crème (traitement « planche rétro »). Versions pixel-*, sober-*, w98-* conservées. */
img.gr-ticon { image-rendering: auto; }

/* Pictos façon icônes Windows 95/98 (pixels, contour noir, reflet haut-gauche, ombre bas-droite). */
img.gr-ticon { image-rendering: pixelated; }

/* Pictos d'origine, léger effet pixel art (grille fine 150×130). */
img.gr-ticon { image-rendering: pixelated; }

/* Vignettes 1 et 2 : picto recadré au plus juste, donc réellement centré avec sa légende. */
.gr-ticonwrap { gap: 3.2cqw; }
img.gr-ticon { width: auto; height: 17cqw; max-width: 28cqw; }
.gr-thumb__mini .gr-ticonwrap { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
.gr-thumb__mini .gr-ticonwrap > img.gr-ticon { margin: 0 auto; }

/* Toggle jour/nuit version rétro : rail creusé, bouton carré en relief, lune et soleil en pixels. */
.gr-theme__track { border-radius: 0 !important; background: var(--light); border: 2px solid; border-color: var(--black) #fff #fff var(--black); box-shadow: inset 1px 1px 0 #808080, 2px 2px 0 var(--black); transition: background-color .2s steps(2); }
.gr-theme__knob { border-radius: 0 !important; top: 1px !important; left: 1px !important; width: 18px; height: 18px; background: var(--lilac); border: 2px solid; border-color: #fff var(--black) var(--black) #fff; box-shadow: inset -1px -1px 0 rgba(0,0,0,.3); transition: transform .2s steps(4); }
.gr-theme[aria-checked="true"] .gr-theme__track { background: var(--violet); }
.gr-theme[aria-checked="true"] .gr-theme__knob { background: var(--yellow); }
.gr-theme__ico { display: none !important; }
.gr-theme__track::before, .gr-theme__track::after { content: ""; position: absolute; top: 5px; width: 14px; height: 14px; background: var(--black); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; image-rendering: pixelated; transition: opacity .2s; }
.gr-theme__track::before { right: 4px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%207%207%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%222%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%207%207%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%222%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3C/svg%3E"); }
.gr-theme__track::after { left: 4px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%207%207%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%226%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%207%207%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%226%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22/%3E%3C/svg%3E"); background: #fff; opacity: 0; }
.gr-theme[aria-checked="true"] .gr-theme__track::before { opacity: 0; }
.gr-theme[aria-checked="true"] .gr-theme__track::after { opacity: 1; }
.gr-theme:active .gr-theme__knob { transform: translate(1px, 1px); }
.gr-theme[aria-checked="true"]:active .gr-theme__knob { transform: translateX(23px) translateY(1px); }
.gr-theme[aria-checked="true"] .gr-theme__knob { transform: translateX(22px); }
.gr-theme:focus-visible .gr-theme__track { outline: 1px dotted var(--black); outline-offset: 3px; }

/* Vignettes 1 et 2 : pictos un peu plus petits. */
.gr-thumb__mini .gr-ticonwrap > img.gr-ticon { height: 14cqw; max-width: 23cqw; }

/* Toggle : lune et soleil lisses (non pixellisés), tout le reste du style rétro conservé. */
.gr-theme__track::before, .gr-theme__track::after { top: 4px; width: 16px; height: 16px; image-rendering: auto; }
.gr-theme__track::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.5%2014.2A8.5%208.5%200%200%201%209.8%203.5a8.5%208.5%200%201%200%2010.7%2010.7z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.5%2014.2A8.5%208.5%200%200%201%209.8%203.5a8.5%208.5%200%201%200%2010.7%2010.7z%22/%3E%3C/svg%3E"); }
.gr-theme__track::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.2%22%20fill%3D%22%23000%22/%3E%3Cpath%20d%3D%22M12%202.5v2.6M12%2018.9v2.6M2.5%2012h2.6M18.9%2012h2.6M5.3%205.3l1.8%201.8M16.9%2016.9l1.8%201.8M5.3%2018.7l1.8-1.8M16.9%207.1l1.8-1.8%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.2%22%20fill%3D%22%23000%22/%3E%3Cpath%20d%3D%22M12%202.5v2.6M12%2018.9v2.6M2.5%2012h2.6M18.9%2012h2.6M5.3%205.3l1.8%201.8M16.9%2016.9l1.8%201.8M5.3%2018.7l1.8-1.8M16.9%207.1l1.8-1.8%22/%3E%3C/svg%3E"); }

/* Barres de défilement rétro : rail à damier, flèches dans des carrés cernés, curseur plein cerné. La couleur suit chaque zone (--sb). */
.gr-sitedeck .gr-deck__thumbs { --sb: var(--lilac); }
html[data-theme="dark"] .gr-sitedeck .gr-deck__thumbs { --sb: var(--yellow); }
.gr-pj__scroll { --sb: var(--pink); }
.gr-gridscroll { --sb: var(--yellow); }
.gr-sitedeck .gr-deck__thumbs, .gr-pj__scroll, .gr-gridscroll { scrollbar-color: auto !important; scrollbar-width: auto !important; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar, .gr-pj__scroll::-webkit-scrollbar, .gr-gridscroll::-webkit-scrollbar { width: 17px; height: 17px; background: transparent; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-track, .gr-pj__scroll::-webkit-scrollbar-track, .gr-gridscroll::-webkit-scrollbar-track { background: repeating-conic-gradient(color-mix(in srgb, var(--sb), #fff 62%) 0 25%, color-mix(in srgb, var(--sb), #fff 82%) 0 50%) 0 0 / 8px 8px; border-left: 2px solid #17141f; border-right: 2px solid #17141f; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-thumb, .gr-pj__scroll::-webkit-scrollbar-thumb, .gr-gridscroll::-webkit-scrollbar-thumb { background: var(--sb); border: 2px solid #17141f; border-radius: 0; box-shadow: inset 1px 1px 0 rgba(255,255,255,.65), inset -1px -1px 0 rgba(0,0,0,.28); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:single-button, .gr-pj__scroll::-webkit-scrollbar-button:single-button, .gr-gridscroll::-webkit-scrollbar-button:single-button { display: block; width: 17px; height: 17px; background: #fbf6ee center / 9px 9px no-repeat; border: 2px solid #17141f; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(0,0,0,.22); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:decrement { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M4%202L7%206H1Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:increment { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M1%202H7L4%206Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:decrement { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M2%204L6%201V7Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:increment { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M6%204L2%201V7Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-corner, .gr-pj__scroll::-webkit-scrollbar-corner, .gr-gridscroll::-webkit-scrollbar-corner { background: #fbf6ee; }

.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:end:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:end:increment, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:end:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:end:increment { display: block; width: 17px; height: 17px; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:start:decrement { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M4%202L7%206H1Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:end:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:end:increment { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M1%202H7L4%206Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:start:decrement { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M2%204L6%201V7Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:end:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:end:increment { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%208%208%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20d%3D%22M6%204L2%201V7Z%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E"); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:start:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:start:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:start:increment, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:end:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:end:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:end:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:start:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:start:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:start:increment, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:end:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:end:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:end:decrement { display: none; }

.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:end:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:end:increment, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:end:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:end:increment { background-color: #fbf6ee; background-position: center; background-size: 9px 9px; background-repeat: no-repeat; border: 2px solid #17141f; box-sizing: border-box; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(0,0,0,.22); }

/* Pastilles de la barre de titre : ronds en pixels (grille 11×11). */
.gr-deck__dots i { width: 11px !important; height: 11px !important; border-radius: 0 !important; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2011%2011%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%225%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%227%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%229%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%225%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%227%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%228%22%20width%3D%229%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%229%22%20width%3D%227%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%2210%22%20width%3D%225%22%20height%3D%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2011%2011%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%225%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%227%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%229%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%225%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%220%22%20y%3D%227%22%20width%3D%2211%22%20height%3D%221%22/%3E%3Crect%20x%3D%221%22%20y%3D%228%22%20width%3D%229%22%20height%3D%221%22/%3E%3Crect%20x%3D%222%22%20y%3D%229%22%20width%3D%227%22%20height%3D%221%22/%3E%3Crect%20x%3D%223%22%20y%3D%2210%22%20width%3D%225%22%20height%3D%221%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; image-rendering: pixelated; }
.gr-deck__dots { gap: 7px; }

/* ===== Harmonisation : interface rétro (angles droits, bordures franches, ombres dures) / contenu contemporain (arrondis modérés, aplats) ===== */
/* Fenêtre du site : bordure fine de 1 px, coins légèrement arrondis, aucune ombre. */
html:not([data-w98]) .gr-deck__window:not(.is-fs) { border-radius: 14px !important; box-shadow: 0 0 0 1px var(--black) !important; }
html[data-theme="dark"]:not([data-w98]) .gr-deck__window:not(.is-fs) { box-shadow: 0 0 0 1px rgba(242, 242, 242, .45) !important; }
/* Boutons secondaires de l'interface (diaporama, retournement des fiches, info-bulle de langue) : même bordure 2 px et même ombre 3 px que les autres boutons. */
html:not([data-w98]) :is(.gr-deck__nav button, .gr-fc__btn, .gr-lang__tip, .gr-btn, .gr-deck__share) { border-radius: 0 !important; border: 2px solid var(--black) !important; box-shadow: 3px 3px 0 var(--black) !important; }
html:not([data-w98]) :is(.gr-deck__nav button, .gr-fc__btn):is(:hover, :focus-visible) { transform: none !important; box-shadow: 3px 3px 0 var(--black) !important; }
html:not([data-w98]) :is(.gr-deck__nav button, .gr-fc__btn):active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--black) !important; }
html:not([data-w98]) :is(.gr-slide--cover, .gr-slide--violet:not(.gr-thumb), .gr-deck__window.is-fs) :is(.gr-deck__nav button, .gr-fc__btn):not(:active) { box-shadow: 3px 3px 0 var(--light) !important; }
/* Toggle : ombre à 3 px comme les boutons. */
.gr-theme__track { box-shadow: inset 1px 1px 0 #808080, 3px 3px 0 var(--black) !important; }
/* Contenu : plus d'ombre diffuse sous les vidéos ; arrondis harmonisés (cartes 2,2 cqw, visuels intérieurs 1,2 cqw). */
.gr-folio__video--stage video { box-shadow: none; }
@media (min-width: 801px) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__media { border-radius: 1.2cqw; }
  .gr-deck__track .gr-slide--folio { border-radius: 2.2cqw; }
}
/* Pictos de la couverture : aplats nets, sans ombre diffuse (comme ta capture). */
html:not([data-w98]) .gr-cover-picto { filter: none; }
/* Fiche projet : même arrondi que les autres cartes de contenu. */
@media (min-width: 801px) { .gr-deck__track .gr-pj { border-radius: 2.2cqw; } }

/* « + INFO » : bouton totalement immobile (ni agrandissement, ni déplacement, ni transition) au survol, au clic et au focus. */
html:not([data-w98]) .gr-folio__link,
html:not([data-w98]) .gr-folio__link:is(:hover, :focus, :focus-visible, :active) {
  transform: none !important; translate: none !important; scale: none !important; transition: none !important; animation: none !important;
}
html:not([data-w98]) .gr-folio__link:active { box-shadow: 1px 1px 0 var(--black) !important; }

/* Toggle jour/nuit v2 (ordinateur) : l'icône du mode actuel est sur le bouton, le mot « JOUR » / « NUIT » est écrit dans le rail. */
@media (min-width: 801px) {
  .gr-theme__track { width: 62px; height: 26px; }
  .gr-theme__knob { top: 1px !important; left: 1px !important; width: 28px; height: 20px; }
  .gr-theme[aria-checked="true"] .gr-theme__knob { transform: translateX(28px); }
  .gr-theme[aria-checked="true"]:active .gr-theme__knob { transform: translateX(28px) translateY(1px); }
  .gr-theme__track::before, .gr-theme[aria-checked="true"] .gr-theme__track::before { content: "JOUR"; top: 7px; right: 6px; left: auto; width: auto; height: auto; background: none; -webkit-mask: none; mask: none; color: var(--black); font: 600 9px/1 var(--mono); letter-spacing: .08em; opacity: 1; }
  .gr-theme[aria-checked="true"] .gr-theme__track::before { content: "NUIT"; left: 6px; right: auto; color: #fff; }
  .gr-theme__track::after, .gr-theme[aria-checked="true"] .gr-theme__track::after { display: none; }
  .gr-theme__knob::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: var(--black); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.2%22%20fill%3D%22%23000%22/%3E%3Cpath%20d%3D%22M12%202.5v2.6M12%2018.9v2.6M2.5%2012h2.6M18.9%2012h2.6M5.3%205.3l1.8%201.8M16.9%2016.9l1.8%201.8M5.3%2018.7l1.8-1.8M16.9%207.1l1.8-1.8%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224.2%22%20fill%3D%22%23000%22/%3E%3Cpath%20d%3D%22M12%202.5v2.6M12%2018.9v2.6M2.5%2012h2.6M18.9%2012h2.6M5.3%205.3l1.8%201.8M16.9%2016.9l1.8%201.8M5.3%2018.7l1.8-1.8M16.9%207.1l1.8-1.8%22/%3E%3C/svg%3E") center / contain no-repeat; }
  .gr-theme[aria-checked="true"] .gr-theme__knob::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.5%2014.2A8.5%208.5%200%200%201%209.8%203.5a8.5%208.5%200%201%200%2010.7%2010.7z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20.5%2014.2A8.5%208.5%200%200%201%209.8%203.5a8.5%208.5%200%201%200%2010.7%2010.7z%22/%3E%3C/svg%3E"); }
}

/* Toggle jour/nuit v3 (ordinateur) : deux cases côte à côte (soleil | lune) ; la case active est « enfoncée » et colorée. */
@media (min-width: 801px) {
  .gr-theme__track, .gr-theme[aria-checked="true"] .gr-theme__track { width: 60px; height: 26px; background: #e4e4e4; box-sizing: border-box; }
  .gr-theme__knob { top: 0 !important; left: 0 !important; width: 28px; height: 22px; box-sizing: border-box; z-index: 1; background: var(--lilac); border: 2px solid; border-color: #404040 #fff #fff #404040; box-shadow: inset 1px 1px 0 #17141f; }
  .gr-theme[aria-checked="true"] .gr-theme__knob { background: var(--yellow); transform: translateX(28px); }
  .gr-theme[aria-checked="true"]:active .gr-theme__knob, .gr-theme:active .gr-theme__knob { transform: none; }
  .gr-theme[aria-checked="true"]:active .gr-theme__knob { transform: translateX(28px); }
  .gr-theme__knob::after, .gr-theme[aria-checked="true"] .gr-theme__knob::after { content: none; }
  .gr-theme__track::before, .gr-theme__track::after, .gr-theme[aria-checked="true"] .gr-theme__track::before, .gr-theme[aria-checked="true"] .gr-theme__track::after { content: ""; display: block; position: absolute; z-index: 2; top: 3px; width: 16px; height: 16px; background: var(--black); color: transparent; font: 0/0 serif; opacity: 1; image-rendering: auto; }
  .gr-theme__track::before, .gr-theme[aria-checked="true"] .gr-theme__track::before { left: 6px; right: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.2%22/%3E%3Cg%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%222.6%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2221.4%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%222.6%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2221.4%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.2%22/%3E%3Cg%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%222.6%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2221.4%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%222.6%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2221.4%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
  .gr-theme__track::after, .gr-theme[aria-checked="true"] .gr-theme__track::after { right: 6px; left: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2014.6A9.4%209.4%200%200%201%209.4%203a9.4%209.4%200%201%200%2011.6%2011.6z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2014.6A9.4%209.4%200%200%201%209.4%203a9.4%209.4%200%201%200%2011.6%2011.6z%22/%3E%3C/svg%3E") center / contain no-repeat; }
}

/* « + INFO » : aucun changement visuel au survol (ni couleur, ni ombre, ni soulignement, ni contour). */
html:not([data-w98]) .gr-folio__link,
html:not([data-w98]) .gr-folio__link:is(:hover, :focus, :focus-visible) {
  background: var(--violet) !important; color: #fff !important; text-decoration: none !important; outline: 0 !important;
  border: 2px solid var(--black) !important; box-shadow: 3px 3px 0 var(--black) !important; filter: none !important; opacity: 1 !important;
}
.gr-folio__link *, .gr-folio__link:hover * { transition: none !important; animation: none !important; transform: none !important; }

/* Toggle jour/nuit v4 (ordinateur) : rail gris creusé, case active colorée et cernée, case inactive grise. */
@media (min-width: 801px) {
  .gr-theme__track, .gr-theme[aria-checked="true"] .gr-theme__track { width: 64px; height: 28px; background: #b9b9b9; border: 2px solid; border-color: #404040 #fff #fff #404040; box-shadow: none !important; }
  .gr-theme__knob { width: 30px; height: 24px; background: var(--lilac); border: 1px solid #17141f; box-shadow: none; }
  .gr-theme[aria-checked="true"] .gr-theme__knob, .gr-theme[aria-checked="true"]:active .gr-theme__knob { background: var(--yellow); transform: translateX(30px); }
  .gr-theme__track::before, .gr-theme__track::after, .gr-theme[aria-checked="true"] .gr-theme__track::before, .gr-theme[aria-checked="true"] .gr-theme__track::after { top: 3px; width: 18px; height: 18px; }
  .gr-theme__track::before, .gr-theme[aria-checked="true"] .gr-theme__track::before { left: 6px; }
  .gr-theme__track::after, .gr-theme[aria-checked="true"] .gr-theme__track::after { right: 6px; }
}

/* Marge de réserve pour l'ombre dure : sur tous les boutons SAUF « + INFO », dont la marge (retrait sous le texte) ne doit jamais changer, y compris au survol. */
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send),
html:not([data-w98]) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send):is(:hover, :focus-visible) { margin: 0 3px 3px 0; }

/* Curseur normal : flèche en pixel art (la main au survol des liens reste celle du système). */
html:not([data-w98]),
html:not([data-w98]) *:not(a, button, input, textarea, select, label, summary, [role="button"], [role="switch"], [role="tab"], [tabindex="0"], [data-goto-section], [data-fs], [data-deck]) { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2214%22%20height%3D%2221%22%20viewBox%3D%220%200%2012%2018%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%221%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%224%22%20width%3D%223%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%224%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%226%22%20width%3D%225%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%227%22%20width%3D%226%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%227%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%228%22%20width%3D%227%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%229%22%20width%3D%228%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%2210%22%20width%3D%229%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%2210%22%20y%3D%2210%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2211%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%2211%22%20width%3D%226%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%227%22%20y%3D%2211%22%20width%3D%225%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%223%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%224%22%20y%3D%2212%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%226%22%20y%3D%2212%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%221%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%222%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%224%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%225%22%20y%3D%2213%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%227%22%20y%3D%2213%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%224%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%225%22%20y%3D%2214%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%227%22%20y%3D%2214%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%220%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%225%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%226%22%20y%3D%2215%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%228%22%20y%3D%2215%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%225%22%20y%3D%2216%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%226%22%20y%3D%2216%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%23ffffff%22/%3E%3Crect%20x%3D%228%22%20y%3D%2216%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3Crect%20x%3D%226%22%20y%3D%2217%22%20width%3D%222%22%20height%3D%221%22%20fill%3D%22%2317141f%22/%3E%3C/svg%3E") 0 0, default; }

/* Barres de défilement, version fine : 14 px de large, bordures de 1 px, relief très léger, damier moins contrasté, petites flèches noires centrées. */
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar, .gr-pj__scroll::-webkit-scrollbar, .gr-gridscroll::-webkit-scrollbar { width: 14px; height: 14px; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-track, .gr-pj__scroll::-webkit-scrollbar-track, .gr-gridscroll::-webkit-scrollbar-track { background: repeating-conic-gradient(color-mix(in srgb, var(--sb), #fff 72%) 0 25%, color-mix(in srgb, var(--sb), #fff 86%) 0 50%) 0 0 / 6px 6px; border-left: 1px solid #17141f; border-right: 1px solid #17141f; border-top: 0; border-bottom: 0; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-thumb, .gr-pj__scroll::-webkit-scrollbar-thumb, .gr-gridscroll::-webkit-scrollbar-thumb { background: var(--sb); border: 1px solid #17141f; border-radius: 0; box-shadow: inset 1px 1px 0 rgba(255,255,255,.4), inset -1px -1px 0 rgba(0,0,0,.14); }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:vertical:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:vertical:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:vertical:end:increment, .gr-gridscroll::-webkit-scrollbar-button:vertical:end:increment, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:start:decrement, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-gridscroll::-webkit-scrollbar-button:horizontal:start:decrement, .gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-button:horizontal:end:increment, .gr-pj__scroll::-webkit-scrollbar-button:horizontal:end:increment, .gr-gridscroll::-webkit-scrollbar-button:horizontal:end:increment { width: 14px; height: 14px; border: 1px solid #17141f; box-shadow: inset 1px 1px 0 rgba(255,255,255,.9), inset -1px -1px 0 rgba(0,0,0,.12); background-size: 7px 7px; background-position: center; }
.gr-sitedeck .gr-deck__thumbs::-webkit-scrollbar-corner, .gr-pj__scroll::-webkit-scrollbar-corner, .gr-gridscroll::-webkit-scrollbar-corner { background: #fbf6ee; }

/* ===== Effet d'enfoncement des boutons à ombre déportée (rétro, mécanique) =====
   Repos : ombre 3 px. Survol : le bouton descend de 2 px (ombre 1 px). Clic : enfoncé à fond (ombre supprimée).
   Transition 80 ms à l'entrée seulement ; à la sortie, retour immédiat. Aucune couleur, dimension, bordure ni typo modifiée ; « translate » ne déplace pas la mise en page. */
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share) { --sc: var(--black); }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-slide--cover, .gr-slide--violet:not(.gr-thumb), .gr-deck__window.is-fs) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share) { --sc: var(--light); }
html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-lang__btn) { --sc: var(--light); }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share) { translate: 0 0 !important; box-shadow: 3px 3px 0 0 var(--sc) !important; transition: none !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):hover { translate: 2px 2px !important; box-shadow: 1px 1px 0 0 var(--sc) !important; transition: translate 80ms linear, box-shadow 80ms linear !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):hover:active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):active { translate: 3px 3px !important; box-shadow: 0 0 0 0 transparent !important; transition: translate 80ms linear, box-shadow 80ms linear !important; }

/* ===== Mobile / tablette : même direction artistique que le desktop (styles graphiques mutualisés, mises en page propres au mobile conservées) ===== */
/* Toggle jour/nuit : exactement le design desktop (64 × 28, bordures fines, pictos centrés) à toutes les largeurs. */
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme { display: inline-flex !important; align-items: center; flex: none; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__track { position: relative !important; display: block !important; box-sizing: border-box !important; width: 64px !important; height: 28px !important; border-radius: 0 !important; background: #b9b9b9 !important; border: 2px solid !important; border-color: #404040 #fff #fff #404040 !important; box-shadow: none !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__knob { position: absolute !important; box-sizing: border-box !important; top: 0 !important; left: 0 !important; width: 30px !important; height: 24px !important; border-radius: 0 !important; z-index: 1; background: var(--lilac) !important; border: 1px solid #17141f !important; box-shadow: none !important; transform: none; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme[aria-checked="true"] .gr-theme__knob { background: var(--yellow) !important; transform: translateX(30px) !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__ico { display: none !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__track::before, html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__track::after { content: "" !important; display: block !important; position: absolute; z-index: 2; top: 3px; width: 18px; height: 18px; background: var(--black); opacity: 1 !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__track::before { left: 6px; right: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.2%22/%3E%3Cg%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%222.6%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2221.4%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%222.6%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2221.4%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.2%22/%3E%3Cg%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%222.6%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2221.4%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%222.6%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2221.4%22%20cy%3D%2212%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%225.35%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%225.35%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3Ccircle%20cx%3D%2218.65%22%20cy%3D%2218.65%22%20r%3D%221.6%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-theme .gr-theme__track::after { right: 6px; left: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2014.6A9.4%209.4%200%200%201%209.4%203a9.4%209.4%200%201%200%2011.6%2011.6z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%2014.6A9.4%209.4%200%200%201%209.4%203a9.4%209.4%200%201%200%2011.6%2011.6z%22/%3E%3C/svg%3E") center / contain no-repeat; }
/* Boutons d'action : angles droits, bordure 2 px à toutes les largeurs (« + INFO » compris). */
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share) { border-radius: 0 !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-folio__link { border-radius: 0 !important; background: var(--violet) !important; color: #fff !important; border: 2px solid var(--black) !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Ombres proportionnées aux boutons plus petits : 2 px (1 px au survol, 0 au clic) ; sur tactile, l'appui enfonce le bouton. */
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share) { box-shadow: 2px 2px 0 0 var(--sc) !important; }
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):hover { translate: 1px 1px !important; box-shadow: 1px 1px 0 0 var(--sc) !important; }
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-pj__back, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share):hover:active { translate: 2px 2px !important; box-shadow: 0 0 0 0 transparent !important; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-folio__link { box-shadow: 2px 2px 0 var(--black) !important; }
  /* Zones tactiles des boutons FR / EN. */
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-lang__btn { min-height: 30px; min-width: 36px; padding: 6px 10px !important; display: inline-flex !important; align-items: center; justify-content: center; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__lang { gap: 8px; align-items: center; }
  /* En-tête : éléments alignés sur une même ligne centrale, espacement régulier. */
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__titlebar { align-items: center; gap: 12px; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__mode { align-items: center; gap: 8px; height: auto; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__social { margin-left: auto; align-items: center; }
  /* Baseline : marges latérales suffisantes, retour à la ligne équilibré. */
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-slide__slogan { box-sizing: border-box; width: auto; max-width: min(100%, 22em); margin-left: auto; margin-right: auto; padding: 0 22px; text-wrap: balance; }
  /* Pied de page : liens sans coupure de mot, lignes bien ordonnées. */
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__status { flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 9px 16px; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__legal { flex: 0 1 auto; gap: 16px; align-items: center; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__legal a { white-space: nowrap; font-size: 11px; letter-spacing: 0; }
}
@media (max-width: 430px) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-deck__legal { flex: 1 1 100%; justify-content: space-between; }
}
/* Mobile : les cartes du portfolio sont noires, donc l'ombre déportée de « + INFO » devient claire (comme sur les autres fonds noirs). */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-folio-stack .gr-folio__link { box-shadow: 2px 2px 0 var(--light) !important; }
}

/* Vignettes 1 et 2 : même cadre noir + carte colorée que les vignettes des autres slides (service #n). */
.gr-tcard--intro .gr-tc__mid { position: absolute; left: 2cqw; right: 2cqw; top: 26%; text-align: center; font: 500 6.2cqw/1 var(--mono); letter-spacing: .01em; white-space: nowrap; text-transform: uppercase; }
.gr-tcard--intro .gr-tc__foot { position: absolute; left: 5cqw; right: 5cqw; bottom: 3.4cqw; display: flex; align-items: center; justify-content: space-between; padding-top: 1.7cqw; border-top: .35cqw solid var(--black); font: 400 3cqw/1 var(--mono); font-style: normal; text-transform: uppercase; }
.gr-tcard--intro .gr-tc__arr { width: 3.6cqw; height: 3.6cqw; flex: none; }
.gr-tcard--intro .gr-tc__foot { top: auto !important; }
.gr-tcard--intro .gr-tc__foot span { display: inline; position: static; font: inherit; letter-spacing: 0; line-height: 1; text-transform: uppercase; }

/* Vignettes 1 et 2 (v2) : fond noir, « (INTRO) » en haut à gauche, vrai picto au centre, nom en dessous. */
.gr-thumb__mini .gr-tc__n--intro { position: absolute; left: 6.5cqw; top: 6cqw; color: var(--light); font: 400 3.4cqw/1 var(--mono); font-style: normal; }
.gr-thumb__mini .gr-ticonwrap { gap: 4.5cqw; margin-top: 4cqw; }
.gr-thumb__mini .gr-ticonwrap > img.gr-ticon { height: 21cqw; max-width: 30cqw; }
.gr-ticonwrap .gr-tname { font-size: 7.4cqw; font-weight: 500; }
.gr-thumb__mini--card:has(.gr-tc__n--intro) { position: relative; }

/* Blocs services (surtout en diaporama plein écran) : écart réduit entre les trois rubriques pour que le texte ne descende jamais sur le titre. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__rows { row-gap: 1.7cqw; }
}

/* Vignettes 1 et 2 : seulement « (INTRO) » et le picto (légèrement réduit), centré. */
.gr-thumb__mini .gr-ticonwrap { margin-top: 2cqw; }
.gr-thumb__mini .gr-ticonwrap > img.gr-ticon { height: 18cqw; max-width: 26cqw; }
/* En-tête : le logo remplace « gaelleravenet.pptx » (noir en mode jour, blanc en mode nuit). */
.gr-deck__file { display: flex; align-items: center; justify-content: center; opacity: 1; }
.gr-deck__logo { display: block; height: 15px; width: auto; max-width: 100%; }
html[data-theme="dark"] .gr-deck__logo { filter: invert(1); }

/* ===== Effet d'enfoncement : aussi sur « + INFO » (et l'info-bulle de langue). Même mécanique que les autres boutons ; « translate » ne déplace rien autour. ===== */
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip) { --sc: var(--black); }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-folio-stack :is(.gr-folio__link, .gr-lang__tip) { --sc: var(--light); }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip) { translate: 0 0 !important; box-shadow: 3px 3px 0 0 var(--sc) !important; transition: none !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):hover { translate: 2px 2px !important; box-shadow: 1px 1px 0 0 var(--sc) !important; transition: translate 80ms linear, box-shadow 80ms linear !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):hover:active { translate: 3px 3px !important; box-shadow: 0 0 0 0 transparent !important; transition: translate 80ms linear, box-shadow 80ms linear !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip) { box-shadow: 2px 2px 0 0 var(--sc) !important; }
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):hover { translate: 1px 1px !important; box-shadow: 1px 1px 0 0 var(--sc) !important; }
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) :is(.gr-folio__link, .gr-lang__tip):hover:active { translate: 2px 2px !important; box-shadow: 0 0 0 0 transparent !important; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs):not(.q1):not(.q2):not(.q3):not(.q4) .gr-folio-stack .gr-folio__link { box-shadow: 2px 2px 0 0 var(--sc) !important; }
}

/* ===== En-tête (ordinateur) : ligne 1 = pastilles | logo centré | toggle ; filet ; ligne 2 = onglets | CONTACT à droite ===== */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__titlebar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 20px !important; box-sizing: border-box; border-bottom: 1px solid color-mix(in srgb, var(--black) 28%, transparent); }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__file { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; pointer-events: none; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__logo { height: 17px; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__modelabel { display: none; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__mode { margin-left: auto; height: auto; }
  /* CONTACT : sorti de la ligne du haut, aligné à droite sur la ligne des onglets. */
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social { position: absolute !important; top: calc(100% + 9px) !important; right: 20px !important; z-index: 3; display: flex; align-items: center; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__tabs { min-height: 55px; align-items: center; padding: 0 190px 0 20px !important; box-sizing: border-box; }
}
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social { top: calc(100% + 12px) !important; height: auto !important; min-height: 0 !important; flex-direction: row !important; margin: 0 !important; padding: 0 !important; gap: 0 !important; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn { position: static; margin-top: 0 !important; margin-bottom: 3px; }
}

/* Couverture (desktop) : slogan rapproché du titre, « Faites défiler » éloigné des boutons. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-slide__slogan { top: 36.5cqw; }
  .gr-sitedeck .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-deck__tip { top: 48.6cqw; }
}

/* Mode nuit : l'ombre des boutons « + INFO » est claire, comme celle des autres boutons. */
html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck .gr-folio__link { --sc: var(--light); }

/* Fiche projet en mode jour (fond clair) : « Retour » garde son ombre noire, y compris en diaporama. En mode nuit la fiche est noire : il suit la règle des boutons sur fond noir. */
html:not([data-theme="dark"]):not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck .gr-deck__window .gr-pj .gr-pj__back { --sc: var(--black); }

/* Mobile : le logo garde ses proportions (il était écrasé par le flex) ; le libellé « Mode nuit » laisse la place. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__file { flex: 0 1 auto; min-width: 0; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__logo { height: 14px; width: auto; max-width: 100%; flex: none; object-fit: contain; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__modelabel { display: none; }
}

/* Mobile : les cartes projet sont claires (même en mode nuit) → « + INFO » garde une ombre noire visible. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack .gr-slide--light .gr-folio__link { --sc: var(--black); box-shadow: 2px 2px 0 0 var(--black) !important; }
}

/* Boutons sur fond noir : bordure noire de 2 px + ombre blanche déportée (comme la maquette). */
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back) { border-width: 2px !important; border-color: var(--black) !important; }

/* Mode nuit : boutons CONTACT et DIAPORAMA en vert (palette). */
html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fsbtn, .gr-deck__fs),
html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fsbtn, .gr-deck__fs):hover { background: var(--green) !important; color: var(--black) !important; }
html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck .gr-folio-stack .gr-slide--light .gr-folio__link { border-width: 2px !important; border-color: var(--black) !important; }

html[data-theme="dark"]:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5) .gr-sitedeck .gr-pj .gr-pj__back { --sc: var(--light); }


/* Boutons sur fond sombre : ombre blanche (bordure noire conservée) ; seuls les « + INFO » des cartes claires du mobile gardent une ombre noire. */
/* Mobile : « + INFO » sur cartes claires, ombre noire d'origine. */
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck .gr-folio-stack .gr-slide--light .gr-folio__link { --sc: var(--black); }

/* Boutons sur fond noir : bordure noire (invisible sur le noir) + liseré d'ombre blanche détaché du bouton par un fin espace noir (maquette). Au survol, le bouton recouvre complètement l'ombre. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back),
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint) { border-color: var(--black) !important; box-shadow: 2px 2px 0 0 var(--black), 4px 4px 0 0 var(--sc) !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):hover,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):hover { translate: 4px 4px !important; box-shadow: 0 0 0 0 transparent !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):active,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):hover:active,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):hover:active { translate: 4px 4px !important; box-shadow: 0 0 0 0 transparent !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back),
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint) { border-color: var(--black) !important; box-shadow: 1px 1px 0 0 var(--black), 3px 3px 0 0 var(--sc) !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):hover,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):hover { translate: 3px 3px !important; box-shadow: 0 0 0 0 transparent !important; }
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):active,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):active, html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck :is(.gr-deck__contactbtn, .gr-deck__fs, .gr-deck__fsbtn, .gr-deck__hint, .gr-slide__send, .gr-lang__btn, .gr-deck__nav button, .gr-fc__btn, .gr-btn, .gr-deck__share, .gr-folio__link, .gr-lang__tip, .gr-pj__back):hover:active,
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9) .gr-sitedeck :is(.gr-deck__fsbtn, .gr-deck__hint):hover:active { translate: 3px 3px !important; box-shadow: 0 0 0 0 transparent !important; }
}
/* Cartes claires du mobile : « + INFO » reste noir sur fond clair. */
html:not([data-w98]):not(.q1):not(.q2):not(.q3):not(.q4):not(.q5):not(.q6):not(.q7):not(.q8):not(.q9)[data-theme="dark"] .gr-sitedeck .gr-folio-stack .gr-slide--light .gr-folio__link { border-color: var(--black) !important; --sc: var(--black); box-shadow: 2px 2px 0 0 var(--black) !important; }

/* ===== Accueil façon emblematica.agency : écran 1 = les 9 pictos réunis au centre + trois légendes ; au défilement ils se
   dispersent sur les côtés (et débordent) pendant que le titre arrive ; --cx/--cy = écart (en cqw) entre le groupe et les côtés. ===== */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-cover-art .gr-cover-picto--1 { left: 4cqw; right: auto; top: -4cqw; width: 18cqw; rotate: 0deg; --clx: 21.55; --cly: 3.8; --pk: -2.0; --fx: -60cqw; --fy: 31cqw; --fr: -110deg; --fd: 0.07s; }
  .gr-cover-art .gr-cover-picto--2 { left: -1.5cqw; right: auto; top: 14.2cqw; width: 21.5cqw; rotate: 0deg; --clx: 0.95; --cly: 16.1; --pk: -1.4; --fx: 60cqw; --fy: 22cqw; --fr: 120deg; --fd: 0.14s; }
  .gr-cover-art .gr-cover-picto--3 { left:  0.5cqw; right: auto; top: 25.7cqw; width: 19.8cqw; rotate: 0deg; --clx: 20.85; --cly: 26.4; --pk: -2.4; --fx: -60cqw; --fy: 13cqw; --fr: -130deg; --fd: 0.21s; }
  .gr-cover-art .gr-cover-picto--4 { left: -1.5cqw; right: auto; top: 37cqw; width: 16.4cqw; rotate: 0deg; --clx: 38.05; --cly: 13.5; --pk: -1.8; --fx: 60cqw; --fy: 4cqw; --fr: 140deg; --fd: 0.28s; }
  .gr-cover-art .gr-cover-picto--5 { left: auto; right: 0.3cqw; top: 10.6cqw; width: 19.8cqw; rotate: 0deg; --clx: 59.55; --cly: 9.3; --pk: -2.6; --fx: -60cqw; --fy: -5cqw; --fr: -150deg; --fd: 0.35s; }
  .gr-cover-art .gr-cover-picto--6 { left: auto; right: -3.8cqw; top: -8cqw; width: 16.3cqw; rotate: 0deg; --clx: 82.85; --cly: 5.4; --pk: -1.6; --fx: 60cqw; --fy: -14cqw; --fr: 160deg; --fd: 0.42s; }
  .gr-cover-art .gr-cover-picto--7 { left: auto; right: 1cqw; top: 24cqw; width: 9.3cqw; rotate: 0deg; --clx: 48.45; --cly: 4.8; --pk: -2.2; --fx: -60cqw; --fy: -23cqw; --fr: -170deg; --fd: 0.49s; }
  .gr-cover-art .gr-cover-picto--8 { left: auto; right: 2.0cqw; top: 23.2cqw; width: 19.8cqw; rotate: 0deg; --clx: 45.85; --cly: 23; --pk: -1.5; --fx: 60cqw; --fy: -32cqw; --fr: 180deg; --fd: 0.56s; }
  .gr-cover-art .gr-cover-picto--9 { left: auto; right: -7.8cqw; top: 37cqw; width: 21.8cqw; rotate: 0deg; --clx: 69.85; --cly: 20.65; --pk: -2.0; --fx: -60cqw; --fy: -41cqw; --fr: -190deg; --fd: 0.63s; }
  .gr-cover-art .gr-hero__cap { position: absolute; bottom: 3.4cqw; margin: 0; font: 400 1.15cqw/1.35 var(--mono, "IBM Plex Mono", monospace); letter-spacing: .02em; color: var(--light); text-transform: uppercase; opacity: var(--capo, 1); pointer-events: none; }
  .gr-cover-art .gr-hero__cap--l { left: 2.7cqw; }
  .gr-cover-art .gr-hero__cap--c { left: 50%; transform: translateX(-50%); text-align: center; opacity: calc(var(--capc, 1) * var(--capo, 1)); }
  .gr-cover-art .gr-hero__cap--r { right: 2.7cqw; text-align: right; }
  .gr-slide--hero:not(.gr-thumb) { background: var(--black); }
  /* Couverture : le slogan reste sous le titre, comme à l'origine ; « Faites défiler » reste sous les boutons. */
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--hero:not(.gr-thumb) { display: none !important; }
  .gr-cover-art .gr-hero__cap { display: none; }
}

/* Pas d'animation d'arrivée : les pictos sont déjà en place au chargement. */
.gr-cover-art .gr-cover-picto { animation: none !important; opacity: 1 !important; }

/* Couverture (desktop) : même espace entre titre → slogan et slogan → boutons ; « Faites défiler » suit les boutons. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__actions { top: 40.9cqw; }
  .gr-sitedeck .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-deck__tip { top: 46.1cqw; }
}

/* Couverture (desktop) : espaces titre → slogan → boutons doublés. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-slide__slogan { top: 38.4cqw; }
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__actions { top: 44.7cqw; }
  .gr-sitedeck .gr-slide.gr-slide--cover:not(.gr-thumb) .gr-deck__tip { top: 49.9cqw; }
}

/* « Faites défiler » : seulement sur l'écran 1 (légende du bas) ; il disparaît complètement ensuite. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-sitedeck .gr-deck__window .gr-slide--cover:not(.gr-thumb) .gr-deck__tip { display: none !important; }
}

/* ===== Page d'arrivée (landing) : fond noir grainé, logo, langue, fichier PowerPoint à ouvrir ===== */
.gr-landing { display: none; }
html.js.has-landing .gr-landing { display: flex; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; background: var(--black) var(--grain) center / cover; color: var(--light); overflow: hidden; }
html.js.has-landing body { overflow: hidden; }
.gr-landing__inner { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 4vw; }
.gr-landing__lang { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(40px, 8.5vh, 96px); }
.gr-landing__lang .gr-lang__globe { width: 22px; height: 22px; color: var(--light); }
.gr-landing__sep { font: 400 16px/1 var(--mono); opacity: .6; }
.gr-landing__lb { font: 500 15px/1 var(--mono); letter-spacing: .08em; min-width: 46px; min-height: 36px; padding: 8px 12px; border: 2px solid var(--black); border-radius: 0; cursor: pointer; background: var(--lilac); color: var(--black); --sc: var(--light); box-shadow: 2px 2px 0 0 var(--black), 4px 4px 0 0 var(--sc); transition: translate 80ms steps(2), box-shadow 80ms steps(2); }
.gr-landing__lb.is-on { background: var(--violet); color: var(--light); }
.gr-landing__lb:hover, .gr-landing__lb:active { translate: 4px 4px; box-shadow: 0 0 0 0 transparent; }
.gr-landing__logo { margin: 0; font: 400 5.6vw/1 var(--mono); letter-spacing: .16em; margin-right: -.16em; text-transform: uppercase; white-space: nowrap; text-align: center; color: var(--light); }
.gr-landing__file { margin-top: clamp(36px, 8vh, 88px); display: flex; flex-direction: column; align-items: center; gap: 0; background: none; border: 0; padding: 0; color: var(--light); cursor: pointer; font: inherit; }
.gr-landing__icon { display: flex; align-items: center; justify-content: center; width: 158px; height: 98px; border: 2px solid transparent; }
.gr-landing__icon img { width: 74px; height: auto; display: block; }
.gr-landing__label { display: block; max-width: 156px; padding: 2px 3px; font: 400 16px/1.5 var(--mono); letter-spacing: .4em; margin-right: -.4em; text-transform: uppercase; text-align: center; color: var(--light); }
.gr-landing__file:hover .gr-landing__icon, .gr-landing__file:focus-visible .gr-landing__icon { border-color: var(--light); }
.gr-landing__file:hover .gr-landing__label, .gr-landing__file:focus-visible .gr-landing__label { background: var(--violet); color: var(--light); }
.gr-landing__file:focus { outline: none; }
.gr-landing__zoom { position: fixed; z-index: 10001; border: 2px solid var(--light); background: transparent; pointer-events: none; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-landing__logo { font-size: 7.2vw; letter-spacing: .12em; margin-right: -.12em; }
  .gr-landing__lang { margin-bottom: 7vh; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .gr-landing__logo { font-size: 6vw; }
  .gr-landing__lang { margin-bottom: 4vh; }
  .gr-landing__file { margin-top: 4vh; }
  .gr-landing__icon { height: 70px; } .gr-landing__icon img { width: 52px; }
}

/* En-tête de la fenêtre : le logo « STUDIO COLETTE » est maintenant du texte, très espacé. */
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { height: auto !important; width: auto !important; filter: none !important; font: 500 12px/1 var(--mono); letter-spacing: .32em; margin-right: -.32em; color: inherit; text-transform: uppercase; white-space: nowrap; }
.gr-header__brand { letter-spacing: .3em; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 9px; letter-spacing: .16em; margin-right: -.16em; }
}
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { margin-right: 0 !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__file { overflow: visible; text-overflow: clip; }

/* ===== Espacement des lettres IBM Plex Mono = celui du logo (titres, boutons, légendes ; les paragraphes gardent leur interlettrage). ===== */
:root { --ls-mono: .16em; }
.gr-deck__nav button,
.gr-deck__fs,
.gr-deck__tabs button,
.gr-deck__sec,
.gr-slide__cols h4,
.gr-slide__send,
.gr-cols h3,
.gr-card__btn,
.gr-btn,
.gr-legal h2,
.gr-tsticker b,
.gr-tname,
.gr-slide__more,
.gr-pj__back,
.gr-pj__hint,
.gr-pj__body h3,
.gr-slide__scrollhint,
.gr-m__tag,
.gr-m__label,
.gr-t__row,
.gr-pj__body h2,
.gr-fc__n,
.gr-fc__btn,
.gr-sc__label,
.gr-sc__n,
.gr-tc__n,
.gr-thumb__mini--preview .gr-fc__n,
.gr-deck__fsbtn,
.gr-deck__actions .gr-deck__hint,
.gr-deck__tip,
.gr-deck__contactbtn,
.gr-lang__btn,
.gr-lang__tip,
.gr-folio-nav__t,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-svc-stack > .gr-slide--card:not(.gr-slide--card ~ .gr-slide--card)::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-folio-stack > .gr-slide--folio::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--violet::before,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__hint,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide__send,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-deck__hint,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-pj__back,
.gr-sitedeck .gr-deck__window .gr-deck__canvas .gr-slide--manifesto .gr-slide__pin::before,
.gr-svc-kicker,
.gr-pf-intro::before,
.gr-ticonwrap .gr-tname,
.gr-theme__track::before,
.gr-theme[aria-checked="true"] .gr-theme__track::before,
.gr-tcard--intro .gr-tc__mid,
.gr-tcard--intro .gr-tc__foot,
.gr-thumb__mini .gr-tc__n--intro,
.gr-cover-art .gr-hero__cap,
.gr-landing__sep,
.gr-landing__lb { letter-spacing: var(--ls-mono) !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { letter-spacing: .32em !important; }
.gr-landing__label { letter-spacing: .4em !important; }
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover::before { letter-spacing: .3em !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { letter-spacing: .16em !important; } }
.gr-header__brand { letter-spacing: .3em !important; }

/* Pictos au défilement : colonnes bien espacées (comme sur la maquette), sans se chevaucher ; la slide 1 ne change pas (ses positions viennent de --clx/--cly). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-cover-art .gr-cover-picto--1 { left: -3.4cqw; top: 19cqw; }
  .gr-cover-art .gr-cover-picto--2 { left: -2.8cqw; top: 38cqw; }
  .gr-cover-art .gr-cover-picto--3 { left: 10.3cqw; top: 59cqw; }
  .gr-cover-art .gr-cover-picto--4 { left: -4.1cqw; top: 81cqw; }
  .gr-cover-art .gr-cover-picto--6 { right: -2.4cqw; top: 21cqw; }
  .gr-cover-art .gr-cover-picto--5 { right: -0.9cqw; top: 38.5cqw; }
  .gr-cover-art .gr-cover-picto--7 { right: -0.8cqw; top: 59cqw; }
  .gr-cover-art .gr-cover-picto--8 { right: 5.6cqw; top: 62cqw; }
  .gr-cover-art .gr-cover-picto--9 { right: -6.4cqw; top: 81cqw; }
}

/* Étiquettes des services (« Description », « What's included »…) : elles passent à la ligne quand elles sont trop larges, au lieu de déborder sur le texte. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__row { column-gap: 1.6cqw; }
  .gr-slide--card:not(.gr-thumb) .gr-sc__label { white-space: normal !important; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; }
}

/* Pages projets : « Client », « Brief », « Results »… ont la même mise en forme que les étiquettes des services (bouton gris à relief). */
.gr-pj__body :is(.gr-cols, .wp-block-columns) h3,
.gr-pj__body > h3 {
  display: inline-block; max-width: 100%; box-sizing: border-box; margin: 0 0 1cqw; padding: .5cqw 1cqw;
  background: var(--light); color: var(--black); text-transform: none; font-weight: 400; line-height: 1.3; overflow-wrap: break-word;
  border: .15cqw solid; border-color: #fff #404040 #404040 #fff; box-shadow: inset -.1cqw -.1cqw 0 #9a9a9a;
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-pj__body :is(.gr-cols, .wp-block-columns) h3, .gr-pj__body > h3 { font-size: 12px; padding: 5px 10px; margin-bottom: 8px; border-width: 2px; box-shadow: inset -1px -1px 0 #9a9a9a; }
}

/* Étiquettes grises : toutes de la même largeur (services uniquement : toute la colonne ; sur les pages projets elles gardent la largeur de leur texte). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--card:not(.gr-thumb) .gr-sc__label { justify-self: stretch !important; width: auto; }
}

/* Même espacement (celui du logo) pour les derniers petits textes en IBM Plex Mono : slogan, libellés, compteurs, liens légaux. */
.gr-sitedeck .gr-slide__slogan, .gr-sitedeck .gr-slide__slogan *, .gr-deck__modelabel, .gr-slide__foot span, .gr-deck__status > span, .gr-deck__legal a, .gr-slide__form label, .gr-slide__check, .gr-track__item, .gr-pj__body .sub, .gr-m-text .sub { letter-spacing: var(--ls-mono) !important; }

/* Header mobile : bouton CONTACT plus petit pour laisser de la place au logo STUDIO COLETTE. */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__social .gr-deck__contactbtn { padding: 5px 8px !important; font-size: 10px !important; letter-spacing: .06em !important; border-width: 2px !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__titlebar { gap: 8px; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__file { flex: 1 1 auto; min-width: 0; justify-content: center; }
}
@media (max-width: 380px) {
  html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 8px; letter-spacing: .1em !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__titlebar { gap: 5px; }
}
@media (max-width: 360px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-deck__dots { display: none; }
}

/* ---------- Un picto par service : il flotte sur la slide du service et sur chaque slide portfolio ---------- */
@keyframes grPictoFloat { 0%, 100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -1.1cqw; rotate: 1.5deg; } }
.gr-sc__picto { position: absolute; right: -3.4cqw; bottom: -2.6cqw; width: 12cqw; height: auto; z-index: 3; pointer-events: none; animation: grPictoFloat 6s ease-in-out infinite; filter: drop-shadow(.35cqw .35cqw 0 rgba(14, 13, 13, .55)); }
.gr-folio__picto { display: block; margin: auto 0 2.2cqw 2cqw; width: 6.2cqw; height: auto; pointer-events: none; animation: grPictoFloat 6s ease-in-out infinite; }
.gr-slide--folio .gr-folio__link { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .gr-sc__picto, .gr-folio__picto { animation: none; } }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--card .gr-sc { position: relative !important; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-sc__picto { width: 64px; right: 10px; bottom: auto; top: calc(56vw - 22px); }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__picto { width: 40px; margin: 14px 0 6px 18px; }
}

/* Picto portfolio : posé juste au-dessus du trait de la légende (en bas de la colonne), comme sur la maquette. */
.gr-slide--folio .gr-folio__cap { position: relative; }
.gr-slide--folio .gr-folio__cap .gr-folio__picto { position: absolute; left: 2cqw; bottom: calc(100% + 1.8cqw); margin: 0; width: 6.2cqw; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap .gr-folio__picto { position: static; display: block; width: 40px; margin: 0 0 12px; }
}

/* Landing : picto PowerPoint et « cliquez ici » plus discrets */
.gr-landing__icon { width: 108px; height: 68px; }
.gr-landing__icon img { width: 48px; }
.gr-landing__label { max-width: 108px; font-size: 11px; letter-spacing: .4em !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-landing__icon { width: 96px; height: 56px; } .gr-landing__icon img { width: 38px; }
  .gr-landing__label { font-size: 10px; max-width: 96px; }
}
.gr-landing__label { max-width: none; white-space: nowrap; }

/* Landing : sélecteur de langue et document PowerPoint de même poids visuel ; même espace au-dessus et en dessous du logo */
.gr-landing__inner { --lgap: clamp(40px, 9vh, 96px); }
.gr-landing__lang { margin-bottom: var(--lgap) !important; }
.gr-landing__file { margin-top: calc(var(--lgap) - 8px) !important; }
.gr-landing__icon { width: auto !important; height: auto !important; padding: 8px 14px; }
.gr-landing__icon img { width: 52px !important; }
.gr-landing__label { font-size: 12px !important; max-width: none; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-landing__inner { --lgap: clamp(36px, 7vh, 64px); }
  .gr-landing__icon img { width: 46px !important; }
  .gr-landing__label { font-size: 11px !important; }
}

/* Services en français : les étiquettes grises prennent la taille de leur texte (en anglais, elles gardent la même largeur). */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  html:not([data-lang="en"]) .gr-slide--card:not(.gr-thumb) .gr-sc__label { justify-self: start !important; width: fit-content; }
}

/* Pictos des services : flottement plus ample (dérive en x/y + balancement, deux rythmes décalés), façon pictos de l'accueil. */
@keyframes grPictoDrift { 0% { translate: 0 0; } 25% { translate: -1.4cqw -2.4cqw; } 50% { translate: .6cqw -4cqw; } 75% { translate: 1.5cqw -1.6cqw; } 100% { translate: 0 0; } }
@keyframes grPictoSway { 0%, 100% { rotate: -6deg; } 50% { rotate: 6deg; } }
.gr-sc__picto { animation: grPictoDrift 7.5s ease-in-out infinite, grPictoSway 5.3s ease-in-out infinite !important; }
@media (prefers-reduced-motion: reduce) { .gr-sc__picto { animation: none !important; } }

/* ---------- Audit : indication de navigation, entrée des visuels portfolio, mobile (picto, zones tactiles, petits textes) ---------- */
.gr-navhint { display: none; }
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-navhint { display: block; position: absolute; left: 50%; bottom: 1.6cqw; translate: -50% 0; margin: 0; padding: .55cqw 1.2cqw; z-index: 20; pointer-events: none; opacity: 0; transition: opacity .6s;
    font: 400 max(1.15cqw, 11px)/1.2 var(--mono); letter-spacing: var(--ls-mono); background: var(--yellow); color: var(--black); border: .15cqw solid var(--black); box-shadow: .3cqw .3cqw 0 var(--black); }
  .gr-navhint.is-on { opacity: 1; }
  /* (l'entrée en fondu des visuels portfolio a été retirée : elle faisait un flash pendant le défilement) */
}
@media (prefers-reduced-motion: reduce) { .gr-navhint { transition: none; } }

@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  /* Picto des services : au coin bas droit de la carte, jamais sur le texte */
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-sc__picto { top: auto !important; bottom: -12px !important; right: 6px !important; width: 56px; }
  /* Zones tactiles ≥ 32 px sans changer la mise en page (padding compensé par une marge négative) */
  .gr-deck__tabs button, .gr-deck__legal a, .gr-slide__contact-info a, .gr-slide__links-inline a { padding-block: 8px; margin-block: -8px; display: inline-block; }
  .gr-lang__btn { min-height: 36px; min-width: 40px; }
  .gr-theme { min-height: 32px; }
  /* Petits textes un peu plus grands */
  .gr-deck__hint, .gr-deck__tip, .gr-deck__arrow, .gr-pj__back, .gr-pj__hint, .gr-slide__check, .gr-slide__form label, .gr-slide__send, .gr-lang__btn { font-size: 12px; }
}

/* Picto portfolio : plus petit et centré dans la colonne */
.gr-slide--folio .gr-folio__cap .gr-folio__picto { left: 0; right: 0; margin: 0 auto; width: 4cqw; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap .gr-folio__picto { width: 32px; margin: 0 auto 12px; }
}
.gr-slide--folio .gr-folio__cap .gr-folio__picto { bottom: calc(100% + 4.6cqw); }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__cap .gr-folio__picto { margin: 0 auto 26px; }
}

/* Mobile : pas de picto dans les blocs services */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-sc__picto { display: none !important; }
}

/* Page projet : de l'air entre « Retour aux projets » et « Faites défiler » ; l'indication disparaît quand la place manque. */
.gr-pj__bar { gap: 2.4cqw; padding-top: .6cqw; }
.gr-pj__hint { white-space: nowrap; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-pj__bar { gap: 14px; }
  .gr-pj__hint { display: none; }
}

/* Picto portfolio : centré dans l'espace libre de la colonne (entre « + INFO » et le trait du titre), en fenêtre comme en plein écran */
.gr-slide--folio .gr-folio__pic { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.gr-slide--folio .gr-folio__pic .gr-folio__picto { position: static; margin: 0; width: 4cqw; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__pic { display: block; padding: 10px 18px 0; }
  .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--folio .gr-folio__pic .gr-folio__picto { width: 32px; margin: 0; }
}

/* ---------- TEST : Bringbold Nineties à la place d'Helvetica ----------
   Les trois noms « Helvetica LT … » pointent désormais vers Bringbold Nineties (la dernière déclaration l'emporte).
   Pour revenir à Helvetica : supprimer tout ce bloc, jusqu'à la fin de « TEST ». */
@font-face { font-family: "Bringbold Nineties"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-regular.woff2") format("woff2"); }
@font-face { font-family: "Bringbold Nineties"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/bringbold-nineties-oblique.woff2") format("woff2"); }
@font-face { font-family: "Helvetica LT Roman"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-regular.woff2") format("woff2"); }
@font-face { font-family: "Helvetica LT Light"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-regular.woff2") format("woff2"); }
@font-face { font-family: "Helvetica LT Regular"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-regular.woff2") format("woff2"); }
:root { --display: "Bringbold Nineties", "Helvetica LT Roman", Georgia, serif; }
/* ---------- fin TEST ---------- */

/* Texte « Ma mission est simple… » (slide 2 et mobile) en IBM Plex Mono */
.gr-mf, .gr-mf * { font-family: var(--mono) !important; }
/* IBM Plex Mono est plus large qu'Helvetica : on réduit la taille pour que le texte tienne dans la slide. */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--manifesto:not(.gr-thumb) .gr-mf { font-size: 2.7cqw !important; line-height: 1.38 !important; letter-spacing: 0 !important; }
}
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html body .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-mf { font-size: 4.7vw !important; line-height: 1.35 !important; }
}

/* ---------- Bringbold Nineties : les G et les O (et leurs accents) passent en oblique ----------
   Chaque nom de police redéclare le fichier Oblique pour ces seuls caractères (unicode-range) : pas de balisage à ajouter. Fait partie du TEST. */
@font-face { font-family: "Bringbold Nineties"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-oblique.woff2") format("woff2"); unicode-range: U+0047, U+004F, U+0067, U+006F, U+00D2-00D6, U+00F2-00F6; }
@font-face { font-family: "Helvetica LT Roman"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-oblique.woff2") format("woff2"); unicode-range: U+0047, U+004F, U+0067, U+006F, U+00D2-00D6, U+00F2-00F6; }
@font-face { font-family: "Helvetica LT Light"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-oblique.woff2") format("woff2"); unicode-range: U+0047, U+004F, U+0067, U+006F, U+00D2-00D6, U+00F2-00F6; }
@font-face { font-family: "Helvetica LT Regular"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/bringbold-nineties-oblique.woff2") format("woff2"); unicode-range: U+0047, U+004F, U+0067, U+006F, U+00D2-00D6, U+00F2-00F6; }

/* ---------- Logo « Studio Colette » en Bringbold Nineties (minuscules, majuscules à Studio et à Colette) ---------- */
.gr-landing__logo, .gr-header__brand, html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo, .gr-slide__foot .gr-slide__brand {
  font-family: "Bringbold Nineties", Georgia, serif !important; text-transform: none !important; font-weight: 400 !important;
}
.gr-landing__logo { font-size: 7vw; letter-spacing: .05em !important; margin-right: -.05em; }
.gr-header__brand { font-size: 22px; letter-spacing: .04em !important; }
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 17px; letter-spacing: .05em !important; margin-right: 0 !important; }
.gr-slide__foot .gr-slide__brand { font-size: max(1.9cqw, 9px); letter-spacing: .04em !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  .gr-landing__logo { font-size: 10.5vw; }
  html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 13px; letter-spacing: .04em !important; }
}
@media (max-width: 380px) { html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 12px; } }
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover::before { letter-spacing: .04em !important; font-size: 22px !important; text-transform: none !important; }

/* Logo de l'en-tête un peu plus grand */
html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 21px; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 16px; } }
@media (max-width: 380px) { html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo { font-size: 14px; } }

/* ---------- Landing : le logo se remplit de gauche à droite (gris → blanc), puis le choix de langue et le document apparaissent ---------- */
@keyframes grLogoFill { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes grLandIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
html.js.has-landing .gr-landing__logo {
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, var(--light) 0%, var(--light) 42%, rgba(242, 242, 242, .22) 58%, rgba(242, 242, 242, .22) 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  animation: grLogoFill 2.6s cubic-bezier(.45, .05, .25, 1) .3s both;
}
html.js.has-landing .gr-landing__lang { animation: grLandIn .8s cubic-bezier(.2, .7, .2, 1) 3s both; }
html.js.has-landing .gr-landing__file { animation: grLandIn .8s cubic-bezier(.2, .7, .2, 1) 3.35s both; }
@media (prefers-reduced-motion: reduce) {
  html.js.has-landing .gr-landing__logo { animation: none; background-position: 0 0; }
  html.js.has-landing .gr-landing__lang, html.js.has-landing .gr-landing__file { animation: none; }
}

/* Bandeau des références clients : plus fin, texte plus petit (le défilement est plus rapide : data-speed) */
html body .gr-sitedeck .gr-deck__canvas .gr-slide--manifesto .gr-slide__marquee { font-size: max(2.2cqw, 12px) !important; padding: 1.2cqw 0 !important; line-height: 1.2 !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html body .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--manifesto .gr-slide__marquee { font-size: 11px !important; padding: 7px 0 !important; }
}

/* Landing : le document PowerPoint + « cliquez ici » remontés un peu, plus près du logo */
.gr-landing__file { margin-top: calc(var(--lgap) * .68 - 8px) !important; }

/* Picto portfolio : en bas à gauche de l'espace libre, aligné sur le texte, juste au-dessus du trait (comme sur la maquette) */
@media (min-width: 801px) and (min-height: 501px), (min-width: 801px) and (orientation: portrait) {
  .gr-slide--folio .gr-folio__pic { align-items: flex-end; justify-content: flex-start; padding: 0 2cqw 2.4cqw; }
  .gr-slide--folio .gr-folio__pic .gr-folio__picto { width: 5.6cqw; }
}

/* Logo « Studio Colette » : entièrement en oblique (Bringbold Nineties Oblique) */
.gr-landing__logo, .gr-header__brand, html:not([data-w98]) .gr-sitedeck .gr-deck__window .gr-deck__logo, .gr-slide__foot .gr-slide__brand,
.gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover::before { font-style: italic !important; }

/* Titre « Design PowerPoint sur-mesure » : un peu plus gros, interlignage resserré */
html body .gr-slide.gr-slide--cover .gr-slide__title--cover { font-size: 14cqw !important; line-height: .8 !important; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) {
  html body .gr-sitedeck .gr-deck__window:not(.is-fs) .gr-slide--cover .gr-slide__title--cover { font-size: calc(var(--m-xl) * 1.12) !important; line-height: .88 !important; }
}

/* Le logo de l'en-tête est un bouton : il ramène à la première page */
button.gr-deck__logo { background: none; border: 0; padding: 0; margin: 0; color: inherit; cursor: pointer; font-family: "Bringbold Nineties", Georgia, serif; }
button.gr-deck__logo:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
html body .gr-sitedeck .gr-deck__window button.gr-deck__logo { pointer-events: auto !important; position: relative; z-index: 3; }

/* Logo de l'en-tête : légèrement plus bas (la police a plus d'espace sous les lettres que dessus) */
html body .gr-sitedeck .gr-deck__window button.gr-deck__logo { top: 3px; }
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px) { html body .gr-sitedeck .gr-deck__window button.gr-deck__logo { top: 2px; } }
