
:root {
  --field: #ffffff;
  --fg: #121212;
  --gutter: clamp(16px, 2.4vw, 32px);
  --gap: clamp(88px, 12vw, 200px);
  --shade: var(--fg);        /* teinte des aplats secondaires : le texte sur fond clair, noir sur fond coloré */
  --soft-mix: 72%;           /* force du texte secondaire */
  --band: color-mix(in srgb, var(--field) 8%, var(--fg)); /* alternance de lignes sur les blocs inversés */
  --step: color-mix(in srgb, var(--shade) 7%, var(--field));
  --step2: color-mix(in srgb, var(--shade) 14%, var(--field));
  --soft: color-mix(in srgb, var(--fg) var(--soft-mix), var(--field));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --face: "Manrope", system-ui, sans-serif;
}
/* fonds colorés : aplats secondaires assombris ; sur vert, rouge et rose le texte secondaire reste pleine couleur (le blanc y est déjà à la limite des 4,5:1) */
html[data-field="vert"] { --field: #12804a; --fg: #f6f4ef; --invert: 1; --shade: #000; --soft-mix: 100%; --band: transparent; }
html[data-field="bleu"] { --field: #1c56c4; --fg: #f6f4ef; --invert: 1; --shade: #000; --soft-mix: 93%; }
html[data-field="rouge"] { --field: #c8321f; --fg: #f6f4ef; --invert: 1; --shade: #000; --soft-mix: 100%; --band: transparent; }
html[data-field="jaune"] { --field: #f2c418; --fg: #121212; }
html[data-field="rose"] { --field: #c93f6b; --fg: #ffffff; --invert: 1; --shade: #000; --soft-mix: 100%; --band: transparent; }
html[data-field="noir"]  { --field: #121212; --fg: #ffffff; --invert: 1; }

* { box-sizing: border-box; margin: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font: 400 18px/1.55 var(--face);
  background: var(--field); color: var(--fg);
  transition: background-color .5s var(--ease), color .5s var(--ease);
  overflow-x: clip; accent-color: var(--fg); scrollbar-color: var(--fg) var(--field);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--fg); color: var(--field); }

.wrap { padding-inline: var(--gutter); }
section, footer { padding-block: var(--gap) 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; line-height: .95; text-wrap: balance; }
h1 { font-size: clamp(44px, min(8vw, 15vh + 3vw), 148px); }
h2 { font-size: clamp(40px, 7vw, 120px); }
h3 { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
p { max-width: 62ch; text-wrap: pretty; }
.lede { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.4; max-width: 44ch; }
.soft { color: var(--soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; cursor: pointer;
  background: var(--fg); color: var(--field); border: 0; border-radius: 0;
  padding: 16px 26px; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background-color .5s var(--ease), color .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: var(--step2); color: var(--fg); }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 2px; }

/* header */
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter); background: var(--field);
  transition: background-color .5s var(--ease);
}
.brand { font-weight: 800; letter-spacing: -.04em; font-size: 22px; text-decoration: none; margin-right: auto; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { text-decoration: none; font-weight: 600; color: var(--soft); transition: color .2s; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--fg); }
.bar nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.bar .btn { padding: 11px 18px; }
.menu-btn { display: none; }

/* hero */
.hero { padding-top: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--gutter); align-items: end; }
.hero h1 { grid-column: 1 / -1; }
.hero h1 .nb { white-space: nowrap; }
.hero-copy { display: grid; gap: 28px; align-content: start; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 2px solid var(--fg); padding-top: 20px; margin-top: 8px; }
.hero-facts strong { display: block; white-space: nowrap; font-size: clamp(26px, 2.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.hero-facts span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.3; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; max-height: min(62vh, 640px); }
.pagehead { padding-top: clamp(32px, 6vw, 88px); display: grid; gap: 32px; }

/* swatches */
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.sw {
  --c: #fff; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c);
  box-shadow: none; position: relative; transition: transform .25s var(--ease);
}
.sw::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; transition: border-color .2s; }
.sw[aria-pressed="true"]::after { border-color: var(--fg); }
.sw:hover { transform: scale(1.08); }
.sw[data-v="blanc"] { --c: #ffffff; outline: 2px solid color-mix(in srgb, var(--fg) 25%, transparent); outline-offset: -2px; }
.sw[data-v="noir"] { --c: #121212; }
.sw[data-v="vert"] { --c: #12804a; }
.sw[data-v="bleu"] { --c: #1c56c4; }
.sw[data-v="rouge"] { --c: #c8321f; }
.sw[data-v="jaune"] { --c: #f2c418; }
.sw[data-v="rose"] { --c: #c93f6b; }
.sw-label { font-weight: 700; margin-bottom: 14px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.facts strong { display: block; white-space: nowrap; font-size: clamp(40px, 5.6vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: .95; }
.facts span { display: block; margin-top: 12px; max-width: 22ch; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: start; }
.split.flip > :first-child { order: 2; }
.stack { display: grid; gap: 28px; align-content: start; }
.photo { width: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.sq { aspect-ratio: 1; }
.photo.std { aspect-ratio: 4 / 3; }
figure figcaption { margin-top: 12px; font-size: 16px; color: var(--soft); }
.zoom { overflow: hidden; }
.zoom img { transition: transform .9s var(--ease); }
.zoom:hover img { transform: scale(1.035); }

/* full-bleed image */
.bleed img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* gear teaser (inverted) */
.invert { background: var(--fg); color: var(--field); padding-block: var(--gap); margin-top: var(--gap); }
.invert + section, .invert + footer { padding-top: var(--gap); }
.invert section { padding-top: 0; }
.invert .link { color: var(--field); }
.invert .btn { background: var(--field); color: var(--fg); }
.gear-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.gear-top h2 { max-width: 12ch; }
.hl { list-style: none; padding: 0; display: grid; margin-top: 64px; }
.hl li { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: var(--gutter); align-items: baseline; padding: 22px 0; background: transparent; }
.hl li:nth-child(odd) { background: var(--band); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.hl b { font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.03em; font-weight: 800; }
.hl span { font-size: 17px; }
.hl em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }

/* prices */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.price { background: var(--step); padding: clamp(24px, 3vw, 48px); display: grid; gap: 22px; align-content: start; }
.price.main { background: var(--fg); color: var(--field); }
.price .amount { font-size: clamp(64px, 9vw, 150px); font-weight: 800; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: max(16px, .28em); letter-spacing: -.02em; font-weight: 700; margin-left: .3em; }
.price ul { padding-left: 1.1em; display: grid; gap: 6px; }
.price .btn { justify-self: start; }
.price.main .btn { background: var(--field); color: var(--fg); }
.note { margin-top: 28px; }

/* work */
.work { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--gutter); align-items: start; }
.work a { text-decoration: none; display: block; }
.work .zoom { margin-bottom: 14px; }
.work b { display: block; font-size: 22px; letter-spacing: -.025em; }
.work span { color: var(--soft); }
.work .a1 img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.work .a2 img, .work .a3 img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.work .a2 { margin-top: clamp(0px, 8vw, 120px); }

/* access / cta */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-items: end; }
.cta address { font-style: normal; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.bigmail { display: block; font-size: clamp(32px, 6vw, 104px); font-weight: 800; letter-spacing: -.04em; line-height: 1; text-decoration: none; margin-top: 56px; overflow-wrap: anywhere; }


/* studio page */
.plan { background: #fff; }
.rooms { list-style: none; padding: 0; display: grid; }
.rooms li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -.025em; }
.rooms li:nth-child(odd) { background: var(--step); }
.rooms li span { font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.gallery figure:nth-child(1) { grid-column: span 7; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(4) { grid-column: span 7; }
.gallery figure:nth-child(5) { grid-column: span 6; }
.gallery figure:nth-child(6) { grid-column: span 6; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.tick { list-style: none; padding: 0; display: grid; margin-top: 24px; }
.tick li { padding: 14px 16px; font-weight: 600; }
.tick li:nth-child(odd) { background: var(--step); }
.gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px var(--gutter); }
.gloss dt { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; }
.gloss dd { margin: 0; max-width: 46ch; }

/* gear page */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 48px; position: sticky; top: 64px; z-index: 5; padding-block: 12px; background: var(--field); transition: background-color .5s var(--ease); }
.chip { border: 0; background: var(--step2); padding: 11px 18px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--field); }
.search { margin-left: auto; background: var(--step); border: 0; padding: 12px 16px; min-width: 240px; }
.search::placeholder { color: var(--soft); }
.gear-group { margin-top: 56px; }
.gear-group h2 { font-size: clamp(36px, 5vw, 80px); display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.gear-group h2 small { font-size: 18px; letter-spacing: 0; font-weight: 600; color: var(--soft); }
.gear-group > p { margin-top: 14px; }
.items { list-style: none; padding: 0; margin-top: 24px; display: grid; }
.item { display: grid; grid-template-columns: 1.2fr 1.4fr 118px 80px 132px; gap: 14px; align-items: center; padding: 14px 16px; }
.item:nth-child(odd) { background: var(--step); }
.item .brand-n { font-weight: 800; letter-spacing: -.02em; }
.item .brand-n small { display: block; font-size: 14px; letter-spacing: .04em; color: var(--soft); font-weight: 700; }
.item .meta { color: var(--soft); font-size: 16px; }
.item .qty { font-variant-numeric: tabular-nums; color: var(--soft); font-size: 15px; }
.item .pr { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.add { width: 44px; height: 44px; border: 0; background: var(--fg); color: var(--field); font-size: 24px; font-weight: 700; cursor: pointer; line-height: 1; transition: transform .2s var(--ease), background-color .5s, color .5s; justify-self: end; }
.add:hover { transform: scale(1.08); }
.add[aria-pressed="true"] { background: var(--step2); color: var(--fg); }
.add:disabled { opacity: .3; cursor: default; transform: none; }
.step { display: inline-flex; align-items: center; justify-self: end; }
.step .n { min-width: 44px; text-align: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.tag-inc { font-weight: 700; font-size: 14px; justify-self: end; grid-column: 4 / 6; }
.tray { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 30; background: var(--fg); color: var(--field); padding: 14px 18px; display: flex; gap: 20px; align-items: center; justify-content: space-between; transform: translateY(160%); transition: transform .45s var(--ease); }
.tray.on { transform: none; }
.tray .btn { background: var(--field); color: var(--fg); padding: 11px 18px; }

/* quote */
.quote { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.fieldset { border: 0; padding: 0; display: grid; gap: 14px; }
.fieldset + .fieldset { margin-top: 44px; }
.fieldset > legend, .lab { font-size: clamp(24px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 6px; padding: 0; }
.opt { display: flex; gap: 14px; align-items: baseline; justify-content: space-between; padding: 18px 20px; background: var(--step); cursor: pointer; transition: background-color .2s; }
.opt:hover { background: var(--step2); }
.opt:has(input:checked) { background: var(--fg); color: var(--field); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:focus-visible) { outline: 3px solid currentColor; outline-offset: 3px; }
.opt b { font-size: 20px; letter-spacing: -.02em; }
.opt small { display: block; color: var(--soft); font-size: 15px; }
.opt:has(input:checked) small { color: inherit; }
.opt em { font-style: normal; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.days { display: flex; align-items: center; gap: 0; }
.days button { width: 56px; height: 56px; border: 0; background: var(--fg); color: var(--field); font-size: 26px; font-weight: 700; cursor: pointer; }
.days output { min-width: 92px; text-align: center; font-size: 34px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.inp { width: 100%; background: var(--step); border: 0; padding: 15px 16px; }
.inp::placeholder { color: var(--soft); }
textarea.inp { min-height: 130px; resize: vertical; }
.inp:user-invalid { outline: 3px solid var(--fg); outline-offset: -3px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.row3 label span, .row2 label span { display: block; font-size: 15px; color: var(--soft); margin-bottom: 6px; }
.summary { position: sticky; top: 88px; background: var(--fg); color: var(--field); padding: clamp(22px, 2.6vw, 40px); display: grid; gap: 18px; }
.summary h2 { font-size: clamp(32px, 3.6vw, 56px); }
.sum-lines { list-style: none; padding: 0; display: grid; gap: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; background: none; }
.sum-total strong { font-size: clamp(52px, 6vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.summary .btn { background: var(--field); color: var(--fg); justify-self: start; }
.summary .btn.ghost { background: transparent; color: var(--field); padding-inline: 0; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.summary small { font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.preview { white-space: pre-wrap; background: var(--field); color: var(--fg); padding: 18px; font-size: 15px; line-height: 1.5; max-width: none; }
.maquette { font-size: 14px; background: var(--step); padding: 10px var(--gutter); text-align: center; max-width: none; }

/* apparition : un simple fondu, sans déplacement */
.js .rv { opacity: 0; transition: opacity .5s var(--ease); }
.js .rv.in { opacity: 1; }

@media (max-width: 900px) {
  .hero, .split, .gear-top, .prices, .cta, .quote, .two-lists, .gloss { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .split.flip > :first-child { order: 0; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .work { grid-template-columns: 1fr; }
  .work .a2 { margin-top: 0; }
  .gallery figure { grid-column: 1 / -1 !important; }
  .hl li { grid-template-columns: 1fr auto; }
  .hl li span { grid-column: 1 / -1; order: 3; }
  .summary { position: static; }
  .item { grid-template-columns: 1fr auto auto; }
  .item .meta { grid-column: 1 / -1; grid-row: 2; }
  .item .qty { grid-column: 1 / -1; grid-row: 3; font-size: 14px; }
  .tag-inc { grid-column: 2 / 4; }
  .search { margin-left: 0; width: 100%; }
  .tools { position: static; }
  .bleed img { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar { flex-wrap: wrap; gap: 12px; }
  .bar nav { display: none; order: 5; width: 100%; flex-direction: column; gap: 12px; padding: 12px 0 8px; font-size: 22px; }
  .bar nav.open { display: flex; }
  .menu-btn { display: inline-block; background: var(--step2); border: 0; padding: 11px 16px; font-weight: 700; }
  .bar .btn { display: none; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .sw { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}

/* ---- mouvement : sobre ---- */
/* le titre de la page monte mot à mot : le seul moment mis en scène */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .24em; margin-bottom: -.24em; }
.w > span { display: inline-block; transform: translateY(105%); animation: wordUp .7s var(--ease) both; animation-delay: calc(60ms + var(--i) * 50ms); }
@keyframes wordUp { to { transform: none; } }

/* photos : fondu simple */
.hero-img { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }
.js .zoom img { transition: opacity .6s var(--ease), transform .9s var(--ease); }
.js .zoom:not(.seen) img { opacity: 0; }
.js .zoom.seen img { opacity: 1; }
.js .zoom.seen:hover img { transform: scale(1.025); }
.js .rv.zoom { opacity: 1; }

.sw:active { transform: scale(.94); }
.btn { will-change: transform; }

/* choix du devis : le fond change, sans balayage */
.opt { position: relative; background: var(--step); transition: background-color .2s, color .2s; }
.opt:hover { background: var(--step2); }
.opt:has(input:checked) { background: var(--fg); color: var(--field); }
.opt:has(.days), .opt:has(.days):hover { background: var(--step); color: var(--fg); }
.days.small button { width: 44px; height: 44px; font-size: 22px; }
.days.small output { min-width: 56px; font-size: 26px; }
.tray { transition: transform .35s var(--ease); }

/* transition de couleur : cercle qui s'ouvre depuis la pastille */
.vt::view-transition-old(root), .vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.vt::view-transition-old(root) { z-index: 1; }
.vt::view-transition-new(root) { z-index: 2; }
.vt body, .vt .bar, .vt .tools { transition: none; }

/* changement de page : fondu */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vOut .2s var(--ease) both; }
::view-transition-new(root) { animation: vIn .3s var(--ease) both; }
@keyframes vOut { to { opacity: 0; } }
@keyframes vIn { from { opacity: 0; } }
.vt::view-transition-old(root), .vt::view-transition-new(root) { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .w > span { transform: none; animation: none; }
  .hero-img { animation: none; }
  .js .zoom:not(.seen) img { opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.sum-lines li span:last-child { white-space: nowrap; }

/* sélecteur de couleur discret, dans l'en-tête */
.bar .swatches { gap: 8px; align-items: center; margin-right: 4px; }
.bar .sw { width: 18px; height: 18px; }
.bar .sw::after { inset: -4px; border-width: 2px; }
.bar .sw[data-v="blanc"] { outline-width: 1px; }
.bar .sw:hover { transform: scale(1.25); }
.bar .sw:active { transform: scale(.9); }
.bar .brand { margin-right: auto; }
.bar { gap: 24px; }

/* pied de page : jamais coupé */
@media (max-width: 760px) { .bar .swatches { order: 4; width: 100%; padding-bottom: 4px; gap: 10px; } .bar .sw { width: 36px; height: 36px; } }
.h-m { font-size: clamp(36px, 5vw, 84px); max-width: 18ch; }

/* ---- version production ---- */
.logo { filter: invert(var(--invert, 0)); transition: filter .5s var(--ease); }
.bar .brand { display: block; width: 112px; flex: none; }
.bar .brand img { width: 100%; height: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--field); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: 12px; }
.langs { display: inline-flex; gap: 2px; margin-left: 4px; }
.langs a { padding: 6px 10px; font-size: 15px; letter-spacing: .02em; }
.langs a[aria-current] { background: var(--fg); color: var(--field); opacity: 1; text-decoration: none; }
.bar nav a.langs-a { opacity: 1; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.small { font-size: 15px; }
.sm { display: block; font-size: 15px; margin-bottom: 6px; }
.copy-opt { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; padding-block: 6px; }
.copy-opt input { width: 22px; height: 22px; flex: none; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gutter); }
.faq h3 { margin-bottom: 10px; }
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.035em; margin-top: 32px; line-height: 1.05; }
.legal p { max-width: none; }
.restart { justify-self: start; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; color: var(--field); }
.status { padding: 14px 16px; font-weight: 700; background: var(--field); color: var(--fg); max-width: none; }
.summary .btn:disabled { opacity: .5; cursor: default; transform: none; }
select.inp { appearance: none; background-image: none; }

/* bandeau de consentement */
.consent { position: fixed; z-index: 60; left: var(--gutter); bottom: var(--gutter); max-width: 460px; background: var(--fg); color: var(--field); padding: 22px; display: grid; gap: 16px; opacity: 0; transition: opacity .3s var(--ease); }
.consent.in { opacity: 1; }
.consent.out { opacity: 0; }
.consent p { font-size: 15px; line-height: 1.45; max-width: none; }
.consent .link { color: var(--field); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btns button { border: 0; cursor: pointer; padding: 14px 16px; font-weight: 700; background: var(--field); color: var(--fg); transition: transform .2s var(--ease); }
.consent-btns button:active { transform: scale(.97); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .bar nav .langs { margin: 8px 0 0; }
  .consent { left: 8px; right: 8px; bottom: 8px; max-width: none; padding: 16px; gap: 12px; }
  .consent p { font-size: 14px; }
  .consent-btns button { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* en-tête : jamais de retour à la ligne, menu replié plus tôt */
.bar nav a, .bar .btn, .brand { white-space: nowrap; }
.bar .swatches { flex: none; flex-wrap: nowrap; }
@media (max-width: 1240px) {
  .bar { flex-wrap: wrap; gap: 12px 16px; }
  .bar nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0 8px; font-size: 22px; }
  .bar nav.open { display: flex; }
  .menu-btn { display: inline-block; background: var(--step2); border: 0; padding: 11px 16px; font-weight: 700; }
  .bar .btn { display: none; }
  .bar .brand { margin-right: auto; }
}

/* ---- pied de page : bloc inversé ---- */
.vt .site-foot { transition: none; }
/* menu : largeurs fixes, pour que rien ne bouge quand on change de langue (FR / EN) */
@media (min-width: 1241px) {
  .bar nav > a { display: inline-block; text-align: center; }
  .bar nav > a:nth-of-type(1) { min-width: 92px; }
  .bar nav > a:nth-of-type(2) { min-width: 100px; }
  .bar nav > a:nth-of-type(3) { min-width: 104px; }
  .bar nav > a:nth-of-type(4) { min-width: 64px; }
  .bar > .btn { min-width: 212px; justify-content: center; text-align: center; }
}
.bar nav .langs a { color: var(--soft); }
.bar nav .langs a[aria-current] { background: var(--fg); color: var(--field); text-decoration: none; }
.tray { font-weight: 700; }
body:has(.tray.on) .site-foot { padding-bottom: 104px; }

/* lien « Aller à l'estimation » : flottant à droite, visible seulement quand l'estimation est hors de l'écran */
.to-sum { position: fixed; right: var(--gutter); bottom: 20px; z-index: 25; margin: 0; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.to-sum.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-sum .link { display: inline-flex; gap: .5em; padding: 14px 20px; background: var(--fg); color: var(--field); text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
@media (prefers-reduced-motion: reduce) { .to-sum { transition: none; } }
#estimation { scroll-margin-top: 88px; }
#tarifs, #acces { scroll-margin-top: 88px; }
#estimation:focus { outline: none; }

/* correctifs issus de la comparaison */
[hidden] { display: none !important; }
.days { gap: 10px; }
.days output { min-width: 110px; }
.days.small output { min-width: 64px; }

/* pied de page (repris de la v2) */
.site-foot { background: var(--fg); color: var(--field); margin-top: var(--gap); padding: clamp(56px, 7vw, 104px) 0 28px; transition: background-color .5s var(--ease), color .5s var(--ease); }
.site-foot .logo { width: clamp(130px, 12vw, 180px); height: auto; filter: invert(calc(1 - var(--invert, 0))); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.1fr 1.2fr; gap: 40px var(--gutter); }
.foot-brand p { margin-top: 20px; max-width: 28ch; font-size: 16px; opacity: .8; }
.foot-h { font-size: 17px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 16px; opacity: .65; font-weight: 700; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 0; }
.foot-col address { font-style: normal; font-size: 17px; line-height: 1.5; }
.foot-col p { margin-top: 14px; font-size: 17px; }
.foot-col a:not(.btn) { text-underline-offset: .22em; }
.foot-col ul a { text-decoration: none; font-weight: 600; font-size: 17px; display: inline-block; padding-block: 10px; }
.foot-col ul a:hover, .foot-bottom a:hover { text-decoration: underline; }
.site-foot .btn { background: var(--field); color: var(--fg); }
.site-foot .link { color: var(--field); }
.foot-bottom { margin-top: clamp(48px, 6vw, 88px); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 15px; background: none; }
.foot-bottom > span { opacity: .8; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.foot-legal a, .foot-legal .linkbtn { text-decoration: none; display: inline-block; padding-block: 12px; }
/* cibles tactiles : au moins 44 px de haut pour les liens du pied de page */
.foot-col p:has(> a:not(.btn)) { margin-top: 2px; }
.foot-col p > a:not(.btn) { display: inline-block; padding-block: 10px; }
.site-foot .langs a { opacity: .8; }
.site-foot .langs a[aria-current] { background: var(--field); color: var(--fg); opacity: 1; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; } }
.vt .site-foot { transition: none; }
.foot-h { max-width: none; margin-top: 0; }
.foot-brand p { max-width: 28ch; }

/* boutons de choix du devis (repris de la v2) */
.opt { position: relative; overflow: hidden; isolation: isolate; background: var(--step); transition: color .3s var(--ease); }
.opt::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.77, 0, .175, 1); z-index: -1; }
.opt:has(input:checked)::before { transform: scaleX(1); }
.opt:has(input:checked) { background: var(--step); color: var(--field); }
.opt:hover { background: var(--step2); }
.opt:has(input:checked):hover { background: var(--step); }
.opt:has(.days), .opt:has(.days):hover { background: var(--step); color: var(--fg); }
.opt:has(.days)::before { display: none; }
@media (prefers-reduced-motion: reduce) { .opt::before { transition: none; } }

/* correctifs issus de la comparaison */
[hidden] { display: none !important; }
.days { gap: 10px; }
.days output { min-width: 110px; }
.days.small output { min-width: 64px; }
#estimation:focus { outline: none; }
.legal code { font-size: .85em; }

/* Avis clients (accueil) */
.avis-list { list-style: none; padding: 0; margin: 48px 0 24px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.avis-list blockquote { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.5; }
.avis-list cite { font-style: normal; font-size: .9rem; opacity: .75; }

/* Réalisations : un projet par ligne, texte à gauche, 3 vignettes à droite */
.proj-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 56px; }
.proj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 32px; align-items: end; }
.proj-text { display: grid; gap: 8px; align-content: end; }
.proj-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj-imgs img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.proj-brand { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.proj h2 { font-size: 1.35rem; line-height: 1.25; margin: 0; }
.proj p { margin: 0; }
@media (max-width: 700px) { .proj { grid-template-columns: 1fr; } .proj-imgs { gap: 8px; } }
section:has(> .proj-list) { padding-top: clamp(16px, 2vw, 32px); }
