/* Tafat · feuille de style */
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/figtree-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/figtree-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* tifinagh */
@font-face {
  font-family: 'Noto Sans Tifinagh';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/noto-sans-tifinagh-normal-tifinagh.woff2) format('woff2');
  unicode-range: U+02C7, U+0301-0302, U+0304, U+0306-0307, U+0309, U+0323, U+0331, U+200C-200D, U+202E, U+25CC, U+2D30-2D7F;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Sans Tifinagh';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/noto-sans-tifinagh-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Sans Tifinagh';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/noto-sans-tifinagh-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Tafat : blanc de chaux, bleu de mer profond, jaune soleil (les gants), touches de motif kabyle */
:root {
  color-scheme: light;
  --chaux: #F5F8F7;
  --blanc: #FFFFFF;
  --ecume: #E3EFEE;
  --ecume-2: #D5E7E5;
  --ligne: #D0E0DF;
  --encre: #0C2A33;
  --encre-2: #3A5660;
  --muted: #647B83;
  --mer: #0E4A57;
  --mer-2: #0A3842;
  --mer-3: #072830;
  --azur: #1A7FA3;
  --soleil: #FFC53D;
  --soleil-2: #F4AE12;
  --corail: #E4572E;
  --mf-vert: #3AA35B;
  --mf-jaune: #EDBD26;
  --mf-rouge: #D9453C;
  --mf-bleu: #2F80D0;
  --wa-bg: #EFEAE2;
  --wa-bubble: #D9FDD3;
  --display: 'Bricolage Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
  --tfn: 'Noto Sans Tifinagh', 'Ebrima', sans-serif;
  --gut: clamp(16px, 4.5vw, 64px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='14' viewBox='0 0 32 14'%3E%3Cpath d='M0 7 8 0l8 7-8 7z' fill='%23E4572E'/%3E%3Cpath d='M16 7l8-7 8 7-8 7z' fill='%230C2A33'/%3E%3Cpath d='M5.5 7 8 4.5 10.5 7 8 9.5z' fill='%23FFC53D'/%3E%3Cpath d='M21.5 7 24 4.5 26.5 7 24 9.5z' fill='%23FFC53D'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--chaux); color: var(--encre);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--soleil); color: var(--encre); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--soleil-2); outline-offset: 3px; border-radius: 8px; }
.tfn { font-family: var(--tfn); font-weight: 400; letter-spacing: .04em; }

/* ---------- Typo ---------- */
.eyebrow { font: 700 12.5px/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--azur); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.eyebrow-light { color: rgba(245, 248, 247, .82); }
.eyebrow-sun { color: var(--soleil); }
h2 {
  font-family: var(--display); font-weight: 760; font-variation-settings: 'wdth' 84, 'opsz' 96;
  font-size: clamp(36px, 5vw, 70px); line-height: .98; letter-spacing: -.025em;
}
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head-split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 18px clamp(24px, 5vw, 80px); }
.sec-head-split > div { display: grid; gap: 18px; }
.sec-lede { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--encre-2); max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  transform: translate(var(--mx, 0px), var(--my, 0px)); white-space: nowrap;
}
.btn-sun { background: var(--soleil); color: var(--encre); box-shadow: 0 12px 26px -14px rgba(244, 174, 18, .9); }
.btn-sun:hover { background: var(--soleil-2); }
.btn-ghost-light { border-color: rgba(245, 248, 247, .55); color: var(--chaux); }
.btn-ghost-light:hover { background: rgba(245, 248, 247, .12); border-color: var(--chaux); }
.btn-line { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-line:hover { background: var(--encre); color: var(--chaux); }
.btn-wa { background: var(--soleil); color: var(--encre); }
.btn-wa:hover { background: var(--soleil-2); }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn-wide { width: 100%; }
.i-wa { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.i-wa-in { fill: currentColor; stroke: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--soleil); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gut) 0; display: flex; align-items: center; gap: 28px; color: var(--chaux);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.nav.solid { background: rgba(245, 248, 247, .9); color: var(--encre); box-shadow: 0 1px 0 var(--ligne); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; fill: var(--soleil); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg) scale(1.08); }
.brand-txt { display: grid; line-height: 1; }
.brand-txt b { font: 800 25px/1 var(--display); font-variation-settings: 'wdth' 82; letter-spacing: -.02em; }
.brand-txt small { font: 400 11px/1.3 var(--tfn); letter-spacing: .18em; opacity: .75; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font: 600 15px/1 var(--sans); opacity: .85; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--soleil); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 4px; padding-left: 14px; border-left: 1px solid rgba(128, 150, 155, .45); }
.nav-links .lang-switch a { font: 700 12.5px/1 var(--sans); letter-spacing: .08em; padding: 7px 6px; opacity: .65; }
.nav-links .lang-switch a::after { left: 6px; right: 6px; bottom: 1px; }
.nav-links .lang-switch a[aria-current="page"] { opacity: 1; }
.nav-links .lang-switch a[aria-current="page"]::after { transform: scaleX(1); }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.nav-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-burger i:first-child { top: 17px; }
.nav-burger i:last-child { top: 25px; }
.nav.open .nav-burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; height: 300vh; background: var(--mer-3); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-img, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.hero-clean { visibility: hidden; }
.hero.ready .hero-clean { visibility: visible; }
.hero.ready .hero-dirty { visibility: hidden; }
.hero-sparkles { position: absolute; inset: 0; pointer-events: none; }
.spark { position: absolute; width: var(--s, 34px); height: var(--s, 34px); margin: calc(var(--s, 34px) / -2) 0 0 calc(var(--s, 34px) / -2); pointer-events: none; animation: spark .95s var(--ease) forwards; }
.spark::before, .spark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; margin: -1px 0 0 -50%; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); }
.spark::after { transform: rotate(90deg); }
.spark i { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, #fff 0 20%, rgba(255, 255, 255, .45) 45%, transparent 70%); }
@keyframes spark { 0% { transform: scale(0) rotate(0); opacity: 0; } 30% { opacity: 1; } 55% { transform: scale(1) rotate(45deg); opacity: 1; } 100% { transform: scale(.2) rotate(90deg); opacity: 0; } }
.squeegee { position: absolute; left: 0; top: 0; width: 900px; max-width: none; height: auto; transform-origin: 0 0; pointer-events: none; opacity: 0; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .38)); will-change: transform, opacity; transition: opacity .25s; }
.hero-glint { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .12) 52%, transparent 60%) no-repeat; background-size: 260% 100%; background-position: 120% 0; mix-blend-mode: soft-light; }
.hero.done .hero-glint { animation: glint 1.6s var(--ease) .1s 1 both; }
@keyframes glint { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -60% 0; } }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 40, 48, .5) 0, rgba(7, 40, 48, 0) 20%), linear-gradient(90deg, rgba(7, 40, 48, .86) 0%, rgba(7, 40, 48, .62) 30%, rgba(7, 40, 48, 0) 56%), linear-gradient(0deg, rgba(7, 40, 48, .55) 0%, rgba(7, 40, 48, 0) 32%); }
.hero-copy { position: absolute; left: var(--gut); bottom: clamp(40px, 8vh, 100px); width: min(640px, 48vw); color: var(--chaux); display: grid; gap: 22px; z-index: 2; }
.azul { font-family: var(--display); font-weight: 800; letter-spacing: .02em; color: var(--soleil); text-transform: none; font-size: 15px; }
.hero-title {
  font-family: var(--display); font-weight: 780; font-variation-settings: 'wdth' 80, 'opsz' 96;
  font-size: clamp(46px, 6.6vw, 104px); line-height: .92; letter-spacing: -.03em;
}
.lum { position: relative; display: inline-block; color: var(--soleil); background: linear-gradient(100deg, var(--soleil) 0 40%, #FFF3C9 50%, var(--soleil) 60% 100%) no-repeat; background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero.done .lum { animation: lum 2.2s var(--ease) .2s 1 both; }
@keyframes lum { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.hero-lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: rgba(245, 248, 247, .9); max-width: 50ch; }
.hero-lede b { color: #fff; }
.proofs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 14px/1.2 var(--sans); color: rgba(245, 248, 247, .85); }
.proofs li { display: inline-flex; align-items: center; gap: 8px; }
.proofs li::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: var(--soleil); }
.hero-cap {
  position: absolute; right: var(--gut); top: calc(var(--nav-h) + 22px); z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 14px; border-radius: 16px; background: rgba(7, 40, 48, .8); color: var(--chaux); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14.5px; line-height: 1.3; transform: translateY(-12px); opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero-cap .tfn { font-size: 26px; color: var(--soleil); }
.hero-cap b { font-family: var(--display); font-size: 17px; }
.hero.done .hero-cap { opacity: 1; transform: none; }
.scroll-hint { position: absolute; right: var(--gut); bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--chaux); font: 600 13px/1 var(--sans); letter-spacing: .06em; transition: opacity .4s; }
.scroll-hint i { position: relative; width: 2px; height: 44px; background: rgba(245, 248, 247, .3); overflow: hidden; border-radius: 2px; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--soleil); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { to { top: 110%; } }
.hero.moved .scroll-hint { opacity: 0; }

/* ---------- 2. Prestations ---------- */
.services { padding-block: clamp(90px, 11vw, 150px) clamp(70px, 9vw, 120px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px) clamp(18px, 2.2vw, 30px); }
.svc { display: grid; gap: 14px; align-content: start; }
.svc-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--ecume); }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.svc-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%) no-repeat; background-size: 260% 100%; background-position: 130% 0; transition: background-position 0s; }
.svc:hover .svc-ph img { transform: scale(1.05); }
.svc:hover .svc-ph::after { background-position: -40% 0; transition: background-position 1.1s var(--ease); }
.svc-price { position: absolute; left: 14px; bottom: 14px; z-index: 1; background: var(--soleil); color: var(--encre); font: 750 14.5px/1 var(--sans); padding: 10px 14px; border-radius: 999px; }
.svc h3 { font: 760 27px/1.05 var(--display); font-variation-settings: 'wdth' 86; letter-spacing: -.015em; }
.svc p { color: var(--encre-2); font-size: 16.5px; }
.svc .info { font: 650 13px/1.3 var(--sans); color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.svc-hint { display: none; }

.motif { height: 14px; background: var(--motif) repeat-x 0 0 / 32px 14px; }

/* ---------- 3. Le seau (vue éclatée) ---------- */
.kit { position: relative; height: 300vh; background: var(--mer); color: var(--chaux); }
.kit-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, .82fr) 1.3fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: calc(var(--nav-h) + 16px) var(--gut) 20px; max-width: 1440px; margin: 0 auto;
}
.kit-copy { display: grid; gap: 20px; align-content: center; }
.kit-copy .sec-lede { color: rgba(245, 248, 247, .82); }
.kit-count { font: 780 clamp(40px, 5vw, 64px)/1 var(--display); font-variation-settings: 'wdth' 80; color: var(--soleil); font-variant-numeric: tabular-nums; }
.kit-count small { display: block; font: 600 13.5px/1.4 var(--sans); letter-spacing: .06em; color: rgba(245, 248, 247, .7); margin-top: 8px; }
.kit-stage { position: relative; width: min(100%, calc((100svh - var(--nav-h) - 40px) * 1.08)); aspect-ratio: 1.08; justify-self: center; }
.kit-bucket { position: absolute; left: 50%; bottom: 1%; width: 25%; height: auto; transform: translateX(-50%); user-select: none; }
.kit-bucket-back { z-index: 1; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }
.kit-bucket-front { z-index: 3; clip-path: inset(17% 0 0 0); pointer-events: none; }
.kit-items { position: absolute; inset: 0; z-index: 2; }
.kit-item { position: absolute; left: 0; top: 0; margin: 0; width: calc(var(--w) * 1%); transform-origin: 50% 50%; will-change: transform; }
.kit-item img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .32)); user-select: none; }
.kit-lbl { position: absolute; left: 50%; top: calc(100% + 8px); width: max-content; max-width: 190px; transform: translateX(-50%); text-align: center; display: grid; gap: 2px; opacity: var(--lo, 0); transition: opacity .2s; pointer-events: none; }
.kit-lbl b { font: 700 14.5px/1.2 var(--sans); color: #fff; }
.kit-lbl span { font: 500 12.5px/1.3 var(--sans); color: rgba(245, 248, 247, .72); }

/* ---------- 4. Pièce par pièce ---------- */
.pieces { padding-block: clamp(90px, 11vw, 150px); }
.room-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.room-tab { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--blanc); font: 650 15.5px/1 var(--sans); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.room-tab i { width: 16px; height: 16px; border-radius: 5px; background: var(--c); transform: rotate(45deg) scale(.8); }
.room-tab:hover { border-color: var(--encre); }
.room-tab[aria-selected="true"] { background: var(--encre); color: var(--chaux); border-color: var(--encre); }
.room { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4.5vw, 72px); align-items: start; }
.room-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--ecume); }
.room-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform 1.2s var(--ease); }
.room-photo img.old { opacity: 0; }
.room-photo.swap img:not(.old) { animation: roomIn 1s var(--ease); }
@keyframes roomIn { from { transform: scale(1.06); } }
.hs { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid #fff; background: var(--c); color: #fff; font: 800 13px/28px var(--sans); text-align: center; cursor: pointer; padding: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.hs::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: ping 2.4s var(--ease) infinite; animation-delay: var(--dl, 0s); }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.hs.on { transform: scale(1.22); }
.hs-lbl { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); width: max-content; max-width: 200px; padding: 8px 12px; border-radius: 10px; background: var(--encre); color: var(--chaux); font: 600 13.5px/1.25 var(--sans); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.hs.on .hs-lbl, .hs:focus-visible .hs-lbl { opacity: 1; transform: translate(-50%, 0); }
.room-side { display: grid; gap: 12px; align-content: start; padding-top: 6px; }
.room-title { font: 760 clamp(30px, 3.4vw, 46px)/1 var(--display); font-variation-settings: 'wdth' 84; letter-spacing: -.02em; }
.room-code { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--sans); color: var(--encre-2); }
.room-code i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
.checklist { list-style: none; margin: 10px 0 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; padding: 13px 8px 13px 0; border-top: 1px solid var(--ligne); font-size: 16.5px; line-height: 1.35; transition: background-color .2s; border-radius: 2px; }
.checklist li:last-child { border-bottom: 1px solid var(--ligne); }
.checklist li[data-p] { cursor: pointer; }
.checklist li.on { background: linear-gradient(90deg, rgba(255, 197, 61, .18), transparent 70%); }
.ck { width: 26px; height: 26px; border-radius: 8px; background: var(--c); display: grid; place-items: center; transform: scale(.6); opacity: .25; transition: transform .45s var(--ease), opacity .3s; transition-delay: var(--d, 0ms); }
.ck svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s var(--ease); transition-delay: calc(var(--d, 0ms) + 150ms); }
.checklist.go .ck { transform: none; opacity: 1; }
.checklist.go .ck svg { stroke-dashoffset: 0; }
.pin-n { font: 700 12px/1 var(--sans); color: var(--muted); }
.codes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.code { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--ligne); font-size: 15px; line-height: 1.3; }
.code i { width: 26px; height: 18px; border-radius: 5px; background: var(--c); flex: none; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12); }
.code b { display: block; }
.code span { color: var(--encre-2); font-size: 14px; }

/* ---------- 5. Devis ---------- */
.devis { padding-block: clamp(90px, 11vw, 150px); background: var(--ecume); overflow-x: clip; }
.devis-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.devis-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.devis-form legend, .legend { display: block; padding: 0; margin-bottom: 12px; font: 750 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-2); }
.row2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 17px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--blanc); font: 650 15px/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--encre); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--encre); color: var(--chaux); border-color: var(--encre); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: grid; border-radius: 16px; border: 1.5px solid var(--ligne); background: var(--blanc); transition: border-color .2s; }
.opt-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px; padding: 8px 12px 8px 16px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 14px; }
.opt-main > span:first-child { font: 650 15px/1.2 var(--sans); }
.opt small { display: block; font: 500 12.5px/1.2 var(--sans); color: var(--muted); margin-top: 3px; }
.opt .tog { width: 40px; height: 24px; border-radius: 99px; background: var(--ecume-2); position: relative; flex: none; transition: background-color .25s; }
.opt .tog::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.opt.on { border-color: var(--encre); }
.opt.on .tog { background: var(--mer); }
.opt.on .tog::after { transform: translateX(16px); }
.opt .step { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 0 12px 10px 16px; }
.opt .step[hidden] { display: none; }
.opt .step > span { margin-right: auto; font-size: 13px; color: var(--muted); }
.step button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--chaux); cursor: pointer; font-weight: 700; }
.step button:disabled { opacity: .35; cursor: default; }
.step output { min-width: 54px; text-align: center; font: 700 14.5px/1 var(--sans); font-variant-numeric: tabular-nums; }
.field { width: 100%; height: 46px; border-radius: 14px; border: 1.5px solid var(--ligne); background: var(--blanc); padding: 0 14px; font-weight: 600; }
#q-date { margin-top: 10px; }
.quote { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; }
.quote-card { background: var(--mer); color: var(--chaux); border-radius: 24px; padding: 24px 26px; display: grid; gap: 6px; }
.quote-label { font: 750 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 248, 247, .7); }
.quote-price { font: 800 clamp(36px, 4vw, 54px)/1.02 var(--display); font-variation-settings: 'wdth' 80; font-variant-numeric: tabular-nums; color: var(--soleil); letter-spacing: -.02em; }
.quote-team { font: 650 16px/1.4 var(--sans); }
.quote-inc { font-size: 14px; color: rgba(245, 248, 247, .72); }
.wa { border-radius: 22px; overflow: hidden; background: var(--wa-bg); border: 1px solid var(--ligne); }
.wa-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--mer-2); color: var(--chaux); }
.wa-top b { display: block; font-size: 15.5px; }
.wa-top small { display: block; font-size: 12.5px; opacity: .7; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soleil); color: var(--encre); font: 800 17px/1 var(--display); }
.wa-body { padding: 16px; min-height: 150px; display: flex; justify-content: flex-end; align-items: flex-end; background-image: radial-gradient(rgba(12, 42, 51, .06) 1px, transparent 1.5px); background-size: 14px 14px; }
.wa-bubble { position: relative; max-width: 92%; background: var(--wa-bubble); border-radius: 14px 4px 14px 14px; padding: 10px 12px 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bubble::after { content: '✓✓'; position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; letter-spacing: -.1em; color: #53BDEB; }
.wa-bubble.typing { color: transparent; }
.wa-bubble.typing::before { content: ''; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-radius: 50%; background: var(--muted); box-shadow: 14px 0 0 var(--muted), 28px 0 0 var(--muted); animation: typing 1s infinite; }
@keyframes typing { 50% { opacity: .35; } }
.quote-actions { display: grid; gap: 10px; }
.quote-note { font-size: 13.5px; color: var(--encre-2); }
.pointer-hand { position: absolute; right: -2%; bottom: 128px; width: 42%; max-width: 230px; pointer-events: none; transform: translateX(40%) rotate(-4deg); opacity: 0; transition: transform .9s var(--ease), opacity .6s; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .2)); }
.devis.seen .pointer-hand { transform: translateX(62%) rotate(-4deg); opacity: 1; }

/* ---------- 6. Maison d'été ---------- */
.ete { padding-block: clamp(90px, 11vw, 150px); background: var(--chaux); overflow: hidden; }
.ete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ete-photo { position: relative; margin: 0 0 22% 0; }
.ete-photo > img:first-child { display: block; width: 100%; aspect-ratio: 1500 / 1058; object-fit: cover; border-radius: 28px; }
.ete-inset { position: absolute; right: -5%; bottom: -22%; width: 36%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; border: 6px solid var(--chaux); box-shadow: 0 30px 50px -24px rgba(7, 40, 48, .45); }
.ete-copy { display: grid; gap: 20px; }
.ete-copy .eyebrow-sun { color: var(--corail); }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.timeline li:last-child { border-bottom: 1px solid var(--ligne); }
.timeline .t { font: 800 22px/1.1 var(--display); font-variation-settings: 'wdth' 80; color: var(--azur); }
.timeline b { display: block; font-size: 17px; }
.timeline p { color: var(--encre-2); font-size: 15.5px; }
.ete-note { font-size: 15.5px; color: var(--encre-2); }
.ete-note b { color: var(--encre); }

/* ---------- 7. D'ici ---------- */
.ici { position: relative; overflow: hidden; background: var(--mer-3); color: var(--chaux); padding-block: clamp(110px, 14vw, 190px) clamp(70px, 8vw, 110px); }
.ici-bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; opacity: .62; will-change: transform; }
.ici::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 40, 48, .25) 0%, rgba(7, 40, 48, .7) 55%, var(--mer-3) 100%); }
.ici-in { position: relative; z-index: 2; display: grid; gap: 22px; }
.ici h2 { font-size: clamp(52px, 9vw, 140px); }
.ici .sec-lede { color: rgba(245, 248, 247, .88); }
.communes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.communes li { padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(245, 248, 247, .4); font: 650 15px/1 var(--sans); }
.communes li.more { border-style: dashed; color: rgba(245, 248, 247, .75); }
.ici-strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: clamp(30px, 5vw, 60px); }
.ici-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; display: block; }

/* ---------- 8. Engagements, avis ---------- */
.trust { padding-block: clamp(90px, 11vw, 150px); }
.engage { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(60px, 8vw, 100px); }
.engage > div { display: grid; gap: 10px; align-content: start; }
.engage h3 { position: relative; padding-top: 22px; font: 760 23px/1.1 var(--display); font-variation-settings: 'wdth' 86; }
.engage h3::before { content: ''; position: absolute; left: 0; top: 0; width: 34px; height: 6px; border-radius: 3px; background: var(--soleil); }
.engage p { color: var(--encre-2); font-size: 16px; }
.avis-flag { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.avis blockquote { margin: 0; display: grid; gap: 16px; align-content: space-between; padding: 26px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--ligne); }
.avis q { quotes: '« ' ' »'; font: 560 19px/1.4 var(--display); font-variation-settings: 'wdth' 92; }
.avis .stars { color: var(--soleil-2); letter-spacing: .15em; font-size: 15px; }
.avis cite { font-style: normal; font-size: 14.5px; color: var(--encre-2); }
.avis cite b { color: var(--encre); }

/* ---------- 9. FAQ ---------- */
.faq { padding-block: 0 clamp(90px, 11vw, 150px); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-list details { border-top: 1px solid var(--ligne); }
.faq-list details:last-child { border-bottom: 1px solid var(--ligne); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 700 18px/1.35 var(--sans); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ecume); transition: background-color .25s, transform .4s var(--ease); }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--encre); border-radius: 2px; }
.faq-list summary i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary i { background: var(--soleil); transform: rotate(180deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 50px 22px 0; color: var(--encre-2); }

/* ---------- 10. Contact ---------- */
.contact { background: var(--mer-2); color: var(--chaux); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(80px, 10vw, 130px) clamp(40px, 6vw, 70px); }
.contact-main { display: grid; gap: 20px; align-content: start; }
.contact-main h2 { font-size: clamp(46px, 7vw, 100px); }
.contact-main .sec-lede { color: rgba(245, 248, 247, .82); }
.contact-info { margin: 0; align-self: end; }
.contact-info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(245, 248, 247, .15); }
.contact-info dt { font: 700 12.5px/1.8 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 248, 247, .6); }
.contact-info dd { margin: 0; font-size: 17px; }
.contact-info a { color: var(--soleil); text-underline-offset: 3px; }
.phone { font: 760 22px/1.2 var(--display); font-variation-settings: 'wdth' 86; font-variant-numeric: tabular-nums; user-select: all; }
.dim { color: rgba(245, 248, 247, .62); }
.foot { display: grid; gap: 12px; padding-bottom: 20px; }
.thanks { font: 700 17px/1.4 var(--sans); display: flex; align-items: center; gap: 12px; }
.thanks .tfn { color: var(--soleil); font-size: 20px; }
.demo-note { font-size: 13px; color: rgba(245, 248, 247, .55); }
.credits { font-size: 12.5px; color: rgba(245, 248, 247, .55); }
.credits summary { cursor: pointer; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; }
.credits ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 5px; max-width: 980px; }
.facade { display: flex; justify-content: center; margin-top: 10px; line-height: .78; }
.facade span { font: 800 clamp(120px, 30vw, 440px)/.78 var(--display); font-variation-settings: 'wdth' 76; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 248, 247, .14); transform: translateY(12%); }

/* ---------- Bouton flottant, toast ---------- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: var(--soleil); color: var(--encre); box-shadow: 0 14px 30px -10px rgba(7, 40, 48, .55); transform: scale(0); transition: transform .45s var(--ease); }
.wa-float .i-wa { width: 26px; height: 26px; }
.wa-float.on { transform: scale(1); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; padding: 13px 20px; border-radius: 999px; background: var(--encre); color: var(--chaux); font: 600 15px/1.2 var(--sans); box-shadow: 0 16px 40px -12px rgba(7, 40, 48, .5); transition: opacity .3s, transform .4s var(--ease), visibility .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Apparitions (sans masquer le contenu au repos) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { transform: translateY(26px); transition: transform 1s var(--ease); }
  .rv.in { transform: none; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .engage { grid-template-columns: repeat(2, 1fr); }
  .codes { grid-template-columns: repeat(2, 1fr); }
  .pointer-hand { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  :root { --nav-h: 60px; }
  body { font-size: 16.5px; }
  .nav { gap: 12px; }
  .nav-cta span { display: none; }
  .nav-cta { width: 42px; padding: 0; }
  .nav-burger { display: block; }
  .nav-links { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: grid; gap: 0; padding: 8px; border-radius: 18px; background: var(--chaux); color: var(--encre); box-shadow: 0 24px 50px -20px rgba(7, 40, 48, .5); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 10px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--ecume); }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav.open { background: rgba(245, 248, 247, .96); color: var(--encre); }
  .lang-switch { margin: 6px 0 0; padding: 10px 4px 2px; border-left: 0; border-top: 1px solid var(--ligne); gap: 6px; }
  .nav-links .lang-switch a { padding: 11px 16px; font-size: 14px; opacity: .7; }
  .nav-links .lang-switch a[aria-current="page"] { background: var(--ecume); opacity: 1; }

  .hero { height: 250vh; }
  .hero-scrim { background: linear-gradient(0deg, rgba(7, 40, 48, .94) 0%, rgba(7, 40, 48, .78) 36%, rgba(7, 40, 48, 0) 62%); }
  .hero-copy { left: 16px; right: 16px; width: auto; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); gap: 14px; }
  .hero-title { font-size: clamp(40px, 11.6vw, 58px); }
  .hero-lede { font-size: 15.5px; }
  .hero-copy .btn { height: 48px; padding: 0 18px; font-size: 15px; }
  .hero-copy .ctas { gap: 8px; }
  .proofs { display: none; }
  .eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .hero-cap { left: 16px; right: auto; top: calc(var(--nav-h) + 12px); font-size: 13px; padding: 10px 14px 10px 12px; }
  .hero-cap .tfn { font-size: 21px; }
  .scroll-hint { display: none; }

  .sec-head-split { grid-template-columns: 1fr; }
  .svc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 78%; scroll-snap-align: center; }
  .svc h3 { font-size: 24px; }
  .svc-hint { display: block; margin-top: 14px; font: 600 13px/1 var(--sans); color: var(--muted); }

  .kit { height: 260vh; }
  .kit-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 6px; padding: calc(var(--nav-h) + 12px) 16px 12px; }
  .kit-copy { gap: 8px; }
  .kit-copy h2 { font-size: 34px; }
  .kit-copy .sec-lede { font-size: 14.5px; line-height: 1.45; }
  .kit-count { font-size: 30px; }
  .kit-count small { display: inline; margin: 0 0 0 8px; font-size: 12px; }
  .kit-stage { width: 100%; max-width: 440px; aspect-ratio: auto; height: 100%; max-height: 560px; align-self: stretch; }
  .kit-bucket { width: 30%; }
  .kit-lbl { max-width: 110px; top: calc(100% + 4px); }
  .kit-lbl b { font-size: 12px; }
  .kit-lbl span { display: none; }

  .room { grid-template-columns: 1fr; }
  .room-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .room-tab { flex: none; }
  .codes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .code { padding: 12px; font-size: 14px; }

  .devis-grid { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .quote { position: static; }

  .ete-grid { grid-template-columns: 1fr; }
  .ete-photo { margin: 0 4% 26% 0; }
  .ete-inset { right: -3%; width: 38%; }
  .timeline li { grid-template-columns: 70px 1fr; }

  .ici-strip { grid-template-columns: 1fr; }
  .engage { grid-template-columns: 1fr; gap: 26px; }
  .avis { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info > div { grid-template-columns: 1fr; gap: 4px; }
  .wa-float { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .kit { height: auto; }
  .hero-pin, .kit-pin { position: relative; }
  .squeegee, .scroll-hint { display: none; }
  .spark, .hs::before { animation: none; }
}
