/* ==========================================================================
   Webmo Lab — feuille de styles
   1. Variables   2. Base   3. Composants « argile »   4. En-tête / pied
   5. Sections communes   6. Accueil (bureau isométrique)   7. Pages web / motion
   8. Formulaire   9. Animations & transitions de page   10. Mouvement réduit
   ========================================================================== */

/* 0. Polices auto-hébergées (variables, sous-ensemble latin) ------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-var.woff2") format("woff2");
  font-weight: 600 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

/* 1. Variables ------------------------------------------------------------ */
:root {
  /* Identité « Webmo Lab » (19/10/2026) : jaune #FFD60A (accent unique), blanc, encre #141414.
     Jamais de texte blanc sur jaune : texte encre uniquement. -light = teinte claire,
     -lighter = encore plus claire, -soft = intermédiaire, -wash = fond de section. */
  --paper: #FAF8F5;
  --surface: #FFFFFF;
  --ink: #141414;
  --ink-t: #2E2D2B;
  --ink-s: #0B0B0C;
  --mute: #5E5953;         /* ≥ 4,5:1 sur le papier et sur chaque teinte */
  --line: #E8E4DE;
  --field: #8A847D;        /* bordure des champs : ≥ 3:1 */
  --yellow: #FFD60A;       /* texte encre dessus : 13,9:1 ; jamais de texte blanc */
  --yellow-hover: #FFCC00;
  --yellow-bright: #FFE45C; /* dessus éclairé, reflets */
  --yellow-dark: #E0B400;  /* tranche des boutons, état pressé */
  --yellow-deep: #A88400;  /* traits d'interface sur fond clair : ≥ 3:1 */
  --yellow-ink: #735800;   /* jaune foncé pour le petit texte : ≥ 5,4:1 sur tous les fonds clairs */
  --accent: var(--yellow);
  --accent-light: var(--yellow-bright);
  --accent-dark: var(--yellow-dark);
  --accent-ink: var(--yellow-ink);
  --yellow-light: #FFF1A8; --yellow-lighter: #FFF8D6; --yellow-soft: #FFE680; --yellow-wash: #FFFAE6;
  /* Couleurs du bureau de l'accueil (post-it, nuancier, plante) : en fonds pâles et en pastilles,
     toujours avec du texte encre. -ink = version foncée lisible pour le petit texte. */
  --coral: #FF7A59;  --coral-light: #FFE3DA;  --coral-wash: #FFF4F0;
  --blue: #4F7CFF;   --blue-light: #E2E9FF;   --blue-wash: #F3F6FF;   --blue-ink: #2A4BC4;
  --green: #5DD39E;  --green-light: #DCF5E8;  --green-wash: #F1FBF5;
  --violet: #9B7BFF; --violet-light: #ECE6FF; --violet-wash: #F7F4FF;
  --pink: #FF6F9C;   --pink-light: #FFE2EC;
  --felt: #ECEBE7;   --oak: #D9B98C;
  --stone-light: #ECE8E2;  --stone-lighter: #F5F2EE;  --stone-soft: #D6D0C7;  --stone-wash: #F6F4F1;
  --white-l: #F7F5F2;
  --white-r: #EAE6E0;
  --error: #B3122E;

  /* Ombres neutres et réalistes */
  --sh: 20 15 10;
  --clay:
    0 0 0 1px rgb(var(--sh) / .07),
    0 1px 2px rgb(var(--sh) / .05),
    0 6px 16px -8px rgb(var(--sh) / .12),
    0 22px 44px -26px rgb(var(--sh) / .2);
  --clay-lift:
    0 0 0 1px rgb(var(--sh) / .08),
    0 2px 4px rgb(var(--sh) / .06),
    0 14px 28px -12px rgb(var(--sh) / .18),
    0 40px 70px -34px rgb(var(--sh) / .26);
  --clay-pressed: inset 0 2px 5px rgb(var(--sh) / .1), inset 0 0 0 1px rgb(var(--sh) / .08);

  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 28px;
  --radius-s: 16px;
  --gutter: 16px;
  --container: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Les ancres ne passent jamais sous l'en-tête fixe */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol.steps, ol.fast-grid { margin: 0; padding: 0; }
::selection { background: var(--yellow-light); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

/* 3. Composants « argile » ----------------------------------------------- */
/* Bouton : volume obtenu par un reflet intérieur en haut + une tranche sombre en bas */
.btn {
  --btn-bg: var(--accent); --btn-edge: var(--accent-dark); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 12px 26px 15px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 1.0625rem/1.1 var(--font-display); letter-spacing: -.005em; text-decoration: none;
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / .32),
    inset 0 -5px 0 var(--btn-edge),
    0 12px 24px -10px rgb(170 130 0 / .4);
  transition: transform .25s var(--ease-pop), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); --btn-bg: var(--yellow-hover); }
.btn--ghost:hover { --btn-bg: var(--surface); }
.btn:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .2), inset 0 -1px 0 var(--btn-edge), 0 4px 10px -6px rgb(170 130 0 / .35);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost {
  --btn-bg: var(--surface); --btn-edge: var(--yellow-light); --btn-fg: var(--ink);
  box-shadow: inset 0 2px 0 #fff, inset 0 -5px 0 var(--yellow-light), 0 12px 24px -12px rgb(var(--sh) / .28);
}
.btn--ghost:active { box-shadow: inset 0 -1px 0 var(--yellow-light), 0 4px 10px -6px rgb(var(--sh) / .25); }
.btn--small { min-height: 42px; padding: 8px 18px 11px; font-size: .98rem; }

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--clay);
  padding: clamp(24px, 4vw, 40px);
}
.card--tint { background: linear-gradient(180deg, var(--yellow-lighter), var(--yellow-light) 140%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.1em;
  padding: 6px 14px 7px; border-radius: 999px; background: var(--surface); box-shadow: var(--clay);
  font: 600 .82rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-light), var(--accent) 55%, var(--accent-dark));
}
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--ink-t); max-width: 38em; }
.mute { color: var(--mute); }
.hl { color: var(--ink); font-style: normal; position: relative; white-space: nowrap; }
.hl::after { /* trait de surligneur jaune sous le mot */
  content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .04em; height: .42em; z-index: -1;
  background: var(--yellow); border-radius: 999px; transform: rotate(-1.2deg);
}

.check-list { list-style: none; display: grid; gap: .6em; }
.check-list li { position: relative; padding-left: 1.9em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.2em; height: 1.2em; border-radius: 50%;
  background: var(--yellow-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 var(--yellow-soft);
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 599px) { .chips--grid { display: grid; grid-template-columns: 1fr 1fr; } .chips--grid li { text-align: center; border-radius: 18px; font-size: .92rem; line-height: 1.35; } }
.chips li {
  padding: 8px 16px 9px; border-radius: 999px; background: var(--surface); box-shadow: var(--clay);
  font-weight: 500; font-size: .95rem;
}

/* 4. En-tête / navigation / pied ----------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .35s var(--ease-out); }
.site-header::before { /* papier givré : sur un pseudo-élément pour ne pas piéger le menu plein écran */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* feutre gris clair (comme le tapis de l'accueil) : couleur + fin grain de fibres */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .33 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"), rgb(240 239 235 / .96);
  border-bottom: 1px solid transparent; transition: border-color .35s, background-color .35s;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background-color: rgb(240 239 235 / .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header::after { /* couture jaune en bas de la barre */
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; z-index: -1; pointer-events: none;
  border-top: 2px dashed rgb(224 180 0 / .75);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(var(--sh) / .35); }
.site-header.is-scrolled::before { border-bottom-color: rgb(200 196 188 / .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); transition: min-height .35s var(--ease-out); }
.site-header.is-scrolled .header-inner { min-height: 62px; }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; width: 40px; height: 40px; transition: transform .5s var(--ease-pop), width .35s, height .35s; }
.site-header.is-scrolled .brand-mark { width: 34px; height: 34px; }
/* Logo de l'en-tête : il se retourne au survol et révèle la mascotte (clin d'œil) */
.brand-flip { position: relative; flex: none; display: block; width: 40px; height: 40px; transform-style: preserve-3d; transition: transform .7s var(--ease-pop), width .35s, height .35s; }
.site-header.is-scrolled .brand-flip { width: 34px; height: 34px; }
.brand-flip .brand-mark, .brand-mascot { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.brand-mascot { transform: rotateY(180deg) scale(1.12); }
.site-header .brand:is(:hover, :focus-visible) .brand-flip { transform: rotateY(180deg); }
.site-header .brand:hover .brand-mark { transform: none; }
.site-footer .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name { font: 800 1.35rem/1 var(--font-display); letter-spacing: -.03em; }
.brand-name span { color: inherit; font-weight: 600; margin-left: .12em; }
.brand-name::after { content: ""; display: inline-block; width: .3em; height: .3em; margin-left: .08em; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 1px rgb(var(--sh) / .18); }

.nav-toggle {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--clay); color: var(--ink);
  font: 600 .95rem/1 var(--font-body); cursor: pointer;
}
.nav-toggle-icon { position: relative; width: 18px; height: 12px; }
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-toggle-icon::before { top: 2px; }
.nav-toggle-icon::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 5px; transform: rotate(-45deg); }

.nav-list { list-style: none; }
.nav-link {
  position: relative; display: inline-block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 500; text-decoration: none; transition: background-color .2s;
}
.nav-link:hover { color: var(--ink); background: var(--yellow-lighter); }
.nav-link::after { /* soulignement jaune : page courante ou section visible */
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--yellow-deep); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.nav-link[aria-current="page"]::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-cta .btn.is-current { box-shadow: inset 0 2px 0 rgb(255 255 255 / .32), inset 0 -5px 0 var(--accent-dark), 0 0 0 4px var(--yellow-light); }
.nav-extra { display: none; }

/* Bureau : menu horizontal + menus déroulants « argile » */
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; display: flex; align-items: center; }
  .nav-cta { margin-left: 10px; }
  .nav-link { white-space: nowrap; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .nav-link { padding: 10px 9px; font-size: .94rem; }
  .nav-link::after { left: 9px; right: 9px; }
  .nav-cta { margin-left: 4px; }
  .nav-cta .btn { padding-inline: 14px; font-size: .9rem; }
}

/* Mobile : menu plein écran, liens en cascade, sous-menus en accordéon */
@media (max-width: 999px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 1; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
    background: radial-gradient(120% 70% at 100% 0%, var(--yellow-lighter), var(--paper) 55%);
    visibility: hidden; clip-path: circle(0 at calc(100% - 52px) 38px);
    transition: clip-path .55s cubic-bezier(.7, 0, .2, 1), visibility 0s .55s;
  }
  .site-nav.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 52px) 38px); transition-delay: 0s; }
  .nav-list { display: grid; gap: 4px; max-width: 560px; margin: 0 auto; }
  .nav-item, .nav-extra { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
  .site-nav.is-open .nav-item, .site-nav.is-open .nav-extra { opacity: 1; transform: none; transition-delay: calc(.12s + var(--n) * 60ms); }
  .nav-item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); padding: 4px 0; }
  .nav-link { flex: 1; padding: 12px 4px; font: 800 clamp(1.6rem, 6vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.02em; border-radius: 12px; }
  .nav-link:hover { background: none; color: var(--accent-ink); }
  .nav-link::after { left: 4px; right: auto; width: 40px; bottom: 6px; }
  .nav-cta { border: 0; padding-top: 18px; }
  .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.1rem; }
  .nav-extra { display: grid; gap: 4px; padding-top: 18px; text-align: center; }
  .nav-extra a { font: 700 1.1rem var(--font-display); }
  .nav-extra span { font-size: .9rem; color: var(--mute); }
}
html.menu-open, html.menu-open body { overflow: hidden; }

.site-footer { /* le même bureau en chêne que l'écran d'accueil, avec un tapis de feutre posé dessus */
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--oak) url("../img/bois.jpg") center / cover;
  padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
  color: var(--ink);
}
.site-footer > .container {
  position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: var(--felt);
  box-shadow: 0 1px 1px rgb(40 30 20 / .12), 0 18px 40px -18px rgb(40 30 20 / .45);
}
.site-footer > .container::before { /* couture jaune */
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgb(224 180 0 / .75); border-radius: 18px; pointer-events: none;
}
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--ink); text-decoration-color: var(--yellow); }
.footer-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 2.8fr; } }
.footer-brand .brand { color: var(--ink); }
.footer-brand p { margin-top: 14px; max-width: 30em; color: var(--ink-t); }
.footer-mail { font: 700 1.05rem var(--font-display); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.footer-map { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-title { display: inline-block; font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; padding: 5px 10px 6px; border-radius: 6px; background: var(--yellow-light); }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.footer-bottom {
  position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgb(40 30 20 / .12);
  font-size: .9rem; color: var(--ink-t);
}
.footer-bottom p { margin: 0; }

/* 5. Sections communes ---------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.grid-2 { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 860px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* FAQ en accordéon natif */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border-radius: 22px; box-shadow: var(--clay); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--clay-lift); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font: 700 1.1rem/1.3 var(--font-display); border-radius: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23141414' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 50% no-repeat;
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 var(--yellow-light);
  transition: transform .35s var(--ease-pop);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--ink-t); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Révélation au défilement (activée seulement si le JS tourne) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* 6. Accueil : le bureau isométrique ------------------------------------ */
.hero { position: relative; padding-block: clamp(20px, 4vw, 48px) clamp(8px, 4vw, 72px); }
.hero + .section { padding-top: clamp(40px, 8vw, 120px); }
.hero-grid { display: grid; gap: 8px; align-items: center; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 4.8fr) minmax(0, 7.2fr); gap: 24px; min-height: calc(100svh - var(--header-h) - 40px); }
}
.hero-copy { position: relative; z-index: 2; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.hero-copy .lead { margin-top: .4em; }
.quick-nav { margin-top: 22px; font-weight: 600; }
.quick-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.quick-nav li + li::before { content: "·"; margin: 0 10px; color: var(--yellow-deep); }
.quick-nav a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.quick-nav a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
@media not all and (hover: hover) and (pointer: fine) and (min-width: 980px) { .quick-nav { display: none; } }

.desk { position: relative; margin-inline: -8px; will-change: transform; }
.desk::after { /* grain très léger, statique */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .47 0 0 0 0 .16 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
          mask-image: radial-gradient(closest-side, #000 60%, transparent);
}
.desk-svg { width: 100%; height: auto; overflow: visible; }
.desk-hint { margin: 0; text-align: center; font-size: .95rem; color: var(--mute); }
.desk-hint::before { content: "☝"; margin-right: .4em; }
@media (hover: hover) and (pointer: fine) { .desk-hint { display: none; } }
.intro-skip {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.desk.is-intro .intro-skip { opacity: 1; pointer-events: auto; }

/* Boutons d'accès sous la scène (mobile et écrans tactiles) */
.desk-buttons { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.desk-buttons a {
  display: flex; flex-direction: column; gap: 2px; min-height: 84px; padding: 16px 18px 18px;
  border-radius: 24px; background: var(--surface); box-shadow: var(--clay); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease-pop), box-shadow .25s;
}
.desk-buttons a:active { transform: translateY(3px); box-shadow: var(--clay-pressed); }
.desk-buttons strong { font: 800 1.15rem/1.15 var(--font-display); }
.desk-buttons span { font-size: .88rem; color: var(--mute); }
.desk-buttons li:first-child a { background: var(--yellow-light); box-shadow: inset 0 2px 0 rgb(255 255 255 / .6), inset 0 -5px 0 var(--yellow-soft), 0 14px 26px -12px rgb(var(--sh) / .35); }
.desk-buttons li:nth-child(2) a { background: var(--blue-light); box-shadow: inset 0 2px 0 rgb(255 255 255 / .6), inset 0 -5px 0 #C5D3FF, 0 14px 26px -12px rgb(var(--sh) / .35); }
.desk-buttons li:nth-child(3) a { background: var(--green-light); }
.desk-buttons li:nth-child(4) a { background: var(--coral-light); }
@media (hover: hover) and (pointer: fine) and (min-width: 980px) { .desk-buttons { display: none; } }

/* Scènes : les matériaux sont écrits dans le SVG par _outils/scene.py ; ici, seulement les détails stylés */
.hl { fill: none; stroke: #fff; stroke-opacity: .55; stroke-width: 2; stroke-linecap: round; }
.rim { fill: none; stroke: #fff; stroke-opacity: .5; stroke-width: 1.4; }
.shine { fill: #fff; opacity: .55; }
.floor-shadow, .obj-shadow { fill: url(#g-shadow); }
.floor-glow { fill: url(#g-floor); }
.planks path { fill: none; stroke: #B79C77; stroke-width: 1.2; opacity: .55; }
.grain path { fill: none; stroke: #4A2C1A; stroke-width: 1.4; opacity: .22; stroke-linecap: round; }
.rug-border { fill: none; stroke: #3A3B40; stroke-width: 6; opacity: .55; }
.rug-stripe { fill: none; stroke: var(--yellow); stroke-width: 3; opacity: .9; }
.cable { fill: none; stroke: #1C1C1F; stroke-width: 4; stroke-linecap: round; }
.chair-leg { fill: none; stroke: #232427; stroke-width: 7; stroke-linecap: round; }
.chair-wheel { fill: #16171A; }
.chair-seam { fill: none; stroke: #fff; stroke-opacity: .25; stroke-width: 2; }
.drawer { fill: rgb(255 255 255 / .4); stroke: rgb(var(--sh) / .1); stroke-width: 1.5; }
.drawer-handle { fill: #BAC0C7; stroke: #8F959C; stroke-width: .8; }
.led { fill: var(--yellow); }
.bezel { fill: #101012; }
.key { fill: #F4F3F1; stroke: rgb(var(--sh) / .14); stroke-width: .8; }
.key--dark { fill: #2A2B2F; stroke: #1A1B1E; }
.trackpad { fill: #E3E6EA; stroke: rgb(var(--sh) / .15); }
.page-line { fill: #DDD6CA; }
.page-edge { fill: #F7F3EA; opacity: .9; }
.nb-label { fill: #F7F1E3; }
.nb-title { font: 700 14px var(--font-display); fill: #3A2A1A; }
.ph-screen { fill: url(#g-phone); }
.ph-notch { fill: #0B0B0C; }
.ph-ring { fill: rgb(255 255 255 / .18); }
.ph-icon { fill: #fff; }
.ph-btn { fill: var(--yellow); }
.ph-badge { fill: #FF3B30; stroke: #16171A; stroke-width: 2; }
.wave { fill: none; stroke: var(--yellow-dark); stroke-width: 4; stroke-linecap: round; opacity: 0; }
.lamp-arm { fill: none; stroke: #2A2B2F; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.lamp-spring { fill: none; stroke: #77797E; stroke-width: 1.5; stroke-dasharray: 2 2; }
.lamp-joint { fill: #3A3B40; stroke: #16171A; stroke-width: 1.5; }
.lamp-head { fill: #2A2B2F; stroke: #2A2B2F; stroke-width: 4; }
.lamp-bulb { fill: #FFF3D6; }
.lamp-shine { fill: #fff; opacity: .3; }
.lamp-pool { fill: url(#g-pool); }
.lamp-cone { fill: url(#g-cone); opacity: .55; }
.leaf-shape { stroke-width: 2.5; }
.leaf-0 { fill: #5E9446; stroke: #5E9446; } .leaf-1 { fill: #7FB35F; stroke: #7FB35F; } .leaf-2 { fill: #477737; stroke: #477737; }
.leaf-vein { fill: none; stroke: #36602A; stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.soil { fill: #4A3527; }
.coffee { fill: #5C3B28; }
.mug-handle { fill: none; stroke: #E0DDD7; stroke-width: 8; stroke-linecap: round; }
.steam { fill: none; stroke: #CFCAC3; stroke-width: 3.5; stroke-linecap: round; opacity: .7; }
.hp-band { fill: none; stroke: #1F2023; stroke-width: 9; stroke-linecap: round; }
.note-line { fill: none; stroke: rgb(20 20 20 / .35); stroke-width: 1.4; stroke-linecap: round; }
.torus { fill: none; stroke: var(--yellow); stroke-width: 11; }
.spill { fill: #5C3B28; opacity: .85; }
.spill-shine { fill: #fff; opacity: .22; }
.spill-drip { fill: none; stroke: #5C3B28; stroke-width: 6; stroke-linecap: round; opacity: .85; }
.err-code { font: 800 64px var(--font-display); fill: var(--yellow); }
.err-bar { fill: var(--ink); }
.scr-reflect { fill: #fff; opacity: .06; pointer-events: none; }

/* Écran « web » : vraie interface violet / blanc / lime (état final, statique) */
.scr-bg-web { fill: #fff; }
.wb-bar { fill: #F1F0EE; }
.wb-dot { fill: #D2CFCA; }
.wb-url { fill: #fff; }
.wb-wire { fill: none; stroke: var(--yellow-deep); stroke-width: 1; stroke-dasharray: 3 2; opacity: 0; }
.wb-logo, .wb-btn, .wb-cta { fill: var(--yellow); }
.wb-logo { fill: var(--ink); }
.wb-btn2 { fill: var(--ink); }
.wb-nav { fill: #CBC8C2; }
.wb-ink { fill: var(--ink); }
.wb-mute { fill: #DAD7D2; }
.wb-hero { fill: var(--yellow-light); }
.wb-card { fill: #FAFAF8; stroke: #E6E3DE; stroke-width: 1; }
.wb-sun { fill: var(--yellow); }
.wb-hill { fill: var(--yellow-dark); }
.wb-chip { fill: var(--ink); }
.wb-icon { fill: var(--yellow); } .wb-icon--l { fill: var(--ink); } .wb-icon--p { fill: var(--yellow-dark); }
.wb-cursor { fill: var(--ink); stroke: #fff; stroke-width: 1; opacity: 0; }
.wb-click { fill: var(--yellow-bright); opacity: 0; }
.scr-glass { fill: url(#g-glass); pointer-events: none; }
/* Écran « motion » : fond sombre, clés lime, tête de lecture violette */
.scr-bg-motion { fill: #141418; }
.mo-preview { fill: #22222A; }
.mo-ball { fill: var(--yellow); transform: translate(36px, 40px); }
.mo-square { fill: #fff; transform: translate(100px, 36px) rotate(12deg); }
.mo-tri { fill: #8C8F96; transform: translate(134px, 38px); }
.mo-track { fill: #2B2B34; }
.mo-clip-a { fill: var(--yellow); } .mo-clip-b { fill: #5B5C62; } .mo-clip-c { fill: #D3D5D9; }
.mo-key { fill: var(--yellow); }
.mo-playhead { fill: #fff; transform: translateX(80px); }

/* Interactions des objets */
.desk-obj { cursor: pointer; outline: none; }
.desk-obj .obj-lift, .desk-obj .obj-shadow, .decor { transition: transform .5s var(--ease-pop), opacity .35s var(--ease-out); }
.desk-obj .obj-shadow { transform-box: fill-box; transform-origin: center; }
.desk-obj:is(:hover, :focus-visible) .obj-lift { transform: translateY(-16px); }
.desk-obj:is(:hover, :focus-visible) .obj-shadow { transform: scale(1.18); opacity: .55; }
.obj-ring { fill: none; stroke: var(--accent); stroke-width: 4; stroke-dasharray: 10 8; opacity: 0; transition: opacity .2s; pointer-events: none; }
.obj-hit { fill: transparent; }
.desk-obj:focus-visible .obj-ring { opacity: 1; }
.desk-obj:focus-visible .obj-lift {
  filter: drop-shadow(4px 0 0 var(--accent)) drop-shadow(-4px 0 0 var(--accent)) drop-shadow(0 4px 0 var(--accent)) drop-shadow(0 -4px 0 var(--accent));
}
.desk-svg:has(.desk-obj:is(:hover, :focus-visible)) .desk-obj:not(:hover, :focus-visible) .obj-lift,
.desk-svg:has(.desk-obj:is(:hover, :focus-visible)) .decor { opacity: .5; }
.nb-cover { transition: transform .55s var(--ease-pop); }
.desk-obj[data-dest="about"]:is(:hover, :focus-visible) .nb-cover { transform: translate(-4px, -10px) rotate(-9deg); }
.labels { pointer-events: none; }
.obj-label-in {
  opacity: 0; transform: translateY(12px) scale(.7);
  transform-box: fill-box; transform-origin: 50% 100%;
  transition: opacity .2s var(--ease-out), transform .45s var(--ease-pop);
}
.lb-shadow { fill: rgb(var(--sh) / .22); }
.lb-body { fill: var(--accent); }
.lb-dot { fill: var(--ink); }
.lb-text { font: 700 21px var(--font-display); fill: var(--ink); letter-spacing: -.01em; }
.obj-label.is-on .obj-label-in { opacity: 1; transform: none; }
@media (hover: none) { .labels { display: none; } }

/* Intro : éléments masqués dès le premier rendu (classe posée dans le <head>) */
.intro-pending .desk .pop { opacity: 0; }
.desk .pop { transform-box: fill-box; transform-origin: 50% 100%; }
.desk.is-intro .pop { animation: pop .62s var(--ease-pop) both; animation-delay: calc(var(--i) * 68ms); }
@keyframes pop {
  0% { opacity: 0; transform: translateY(-46px) scale(.55); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
/* Plongée de caméra vers l'objet cliqué */
.is-diving .hero-copy, .is-diving .desk-buttons, .is-diving .desk-hint { opacity: 0; transform: translateY(-10px); }

/* Accueil : deux mondes */
/* « Sur mesure » : trois cartes colorées, icône + titre + une phrase */
.custom { list-style: none; display: grid; gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; }
@media (min-width: 760px) { .custom { grid-template-columns: repeat(3, 1fr); } }
.custom-card { position: relative; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); box-shadow: var(--clay); transition: transform .5s var(--ease-pop), box-shadow .3s; }
.custom-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--clay-lift); }
.custom-card--design { background: linear-gradient(160deg, #fff, var(--coral-light)); }
.custom-card--fonctions { background: linear-gradient(160deg, #fff, var(--blue-light)); }
.custom-card--anim { background: linear-gradient(160deg, #fff, var(--violet-light)); }
.custom-icon { width: 64px; height: 64px; margin-bottom: 14px; filter: drop-shadow(0 6px 10px rgb(var(--sh) / .12)); transition: transform .5s var(--ease-pop); }
.custom-card:hover .custom-icon { transform: rotate(-8deg) scale(1.08); }
.custom-card h3 { margin: 0 0 6px; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); }
.custom-card p { margin: 0; color: var(--ink-t); }
.custom-cta { margin: clamp(24px, 3.5vw, 40px) 0 0; text-align: center; }
@media (prefers-reduced-motion: reduce) { .custom-card, .custom-card:hover, .custom-card:hover .custom-icon { transform: none; } }

.worlds { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 860px) { .worlds { grid-template-columns: 1fr 1fr; } }
.world {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  min-height: 420px; padding: clamp(28px, 4vw, 44px); border-radius: 36px; text-decoration: none;
  transition: transform .5s var(--ease-pop), box-shadow .4s var(--ease-out);
}
.world:hover { transform: translateY(-6px); }
.world h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin: 0; }
.world p { margin: 0; max-width: 28em; }
.world .world-more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem var(--font-display); }
.world .world-more::after { content: "→"; transition: transform .35s var(--ease-pop); }
.world:hover .world-more::after { transform: translateX(6px); }
.world--web { background: linear-gradient(165deg, #fff 10%, var(--yellow-lighter) 60%, var(--yellow-light)); color: var(--ink); box-shadow: var(--clay); }
.world--web:hover { color: var(--ink); box-shadow: var(--clay-lift); }
.world--web .world-more { color: var(--accent-ink); }
.world--motion { background: linear-gradient(165deg, #fff 10%, var(--blue-light) 60%, var(--violet-light)); color: var(--ink); box-shadow: var(--clay); }
.world--motion:hover { color: var(--ink); box-shadow: var(--clay-lift); }
.world--motion p { color: var(--ink-t); }
.world--motion .world-more { color: var(--blue-ink); }
.world-art { position: absolute; right: -10px; bottom: -10px; width: min(48%, 240px); pointer-events: none; }
.world .chips li { box-shadow: none; background: rgb(255 255 255 / .7); font-size: .88rem; padding: 6px 12px 7px; }
.world--motion .chips li:nth-child(n) { background: rgb(255 255 255 / .7); color: var(--ink); }
.world-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; height: 100%; }
@media (min-width: 560px) { .world-copy { max-width: 70%; } }

/* Méthode : 4 étapes */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; display: flex; flex-direction: column; }
.step-icon { width: 112px; height: 112px; margin: -8px 0 8px -8px; }
.step h3 { display: flex; align-items: baseline; gap: 10px; min-height: 1.3em; }
.step h3::before { content: "0" counter(step); font: 700 .9rem var(--font-body); color: var(--accent-ink); letter-spacing: .05em; }
.step p { color: var(--ink-t); margin: 0; }

/* À propos */
.about { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 7fr 5fr; } }
.id-card { padding: 32px; border-radius: 36px; background: linear-gradient(165deg, #fff, var(--yellow-lighter) 60%, var(--yellow-light)); box-shadow: var(--clay-lift); transform: rotate(1.5deg); transition: transform .6s var(--ease-pop); }
.id-card:hover { transform: rotate(0) translateY(-4px); }
.id-avatar {
  display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 18px; padding: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blue-light) 70%); box-shadow: 0 16px 30px -12px rgb(var(--sh) / .3), inset 0 0 0 2px #fff;
}
.id-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.id-card dt { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-top: .2em; }
.id-card dd { margin: 0; font-weight: 600; }

/* 7. Pages web / motion -------------------------------------------------- */
/* Offres */
.offer h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.offer-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px 6px; border-radius: 999px; background: var(--yellow-lighter); color: var(--accent-ink); font: 700 .8rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 -2px 0 var(--yellow-light); }
.offer h4 { font: 700 .82rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 26px 0 12px; }
.offer > p { color: var(--ink-t); }
.offers-4 { display: grid; gap: 20px; }
@media (min-width: 700px) { .offers-4 { grid-template-columns: 1fr 1fr; } }
.offer-icon { width: 64px; height: 64px; margin-bottom: 14px; }

/* Premières réalisations (bloc unique) */
/* Carte projet (réalisations web) */
.project-card {
  position: relative; display: grid; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(16px, 3vw, 32px); border-radius: 36px;
  background: linear-gradient(150deg, #fff, var(--yellow-lighter) 55%, var(--yellow-light)); box-shadow: var(--clay);
}
.project-shot {
  display: block; overflow: hidden; border-radius: 22px; background: #fff;
  box-shadow: var(--clay); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.project-shot:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--clay-lift); }
.project-shot:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.project-browser { display: flex; gap: 6px; padding: 10px 14px; background: var(--white-l); border-bottom: 1px solid var(--line); }
.project-browser i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone-soft); }
.project-browser i:first-child { background: var(--accent-light); }
.project-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-body { padding: 0 clamp(4px, 1.5vw, 16px) 8px; }
.project-tag { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.project-body h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.project-body > p { color: var(--ink-t); }
.project-points { margin: 16px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.project-points li { position: relative; padding-left: 22px; color: var(--ink-t); }
.project-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-light), var(--accent) 60%, var(--accent-dark)); }
.project-note { font-size: .85rem; color: var(--mute) !important; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) { .project-card { grid-template-columns: 1.25fr 1fr; } }

/* Studio motion : logo animé (vidéo Blender) */
.reveal {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  border-radius: 24px; background: radial-gradient(90% 90% at 50% 40%, #fff, var(--yellow-lighter) 60%, var(--yellow-light));
}
.reveal-frame { padding: 14px; border-radius: 36px; background: var(--surface); box-shadow: var(--clay-lift); }
.reveal-bar { display: flex; align-items: center; gap: 14px; padding: 14px 6px 4px; }
.reveal-track { position: relative; flex: 1; height: 8px; border-radius: 99px; background: var(--yellow-lighter); box-shadow: inset 0 1px 2px rgb(var(--sh) / .12); }
.reveal-track i { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; transform: rotate(45deg); background: var(--yellow-soft); border-radius: 2px; }
.reveal-progress { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 99px; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.logo-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #E9E5DE; }
.reveal-time { font: 600 .85rem/1 ui-monospace, Menlo, monospace; color: var(--mute); font-variant-numeric: tabular-nums; }
.btn-icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; min-height: 0; flex: none; }

/* Lecteurs des réalisations motion */
.players { display: grid; gap: clamp(24px, 4vw, 40px); }
.player { padding: 14px 14px 22px; }
/* Groupe de lecteurs par marque : transparent pour la grille ; [hidden] le retire sans laisser de trou */
.players-group { display: contents; }
.players-group[hidden] { display: none; }
.player-frame {
  position: relative; overflow: hidden; border-radius: 20px; background: #0E0E0E; aspect-ratio: 16 / 9;
}
/* La scène 16:9 des animations + leur barre de lecture (56 px) : hauteur exacte grâce aux unités de conteneur */
.player-sizer { container-type: inline-size; }
@supports (height: 1cqw) { .player-sizer .player-frame { aspect-ratio: auto; height: calc(100cqw * 9 / 16 + 56px); } }
.player-poster {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #0E0E0E;
}
.player-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s; }
.player-poster:hover img { transform: scale(1.03); filter: brightness(.92); }
.player-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--ink);
  box-shadow: inset 0 3px 0 rgb(255 255 255 / .3), inset 0 -6px 0 var(--accent-dark), 0 20px 40px -10px rgb(0 0 0 / .45);
  transition: transform .4s var(--ease-pop);
}
.player-poster:hover .player-play { transform: scale(1.1); }
.player-poster:active .player-play { transform: scale(.95); }
.player-play svg { width: 30px; height: 30px; margin-left: 5px; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 18px 8px 0; }
.player-meta h3 { margin: 0; }
.player-meta p { margin: 0; color: var(--mute); font-size: .95rem; }
.player-meta a { font-weight: 600; font-size: .95rem; }
/* Teaser vertical (9:16) : vidéo native, à côté du film 16:9 sur ordinateur */
.player-frame--vertical { aspect-ratio: 9 / 16; background: #F6D90E; }
.player-frame--vertical video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player--vertical { width: 100%; max-width: 380px; justify-self: center; }
@media (min-width: 1000px) {
  .players:has(.player + .player) { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; }
  .players:has(.player + .player) .player--vertical { max-width: none; }
}
/* Pubs 16:9 en vidéo native ; avec le teaser : les deux pubs l'une sous l'autre, le teaser vertical à droite */
.player-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .players--trio:has(.player + .player) { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
  .players--trio .player--vertical { grid-column: 2; grid-row: 1 / span 2; }
}

/* Mentions légales & 404 */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-top: 2em; }
.legal address { font-style: normal; }
.todo { background: #FFF1C2; color: #5A3B00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }
.error-page { text-align: center; }
.error-page .desk-svg { width: min(100%, 400px); max-height: 46vh; margin: 0 auto 8px; }

/* Pièces voisines (atelier web, studio motion) */
.room-hero .hero-grid { min-height: auto; }
@media (min-width: 980px) { .room-hero .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(calc(100svh - var(--header-h) - 40px), 760px); } }
.room .desk-svg { margin-top: -10px; }
.skirt { fill: #E4E0D9; }
.skirt.skirt-dark { fill: #25272A; }
.win-frame { fill: #fff; }
.win-bar { fill: none; stroke: #fff; stroke-width: 6; }
.win-shine { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .6; }
.win-sill { fill: #F0EDE8; }
.sunrays { fill: url(#g-rays); opacity: .8; pointer-events: none; }
.sunpatch { fill: #FFF8E1; opacity: .55; }
.board { fill: #fff; stroke: #E2DED7; stroke-width: 2; }
.board-shadow { fill: rgb(var(--sh) / .1); }
.pin-card { fill: #FBFAF8; stroke: #E4E0DA; stroke-width: 1; }
.pin-line { fill: #DAD6CF; }
.pin-line.ink { fill: var(--ink); }
.pin-block--0 { fill: var(--yellow); } .pin-block--1 { fill: var(--ink); } .pin-block--2 { fill: var(--stone-soft); }
.pin { fill: #E5483A; }
.pin-string { fill: none; stroke: #C0392B; stroke-width: 1.5; stroke-dasharray: 4 3; }
.sw-1 { fill: var(--yellow); } .sw-2 { fill: #fff; } .sw-3 { fill: var(--ink); }
.arrow-front { fill: var(--yellow); stroke: var(--yellow); stroke-linejoin: round; }
.arrow-side { fill: var(--yellow-dark); stroke: var(--yellow-dark); stroke-linejoin: round; }
.arrow-hl { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .4; }
.pendant-cord { fill: none; stroke: #1C1C1F; stroke-width: 2; }
.pendant-shade { fill: #2A2B2F; stroke: #2A2B2F; stroke-width: 3; }
.pendant-bulb { fill: #FFF3D6; }
.pendant-glow { fill: url(#g-pool); opacity: .55; pointer-events: none; }
.foam { fill: #E2E9FF; }
.foam-rib { fill: #CBD7FF; }
.stand, .tripod path, .dir-leg { fill: none; stroke: #232427; stroke-width: 6; stroke-linecap: round; }
.dir-leg { stroke: #9C7650; stroke-width: 7; }
.soft-glow { fill: url(#g-soft); }
.soft-edge { fill: none; stroke: #101012; stroke-width: 3; }
.soft-beam { fill: url(#g-cone); opacity: .35; pointer-events: none; }
.led-face { fill: var(--yellow); filter: drop-shadow(0 0 8px rgb(255 214 10 / .7)); }
.tab-area { fill: #2A2B2F; }
.tab-stroke { fill: none; stroke: var(--yellow); stroke-width: 3.5; stroke-linecap: round; }
.clap-line { fill: #fff; opacity: .8; }
.clap-stripe { fill: #141414; }
.clap-arm { transition: transform .45s var(--ease-pop); }
.desk-obj[data-dest="clap"]:is(:hover, :focus-visible) .clap-arm { transform: rotate(-18deg); }
.lens-ring { fill: #2A2B2F; stroke: #45464A; stroke-width: 2; }
.lens { fill: url(#g-lens); }
.lens-shine { fill: #fff; opacity: .55; }
.rec-dot { fill: #FF3B30; }
.kf-shine { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; opacity: .6; }

/* Exemple de logo animé */
.logo-demo { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .logo-demo { grid-template-columns: 5fr 7fr; } }

/* Continuer la visite */
.continue { padding-top: 0; }
.continue-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.continue-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .continue-grid--2 { grid-template-columns: 1fr 1fr; } .continue-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.next-card {
  position: relative; display: grid; gap: 6px; min-height: 180px; align-content: end;
  padding: 28px 30px; border-radius: 30px; text-decoration: none; overflow: hidden;
  transition: transform .45s var(--ease-pop), box-shadow .35s var(--ease-out);
}
.next-card:hover { transform: translateY(-6px); }
.next-card strong { font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.05 var(--font-display); letter-spacing: -.02em; }
.next-kicker { font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.next-text { max-width: 24em; }
.next-arrow { position: absolute; top: 22px; right: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 800 1.2rem var(--font-display); transition: transform .45s var(--ease-pop); }
.next-card:hover .next-arrow { transform: translateX(4px) rotate(-12deg); }
.next-card--web { background: linear-gradient(160deg, #fff, var(--yellow-lighter) 60%, var(--yellow-light)); color: var(--ink); box-shadow: var(--clay); }
.next-card--web:hover { color: var(--ink); box-shadow: var(--clay-lift); }
.next-card--web .next-arrow { background: var(--yellow-light); color: var(--accent-ink); }
.next-card--motion { background: linear-gradient(160deg, #fff, var(--blue-light) 60%, var(--violet-light)); color: var(--ink); box-shadow: var(--clay); }
.next-card--motion:hover { color: var(--ink); box-shadow: var(--clay-lift); }
.next-card--motion .next-arrow { background: #fff; color: var(--blue-ink); }
.next-card--contact { background: var(--accent); color: var(--ink); box-shadow: inset 0 2px 0 rgb(255 255 255 / .35), inset 0 -6px 0 var(--accent-dark), 0 24px 44px -20px rgb(170 130 0 / .5); }
.next-card--contact:hover { color: var(--ink); }
.next-card--contact .next-arrow { background: #fff; color: var(--ink); }

/* Transition de marque entre les pages : panneau d'argile + cube */
.pt-curtain, html.pt-in body::before {
  content: ""; position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, var(--yellow-bright), var(--yellow) 55%, var(--yellow-dark));
}
.pt-curtain { transform: translateY(102%); border-radius: 56px 56px 0 0; transition: transform .42s cubic-bezier(.7, 0, .25, 1), border-radius .42s; }
.pt-curtain.is-in { transform: none; border-radius: 0; }
/* Le cube du logo, identique au départ et à l'arrivée */
.pt-dot, html.pt-in body::after {
  position: fixed; left: 50%; top: 50%; z-index: 9991; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none;
  background: url("../img/favicon.svg") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgb(20 15 10 / .35));
}
.pt-dot { display: block; opacity: 0; transform: scale(.7) translateY(16px); transition: opacity .25s .12s, transform .45s var(--ease-pop) .1s; }
.pt-curtain.is-in .pt-dot { opacity: 1; transform: none; }
html.pt-in body::after {
  content: "";
  animation: pt-cube-out .3s ease-in .1s both;
}
html.pt-in body::before { animation: pt-reveal .58s cubic-bezier(.7, 0, .2, 1) .12s both; }
@keyframes pt-reveal { 0% { transform: none; border-radius: 0; } 100% { transform: translateY(-102%); border-radius: 0 0 56px 56px; } }
@keyframes pt-cube-out { 0% { transform: none; opacity: 1; } 100% { transform: scale(.7) translateY(-24px); opacity: 0; } }
html.pt-dive-in main { animation: dive-in .65s var(--ease-out) both; }
@keyframes dive-in { from { opacity: 0; transform: scale(1.05); filter: blur(4px); } }

/* Curseur personnalisé (souris uniquement) */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 9995; pointer-events: none; border-radius: 50%; will-change: transform; transition: opacity .2s; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ink); box-shadow: 0 0 0 1.5px var(--yellow); }
.cursor-ring {
  display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 2px solid var(--yellow-dark); background: rgb(255 214 10 / .14);
  transition: width .3s var(--ease-pop), height .3s var(--ease-pop), margin .3s var(--ease-pop), background-color .25s, border-color .25s, opacity .2s;
}
.cursor-ring.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgb(255 214 10 / .26); }
.cursor-ring.is-label { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--accent); border-color: var(--accent); }
.cursor-label { font: 700 .82rem/1 var(--font-display); color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor-ring.is-label .cursor-label { opacity: 1; }
.cursor-ring.is-label + .cursor-dot, .cursor-dot.is-faded { opacity: 0; }
.cursor-ring.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, [contenteditable]) { cursor: auto !important; }
html.has-cursor iframe { cursor: auto !important; }

/* Accents de marque : jaune + blanc, encre pour le contraste ------------------ */
/* Bandes de section : jaune très pâle / pierre très claire en alternance */
#methode, #contact, #parcours, #projets-web, #exemple-logo, #realisations { border-radius: clamp(24px, 4vw, 40px); margin-inline: clamp(0px, 1.5vw, 20px); }
#methode { background: var(--yellow-wash); }
#contact { background: var(--coral-wash); }
#parcours { background: var(--blue-wash); }
#projets-web { background: var(--stone-wash); }
#exemple-logo { background: var(--violet-wash); }
#realisations { background: var(--yellow-wash); }
/* Étapes : liseré supérieur jaune */
.step { border-top: 4px solid var(--yellow); }
.step:nth-child(2) { border-top-color: var(--coral); }
.step:nth-child(3) { border-top-color: var(--blue); }
.step:nth-child(4) { border-top-color: var(--green); }
.step h3::before { color: var(--yellow-ink); }
/* Pastilles : alternance des teintes */
.chips li:nth-child(3n+1) { background: var(--yellow-light); }
.chips li:nth-child(3n+2) { background: var(--blue-light); }
.chips li:nth-child(3n+3) { background: var(--green-light); }
/* Offres : web = liseré jaune, motion = liseré encre */
#presentation { border-top: 4px solid var(--yellow); } #procede { border-top: 4px solid var(--coral); }
#logo { border-top: 4px solid var(--blue); } #pubs { border-top: 4px solid var(--violet); }
.first-project { background: linear-gradient(150deg, #fff, var(--yellow-lighter) 60%, var(--stone-lighter)); }
.first-project::after { background: radial-gradient(circle at 35% 30%, #fff, var(--yellow) 55%, var(--yellow-deep)); }

/* 8. Formulaire ---------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.contact-info { display: grid; gap: 18px; }
.contact-info .big-mail { font: 800 clamp(1.05rem, .7rem + 1.3vw, 1.55rem)/1.2 var(--font-display); white-space: nowrap; overflow-x: auto; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-s);
  border: 1.5px solid var(--field); background: var(--paper); color: var(--ink);  /* bordure ≥ 3:1 */
  font: inherit; font-size: 1rem; box-shadow: var(--clay-pressed);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23141414' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 6px rgb(255 214 10 / .45); }
.field input:user-invalid, .field textarea:user-invalid, .field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; background-color: var(--yellow-lighter); }
.consent input[aria-invalid="true"] { outline: 3px solid var(--error); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--ink-t); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-bottom: 24px; padding: 16px 20px; border-radius: 18px; font-weight: 600; }
.form-status.is-success { display: block; background: #E6F4DC; color: #2F5A0A; box-shadow: inset 0 0 0 1.5px #BFDDA8; }
.form-status.is-error { display: block; background: #FDECEE; color: var(--error); box-shadow: inset 0 0 0 1.5px #F5C2CA; }
.form-note { font-size: .85rem; color: var(--mute); margin: 0; }

/* 9. Animations & transitions de page ----------------------------------- */
@view-transition { navigation: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Entrée des pages intérieures (repli quand les View Transitions ne sont pas gérées) */
  .page-enter > * { animation: page-in .8s var(--ease-out) both; }
  .page-enter > *:nth-child(2) { animation-delay: .08s; }
  .page-enter > *:nth-child(3) { animation-delay: .16s; }
  @keyframes page-in { from { opacity: 0; transform: translateY(24px); } }

  /* Respiration de la scène et décor vivant */
  .desk-breathe { animation: breathe 7s ease-in-out infinite; }
  @keyframes breathe { 50% { transform: translateY(-7px); } }
  .fl { animation: float 6s ease-in-out infinite alternate; }
  .fl-2 { animation-duration: 7.5s; animation-delay: -2s; }
  .fl-3 { animation-duration: 5.2s; animation-delay: -1s; }
  .fl-4 { animation-duration: 6.6s; animation-delay: -3s; }
  .fl-5 { animation-duration: 8s; }
  .fl-6 { animation-duration: 4.8s; animation-delay: -1.5s; }
  @keyframes float { from { transform: translateY(-10px) rotate(-3deg); } to { transform: translateY(12px) rotate(4deg); } }
  .leaf { animation: sway 4.5s ease-in-out infinite alternate; animation-delay: calc(var(--l) * -.9s); }
  @keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
  .steam { stroke-dasharray: 26 60; animation: steam 3.2s linear infinite; animation-delay: calc(var(--s) * -1.05s); }
  @keyframes steam {
    0% { stroke-dashoffset: 0; opacity: 0; transform: translateY(6px); }
    25% { opacity: .75; }
    100% { stroke-dashoffset: -86; opacity: 0; transform: translateY(-14px); }
  }
  .lamp-light { animation: glow 5s ease-in-out infinite; }
  @keyframes glow { 50% { opacity: .82; } }

  /* Écran web : 6 s — filaire, couleurs, clic */
  .wb-wire { transform-box: fill-box; transform-origin: center; animation: wb-wire 6s var(--ease-out) infinite; animation-delay: calc(var(--i) * .12s); }
  .wb-fill, .wb-art { animation: wb-fill 6s ease-in-out infinite; animation-delay: calc(var(--i) * .1s); }
  .wb-art { animation-delay: .6s; }
  @keyframes wb-wire { 0% { opacity: 0; transform: scale(.6); } 7%, 42% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; } }
  @keyframes wb-fill { 0%, 28% { opacity: 0; } 40%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
  .wb-cursor { animation: wb-cursor 6s var(--ease-out) infinite; }
  @keyframes wb-cursor {
    0%, 46% { opacity: 0; transform: translate(210px, 150px); }
    52% { opacity: 1; }
    64%, 88% { opacity: 1; transform: translate(34px, 99px); }
    66% { transform: translate(34px, 99px) scale(.82); }
    95%, 100% { opacity: 0; transform: translate(34px, 99px); }
  }
  .wb-click { transform-box: fill-box; transform-origin: center; animation: wb-click 6s ease-out infinite; }
  @keyframes wb-click { 0%, 65% { opacity: 0; transform: scale(.2); } 67% { opacity: .7; } 80%, 100% { opacity: 0; transform: scale(2); } }
  .wb-btn { transform-box: fill-box; transform-origin: center; }

  /* Écran motion : 4 s — formes + tête de lecture */
  .mo-playhead { animation: mo-play 4s linear infinite; }
  @keyframes mo-play { from { transform: translateX(10px); } to { transform: translateX(150px); } }
  .mo-ball { animation: mo-ball 4s cubic-bezier(.5, 0, .5, 1) infinite; }
  @keyframes mo-ball {
    0%, 100% { transform: translate(20px, 54px) scale(1.15, .85); }
    25% { transform: translate(44px, 20px); }
    50% { transform: translate(68px, 54px) scale(1.15, .85); }
    75% { transform: translate(44px, 20px); }
  }
  .mo-square { animation: mo-square 4s var(--ease-pop) infinite; }
  @keyframes mo-square { 0% { transform: translate(100px, 36px) rotate(0) scale(1); } 50% { transform: translate(100px, 36px) rotate(180deg) scale(1.3); } 100% { transform: translate(100px, 36px) rotate(360deg) scale(1); } }
  .mo-tri { animation: mo-tri 2s ease-in-out infinite alternate; }
  @keyframes mo-tri { from { transform: translate(134px, 44px) scale(.7); } to { transform: translate(134px, 30px) scale(1.25) rotate(20deg); } }

  /* Téléphone qui sonne au survol */
  .phone-body { transform-box: fill-box; transform-origin: center; }
  .desk-obj[data-dest="contact"]:is(:hover, :focus-visible) .phone-body { animation: ring 1.3s ease-in-out infinite; }
  @keyframes ring {
    0%, 45%, 100% { transform: none; }
    5%, 15%, 25%, 35% { transform: rotate(-4deg) translateX(-2px); }
    10%, 20%, 30%, 40% { transform: rotate(4deg) translateX(2px); }
  }
  .desk-obj[data-dest="contact"]:is(:hover, :focus-visible) .wave { animation: wave 1.3s ease-out infinite; animation-delay: calc(var(--w) * .14s); }
  @keyframes wave { 0% { opacity: 0; } 20% { opacity: 1; } 60%, 100% { opacity: 0; } }

  /* Icônes de la méthode : jouées seulement quand elles sont visibles */
  .step-icon * { animation-play-state: paused !important; }
  .step.is-visible .step-icon * { animation-play-state: running !important; }
  .ic-bubble-a { animation: bob 2.4s ease-in-out infinite; }
  .ic-bubble-b { animation: bob 2.4s ease-in-out infinite; animation-delay: -1.2s; }
  @keyframes bob { 50% { transform: translateY(-5px); } }
  .ic-wire { transform-box: fill-box; transform-origin: center; animation: ic-wire 3.6s var(--ease-pop) infinite; animation-delay: calc(var(--i) * .25s); }
  @keyframes ic-wire { 0% { opacity: 0; transform: scale(.4); } 15%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
  .ic-face { transform-box: fill-box; transform-origin: center; animation: ic-face 3.2s var(--ease-pop) infinite; animation-delay: calc(var(--i) * .22s); }
  @keyframes ic-face { 0% { opacity: 0; transform: translateY(-14px) scale(.7); } 18%, 82% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
  .ic-orbit { animation: spin 3.4s linear infinite; transform-origin: 60px 64px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .ic-arrow { animation: rise 2.2s var(--ease-out) infinite; }
  @keyframes rise { 0% { opacity: 0; transform: translateY(10px); } 30%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }


}

/* 10. Mouvement réduit --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .intro-pending .desk .pop { opacity: 1; }
  .desk::after { display: none; }
}

/* Animations de la v2 (pièces, carte, menu) : uniquement sans « mouvement réduit » */
@media (prefers-reduced-motion: no-preference) {
  .rec-dot { animation: blink 1.4s steps(1) infinite; }
  @keyframes blink { 50% { opacity: .15; } }
  .tab-stroke { stroke-dasharray: 160; animation: draw 3.2s ease-in-out infinite; }
  @keyframes draw { 0% { stroke-dashoffset: 160; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -160; } }
  .soft-beam { animation: glow 4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-curtain, .cursor-dot, .cursor-ring { display: none; }
  .site-nav { transition: none; }
}

/* 11. Mascotte (tête en cube jaune, assets/img/mascotte.svg) -------------- */
.mascot-hero {
  position: absolute; z-index: 3; left: 0; top: -2%; width: clamp(84px, 11vw, 138px);
  pointer-events: none; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.hero-scene { position: relative; }
.mascot-hero img { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgb(var(--sh) / .18)); }
.mascot-bubble {
  position: absolute; left: 82%; top: 6%; padding: 8px 14px 9px; border-radius: 18px 18px 18px 4px;
  background: var(--surface); box-shadow: var(--clay); color: var(--ink);
  font: 800 clamp(.85rem, .75rem + .4vw, 1.05rem)/1 var(--font-display); white-space: nowrap;
}
@media (max-width: 979px) { .mascot-hero { top: -6px; } }
.is-diving .mascot-hero { opacity: 0; transform: translateY(-10px); }
.intro-pending .mascot-hero { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .mascot-hero img { animation: mascot-bob 4.6s ease-in-out infinite; transform-origin: 50% 100%; }
  @keyframes mascot-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
  .mascot-bubble { animation: bubble-in .6s var(--ease-pop) .9s both; transform-origin: 0 100%; }
  @keyframes bubble-in { from { opacity: 0; transform: scale(.4); } }
}
.id-avatar img { width: 100%; height: 100%; transform: translateY(-4px) rotate(-4deg); transition: transform .6s var(--ease-pop); }
.id-card:hover .id-avatar img { transform: translateY(-8px) rotate(3deg); }
.mascot-404 { width: 96px; height: auto; margin: 0 auto 14px; transform: rotate(-9deg); filter: drop-shadow(0 12px 16px rgb(var(--sh) / .18)); }

/* 12. Parcours interactif (page Sites web) : créer, refaire, modifier ----- */
.parcours { padding: clamp(14px, 2.4vw, 28px); border-radius: 36px; background: var(--surface); box-shadow: var(--clay-lift); }
.pc-tabs { display: grid; gap: 10px; }
@media (min-width: 760px) { .pc-tabs { grid-template-columns: repeat(3, 1fr); } }
.pc-tab {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 20px; cursor: pointer; text-align: left;
  background: var(--paper); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .25s, box-shadow .25s, transform .3s var(--ease-pop);
}
.pc-tab:hover { background: var(--yellow-lighter); }
.pc-tab b { display: block; font: 800 1.1rem/1.15 var(--font-display); }
.pc-tab small { display: block; font-size: .86rem; color: var(--mute); }
.pc-tab-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); font: 800 .95rem/1 var(--font-display); box-shadow: inset 0 0 0 1.5px var(--line); }
.pc-tab[aria-selected="true"] { background: var(--yellow); color: var(--ink); box-shadow: inset 0 -4px 0 var(--yellow-dark); }
.pc-tab[aria-selected="true"] small { color: var(--ink-t); }
.pc-tab[aria-selected="true"] .pc-tab-n { background: #fff; color: var(--ink); box-shadow: none; }
.pc-intro { margin: 20px 4px 6px; color: var(--ink-t); font-weight: 500; }

/* Étapes : frise cliquable (défile horizontalement sur mobile) */
.pc-steps { position: relative; list-style: none; display: flex; gap: 6px; margin: 10px 0 0; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pc-steps::-webkit-scrollbar { display: none; }
.pc-steps li { flex: 1 0 150px; scroll-snap-align: center; position: relative; }
.pc-steps li + li::before { /* trait entre deux étapes */
  content: ""; position: absolute; left: -6px; top: 26px; width: 6px; height: 2px; background: var(--line);
}
.pc-step {
  display: grid; gap: 3px; width: 100%; height: 100%; padding: 12px 14px; border: 0; border-radius: 18px; cursor: pointer; text-align: left;
  background: none; color: var(--ink); font: inherit; transition: background-color .2s;
}
.pc-step:hover { background: var(--yellow-lighter); }
.pc-step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--field); font: 800 .8rem/1 var(--font-display); transition: background-color .25s, color .25s; }
.pc-step-t { font: 700 1rem/1.2 var(--font-display); margin-top: 4px; }
.pc-step-d { font-size: .82rem; color: var(--mute); }
.pc-step.is-done .pc-step-n { background: var(--green-light); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--green); }
.pc-step[aria-current="step"] { background: var(--yellow-lighter); }
.pc-step[aria-current="step"] .pc-step-n { background: var(--yellow); box-shadow: inset 0 -2px 0 var(--yellow-dark); }

/* Détail de l'étape : illustration + texte court */
.pc-details { margin-top: 6px; }
.pc-detail { display: grid; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 8px 0 4px; }
.pc-detail + .pc-detail { margin-top: 28px; }
.js .pc-detail + .pc-detail { margin-top: 0; }
@media (min-width: 860px) { .pc-detail { grid-template-columns: 1.15fr 1fr; } }
.pc-art { margin: 0; padding: clamp(10px, 2vw, 22px); border-radius: 26px; background: radial-gradient(90% 90% at 30% 20%, #fff, var(--yellow-lighter) 70%, var(--yellow-light)); }
.pc-svg { width: 100%; height: auto; overflow: visible; }
.pc-comic { font-family: "Comic Sans MS", "Comic Sans", cursive; }
.pc-mono { font-family: ui-monospace, Menlo, monospace; }
.pc-strike { text-decoration: line-through; }
.pc-time { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 5px 12px 6px; border-radius: 999px; background: var(--yellow-light); color: var(--yellow-ink); font: 700 .85rem/1 var(--font-body); }
.pc-text h3 { display: grid; gap: 4px; margin: 0 0 10px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); outline: none; }
.pc-num { font: 700 .8rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pc-text > p:not(.pc-time) { font-size: 1.08rem; color: var(--ink-t); margin-bottom: 16px; }
.pc-roles { display: grid; gap: 8px; margin: 0 0 20px; }
.pc-roles div { display: flex; align-items: baseline; gap: 10px; }
.pc-roles dt { flex: none; min-width: 52px; padding: 4px 10px 5px; border-radius: 999px; text-align: center; font: 700 .78rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.pc-roles div:first-child dt { background: var(--blue-light); color: var(--blue-ink); }
.pc-roles div:last-child dt { background: var(--yellow); color: var(--ink); }
.pc-roles dd { margin: 0; color: var(--ink-t); }
.pc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-arrow { min-height: 44px; padding: 8px 4px; border: 0; background: none; cursor: pointer; font: 700 1rem/1 var(--font-display); color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.pc-arrow:hover { text-decoration-color: currentColor; }
.pc-arrow--next { padding: 10px 18px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); text-decoration: none; box-shadow: inset 0 2px 0 rgb(255 255 255 / .32), inset 0 -4px 0 var(--yellow-dark); }
.pc-arrow--next:hover { background: var(--yellow-hover); color: var(--ink); }
.pc-note { margin: 18px 4px 0; font-size: .88rem; color: var(--mute); }
/* Sans JavaScript : toutes les étapes à la suite, sans onglets ni flèches */
html:not(.js) .pc-tabs, html:not(.js) .pc-steps, html:not(.js) .pc-arrow { display: none; }
html:not(.js) .pc-panel + .pc-panel { margin-top: 40px; }

/* Animation de l'illustration à chaque changement d'étape */
@media (prefers-reduced-motion: no-preference) {
  .pc-detail.is-active .pa { animation: pa-in .55s var(--ease-pop) both; animation-delay: calc(.08s + var(--i) * .14s); transform-box: fill-box; transform-origin: 50% 70%; }
  @keyframes pa-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }
  .pc-detail.is-active .pc-text { animation: pc-text-in .5s var(--ease-out) both; }
  @keyframes pc-text-in { from { opacity: 0; transform: translateX(14px); } }
}

/* « Toujours inclus » */
.inclus { margin-top: clamp(32px, 5vw, 56px); }
.inclus h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
.inclus-list { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.inclus-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--clay); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.inclus-list li:nth-child(6n+2) svg { background: var(--coral-light); }
.inclus-list li:nth-child(6n+3) svg { background: var(--blue-light); }
.inclus-list li:nth-child(6n+4) svg { background: var(--green-light); }
.inclus-list li:nth-child(6n+5) svg { background: var(--violet-light); }
.inclus-list li:nth-child(6n+6) svg { background: var(--pink-light); }
.inclus-list svg { flex: none; width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: var(--yellow); fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Bouton « Devis gratuit » fixe en bas d'écran (mobile uniquement) */
.cta-bar { display: none; }

/* Bandeau cookies : discret, en bas à gauche ; « Refuser » et « Accepter » ont exactement le même poids */
.cookie-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 9000; max-width: 420px;
  padding: 20px 22px 18px; border-radius: 24px; background: var(--surface); box-shadow: var(--clay-lift);
  animation: cookie-in .5s var(--ease-pop) both;
}
.cookie-banner p { margin: 0 0 10px; font-size: .95rem; color: var(--ink-t); }
.cookie-banner .cookie-titre { font: 800 1.1rem/1.2 var(--font-display); color: var(--ink); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.footer-cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.footer-cookies[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 759px) {
  .cookie-banner { bottom: calc(76px + env(safe-area-inset-bottom)); padding: 14px 16px 12px; border-radius: 18px; }
  .cookie-banner p { font-size: .82rem; line-height: 1.4; margin-bottom: 6px; }
  .cookie-banner .cookie-titre { font-size: .95rem; }
  .cookie-actions { margin-top: 8px; gap: 8px; }
  .cookie-actions .btn { min-height: 38px; padding-block: 6px 8px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
@media (max-width: 759px) {
  .cta-bar {
    position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
    background: var(--yellow); color: var(--ink); font: 700 1.05rem/1 var(--font-display); text-decoration: none;
    box-shadow: inset 0 2px 0 rgb(255 255 255 / .35), inset 0 -5px 0 var(--yellow-dark), 0 14px 30px -10px rgb(var(--sh) / .45);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity .3s, transform .4s var(--ease-pop), visibility 0s .4s;
  }
  .cta-bar:hover { color: var(--ink); }
  .cta-bar.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-footer { padding-bottom: 96px; }
}

/* Lien « en savoir plus » et avis clients */
.more-link { font: 700 1.02rem var(--font-display); color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.more-link::after { content: " →"; }
.more-link:hover { text-decoration-color: currentColor; }
.avis-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .avis-grid { grid-template-columns: repeat(3, 1fr); } }
.avis { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.avis blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-t); }
.avis blockquote::before { content: "“"; display: block; height: .5em; font: 800 3.4rem/1 var(--font-display); color: var(--yellow-dark); }
.avis figcaption { display: grid; margin-top: auto; }
.avis figcaption span { font-size: .9rem; color: var(--mute); }
[data-parcours] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 859px) { .pc-steps { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); } }
.pc-panel[hidden], .pc-detail[hidden] { display: none; }

/* 13. Écran d'accueil : bureau vu de dessus (photo Blender), cartes services, souris -- */
.splash {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center;
  min-height: 100vh; min-height: 100svh; margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 28px) var(--gutter) 84px; text-align: center; background: #E9DCC6;
}
.splash-photo, .splash-photo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.splash-photo img { object-fit: cover; }
.splash::before { /* éclaircit le centre du tapis : le texte reste parfaitement lisible */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 46% at 50% 52%, rgb(250 249 246 / .72), rgb(250 249 246 / .35) 60%, rgb(250 249 246 / 0) 85%);
}
.splash-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; width: min(1000px, 100%); }
.splash-title { margin: 0; font-size: clamp(3.2rem, 1.6rem + 7vw, 7.6rem); font-weight: 800; line-height: .95; letter-spacing: -.02em; color: var(--ink);
  text-shadow: 0 1px 0 rgb(255 255 255 / .8), 0 10px 30px rgb(255 255 255 / .6); }
.splash-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: .06em; }
.splash-logo { /* logo 3D (cube dans son anneau) devant le nom */
  width: 2.2em; height: auto; margin: -.3em -.04em -.25em -.25em;
}
.splash-title b { position: relative; margin-left: .22em; font-weight: 800; }
.splash-title b::after { /* trait de surligneur jaune sous « Lab » */
  content: ""; position: absolute; left: -.04em; right: -.06em; bottom: .06em; height: .26em; z-index: -1;
  background: var(--yellow); border-radius: .1em; transform: rotate(-1.5deg);
}
.splash-sub { max-width: 34rem; margin: 0 auto 12px; padding: 6px 16px 8px; border-radius: 18px; background: rgb(255 255 255 / .78); font: 600 clamp(1rem, .85rem + .6vw, 1.3rem)/1.4 var(--font-body); color: var(--ink); text-align: center; text-wrap: balance; }
.splash-sub i { font-style: normal; color: var(--yellow-deep); margin: 0 .45em; }

/* Cartes « services » posées sur le tapis */
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 32px); width: 100%; margin: 4px 0 10px; }
.sp-card {
  --rot: calc((var(--k) - 1) * 2.2deg);
  position: relative; display: grid; gap: 4px; align-content: start; padding: 10px 10px 14px; border-radius: 12px; text-align: left; text-decoration: none; color: var(--ink);
  background: #FFFEFB; transform: rotate(var(--rot));
  box-shadow: 0 1px 1px rgb(40 30 20 / .1), 0 8px 16px -8px rgb(40 30 20 / .3), 0 24px 40px -22px rgb(40 30 20 / .4);
  transition: transform .45s var(--ease-pop), box-shadow .45s var(--ease-out);
}
.sp-card:nth-child(2) { --rot: 1.4deg; }
.sp-card:hover, .sp-card.is-hover { color: var(--ink); transform: translateY(-8px) rotate(0); box-shadow: 0 1px 1px rgb(40 30 20 / .08), 0 18px 28px -12px rgb(40 30 20 / .35), 0 40px 60px -30px rgb(40 30 20 / .45); }
.sp-card-art { width: 100%; height: auto; border-radius: 8px; margin-bottom: 6px; }
.sp-card strong { font: 800 clamp(1rem, .9rem + .5vw, 1.3rem)/1.15 var(--font-display); }
.sp-card span { font-size: .9rem; line-height: 1.4; color: var(--ink-t); }
.sp-card small { display: none; color: var(--ink-t); font-weight: 600; }
.sp-card em { margin-top: 6px; font: 700 .85rem/1 var(--font-display); font-style: normal; color: var(--yellow-ink); }
.sp-card::after { /* petit ruban adhésif */
  content: ""; position: absolute; top: -8px; left: 50%; width: 54px; height: 16px; margin-left: -27px; border-radius: 2px;
  background: rgb(255 214 10 / .7); transform: rotate(-3deg); box-shadow: 0 1px 2px rgb(40 30 20 / .12);
}
.sp-card:nth-child(2)::after { background: rgb(255 122 89 / .6); transform: rotate(4deg); }
.sp-card:nth-child(3)::after { background: rgb(79 124 255 / .55); transform: rotate(-5deg); }
.splash-cta { margin-top: 4px; }

/* Garanties */
.sp-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; }
.sp-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 8px; border-radius: 999px; background: rgb(255 255 255 / .85); box-shadow: 0 1px 2px rgb(40 30 20 / .12); font-size: .86rem; font-weight: 600; color: var(--ink); }
.sp-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .sp-trust li { background: rgb(255 255 255 / .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } }

/* La souris : déplacée en JS d'une carte à l'autre */
.sp-mouse { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(70px, 6.2vw, 104px); height: auto; pointer-events: none; opacity: 0;
  transform: translate(var(--x, 60vw), var(--y, 70vh)) rotate(var(--r, -8deg)) scale(var(--s, 1)); transform-origin: 50% 35%;
  transition: transform 1.15s cubic-bezier(.45, 0, .25, 1), opacity .6s; will-change: transform; }
.sp-mouse.is-on { opacity: 1; }
.sp-mouse.is-click { --s: .95; transition-duration: .18s; }

.splash-down {
  position: absolute; left: 50%; bottom: 16px; z-index: 1; display: grid; justify-items: center; gap: 0; transform: translateX(-50%);
  padding: 6px 14px 4px; border-radius: 999px; background: rgb(255 255 255 / .75);
  color: var(--ink); font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.splash-down:hover { color: var(--ink); background: #fff; }
.splash-down svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-title { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.1rem); }

/* Téléphone : cartes compactes (titre + visuel), garanties sur deux lignes */
@media (max-width: 640px) {
  .splash { padding-bottom: 70px; }
  .splash-inner { gap: 10px; }
  .sp-cards { gap: 8px; }
  .sp-card { padding: 6px 6px 9px; border-radius: 9px; }
  .sp-card span, .sp-card em { display: none; }
  .sp-card strong { font-size: .82rem; text-align: center; }
  .sp-card::after { width: 36px; height: 11px; margin-left: -18px; top: -6px; }
  .sp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  .sp-trust li { justify-content: center; padding: 6px 8px; font-size: .8rem; line-height: 1.25; }
  .sp-trust svg { width: 15px; height: 15px; }
  .splash-down { display: none; }
  .splash-sub { font-size: .98rem; padding: 6px 12px 7px; }
  .sp-card small { display: block; font-size: .78rem; line-height: 1.2; text-align: center; }
  .splash-title { flex-direction: column; }
  .splash-logo { width: 2.4em; margin: 0 0 -.05em; }
  .sp-long { display: none; }
  .sp-mouse { width: 54px; }
}
@media (max-height: 760px) and (min-width: 641px) { .sp-card span { display: none; } .splash-title { font-size: clamp(3rem, 1.4rem + 5.6vw, 6rem); } }

@media (prefers-reduced-motion: no-preference) {
  .splash-title, .splash-sub, .sp-trust, .splash-cta { animation: page-in .8s var(--ease-out) both; }
  .splash-sub { animation-delay: .12s; }
  .splash-logo { animation: sp-logo-in .9s var(--ease-pop) both, sp-logo-flotte 5s ease-in-out 1s infinite; }
  @keyframes sp-logo-in { from { opacity: 0; transform: translateY(-.4em) rotate(-14deg) scale(.6); } }
  @keyframes sp-logo-flotte { 0%, 100% { transform: none; } 50% { transform: translateY(-.06em) rotate(-2deg); } }
  .sp-card { animation: sp-card-in .8s var(--ease-pop) backwards; animation-delay: calc(.25s + var(--k) * .12s); }
  @keyframes sp-card-in { from { opacity: 0; transform: translateY(30px) rotate(calc(var(--rot) * 4)); } }
  .splash-cta { animation-delay: .6s; }
  .sp-trust { animation-delay: .75s; }
  .splash-down svg { animation: sp-nudge 1.8s ease-in-out 2s infinite; }
  @keyframes sp-nudge { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }
}
@media (prefers-reduced-motion: reduce) { .sp-mouse { display: none; } }

/* Trait de progression de lecture (jaune, sous la couture) */
.read-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--yellow), var(--coral)); transform-origin: left; transform: scaleX(var(--lecture, 0)); pointer-events: none; }

/* Instagram : icône dans la barre, lien dans le menu mobile et le pied de page */
.nav-insta { display: grid; place-items: center; width: 42px; height: 42px; margin-left: 6px; border-radius: 50%; color: var(--ink); transition: background-color .2s, transform .3s var(--ease-pop); }
.nav-insta:hover { color: var(--ink); background: var(--pink-light); transform: rotate(-8deg); }
.nav-insta svg, .footer-insta svg, .nav-extra-insta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav-insta svg .plein, .footer-insta svg .plein, .nav-extra-insta svg .plein { fill: currentColor; stroke: none; }
.footer-insta, .nav-extra-insta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-insta svg, .nav-extra-insta svg { width: 20px; height: 20px; }
.nav-extra-insta { justify-content: center; }
@media (max-width: 999px) { .nav-social { display: none; } }



/* Tarifs et formules de suivi ------------------------------------------- */
.tarif-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .tarif-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tarif { display: flex; flex-direction: column; padding-top: clamp(28px, 4vw, 40px); }
.tarif--yellow { background: linear-gradient(180deg, var(--yellow-wash), var(--yellow-lighter)); }
.tarif--blue   { background: linear-gradient(180deg, var(--blue-wash), var(--blue-light)); }
.tarif--coral  { background: linear-gradient(180deg, var(--coral-wash), var(--coral-light)); }
.tarif--green  { background: linear-gradient(180deg, var(--green-wash), var(--green-light)); }
.tarif--violet { background: linear-gradient(180deg, var(--violet-wash), var(--violet-light)); }
.tarif h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 6px; }
.tarif-sub { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin: 0 0 8px; }
.tarif-price { margin: 4px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em; }
.tarif-price strong { font: 800 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -.01em; }
.tarif-from, .tarif-unit { font-weight: 600; color: var(--mute); font-size: .95rem; }
.tarif-lead { margin: 0 0 16px; color: var(--ink-t); }
.tarif-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.tarif-list li { display: flex; gap: 10px; align-items: flex-start; }
.tarif-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.tarif-foot { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed rgb(var(--sh) / .22); font-size: .92rem; color: var(--ink-t); }
.tarif--star { box-shadow: var(--clay), 0 0 0 3px var(--yellow); }
.tarif-star { position: absolute; top: -13px; right: 20px; padding: 5px 14px 6px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 700 .8rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--clay); }
.tarif-note { max-width: 46rem; margin: 28px auto 0; text-align: center; color: var(--mute); font-size: .95rem; }
.tarif-cta { margin: 24px 0 0; text-align: center; }

/* Types de sites : métiers + téléphone animé (web.html#types) --------------- */
.metiers { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(24px, 4vw, 40px); }
.metier { min-height: 46px; padding: 10px 18px 12px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 1rem/1 var(--font-body); box-shadow: var(--clay); cursor: pointer; transition: transform .35s var(--ease-pop), background-color .2s; }
.metier:hover { transform: translateY(-2px); background: var(--yellow-lighter); }
.metier[aria-pressed="true"] { background: var(--yellow); box-shadow: inset 0 -4px 0 var(--yellow-dark), var(--clay); }
.metier:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 640px) {
  .metiers { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .metiers::-webkit-scrollbar { display: none; }
  .metier { flex: none; scroll-snap-align: start; }
}

.types { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: radial-gradient(90% 100% at 80% 30%, #fff, var(--yellow-wash) 60%, var(--yellow-lighter)); box-shadow: var(--clay); }
@media (min-width: 900px) { .types { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.type h3 { margin: 0 0 16px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.type .tarif-list { margin-bottom: 20px; }
.type-price { margin: 0 0 18px; color: var(--ink-t); }
.type-price strong { font: 800 1.25rem/1 var(--font-display); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .type:not([hidden]) { animation: page-in .5s var(--ease-out) both; } }

.types-stage { display: grid; justify-items: center; gap: 12px; }
.types-note { margin: 0; font-size: .88rem; color: var(--mute); text-align: center; }
.phone { position: relative; width: min(300px, 100%); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 44px; background: #1d1c1b; box-shadow: inset 0 0 0 2px #3a3836, 0 30px 60px -28px rgb(var(--sh) / .5), 0 10px 20px -10px rgb(var(--sh) / .3); transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; z-index: 3; width: 74px; height: 20px; margin-left: -37px; border-radius: 999px; background: #1d1c1b; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: #fff; cursor: pointer; }
.phone.is-swap .phone-screen { animation: ph-swap .5s var(--ease-out); }
@keyframes ph-swap { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.phone-finger { position: absolute; left: 0; top: 0; z-index: 4; width: 24px; margin: -2px 0 0 -3px; pointer-events: none; opacity: 0;
  transform-origin: 12% 6%; transform: translate(var(--fx, 150px), var(--fy, 420px)); filter: drop-shadow(0 3px 4px rgb(var(--sh) / .35));
  transition: transform .7s cubic-bezier(.45, 0, .25, 1), opacity .3s; }
.phone-finger svg { display: block; width: 100%; height: auto; }
.phone-finger.is-on { opacity: 1; }
.phone-finger.is-tap { transform: translate(var(--fx), var(--fy)) scale(.84); transition-duration: .15s; }
@media (prefers-reduced-motion: reduce) { .phone-finger { display: none; } .phone { transform: none; } }

/* Mini-interface dans l'écran */
.ph { position: relative; display: flex; flex-direction: column; height: 100%; font: 500 13px/1.3 var(--font-body); color: var(--ink); }
.ph button { font: inherit; color: inherit; cursor: pointer; }
.ph-bar { display: flex; align-items: center; gap: 9px; padding: 40px 16px 12px; border-bottom: 1px solid var(--line); }
.ph-bar b { display: block; font: 800 15px/1.1 var(--font-display); }
.ph-bar small { color: var(--mute); font-size: 11px; }
.ph-logo { flex: none; width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12); }
.ph-body { flex: 1; display: flex; flex-direction: column; padding: 12px 16px 16px; overflow: hidden; }
.ph-title { margin: 0 0 4px; font: 800 18px/1.15 var(--font-display); }
.ph-label { margin: 10px 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ph-chips, .ph-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-chips button, .ph-slots button { min-height: 34px; padding: 6px 4px; border: 0; border-radius: 10px; background: var(--stone-lighter); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; transition: background-color .2s, transform .25s var(--ease-pop), box-shadow .2s; }
.ph-chips button.is-on, .ph-slots button.is-on { background: var(--ph); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .14); transform: scale(1.04); }
.ph-slots button:disabled { color: #b3ada6; text-decoration: line-through; background: transparent; cursor: default; }
.ph-cta { width: 100%; min-height: 44px; margin-top: auto; padding: 10px; border: 0; border-radius: 14px; background: var(--ink); color: #fff !important; font-weight: 700 !important; transition: opacity .25s, transform .25s var(--ease-pop); }
.ph-cta:disabled { opacity: .3; cursor: default; }
.ph-cta:not(:disabled):active { transform: scale(.97); }

/* Boutique */
.ph-cart { position: relative; margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--stone-lighter); }
.ph-cart svg { width: 20px; height: 20px; fill: currentColor; }
.ph-cart svg path { fill: none; }
.ph-cart i { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--ph); font: 700 10px/17px var(--font-body); font-style: normal; text-align: center; }
.ph-cart.is-bump { animation: ph-bump .45s var(--ease-pop); }
@keyframes ph-bump { 40% { transform: scale(1.25) rotate(-8deg); } }
.ph-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 14px; }
.ph-prod { display: grid; gap: 3px; }
.ph-prod b { font-size: 12.5px; }
.ph-prod small { color: var(--mute); }
.ph-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; }
.ph-img span { width: 42%; height: 52%; border-radius: 10px 10px 14px 14px; box-shadow: inset 0 -6px 0 rgb(0 0 0 / .12), 0 8px 12px -6px rgb(0 0 0 / .3); }
.ph-prod:nth-child(2) .ph-img span { width: 46%; height: 46%; border-radius: 50% 50% 40% 40%; }
.ph-prod button { min-height: 30px; margin-top: 4px; border: 0; border-radius: 9px; background: var(--stone-lighter); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; }
.ph-prod button:active { background: var(--ph); }

/* Vitrine */
.ph-hero { display: grid; gap: 12px; padding: 18px 14px 14px; border-radius: 18px; background: linear-gradient(150deg, #fff 0%, color-mix(in srgb, var(--c) 35%, #fff) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.ph-hero b { font: 800 19px/1.15 var(--font-display); }
.ph-hero .ph-cta { margin: 0; }
.ph-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-gal span { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(135deg, #e9dccb, #c9a77c); }
.ph-gal span:nth-child(2) { background: linear-gradient(135deg, #f1e7da, #a98257); }
.ph-gal span:nth-child(3) { background: linear-gradient(135deg, #d9c4a6, #8f6a43); }
.ph-gal span:nth-child(4) { background: linear-gradient(135deg, #efe2cf, #b8915f); }

/* Outil sur mesure */
.ph-opts { display: grid; gap: 6px; }
.ph-opts button { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 10px; background: var(--stone-lighter); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; text-align: left; }
.ph-opts button span { flex: none; width: 18px; height: 18px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--field); transition: background-color .2s; }
.ph-opts button small { margin-left: auto; color: var(--mute); }
.ph-opts button.is-on span { background: var(--ph); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15); }
.ph-total { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.ph-total small { color: var(--mute); font-weight: 600; }
.ph-total b { font: 800 24px/1 var(--font-display); }

/* Feuilles (paiement, formulaire) et confirmation */
.ph-sheet { position: absolute; inset: auto 0 0; z-index: 2; display: grid; gap: 10px; padding: 18px 16px 20px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -12px 30px rgb(var(--sh) / .18); transform: translateY(105%); transition: transform .45s var(--ease-out); }
.ph-sheet::before { content: ""; justify-self: center; width: 40px; height: 4px; margin-top: -8px; border-radius: 4px; background: var(--line); }
.ph-sheet.is-open { transform: none; }
.ph-sheet b { font: 800 16px/1.2 var(--font-display); }
.ph-sheet .ph-cta { margin-top: 4px; }
.ph-field { display: grid; gap: 3px; padding: 8px 11px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--field); }
.ph-field small { font-size: 10.5px; color: var(--mute); }
.ph-field i { min-height: 1.3em; font-style: normal; font-weight: 600; }
.ph-field i::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--ink); }
.ph-ok { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; background: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.ph-ok.is-open { opacity: 1; visibility: visible; }
.ph-ok b { font: 800 19px/1.2 var(--font-display); }
.ph-ok small { color: var(--ink-t); font-size: 13px; }
.ph-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ph); box-shadow: inset 0 -5px 0 rgb(0 0 0 / .14); }
.ph-check svg { width: 34px; height: 34px; }
.ph-ok.is-open .ph-check { animation: ph-pop .6s var(--ease-pop); }
@keyframes ph-pop { from { transform: scale(.3) rotate(-30deg); } }
@media (prefers-reduced-motion: reduce) { .ph-sheet, .ph-ok { transition: none; } .ph-ok.is-open .ph-check, .phone.is-swap .phone-screen, .ph-cart.is-bump { animation: none; } }
.ph-banner { flex: none; height: 74px; margin: 0 0 12px; border-radius: 16px; background:
  radial-gradient(circle at 82% 30%, rgb(255 255 255 / .7) 0 14px, transparent 15px),
  radial-gradient(circle at 18% 120%, color-mix(in srgb, var(--ph) 70%, #fff) 0 40px, transparent 41px),
  linear-gradient(135deg, color-mix(in srgb, var(--ph) 22%, #fff), color-mix(in srgb, var(--ph) 55%, #fff)); }
.ph--shop .ph-banner { height: 56px; }
@media (max-width: 899px) { .types-stage { order: -1; } .types { padding: 20px 16px 24px; } .phone { width: min(280px, 100%); } }

/* Accueil : vitrine des réalisations (la preuve avant les promesses) ---------- */
.work { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) {
  .work { grid-template-columns: 1fr 1fr; }
  .work-item--big { grid-column: 1 / -1; }
  .work-item--big .work-link { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: clamp(20px, 3vw, 40px); }
  .work-item--big .work-shot { grid-row: 1 / -1; margin: 0; }
  .work-item--big .work-tag { grid-row: 2; } .work-item--big .work-title { grid-row: 3; } .work-item--big .work-desc { grid-row: 4; } .work-item--big .work-more { grid-row: 5; margin-top: 10px; }
}
.work-link { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 12px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease-pop), box-shadow .3s; }
.work-link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--clay-lift); }
.work-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.work-shot { display: block; overflow: hidden; margin-bottom: 10px; border-radius: calc(var(--radius) - 10px); background: var(--stone-lighter); aspect-ratio: 16 / 10; }
.work-shot--video { aspect-ratio: 16 / 9; }
.work-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease-out); }
.work-link:hover .work-shot img { transform: scale(1.03); }
.work-tag, .work-title, .work-desc, .work-more { padding-inline: 8px; }
.work-desc { color: var(--ink-t); font-size: .98rem; line-height: 1.5; }
.work-tag { font: 700 .8rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow-ink); }
.work-title { font: 800 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.2 var(--font-display); }
.work-more { margin-top: 4px; font-weight: 700; font-size: .95rem; }
.work-cta { margin: clamp(20px, 3vw, 32px) 0 0; text-align: center; font-weight: 700; }
.work-cta a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .work-link, .work-link:hover, .work-link:hover .work-shot img { transform: none; } }

/* Accueil : atelier interactif « Un site qui vous ressemble » ----------------- */
.atelier { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3.5vw, 44px); border-radius: var(--radius); background: radial-gradient(120% 120% at 100% 0%, var(--yellow-wash), #fff 55%); box-shadow: var(--clay); }
@media (min-width: 960px) { .atelier { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.atelier-controls { display: grid; gap: 22px; }
.atelier-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.atelier-group legend { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font: 800 1.15rem/1.2 var(--font-display); }
.atelier-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); font: 800 .85rem/1 var(--font-display); box-shadow: inset 0 -3px 0 var(--yellow-dark); }
.atelier-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.atelier-swatch { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -4px 0 rgb(0 0 0 / .14), 0 0 0 3px #fff, 0 0 0 4px var(--line); cursor: pointer; transition: transform .3s var(--ease-pop), box-shadow .2s; }
.atelier-swatch:hover { transform: translateY(-2px) scale(1.06); }
.atelier-swatch[aria-pressed="true"] { box-shadow: inset 0 -4px 0 rgb(0 0 0 / .14), 0 0 0 3px #fff, 0 0 0 6px var(--ink); transform: scale(1.08); }
.atelier-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.atelier-chip, .atelier-switch { min-height: 44px; padding: 10px 16px 11px; border: 0; border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 .95rem/1 var(--font-body); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background-color .2s, box-shadow .2s, transform .3s var(--ease-pop); }
.atelier-chip:hover, .atelier-switch:hover { background: var(--yellow-lighter); }
.atelier-chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.atelier-swatch:focus-visible, .atelier-chip:focus-visible, .atelier-switch:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.atelier-switch { display: inline-flex; align-items: center; gap: 12px; padding-left: 8px; }
.atelier-knob { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--stone-soft); transition: background-color .25s; }
.atelier-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgb(var(--sh) / .25); transition: transform .35s var(--ease-pop); }
.atelier-switch[aria-pressed="true"] .atelier-knob { background: var(--green); }
.atelier-switch[aria-pressed="true"] .atelier-knob::after { transform: translateX(18px); }
.atelier-cta { margin: 4px 0 0; }

/* Le mini-site : --mc = couleur choisie ; data-style = typo et arrondis ; data-fonction = module affiché */
.mini { --mc: #FFD60A; --mf: var(--font-display); --mr: 14px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -30px rgb(var(--sh) / .45), 0 0 0 1px rgb(var(--sh) / .08); transition: transform .5s var(--ease-out); }
.mini.is-pulse { animation: mini-pulse .5s var(--ease-out); }
@keyframes mini-pulse { 40% { transform: scale(.985); } }
.mini[data-style="elegant"] { --mf: Georgia, "Times New Roman", serif; --mr: 2px; }
.mini[data-style="doux"] { --mf: var(--font-display); --mr: 28px; }
.mini-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--stone-lighter); border-bottom: 1px solid var(--line); }
.mini-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--stone-soft); }
.mini-bar span { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; font: 600 .75rem/1 var(--font-body); color: var(--mute); }
.mini-page { padding: clamp(14px, 2.4vw, 24px); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mini-logo { display: flex; align-items: center; gap: 8px; font: 800 1rem/1 var(--mf); }
.mini-logo span { width: 22px; height: 22px; border-radius: calc(var(--mr) / 2); background: var(--mc); transition: background-color .5s, border-radius .4s; }
.mini-links { display: flex; gap: 8px; }
.mini-links i { width: 34px; height: 8px; border-radius: 4px; background: var(--stone-light); }
.mini-hero { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 10px; padding: clamp(20px, 3.5vw, 36px); border-radius: var(--mr); background: color-mix(in srgb, var(--mc) 22%, #fff); transition: background-color .5s, border-radius .4s; }
.mini-kicker { margin: 0; font: 700 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-t); }
.mini-title { position: relative; z-index: 1; margin: 0; font: 800 clamp(1.4rem, 1rem + 1.6vw, 2.2rem)/1.05 var(--mf); letter-spacing: -.01em; }
.mini[data-style="elegant"] .mini-title { font-weight: 400; font-style: italic; }
.mini-btn { position: relative; z-index: 1; display: inline-block; padding: 10px 18px 11px; border-radius: var(--mr); background: var(--mc); color: var(--ink); font: 700 .9rem/1 var(--font-body); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .14); transition: background-color .5s, border-radius .4s; }
.mini-shape { position: absolute; border-radius: 50%; background: var(--mc); opacity: .45; transition: background-color .5s; }
.mini-shape--a { width: 120px; height: 120px; right: -30px; top: -30px; }
.mini-shape--b { width: 46px; height: 46px; right: 90px; bottom: 18px; opacity: .7; }
.mini-shape--c { width: 18px; height: 18px; right: 40px; bottom: 60px; opacity: .9; }
.mini-module { display: none; margin-top: 14px; gap: 8px; }
.mini[data-fonction="contact"] .mini-module--contact { display: grid; grid-template-columns: 1fr 1fr; }
.mini-field { height: 34px; border-radius: calc(var(--mr) / 2); box-shadow: inset 0 0 0 1.5px var(--line); }
.mini-field--big { grid-column: 1 / -1; height: 64px; }
.mini[data-fonction="resa"] .mini-module--resa { display: grid; grid-template-columns: repeat(4, 1fr); }
.mini-module--resa span { display: grid; place-items: center; height: 34px; border-radius: calc(var(--mr) / 2); background: var(--stone-lighter); font: 700 .8rem/1 var(--font-body); }
.mini-module--resa span.is-on { background: var(--mc); }
.mini[data-fonction="shop"] .mini-module--shop { display: grid; grid-template-columns: repeat(3, 1fr); }
.mini-module--shop span { display: grid; gap: 6px; padding: 8px; border-radius: var(--mr); background: var(--stone-lighter); font: 700 .85rem/1 var(--font-body); }
.mini-module--shop i { display: block; aspect-ratio: 1; border-radius: calc(var(--mr) / 1.5); background: color-mix(in srgb, var(--mc) 40%, #fff); }
.mini-module > * { animation: mini-in .45s var(--ease-pop) backwards; }
.mini-module > :nth-child(2) { animation-delay: .05s; } .mini-module > :nth-child(3) { animation-delay: .1s; } .mini-module > :nth-child(n+4) { animation-delay: .15s; }
@keyframes mini-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.mini.is-anim .mini-shape--a { animation: mini-orbit 6s ease-in-out infinite; }
.mini.is-anim .mini-shape--b { animation: mini-bob 2.4s ease-in-out infinite; }
.mini.is-anim .mini-shape--c { animation: mini-bob 1.8s ease-in-out .3s infinite; }
.mini.is-anim .mini-title { animation: mini-title 3s var(--ease-out) infinite; }
.mini.is-anim .mini-btn { animation: mini-btn 1.6s ease-in-out infinite; }
@keyframes mini-orbit { 50% { transform: translate(-30px, 20px) scale(1.15); } }
@keyframes mini-bob { 50% { transform: translateY(-14px); } }
@keyframes mini-title { 0% { opacity: 0; transform: translateY(14px); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes mini-btn { 50% { transform: scale(1.05); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .14), 0 0 0 6px color-mix(in srgb, var(--mc) 35%, transparent); } }
@media (max-width: 959px) { .atelier-stage { order: -1; } }
@media (prefers-reduced-motion: reduce) { .mini, .mini * { animation: none !important; transition: none !important; } }

/* Page web : formules de suivi repliées, cartes de prix en carrousel sur téléphone */
.suivi { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay); }
.suivi-summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: clamp(20px, 3vw, 30px); cursor: pointer; list-style: none; border-radius: var(--radius); transition: background-color .2s; }
.suivi-summary::-webkit-details-marker { display: none; }
.suivi-summary:hover { background: var(--yellow-wash); }
.suivi-summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.suivi-summary .tarif-sub { grid-column: 1; margin: 0; }
.suivi-teaser { grid-column: 1; color: var(--ink-t); }
.suivi-chevron { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow-dark); }
.suivi-chevron::before { content: ""; width: 10px; height: 10px; margin-top: -4px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .35s var(--ease-pop); }
.suivi[open] .suivi-chevron::before { margin-top: 4px; transform: rotate(-135deg); }
.suivi-body { padding: 0 clamp(16px, 3vw, 30px) clamp(20px, 3vw, 30px); }
.suivi-lead { margin: 0 0 22px; }
@media (prefers-reduced-motion: no-preference) { .suivi[open] .suivi-body { animation: page-in .5s var(--ease-out); } }
@media (max-width: 899px) {
  .tarif-grid { display: flex; gap: 14px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 18px var(--gutter) 22px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .tarif-grid::-webkit-scrollbar { display: none; }
  .tarif-grid > .tarif { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
  .suivi .tarif-grid { margin-inline: calc(clamp(16px, 3vw, 30px) * -1); padding-inline: clamp(16px, 3vw, 30px); }
  .tarif-hint { display: block; margin: 0 0 4px; font-size: .9rem; font-weight: 600; color: var(--mute); }
}
@media (min-width: 900px) { .tarif-hint { display: none; } }
.footer-h { margin: 0 0 10px; font: 800 1rem/1.2 var(--font-display); }

/* ==========================================================================
   Pages « site internet pour <métier> » (générées par _coulisses/metiers.py)
   --mc = couleur du métier (fonds pâles, démo) ; le jaune reste la couleur des boutons.
   ========================================================================== */
.mt { --mc: var(--yellow); --mc-l: var(--yellow-light); --mc-w: var(--yellow-wash); }
.mt--coral { --mc: var(--coral); --mc-l: var(--coral-light); --mc-w: var(--coral-wash); }
.mt--pink { --mc: var(--pink); --mc-l: var(--pink-light); --mc-w: #FFF5F8; }
.mt--green { --mc: var(--green); --mc-l: var(--green-light); --mc-w: var(--green-wash); }
.mt--blue { --mc: var(--blue); --mc-l: var(--blue-light); --mc-w: var(--blue-wash); }
.mt--oak { --mc: #C9965F; --mc-l: #F3E6D3; --mc-w: #FBF6EE; }

.mt-hero { padding: calc(var(--header-h) + clamp(24px, 4vw, 48px)) 0 clamp(40px, 6vw, 72px); background: radial-gradient(70% 90% at 95% 10%, var(--mc-l), transparent 70%), var(--paper); }
.mt-crumbs { margin-bottom: clamp(18px, 3vw, 32px); font-size: .9rem; color: var(--mute); }
.mt-crumbs a { color: var(--ink-t); }
.mt-hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .mt-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.mt-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); margin: 0 0 18px; }
.mt-problemes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mt-problemes li { display: grid; gap: 4px; padding: 18px 20px 18px 56px; position: relative; border-radius: var(--radius-s); background: var(--surface); box-shadow: var(--clay); }
.mt-problemes li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%; background: var(--mc-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.5 3.5 7-8' fill='none' stroke='%23141414' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1.5px var(--mc); }
.mt-problemes b { font: 800 1.05rem/1.25 var(--font-display); text-decoration: line-through; text-decoration-color: var(--mc); text-decoration-thickness: 2px; color: var(--mute); }
.mt-problemes span { color: var(--ink); }

.mt-demo-section { background: linear-gradient(180deg, var(--paper), var(--mc-w) 30%, var(--mc-w) 85%, var(--paper)); }
.mt-device { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -40px rgb(var(--sh) / .45), 0 0 0 1px rgb(var(--sh) / .08); }
.mt-device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--stone-lighter); border-bottom: 1px solid var(--line); }
.mt-device-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--stone-soft); }
.mt-device-bar i:first-child { background: var(--coral); } .mt-device-bar i:nth-child(2) { background: var(--yellow); } .mt-device-bar i:nth-child(3) { background: var(--green); }
.mt-device-bar span { margin-left: 10px; padding: 5px 14px; border-radius: 999px; background: #fff; font: 600 .82rem/1 var(--font-body); color: var(--mute); }
.mt-device-bar em { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--mc-l); font: 700 .75rem/1 var(--font-body); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 520px) { .mt-device-bar span { display: none; } }

.mt-inclus { display: grid; gap: 20px; }
@media (min-width: 800px) { .mt-inclus { grid-template-columns: 1fr 1fr; } }
.mt-incl { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); box-shadow: var(--clay); }
.mt-incl:first-child { background: linear-gradient(160deg, #fff, var(--mc-w)); }
.mt-incl h3 { margin: 0 0 16px; font-size: 1.3rem; }

.mt-prix { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--ink); color: #fff; }
.mt-prix h2 { color: #fff; margin: 0 0 12px; }
.mt-prix .lead { color: #E8E4DE; }
.mt-prix-links a { color: var(--yellow); font-weight: 700; }
@media (min-width: 900px) { .mt-prix { grid-template-columns: 1.1fr .9fr; } }
.mt-prix-list { display: grid; gap: 12px; }
.mt-prix-item { padding: 18px 22px; border-radius: var(--radius-s); background: #232220; }
.mt-prix-item--main { background: var(--yellow); color: var(--ink); }
.mt-prix-item .offer-tag { margin-bottom: 8px; }
.mt-prix-item:not(.mt-prix-item--main) .offer-tag { background: #2E2D2B; color: #E8E4DE; box-shadow: none; }
.mt-prix-nom { margin: 0; font: 800 1.15rem/1.2 var(--font-display); }
.mt-prix-item .tarif-price { margin: 4px 0 0; }
.mt-prix-item:not(.mt-prix-item--main) .tarif-from { color: #C9C2B8; }
.mt-prix-item--main .tarif-from { color: var(--ink-t); }
.mt-exemple { margin: 24px 0 0; text-align: center; }

.mt-fin-box { display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px); border-radius: var(--radius); text-align: center; background: radial-gradient(90% 120% at 50% 0%, var(--mc-l), var(--yellow-wash)); box-shadow: var(--clay); }
.mt-fin-box h2 { margin: 0; }
.mt-fin-box p { max-width: 40rem; margin: 0 0 6px; color: var(--ink-t); }
.mt-autres { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 28px; }
.mt-autres p { margin: 0; font-weight: 700; }
.mt-autres ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mt-autres a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: var(--clay); transition: transform .3s var(--ease-pop); }
.mt-autres a:hover { transform: translateY(-2px); color: var(--ink); }

/* Les styles des démos métiers sont dans demos.css (refonte du 11/11/2026). */
.metiers-pages { margin: -12px 0 clamp(20px, 3vw, 32px); color: var(--ink-t); }
.metiers-pages a { font-weight: 700; color: var(--ink); }

/* ==========================================================================
   15. Refonte du 11/11/2026 — direction « vitrine » (maquette A validée)
   Papier, encre, jaune pour l'action, une seule bande sombre pour les vidéos.
   Les pastels et les cartes « argile » sont neutralisés ici ; l'accueil utilise
   les classes h-* ci-dessous. Voir _coulisses/DESIGN.md.
   ========================================================================== */
:root {
  --line: #E4DFD7;
  --night: #141414; --on-night: #F4F1EC; --on-night-mute: #B5AFA6; --night-line: #3A3835;
  --radius: 20px; --radius-s: 10px; --container: 1280px; --header-h: 68px;
  /* fonds de section : plus de pastels */
  --yellow-wash: transparent; --coral-wash: transparent; --blue-wash: transparent;
  --violet-wash: transparent; --green-wash: transparent; --stone-wash: transparent;
  /* ombres : un filet, et une ombre courte au survol */
  --clay: 0 0 0 1px var(--line);
  --clay-lift: 0 0 0 1.5px var(--ink), 0 14px 28px -18px rgb(var(--sh) / .35);
}
@media (min-width: 720px) { :root { --gutter: clamp(32px, 4vw, 48px); } }
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1; }
h1 { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.9rem); }
h3 { line-height: 1.1; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* Boutons : aplat jaune et tranche, sans reflet */
.btn { min-height: 52px; padding: 0 1.6rem; font: 700 1.02rem/1 var(--font-body); letter-spacing: 0;
  box-shadow: 0 4px 0 var(--btn-edge); transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out), background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--btn-edge); }
.btn--ghost { --btn-bg: transparent; --btn-edge: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --btn-bg: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink), 0 4px 0 var(--ink); }
.btn--ghost:active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--small { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; box-shadow: 0 3px 0 var(--btn-edge); }

/* Étiquette de haut de page : du texte, plus de pastille en capitales */
.eyebrow { padding: 0; background: none; box-shadow: none; border-radius: 0; font: 600 1rem/1.3 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--yellow-ink); margin-bottom: .9em; }
.eyebrow::before { display: none; }
.hl { white-space: normal; }
.hl::after { display: none; }
.card--tint { background: var(--surface); }

/* En-tête : papier, un filet */
.site-header::before { background: rgb(250 248 245 / .96); border-bottom: 1px solid var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: rgb(250 248 245 / .86); -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px); }
}
.site-header::after { display: none; }
.site-header.is-scrolled { box-shadow: none; }
.site-header.is-scrolled::before { border-bottom-color: var(--line); }
.site-header.is-scrolled .header-inner { min-height: var(--header-h); }
.brand-name::after { display: none; }
.brand-name span { font-weight: 800; }
.nav-toggle { background: none; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; }
.nav-link { border-radius: 0; padding-inline: 0; margin-inline: 14px; }
.nav-link:hover { background: none; }
.nav-link::after { left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 0; background: var(--yellow); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-insta:hover { background: none; }
@media (min-width: 1000px) and (max-width: 1199px) { .nav-link { padding-inline: 0; margin-inline: 9px; } .nav-link::after { left: 0; right: 0; } }
@media (max-width: 999px) {
  .site-nav { background: var(--paper); }
  .nav-link { margin-inline: 0; }
  .nav-link::after { display: none; }
}
.read-progress { display: none; }

/* Pied de page : encre */
.site-footer { margin-top: 0; background: var(--night); color: var(--on-night-mute); padding: clamp(48px, 6vw, 72px) 0 clamp(28px, 3vw, 40px); }
.site-footer > .container { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.site-footer > .container::before { display: none; }
.site-footer a, .footer-brand .brand { color: var(--on-night); }
.site-footer a:hover { color: var(--yellow); }
.footer-brand p { color: var(--on-night-mute); }
.footer-h { color: var(--on-night-mute); font-weight: 600; margin: 0 0 8px; }
.footer-bottom { border-top-color: var(--night-line); color: var(--on-night-mute); }
.footer-cookies { color: var(--on-night); }
.site-footer :focus-visible, .h-night :focus-visible { outline-color: var(--yellow); }

/* Curseur maison retiré : le curseur du visiteur reste le sien */
.cursor-dot, .cursor-ring { display: none !important; }
html.has-cursor, html.has-cursor * { cursor: auto !important; }
html.has-cursor :is(a, button, summary, label, select, [role="tab"], [role="button"]), html.has-cursor :is(a, button, summary, label) * { cursor: pointer !important; }

/* Apparition au défilement : plus courte */
.js [data-reveal] { transform: translateY(14px); transition-duration: .5s, .5s; }

/* Bandeau cookies : compact, il ne couvre plus le premier écran */
.cookie-banner { max-width: 360px; padding: 16px 18px; border-radius: var(--radius); box-shadow: 0 0 0 1.5px var(--ink), 0 18px 40px -20px rgb(var(--sh) / .5); }
.cookie-banner p { font-size: .88rem; line-height: 1.45; margin-bottom: 6px; }
.cookie-banner .cookie-titre { font-size: 1rem; }
.cookie-actions { margin-top: 10px; }
.cookie-actions .btn { min-height: 40px; font-size: .92rem; }
@media (max-width: 759px) {
  .cookie-banner { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 12px 14px; }
  .cookie-banner p:not(.cookie-titre) { font-size: .8rem; }
  .cta-bar { box-shadow: 0 4px 0 var(--yellow-dark), 0 14px 30px -12px rgb(var(--sh) / .5); font-family: var(--font-body); }
}

/* Formulaire */
.field input, .field select, .field textarea { min-height: 48px; padding: 11px 14px; box-shadow: none; }
.form-status { border-radius: var(--radius-s); }

/* FAQ : lignes séparées par un filet */
.faq { gap: 0; border-top: 2px solid var(--ink); }
.faq details, .faq details[open] { background: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 0; border-radius: 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.faq summary::after { background-color: transparent; box-shadow: none; }
.faq .faq-body { padding: 0 0 24px; max-width: 46rem; }

/* ---------- Accueil ---------- */
.h-hero { padding-block: clamp(36px, 6vw, 88px) 0; }
.h-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.h-hero h1 { margin: 0; line-height: .98; }
.h-intro { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--ink-t); max-width: 32rem; margin: 1.6rem 0 0; }
.h-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 2rem; }
.h-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--yellow); }
.h-link:hover { text-decoration-color: currentColor; }
.h-stage { position: relative; padding: 0 6% 10% 0; }
.h-shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.h-shot::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--line);
  background: #F1EDE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='30'%3E%3Cg fill='%23CFC8BE'%3E%3Ccircle cx='16' cy='15' r='4'/%3E%3Ccircle cx='30' cy='15' r='4'/%3E%3Ccircle cx='44' cy='15' r='4'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center; }
.h-shot img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.h-stage .h-shot { border-color: #D9D3C9; box-shadow: 0 30px 60px -30px rgb(40 30 10 / .35); }
.h-phone { position: absolute; right: 0; bottom: 0; width: 25%; border-radius: 22px; border: 6px solid var(--ink); background: #000; overflow: hidden; box-shadow: 0 24px 40px -18px rgb(0 0 0 / .5); }
.h-phone video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.h-tile { position: absolute; left: -5%; bottom: 3%; width: 42%; border-radius: 14px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 20px 40px -18px rgb(0 0 0 / .45); }
.h-tile video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.h-cube { position: absolute; right: 0; top: -13%; width: 25%; height: auto; filter: drop-shadow(0 14px 14px rgb(120 90 0 / .25)); animation: h-bob 6s ease-in-out infinite; }
@keyframes h-bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.h-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.h-facts li { padding: 1.3rem 1.4rem 1.3rem 0; display: grid; gap: .15rem; align-content: start; }
.h-facts li + li { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.h-facts b { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.03em; }
.h-facts span { color: var(--mute); font-size: .95rem; }
@media (max-width: 899px) {
  .h-grid { grid-template-columns: 1fr; }
  .h-stage { margin-top: 1.6rem; padding-right: 3%; }
  .h-tile { left: -2%; }
  .h-cube { top: -9%; width: 22%; }
  .h-facts { grid-template-columns: 1fr 1fr; }
  .h-facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .h-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

.h-sec { padding-block: clamp(72px, 10vw, 140px); }
.h-sec--suite { padding-top: 0; }
.h-head { display: grid; gap: 1.1rem; max-width: 44rem; margin-bottom: clamp(36px, 5vw, 64px); }
.h-head h2 { margin: 0; }
.h-head p { margin: 0; color: var(--ink-t); font-size: 1.15rem; max-width: 36rem; }

.h-offers { border-top: 2px solid var(--ink); }
.h-offer { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 1rem 2.5rem; align-items: center; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.h-offer:last-child { border-bottom: 2px solid var(--ink); }
.h-offer h3 { margin: 0; font-size: clamp(1.9rem, 1rem + 3.4vw, 3.6rem); line-height: 1; transition: transform .25s var(--ease-out); }
.h-offer p { margin: 0; color: var(--ink-t); max-width: 30rem; }
.h-price { font: 700 1.15rem/1.2 var(--font-display); white-space: nowrap; text-align: right; }
.h-price small { display: block; font: 500 .88rem/1.4 var(--font-body); color: var(--mute); white-space: normal; }
.h-offer::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); z-index: -1; background: var(--yellow); border-radius: var(--radius); opacity: 0; transform: scaleY(.86); transition: opacity .2s, transform .25s var(--ease-out); }
.h-offer:hover::before, .h-offer:focus-visible::before { opacity: 1; transform: none; }
.h-offer:hover h3 { transform: translateX(10px); }
.h-offer:hover .h-price small, .h-offer:focus-visible .h-price small { color: var(--ink-t); }
@media (max-width: 759px) { .h-offer { grid-template-columns: 1fr; gap: .6rem; } .h-price { text-align: left; } }

.h-works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 48px) clamp(16px, 2.4vw, 32px); }
.h-work { grid-column: span 6; display: grid; gap: 1rem; align-content: start; color: var(--ink); text-decoration: none; }
.h-work--big { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 3vw, 48px); }
.h-work:hover .h-shot img { transform: scale(1.03); }
.h-work h3 { margin: 0; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
.h-work--big h3 { font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem); }
.h-work p { margin: 0; color: var(--ink-t); }
.h-kind { font-size: .92rem; font-weight: 600; color: var(--yellow-ink); }
.h-txt { display: grid; gap: .6rem; justify-items: start; }
@media (max-width: 759px) { .h-work, .h-work--big { grid-column: 1 / -1; grid-template-columns: 1fr; } }

.h-night { background: var(--night); color: var(--on-night); }
.h-night .h-head p { color: var(--on-night-mute); }
.h-reels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .36fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.h-reel { display: grid; gap: .9rem; }
.h-reel video { width: 100%; height: auto; border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.h-reel--tall video { aspect-ratio: 9 / 16; }
.h-reel h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.15; }
.h-reel p { margin: 0; color: var(--on-night-mute); font-size: .95rem; }
.h-night-foot { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--night-line); padding-top: 1.6rem; }
.h-night-foot p { margin: 0; font: 700 clamp(1.2rem, 1rem + 1vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -.02em; }
@media (max-width: 899px) { .h-reels { grid-template-columns: 1fr 1fr; } .h-reel:first-child { grid-column: 1 / -1; } }
@media (max-width: 519px) { .h-reels { grid-template-columns: 1fr; } .h-reel--tall { max-width: 240px; } }

.h-trades { display: flex; flex-wrap: wrap; gap: .7rem .9rem; }
.h-trades a { font: 800 clamp(1.5rem, 1rem + 2.4vw, 2.9rem)/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); text-decoration: none; padding: .42em .7em .5em; border: 2px solid var(--ink); border-radius: 999px; transition: background-color .15s, transform .2s var(--ease-out); }
.h-trades a:hover, .h-trades a:focus-visible { background: var(--yellow); transform: rotate(-1.5deg); }
.h-trades a:nth-child(even):hover { transform: rotate(1.5deg); }

.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); counter-reset: h-step; }
.h-steps li { padding: 1.6rem 1.6rem 0 0; counter-increment: h-step; display: grid; gap: .5rem; align-content: start; }
.h-steps li + li { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.h-steps li::before { content: counter(h-step); font: 800 3.4rem/1 var(--font-display); letter-spacing: -.04em; color: var(--yellow-dark); }
.h-steps h3 { margin: 0; font-size: 1.5rem; }
.h-steps p { margin: 0; color: var(--ink-t); font-size: 1rem; }
@media (max-width: 819px) { .h-steps { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; } .h-steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 479px) { .h-steps { grid-template-columns: 1fr; row-gap: 0; } .h-steps li { padding: 1.4rem 0; } .h-steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.h-contact-sec { border-top: 1px solid var(--line); }
.h-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.h-who { display: grid; gap: 1.4rem; justify-items: start; }
.h-who h2 { margin: 0; font-size: clamp(2.6rem, 1.2rem + 5vw, 5.4rem); }
.h-who p { margin: 0; font-size: 1.15rem; color: var(--ink-t); max-width: 30rem; }
.h-who .h-link { font: 700 1.25rem var(--font-display); }
.h-form { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
@media (max-width: 859px) { .h-contact { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .h-cube { animation: none; } }
@media (min-width: 760px) { .cookie-banner { left: auto; } }

/* ---------- Pages intérieures : mêmes règles que l'accueil ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .room-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 72px); } }
.h-stage--pair { padding: 9% 0 0 0; }
.h-stage--pair .h-shot--back { position: absolute; right: 0; top: 0; width: 62%; }
.h-stage--pair .h-shot--front { position: relative; width: 82%; box-shadow: 0 30px 60px -30px rgb(40 30 10 / .4); }
.h-stage--video { padding: 0 9% 9% 0; }
.h-screen { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgb(40 30 10 / .4); }
.h-screen video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.h-stage--video .h-phone { width: 24%; }
@media (max-width: 899px) { .hero-scene { margin-top: 1.6rem; } }

/* Cartes : blanc et filet, la couleur ne sert plus de décor */
.tarif--yellow, .tarif--blue, .tarif--coral, .tarif--green, .tarif--violet,
.custom-card--design, .custom-card--fonctions, .custom-card--anim,
.world--web, .world--motion, .next-card--web, .next-card--motion,
.project, .types, .atelier, .pc-art, .id-card { background: var(--surface); }
.id-card { border-radius: var(--radius); box-shadow: var(--clay); transform: none; }
.id-card:hover { transform: none; }
.chips li, .chips li:nth-child(n) { background: var(--surface); }
.inclus-list li:nth-child(n) svg { background: var(--yellow-lighter); }
.next-card--contact { box-shadow: 0 4px 0 var(--yellow-dark); }
.offer-tag, .pc-time { background: none; padding-inline: 0; }

/* Bande sombre des vidéos (page Motion design) */
.section.h-night { background: var(--night); color: var(--on-night); }
.section.h-night .lead { color: var(--on-night-mute); }
.section.h-night .card.player { background: none; box-shadow: none; padding: 0; }
.section.h-night .player-meta p { color: var(--on-night-mute); }
.section.h-night .player-frame { border-radius: var(--radius); overflow: hidden; }
.section.h-night + .section { padding-top: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .room-hero .hero-grid { min-height: 0; } }
.h-stage--pair .h-shot--back { width: 68%; }
.h-stage--pair .h-shot--front { width: 88%; }
.project-card { background: var(--surface); border-radius: var(--radius); }
#realisations.h-night { background: var(--night); }
#realisations.h-night h2, #realisations.h-night h3 { color: var(--on-night); }
