/* ==========================================================================
   FX MENDY — style prestige (noir, anthracite, or champagne)
   Bandes sombres (hero, démos, témoignages, pied de page) + sections claires.
   Accent : or champagne ; aplats noirs.
   Montserrat (titres) · Manrope (texte)
   ========================================================================== */

/* Palette « prestige » : noir, anthracite et or champagne */
:root {
  /* Sections claires */
  --surface: #ffffff;
  --surface-2: #f5f4f1;
  --surface-3: #ecebe6;
  --card: #ffffff;
  --ink: #191919;
  --ink-soft: #404040;
  --muted: #5e5e5e;
  --line: #e5e2db;
  --field-line: #cfcbc2;
  --pastel-a: #f6f0e2;
  --pastel-b: #f0eee9;
  --brand-ink: #7a5a1e;
  --shadow: rgba(22, 22, 22, .35);

  /* Bandes sombres (identiques dans les deux thèmes) */
  --night: #0a0a0a;
  --abyss: #000000;
  --deep: #1c1c1c;
  --on-dark: #ffffff;
  --on-dark-soft: #cbcbcb;
  --on-dark-muted: #a2a2a2;

  /* Couleurs de marque : or, or clair, champagne, acier */
  --brand: #b08d3c;
  --sky: #c9a86a;
  --ice: #e2cc94;
  --lagoon: #a0a0a0;
  --mint: #d9c48f;
  --navy: #0a0a0a;
  --ok: #2f8f6b;
  --danger: #c2304b;

  /* Aplats : --grad-brand (noir, léger changement de ton) porte du texte blanc ; --grad-gold et --grad-bright sont des aplats or (plus de dégradé de teinte) */
  --grad-brand: linear-gradient(135deg, #000000 0%, #111111 60%, #222222 100%);
  --grad-gold: linear-gradient(var(--brand), var(--brand));
  --grad-bright: linear-gradient(var(--sky), var(--sky));
  --grad-hero: radial-gradient(120% 90% at 10% 0%, #1a1a1a 0%, #0a0a0a 48%, #000 100%);
  --grad-night: linear-gradient(180deg, #141414 0%, #080808 55%, #000 100%);

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #101010; --surface-2: #151515; --surface-3: #1b1b1b; --card: #181818;
    --ink: #f2f2f2; --ink-soft: #cbcbcb; --muted: #a2a2a2;
    --line: rgba(255, 255, 255, .1); --field-line: rgba(255, 255, 255, .2);
    --pastel-a: #1e1a10; --pastel-b: #1c1c1c; --brand-ink: #dcc283; --danger: #ff7a90; --shadow: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #101010; --surface-2: #151515; --surface-3: #1b1b1b; --card: #181818;
  --ink: #f2f2f2; --ink-soft: #cbcbcb; --muted: #a2a2a2;
  --line: rgba(255, 255, 255, .1); --field-line: rgba(255, 255, 255, .2);
  --pastel-a: #1e1a10; --pastel-b: #1c1c1c; --brand-ink: #dcc283; --danger: #ff7a90; --shadow: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, input, select, textarea, summary, [role="slider"] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: #191919; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--brand); color: #191919; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Typographie ----------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--brand); }
.on-dark .eyebrow { color: var(--ice); }
.h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
.h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 600; }
.lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); max-width: 62ch; }
.on-dark .lead { color: var(--on-dark-soft); }
/* Texte en dégradé : vif sur fond sombre (.gt), profond sur fond clair (.gb) */
.gt { color: var(--sky); }
.gb { color: var(--brand-ink); }
:root[data-theme="dark"] .gb { color: #dcc283; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gb { color: #dcc283; } }

/* Boutons ---------------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #15110a; }
.btn-primary:hover { background: var(--sky); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-night { background: var(--night); color: #fff; }
.btn-rate { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(226, 204, 148, .45); }
.btn-rate svg { color: #ffd166; width: 16px; height: 16px; }
.btn-rate:hover, .btn-rate[aria-current] { background: rgba(226, 204, 148, .16); }
.mobile-nav a.m svg { width: 18px; height: 18px; color: #ffd166; vertical-align: -3px; margin-right: 6px; }
.btn-sm { min-height: 42px; padding: 9px 18px; border-radius: 999px; font-size: 14px; }
.link { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.card:hover .link svg, .link:hover svg { transform: translateX(5px); }

/* En-tête ---------------------------------------------------------------- */
.site-header { position: fixed; z-index: 100; left: 0; right: 0; top: 0; padding: calc(10px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); transition: transform .5s var(--ease); }
.bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 18px; transition: background-color .4s ease, box-shadow .4s ease; }
.site-header.scrolled .bar, .site-header.open .bar { background: rgba(16, 16, 16, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); }
.brand { display: flex; align-items: center; min-height: 44px; padding: 4px 6px; border-radius: 12px; flex: none; }
.brand img { height: 50px; width: auto; }
@media (max-width: 600px) { .brand img { height: 44px; } }
.nav { display: flex; align-items: center; gap: 18px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.navlink { position: relative; color: #efefef; text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; padding: 10px 0; }
.navlink::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 2px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.navlink:hover::after, .navlink[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.navlink[aria-current] { color: var(--ice); }
.prefs { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.seg button, .seg a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border-radius: 999px; border: 0; background: transparent; color: #dfdfdf; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg button:hover, .seg a:hover { color: #fff; }
.seg [aria-pressed="true"], .seg [aria-current="page"] { background: #fff; color: #0a0a0a; }
.seg svg { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { max-width: 1240px; margin: 8px auto 0; padding: 14px; border-radius: 18px; background: var(--night); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); display: grid; gap: 4px; }
.mobile-nav a.m { color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; padding: 12px 14px; border-radius: 12px; }
.mobile-nav a.m:hover, .mobile-nav a.m[aria-current] { background: rgba(255, 255, 255, .08); }
.mobile-nav .btn { margin-top: 6px; }
.mobile-nav .prefs { display: none; justify-content: space-between; padding: 10px 4px 2px; }
@media (max-width: 1280px) { .nav { display: none; } .menu-toggle { display: inline-flex; } }
@media (max-width: 600px) { .bar .prefs { display: none; } .mobile-nav .prefs { display: flex; } }

/* Bandes sombres --------------------------------------------------------- */
.band-dark { position: relative; overflow: hidden; background: var(--grad-hero); color: var(--on-dark); }
.band-dark > .wrap { position: relative; z-index: 2; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.blob { display: none; }
.grid-bg { display: none; }

/* Hero : diaporama photo en fondu + effet Ken Burns ---------------------- */
.hero-photo { background: var(--abyss); }
.slides { position: absolute; inset: 0; z-index: 0; }
.slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.slides figure.on { opacity: 1; }
.slides img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(0, 0, 0, .96) 0%, rgba(16, 16, 16, .86) 40%, rgba(16, 16, 16, .42) 72%, rgba(16, 16, 16, .2) 100%), linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, transparent 40%); }
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; min-height: min(92vh, 860px); padding-block: 150px 56px; }
.hero-text { flex: 999 1 560px; min-width: 0; display: grid; gap: 22px; justify-items: start; }
.badge { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: #d2d2d2; background: rgba(212, 182, 115, .1); border: 1px solid rgba(212, 182, 115, .3); padding: 8px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d4b673;  }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-dark-soft); font-weight: 600; font-size: 15px; }
.promises li { display: inline-flex; align-items: center; gap: 8px; }
.promises svg { width: 18px; height: 18px; color: var(--mint); }
.slide-ui { flex: 1 1 300px; min-width: 0; display: grid; gap: 10px; justify-items: end; }
.slide-tabs { display: grid; gap: 6px; width: min(100%, 330px); }
.slide-tab { display: grid; gap: 7px; text-align: left; background: rgba(16, 16, 16, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 11px 14px; color: #dddddd; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.slide-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.slide-tab[aria-selected="true"] { color: #fff; background: rgba(176, 141, 60, .35); border-color: rgba(226, 204, 148, .5); }
.slide-tab i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.slide-tab i::after { content: ""; display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--sky); }
.slide-tab[aria-selected="true"] i::after { transform: scaleX(1); }
.playing .slide-tab[aria-selected="true"] i::after { transform: scaleX(0); animation: slidebar var(--slide-ms, 6500ms) linear forwards; }
.slide-pause { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; background: none; border: 0; color: #b3b3b3; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 2px; }
.slide-pause:hover { color: #fff; }
.slide-pause svg { width: 16px; height: 16px; }
.slide-pause .i-play { display: none; }
.slide-pause[aria-pressed="true"] .i-play { display: block; }
.slide-pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-block: 128px 40px; }
  .slide-ui { justify-items: stretch; }
  .slide-tabs { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .slide-tab { font-size: 12px; padding: 9px 10px; }
}

.marquee { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); padding-block: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; width: max-content; animation: marquee 34s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--on-dark-muted); }
.track span { padding-inline: 26px; white-space: nowrap; }
.track i { color: var(--lagoon); font-style: normal; }
.marquee:hover .track { animation-play-state: paused; }

/* Sections claires ------------------------------------------------------- */
.sec { padding-block: clamp(72px, 9vw, 104px); }
.sec-soft { background: linear-gradient(180deg, var(--surface-2), var(--surface-3)); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 44px; }
.sec-head > div { flex: 1 1 520px; min-width: 0; display: grid; gap: 12px; justify-items: start; }
.sec-head > .lead { flex: 1 1 340px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Cartes avec halo qui suit la souris */
.card { position: relative; isolation: isolate; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s ease, border-color .5s ease; }
.card::before { content: none; }
.card:hover { border-color: rgba(176, 141, 60, .45); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--muted); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--ice); background: var(--grad-brand); box-shadow: inset 0 0 0 1px rgba(226, 204, 148, .28); transition: transform .5s var(--ease); flex: none; }
.ico svg { width: 26px; height: 26px; }


/* Photo avec dévoilement en volet + parallaxe */
.ph { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: var(--surface-3); box-shadow: 0 24px 50px -28px rgba(16, 16, 16, .45); isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: 2; background: transparent; transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease); pointer-events: none; }
.ph img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); transition: scale 1.6s var(--ease); }

.ph figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(16, 16, 16, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }

/* À propos ---------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-text { display: grid; gap: 20px; justify-items: start; }
/* Composition photo superposée : portrait principal sur un cadre en dégradé, photo secondaire en médaillon, carte flottante */
.about-media { position: relative; height: 540px; isolation: isolate; }
.about-media::before { content: ""; position: absolute; z-index: -1; top: 24px; right: -16px; width: 74%; height: 84%; border-radius: 28px; background: var(--surface-3); }
.about-media::after { content: none; }
.about-media .ph { position: absolute; }
.about-media .ph-a { top: 0; right: 0; width: 76%; height: 86%; border-radius: 30px; }
.about-media .ph-a img { object-position: center 8%; }
.about-media .ph-b { left: 0; bottom: 0; width: 46%; height: 38%; border-radius: 24px; border: 6px solid var(--surface); box-shadow: 0 30px 60px -24px rgba(16, 16, 16, .55); }
.stat-tile { position: absolute; z-index: 3; left: 0; top: 18%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; color: #fff; background: rgba(16, 16, 16, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -20px rgba(16, 16, 16, .6);  }
.stat-tile .ico { width: 44px; height: 44px; border-radius: 14px; }
.stat-tile .ico svg { width: 22px; height: 22px; }
.stat-tile b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.15; }
.stat-tile span { display: block; font-size: 13px; color: var(--on-dark-soft); line-height: 1.3; }
.prose { display: grid; gap: 16px; font-size: 17px; color: var(--ink-soft); max-width: 64ch; }
.prose strong { color: var(--ink); }
.signature { height: 59px; width: auto; }
:root[data-theme="dark"] .signature { filter: invert(1) brightness(1.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .signature { filter: invert(1) brightness(1.6); } }
.about-bottom { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 14px; margin-top: clamp(40px, 5vw, 56px); align-items: stretch; }
.quote-line { display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(19px, 2vw, 22px); font-weight: 600; line-height: 1.3; padding: 22px 24px; border-radius: 18px; background: var(--pastel-a); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fact { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.fact span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-media { height: 470px; max-width: 520px; width: 100%; margin-inline: auto; }
  .about-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .about-media { height: 400px; } .about-media::before { right: -6px; } .stat-tile { top: 10%; } }

/* Services (cartes photo) ------------------------------------------------- */
.svc-card { padding: 0; overflow: hidden; gap: 0; text-decoration: none; color: inherit; }
.svc-vis { position: relative; height: 210px; background: var(--night); }
.svc-vis .vis-clip { position: absolute; inset: 0; overflow: hidden; }
.svc-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .82; transition: transform 1.2s var(--ease), opacity .6s ease; }
.svc-vis .vis-clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 60%); }
.svc-vis .ico { position: absolute; left: 24px; bottom: -26px; z-index: 2; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.svc-card:hover .svc-vis img { opacity: .95; }
.svc-body { padding: 44px 26px 24px; display: grid; gap: 10px; align-content: start; }
.svc-body ul { list-style: none; margin: 4px 0 4px; padding: 0; display: grid; gap: 7px; }
.svc-body li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-soft); }
.svc-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--brand); }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--field-line); color: var(--ink-soft); }

/* Démos (bande sombre) ------------------------------------------------------ */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.demo-list { display: grid; gap: 12px; align-content: start; }
.player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .3s, border-color .3s; }
.player:hover { background: rgba(255, 255, 255, .08); }
.player.is-playing { border-color: rgba(226, 204, 148, .55); background: rgba(176, 141, 60, .25); }
.player__btn { width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad-brand); color: #fff; display: grid; place-items: center; transition: transform .2s var(--ease); }

.player__btn svg { width: 20px; height: 20px; }
.player__btn .i-pause { display: none; }
.player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__btn:disabled { background: rgba(255, 255, 255, .1); color: var(--on-dark-muted); cursor: not-allowed; transform: none; }
.player__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.player__sub { font-size: 13px; color: var(--on-dark-muted); }
.player__bar { position: relative; height: 4px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, .14); cursor: pointer; }
.player__bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--sky); }
.player__time { font-size: 13px; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.badge-soon { font-size: 11px; font-weight: 600; letter-spacing: .01em; padding: 4px 9px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .3); color: var(--on-dark-muted); }
.video-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: var(--deep); aspect-ratio: 16 / 10; max-width: 100%; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: transform .8s var(--ease), opacity .3s; }
.video-card:hover img { opacity: .8; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .15) 60%); cursor: pointer; text-align: center; padding: 20px; color: #fff; }
.video-card__play:disabled { cursor: default; }
.video-card__play .ring { width: 74px; height: 74px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; transition: box-shadow .3s var(--ease); }
.video-card__play .ring svg { width: 26px; height: 26px; margin-left: 4px; }
.video-card__play strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.video-card__play small { color: var(--on-dark-soft); font-size: 13px; }
@media (max-width: 900px) { .demos { grid-template-columns: 1fr; } }

/* Références -------------------------------------------------------------- */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ref { padding: 0; overflow: hidden; gap: 0; grid-template-rows: auto 1fr; }
.ref__media { position: relative; height: 190px; overflow: hidden; background: var(--night); }
.ref__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .9; transition: transform 1.2s var(--ease); }

.ref__media--icon { display: grid; place-items: center; background: var(--night); }
.ref__media--icon .ico { width: 84px; height: 84px; border-radius: 24px; }
.ref__media--icon .ico svg { width: 42px; height: 42px; }
.ref__body { padding: 24px 26px 26px; display: grid; gap: 8px; align-content: start; }
.ref__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ref__year { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-ink); }
.ref__tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--brand-ink); background: var(--pastel-a); padding: 4px 10px; border-radius: 999px; }
.ref h3 { font-size: 19px; }
.card .ref__role { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.ref p { font-size: 14.5px; }
.ref--featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto; background: var(--deep); border-color: transparent; color: #fff; }
.ref--featured .ref__media { height: 100%; min-height: 220px; }
.ref--featured .ref__body { padding: 32px; align-content: center; }
.ref--featured h3 { font-size: clamp(22px, 2.6vw, 28px); }
.ref--featured p { color: var(--on-dark-soft); }
.card.ref--featured .ref__role { color: #fff; }
.ref--featured .ref__tag { color: #191919; background: var(--ice); }
.ref--featured .ref__year { color: var(--ice); }
.refs > .ref:not(.ref--featured):last-child:nth-child(even) { grid-column: 1 / -1; }
.refs.filtered > .ref:last-child { grid-column: auto; }
@media (max-width: 760px) { .refs { grid-template-columns: 1fr; } .ref--featured { grid-template-columns: 1fr; } .ref--featured .ref__media { min-height: 180px; height: 180px; } }

/* Listes filtrables (pages Références et Galerie) */
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.list-count { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--surface); color: var(--ink-soft); font-weight: 600; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--sky); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--grad-brand); color: #fff; border-color: transparent; }
[data-filter].is-hidden { display: none !important; }
.see-all { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--field-line); }
.btn-line:hover { border-color: var(--sky); }
.btn-rate-light { background: var(--card); color: var(--ink); border: 1px solid var(--field-line); }
.btn-rate-light svg { color: #f2a900; }
.btn-rate-light:hover { border-color: #f2a900; }
.quote-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Encadré « Noter ma prestation » */
.rate-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 26px 30px; border-radius: 24px; background: var(--pastel-a); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px var(--shadow); }
.rate-band__stars { display: inline-flex; gap: 2px; color: #f2a900; }
.rate-band__stars svg { width: 22px; height: 22px; fill: currentColor; }
.rate-band__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.rate-band p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 760px) { .rate-band { grid-template-columns: 1fr; justify-items: start; } }

/* Galerie (mosaïque) ------------------------------------------------------ */
.gallery__fig { break-inside: avoid; margin: 0 0 14px; }
.gallery__fig .gallery__item { margin: 0; }
.gallery__fig figcaption { padding: 8px 4px 0; font-size: 13.5px; color: var(--muted); }
.gallery--page { columns: 3 280px; column-gap: 16px; }
.lightbox figcaption { color: #e6e3dc; text-align: center; font-size: 14px; padding: 12px 60px 0; }
.lightbox .lb-count { display: block; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--on-dark-muted); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery__item { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.gallery__item.ph img { position: relative; top: 0; height: auto; min-height: 140px; transform: none; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .94); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox__close, .lightbox__nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(16, 16, 16, .8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); }
.lightbox__nav--prev { left: calc(18px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: calc(18px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 20px; height: 20px; }

/* Témoignages (bande sombre) --------------------------------------------- */
.avatar { flex: none; padding: 3px; border-radius: 50%; background: var(--brand);  }
.avatar span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--ice); background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 18px; height: 18px; }
.quote-card { margin: 0; padding: 30px 30px 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; }
.quote-card__mark { font-family: var(--font-display); font-weight: 600; font-size: 64px; line-height: .6; height: 30px; }
.quote-card blockquote { margin: 18px 0 24px; font-size: 16px; line-height: 1.7; color: #e6e3dc; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.quote-card cite { font-style: normal; font-weight: 600; font-size: 15px; display: block; line-height: 1.3; }
.quote-card figcaption small { font-size: 13px; color: var(--on-dark-muted); }
.testi-controls { display: flex; gap: 10px; }
.testi-pause .i-play { display: none; }
.testi-pause[aria-pressed="true"] .i-play { display: block; }
.testi-pause[aria-pressed="true"] .i-pause { display: none; }
.testi-progress { height: 3px; margin-top: 22px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; max-width: 260px; }
.testi-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--sky); }
.testi-progress.run span { animation: slidebar var(--testi-ms, 6000ms) linear forwards; }

/* Bandeau d'appel avec photo ---------------------------------------------- */
.cta-photo { position: relative; overflow: hidden; background: var(--grad-night); color: #fff; }
.cta-photo .cta-bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; object-position: center 30%; transform: translate3d(0, var(--py, 0px), 0); }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.cta-photo .wrap { position: relative; z-index: 1; padding-block: 84px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-photo h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; max-width: 22ch; }

/* Contact / devis --------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__info { display: grid; gap: 12px; }
.info-item { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.info-item .ico { width: 46px; height: 46px; border-radius: 14px; }
.info-item .ico svg { width: 21px; height: 21px; }
.info-item small { display: block; font-size: 12px; letter-spacing: .01em; color: var(--muted); font-weight: 600; }
.info-item a, .info-item p { display: block; margin: 2px 0 0; font-weight: 600; word-break: break-word; text-decoration: none; }
.info-item a:hover { color: var(--brand-ink); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--field-line); display: grid; place-items: center; color: var(--ink-soft); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.socials a:hover { color: var(--brand-ink); border-color: var(--sky); }
.socials svg { width: 18px; height: 18px; }
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label .req { color: var(--danger); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--field-line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23616161' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(201, 168, 106, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); margin: 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot p { font-size: 13px; color: var(--muted); max-width: 36ch; }
.alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-size: 15px; font-weight: 600; }
.alert--ok { background: rgba(47, 143, 107, .1); border: 1px solid rgba(47, 143, 107, .45); color: var(--ink); }
.alert--err { background: rgba(194, 48, 75, .08); border: 1px solid rgba(194, 48, 75, .4); color: var(--ink); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Pages de service -------------------------------------------------------- */
.photo-hero { background: var(--abyss); }
.photo-hero .hero-bg { position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: 0; transform: translate3d(0, var(--py, 0px), 0); }
.photo-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%;  }
.photo-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(0, 0, 0, .96) 0%, rgba(16, 16, 16, .86) 45%, rgba(16, 16, 16, .45) 78%, rgba(16, 16, 16, .3) 100%), linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, transparent 45%); }
.page-hero { padding-block: 168px 96px; display: grid; gap: 20px; justify-items: start; }
.page-hero .h1 { max-width: 16ch; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--on-dark-muted); }
.crumb li { display: inline-flex; align-items: center; gap: 6px; }
.crumb li + li::before { content: "/"; opacity: .5; }
.crumb a { color: var(--on-dark-soft); text-decoration: none; padding: 6px 0; }
.crumb a:hover { color: #fff; }
.crumb [aria-current] { color: #fff; font-weight: 600; }
.incl-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); list-style: none; margin: 0; padding: 0; }
.incl { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: transform .3s ease, border-color .3s ease; }
.incl:hover { border-color: rgba(176, 141, 60, .45); }
.ck { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ice); background: var(--grad-brand); }
.ck svg { width: 16px; height: 16px; }
.timeline { position: relative; max-width: 880px; margin: 0 auto; list-style: none; padding: 0; display: grid; gap: 34px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--line); }
.timeline li.fill { display: block; position: absolute; left: 27px; top: 0; width: 3px; border-radius: 3px; height: 100%; background: var(--brand); }
.js .timeline li.fill { height: calc(var(--p, 0) * 100%); }
.timeline li { position: relative; display: flex; gap: 26px; align-items: flex-start; }
.timeline .n { flex: none; position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; background: var(--grad-brand); box-shadow: 0 0 0 8px var(--surface-2); }
.timeline .box { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 6px; }
.timeline li:last-child .box { background: var(--pastel-a); border-color: transparent; }
.timeline h3 { font-size: 20px; font-weight: 600; }
.timeline p { color: var(--ink-soft); }
.photo-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; height: 320px; }
.photo-row .ph { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; }
.photo-row .ph:nth-child(2) { margin-top: 36px; }
.photo-row .ph:nth-child(3) { margin-bottom: 36px; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 170px; } .photo-row .ph:first-child { grid-column: 1 / -1; } .photo-row .ph:nth-child(n) { margin: 0; } }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.faq-wrap > div:first-child { display: grid; gap: 12px; justify-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 16px; transition: border-color .3s; }
.faq details[open] { border-color: rgba(201, 168, 106, .4); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; min-height: 44px; font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; color: var(--brand-ink); font-size: 26px; line-height: 1; transition: transform .3s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.other-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.other-card > div { display: grid; gap: 4px; min-width: 0; }
.other-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
.other-card .arrow { width: 20px; height: 20px; color: var(--brand-ink); transition: transform .3s ease; }
.other-card:hover .arrow { transform: translateX(6px); }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

/* Pied de page ------------------------------------------------------------- */
.site-footer { background: var(--grad-night); color: var(--on-dark-soft); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 78px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 36ch; }
.footer-title { margin: 0 0 12px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14.5px; }
.footer-list a { display: inline-block; padding: 6px 0; color: var(--on-dark-soft); text-decoration: none; word-break: break-word; }
.footer-list a:hover, .footer-list a[aria-current] { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; color: var(--on-dark-muted); }
.footer-bottom a { color: var(--on-dark-soft); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Boutons flottants ------------------------------------------------------- */
.floaters { position: fixed; z-index: 90; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; justify-items: center; }
.to-top { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: var(--night); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.wa-float { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); }
.wa-float:hover { background: #1fbf5b; }
.wa-float:active { transform: scale(.96); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: none; }

/* Apparition au défilement (le contenu reste visible sans JavaScript) ------ */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.word > span { display: inline-block; animation: wordUp 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
/* Avec GSAP (classe .gsap posée dans le <head>) : GSAP pilote les entrées, pas les animations CSS */
.gsap .word > span, .gsap .rise { animation: none; }
.gsap .word > span { transform: translateY(110%); }
.gsap .rise { opacity: 0; visibility: hidden; transition: none; }

/* Animations --------------------------------------------------------------- */
@keyframes slidebar { to { transform: scaleX(1); } }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv:not(.ph) { opacity: 1; transform: none; }
  .js .ph.rv:not(.in)::before { transform: scaleY(0); }
  .js .ph.rv:not(.in) img { scale: 1; }
  .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ==========================================================================
   Enquête de satisfaction (« Votre avis »)
   ========================================================================== */
.survey-hero .page-hero { padding-block: 156px 150px; }
.survey-sec { padding-top: 0; background: var(--surface-2); }
.survey-card { position: relative; z-index: 3; max-width: 820px; margin: -110px auto 0; padding: clamp(22px, 4vw, 44px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px var(--shadow); }
.survey-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.survey-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--brand-ink); font-weight: 600; cursor: pointer; }
.survey-back svg { width: 16px; height: 16px; }
.survey-count { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--muted); font-variant-numeric: tabular-nums; }
.survey-progress { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin: 10px 0 30px; }
.survey-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, .2)); background: var(--grad-bright); transition: transform .6s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .survey:not(.has-errors) .step:not(.on) { display: none; }
.js .step.on { animation: stepIn .5s var(--ease) both; }
.js .step.on.back { animation-name: stepBack; }
.survey:not(.js-ready) .step + .step, .survey.has-errors .step + .step { margin-top: 36px; }
.q { padding: 0; font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 22px; text-wrap: balance; }
.q-sub { font-size: 18px; margin: 30px 0 14px; }
.q-sub small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input, .rate input, .reco-opt input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease); }
.choice span svg { width: 16px; height: 16px; display: none; }
.choice:hover span { border-color: var(--sky); }
.choice input:checked + span { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px rgba(45, 45, 45, .8); }
.choice input:checked + span svg { display: block; }
.choice input:focus-visible + span, .rate input:focus-visible + span, .reco-opt input:focus-visible + span, .consent input:focus-visible + span::before { outline: 3px solid var(--sky); outline-offset: 3px; }
.other-field { margin-top: 14px; max-width: 420px; }
.text-input, .survey textarea, .survey .field input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--field-line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.survey textarea { min-height: 130px; resize: vertical; }
.text-input:focus, .survey textarea:focus, .survey .field input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(201, 168, 106, .2); }
.rating { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.rate span { display: grid; place-items: center; height: 56px; border-radius: 14px; border: 1.5px solid var(--field-line); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 18px; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
.rate:hover span { border-color: var(--sky); }
.rate input:checked + span { color: #fff; border-color: transparent; background: var(--grad-brand); transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 30px -12px rgba(45, 45, 45, .9); }
.rating.lit .rate.fill input:not(:checked) + span { background: linear-gradient(135deg, rgba(176, 141, 60, .16), rgba(160, 160, 160, .16)); border-color: rgba(201, 168, 106, .45); }
.rating-scale { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mood { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--brand-ink); min-height: 1.4em; }
.mood.pop { animation: pop .4s var(--ease); }
.reco { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.reco-opt span { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border-radius: 18px; border: 1.5px solid var(--field-line); background: var(--surface); font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .25s var(--ease), border-color .2s, background-color .2s; }
.reco-opt i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: block; position: relative; }
.reco-very_likely i { background: var(--brand); }
.reco-likely i { background: var(--sky); }
.reco-unlikely i { background: #a0a0a0; }
.reco-very_unlikely i { background: var(--danger); }
.reco-opt:hover span { border-color: var(--sky); }
.reco-opt input:checked + span { border-color: var(--sky); background: linear-gradient(135deg, var(--pastel-a), var(--pastel-b)); box-shadow: 0 0 0 3px rgba(201, 168, 106, .18); }
.reco-opt input:checked + span i::after { content: ""; position: absolute; left: 12px; top: 8px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hint { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.consent { position: relative; display: block; margin-top: 18px; cursor: pointer; }
.consent span { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.consent span::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--field-line); background: var(--surface) center / 14px no-repeat; transition: background-color .2s, border-color .2s; }
.consent input:checked + span::before { background-color: #111111; border-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.step-error { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--danger); }
.survey-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--field-line); }
.btn-line:hover { border-color: var(--sky); }
.js .survey:not(.last) [data-submit] { display: none; }
.js .survey.last [data-next] { display: none; }
.survey-thanks { display: grid; gap: 16px; justify-items: center; text-align: center; padding-block: 20px; }
.survey-thanks .lead { max-width: 46ch; }
.survey-thanks .ctas { justify-content: center; }
.thanks-check { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 12px rgba(201, 168, 106, .14); animation: pop .6s var(--ease) both; }
.thanks-check svg { width: 40px; height: 40px; stroke-width: 2.6; }
@keyframes stepIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@media (max-width: 640px) {
  .rating { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .reco { grid-template-columns: 1fr; }
  .survey-card { margin-top: -80px; border-radius: 22px; }
  .survey-nav .btn { flex: 1 1 auto; }
}

/* Bandeau « Donner mon avis » (accueil, après les témoignages) */
.feedback-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 20px 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.feedback-cta p { color: var(--on-dark-soft); font-weight: 600; max-width: 56ch; }

/* ==========================================================================
   Page Services
   ========================================================================== */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.jump a { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 8px; border-radius: 16px; background: rgba(16, 16, 16, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-weight: 600; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.jump a:hover { background: rgba(176, 141, 60, .35); border-color: rgba(226, 204, 148, .5); }
.jump .ico { width: 40px; height: 40px; border-radius: 12px; }
.jump .ico svg { width: 20px; height: 20px; }
.jump small { display: block; font-size: 11px; letter-spacing: .01em; color: var(--ice); font-weight: 600; line-height: 1.2; }
.svc-section { scroll-margin-top: 80px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc-row.rev .svc-media { order: 2; }
.svc-media { position: relative; height: 520px; }
.svc-main { position: absolute; inset: 0 12% 12% 0; border-radius: 28px; }
.svc-main img { object-position: center 25%; }
.svc-thumb { position: absolute; right: 0; bottom: 0; width: 42%; height: 38%; border-radius: 22px; border: 6px solid var(--surface); }
.sec-soft .svc-thumb { border-color: var(--surface-2); }
.svc-row.rev .svc-main { inset: 0 0 12% 12%; }
.svc-row.rev .svc-thumb { right: auto; left: 0; }
.svc-num { position: absolute; z-index: 3; left: -10px; top: -26px; font-family: var(--font-display); font-weight: 600; font-size: clamp(72px, 9vw, 120px); line-height: 1; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; pointer-events: none; }
.svc-row.rev .svc-num { left: auto; right: -10px; }
.svc-text { display: grid; gap: 16px; justify-items: start; }
.svc-text .eyebrow::before { display: none; }
.ico-sm { width: 30px; height: 30px; border-radius: 9px; }
.ico-sm svg { width: 16px; height: 16px; }
.svc-sub { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--muted); margin-top: 6px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; width: 100%; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.check-list .ck { width: 24px; height: 24px; margin-top: 1px; }
.check-list .ck svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.rev .svc-media { order: 0; }
  .svc-media { height: 400px; }
  .check-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .svc-media { height: 320px; } .svc-num { font-size: 64px; top: -18px; } }

/* Étapes horizontales sur fond sombre */
.hsteps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: rgba(255, 255, 255, .15); }
.hsteps li.progress { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--sky); transform-origin: left; transform: scaleX(var(--p, 1)); }
.js .hsteps li.progress { transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.hsteps li:not(.progress) { position: relative; display: grid; gap: 10px; align-content: start; }
.hsteps .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 6px rgba(16, 16, 16, .9); }
.hsteps h3 { font-size: 19px; font-weight: 600; }
.hsteps p { color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 900px) { .hsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hsteps::before, .hsteps li.progress { display: none; } }
@media (max-width: 520px) { .hsteps { grid-template-columns: 1fr; } }

.why-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.sectors-block { margin-top: 40px; padding: 26px 28px; border-radius: 22px; border: 1px dashed var(--field-line); display: grid; gap: 4px; }
.sectors-block h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.sectors-block .sectors { margin-top: 10px; }
.footer-title a { color: inherit; text-decoration: none; } .footer-title a:hover { color: var(--ice); }

/* Copier e-mail / téléphone (pied de page) */
.copy-row { display: flex; align-items: center; gap: 6px; }
.copy-btn { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: var(--on-dark-soft); display: grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.copy-btn:hover { color: #fff; border-color: var(--ice); background: rgba(255, 255, 255, .06); }
.copy-btn.done { color: var(--mint); border-color: var(--mint); }
.copy-btn svg { width: 16px; height: 16px; }
.copy-toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--night); color: #fff; font-weight: 600; font-size: 14px; border: 1px solid rgba(226, 204, 148, .4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.footer-brand a { display: inline-block; }

/* ==========================================================================
   Page Parcours (CV)
   ========================================================================== */
.cv-role { font-weight: 600; font-size: 14px; letter-spacing: .01em; color: var(--ice); }
.cv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); gap: 10px 34px; margin: 6px 0 4px; }
.cv-stats div { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; }
.cv-stats dd { order: -1; }
.cv-stats dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-stats dt { font-size: 14px; color: var(--on-dark-soft); font-weight: 600; }
.cv-page .page-hero .ctas .btn svg { width: 18px; height: 18px; }

.cv-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.cv-aside { position: sticky; top: 110px; display: grid; gap: 16px; justify-items: start; }
.cv-missions { width: 100%; margin-top: 8px; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--pastel-a), var(--pastel-b)); }
.cv-missions h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.cv-missions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cv-missions li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.cv-missions .ck { width: 22px; height: 22px; margin-top: 1px; }
.cv-missions .ck svg { width: 12px; height: 12px; }

.cv-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 38px; display: grid; gap: 22px; }
.cv-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--sky), var(--lagoon) 60%, var(--line)); }
.cv-job { position: relative; }
.cv-dot { position: absolute; left: -38px; top: 30px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--sky); }
.cv-dot.is-live { background: var(--lagoon); border-color: var(--surface); box-shadow: 0 0 0 3px var(--lagoon); }
.cv-dot.is-live::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lagoon);  }
.cv-card { padding: 24px 26px; gap: 8px; }
.cv-card h3 { font-size: 19px; }
.cv-period { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--brand-ink); }
.cv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; letter-spacing: .01em; color: #5e4511; background: #f3e7c8; }
.cv-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b08d3c; }
.cv-org { font-weight: 600; color: var(--ink); font-size: 15px; }
.card .cv-org { color: var(--ink); }
.cv-loc { font-weight: 500; color: var(--muted); }
.cv-points { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.cv-points li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; }
.cv-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--grad-bright); }

.edu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edu-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.edu-card h3 { font-size: 20px; }
.cv-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-tags .chip { font-size: 13px; padding: 5px 12px; }

.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cert { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .4s var(--ease); }
.cert:hover { border-color: rgba(201, 168, 106, .4); transform: translateY(-4px); }
.cert-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-ink); background: linear-gradient(135deg, var(--pastel-a), var(--pastel-b)); }
.cert-ico svg { width: 22px; height: 22px; }
.cert h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.cert .cv-org { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.cert-date { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--brand-ink); margin-top: 6px; }

.skill-cloud { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.skill-cloud li { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 204, 148, .28); transition: background-color .3s, border-color .3s; }
.skill-cloud li:hover { background: rgba(201, 168, 106, .2); border-color: rgba(226, 204, 148, .6); }
.cv-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cv-sub { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--ice); margin-bottom: 14px; }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tools-grid .cv-sub { grid-column: 1 / -1; margin-bottom: 0; }
.tool-group { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.tool-group h4 { font-weight: 600; font-size: 15.5px; margin-bottom: 12px; color: #fff; }
.tool-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tool-group li { font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; color: var(--on-dark-soft); background: rgba(255, 255, 255, .06); }
.cv-langs { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.cv-langs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cv-langs li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.lang-name { font-weight: 600; color: #fff; }
.lang-level { font-size: 13.5px; color: var(--on-dark-soft); }
.lang-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lang-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad-bright); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.js .rv:not(.in) .lang-bar span { transform: scaleX(0); }
.cv-refs { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-weight: 600; color: var(--on-dark-soft); }
.cv-refs svg { width: 18px; height: 18px; color: var(--lagoon); flex: none; }
.about-text > .btn-line svg { width: 18px; height: 18px; }

@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cv-tools { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .cv-layout { grid-template-columns: 1fr; gap: 36px; } .cv-aside { position: static; } }
@media (max-width: 720px) { .edu-grid, .tools-grid { grid-template-columns: 1fr; } .cv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cert-grid { grid-template-columns: 1fr; } .cv-timeline { padding-left: 30px; } .cv-dot { left: -30px; width: 18px; height: 18px; } .cv-timeline::before { left: 8px; } .cv-card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { .cv-dot.is-live::after {  } }

/* Impression / PDF de la page Parcours */
@media print {
  @page { margin: 14mm; }
  .cv-page .ck, .cv-badge, .cv-dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .site-footer, .floaters, .skip-link, .preview-note, .cta-photo, #contact, .jump, .hero-bg, .blob, .grid-bg, .page-hero .ctas, .crumb, .lightbox, .copy-toast { display: none !important; }
  body, .cv-page { background: #fff !important; color: #111 !important; font-size: 11pt; }
  .cv-page section, .cv-page .band-dark, .cv-page .photo-hero { background: #fff !important; color: #111 !important; padding: 0 !important; margin: 0 0 8mm !important; }
  .cv-page .photo-hero::after { display: none; }
  .cv-page .page-hero { padding: 0 !important; }
  .cv-page .rv, .cv-page .rise, .cv-page .word > span { opacity: 1 !important; visibility: visible !important; transform: none !important; clip-path: none !important; }
  .cv-page .h1 { font-size: 22pt; max-width: none; }
  .cv-page .h2 { font-size: 15pt; }
  .cv-page .gt, .cv-page .gb, .cv-stats dd { background: none !important; -webkit-text-fill-color: #7a5a1e !important; color: #7a5a1e !important; }
  .cv-page .lead, .cv-stats dt, .cv-role, .on-dark p, .skill-cloud li, .tool-group h4, .tool-group li, .lang-name, .lang-level, .cv-refs { color: #222 !important; }
  .card, .cert, .tool-group, .cv-langs, .cv-missions { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; transform: none !important; }
  .cv-layout, .cv-tools { grid-template-columns: 1fr; gap: 6mm; }
  .cv-aside { position: static; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-cloud li { border-color: #bbb !important; background: none !important; }
  .lang-bar { display: none; }
  .cv-dot.is-live::after { display: none; }
}

/* Logos des établissements (page Parcours) */
.org-logo { flex: none; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px; box-shadow: 0 10px 24px -18px var(--shadow); }
.org-logo img { width: 100%; height: 100%; object-fit: contain; }
.org-logo--sm { width: 64px; height: 48px; border-radius: 12px; padding: 6px; }
.org-logo--md { width: 84px; height: 64px; }
.org-logo--lg { width: 112px; height: 72px; padding: 8px 10px; }
.org-logo.is-mono { background: var(--grad-brand); border-color: transparent; color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.org-logo--md.is-mono { font-size: 18px; }
.org-logo--sm.is-mono { font-size: 14px; }
.org-logo.is-mono svg { width: 26px; height: 26px; }
.cv-head { display: flex; gap: 18px; align-items: flex-start; }
.cv-head-text { min-width: 0; display: grid; gap: 6px; }
.edu-top { align-items: flex-start; }
.cert .org-logo { margin-top: 2px; }
.btn-cv { text-align: left; }
.btn-cv span { display: grid; line-height: 1.15; }
.btn-cv small { font-size: 11.5px; font-weight: 600; opacity: .85; letter-spacing: .02em; }
@media (max-width: 520px) { .cv-head { flex-direction: column; gap: 12px; } .org-logo--md { width: 72px; height: 54px; } }
@media print { .org-logo { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none; } }

/* Parcours : version secondaire du CV, vie associative, outils */
.cv-alt { margin-top: -6px; }
.cv-alt a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-soft); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.cv-alt a:hover { color: #fff; }
.cv-alt svg { width: 16px; height: 16px; }
.vol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vol-card { gap: 8px; }
.vol-card h3 { font-size: 17px; }
.tools-grid .tool-group:last-child:nth-child(even) { grid-column: 1 / -1; }
@media (max-width: 1100px) { .vol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vol-grid { grid-template-columns: 1fr; } }

/* Témoignages : citation à la une + onglets auteurs */
.testi-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "intro stage" "cta stage"; gap: 24px 56px; align-items: center; }
.testi-intro { grid-area: intro; align-self: end; }
.testi-stage { grid-area: stage; }
.testi-cta { grid-area: cta; align-self: start; }
.testi-intro { display: grid; gap: 18px; justify-items: start; }
.testi-intro .lead { color: var(--on-dark-soft); }
.testi-count { display: flex; align-items: baseline; gap: 10px; color: var(--on-dark-soft); font-weight: 600; }
.testi-count strong { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent; }
.testi-layout .testi-cta { margin-top: 0; flex-direction: column; align-items: flex-start; }
.testi-stage { position: relative; border-radius: 28px; padding: 40px 40px 0; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); overflow: hidden; }
.testi-panels { display: grid; }
.t-panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.t-panel > figure { margin: 0; flex: 1; display: flex; flex-direction: column; }
.t-panel[hidden] { display: flex !important; visibility: hidden; opacity: 0; }
.t-panel.is-active { animation: tIn .6s var(--ease) both; }
@keyframes tIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.t-mark { font-family: var(--font-display); font-weight: 600; font-size: 96px; line-height: .55; height: 44px; }
.t-panel blockquote { margin: 18px 0 26px; font-size: 19px; line-height: 1.65; color: #ededed; font-weight: 500; }
.t-panel blockquote.is-short { font-size: 23px; line-height: 1.5; font-weight: 600; }
.t-panel blockquote.is-long { font-size: 16.5px; line-height: 1.7; }
.t-panel figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-panel cite { font-style: normal; font-weight: 600; font-size: 16px; display: block; line-height: 1.3; color: #fff; }
.t-panel figcaption small { font-size: 13.5px; color: var(--on-dark-muted); }
.t-panel .avatar span { background: var(--grad-brand); }
.testi-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px -40px 0; padding: 18px 40px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .25); }
.testi-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; min-width: 0; }
.testi-tabs::-webkit-scrollbar { display: none; }
.t-tab { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; transition: transform .3s var(--ease), border-color .3s; }
.t-tab__avatar { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--on-dark-soft); background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.t-tab:hover .t-tab__avatar { background: rgba(255, 255, 255, .16); color: #fff; }
.t-tab[aria-selected="true"] { border-color: var(--ice); transform: scale(1.08); }
.t-tab[aria-selected="true"] .t-tab__avatar { background: var(--grad-brand); color: #fff; }
.t-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.testi-stage .testi-controls { flex: none; }
.testi-stage .icon-btn { width: 44px; height: 44px; }
.testi-stage .testi-progress { position: absolute; left: 0; right: 0; bottom: 0; max-width: none; margin: 0; height: 3px; border-radius: 0; background: transparent; }
@media (max-width: 1000px) { .testi-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "stage" "cta"; gap: 32px; } }
@media (max-width: 600px) {
  .testi-stage { padding: 28px 22px 0; border-radius: 22px; }
  .testi-bar { flex-direction: column; align-items: stretch; margin: 22px -22px 0; padding: 14px 18px 18px; }
  .testi-stage .testi-controls { justify-content: center; }
  .t-panel blockquote, .t-panel blockquote.is-short { font-size: 17px; }
  .t-panel blockquote.is-long { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .t-panel.is-active { animation: none; } }

/* ==========================================================================
   Correctifs d'audit
   ========================================================================== */
/* Hero mobile : voile plus dense, la photo ne gêne plus la lecture du titre */
@media (max-width: 760px) {
  .hero-photo::after, .photo-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .7) 45%, rgba(0, 0, 0, .9) 100%); }
}
/* Cartes de référence sans photo : même hauteur de visuel que les autres */
.ref__media--icon .ico { box-shadow: inset 0 0 0 1px rgba(226, 204, 148, .35), 0 18px 40px -18px rgba(0, 0, 0, .8); }
/* Pied de page : cibles tactiles d'au moins 24 px, coordonnées lisibles sur mobile */
.footer-title a, .footer-bottom a, .footer-title:not(:has(a)) { display: inline-block; padding-block: 4px; }
.copy-row a { overflow-wrap: anywhere; }
@media (max-width: 600px) { .footer-grid > :nth-child(3) { grid-column: 1 / -1; order: 3; } .footer-grid > :nth-child(2) { order: 1; } .footer-grid > :nth-child(4) { order: 2; } }


/* Galerie : groupes par type d'événement, une photo à la une puis une grille régulière */
.gal-groups { display: grid; gap: 56px; }
.gal-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.gal-group__head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.gal-group__count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gal-tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--surface-3); }
.gal-tile--lead { grid-column: span 2; grid-row: span 2; }
.gal-tile .gallery__item { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: opacity .2s var(--ease); }
.gal-tile .gallery__item:hover img { opacity: .9; }
.gal-tile .gallery__item:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.gal-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; font-size: 13px; line-height: 1.35; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); pointer-events: none; }
.gal-tile figcaption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-tile--wide { grid-column: span 2; }
.gal-tile--lead figcaption { font-size: 15px; padding: 48px 20px 16px; }
.gal-rate { margin-top: 64px; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gal-grid { grid-auto-rows: 150px; } .gal-tile figcaption { font-size: 12px; padding: 24px 10px 8px; } }

/* ==========================================================================
   Motion design (états de départ uniquement — l'apparence au repos est inchangée)
   Les animations sont pilotées par GSAP dans site.js. Sans JavaScript, sans GSAP
   ou avec « réduire les animations », tout le contenu est visible.
   ========================================================================== */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.sw__i { display: inline-block; will-change: transform; }
.gsap .rv { opacity: 0; }
.gsap .site-header { opacity: 0; }
.js .ph.rv:not(.in) img { scale: 1; }
/* Diaporama : la photo active se pose doucement */
.js .slides figure.on img { animation: settle 7s var(--ease) both; }
@keyframes settle { from { transform: scale(1.08); } }
/* Visionneuse : ouverture et changement de photo en fondu */
.lightbox[open] { animation: lb-in .5s var(--ease) both; }
.lightbox img.swap { animation: lb-swap .55s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; transform: scale(.975); } }
@keyframes lb-swap { from { opacity: 0; transform: scale(1.015); } }
/* Menu mobile : les liens arrivent en cascade */
.js .mobile-nav:not([hidden]) > * { animation: menu-in .6s var(--ease) both; }
.js .mobile-nav > :nth-child(2) { animation-delay: .04s; } .js .mobile-nav > :nth-child(3) { animation-delay: .08s; }
.js .mobile-nav > :nth-child(4) { animation-delay: .12s; } .js .mobile-nav > :nth-child(5) { animation-delay: .16s; }
.js .mobile-nav > :nth-child(n+6) { animation-delay: .2s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }
/* Fondu enchaîné entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gsap .rv, .gsap .site-header { opacity: 1; }
  .gsap .word > span { transform: none; }
  .gsap .rise { opacity: 1; visibility: visible; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
@media print {
  .rv, .rise, .word > span, .sw__i, .ph, .ph img, .vis-clip, .ref__media, .gal-tile, .site-header { opacity: 1 !important; visibility: visible !important; transform: none !important; clip-path: none !important; }
}

/* Corrections d'alignement (sans changement de design) */
/* Cartes de services : le lien « Découvrir » reste aligné en bas, quelle que soit la longueur du texte */
.svc-card { grid-template-rows: auto 1fr; }
.svc-body { grid-template-rows: auto auto 1fr auto; }
.svc-body ul { align-self: start; }

/* Photos : cadres mieux proportionnés (sans changement de style) */
/* Cartes de références : cadre 16/9 au lieu d'une bande de 190 px, la photo n'est plus tronquée */
.ref:not(.ref--featured) .ref__media { height: auto; aspect-ratio: 16 / 9; }
.refs > .ref:not(.ref--featured):last-child:nth-child(even) .ref__media { aspect-ratio: 16 / 5; }
.refs.filtered > .ref:not(.ref--featured):last-child .ref__media { aspect-ratio: 16 / 9; }
/* Fond neutre pendant le chargement, rendu net lors des réductions */
.slides figure, .hero-bg, .svc-vis, .ref__media, .gal-tile, .gallery__item { background-color: var(--surface-3); }
.slides figure, .hero-bg, .svc-vis, .ref__media { background-color: var(--night); }

/* Mobile : la photo d'en-tête garde une hauteur raisonnable (sinon une photo paysage est étirée sur toute la hauteur du texte et devient floue) */
@media (max-width: 760px) {
  .photo-hero .hero-bg { top: 0; height: min(100%, 720px); }
}

/* Menu principal : plus d'air, même design (ajout ciblé) ---------------- */
.nav { gap: clamp(20px, 2.1vw, 32px); padding: 8px 8px 8px clamp(24px, 2.3vw, 34px); box-shadow: 0 12px 34px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.navlink { font-size: 15px; letter-spacing: .015em; padding: 12px 2px; }
.navlink::after { bottom: 6px; left: 2px; width: calc(100% - 4px); }
.nav .btn-sm { min-height: 46px; padding: 11px clamp(20px, 1.8vw, 28px); font-size: 14.5px; letter-spacing: .01em; margin-left: 4px; }
.bar { gap: clamp(12px, 1.6vw, 24px); }
.prefs { flex: none; }

/* =========================================================================
   Expérience « application » sur téléphone (ajouts mobiles uniquement ; le
   bureau n'est pas modifié)
   ========================================================================= */
.tabbar { display: none; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (hover: none) and (pointer: coarse) {
  a, button, summary, label, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
}

/* Transition douce entre les pages, comme dans une application */
@media (max-width: 760px) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .22s ease both fx-vt-out; }
  ::view-transition-new(root) { animation: .38s var(--ease) both fx-vt-in; }
}
@keyframes fx-vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes fx-vt-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  body { overscroll-behavior-y: none; padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

  /* Champs : 16 px évite le zoom automatique d'iOS, cibles confortables */
  input, select, textarea { font-size: 16px !important; }
  input:not([type="checkbox"]):not([type="radio"]), select { min-height: 50px; }
  .btn { min-height: 50px; }
  .btn-sm { min-height: 46px; }

  /* Retour tactile à l'appui */
  .btn, .card, .ref, .gal-tile, .player__btn, .video-card__play, .jump a, .tab, .faq summary, .mobile-nav a.m { transition: transform .2s var(--ease), background-color .25s ease, opacity .2s; }
  .btn:active, .card:active, .ref:active, .gal-tile:active, .jump a:active, .video-card__play:active { transform: scale(.975); }

  /* En-tête compact : verre dépoli dès le départ, comme une barre d'application */
  .site-header { padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
  .site-header .bar { padding: 4px 8px 4px 6px; border-radius: 16px; background: rgba(16, 16, 16, .55); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .08); }
  .brand img { height: 38px; }
  .menu-toggle { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
  .mobile-nav { border-radius: 22px; max-height: calc(100dvh - 190px); overflow: auto; overscroll-behavior: contain; animation: fx-sheet .35s var(--ease) both; }
  .mobile-nav a.m { font-size: 17px; min-height: 52px; display: flex; align-items: center; }
  @keyframes fx-sheet { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

  /* Barre d'onglets flottante */
  .tabbar {
    position: fixed; z-index: 95;
    left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: 1fr 1fr 74px 1fr 1fr; align-items: end;
    max-width: 460px; margin: 0 auto; padding: 6px 6px 8px;
    border-radius: 26px;
    background: rgba(18, 18, 18, .78);
    -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .45s var(--ease), opacity .3s;
  }
  .tab {
    position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 2px 4px;
    color: rgba(255, 255, 255, .62); text-decoration: none; font: 600 10.5px/1.1 Manrope, system-ui, sans-serif; letter-spacing: .02em;
    border-radius: 18px;
  }
  .tab svg { width: 23px; height: 23px; transition: transform .35s var(--ease), color .25s; }
  .tab:active { transform: scale(.92); }
  .tab[aria-current="page"] { color: #ecd699; }
  .tab[aria-current="page"] svg { transform: translateY(-2px) scale(1.08); }
  .tab[aria-current="page"]::before {
    content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #e2cc94, #b08d3c); box-shadow: 0 0 12px rgba(226, 204, 148, .8);
  }
  .tab--cta {
    align-self: center; justify-self: center; width: 60px; height: 60px; margin-top: -30px; padding: 0; border-radius: 50%;
    color: #17130a; background: linear-gradient(135deg, #ecd699, #b08d3c 60%, #8a6a22);
    box-shadow: 0 14px 28px -8px rgba(176, 141, 60, .9), 0 0 0 6px rgba(10, 10, 10, .9), inset 0 1px 0 rgba(255, 255, 255, .5);
    place-items: center;
  }
  .tab--cta svg { width: 26px; height: 26px; transform: translate(-1px, 1px); }
  .tab--cta::before { display: none; }
  .tab--cta[aria-current] svg, .tab--cta:active svg { transform: translate(1px, -1px) scale(1.05); }
  .tab--cta:active { transform: scale(.94); }

  /* Se range quand le clavier s'ouvre (saisie d'un formulaire) */
  body.kb-open .tabbar { transform: translateY(160%); opacity: 0; pointer-events: none; }
  body.kb-open { padding-bottom: 0; }

  /* Boutons flottants au-dessus de la barre d'onglets */
  .floaters { right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 25px; height: 25px; }
  .to-top { width: 40px; height: 40px; }
  body.kb-open .floaters { display: none; }

  /* Contenu : respiration et lisibilité en main */
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .jump { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -18px; padding: 4px 18px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; scroll-snap-align: start; }
  .site-footer { padding-bottom: 12px; }

  /* Apparition plus vive et fluide au défilement */
  .rv { transition-duration: .55s; }
}

@media (max-width: 380px) {
  .tab span { font-size: 9.5px; }
  .tabbar { grid-template-columns: 1fr 1fr 68px 1fr 1fr; }
}

/* Mode application installée (écran d'accueil) : la barre colle au bord bas */
@media (display-mode: standalone) and (max-width: 760px) {
  .tabbar { bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  body { -webkit-user-select: none; user-select: none; }
  input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .mobile-nav { animation: none; }
}
@media print { .tabbar { display: none !important; } }

/* Téléphone : cartes façon application (ajout mobile, le bureau reste inchangé) */
@media (max-width: 760px) {
  .card { padding: 22px; border-radius: 22px; box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
  .svc-card { padding: 0; }
  .svc-body { padding: 40px 22px 22px; }
  .svc-vis { height: 190px; }
  .card h3 { font-size: 19px; }
  .card .link, .svc-card .link { min-height: 48px; }
  .ref, .gal-tile, .video-card { border-radius: 20px; }
}

/* Téléphone : boutons d'en-tête pleine largeur, chiffres alignés, légendes lisibles */
@media (max-width: 760px) {
  .page-hero .ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .page-hero .ctas .btn { width: 100%; justify-content: center; text-align: left; }
  .cv-stats { gap: 14px 12px; align-items: start; }
  .cv-stats dt { font-size: 13px; line-height: 1.25; }
  .gal-tile figcaption { background: linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, 0)); padding-top: 44px; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
}
