:root {
  --bg: #0c0a08;
  --surface: #181512;
  --surface-2: #221d18;
  --ink: #f3f2f0;
  --soft: #cfc7bc;
  --muted: #a39b90;
  --accent: #c9a45a;
  --accent-ink: #0c0a08;
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(96px, 12vw, 200px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --display: "Gambarino", Georgia, serif;
  --text: "General Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.6 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: .98; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--m); }
.soft { color: var(--soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons: square, one fill */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); font: 500 1rem/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { color: var(--accent-ink); background: #d8b46c; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #fff; color: var(--bg); }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }
.link:hover { color: var(--ink); }

/* Navigation */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--m); font-size: 15px; }
.nav--solid { position: relative; background: var(--bg); }
.nav__brand { font: 400 1.5rem/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.nav__links { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__links .btn { padding: 0 18px; min-height: 42px; }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); font: 500 15px var(--text); padding: 12px 0; cursor: pointer; }
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; top: 100%; right: var(--m); left: var(--m); flex-direction: column; align-items: flex-start; gap: 4px; background: var(--surface); padding: 16px 20px 20px; box-shadow: 0 18px 40px rgba(0,0,0,.5); } /* taste-skill-ignore: menu déroulant, vrai calque */
  .nav.is-open .nav__links { display: flex; }
}

/* Home hero: photograph, then the name */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 58svh auto 1fr; background: var(--bg); overflow: hidden; }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: brightness(.9) contrast(1.05); animation: drift 24s var(--ease) infinite alternate; }
.hero__row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px var(--m) 0; }
.hero__row p { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; margin: 0; }
.hero__name { align-self: end; font: 400 clamp(64px, 15.5vw, 280px)/.85 var(--display); letter-spacing: -0.05em; margin: 0; padding: 0 var(--m) 28px; white-space: nowrap; transform-origin: 0 100%; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translateY(-1.5%); } }
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__photo { height: 50svh; }
  .hero__row { flex-direction: column; order: 3; padding-bottom: 32px; }
  .hero__name { order: 2; }
  .hero__row p { font-size: 1.125rem; }
  .hero__name { font-size: 19.5vw; white-space: normal; padding-bottom: 16px; padding-top: 24px; }
}

/* Inner page hero: split */
.phero { display: grid; grid-template-columns: 5fr 7fr; min-height: 82svh; }
.phero__text { padding: 112px var(--m) 56px; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.phero__text h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); }
.phero__text p { font-size: var(--step-lead); line-height: 1.4; color: var(--soft); margin: 0; }
.phero__photo { position: relative; overflow: hidden; }
.phero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.88) contrast(1.05); animation: drift 26s var(--ease) infinite alternate; }
.crumbs { font-size: var(--step-small); color: var(--muted); }
.crumbs a { color: var(--soft); }
@media (max-width: 860px) {
  .phero { grid-template-columns: 1fr; }
  .phero__photo { order: -1; height: 52svh; }
  .phero__text { padding: 32px var(--m) 24px; }
}

/* Statement with figures */
.stats { min-height: 86svh; display: grid; align-items: center; padding: var(--gap) var(--m); }
.stats h2 { font-size: clamp(48px, 7.4vw, 128px); line-height: .95; letter-spacing: -0.03em; }
.stats h2 span { color: var(--muted); }
.stats p { font-size: var(--step-lead); line-height: 1.4; color: var(--soft); margin-top: 40px; max-width: 40ch; }
@media (max-width: 760px) { .stats { min-height: 70svh; } .stats h2 { font-size: 10.5vw; } }

/* Band of unequal panels */
.band__head { padding: 0 var(--m) 48px 16.66%; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.band { display: flex; height: 70svh; }
.band a { position: relative; flex: 2; overflow: hidden; transition: flex-grow .5s var(--ease); text-decoration: none; }
.band a:nth-child(1) { flex: 5; } .band a:nth-child(3) { flex: 3; }
.band a:hover, .band a:focus-visible { flex-grow: 6; }
.band img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.band a:hover img { transform: scale(1.04); }
.band span { position: absolute; left: 0; bottom: 0; right: 0; padding: 64px 24px 22px; font: 400 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1.1 var(--display); background: linear-gradient(transparent, rgba(0,0,0,.66)); color: #fff; } /* taste-skill-ignore: voile neutre sous texte sur photo */
.band__cap { padding: 20px var(--m) 0; color: var(--soft); }
@media (max-width: 760px) {
  .band__head { padding-left: var(--m); }
  .band { display: grid; grid-template-columns: 64fr 36fr; grid-template-rows: 1fr 1fr; height: 88svh; }
  .band a:nth-child(3) { order: 4; } .band a:nth-child(4) { order: 3; }
  .band a:nth-child(3), .band a:nth-child(4) { grid-row: 2; }
  .band { grid-template-areas: none; }
}

/* Live dome sizer */
.sizer { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); padding: var(--gap) var(--m) 0; align-items: center; }
.sizer__stage { background: var(--surface); aspect-ratio: 16 / 11; display: grid; place-items: end center; padding: 32px 24px 0; position: relative; }
.sizer__stage [data-stage] { width: 100%; }
.sizer__stage svg { width: 100%; height: auto; overflow: visible; }
.sizer__dims { position: absolute; top: 20px; left: 24px; font-size: var(--step-small); color: var(--soft); }
.sizer__pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.sizer__pick button { min-height: 48px; min-width: 64px; padding: 0 16px; background: var(--surface-2); color: var(--ink); border: 0; font: 500 1rem var(--text); cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.sizer__pick button:hover { transform: translateY(-2px); }
.sizer__pick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sizer dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0 0 32px; }
.sizer dt { color: var(--muted); }
.sizer dd { margin: 0; font-variant-numeric: tabular-nums; }
.sizer__price { font: 400 var(--step-head)/1 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
@media (max-width: 860px) { .sizer { grid-template-columns: 1fr; } }

/* Prices like a menu */
.menu { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); padding: var(--gap) var(--m) 0; }
.menu__side img { width: 75%; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 40px; filter: brightness(.9); }
.menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.menu h3 { font: 500 1.25rem/1.2 var(--text); margin: 48px 0 20px; color: var(--accent); }
.menu h3:first-child { margin-top: 0; }
.item { margin-bottom: 26px; }
.item__row { display: flex; justify-content: space-between; gap: 16px; font-size: 1.1875rem; font-variant-numeric: tabular-nums; }
.item p { color: var(--soft); font-size: 1rem; margin: 4px 0 0; max-width: 40ch; }
.note { color: var(--muted); font-size: 1rem; margin-top: 24px; }
@media (max-width: 860px) { .menu, .menu__cols { grid-template-columns: 1fr; } .menu__side img { width: 60%; } }

/* Photographs down a diagonal */
.steps { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.steps h2 { grid-column: 7 / 13; grid-row: 1; align-self: start; }
.step { display: contents; }
.step img { object-fit: cover; width: 100%; }
.step p { font-size: 1.0625rem; max-width: 36ch; }
.step b { font-weight: 500; color: var(--ink); }
.s1 img { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; object-position: 70% 80%; }
.s1 p { grid-column: 5 / 8; grid-row: 2; align-self: start; padding-top: 24px; }
.s2 img { grid-column: 6 / 9; grid-row: 3; aspect-ratio: 1; margin-top: 120px; }
.s2 p { grid-column: 9 / 13; grid-row: 3; align-self: start; margin-top: 120px; }
.s3 img { grid-column: 8 / 13; grid-row: 4; aspect-ratio: 16 / 10; margin-top: 140px; }
.s3 p { grid-column: 3 / 8; grid-row: 4; align-self: start; margin-top: 140px; justify-self: end; text-align: left; }
@media (max-width: 860px) {
  .steps { display: flex; flex-direction: column; gap: 16px; }
  .step { display: block; margin-top: 40px; }
  .s1 img { width: 100%; } .s2 img { width: 62%; margin: 0 0 16px auto; } .s3 img { width: 78%; margin: 0 0 16px; }
  .s1 img, .s2 img, .s3 img { aspect-ratio: 4 / 5; object-position: 60% 85%; }
  .step p { margin-top: 16px; }
}

/* FAQ beside a tall photograph */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); padding: var(--gap) var(--m) 0; }
.faq__facts { margin: 24px 0 40px; padding: 0; list-style: none; font-size: 1.125rem; }
.faq__facts li { margin-bottom: 8px; }
details { padding: 14px 0; }
summary { cursor: pointer; list-style: none; font-size: 1.25rem; line-height: 1.3; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); }
details p { color: var(--soft); margin: 12px 0 4px; font-size: 1.0625rem; }
.faq__pics { position: relative; padding-bottom: 80px; }
.faq__pics img:first-child { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq__pics img:last-child { position: absolute; left: -40px; bottom: 0; width: 34%; aspect-ratio: 1; object-fit: cover; }
.faq__actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__pics { order: -1; padding-bottom: 48px; }
  .faq__pics img:first-child { aspect-ratio: 4 / 5; }
  .faq__pics img:last-child { left: auto; right: 0; width: 38%; }
}

/* Closing photograph */
.cta { position: relative; height: 90svh; margin-top: var(--gap); overflow: hidden; }
.cta > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.cta__text { position: absolute; left: 58%; right: var(--m); bottom: 12%; }
.cta__text h2 { font-size: clamp(2.25rem, 1.2rem + 3vw, 4rem); margin-bottom: 20px; }
.cta__text p { color: var(--soft); }
@media (max-width: 760px) {
  .cta { height: auto; }
  .cta > img { height: 70svh; }
  .cta__text { position: static; padding: 32px var(--m) 0; }
}

/* Inner page body */
.prose { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 96px); padding: var(--gap) var(--m) 0; }
.prose--flip { grid-template-columns: 7fr 5fr; }
.prose h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.prose__body h3 { margin: 40px 0 12px; }
.prose__body ul { padding-left: 1.2em; max-width: 62ch; }
.prose__body li { margin-bottom: 8px; }
.prose img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.prose--flip img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .prose, .prose--flip { grid-template-columns: 1fr; } }

.specs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 8px 0 24px; }
.specs td:last-child { white-space: nowrap; }
.specs th, .specs td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid #2c261f; vertical-align: top; }
.specs th { font-weight: 500; color: var(--muted); font-size: 1rem; }
.table-scroll { overflow-x: auto; }

.wide { padding: var(--gap) 0 0; }
.wide img { width: 100%; height: 72svh; object-fit: cover; object-position: 50% 85%; filter: brightness(.88); }
.wide figcaption { padding: 16px var(--m) 0; color: var(--soft); font-size: 1rem; }

.links { padding: var(--gap) var(--m) 0; }
.links ul { list-style: none; padding: 0; margin: 32px 0 0; columns: 3 260px; column-gap: 48px; }
.links li { margin-bottom: 14px; break-inside: avoid; }
.links a { font: 400 1.5rem/1.2 var(--display); text-decoration: none; }
.links a:hover { color: var(--accent); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; max-width: 880px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 1rem; margin-bottom: 8px; color: var(--soft); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--surface); color: var(--ink); border: 1px solid #3a332b; border-radius: 0; font: 400 1rem var(--text); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form .check { display: flex; gap: 12px; align-items: flex-start; }
.form .check input { width: 22px; min-height: 22px; margin-top: 3px; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.form__msg { grid-column: 1 / -1; font-size: 1.125rem; min-height: 1.6em; }
.form__msg.is-ok { color: var(--accent); }
.form__msg.is-err { color: #f0a08c; }
.warn { grid-column: 1 / -1; background: var(--surface-2); padding: 16px 20px; display: none; }
.warn.is-on { display: block; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

/* Simulator */
.sim { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); padding: var(--gap) var(--m) 0; align-items: start; }
.sim .form { grid-template-columns: 1fr 1fr; }
.sim__out { background: var(--surface); padding: clamp(24px, 3vw, 48px); }
.sim__big { font: 400 clamp(3rem, 2rem + 4vw, 6rem)/1 var(--display); letter-spacing: -0.03em; margin: 8px 0 24px; font-variant-numeric: tabular-nums; }
.sim dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; margin: 0; font-variant-numeric: tabular-nums; }
.sim dt { color: var(--soft); }
.sim dd { margin: 0; text-align: right; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } }

/* Footer */
.foot { padding: 30svh var(--m) 30px; }
.foot__nav { margin-bottom: 48px; font-size: 1rem; color: var(--soft); max-width: 1100px; }
.foot__nav a { color: var(--ink); text-decoration: none; margin-right: 20px; display: inline-block; padding: 6px 0; }
.foot__nav a:hover { color: var(--accent); }
.foot__line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; font-size: 15px; color: var(--muted); align-items: baseline; }
.foot__line nav { display: flex; gap: 24px; }
.foot__line nav a, .foot__line .right a { color: var(--ink); text-decoration: none; }
.foot__line .right { text-align: right; }
.foot__word { font: 400 clamp(64px, 15vw, 260px)/.85 var(--display); letter-spacing: -0.05em; margin: 0 0 48px; color: var(--soft); transform-origin: 0 100%; }
@media (max-width: 760px) {
  .foot { padding-top: 20svh; }
  .foot__line { grid-template-columns: 1fr; gap: 8px; font-size: 14px; }
  .foot__line nav { flex-wrap: wrap; gap: 8px 20px; }
  .foot__line .right { text-align: left; }
}

/* Entrances (content stays visible without script) */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
@supports (animation-timeline: scroll()) {
  .hero__name { animation: shrink linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
  .foot__word { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  @keyframes shrink { to { transform: scale(.93); } }
  @keyframes grow { from { transform: scale(.94); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise { opacity: 1; transform: none; }
}
