/* ==========================================================================
   Prestaweb — Studio de création de sites internet
   Feuille de style principale
   ========================================================================== */

/* --- Polices auto-hébergées (aucun appel à Google : conforme RGPD) -------- */
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* --- Variables ------------------------------------------------------------ */
:root {
  --ink: #121412;
  --ink-soft: #3d433d;
  --muted: #6b716a;
  --forest: #1e2721;
  --forest-2: #28342c;
  --sage: #bcc5b6;
  --sage-soft: #dce1d6;
  --cream: #f4f1ea;
  --paper: #fbfaf6;
  --brass: #a88b5a;
  --line: rgba(18, 20, 18, .14);
  --line-light: rgba(244, 241, 234, .22);
  --danger: #a4433a;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  --header-h: 92px;
  --radius: 22px;
}

/* --- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
em { font-style: italic; }
strong { font-weight: 500; }
::selection { background: var(--forest); color: var(--cream); }

:focus-visible {
  outline: 1.5px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 2000;
  padding: 12px 18px; background: var(--ink); color: var(--cream);
  border-radius: 999px; font-size: 14px;
  transform: translateY(-150%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Mise en page ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { padding-block: clamp(96px, 13vw, 190px); position: relative; }
.section--tight { padding-block: clamp(72px, 9vw, 130px); }
.section--paper { background: var(--paper); }
.section--sage { background: var(--sage-soft); }
.section--dark { background: var(--forest); color: var(--cream); }
.section--dark .lead, .section--dark p { color: rgba(244, 241, 234, .74); }

/* --- Typographie -------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--plain::before { display: none; }

.title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.02; letter-spacing: .02em; text-transform: uppercase;
}
.title em { text-transform: none; font-weight: 300; letter-spacing: 0; }
.title--sm { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.title--center { text-align: center; }
.lead {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.5; color: var(--ink-soft);
}
.text { color: var(--ink-soft); max-width: 62ch; }
.text + .text { margin-top: 1.1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.head { display: grid; gap: 26px; margin-bottom: clamp(48px, 7vw, 96px); }
.head--center { justify-items: center; text-align: center; }
.head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .head--split { grid-template-columns: 1.1fr .9fr; gap: 64px; } }

/* --- Boutons ---------------------------------------------------------------- */
.btn {
  --btn-fg: var(--ink); --btn-bg: transparent; --btn-fill: var(--ink); --btn-fg-hover: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 34px; border-radius: 999px;
  border: 1px solid var(--btn-fill); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--btn-fill);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn__label { position: relative; display: block; overflow: hidden; line-height: 1.3; }
.btn__label span { display: block; transition: transform .6s var(--ease-out); }
.btn__label span + span { position: absolute; inset: 0; transform: translateY(110%); }
.btn__icon { width: 15px; height: 15px; flex: none; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .btn:hover { color: var(--btn-fg-hover); }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__label span:first-child { transform: translateY(-110%); }
  .btn:hover .btn__label span + span { transform: translateY(0); }
  .btn:hover .btn__icon { transform: translateX(4px); }
}
.btn--solid { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-fill: var(--forest-2); --btn-fg-hover: var(--cream); border-color: var(--ink); }
.btn--light { --btn-fg: var(--cream); --btn-fill: var(--cream); --btn-fg-hover: var(--ink); border-color: rgba(244, 241, 234, .8); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-fill: var(--sage); --btn-fg-hover: var(--ink); border-color: var(--cream); }
.btn--sm { min-height: 46px; padding: 0 24px; font-size: 11px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; padding-bottom: 6px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease-out);
}
@media (hover: hover) {
  .link:hover::after { transform: scaleX(0); transform-origin: right; animation: underline .9s var(--ease-out) .15s forwards; }
}
@keyframes underline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* --- Écran de chargement ----------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: var(--forest); color: var(--cream);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io);
}
.is-loading .loader { display: grid; place-items: center; }
.loader__inner { display: grid; justify-items: center; gap: 26px; transition: transform 1.1s var(--ease-io), opacity .6s ease; }
.loader__logo { width: 74px; height: auto; overflow: visible; }
.loader__logo path {
  fill: var(--cream); fill-opacity: 0; stroke: var(--cream); stroke-width: .35;
  stroke-dasharray: 160; stroke-dashoffset: 160;
  animation: draw 1.15s var(--ease-soft) forwards, fill .6s ease forwards;
}
.loader__logo path:nth-child(1) { animation-delay: 0s, .95s; }
.loader__logo path:nth-child(2) { animation-delay: .12s, 1.05s; }
.loader__logo path:nth-child(3) { animation-delay: .24s, 1.1s; }
.loader__logo path:nth-child(4) { animation-delay: .36s, 1.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader__word { display: flex; overflow: hidden; font-family: var(--serif); font-size: 22px; letter-spacing: .42em; padding-left: .42em; }
.loader__word span { display: block; transform: translateY(110%); animation: rise .9s var(--ease-out) forwards; }
@keyframes rise { to { transform: translateY(0); } }
.loader__count {
  position: absolute; right: var(--gutter); bottom: clamp(24px, 5vh, 48px);
  font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 7.5rem); line-height: 1; font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.loader__tag {
  position: absolute; left: var(--gutter); bottom: clamp(30px, 5vh, 56px);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
}
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sage); transform-origin: left; transform: scaleX(0); }
.loader.is-out { clip-path: inset(0 0 100% 0); }
.loader.is-out .loader__inner { transform: translateY(-14vh); opacity: 0; }

/* --- Rideau de transition entre les pages ------------------------------------------ */
.curtain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  display: grid; place-items: center;
  background: var(--sage); color: var(--ink);
  clip-path: inset(100% 0 0 0);
  visibility: hidden;
}
.curtain__inner { display: grid; justify-items: center; gap: 20px; }
.curtain__logo { width: 46px; }
.curtain__logo path { fill: var(--ink); }
.curtain__label { overflow: hidden; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.curtain__label span { display: block; }
.curtain__line { width: 120px; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0); }

/* sortie : le rideau monte */
.is-leaving .curtain { visibility: visible; pointer-events: all; clip-path: inset(0 0 0 0); transition: clip-path .85s var(--ease-io); }
.is-leaving .curtain__label span { animation: rise .8s var(--ease-out) .25s both; }
.is-leaving .curtain__line { transform: scaleX(1); transition: transform 1.2s var(--ease-out) .3s; }
.curtain__label span { transform: translateY(0); }
.is-leaving .curtain__label span { transform: translateY(110%); }

/* entrée : le rideau couvre la page puis se retire vers le haut */
.is-entering .curtain { visibility: visible; clip-path: inset(0 0 0 0); }
.is-entering .curtain__line { transform: scaleX(1); }
.curtain.is-revealing { visibility: visible; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io) .1s; }
.curtain.is-revealing .curtain__inner { transform: translateY(-12vh); opacity: 0; transition: transform 1s var(--ease-io) .1s, opacity .5s ease .1s; }
.curtain.is-revealing .curtain__line { transform: scaleX(1); }

/* --- En-tête ------------------------------------------------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  color: var(--ink);
  transition: transform .7s var(--ease-out), color .4s ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 241, 234, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s ease;
}
[data-header="light"] .header { color: var(--cream); }
.header.is-scrolled { color: var(--ink); }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-101%); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .5s var(--ease-out); }
.header.is-scrolled .header__bar { height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 30px; height: auto; transition: transform .8s var(--ease-out); }
.brand__mark path { fill: currentColor; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-family: var(--serif); font-size: 23px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.brand__name small { font-size: .78em; }

.nav { display: none; }
.nav__list { display: flex; gap: clamp(22px, 2.6vw, 42px); }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__cta { display: none; }
.header .btn { --btn-fg: currentColor; border-color: currentColor; --btn-fill: currentColor; }
[data-header="light"] .header:not(.is-scrolled) .btn { --btn-fg-hover: var(--ink); }
.header.is-scrolled .btn, [data-header="dark"] .header .btn { --btn-fg-hover: var(--cream); }

.burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center;
}
.burger span { position: absolute; width: 18px; height: 1px; background: currentColor; transition: transform .6s var(--ease-out), opacity .3s; }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

@media (min-width: 1080px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* --- Menu plein écran (mobile & tablette) --------------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center;
  background: var(--forest); color: var(--cream);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu-open .header { color: var(--cream); }
.menu-open .header::before { opacity: 0; }
.menu__list { display: grid; gap: 6px; }
.menu__item { overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 4.2rem); line-height: 1.12; text-transform: uppercase; letter-spacing: .04em;
  transform: translateY(105%); transition: transform .8s var(--ease-out);
}
.menu__link small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; opacity: .55; }
.menu__link[aria-current="page"] { font-style: italic; text-transform: none; }
.menu-open .menu__link { transform: none; }
.menu-open .menu__item:nth-child(1) .menu__link { transition-delay: .35s; }
.menu-open .menu__item:nth-child(2) .menu__link { transition-delay: .41s; }
.menu-open .menu__item:nth-child(3) .menu__link { transition-delay: .47s; }
.menu-open .menu__item:nth-child(4) .menu__link { transition-delay: .53s; }
.menu-open .menu__item:nth-child(5) .menu__link { transition-delay: .59s; }
.menu__foot {
  margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .8s var(--ease-out);
}
.menu-open .menu__foot { opacity: 1; transform: none; transition-delay: .7s; }
.menu__foot p { font-size: 14px; color: rgba(244, 241, 234, .66); }

/* --- Héros ------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--cream); background: var(--forest); overflow: hidden; isolation: isolate;
}
.hero--page { min-height: 82vh; min-height: 82svh; }
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--header-h) + 20px); padding-bottom: 120px; }
.hero__pre {
  display: block; overflow: hidden;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.45rem, 3.1vw, 2.75rem); letter-spacing: .07em; line-height: 1.15;
}
.hero__title {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.3rem, 11.2vw, 10.6rem); line-height: .92; letter-spacing: .015em;
  margin-top: .08em;
}
.hero--page .hero__title { font-size: clamp(3rem, 9.4vw, 8.6rem); }
.hero__title em { font-weight: 300; text-transform: none; letter-spacing: 0; }
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: block; }
.hero__text { max-width: 540px; margin-top: clamp(26px, 3.5vw, 40px); font-size: clamp(16px, 1.25vw, 18.5px); color: rgba(244, 241, 234, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(30px, 4vw, 44px); }
.hero__crumb { margin-bottom: 30px; color: rgba(244, 241, 234, .8); }
.hero__crumb a:hover { color: var(--cream); }
.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: rgba(244, 241, 234, .8);
}
.hero__scroll i { position: relative; display: block; width: 1px; height: 54px; background: rgba(244, 241, 234, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--cream); animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__side {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 34px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 241, 234, .7);
  display: none;
}
@media (min-width: 900px) { .hero__side { display: block; } }

/* animations d'entrée du héros (pilotées par html.is-ready) */
.js .hero [data-hero] { opacity: 0; transform: translateY(26px); }
.js .hero .line > span { transform: translateY(108%); }
.is-ready .hero .line > span { transform: none; transition: transform 1.3s var(--ease-out) var(--d, 0s); }
.is-ready .hero [data-hero] { opacity: 1; transform: none; transition: opacity 1.2s ease, transform 1.3s var(--ease-out); }
.is-ready .hero [data-hero="1"] { transition-delay: .45s; }
.is-ready .hero [data-hero="2"] { transition-delay: .6s; }
.is-ready .hero [data-hero="3"] { transition-delay: .9s; }
.js .hero .landscape { transform: scale(1.12); }
.is-ready .hero .landscape { transform: scale(1); transition: transform 2.6s var(--ease-out); }

/* --- Paysage (généré en SVG par main.js) ------------------------------------------------ */
.landscape { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(180deg, #4d5a50 0%, #8a968a 48%, #b5beb0 70%, #b9c2b4 100%); }
.landscape svg { max-width: none; position: absolute; inset: -4% -4% 0 -4%; width: 108%; height: 104%; }
.landscape__layer { will-change: transform; }
.landscape__fog {
  position: absolute; inset: -10% -18%; pointer-events: none;
  background:
    radial-gradient(60% 30% at 30% 55%, rgba(236, 240, 232, .3), transparent 70%),
    radial-gradient(50% 24% at 78% 62%, rgba(236, 240, 232, .22), transparent 70%);
  animation: fog 26s ease-in-out infinite alternate;
}
.landscape__fog--2 { animation-duration: 34s; animation-direction: alternate-reverse; opacity: .7; transform: translateY(12%); }
@keyframes fog { from { translate: -6% 0; } to { translate: 6% -2%; } }
.landscape__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 22, 19, .62) 0%, rgba(18, 22, 19, .25) 55%, rgba(18, 22, 19, .05) 100%), linear-gradient(0deg, rgba(18, 22, 19, .45), transparent 40%); }
.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 2; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); } 60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); } }

/* --- Révélations au défilement -------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(44px); transition: opacity 1.1s ease, transform 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-mask].is-in { clip-path: inset(0 0 0 0); }
.js [data-mask] > img, .js [data-mask] > .landscape { transform: scale(1.18); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-mask].is-in > img, .js [data-mask].is-in > .landscape { transform: none; }

/* --- Manifeste ------------------------------------------------------------------------- */
.manifesto { text-align: center; }
.manifesto__mark { width: 40px; margin: 0 auto 40px; }
.manifesto__mark path { fill: var(--ink); }
.manifesto__text {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.8vw, 3.4rem); line-height: 1.22; letter-spacing: .005em;
  max-width: 22em; margin-inline: auto;
}
.manifesto__text em { color: var(--brass); }
.js .manifesto__text .mw { opacity: .16; transition: opacity .5s ease; }
.js .manifesto__text .mw.is-lit { opacity: 1; }
.manifesto__sign { margin-top: 44px; color: var(--muted); }

/* --- Cartes « savoir-faire » ------------------------------------------------------------ */
.cards { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; gap: 22px; text-align: center; justify-items: center; }
.card__media {
  position: relative; width: 100%; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden;
  background: var(--forest); isolation: isolate;
}
.card__media .landscape { transition: transform 1.4s var(--ease-out); }
.card:hover .card__media .landscape { transform: scale(1.06); }
.card__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 3; padding: 26px; color: var(--cream); text-align: left;
  background: linear-gradient(0deg, rgba(18, 22, 19, .6), transparent);
}
.card__num { font-size: 12px; font-weight: 500; letter-spacing: .24em; opacity: .85; }
.card__title { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.9rem); letter-spacing: .14em; text-transform: uppercase; }
.card__text { color: var(--ink-soft); max-width: 34ch; font-size: 16px; }
.card .btn { margin-top: 4px; }

/* mini maquette de navigateur */
.frame { position: absolute; inset: 14% 10% auto 10%; z-index: 2; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); transition: transform 1.2s var(--ease-out); }
.card:hover .frame { transform: translateY(-8px); }
.frame__bar { display: flex; gap: 5px; padding: 9px 11px; background: #e9e6de; }
.frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9c4b8; }
.frame__body { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.frame__body .landscape { inset: 0; }
.frame__ui { position: absolute; inset: 0; z-index: 2; padding: 9% 9%; display: grid; align-content: center; gap: 6px; color: var(--cream); }
.frame__ui b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .1em; line-height: 1; }
.frame__ui i { display: block; height: 3px; border-radius: 2px; background: rgba(244, 241, 234, .7); }
.frame__ui i:nth-of-type(1) { width: 62%; }
.frame__ui i:nth-of-type(2) { width: 44%; }
.frame__ui u { display: block; width: 34px; height: 9px; margin-top: 4px; border: 1px solid rgba(244, 241, 234, .9); border-radius: 9px; }
.frame--split .frame__body::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 50%; z-index: 3; background: repeating-linear-gradient(0deg, #e6e2d8 0 6px, #f4f1ea 6px 14px); border-right: 2px solid var(--cream); animation: wipe 5s var(--ease-io) infinite alternate; }
@keyframes wipe { 0%, 15% { width: 70%; } 85%, 100% { width: 12%; } }

/* --- Bandeau défilant ---------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 26px; background: var(--cream); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 46px; padding-right: 46px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.4rem); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.marquee__item em { text-transform: none; font-weight: 300; }
.marquee__item svg { width: 22px; flex: none; }
.marquee__item svg path { fill: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Projets ---------------------------------------------------------------------------- */
.projects { display: grid; gap: clamp(80px, 10vw, 150px); }
.project { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) {
  .project { grid-template-columns: 1.35fr 1fr; }
  .project:nth-child(even) .project__media { order: 2; }
}
.project__media { position: relative; padding-right: 9%; padding-bottom: 6%; }
.screen { position: relative; border-radius: 14px; overflow: hidden; background: #e9e6de; box-shadow: 0 50px 90px -40px rgba(18, 20, 18, .45); }
.screen__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #ebe8e0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc9bc; }
.screen__bar span { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 10px; background: #f6f4ee; font-size: 10.5px; line-height: 20px; padding-inline: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; letter-spacing: .02em; }
.screen__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.screen__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.6s var(--ease-out); }
.project:hover .screen__view img { transform: scale(1.035); }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%; min-width: 92px;
  border-radius: 22px; padding: 6px; background: var(--ink);
  box-shadow: 0 40px 70px -30px rgba(18, 20, 18, .6);
  transition: transform 1.2s var(--ease-out);
}
.project:hover .phone { transform: translateY(-14px); }
.phone__view { border-radius: 17px; overflow: hidden; aspect-ratio: 9 / 19.5; background: #fff; }
.phone__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project__body { display: grid; gap: 22px; align-content: center; }
.project__index { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.project__title { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.project__title em { text-transform: none; font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.section--dark .tag { border-color: var(--line-light); color: rgba(244, 241, 234, .8); }
.tag--concept { border-color: var(--brass); color: var(--brass); }

/* concept hôtelier : maquette générée */
.concept { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--cream); z-index: 2; background: linear-gradient(180deg, rgba(18, 22, 19, .32), rgba(18, 22, 19, .12) 45%, rgba(18, 22, 19, .3)); text-shadow: 0 2px 24px rgba(18, 22, 19, .25); }
.concept__nav { position: absolute; top: 5%; left: 5%; right: 5%; display: flex; justify-content: space-between; align-items: center; font-size: clamp(7px, .75vw, 10px); letter-spacing: .25em; text-transform: uppercase; }
.concept__nav b { font-family: var(--serif); font-weight: 500; font-size: clamp(10px, 1.1vw, 15px); letter-spacing: .2em; }
.concept__nav span { display: flex; gap: 1.6em; opacity: .85; }
.concept__pre { font-family: var(--serif); font-size: clamp(11px, 1.5vw, 20px); letter-spacing: .14em; text-transform: uppercase; }
.concept__title { font-family: var(--serif); font-size: clamp(26px, 5vw, 70px); line-height: .95; letter-spacing: .04em; text-transform: uppercase; }
.concept__btn { display: inline-block; margin-top: 1.4em; padding: .9em 2em; border: 1px solid rgba(244, 241, 234, .85); border-radius: 99px; font-size: clamp(6px, .65vw, 9px); letter-spacing: .25em; text-transform: uppercase; }

/* --- Le séjour (processus) --------------------------------------------------------------- */
.stay { display: grid; gap: 56px; }
@media (min-width: 960px) {
  .stay { grid-template-columns: .85fr 1.15fr; gap: 90px; }
  .stay__head { position: sticky; top: 130px; align-self: start; }
}
.stay__head .title { margin: 24px 0 28px; }
.steps { counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line-light); }
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__num { font-size: 38px; line-height: 1; color: var(--sage); font-weight: 300; letter-spacing: .02em; }
.step__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.step__text { color: rgba(244, 241, 234, .72); max-width: 52ch; }
.step__meta { margin-top: 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--sage); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.step.is-in::before { transform: scaleX(1); }

/* --- Engagements ------------------------------------------------------------------------ */
.promises { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .promises { grid-template-columns: repeat(3, 1fr); } }
.promise { background: var(--cream); padding: clamp(32px, 3.4vw, 48px); display: grid; gap: 14px; align-content: start; transition: background .6s ease; }
.promise:hover { background: var(--paper); }
.promise__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .8s var(--ease-out), background .5s ease, color .5s ease; }
.promise:hover .promise__icon { transform: rotate(-12deg); background: var(--forest); color: var(--cream); }
.promise__icon svg { width: 20px; height: 20px; }
.promise h3 { font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; }
.promise p { color: var(--ink-soft); font-size: 16px; }

/* --- Bloc d'appel à l'action ----------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; color: var(--cream); background: var(--forest); isolation: isolate; }
.cta .landscape { opacity: .9; }
.cta .landscape__shade { background: linear-gradient(90deg, rgba(18, 22, 19, .78), rgba(18, 22, 19, .35)); }
.cta__grid { position: relative; z-index: 3; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .cta__grid { grid-template-columns: 1fr 460px; gap: 80px; } }
.cta__title { font-family: var(--serif); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .96; letter-spacing: .02em; margin: 26px 0; }
.cta__title em { text-transform: none; font-weight: 300; }
.cta__text { color: rgba(244, 241, 234, .82); max-width: 46ch; }
.cta__grid > .hero__actions { margin-top: 0; }
@media (min-width: 1000px) { .cta__grid > .hero__actions { flex-direction: column; align-items: stretch; justify-self: end; width: 100%; max-width: 340px; } }

/* --- Formulaires ------------------------------------------------------------------------- */
.panel {
  background: rgba(244, 241, 234, .96); color: var(--ink);
  border-radius: var(--radius); padding: clamp(26px, 3.2vw, 40px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .5);
}
.panel__title { font-family: var(--serif); font-size: 1.9rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.panel__sub { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.form { display: grid; gap: 16px; }
.field { position: relative; display: grid; gap: 6px; }
.field__label { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.field__label i { font-style: normal; color: var(--muted); letter-spacing: .08em; text-transform: none; font-weight: 400; }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  font-size: 16px; font-weight: 400; color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a3a79f; }
.input:hover { border-color: rgba(18, 20, 18, .3); }
.input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(30, 39, 33, .1); background: #fff; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.6; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121412' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px; }
.field.is-invalid .input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(164, 67, 58, .08); }
.field__error { font-size: 13px; color: var(--danger); min-height: 0; overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-out); }
.field.is-invalid .field__error { max-height: 40px; }
.field.is-valid .input { border-color: rgba(30, 39, 33, .45); }
.field__ok { position: absolute; right: 16px; top: 39px; width: 18px; height: 18px; color: var(--forest); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-out); pointer-events: none; }
.field.is-valid .field__ok { opacity: 1; transform: none; }
.row { display: grid; gap: 16px; }
@media (min-width: 640px) { .row--2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1px solid rgba(18, 20, 18, .35); display: grid; place-items: center; background: var(--paper); transition: background .3s, border-color .3s; }
.consent__box svg { width: 13px; height: 13px; color: var(--cream); stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .4s var(--ease-out) .05s; }
.consent input:checked + .consent__box { background: var(--forest); border-color: var(--forest); }
.consent input:checked + .consent__box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .consent__box { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.field.is-invalid .consent__box { border-color: var(--danger); }
.form__note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form__note svg { width: 14px; height: 14px; flex: none; }
.form__alert { display: none; padding: 14px 18px; border-radius: 14px; background: rgba(164, 67, 58, .08); color: var(--danger); font-size: 14.5px; }
.form__alert.is-visible { display: block; animation: shake .5s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* puces de choix (radio stylisées) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 14.5px; transition: background .35s ease, color .35s ease, border-color .35s ease, transform .4s var(--ease-out);
}
.chip:hover span { border-color: rgba(18, 20, 18, .4); }
.chip input:checked + span { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.chip input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* grandes cartes de choix (type de projet) */
.choices { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice__card {
  display: grid; gap: 8px; align-content: start; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .35s, background .35s, color .35s, transform .5s var(--ease-out);
}
.choice__card svg { width: 26px; height: 26px; }
.choice__card b { font-weight: 500; font-size: 15px; }
.choice__card small { font-size: 13px; color: var(--muted); line-height: 1.45; transition: color .35s; }
.choice:hover .choice__card { border-color: rgba(18, 20, 18, .4); transform: translateY(-3px); }
.choice input:checked + .choice__card { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.choice input:checked + .choice__card small { color: rgba(244, 241, 234, .7); }
.choice input:focus-visible + .choice__card { outline: 1.5px solid var(--ink); outline-offset: 3px; }

/* jours de rappel */
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 30px 12px 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); scroll-snap-type: x mandatory; scrollbar-width: thin; border: 0; margin: 0; min-width: 0; }
.day { position: relative; flex: none; scroll-snap-align: start; }
.day input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.day__card { display: grid; justify-items: center; gap: 2px; width: 78px; padding: 14px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease-out); }
.day__card small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .35s; }
.day__card b { font-size: 26px; font-weight: 400; line-height: 1.2; }
.day:hover .day__card { transform: translateY(-3px); border-color: rgba(18, 20, 18, .4); }
.day input:checked + .day__card { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.day input:checked + .day__card small { color: rgba(244, 241, 234, .7); }
.day input:focus-visible + .day__card { outline: 1.5px solid var(--ink); outline-offset: 3px; }

/* --- Formulaire en étapes ---------------------------------------------------------------- */
.wizard { position: relative; }
.wizard__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 34px; }
.wizard__dot { display: grid; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.wizard__dot i { display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.wizard__dot i::after { content: ""; position: absolute; inset: 0; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.wizard__dot.is-active, .wizard__dot.is-done { color: var(--ink); }
.wizard__dot.is-active i::after, .wizard__dot.is-done i::after { transform: scaleX(1); }
.wizard__dot span { display: none; }
@media (min-width: 560px) { .wizard__dot span { display: inline; } }
.js .step-pane { display: none; }
.js .step-pane.is-active { display: grid; animation: paneIn .7s var(--ease-out); }
.js .step-pane.is-back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.step-pane { gap: 24px; }
.step-pane__title { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.step-pane__title small { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.wizard__back { display: none; }
.js .wizard__back { display: inline-flex; }
.btn-back { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 0; }
.btn-back svg { width: 16px; transition: transform .5s var(--ease-out); }
.btn-back:hover svg { transform: translateX(-4px); }
.recap { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--sage-soft); font-size: 14.5px; }
.recap b { font-weight: 500; }
.recap:empty { display: none; }

/* écran de succès */
.success { display: none; text-align: center; justify-items: center; gap: 20px; padding: 30px 0 10px; }
.success.is-visible { display: grid; animation: paneIn .9s var(--ease-out); }
.success__icon { width: 92px; height: 92px; }
.success__icon circle { stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1.1s var(--ease-out) .1s forwards; }
.success__icon path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s var(--ease-out) .8s forwards; }
.success__title { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); text-transform: uppercase; letter-spacing: .05em; line-height: 1.05; }
.success__text { color: var(--ink-soft); max-width: 44ch; }
.success__slot { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: var(--sage-soft); font-weight: 500; font-size: 15px; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* --- Pied de page ------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__top { display: grid; gap: 50px; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 960px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__big { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.4rem); text-transform: uppercase; line-height: .98; letter-spacing: .02em; }
.footer__big em { text-transform: none; font-weight: 300; color: var(--sage); }
.footer__big + .btn { margin-top: 34px; }
.footer h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(244, 241, 234, .5); margin-bottom: 22px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { position: relative; display: inline-block; color: rgba(244, 241, 234, .85); transition: color .3s, transform .5s var(--ease-out); }
.footer__links a:hover { color: var(--cream); transform: translateX(6px); }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 30px); padding: clamp(40px, 6vw, 80px) 0 10px; color: rgba(244, 241, 234, .08); }
.footer__brand svg { width: clamp(50px, 8vw, 120px); flex: none; }
.footer__brand svg path { fill: currentColor; }
.footer__brand span { font-family: var(--serif); font-size: clamp(2.6rem, 10.5vw, 11rem); line-height: .9; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 26px 0 34px; font-size: 13px; color: rgba(244, 241, 234, .55); }
.footer__bottom a:hover { color: var(--cream); }
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* --- Bouton flottant « Être rappelé » ------------------------------------------------------- */
.float-cta {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 40;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transform: translateY(140%); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .5s ease, background .4s;
}
.float-cta.is-visible { transform: none; opacity: 1; }
.float-cta:hover { background: var(--forest-2); }
.float-cta__icon { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--sage); color: var(--ink); display: grid; place-items: center; }
.float-cta__icon svg { width: 16px; height: 16px; }
.float-cta__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--sage); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* --- Barre de progression de lecture ---------------------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* --- Curseur personnalisé (souris uniquement) ------------------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brass); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(168, 139, 90, .7);
  display: grid; place-items: center;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background .4s, border-color .4s;
}
.cursor__ring span { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(168, 139, 90, .14); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--sage); border-color: var(--sage); }
.cursor.is-view .cursor__ring span { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(.85); }
.cursor.is-hidden { opacity: 0; }

/* --- Pages : Offre ------------------------------------------------------------------------ */
.intro { display: grid; gap: 40px; }
@media (min-width: 960px) { .intro { grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; } }
.big-quote { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.big-quote em { text-transform: none; font-weight: 300; color: var(--brass); }

.formulas { display: grid; gap: 22px; }
@media (min-width: 1000px) { .formulas { grid-template-columns: repeat(3, 1fr); } }
.formula {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(30px, 3vw, 44px); border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
.formula:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(18, 20, 18, .35); }
.formula--featured { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.formula--featured .formula__text, .formula--featured .formula__list li { color: rgba(244, 241, 234, .78); }
.formula--featured .formula__list li::before { background: var(--sage); }
.formula__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 99px; background: var(--brass); color: var(--paper); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.formula__name { font-family: var(--serif); font-size: 2.3rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1; }
.formula__for { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: -10px; }
.formula--featured .formula__for { color: var(--sage); }
.formula__text { color: var(--ink-soft); font-size: 16px; }
.formula__price { display: flex; align-items: baseline; gap: 10px; padding-block: 18px; border-block: 1px solid var(--line); font-family: var(--serif); font-size: 2rem; }
.formula--featured .formula__price { border-color: var(--line-light); }
.formula__price small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.formula__list { display: grid; gap: 10px; flex: 1; }
.formula__list li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-soft); }
.formula__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--brass); }

.included { display: grid; gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); }
@media (min-width: 720px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .included { grid-template-columns: repeat(4, 1fr); } }
.included__item { background: var(--forest); padding: 34px 26px 34px 0; display: grid; gap: 10px; align-content: start; }
@media (min-width: 720px) { .included__item { padding: 38px 30px; } }
.included__item svg { width: 26px; height: 26px; color: var(--sage); }
.included__item h3 { font-size: 1.45rem; letter-spacing: .06em; text-transform: uppercase; }
.included__item p { font-size: 15px; }

.extras { display: grid; gap: 22px; }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra { position: relative; overflow: hidden; display: grid; gap: 18px; padding: clamp(30px, 3.4vw, 50px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.extra__flag { justify-self: start; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--brass); color: var(--brass); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.extra__icon { position: absolute; right: 34px; top: 34px; width: 74px; height: 74px; color: var(--sage); opacity: .7; }
.extra h3 { font-size: clamp(2rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: .06em; }
.extra p { color: var(--ink-soft); }

/* accordéon */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, transform .6s var(--ease-out); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; margin-left: -7px; background: currentColor; transition: transform .6s var(--ease-out); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--forest); color: var(--cream); transform: rotate(180deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__q:hover .faq__plus { border-color: var(--ink); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 64px 30px 0; color: var(--ink-soft); max-width: 72ch; }

/* --- Pages : Réalisations ---------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(50px, 7vw, 90px); }
.filter { position: relative; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: background .4s, color .4s, border-color .4s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter sup { margin-left: 6px; font-size: 10px; opacity: .6; }
.works { display: grid; gap: clamp(70px, 9vw, 130px); }
.work { transition: opacity .6s ease, transform .8s var(--ease-out); }
.work.is-filtered { display: none; }
.work.is-appearing { animation: paneIn .9s var(--ease-out) both; animation-name: workIn; }
@keyframes workIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.project__links { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 15px; }

/* --- Pages : Studio ------------------------------------------------------------------------------ */
.split { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 100px; } }
.split__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--forest); }
.split__media .landscape { position: absolute; }
.split__badge { position: absolute; z-index: 3; left: 26px; bottom: 26px; right: 26px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(244, 241, 234, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.split__badge svg { width: 34px; flex: none; }
.split__badge svg path { fill: var(--ink); }
.split__badge p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.split__badge b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.split__body { display: grid; gap: 26px; }
.split__body .text + .text { margin-top: 0; }

.values { display: grid; gap: 22px; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 34px 28px; border-radius: var(--radius); background: var(--cream); display: grid; gap: 14px; align-content: start; transition: transform .8s var(--ease-out); }
.value:hover { transform: translateY(-6px); }
.value__num { font-size: 52px; line-height: .9; font-weight: 300; color: var(--sage); }
.value h3 { font-size: 1.6rem; text-transform: uppercase; letter-spacing: .08em; }
.value p { color: var(--ink-soft); font-size: 15.5px; }

.tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tool { padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line-light); font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; transition: background .4s, color .4s; }
.tool:hover { background: var(--cream); color: var(--ink); }

/* --- Pages : Contact ------------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 50px; align-items: start; }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .contact-aside { position: sticky; top: 120px; } }
.contact-aside { display: grid; gap: 30px; }
.contact-aside .title { margin-top: 20px; }
.assurances { display: grid; gap: 18px; }
.assurance { display: flex; gap: 16px; align-items: flex-start; }
.assurance__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; }
.assurance__icon svg { width: 18px; height: 18px; }
.assurance b { display: block; font-weight: 500; }
.assurance p { color: var(--ink-soft); font-size: 15px; }
.contact-card { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); display: grid; gap: 4px; }
.contact-card a { font-family: var(--serif); font-size: 1.45rem; }
.contact-card a:hover { color: var(--brass); }
.panel--page { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 50px 100px -60px rgba(18, 20, 18, .35); }

/* --- Pages : Mentions & 404 ------------------------------------------------------------------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); text-transform: uppercase; letter-spacing: .05em; margin: 60px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }
.prose ul { display: grid; gap: 8px; margin-top: 12px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--brass); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.todo { background: rgba(168, 139, 90, .18); padding: 0 6px; border-radius: 4px; }

/* --- Responsive fin ---------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --header-h: 78px; }
  body { font-size: 16px; }
  .brand__name { font-size: 20px; }
  .brand__mark { width: 26px; }
  .hero__content { padding-bottom: 130px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { bottom: 22px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .faq__a p { padding-right: 0; }
  .float-cta { padding: 8px; }
  .float-cta__text { display: none; }
  .project__media { padding-right: 12%; }
  .footer__bottom { flex-direction: column; }
}

/* --- Préférence : réduire les animations ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .grain, .landscape__fog { display: none; }
  .js [data-reveal], .js [data-split] .w > span, .js .hero [data-hero], .js .hero .line > span { opacity: 1 !important; transform: none !important; }
  .js [data-mask] { clip-path: none !important; }
  .js .manifesto__text .mw { opacity: 1; }
  .marquee__track { animation: none; }
}
