/* =====================================================================
   STYLE — Portfolio / site vitrine
   Couleurs, typographies et arrondis modifiables dans :root.
   ===================================================================== */
@font-face { font-family: "Gloock"; src: url("../fonts/gloock-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrumentsans-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrumentsans-bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrumentserif-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* ---- Charte La Vitrine Digit : blanc, noir, doré ----
     ~60 % de sections blanches, ~40 % de sections noires.
     Le doré vient du filet du logo. Contrastes WCAG AA : voir CHARTE-GRAPHIQUE.md */
  --bg: #FFFFFF;              /* fond de page */
  --surface: #F7F5F0;         /* cartes (ivoire) */
  --surface-2: #FAF9F6;
  --ink: #0A0A0A;             /* noir (19.8:1 sur blanc) */
  --on-ink: #FFFFFF;
  --ink-2: #3B3A36;           /* texte secondaire (11.4:1) */
  --muted: #6A675F;           /* texte discret (5.6:1) */
  --line: #E7E3DA;
  --line-strong: #CFC9BC;
  --accent: #0A0A0A;          /* action principale sur fond blanc : noir */
  --accent-hover: #BDA577;    /* survol : doré, texte noir (8.3:1) */
  --accent-soft: #F5F1E8;     /* fond sable des mises en avant */
  --accent-2: #BDA577;        /* doré du logo : filets, pastilles, boutons sur fond noir */
  --accent-2-soft: #EFE7D6;
  --gold: #BDA577;
  --gold-text: #7A5F2E;       /* doré lisible en texte sur blanc (6:1) */
  --night: #0A0A0A;
  --night-2: #151513;
  --night-line: rgba(255,255,255,.14);
  --on-night: #FFFFFF;
  --on-night-muted: #ABA79D;  /* 8.3:1 sur noir */
  --accent-on-night: #CDB585; /* doré clair en texte sur noir (9.9:1) */
  --success: #2F6B4F;
  --danger: #B3261E;
  --font-sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Gloock", "Didot", "Bodoni 72", Georgia, serif;
  --font-serif: "Instrument Serif", "Didot", Georgia, serif;
  --radius-sm: 2px; --radius: 4px; --radius-lg: 6px;
  --shadow: 0 20px 50px -30px rgba(10,10,10,.35);
  --shadow-lg: 0 40px 90px -45px rgba(10,10,10,.5);
  --shadow-accent: 0 14px 30px -16px rgba(10,10,10,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 80px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400 !important; font-synthesis: none; line-height: 1.06; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--gold-text); }
.noscript { text-align: center; padding: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold); }

/* ---------- Boutons ---------- */
.btn { --bg: var(--ink); --fg: var(--on-ink); --bd: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255,255,255,.22), transparent 60%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-dark { --bg: var(--ink); --fg: var(--on-ink); --bd: var(--ink); }
.btn-dark:hover { box-shadow: 0 16px 30px -14px rgba(11,13,18,.45); }
.btn-accent { --bg: var(--ink); --fg: #FFFFFF; --bd: var(--ink); }
.btn-accent:hover, .btn-dark:hover { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.btn-accent:hover { box-shadow: var(--shadow-accent); }
.btn-light { --bg: #FFFFFF; --fg: var(--ink); --bd: #FFFFFF; font-weight: 700; }
.btn-light:hover { box-shadow: 0 16px 34px -14px rgba(0,0,0,.45); }
.btn-outline-light { --bg: transparent; --fg: var(--on-night); --bd: rgba(255,255,255,.5); }
.btn-outline-light:hover { --bd: var(--on-night); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn-ghost:hover { --bd: var(--ink); --fg: var(--ink); --bg: var(--accent-soft); }
.btn-ghost::after { background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(189,165,119,.18), transparent 60%); }
.btn-outline-light::after { background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255,255,255,.14), transparent 60%); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: .04em; border-bottom: 1px solid var(--gold); padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.link-arrow .btn-arrow { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); color: var(--ink); transition: color .3s, transform .4s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); transition: opacity .3s; }
.at-top .site-header:not(.menu-open)::before { opacity: 0; }
.site-header.menu-open::before { background: var(--bg); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.logo-mark-img { width: 34px; height: 34px; flex: none; display: block; }
.logo-word { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: currentColor; display: grid; place-items: center; }
.logo-mark b { color: var(--bg); font-size: 14px; }
.logo-dot { color: var(--gold); }
.logo img { height: 32px; width: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a:not(.btn) { position: relative; display: block; padding: 8px 14px; font-size: 15px; text-decoration: none; border-radius: 999px; opacity: .78; transition: opacity .2s, background-color .2s; }
.main-nav a:not(.btn):hover { opacity: 1; background: none; }
.main-nav a.is-active { opacity: 1; }
.main-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav-cta-mobile { display: none; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; cursor: pointer; color: inherit; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); color: var(--ink); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 1100px; height: 900px; z-index: -1; background: radial-gradient(closest-side, transparent, transparent); opacity: 1; transition: background 1.2s var(--ease); animation: drift 24s ease-in-out infinite alternate; will-change: transform; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero-grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(11,13,18,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,18,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.hero-layout > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 5.2vw, 78px); line-height: .98; letter-spacing: -.045em; margin: 22px 0 22px; }
.hero h1 .serif { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.rotator { margin-top: 34px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); min-height: 26px; }
.rotator b { position: relative; display: inline-block; color: var(--accent-on-night); font-weight: 400; font-family: var(--font-serif); font-style: italic; font-size: 1.25em; overflow: hidden; height: 1.6em; vertical-align: bottom; }
.rotator b span { display: block; animation: wordIn .6s var(--ease); }
@keyframes wordIn { from { transform: translateY(100%); opacity: 0; } }

.stage { position: relative; perspective: 1600px; }
.stage-inner { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); padding: 0 0 64px 0; }
.stage .browser { position: relative; width: 100%; }
.stage .phone { position: absolute; left: -4%; bottom: 0; width: 23%; transform: translateZ(60px); }
.stage-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.stage-tab { position: relative; text-align: left; padding: 14px 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; overflow: hidden; transition: background .3s, color .3s, border-color .3s; }
.stage-tab small { display: block; line-height: 1.35; margin-top: 3px; }
.stage-tab b { display: block; line-height: 1.3; color: var(--ink); font-weight: 400; font-size: 15px; letter-spacing: -.01em; }
.stage-tab small { font-size: 12.5px; }
.stage-tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.stage-tab[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); }
.stage-tab[aria-selected="true"] i { animation: tabfill var(--dur, 7s) linear forwards; }
.stage.is-paused .stage-tab[aria-selected="true"] i { animation-play-state: paused; }
@keyframes tabfill { to { transform: scaleX(1); } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 24px 0; font-size: 15px; color: var(--ink-2); }
.trust li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trust .icon { width: 38px; height: 38px; flex: none; border-radius: 0; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--accent-on-night); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Cadres navigateur & smartphone */
.browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #F2F0EB; }
.browser-url { flex: 1; max-width: 380px; margin: 0 auto; height: 22px; border-radius: 4px; background: #E7E3DA; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; overflow: hidden; white-space: nowrap; padding: 0 10px; }
.browser-url::before { content: ""; width: 8px; height: 9px; border: 1.5px solid #8F8A7E; border-radius: 2px; border-top-width: 3px; }
.browser-screen { position: relative; aspect-ratio: 16 / 10; background: #F3F1EC; overflow: hidden; }
.browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.projects .browser, .features .browser { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.projects .browser-bar, .features .browser-bar { background: #F1F3F8; }
.projects .browser-url, .features .browser-url { background: #E3E6EE; color: var(--muted); }
.phone { position: relative; aspect-ratio: 9.4 / 19.6; background: #0B0D12; border-radius: 15% / 7.2%; box-shadow: var(--shadow-lg); border: 1px solid rgba(11,13,18,.2); }
.phone-screen { position: absolute; inset: 1.6% 3.4%; border-radius: 12% / 5.6%; overflow: hidden; background: #F3F1EC; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-screen::before { content: ""; position: absolute; top: 1.2%; left: 50%; width: 26%; height: 2%; transform: translateX(-50%); background: #0B0D12; border-radius: 999px; z-index: 3; }

/* Aperçus live (iframe mise à l'échelle) */
.live { position: absolute; inset: 0; overflow: hidden; background: #F3F1EC; }
.live iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; transition: opacity .6s var(--ease); }
.live iframe.is-loading { opacity: 0; }
.live[data-live-fill] iframe { pointer-events: auto; }
.live::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%) #F2F0EB; background-size: 200% 100%; animation: shimmer 1.4s linear infinite; opacity: 0; pointer-events: none; transition: opacity .4s; }
.live.is-loading::after { opacity: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px 70px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head h2, .about h2, .contact-simple h2 { font-size: clamp(36px, 4.8vw, 68px); letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.section-intro { color: var(--ink-2); font-size: 18px; max-width: 470px; justify-self: end; }

/* Apparition */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js .split.is-visible .w > span { transform: none; }

/* ---------- Réalisations ---------- */
.chapters { display: grid; gap: clamp(80px, 10vw, 140px); }
.chapter { --pa: var(--accent); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.chapter:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.chapter:nth-child(even) .ch-copy { order: 2; }
.ch-copy { min-width: 0; }
.ch-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.ch-num { font-variant-numeric: tabular-nums; color: var(--pa); font-weight: 700; }
.ch-badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--pa) 14%, transparent); color: var(--pa); font-size: 12px; }
.ch-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pa); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ch-title { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.05em; margin: 18px 0 8px; }
.ch-type { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--pa); margin-bottom: 20px; }
.ch-desc { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.ch-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.ch-feats li { font-size: 13.5px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.ch-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ch-visual { position: relative; min-width: 0; padding: clamp(24px, 3.5vw, 48px); border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--pa) 26%, transparent), transparent 60%), var(--surface-2); overflow: hidden; cursor: pointer; }
.ch-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--accent) 30%, transparent) 1px, transparent 1px); background-size: 22px 22px; opacity: .25; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.ch-visual .browser { position: relative; transition: transform .8s var(--ease); }
.ch-visual .phone { position: absolute; right: clamp(16px, 3vw, 40px); bottom: -8%; width: 21%; transition: transform .8s var(--ease); will-change: transform; }
.ch-visual:hover .browser { transform: translateY(-6px) scale(1.01); }
.ch-open { position: absolute; top: 14px; right: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; line-height: 1; white-space: nowrap; box-shadow: 0 4px 14px -6px rgba(10,10,10,.3); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.ch-open svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ch-visual:hover .ch-open, .ch-visual:focus-visible .ch-open { opacity: 1; transform: none; }
.demo-notice { margin-top: clamp(60px, 8vw, 100px); font-size: 14px; color: var(--muted); max-width: 760px; padding-left: 16px; border-left: 1px solid var(--gold); }

/* ---------- Visite des fonctionnalités ---------- */
.features { background: var(--night); color: var(--on-night); }
.features .eyebrow { color: var(--on-night-muted); }
.features .section-intro { color: var(--on-night-muted); }
.features .eyebrow, .features .section-head h2 .serif { color: var(--accent-on-night); }
.features .demo-notice { color: var(--on-night-muted); }
.tour { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: stretch; }
.tour-list { display: grid; gap: 8px; align-content: start; }
.tour-tab { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--on-night-muted); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.tour-tab .icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--on-night); transition: background .3s; }
.tour-tab b { color: var(--on-night); font-weight: 400; font-size: 17px; letter-spacing: -.01em; }
.tour-tab p { font-size: 14px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.tour-tab small { grid-column: 2; font-size: 12px; color: var(--on-night-muted); }
.tour-tab:hover { background: rgba(255,255,255,.04); }
.tour-tab[aria-selected="true"] { background: rgba(255,255,255,.06); border-color: var(--gold); }
.tour-tab[aria-selected="true"] .icon { background: var(--gold); color: var(--ink); }
.tour-tab[aria-selected="true"] p { max-height: 80px; opacity: 1; }
.tour-view { position: relative; min-width: 0; display: flex; flex-direction: column; }
.tour-view .browser { flex: 1; display: flex; flex-direction: column; min-height: 600px; background: #fff; box-shadow: 0 50px 120px -40px rgba(0,0,0,.8); }
.tour-view .browser-bar { background: #F1F3F8; }
.tour-view .browser-url { background: #E3E6EE; color: var(--muted); }
.tour-screen { position: relative; flex: 1; }
.tour-hint { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 2px; background: var(--ink); color: #FFFFFF; font-size: 13px; pointer-events: none; box-shadow: 0 10px 30px -10px rgba(0,0,0,.55); transition: opacity .5s; }
.tour-hint.is-hidden { opacity: 0; }
.tour-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); animation: blink 1.4s infinite; }
.tour-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--on-night-muted); flex-wrap: wrap; }
.tour-foot a { color: var(--accent-on-night); }

/* ---------- Services (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { --mx: 50%; --my: 50%; position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 230px; transition: transform .4s var(--ease), border-color .3s; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(189,165,119,.10), transparent 60%); opacity: 0; transition: opacity .3s; }
.svc:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.svc:hover::before { opacity: 1; }
.svc.wide { grid-column: span 2; }
.svc .icon { width: 46px; height: 46px; border-radius: 0; background: transparent; border: 1px solid var(--gold); color: var(--ink); display: grid; place-items: center; margin-bottom: auto; }
.svc h3 { font-size: 21px; letter-spacing: -.025em; margin-top: 30px; }
.svc p { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 460px; }
.svc .num { position: absolute; top: 24px; right: 26px; font-size: 13px; color: var(--line-strong); font-variant-numeric: tabular-nums; }
.bento-foot { margin-top: 36px; display: flex; justify-content: center; }
.metier { min-height: 200px; }
.metier h3 { margin-top: 26px; }
.stage-tabs[hidden] { display: none; }

/* ---------- Pour tous les métiers : sélecteur interactif ---------- */
.mt-bar { display: flex; align-items: center; gap: 10px; }
.mt-rail { flex: 1; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); padding-inline: 20px; }
.mt-rail::-webkit-scrollbar { display: none; }
.mt-chip { flex: none; scroll-snap-align: center; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.mt-chip:hover { border-color: var(--ink); transform: none; }
.mt-chip:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.mt-chip b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.mt-chip small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.mt-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.mt-ico svg, .mt-nav svg, .mt-plus svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mt-chip.is-active { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.mt-chip.is-active small { color: var(--on-night-muted); }
.mt-chip.is-active .mt-ico { background: var(--gold); color: var(--ink); }
.mt-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s; }
.mt-nav:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

.mt-panel { margin-top: 22px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.mt-panel.is-in > * { animation: mtIn .55s var(--ease) both; }
.mt-panel.is-in > *:nth-child(2) { animation-delay: .08s; }
@keyframes mtIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mt-top { display: flex; align-items: center; justify-content: space-between; }
.mt-ico-lg { width: 56px; height: 56px; background: var(--ink); color: var(--gold); }
.mt-ico-lg svg { width: 24px; height: 24px; }
.mt-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.mt-kicker { display: block; margin-top: 30px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mt-intro h3 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 0; }
.mt-intro p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; margin: 18px 0 28px; }
.mt-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-ctas .btn { height: 48px; padding: 0 22px; }
.mt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.mt-box-alt { background: var(--accent-soft); border-style: dashed; border-color: var(--gold); }
.mt-box h4 { margin: 0 0 18px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mt-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mt-box li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.mt-plus { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; margin-top: 1px; }
.mt-plus svg { width: 11px; height: 11px; stroke-width: 2.2; }
.mt-note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) { .mt-panel { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .mt-nav { display: none; }
  .mt-rail { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .mt-cols { grid-template-columns: 1fr; }
  .mt-box { padding: 22px; }
  .mt-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .mt-panel.is-in > * { animation: none; } }

/* ---------- Pourquoi ---------- */
/* ---------- Tarif ---------- */
.pricing { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); border-block: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px clamp(40px, 7vw, 110px); align-items: center; }
.pricing-aside h2 { font-size: clamp(36px, 4.8vw, 68px); letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.pricing-aside > p { color: var(--muted); font-size: 18px; margin: 24px 0 0; max-width: 500px; }
.pr-market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 34px 0 0; max-width: 560px; }
.pr-market div { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--bg); }
.pr-market dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pr-market dd { margin: 6px 0 2px; font-size: 20px; letter-spacing: -.02em; color: var(--ink-2); }
.pr-market small { font-size: 12.5px; color: var(--muted); line-height: 1.35; display: block; }
.pr-market .is-us { border: 2px solid var(--accent); background: var(--bg); }
.pr-market .is-us dd { color: var(--ink); font-weight: 700; }
.pr-foot { font-size: 12.5px !important; margin-top: 12px !important; }
.pr-card { position: relative; border: 2px solid var(--accent); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-lg); padding: clamp(28px, 3.4vw, 44px); }
.pr-tag { position: absolute; top: -13px; left: 28px; background: var(--accent-2); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pr-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 4px 0 0; }
.pr-price strong { font-size: clamp(64px, 7vw, 100px); font-weight: 700; color: var(--ink); letter-spacing: -.06em; line-height: 1; }
.pr-price span { color: var(--muted); font-size: 14.5px; }
.pr-legal { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.pr-list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 11px; }
.pr-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.pr-tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent-soft); color: var(--gold-text); display: grid; place-items: center; }
.pr-tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pr-seats { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 14.5px; color: var(--ink-2); }
.pr-dots { display: inline-flex; gap: 4px; }
.pr-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.pr-dots i.taken { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.pr-btn { width: 100%; }
.pr-more { display: inline-flex; margin-top: 16px; font-size: 15px; }
.pr-reassure { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.steps::after { background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 28px; transition: background .4s, border-color .4s, color .4s; }
.step.is-on .step-dot { background: var(--ink); border-color: var(--gold); color: var(--gold); }
.step h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 260px; }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-grid:has(.has-photo) { grid-template-columns: 1.1fr 1fr; }
.portrait.has-photo { aspect-ratio: 4 / 3; background: #fff; align-self: center; }
.portrait.has-photo img { object-position: center 30%; }
.portrait-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--night); }
.portrait-fallback span { font-family: var(--font-serif); font-style: italic; font-size: clamp(96px, 14vw, 180px); color: var(--on-night); letter-spacing: -.04em; }
.portrait-card { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.portrait-card strong { display: block; font-size: 16px; }
.portrait-card span { font-size: 13px; color: var(--muted); }
.about-copy p { color: var(--ink-2); font-size: 18px; margin-top: 20px; max-width: 580px; }
.values { margin-top: 30px; display: grid; gap: 12px; }
.values li { display: flex; gap: 12px; align-items: flex-start; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--gold-text); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.about-contact { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; }
.about-contact a { text-decoration: none; }

/* ---------- Contact ---------- */
.contact { background: var(--night); color: #FFFFFF; position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 900px; height: 900px; z-index: -1; background: none; }
.contact .eyebrow { color: #FFFFFF; }
.contact .eyebrow::before { background: var(--gold); }
.contact .eyebrow::before { box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.contact h2 .serif { color: var(--accent-on-night); }
.contact-simple { max-width: 760px; margin-inline: auto; text-align: center; }
.contact-simple > p { color: var(--on-night-muted); font-size: 18px; margin: 22px auto 0; max-width: 560px; }
.contact-list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.25); text-align: left; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-list .icon { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 0; background: transparent; border: 1px solid var(--gold) !important; color: var(--gold); display: grid; place-items: center; }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-night-muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.socials a { height: 38px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 14px; }
.socials a:hover { border-color: var(--ink); }
.contact .socials a { border-color: rgba(255,255,255,.5); }
.contact .socials a:hover { border-color: #fff; color: #fff; }
.contact .btn-dark { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.contact .btn-dark:hover { --bg: #FFFFFF; --bd: #FFFFFF; --fg: var(--ink); }
.contact .btn-dark:hover { box-shadow: 0 18px 36px -14px rgba(0,0,0,.45); }
.contact :focus-visible { outline-color: var(--gold); }
.contact-simple .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); border-top: 1px solid var(--line); color: var(--on-night-muted); padding: clamp(70px, 9vw, 110px) 0 36px; }
.footer-big { font-size: clamp(56px, 12vw, 190px); font-weight: 700; letter-spacing: -.06em; line-height: .85; color: var(--on-night); margin-bottom: 60px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--on-night); font-size: 19px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.footer-brand img { width: 40px; height: 40px; }
.footer-big .logo-dot { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-top: 40px; border-top: 1px solid var(--night-line); }
.footer-grid p { font-size: 15px; max-width: 320px; }
.footer-grid h3 { font-size: 12.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-night); font-size: 15px; }
.footer-grid a:hover { color: var(--accent-on-night); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent-on-night); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* ---------- Modal projet ---------- */
.project-modal { width: min(1320px, 100% - 40px); height: min(900px, 100% - 40px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 50px 120px -20px rgba(0,0,0,.5); }
.project-modal::backdrop { background: rgba(11,13,18,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.project-modal[open] { animation: modalIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal-inner { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 16px 28px; border-bottom: 1px solid var(--line); }
.modal-heading { display: flex; align-items: baseline; gap: 14px; min-width: 0; flex-wrap: wrap; }
.modal-heading h2 { font-size: clamp(22px, 2.4vw, 30px); }
.modal-heading span { font-size: 14px; color: var(--muted); }
.modal-tools { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.modal-body { display: grid; grid-template-columns: 1.7fr 1fr; min-height: 0; }
.modal-preview { position: relative; min-height: 0; display: flex; flex-direction: column; background: var(--surface-2); padding: 18px 26px 0; }
.view-switch { align-self: center; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.view-switch button { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.view-switch button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.view-switch button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.preview-area { flex: 1; min-height: 0; display: flex; justify-content: center; }
.preview-desktop { width: 100%; display: flex; flex-direction: column; min-height: 0; border-radius: 12px 12px 0 0; background: #fff; }
.preview-desktop .browser-bar { background: #F1F3F8; }
.preview-desktop .browser-url { background: #E3E6EE; color: var(--muted); }
.preview-live, .preview-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; background: #fff; }
.preview-scroll img { width: 100%; height: auto; }
.preview-mobile { display: flex; justify-content: center; height: 100%; padding-bottom: 18px; min-height: 0; }
.preview-mobile .phone { height: 100%; max-height: 740px; width: auto; }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 12.5px; display: inline-flex; align-items: center; pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.scroll-hint.is-hidden { opacity: 0; }
.modal-info { overflow-y: auto; padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.modal-info h3 { font-size: 12.5px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.modal-info .desc { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.feature-list { display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: center; }
.modal-actions { display: grid; gap: 10px; }
.modal-actions .btn { width: 100%; }
.modal-note { font-size: 13px; color: var(--muted); }
.modal-similar { margin-top: auto; padding: 22px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--gold); color: var(--ink); }
.modal-similar strong { display: block; font-size: 18px; margin-bottom: 6px; }
.modal-similar p { font-size: 15px; color: var(--ink-2); margin-bottom: 16px; }
.modal-open { overflow: hidden; }

/* ---------- Consentement ---------- */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 380px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; }
.consent[hidden] { display: none; }
.consent-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* ---------- Pages simples ---------- */
.simple-page { padding: calc(var(--header-h) + clamp(40px, 8vw, 90px)) 0 clamp(60px, 10vw, 120px); }
.simple-page .container { max-width: 820px; }
.simple-page h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; margin: 18px 0 24px; }
.simple-page h2 { font-size: 24px; margin: 48px 0 12px; }
.simple-page p, .simple-page li { color: var(--ink-2); margin-bottom: 10px; }
.simple-page ul { list-style: disc; padding-left: 20px; }
.simple-page h3 { font-size: 19px; margin: 28px 0 8px; }
.simple-page strong { color: var(--ink); }
.simple-page a:not(.btn) { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.simple-page a:not(.btn):hover { color: var(--gold-text); }
.legal-date { font-size: 14px; color: var(--muted); margin-top: -8px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 44px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-nav a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 14px; color: var(--ink-2); }
.legal-nav a:hover { border-color: var(--accent); color: var(--accent); }
.legal-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.table-wrap { overflow-x: auto; margin: 18px 0 22px; }
.simple-page table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.simple-page th, .simple-page td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.simple-page th { color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; border-bottom-color: var(--line-strong); }
.simple-page tr:last-child td { border-bottom: 0; }
.placeholder { background: #FFF1C2; color: #6B4E00; padding: 0 4px; border-radius: 4px; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center-page p { color: var(--muted); font-size: 18px; margin: 0 auto 32px; max-width: 480px; }
.simple-body .site-header { color: var(--ink); }
.simple-body .site-header::before { opacity: 1; }
.simple-body .site-footer { padding-top: 40px; }
.simple-body { min-height: 100vh; display: flex; flex-direction: column; }
.simple-body main { flex: 1; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .tour { grid-template-columns: 320px 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc.wide { grid-column: auto; }
  .modal-body { grid-template-columns: 1.4fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .logo, .menu-toggle { position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; z-index: 1; background: var(--bg); color: var(--ink); padding: calc(var(--header-h) + 30px) var(--gutter) 40px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { font-size: 34px; font-weight: 700; letter-spacing: -.04em; padding: 16px 0; border-radius: 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .main-nav a:not(.btn):hover { background: none; }
  .main-nav a.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; }
  .nav-cta-mobile { display: inline-flex; width: 100%; height: 58px; margin-top: 30px; }
  .hero-layout { grid-template-columns: 1fr; }
  .stage { max-width: 760px; }
  .section-head { grid-template-columns: 1fr; }
  .section-intro { justify-self: start; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chapter, .chapter:nth-child(even) { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .ch-copy { order: 0; }
  .ch-visual { order: -1; }
  .tour { grid-template-columns: 1fr; }
  .tour-list { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-tab p { display: none; }
  .tour-view .browser { min-height: 560px; }
  .pricing-grid, .about-grid, .about-grid:has(.has-photo) { grid-template-columns: 1fr; }
  .about-grid .portrait { max-width: 460px; }
  .about-grid .portrait.has-photo { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .project-modal { width: 100%; height: 100%; border-radius: 0; }
  .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-preview { height: min(74vh, 680px); padding: 14px 14px 0; }
  .modal-info { overflow: visible; padding: 26px 20px 40px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .stage-inner { padding-bottom: 40px; }
  .stage .phone { width: 28%; left: auto; right: -2%; }
  .stage-tabs { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .stage-tab { padding: 10px 12px 12px; }
  .stage-tab b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage-tab small { display: none; }
  .browser-bar { height: 26px; padding: 0 10px; }
      .browser-url { height: 15px; font-size: 9px; }
  .trust li { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; padding: 20px 0; }
  .trust li + li { padding-left: 16px; }
  .trust li:nth-child(3) { padding-left: 0; }
  .ch-actions .btn { flex: 1 1 100%; }
  .ch-visual .phone { width: 26%; }
  .ch-open { display: none; }
  .tour-view .browser { min-height: 520px; }
  .bento { grid-template-columns: 1fr; }
  .svc.wide { grid-column: auto; }
  .svc { min-height: 0; }
  .svc h3 { margin-top: 18px; }
  .pr-market { grid-template-columns: 1fr; gap: 8px; }
  .pr-market div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; padding: 12px 14px; }
  .pr-market dd { margin: 0; font-size: 18px; }
  .pr-market small { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; }
  .step-dot { grid-row: span 2; margin: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom nav { gap: 10px 18px; }
  .simple-body .footer-bottom { align-items: flex-start; }
  .modal-heading span { display: none; }
  .modal-tools [data-nav] { display: none; }
  .modal-preview { height: 78vh; }
  .consent { left: 12px; right: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split .w > span { opacity: 1; transform: none; }
}

/* Photo d'équipe sur petit écran : la légende passe sous la photo pour ne pas masquer les visages */
@media (max-width: 700px) {
  .portrait.has-photo { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
  .portrait.has-photo img { aspect-ratio: 4 / 3; height: auto; border-radius: var(--radius-lg); background: #fff; }
  .portrait.has-photo .portrait-card { position: static; margin-top: 12px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   CHARTE LA VITRINE DIGIT — blanc, noir, doré
   Sections noires : hero, fonctionnalités, contact, pied de page.
   ===================================================================== */
body { font-size: 17px; line-height: 1.65; color: var(--ink); }
.section { padding: clamp(84px, 10vw, 140px) 0; }

/* --- Boutons : rectangulaires, libellés en capitales espacées --- */
.btn { border-radius: 0; height: 54px; padding: 0 28px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 12px; }
.btn-lg { height: 58px; padding: 0 32px; }
.btn:hover { transform: none; }
.btn::after { display: none; }
.btn-dark:hover, .btn-accent:hover, .btn-light:hover { box-shadow: none; }

/* --- En-tête --- */
.site-header::before { background: rgba(255,255,255,.94); }
.logo { gap: 14px; }
.logo-mark-img { width: auto; height: 42px; }
.logo-word { font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.main-nav a:not(.btn) { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.main-nav a.is-active::after { background: var(--gold); width: 18px; height: 1px; margin-left: -9px; border-radius: 0; }
.at-top .site-header:not(.menu-open) { color: var(--on-night); }
.at-top .site-header:not(.menu-open) .logo-mark-img { filter: invert(1); }
.at-top .site-header:not(.menu-open) .header-cta { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.at-top .site-header:not(.menu-open) .menu-toggle { color: var(--on-night); }

/* --- Hero (noir) --- */
.hero { background: var(--night); color: var(--on-night); }
.hero-glow, .hero-grid-bg { display: none; }
.hero .eyebrow { color: var(--on-night); }
.hero h1 { font-size: clamp(44px, 5.6vw, 86px); line-height: 1.02; letter-spacing: -.015em; }
.hero h1 .serif { color: var(--accent-on-night); }
.hero-sub { color: var(--on-night-muted); }
.hero .btn-accent { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.hero .btn-accent:hover { --bg: #FFFFFF; --bd: #FFFFFF; --fg: var(--ink); }
.hero .btn-outline-light { --fg: var(--on-night); --bd: rgba(255,255,255,.45); --bg: transparent; }
.rotator { color: var(--on-night-muted); }
.stage-tab { background: transparent; border-color: var(--night-line); color: var(--on-night-muted); border-radius: 0; }
.stage-tab b { color: var(--on-night); }
.stage-tab[aria-selected="true"] { background: rgba(255,255,255,.06); border-color: var(--gold); }
.trust { border-top-color: var(--night-line); }
.trust li { color: var(--on-night); }
.trust li + li, .trust li:nth-child(n+3) { border-color: var(--night-line); }
.hero .browser { border-color: rgba(255,255,255,.12); }

/* --- Fonctionnalités (noir) --- */
.features .eyebrow { color: var(--on-night); }
.features .eyebrow::before, .hero .eyebrow::before { background: var(--gold); }
.tour-tab { border-radius: 0; }
.tour-tab .icon { border-radius: 0; background: transparent; border: 1px solid var(--night-line); }
.tour-foot a { color: var(--accent-on-night); }

/* --- Cartes et surfaces : sobres --- */
.mt-chip { border-radius: 0; }
.mt-chip.is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.mt-nav { border-radius: 0; }
.mt-nav:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.mt-panel { box-shadow: none; background: var(--surface); }
.mt-ico-lg { border-radius: 0; }
.mt-box { border-radius: 0; }
.mt-kicker, .mt-box h4, .pr-market dt, .footer-grid h3, .modal-info h3, .contact-list small { letter-spacing: .2em; }

/* --- Tarif (blanc, carte noire) --- */
.pricing { background: var(--surface-2); }
.pr-market div { border-radius: 0; }
.pr-market .is-us { border: 1px solid var(--ink); }
.pr-card { background: var(--night); color: var(--on-night); border: 1px solid var(--gold); border-radius: 0; box-shadow: var(--shadow-lg); }
.pr-card .pr-price strong { color: var(--on-night); font-family: var(--font-display); font-weight: 400; }
.pr-card .pr-price span, .pr-card .pr-legal, .pr-card .pr-reassure { color: var(--on-night-muted); }
.pr-card .pr-list li, .pr-card .pr-seats { color: #E6E2D8; }
.pr-card .pr-tick { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.pr-card .pr-dots i { background: var(--gold); }
.pr-card .pr-dots i.taken { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.pr-card .btn-accent { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.pr-card .btn-accent:hover { --bg: #FFFFFF; --bd: #FFFFFF; }
.pr-card .link-arrow { color: var(--on-night); }
.pr-tag { background: var(--gold); color: var(--ink); border-radius: 0; font-weight: 600; }

/* --- Méthode --- */
.step-dot { border-radius: 50%; font-family: var(--font-display); font-weight: 400; font-size: 18px; color: var(--ink); }
.step h3 { font-size: 26px; }

/* --- À propos --- */
.portrait, .portrait.has-photo img { border-radius: 0; }
.portrait-card { border-radius: 0; border-left: 2px solid var(--gold); }
.values li { color: var(--ink-2); }

/* --- Contact (noir) --- */
.contact-list li, .contact-list { border-color: var(--night-line); }
.contact-list .icon { border-radius: 0; }
.contact .socials a { border-radius: 0; }

/* --- Pied de page --- */
.footer-big { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
.footer-brand img { width: auto; height: 46px; filter: invert(1); }
.footer-brand { font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }

/* --- Pages simples, modale, consentement --- */
.legal-nav a, .socials a, .view-switch, .view-switch button, .icon-btn, .consent { border-radius: 0; }
.project-modal { border-radius: 0; }
.simple-page h1 { letter-spacing: -.01em; }
.simple-page h2 { font-size: 26px; }

@media (max-width: 980px) {
  .main-nav a:not(.btn) { font-family: var(--font-display); font-size: 34px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .at-top .site-header.menu-open .logo-mark-img { filter: none; }
}
@media (max-width: 720px) {
  .logo-mark-img { height: 36px; }
  .logo-word { font-size: 11px; letter-spacing: .24em; }
  .btn { letter-spacing: .1em; }
}

/* Ajustements typographiques */
h1, h2, h3, h4, .section-head h2, .about h2, .contact-simple h2, .pricing-aside h2, .mt-intro h3, .svc h3, .ch-title, .hero h1 { letter-spacing: -.005em; }
.footer-grid h3, .modal-info h3, .mt-box h4, .simple-page th { font-family: var(--font-sans); font-weight: 600 !important; font-size: 11.5px; letter-spacing: .22em; }
.contact .eyebrow::before { box-shadow: none; }
.site-footer { border-top-color: var(--night-line); }

/* Contact : section blanche (équilibre ~60 % blanc / 40 % noir) */
.contact { background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
.contact .eyebrow { color: var(--ink); }
.contact h2 .serif { color: var(--gold-text); }
.contact-simple > p, .contact-list small { color: var(--muted); }
.contact-list, .contact-list li { border-color: var(--line); }
.contact-list .icon { color: var(--gold-text); }
.contact .btn-dark { --bg: var(--ink); --fg: #FFFFFF; --bd: var(--ink); }
.contact .btn-dark:hover { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.contact .socials a { border-color: var(--line-strong); }
.contact .socials a:hover { border-color: var(--ink); color: var(--ink); }
.contact :focus-visible { outline-color: var(--gold-text); }
.footer-big { font-size: clamp(52px, 10vw, 160px); margin-bottom: 48px; }

/* Photo par métier */
.mt-photo { position: relative; margin: 0 0 26px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.mt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-photo .mt-count { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: var(--ink); color: var(--gold); font-size: 12px; letter-spacing: .18em; }
.mt-photo + .mt-kicker { margin-top: 0; }
.mt-dash { flex: none; width: 14px; height: 1px; margin-top: 12px; background: var(--gold-text); }

/* Méthode en 5 étapes */
.steps { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.step p { max-width: 240px; }
@media (max-width: 1180px) and (min-width: 981px) { .step h3 { font-size: 22px; } }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .step:last-child { grid-column: auto; } }

/* Hero : points concrets */
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 38px; max-width: 560px; border-top: 1px solid var(--night-line); }
.hero-points li { padding: 18px 16px 0 0; display: grid; gap: 4px; }
.hero-points li + li { padding-left: 16px; border-left: 1px solid var(--night-line); }
.hero-points strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--accent-on-night); }
.hero-points span { font-size: 13.5px; line-height: 1.4; color: var(--on-night-muted); }
.trust li > span { display: grid; gap: 2px; }
.trust li small { font-size: 13px; color: var(--on-night-muted); line-height: 1.35; }
@media (max-width: 1180px) and (min-width: 981px) { .hero-layout { grid-template-columns: 1fr 1fr; } .hero h1 { font-size: clamp(42px, 5vw, 64px); } }
@media (max-width: 980px) { .hero-copy { max-width: 680px; } .hero-sub { max-width: 600px; } }
@media (max-width: 420px) { .hero-points { grid-template-columns: 1fr; } .hero-points li, .hero-points li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--night-line); display: flex; align-items: baseline; gap: 12px; } .hero-points strong { min-width: 92px; } }
.hero h1 { font-size: clamp(42px, 5.2vw, 78px); }
h2 { text-wrap: pretty; }
@media (max-width: 1180px) and (min-width: 981px) {
  .header-cta { display: none; }
  .main-nav a:not(.btn) { padding: 8px 10px; letter-spacing: .08em; white-space: nowrap; }
}

/* Métiers : une seule colonne « Inclus » + lien services */
.mt-cols { grid-template-columns: 1fr; }
.mt-more { margin-top: 26px; }

/* =====================================================================
   DORÉ ALLÉGÉ — le doré ne sert plus qu'aux filets et petits détails
   (filet des sur-titres, barre de progression, étiquette de l'offre,
   pastilles de places). Accents de titres et boutons en noir/blanc.
   ===================================================================== */
.serif, .hero h1 .serif, .contact h2 .serif, .features .section-head h2 .serif, .sv-hero h1 .serif, .sv-cta h2 .serif { color: inherit; }
.hero .btn-accent, .at-top .site-header:not(.menu-open) .header-cta, .pr-card .btn-accent, .contact .btn-dark:hover, .final-cta .btn-accent, .sv-btn-gold { --bg: #FFFFFF; --bd: #FFFFFF; --fg: var(--ink); }
.hero .btn-accent:hover, .pr-card .btn-accent:hover, .final-cta .btn-accent:hover, .sv-btn-gold:hover, .at-top .site-header:not(.menu-open) .header-cta:hover { --bg: transparent; --bd: #FFFFFF; --fg: #FFFFFF; }
.btn-accent:hover, .btn-dark:hover { --bg: #2A2925; --bd: #2A2925; --fg: #FFFFFF; }
.contact .btn-dark:hover { --bg: #2A2925; --bd: #2A2925; --fg: #FFFFFF; }
.hero-points strong, .rotator b, .tour-foot a { color: #FFFFFF; }
.trust .icon, .tour-tab .icon, .sv-ico, .contact-list .icon, .promise .ico, .svc .icon { border-color: rgba(255,255,255,.22) !important; }
.svc .icon, .sv-ico, .promise .ico, .contact-list .icon { border-color: var(--line-strong) !important; }
.tour-tab[aria-selected="true"] { border-color: rgba(255,255,255,.4); }
.tour-tab[aria-selected="true"] .icon { background: #FFFFFF; color: var(--ink); }
.stage-tab[aria-selected="true"] { border-color: rgba(255,255,255,.4); }
.stage-tab i { background: #FFFFFF; }
.mt-chip.is-active .mt-ico { background: #FFFFFF; color: var(--ink); }
.mt-ico-lg { color: #FFFFFF; }
.mt-photo .mt-count { color: #FFFFFF; }
.check, .pr-tick, .mt-ico { background: var(--surface); color: var(--ink); }
.pr-card .pr-tick { border-color: rgba(255,255,255,.35); color: #FFFFFF; }
.step.is-on .step-dot { border-color: var(--ink); color: #FFFFFF; }
.steps::after { background: var(--ink); }
.portrait-card { border-left-color: var(--ink); }
.pr-card { border-color: var(--night); }
.price-card { border-color: var(--ink); }
.timeline li { border-top-color: var(--line-strong); }
.timeline .when, .faq summary::after, .sv-step-n, .mt-plus { color: var(--ink); }
.sv-steps-list li { border-top-color: var(--line-strong); }
.mt-box-alt { border-color: var(--line-strong); }
.modal-similar { border-color: var(--line); }
.link-arrow { border-bottom-color: currentColor; }
.about-contact a:not(.btn), .simple-page a:not(.btn) { text-decoration-color: var(--line-strong); }
.footer-big .logo-dot { color: #FFFFFF; }
.contact-list .icon, .sv-ico { color: var(--ink); }

/* =====================================================================
   ANIMATION D'ENTRÉE
   ===================================================================== */
.intro { display: none; }
html.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 500; background: var(--night); color: #fff; pointer-events: auto; cursor: pointer; }
.intro-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.intro-mono { width: clamp(120px, 16vw, 220px); height: auto; clip-path: inset(100% 0 0 0); transform: translateY(24px) scale(1.12); animation: introMono 1s cubic-bezier(.2,.8,.2,1) .1s forwards; }
.intro-rule { width: 0; height: 1px; background: var(--gold); animation: introRule .6s cubic-bezier(.2,.8,.2,1) .85s forwards; }
.intro-word { font-size: clamp(12px, 1.3vw, 15px); letter-spacing: .8em; text-transform: uppercase; opacity: 0; padding-left: .8em; animation: introWord .8s cubic-bezier(.2,.8,.2,1) 1s forwards; }
.intro-curtain { position: absolute; inset: 0; background: var(--night); }
html.intro-on .intro { animation: introOut .85s cubic-bezier(.76,0,.24,1) 1.75s forwards; }
html.intro-skip .intro { animation: introOut .45s cubic-bezier(.76,0,.24,1) forwards !important; }
html.intro-done .intro { pointer-events: none; }
@keyframes introMono { to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes introRule { to { width: clamp(90px, 12vw, 160px); } }
@keyframes introWord { to { opacity: 1; letter-spacing: .34em; } }
@keyframes introOut { to { transform: translateY(-100%); } }
/* le hero se dévoile juste après le rideau */
html.intro-on .hero .split .w > span { transition-delay: calc(1.95s + var(--i) * 45ms); }
html.intro-on .hero-copy > *:not(h1) { animation: heroUp .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: 2.25s; }
html.intro-on .hero-copy > .hero-actions { animation-delay: 2.4s; }
html.intro-on .hero-copy > .hero-points { animation-delay: 2.55s; }
html.intro-on .hero-stage { animation: heroStage 1.2s cubic-bezier(.2,.7,.2,1) 2.1s both; }
html.intro-on .trust li { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) both; }
html.intro-on .trust li:nth-child(1) { animation-delay: 2.6s; } html.intro-on .trust li:nth-child(2) { animation-delay: 2.7s; } html.intro-on .trust li:nth-child(3) { animation-delay: 2.8s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } }
@keyframes heroStage { from { opacity: 0; transform: translateY(60px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { html.intro-on .intro { display: none; } }

/* Hero : filigrane et indicateur de défilement */
.hero-watermark { position: absolute; right: -6%; top: 6%; width: min(46vw, 640px); height: auto; opacity: .045; z-index: -1; pointer-events: none; will-change: transform; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--on-night-muted); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--on-night-muted), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 720px) { .scroll-cue { display: none; } .hero-watermark { width: 70vw; top: 2%; } }

/* =====================================================================
   BANDEAU DÉFILANT DES MÉTIERS
   ===================================================================== */
.marquee { overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 34px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(34px, 5vw, 72px); line-height: 1; white-space: nowrap; padding: 0 clamp(18px, 2.4vw, 36px); color: var(--ink); }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee b { flex: none; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =====================================================================
   MÉTHODE : cartes interactives
   ===================================================================== */
.method { background: var(--surface); border-top: 1px solid var(--line); }
.method .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.steps { gap: 16px; }
.steps::before, .steps::after { top: 27px; }
.step-card { position: relative; overflow: hidden; display: grid; gap: 12px; align-content: start; min-height: 290px; padding: 26px 24px 28px; background: var(--bg); border: 1px solid var(--line); transition: background .45s var(--ease), color .45s var(--ease), border-color .45s, transform .45s var(--ease), box-shadow .45s; }
.step-num { position: absolute; right: -6px; bottom: -28px; font-family: var(--font-display); font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); pointer-events: none; transition: -webkit-text-stroke-color .45s; }
.step-ico { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: border-color .45s, background .45s, color .45s; }
.step-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin-top: 14px; font-size: 26px; }
.step-card p { position: relative; color: var(--ink-2); max-width: none; font-size: 15.5px; line-height: 1.55; transition: color .45s; }
.step-dot { margin-bottom: 22px; background: var(--surface); }
.step.is-current .step-card, .step.is-hover .step-card { background: var(--night); color: #fff; border-color: var(--night); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step.is-current .step-card p, .step.is-hover .step-card p { color: var(--on-night-muted); }
.step.is-current .step-ico, .step.is-hover .step-ico { border-color: rgba(255,255,255,.3); }
.step.is-current .step-num, .step.is-hover .step-num { -webkit-text-stroke-color: rgba(255,255,255,.18); }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-card { background: var(--bg); color: var(--ink); border-color: var(--line); transform: none; box-shadow: none; }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-card p { color: var(--ink-2); }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-ico { border-color: var(--line-strong); }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-num { -webkit-text-stroke-color: var(--line-strong); }
@media (max-width: 980px) { .step-card { min-height: 0; } .step-dot { display: none; } }
@media (max-width: 720px) { .step { display: block; } .step-num { font-size: 120px; } }

/* =====================================================================
   SANS INTERMÉDIAIRE (bandeau noir)
   ===================================================================== */
.direct { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.direct-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.direct .eyebrow { color: var(--on-night); }
.direct h2 { font-size: clamp(36px, 4.6vw, 66px); margin-top: 18px; }
.direct-intro { margin-top: 22px; font-size: 18px; color: var(--on-night-muted); max-width: 560px; }
.direct-points { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--night-line); }
.direct-points li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--night-line); }
.direct-points b { display: block; font-weight: 600; font-size: 17px; }
.direct-points span:not(.direct-ico) { font-size: 15px; color: var(--on-night-muted); }
.direct-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); }
.direct-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.direct-btn { margin-top: 34px; --bg: #FFFFFF; --bd: #FFFFFF; --fg: var(--ink); }
.direct-btn:hover { --bg: transparent; --fg: #FFFFFF; }
.direct-visual { display: grid; gap: 18px; }
.chain { padding: 28px; border: 1px solid var(--night-line); background: rgba(255,255,255,.03); }
.chain-label { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 20px; }
.chain ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.chain li { display: flex; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 160ms); }
.chain li span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); font-size: 14.5px; white-space: nowrap; }
.chain li + li::before { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,.3); margin: 0 2px; }
.chain.is-usual li span { color: var(--on-night-muted); border-style: dashed; }
.chain.is-usual li + li span { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.35); }
.chain.is-ours { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.chain.is-ours li span { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; font-weight: 600; font-size: 17px; padding: 14px 20px; }
.chain.is-ours li + li::before { width: 60px; height: 2px; background: var(--gold); }
.chain.is-ours ol { gap: 0; }
.direct-visual.is-on .chain li { opacity: 1; transform: none; }
.direct-visual.is-on .chain.is-ours li { transition-delay: calc(.7s + var(--i) * 220ms); }
@media (max-width: 980px) { .direct-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .chain li span { font-size: 13px; padding: 8px 10px; } .chain li + li::before { width: 14px; } .chain.is-ours li + li::before { width: 34px; } }

/* =====================================================================
   À PROPOS + CONTACT : moins de vide, plus de matière
   ===================================================================== */
.about { padding-block: clamp(72px, 8vw, 120px); }
.about-grid { align-items: center; }
.contact { padding-block: clamp(72px, 8vw, 120px); background: var(--surface); }
.contact-simple { max-width: none; text-align: left; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact-copy > p { color: var(--ink-2); font-size: 18px; margin: 22px 0 0; max-width: 520px; }
.contact-copy .btn { margin-top: 32px; }
.contact-copy .socials { justify-content: flex-start; }
.contact-card { background: var(--night); color: #fff; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.contact-card-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 8px; }
.contact-card .contact-list { margin-top: 10px; border-top: 1px solid var(--night-line); }
.contact-card .contact-list li { border-bottom: 1px solid var(--night-line); padding: 20px 0; }
.contact-card .contact-list small { color: var(--on-night-muted); }
.contact-card .contact-list a, .contact-card .contact-list span { color: #fff; font-size: 18px; }
.contact-card .contact-list .icon { border-color: rgba(255,255,255,.22) !important; color: #fff; background: transparent; }
@media (max-width: 980px) { .contact-simple { grid-template-columns: 1fr; } }
.section { padding-block: clamp(76px, 9vw, 128px); }
.method .section-head { grid-template-columns: 1fr; }
.method .section-head h2 { max-width: 16ch; }
.pr-reasons { margin-top: 30px; display: grid; gap: 0; max-width: 520px; border-top: 1px solid var(--line); }
.pr-reasons li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.pr-reasons b { display: block; color: var(--ink); font-weight: 600; }


/* =====================================================================
   MÉTHODE — 5 cartes strictement égales, police Instrument Sans
   ===================================================================== */
.steps { align-items: stretch; }
.step { display: flex; flex-direction: column; }
.step-card { flex: 1; min-height: 0; height: 100%; grid-template-rows: auto auto 1fr auto; font-family: "Instrument Sans", var(--font-sans); }
.step-num { display: none; }
.step-card h3 { font-family: "Instrument Sans", var(--font-sans); font-weight: 600 !important; font-size: 21px; letter-spacing: -.01em; line-height: 1.25; margin-top: 10px; }
.step-card p { font-size: 15px; line-height: 1.6; }
.step-badges { display: grid; gap: 6px; align-self: end; margin-top: 6px; }
.step-badges li { font-size: 12px; line-height: 1.35; font-weight: 600; letter-spacing: .02em; padding: 7px 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.step.is-current .step-badges li, .step.is-hover .step-badges li { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-badges li { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
@media (min-width: 981px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .step:last-child { grid-column: auto; } }

/* =====================================================================
   FENÊTRE « ÉCRIRE UN E-MAIL »
   ===================================================================== */
.mail-modal { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); overflow: auto; }
.mail-modal::backdrop { background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mail-modal[open] { animation: mmIn .35s var(--ease); }
@keyframes mmIn { from { opacity: 0; transform: translateY(18px); } }
html.mm-open { overflow: hidden; }
.mm-inner { padding: clamp(24px, 4vw, 40px); }
.mm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mm-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mm-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 8px; }
.mm-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.mm-close:hover { border-color: var(--ink); }
.mm-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mm-intro { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.mm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.mm-full { grid-column: 1 / -1; }
.mm-field { display: grid; gap: 6px; }
.mm-field label { font-size: 13.5px; color: var(--ink-2); }
.mm-field input, .mm-field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); padding: 12px 14px; border-radius: 0; resize: vertical; }
.mm-field input:focus, .mm-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,10,.08); }
.mm-subject { font-size: 13px; color: var(--muted); }
.mm-subject span { color: var(--ink); }
.mm-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.mm-btn { --bg: #fff; --fg: var(--ink); --bd: var(--ink); height: 50px; padding: 0 12px; font-size: 12px; letter-spacing: .1em; white-space: normal; text-align: center; line-height: 1.2; }
.mm-btn:hover { --bg: var(--ink); --fg: #fff; }
.mm-btn-dark { --bg: var(--ink); --fg: #fff; }
.mm-btn-dark:hover { --bg: #2A2925; --bd: #2A2925; }
.mm-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.mm-coords { display: grid; gap: 2px; font-size: 15px; }
.mm-addr { user-select: all; font-weight: 600; }
.mm-tel { color: var(--ink-2); text-decoration: none; }
.mm-tel:hover { text-decoration: underline; }
.mm-copy { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 10px 14px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.mm-copy:hover { border-color: var(--ink); }
.mm-status { min-height: 20px; margin-top: 10px; font-size: 13.5px; color: var(--success); font-weight: 600; }
@media (max-width: 560px) { .mm-fields, .mm-actions { grid-template-columns: 1fr; } }

/* =====================================================================
   AMBIANCE LÉGÈREMENT PLUS SOMBRE — interface toujours claire
   ===================================================================== */
:root {
  --bg: #F7F6F2;              /* blanc cassé */
  --surface: #EFECE5;         /* ivoire soutenu */
  --surface-2: #F3F1EC;
  --ink-2: #34332F;
  --muted: #5E5B54;           /* 6.3:1 sur le fond */
  --line: #DCD7CC;
  --line-strong: #BDB6A8;
}
.site-header::before { background: rgba(247,246,242,.94); }
.step-card, .mt-box, .pr-market div, .sv-card:not(.is-empty), .mm-field input, .mm-field textarea, .mail-modal, .portrait-card { background: #FFFFFF; }
.mt-panel { background: var(--surface); }
.contact { background: var(--surface); }
.method { background: var(--surface); }
.pricing { background: var(--surface-2); }

/* Textes qui se chevauchent ou se collent : supprimés / aérés */
.hero-watermark { display: none; }
.step-num { display: none !important; }
h1, h2, h3, .hero h1, .section-head h2, .about h2, .contact-simple h2, .pricing-aside h2, .direct h2, .mt-intro h3, .footer-big, .sv-hero h1 { letter-spacing: .005em !important; }
h1, .hero h1 { line-height: 1.08; }
h2 { line-height: 1.1; }
.hero h1 { word-spacing: .04em; }
.marquee span { padding: 0 clamp(22px, 3vw, 44px); }
.footer-big { line-height: .95; letter-spacing: 0 !important; }
.eyebrow { letter-spacing: .2em; }
.mt-photo .mt-count { left: 12px; bottom: 12px; }
.portrait-card { left: 18px; right: auto; bottom: 18px; max-width: calc(100% - 36px); }

/* Sans intermédiaire : version courte */
.direct { padding-block: clamp(64px, 7vw, 100px); }
.direct-intro { margin-top: 18px; }

/* Chargement : pas de décalage de mise en page */
img { height: auto; }
.mt-photo, .portrait.has-photo img { aspect-ratio: 4 / 3; }

/* Légende de la photo d'équipe sous l'image (ne recouvre plus les visages) */
.portrait.has-photo { aspect-ratio: auto; background: none; overflow: visible; border-radius: 0; }
.portrait.has-photo img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.portrait.has-photo .portrait-card { position: static; margin-top: 14px; max-width: none; border: 1px solid var(--line); border-left: 2px solid var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Bande d'engagements : 3 éléments */
.trust { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .trust { grid-template-columns: repeat(3, 1fr); } .trust li:nth-child(3) { padding-left: 24px; border-left: 1px solid var(--night-line); } .trust li:nth-child(n+3) { border-top: 0; } }
@media (max-width: 720px) {
  .trust { grid-template-columns: 1fr; }
  .trust li, .trust li + li, .trust li:nth-child(3) { flex-direction: row; align-items: center; padding: 14px 0; border-left: 0; border-top: 1px solid var(--night-line); }
  .trust li:first-child { border-top: 0; }
}

/* Photo des métiers : plus compacte sur ordinateur uniquement */
@media (min-width: 1101px) {
  .mt-photo { aspect-ratio: 16 / 9; max-width: 420px; margin-bottom: 20px; }
  .mt-photo img { object-position: center 40%; }
}

/* Fenêtre e-mail : envoi direct */
.mm-field label span { color: var(--muted); }
.mm-field.is-invalid input, .mm-field.is-invalid textarea { border-color: var(--danger); }
.mm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mm-error { margin-top: 14px; padding: 12px 14px; border-left: 2px solid var(--danger); background: #FBEDEA; color: #8A1F14; font-size: 14px; line-height: 1.5; }
.mm-send { width: 100%; margin-top: 18px; --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.mm-send:hover { --bg: #2A2925; --bd: #2A2925; --fg: #fff; }
.mm-send[disabled] { opacity: .7; cursor: progress; }
.mm-legal { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mm-legal a { color: inherit; }
.mm-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.mm-alt-title { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.mm-alt .mm-actions { margin-top: 12px; }
.mm-alt .mm-foot { margin-top: 16px; padding-top: 0; border-top: 0; }
.mm-success { padding: 26px 0 6px; text-align: center; outline: none; }
.mm-ok { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; }
.mm-ok svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mm-success h3 { font-size: 30px; margin-top: 18px; }
.mm-success p { margin: 12px auto 0; max-width: 420px; color: var(--ink-2); }
.mm-done { margin-top: 24px; --bg: var(--ink); --fg: #fff; --bd: var(--ink); }

/* Réseaux sociaux (affichés dès qu'un lien est renseigné dans content.js → socials) */
.socials { gap: 10px; margin-top: 26px; }
.social { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 12px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 14px; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact .socials a { border-radius: 0; }
.footer-grid:has(.footer-socials) { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-socials { display: grid; gap: 10px; }
.social-foot { height: auto; padding: 0; border: 0; color: var(--on-night); font-size: 15px; }
.social-foot:hover { background: none; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 980px) { .footer-grid:has(.footer-socials) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid:has(.footer-socials) { grid-template-columns: 1fr; } }
/* Téléphone : lien d'appel bien visible */
a[href^="tel:"] { white-space: nowrap; }

/* Réseaux sociaux — pied de page des pages secondaires */
.footer-social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 6px 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--night-line); }
.footer-social-row > span { font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--on-night-muted); margin-right: 6px; }
.footer-social-row a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-night); text-decoration: none; font-size: 14.5px; }
.footer-social-row a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.footer-social-row b { font-weight: 400; }
.footer-social-row svg, .social-foot svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   HERO : logo VD en fond, léger
   ===================================================================== */
.hero-watermark { display: block; position: absolute; z-index: -1; right: 4%; top: 50%; width: min(38vw, 560px); height: auto; opacity: .07; transform: translateY(-50%); pointer-events: none; animation: wmFloat 14s ease-in-out infinite alternate; }
@keyframes wmFloat { from { translate: 0 -12px; } to { translate: 0 12px; } }
html.intro-on .hero-watermark { opacity: 0; animation: wmIn 1.6s ease 2.1s forwards, wmFloat 14s ease-in-out 3.7s infinite alternate; }
@keyframes wmIn { to { opacity: .07; } }
.hero-layout { position: relative; }
@media (max-width: 980px) { .hero-watermark { right: -8%; top: auto; bottom: 6%; width: 70vw; transform: none; opacity: .06; } }
@media (prefers-reduced-motion: reduce) { .hero-watermark { animation: none; } }
.hero-watermark { transform: translateY(calc(-50% + var(--py, 0px))); }
@media (max-width: 980px) { .hero-watermark { transform: translateY(var(--py, 0px)); } }

/* =====================================================================
   MÉTHODE — version plus vivante (après Fonctionnalités)
   ===================================================================== */
.method { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); border-top: 0; position: relative; overflow: hidden; }
.method::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,10,10,.07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.method .container { position: relative; }
.method .section-head { grid-template-columns: 1.15fr 1fr; }
.method .section-head h2 { max-width: none; }
.step-card { grid-template-rows: auto auto 1fr auto auto; gap: 12px; padding: 24px 22px 0; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(10,10,10,.03); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-n { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: 0; color: var(--ink); transition: color .45s; }
.step-ico { width: 44px; height: 44px; border: 0 !important; background: var(--ink); color: #fff; transition: background .45s, color .45s; }
.step-card h3 { margin-top: 8px; font-size: 19px; }
.step-card p { color: var(--ink-2); }
.step-badges { margin-top: 4px; }
.step-badges li { display: flex; align-items: flex-start; gap: 8px; background: var(--surface); border-color: var(--line); font-weight: 500; }
.step-badges li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .45em; background: var(--gold); transform: rotate(45deg); }
.step-bar { display: block; height: 3px; margin: 18px -22px 0; background: var(--line); position: relative; overflow: hidden; }
.step-bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.step.is-on .step-bar::after { transform: scaleX(1); }
.step-card:hover { transform: translateY(-6px); }
.step.is-current .step-n, .step.is-hover .step-n { color: #fff; }
.step.is-current .step-ico, .step.is-hover .step-ico { background: #fff; color: var(--ink); }
.step.is-current .step-badges li, .step.is-hover .step-badges li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.step.is-current .step-bar, .step.is-hover .step-bar { background: rgba(255,255,255,.15); }
.step.is-current .step-bar::after, .step.is-hover .step-bar::after { background: var(--gold); }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-n { color: var(--ink); }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-ico { background: var(--ink); color: #fff; }
.steps:has(.is-hover) .step.is-current:not(.is-hover) .step-badges li { background: var(--surface); border-color: var(--line); color: var(--ink); }
.step-dot { width: 46px; height: 46px; font-size: 15px; }
.steps::before, .steps::after { top: 22px; height: 2px; }
@media (max-width: 980px) { .method .section-head { grid-template-columns: 1fr; } }

/* =====================================================================
   MÉTIERS — métiers qui défilent dans le titre + photos compactes
   ===================================================================== */
#metiers-title { font-size: clamp(36px, 4.8vw, 68px); }
.mt-rot { display: flex; align-items: baseline; height: 1.12em; overflow: hidden; }
.mt-rot-word { display: inline-block; transition: transform .32s cubic-bezier(.6,0,.2,1), opacity .32s; will-change: transform; }
.mt-rot-word.is-out { transform: translateY(-105%); opacity: 0; }
.mt-rot-word.is-in { transform: translateY(105%); opacity: 0; transition: none; }
.mt-rot-comma { color: var(--muted); }
.mt-title { display: block; }
.mt-title .serif { font-style: italic; }
/* photo : bandeau compact et animé */
.mt-photo { overflow: hidden; }
.mt-photo img { transition: transform 1.2s var(--ease); }
.mt-panel.is-in .mt-photo img { animation: mtZoom 1.4s var(--ease) both; }
.mt-photo:hover img { transform: scale(1.05); }
@keyframes mtZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (min-width: 1101px) { .mt-photo { aspect-ratio: 12 / 5; max-width: 340px; margin-bottom: 18px; } }
@media (min-width: 721px) and (max-width: 1100px) { .mt-photo { aspect-ratio: 12 / 5; max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .mt-panel.is-in .mt-photo img { animation: none; } }

/* =====================================================================
   LOGO VD CENTRÉ EN FOND SUR TOUTES LES PAGES
   Un seul logo blanc, fixe au centre de l'écran. Le mode de fusion
   « difference » l'affiche en blanc sur les sections noires et en noir
   sur les sections blanches, automatiquement.
   ===================================================================== */
body::after {
  content: ""; position: fixed; left: 50%; top: 50%; z-index: 90;
  width: min(44vw, 520px); aspect-ratio: 220 / 240;
  transform: translate(-50%, -50%);
  background: url("../img/logo/monogramme-vd-blanc.svg") center / contain no-repeat;
  mix-blend-mode: difference; opacity: .06; pointer-events: none;
}
@media (max-width: 720px) { body::after { width: 72vw; opacity: .06; } }
html.intro-on:not(.intro-done) body::after { opacity: 0; }
body::after { transition: opacity 1.2s ease; }
.hero-watermark { display: none !important; }

/* =====================================================================
   PHRASE D'ACCROCHE : 2e partie mise en valeur (doré dégradé)
   ===================================================================== */
.hero h1 .serif {
  display: block; margin-top: .06em;
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: 1.12em; letter-spacing: -.01em; line-height: 1.02;
  color: #D9C391;
  background: linear-gradient(100deg, #A88C5A 0%, #E9D7AC 35%, #C9AE78 55%, #F2E4C2 72%, #B99B66 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: heroGold 2.4s cubic-bezier(.2,.7,.2,1) .4s both;
  padding-bottom: .08em;
}
html.intro-on .hero h1 .serif { animation-delay: 2.6s; }
@keyframes heroGold { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .serif { animation: none; background-position: 0 0; } }

/* =====================================================================
   POURQUOI UN SITE INTERNET ?
   ===================================================================== */
.why { background: #FFFFFF; position: relative; }
.why .section-head { grid-template-columns: 1.15fr 1fr; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.why .section-head h2 { max-width: 15ch; }
.why .section-head h2 .serif { display: block; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why-item { position: relative; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 34px) clamp(30px, 3.4vw, 46px); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background .4s var(--ease), color .4s var(--ease); }
.why-item:nth-child(3n) { border-right: 0; }
.why-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--gold); transition: width .6s var(--ease); }
.why-item:hover::before { width: 100%; }
.why-n { display: block; font-family: var(--font-serif); font-style: italic; font-size: clamp(44px, 4vw, 60px); line-height: 1; color: var(--gold-text, #9A7F4F); margin-bottom: 18px; }
.why-item h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.18; letter-spacing: .005em; margin: 0 0 12px; max-width: 18ch; }
.why-item p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 36ch; }
.why-item:hover { background: var(--night); color: #fff; }
.why-item:hover p { color: rgba(255,255,255,.72); }
.why-item:hover .why-n { color: #D9C391; }
.why-close { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(30px, 4vw, 56px); background: var(--night); color: #fff; position: relative; overflow: hidden; }
.why-close h3 { font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; margin: 0 0 14px; }
.why-close h3 .serif { color: #D9C391; }
.why-close p { margin: 0; color: rgba(255,255,255,.74); max-width: 60ch; line-height: 1.7; }
.why-close-actions { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; }
.why-btn { background: #fff; color: var(--ink); border-color: #fff; }
.why-btn:hover { background: #D9C391; border-color: #D9C391; color: var(--ink); }
.why-link { color: #fff; }
@media (max-width: 980px) {
  .why .section-head { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .why-item:nth-child(2n) { border-right: 0; }
  .why-close { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: 0 !important; padding-inline: 0; }
  .why-item:hover { background: none; color: inherit; }
  .why-item:hover p { color: var(--muted); }
  .why-n { font-size: 40px; margin-bottom: 10px; }
}

/* =====================================================================
   À PROPOS : photo un peu plus bas + prénoms sur la photo
   ===================================================================== */
@media (min-width: 981px) { .about-grid .portrait { margin-top: clamp(40px, 5vw, 72px); } }
.portrait.has-photo { position: relative; }
.portrait-tags { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 3; pointer-events: none; }
.portrait-tag { position: absolute; bottom: 16px; display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; background: rgba(10,10,10,.82); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.portrait-tag em { font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #D9C391; }
.portrait-tag.is-left { left: 16px; }
.portrait-tag.is-right { right: 16px; }
@media (max-width: 620px) { .portrait-tag { bottom: 10px; padding: 6px 9px; font-size: 12px; } .portrait-tag.is-left { left: 10px; } .portrait-tag.is-right { right: 10px; } .portrait-tag em { font-size: 10px; } }

/* Tarif : explication « donnant-donnant » */
.pr-deal { margin-top: 26px; padding: 22px 24px; background: #FFFFFF; border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.pr-deal p { margin: 0; }
.pr-deal-title { font-family: "Gloock", Georgia, serif; font-size: 22px; line-height: 1.2; margin-bottom: 8px !important; color: var(--ink); }
.pr-deal ul { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.pr-deal li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; }
.pr-deal li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.pr-deal-outro { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--ink); }

/* Fenêtre « Nous appeler directement » (clic sur un numéro) */
.call-modal { width: min(400px, calc(100% - 32px)); padding: 40px 28px 28px; border: 0; background: var(--bg); color: var(--ink); text-align: center; box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); }
.call-modal::backdrop { background: rgba(10,10,10,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.call-modal[open] { animation: mmIn .35s var(--ease); }
.cm-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; }
.cm-x svg, .cm-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cm-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: #D9C391; margin-bottom: 14px; }
.cm-ico svg { width: 24px; height: 24px; }
.cm-kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.call-modal h2 { margin: 0; font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.15; }
.cm-num { margin: 14px 0 22px; font-size: 26px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.cm-go { display: flex; width: 100%; justify-content: center; background: var(--ink); color: #fff; border-color: var(--ink); }
.cm-go:hover { background: #000; color: #fff; }
.cm-copy { display: flex; width: 100%; justify-content: center; background: var(--ink); color: #fff; border-color: var(--ink); cursor: pointer; }
.cm-copy:hover { background: #000; color: #fff; }
.cm-status { min-height: 1.4em; margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* =====================================================================
   TARIF : encadré « Vitrine Pilote inclus »
   ===================================================================== */
.pr-pilote { display: grid; gap: 6px; margin: 22px 0 6px; padding: 18px 20px; border: 1px solid rgba(217,195,145,.55); background: linear-gradient(135deg, rgba(217,195,145,.12), rgba(217,195,145,.02)); color: #E6E2D8; text-decoration: none; transition: border-color .3s, background .3s; }
.pr-pilote:hover { border-color: #D9C391; background: linear-gradient(135deg, rgba(217,195,145,.2), rgba(217,195,145,.05)); }
.pr-pilote-tag { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #D9C391; }
.pr-pilote-name { display: flex; align-items: center; gap: 10px; font-family: "Gloock", Georgia, serif; font-size: 24px; color: #fff; }
.pr-pilote-name img { width: 20px; height: auto; }
.pr-pilote-text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); }
.pr-pilote-offer { font-size: 14.5px; color: #fff; }
.pr-pilote-offer b { color: #D9C391; font-weight: 600; }
.pr-pilote-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.pr-pilote-more .btn-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* =====================================================================
   TARIF : deux formules au choix dans la même carte
   ===================================================================== */
.pr-formulas { border: 0; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.pr-formulas legend { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-night-muted); }
.pr-formula { position: relative; display: block; cursor: pointer; }
.pr-formula input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pr-formula-box { position: relative; display: grid; gap: 6px; padding: 18px 20px 18px 52px; border: 1px solid rgba(255,255,255,.18); transition: border-color .25s, background .25s; }
.pr-formula-box::before { content: ""; position: absolute; left: 20px; top: 22px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); }
.pr-formula input:checked + .pr-formula-box { border-color: var(--gold); background: rgba(189,165,119,.08); }
.pr-formula input:checked + .pr-formula-box::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 4px, transparent 5px); }
.pr-formula input:focus-visible + .pr-formula-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.pr-formula:hover .pr-formula-box { border-color: rgba(255,255,255,.4); }
.pr-formula-name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #fff; }
.pr-formula-name img { opacity: .9; }
.pr-formula-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pr-formula-price strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; color: #fff; }
.pr-formula-price span { font-size: 13.5px; color: #D9C391; }
.pr-formula:not(.is-pilote) .pr-formula-price span { color: var(--on-night-muted); }
.pr-formula-text { font-size: 14px; color: var(--on-night-muted); }
.pr-formula-badge { position: absolute; top: -10px; right: 14px; padding: 3px 9px; background: var(--gold); color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pr-card .pr-legal { margin-top: 12px; }
.pr-list-title { margin: 22px 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-night-muted); }
.pr-extras { margin-top: 6px; padding: 4px 18px 16px; border: 1px dashed rgba(255,255,255,.22); opacity: .8; transition: opacity .3s, border-color .3s, background .3s; }
.pr-extras.is-on { opacity: 1; border-style: solid; border-color: var(--gold); background: rgba(189,165,119,.06); }
.pr-extras .pr-list-title { margin-top: 14px; color: #D9C391; }
.pr-list.is-plus li { display: flex; gap: 12px; align-items: baseline; }
.pr-plus { flex: none; width: 20px; height: 20px; display: inline-grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 14px; line-height: 1; }
.pr-extras-link { margin-top: 14px; color: #fff; font-size: 14px; }
.pr-card .pr-pilote { display: none; }

/* =====================================================================
   ACCUEIL : visuel d'entrée (la démonstration vient ensuite)
   ===================================================================== */
.hv { position: relative; height: clamp(440px, 46vw, 600px); max-width: 640px; margin-left: auto; }
.hv-frame { position: absolute; left: 14%; top: 4%; right: 2%; bottom: 10%; border: 1px solid rgba(189,165,119,.55); }
.hv-img { position: absolute; margin: 0; overflow: hidden; background: #151513; box-shadow: 0 40px 80px -30px rgba(0,0,0,.75); }
.hv-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); animation: hvZoom 14s ease-in-out infinite alternate; }
.hv-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.35)); }
.hv-img-1 { left: 0; top: 12%; width: 58%; height: 76%; z-index: 2; }
.hv-img-2 { right: 0; top: 0; width: 46%; height: 44%; z-index: 1; }
.hv-img-3 { right: 6%; bottom: 0; width: 40%; height: 40%; z-index: 3; }
.hv-img-2 img { animation-delay: -5s; }
.hv-img-3 img { animation-delay: -9s; }
.hv-badge { position: absolute; left: 34%; bottom: 6%; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(10,10,10,.82); border: 1px solid rgba(189,165,119,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; animation: hvFloat 6s ease-in-out infinite alternate; }
.hv-badge img { flex: none; }
.hv-badge b { display: block; font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.2; }
.hv-badge small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.72); }
@keyframes hvZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@keyframes hvFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.hero-stage .hv { animation: hvIn 1.1s cubic-bezier(.2,.7,.2,1) .2s both; }
html.intro-on .hero-stage .hv { animation-delay: 2.3s; }
@keyframes hvIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .hv { height: clamp(320px, 88vw, 460px); margin: 8px auto 0; max-width: 560px; }
  .hv-badge { left: 22%; }
}
@media (max-width: 480px) { .hv-badge { left: 8%; right: 8%; padding: 12px 14px; } .hv-badge b { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .hv-img img, .hv-badge, .hero-stage .hv { animation: none; } }
