/* =========================================================
   STUDIO SIERRA — design v4, esprit Apple
   Une idée par écran. Très grands titres. L'image d'abord.
   Particuliers : clair, chaud. Professionnels : noir, doré.
   ========================================================= */
:root {
  --bg: #fbfaf8;
  --bg-2: #f2efeb;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6a66;
  --line: rgba(29, 29, 31, .12);
  --accent: #a87a52;
  --accent-ink: #ffffff;
  --grad: linear-gradient(100deg, #8d5f3c 0%, #c4936a 45%, #b9707a 100%);
  --nav: rgba(251, 250, 248, .78);
  --shadow: 0 30px 80px -40px rgba(60, 40, 25, .45);

  --font: "Inter", -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
body.dark {
  --bg: #000000;
  --bg-2: #0d0d0e;
  --card: #161617;
  --ink: #f5f5f7;
  --ink-2: #8e8a86;
  --line: rgba(245, 245, 247, .14);
  --accent: #d2a679;
  --accent-ink: #000000;
  --grad: linear-gradient(100deg, #f0d9bd 0%, #d2a679 45%, #9c6a43 100%);
  --nav: rgba(0, 0, 0, .72);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- Typographie ---------- */
.kicker { font-size: 17px; font-weight: 600; color: var(--accent); margin: 0 0 10px; letter-spacing: -.01em; }
.display { font-size: clamp(46px, 8.4vw, 112px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6.2vw, 80px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.14; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.sub { font-size: clamp(19px, 2vw, 26px); line-height: 1.3; font-weight: 500; color: var(--ink-2); letter-spacing: -.02em; margin: 16px 0 0; text-wrap: balance; }
.muted { color: var(--ink-2); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; max-width: 34ch; }

.section { padding-block: clamp(80px, 12vw, 160px); }
.section.tight { padding-block: clamp(56px, 8vw, 100px); }
.alt { background: var(--bg-2); }
.head { margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Liens et boutons ---------- */
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 28px; }
.center .links { justify-content: center; }
.more { color: var(--accent); text-decoration: none; font-size: 19px; font-weight: 500; }
.more::after { content: " ›"; display: inline-block; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); font-size: 17px; font-weight: 500; padding: 12px 24px; border-radius: 999px; transition: filter .25s, transform .25s var(--ease); }
.pill:hover { filter: brightness(1.08); }
.pill:active { transform: scale(.97); }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill.small { font-size: 13px; padding: 7px 14px; }

/* ---------- Barre de navigation (globale + locale, comme Apple) ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--nav); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid transparent; transition: border-color .3s; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 51; background: var(--bg); }
.nav.scrolled { border-color: var(--line); }
.nav-in { height: 56px; display: flex; align-items: center; gap: 22px; }
.nav-logo { display: flex; align-items: center; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav-logo svg { width: 108px; height: auto; }
.nav-sec { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); white-space: nowrap; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 12.5px; color: var(--ink); opacity: .8; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.nav-switch { font-size: 12.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-switch:hover { color: var(--ink); }
.nav-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-btn svg { transition: transform .35s var(--ease); }
.nav.open .nav-btn svg { transform: rotate(180deg); }
@media (max-width: 900px) {
  .nav-sec { font-size: 17px; margin-left: 12px; padding-left: 12px; }
  .nav-links, .nav-switch { display: none; }
  .nav-btn { display: block; }
  .nav-sheet { position: absolute; left: 0; right: 0; top: 100%; background: var(--nav); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line); display: grid; padding: 8px var(--gutter) 20px; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease-out); }
  .nav.open .nav-sheet { clip-path: inset(0 0 0 0); }
  .nav-sheet a { padding: 14px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .nav-sheet a:last-child { border: 0; color: var(--accent); }
}
@media (min-width: 901px) { .nav-sheet { display: none; } }
@media (max-width: 420px) { .nav-logo svg { width: 92px; } .nav-sec { display: none; } }

/* ---------- Héros + vidéo qui s'agrandit ---------- */
.hero { padding-top: clamp(56px, 9vw, 120px); text-align: center; }
.hero .display { max-width: 12ch; margin: 0 auto; }
.scene { position: relative; height: 190vh; margin-top: clamp(40px, 6vw, 72px); }
.scene-stick { position: sticky; top: 56px; height: calc(100vh - 56px); height: calc(100svh - 56px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scene-media { --p: 0; width: calc(100% - 2 * var(--gutter)); max-width: 1180px; height: 72%; border-radius: var(--r-xl); overflow: hidden; position: relative; transform-origin: 50% 50%; will-change: width, height, border-radius; box-shadow: var(--shadow); }
.scene-media video, .scene-media img { width: 100%; height: 100%; object-fit: cover; }
.scene-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px clamp(20px, 4vw, 48px); color: #fff; font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: var(--cap, 0); transition: opacity .3s; }
@media (max-width: 760px) { .scene { height: 150vh; } .scene-media { height: 62%; } }

/* ---------- Phrase qui s'allume mot à mot ---------- */
.words { position: relative; height: 220vh; }
.words-stick { position: sticky; top: 56px; height: calc(100svh - 56px); display: flex; align-items: center; }
.words p { font-size: clamp(30px, 4.8vw, 64px); line-height: 1.12; font-weight: 700; letter-spacing: -.04em; margin: 0; max-width: 20ch; }
.words span { opacity: .16; transition: opacity .25s linear; }
.words span.on { opacity: 1; }

/* ---------- Carrousel « À la une » ---------- */
.car { position: relative; }
.car-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 20px)) 30px; scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 20px)); overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: 0 0 auto; scroll-snap-align: start; transition: transform .6s var(--ease-out), opacity .6s; }
.car-track > .dim { transform: scale(.965); opacity: .55; }
.car-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.dots { display: flex; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--bg-2); }
.alt .dots, .dark .dots { background: var(--card); }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--ink-2); opacity: .45; cursor: pointer; transition: width .4s var(--ease-out), opacity .3s; }
.dots button.on { width: 40px; opacity: 1; background: var(--ink); }
.arrow-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; font-size: 18px; transition: background .25s, opacity .25s; }
.alt .arrow-btn, .dark .arrow-btn { background: var(--card); }
.arrow-btn:hover { filter: brightness(.95); }
.arrow-btn:disabled { opacity: .35; cursor: default; }

.hl { width: min(880px, 86vw); aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; position: relative; background: #111; color: #fff; isolation: isolate; cursor: pointer; border: 0; padding: 0; text-align: left; }
.hl.tall { width: min(400px, 68vw); aspect-ratio: 9 / 14; }
.hl video, .hl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 38%, transparent 62%, rgba(0,0,0,.55) 100%); }
.hl-text { position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; max-width: 20ch; }
.hl-text small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; opacity: .8; margin-top: 8px; }
.hl-play { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 500; transition: background .25s; }
.hl:hover .hl-play { background: rgba(255,255,255,.3); }
.hl-play svg { width: 22px; height: 22px; }

/* ---------- Grille de tuiles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.b { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--card); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; isolation: isolate; text-decoration: none; color: var(--ink); min-height: 220px; }
.b.img { color: #fff; justify-content: flex-end; }
.b.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.b.img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 40%, rgba(0,0,0,.6)); }
a.b.img:hover img { transform: scale(1.04); }
.b .eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 8px; }
.b.img .eyebrow { color: rgba(255,255,255,.85); }
.b .big { font-size: clamp(48px, 6vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: .95; margin: auto 0 8px; }
.b p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.b.img p { color: rgba(255,255,255,.85); }
.b .h3 { margin-top: 2px; }
.c2 { grid-column: span 2; } .c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c6 { grid-column: span 6; }
.r2 { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); gap: 12px; } .c2, .c3 { grid-column: span 1; } .c4, .c6 { grid-column: span 2; } .r2 { grid-row: span 2; } .b { min-height: 180px; padding: 20px; border-radius: var(--r-lg); } .b .big { font-size: 46px; } }

/* ---------- Contrôle segmenté ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); gap: 2px; position: relative; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.alt .seg, .dark .seg { background: var(--card); }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 20px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .25s, background .25s, box-shadow .25s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 10px -2px rgba(0,0,0,.15); }
.alt .seg button[aria-pressed="true"], .dark .seg button[aria-pressed="true"] { background: var(--bg); }

/* ---------- Galerie photo défilante ---------- */
.gal { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 26px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + 20px)) 26px; overscroll-behavior-x: contain; }
.gal::-webkit-scrollbar { display: none; }
.gal a { flex: 0 0 auto; height: clamp(360px, 58vh, 560px); border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; cursor: zoom-in; background: var(--bg-2); }
.gal a img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1s var(--ease-out); }
.gal a:hover img { transform: scale(1.03); }
.gal a[hidden] { display: none; }

/* ---------- Comparatif des formules ---------- */
.compare { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.cmp { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(4px, 1vw, 16px); }
.cmp-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; background: var(--card); }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; }
.cmp-badge { font-size: 13px; font-weight: 600; color: var(--accent); min-height: 20px; margin-bottom: 6px; }
.cmp .h3 { margin-bottom: 8px; }
.cmp-desc { color: var(--ink-2); font-size: 16px; min-height: 3em; margin: 0 0 14px; max-width: 30ch; }
.cmp-price { font-size: 17px; margin: 0 0 18px; }
.cmp-price b { font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.cmp-feats { list-style: none; margin: 30px 0 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.cmp-feats li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: grid; justify-items: center; gap: 6px; }
.cmp-feats li svg { width: 28px; height: 28px; color: var(--accent); }
.cmp-feats li.no { color: var(--ink-2); opacity: .5; }
.cmp.hi .cmp-img { box-shadow: 0 0 0 2px var(--accent); }
.cmp-num { font-size: clamp(64px, 7vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: .9; }
.compare[hidden] { display: none; }
@media (max-width: 760px) {
  .compare { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; }
  .compare::-webkit-scrollbar { display: none; }
  .cmp { flex: 0 0 80vw; scroll-snap-align: center; background: var(--card); border-radius: var(--r-xl); padding: 14px 14px 22px; }
  .cmp-img { border-radius: 18px; }
  .cmp-feats li { padding: 12px 0; }
}

/* ---------- Liste d'options ---------- */
.opts { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.opt b { font-weight: 600; font-size: 17px; }
.opt span { color: var(--ink-2); font-size: 15px; grid-column: 1; }
.opt em { font-style: normal; font-weight: 600; grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }

/* ---------- Avis ---------- */
.quote { width: min(560px, 84vw); background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; margin: 0; }
.quote .stars { color: var(--accent); letter-spacing: .15em; font-size: 15px; margin-bottom: 18px; }
.quote blockquote { margin: 0 0 22px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.quote figcaption { margin-top: auto; color: var(--ink-2); font-size: 15px; }

/* ---------- Logos / partenaires ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos.two { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.logo-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.logo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-card .lc-img { background: #f7f5f2; height: 150px; display: flex; align-items: center; justify-content: center; padding: 26px; }
.logo-card .lc-img img { max-width: 82%; max-height: 62px; object-fit: contain; }
.logo-card .lc-img img.tall { max-height: 104px; }
.logo-card .lc-txt { padding: 16px 20px 20px; display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.logo-card .lc-txt b { color: var(--ink); font-size: 17px; font-weight: 600; }
.logo-card .lc-txt i { font-style: normal; color: var(--accent); margin-top: 6px; }
@media (max-width: 900px) { .logos { grid-template-columns: 1fr 1fr; gap: 12px; } .logo-card .lc-img { height: 112px; padding: 18px; } .logo-card .lc-img img { max-height: 44px; } .logo-card .lc-img img.tall { max-height: 80px; } .logo-card .lc-txt { padding: 12px 14px 14px; font-size: 12.5px; } .logo-card .lc-txt b { font-size: 15px; } }

/* ---------- Études de cas ---------- */
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--card); border-radius: var(--r-xl); overflow: hidden; margin-bottom: 20px; }
.case-media { position: relative; min-height: 420px; background: #111; }
.case-media > video, .case-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.case-body .h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.case-steps { margin: 22px 0 0; display: grid; gap: 16px; }
.case-steps div { display: grid; gap: 2px; }
.case-steps dt { font-size: 13px; font-weight: 600; color: var(--accent); }
.case-steps dd { margin: 0; font-size: 16px; }
.case-foot { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.case-strip { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 0 4px; margin-top: 22px; scroll-snap-type: x mandatory; }
.case-strip::-webkit-scrollbar { display: none; }
.case-strip > * { flex: 0 0 auto; scroll-snap-align: start; }
.thumb { width: 150px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; position: relative; border: 0; padding: 0; cursor: pointer; background: #111; color: #fff; }
.thumb.wide { width: 220px; aspect-ratio: 16 / 10; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.thumb:hover img { transform: scale(1.05); }
.thumb span { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 12.5px; font-weight: 600; text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.thumb .tplay { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.25); backdrop-filter: blur(8px); display: grid; place-items: center; }
.thumb .tplay::before { content: ""; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .case-media { min-height: 0; aspect-ratio: 16 / 10; }
  .case-body { padding: 22px; }
  .thumb { width: 120px; } .thumb.wide { width: 200px; }
}

/* ---------- Grands chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--card); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.stat b { display: block; font-size: clamp(64px, 8vw, 120px); line-height: .9; font-weight: 700; letter-spacing: -.055em; }
.stat span { display: block; margin-top: 12px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.stat small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; gap: 12px; } .stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 18px; padding: 22px 24px; border-radius: var(--r-lg); } .stat b { font-size: 64px; grid-row: span 2; } .stat span { margin: 0; } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--r-lg); padding: 28px 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.steps b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 12px; } .steps li { padding: 20px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cinfo { list-style: none; margin: 32px 0 0; padding: 0; }
.cinfo li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.cinfo small { font-size: 13px; color: var(--ink-2); }
.cinfo a, .cinfo span { font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); }
.fld { position: relative; }
.fld.full { grid-column: 1 / -1; }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-md); padding: 26px 16px 10px; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.fld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld label { position: absolute; left: 17px; top: 9px; font-size: 12px; color: var(--ink-2); pointer-events: none; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.form .pill { grid-column: 1 / -1; padding: 16px; font-size: 17px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.hp { display: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; padding: 16px; } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about p { color: var(--ink-2); font-size: 19px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-img { aspect-ratio: 4 / 3.4; } }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta a { aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.insta a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); gap: 6px; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--bg-2); color: var(--ink-2); font-size: 12.5px; padding-block: 40px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 10px; color: var(--ink); font-size: 12.5px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-logo { color: var(--ink); display: inline-block; margin-bottom: 10px; }
.foot-logo svg { width: 120px; height: auto; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } .foot { padding-bottom: 110px; } }

/* ---------- Barre d'actions mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: 6px; position: fixed; z-index: 60; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0,0,0,.45); transform: translateY(150%); transition: transform .5s var(--ease-out); }
  .mbar.show { transform: none; }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 999px; font-size: 15px; font-weight: 600; padding: 13px 18px; }
  .mbar .call { color: var(--ink); }
  .mbar .go { flex: 1; background: var(--accent); color: var(--accent-ink); }
}

/* ---------- Visionneuses (photo et vidéo) ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top, 0px)) 12px calc(40px + env(safe-area-inset-bottom, 0px)); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb img, .lb video { max-width: 100%; max-height: 100%; border-radius: 12px; transform: scale(.96); transition: transform .5s var(--ease-out); }
.lb.open img, .lb.open video { transform: none; }
.lb video { width: min(1200px, 100%); background: #000; }
.lb video.v { width: auto; height: 100%; }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 20px; backdrop-filter: blur(10px); }
.lb .x { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb .pv { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .nx { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Apparition au défilement ---------- */
.rv { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* =========================================================
   ACCUEIL
   ========================================================= */
.home { background: #000; color: #f5f5f7; min-height: 100svh; display: flex; flex-direction: column; }
.home-top { text-align: center; padding: calc(40px + env(safe-area-inset-top, 0px)) 20px 0; }
.home-top svg { width: clamp(84px, 8vw, 112px); height: auto; margin: 0 auto; color: #f5f5f7; animation: up 1.2s var(--ease-out) both; }
.home-top h1 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; margin: 28px auto 0; max-width: 14ch; animation: up 1.2s var(--ease-out) .12s both; }
.home-top p { color: #8e8a86; font-size: clamp(17px, 1.8vw, 22px); font-weight: 500; margin: 12px 0 0; animation: up 1.2s var(--ease-out) .22s both; }
.doors { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(28px, 4vw, 48px) max(16px, env(safe-area-inset-left, 0px)) 16px; max-width: 1480px; width: 100%; margin: 0 auto; }
.dr { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; text-decoration: none; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 44px); isolation: isolate; animation: up 1.3s var(--ease-out) both; transition: transform .7s var(--ease-out); }
.dr:nth-child(2) { animation-delay: .1s; }
.dr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.dr::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72)); }
.dr small { font-size: 15px; font-weight: 600; opacity: .85; }
.dr b { display: block; font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; margin: 6px 0 16px; }
.dr i { font-style: normal; display: inline-flex; align-self: flex-start; background: rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 11px 20px; border-radius: 999px; font-weight: 500; transition: background .25s; }
.dr:hover i { background: #fff; color: #000; }
.dr:hover video { transform: scale(1.05); }
.dr:active { transform: scale(.985); }
.home-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; padding: 6px 16px calc(22px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: #8e8a86; }
.home-foot a { text-decoration: none; }
.home-foot a:hover { color: #fff; }
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; gap: 10px; padding-top: 24px; }
  .dr { min-height: 0; aspect-ratio: auto; height: calc((100svh - 300px) / 2); min-height: 220px; border-radius: 24px; padding: 22px; }
  .dr b { font-size: 30px; margin-bottom: 12px; }
  .dr i { padding: 9px 16px; font-size: 15px; }
  .home-top h1 { margin-top: 20px; }
}
@keyframes up { from { opacity: 0; transform: translateY(30px); } }

/* Pages simples */
.simple { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.simple svg { width: 150px; height: auto; margin: 0 auto 30px; }
.simple p { color: var(--ink-2); max-width: 40ch; margin: 16px auto 28px; font-size: 19px; }
.legal { max-width: 760px; margin: 0 auto; padding-block: 60px 100px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 40px 0 8px; }
.legal p { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .words span { opacity: 1; }
}

/* Correctifs mobile */
.case > *, .compare > *, .bento > *, .contact > *, .about > * { min-width: 0; }
@media (max-width: 900px) {
  .bento .c3, .bento .m2 { grid-column: span 2; }
  .bento .m2 { min-height: 0; }
  .case-media { aspect-ratio: 16 / 10; height: auto; }
}

/* Ouverture : logo central à l'arrivée sur le site */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; color: #f5f5f7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; pointer-events: none; animation: intro-out .9s var(--ease-out) 2s forwards; }
.intro-logo { width: clamp(130px, 18vw, 210px); height: auto; animation: intro-logo 1.4s var(--ease-out) .15s both, intro-zoom .9s var(--ease-out) 2s forwards; }
.intro span { font-size: 12px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; color: #a1a1a6; animation: intro-txt 1s var(--ease-out) .8s both; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.86); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-txt { from { opacity: 0; letter-spacing: .8em; } to { opacity: 1; } }
@keyframes intro-zoom { to { transform: scale(1.12); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.intro-on .home-top svg { animation-delay: 2.3s; }
.intro-on .home-top h1 { animation-delay: 2.42s; }
.intro-on .home-top p { animation-delay: 2.52s; }
.intro-on .dr { animation-delay: 2.6s; }
.intro-on .dr + .dr { animation-delay: 2.72s; }
@media (prefers-reduced-motion: reduce) { .intro { animation-duration: .3s; animation-delay: 1.2s; } .intro * { animation: none !important; } }

/* WhatsApp : devis */
.wa-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; background: #25d366; color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; padding: 15px 26px; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(37,211,102,.7); transition: transform .3s var(--ease-out), background .25s; }
.wa-btn:hover { background: #1fbe5b; transform: translateY(-2px); }
.wa-btn:active { transform: scale(.97); }
.wa-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.wa-float { position: fixed; z-index: 55; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 20px 14px 16px; border-radius: 999px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform .35s var(--ease-out), box-shadow .35s; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 22px; height: 22px; }
.mbar .wa { background: #25d366; color: #fff; }
.mbar .call { padding: 13px 15px; }
@media (max-width: 760px) { .wa-float { display: none; } }
