/* =========================================================
   Résidence Rose Marie — Andakana
   Palette « heure dorée » : ocre des façades, terracotta des
   jarres, vert du jardin, turquoise de la piscine.
   ========================================================= */

:root {
  color-scheme: light;
  --paper: #FCF8F0;
  --cream: #F6EEDF;
  --sand: #EADFC8;
  --ink: #1B2620;
  --ink-soft: #4B5A50;
  --green: #2E5E3E;
  --green-deep: #173424;
  --leaf: #6E9A55;
  --ochre: #E0A33A;
  --sun: #F4C451;
  --sun-hi: #FFD877;
  --terracotta: #C25E36;
  --clay: #E3895A;
  --teal: #2C8581;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1280px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: italic; }
::selection { background: var(--sun); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* grain chaleureux sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(96px, 15vh, 170px) 0; position: relative; }

.ico {
  width: 1.2em; height: 1.2em;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* Fleur (symbole) */
.fl-petals { fill: var(--petal, var(--paper)); stroke: var(--petal-line, var(--green)); stroke-width: 2.2; }
.fl-heart { fill: var(--heart, var(--sun)); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-size: .76rem; font-weight: 800;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: currentColor; }
.eyebrow--sun { color: var(--sun); }

.h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.028em;
  margin: .45em 0 .5em;
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  text-wrap: balance;
}
.h2 em, .h3 em { color: var(--green); font-variation-settings: "SOFT" 100, "WONK" 1; }
.h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.02; letter-spacing: -.02em;
  margin: .4em 0 .5em;
  font-variation-settings: "SOFT" 100, "opsz" 120;
}
.lead { font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--ink); }
p + p { margin-top: 1em; }

/* ---------- Animations de révélation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em; margin: 0 -.04em -.12em; }
.wi {
  display: inline-block;
  transform: translate3d(0, 108%, 0) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 65ms);
}
[data-split].in .wi { transform: none; }

[data-reveal-img] { clip-path: inset(18% 12% 18% 12% round 40px); transition: clip-path 1.5s var(--ease-out); }
[data-reveal-img] img { transform: scale(1.3); transition: transform 1.8s var(--ease-out); }
[data-reveal-img].in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
[data-reveal-img].in img { transform: scale(1); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.7em;
  border-radius: 999px;
  font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  transition: transform .5s var(--ease-out), background .35s, color .35s, box-shadow .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--sun-hi);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .55s var(--ease-out), border-radius .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn--sun { background: var(--sun); color: var(--green-deep); box-shadow: 0 10px 30px -10px rgba(224, 163, 58, .7); }
.btn--glass {
  color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--green-deep); }
.btn--sm { padding: .72em 1.3em; font-size: .88rem; }
.btn .ico { transition: transform .4s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }

/* ---------- Préchargement ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--green-deep); color: var(--cream);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-io);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__inner { text-align: center; transition: transform 1.15s var(--ease-io), opacity .6s; }
.loader.done .loader__inner { transform: translateY(-60px); opacity: 0; }
.loader__flower { width: 110px; height: 110px; overflow: visible; animation: spinIn 2.2s var(--ease-out) both; }
.loader__flower path {
  fill: transparent; stroke: var(--sun); stroke-width: 1.6;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.3s var(--ease-io) forwards, petalFill .7s 1.1s forwards;
}
.loader__flower path:nth-child(2) { animation-delay: .08s, 1.15s; }
.loader__flower path:nth-child(3) { animation-delay: .16s, 1.2s; }
.loader__flower path:nth-child(4) { animation-delay: .24s, 1.25s; }
.loader__flower path:nth-child(5) { animation-delay: .32s, 1.3s; }
.loader__flower circle { fill: var(--sun); transform: scale(0); animation: pop .6s 1.1s var(--ease-out) forwards; }
.loader__name {
  font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-top: 18px; line-height: 1;
  opacity: 0; transform: translateY(14px); animation: up .9s .6s var(--ease-out) forwards;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.loader__place {
  font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; margin-top: 12px; color: var(--sun);
  opacity: 0; animation: up .9s .85s var(--ease-out) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes petalFill { to { fill: var(--cream); stroke: var(--cream); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes spinIn { from { transform: rotate(-90deg) scale(.7); } to { transform: none; } }

/* ---------- Barre de progression ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--sun), var(--clay), var(--terracotta));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 22px 0; color: #fff;
  transition: padding .5s var(--ease-out), background .5s, color .5s, transform .6s var(--ease-out), box-shadow .5s;
}
.nav.scrolled {
  padding: 10px 0; color: var(--ink);
  background: rgba(252, 248, 240, .82);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(27, 38, 32, .07);
}
.nav.hide { transform: translateY(-110%); }
.nav__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; transition: transform .8s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(72deg); }
.brand__name { font-family: var(--serif); font-size: 1.4rem; line-height: .95; letter-spacing: -.01em; font-variation-settings: "SOFT" 100; }
.brand__name small {
  display: block; font-family: var(--sans); font-size: .58rem; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase; opacity: .75; margin-bottom: 3px;
}
.nav__links { display: flex; gap: 30px; font-size: .92rem; font-weight: 600; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; z-index: 2; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 27px; }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
body.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--green-deep); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 44px;
  padding: 100px var(--gutter) 60px;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; font-style: italic;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .8s var(--ease-out);
}
body.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.menu .btn { align-self: flex-start; }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100svh; min-height: 620px;
  color: #fff;
}
.hero__media { position: absolute; inset: -4% 0 -8%; z-index: -5; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%;
  transform: scale(1.28);
}
body.loaded .hero__media img { animation: heroZoom 2.8s var(--ease-out) forwards, kenburns 28s 2.8s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.28); } to { transform: scale(1.06); } }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-2%, -1.5%); } }

.hero__sun {
  position: absolute; z-index: -3;
  width: min(90vw, 1100px); aspect-ratio: 1;
  right: -28%; top: -12%;
  background: radial-gradient(circle, rgba(255, 214, 130, .55) 0%, rgba(255, 170, 90, .2) 30%, transparent 62%);
  mix-blend-mode: screen;
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.06); opacity: 1; } }
.hero__beams {
  position: absolute; z-index: -4; left: 96%; top: 38%;
  width: 130vmax; height: 130vmax; margin: -65vmax 0 0 -65vmax;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 220, 150, .22) 0deg 2deg, transparent 2deg 9deg);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 70%);
  mix-blend-mode: soft-light;
  animation: beams 60s linear infinite;
  will-change: transform;
}
@keyframes beams { to { transform: rotate(360deg); } }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 32, 22, .92) 0%, rgba(14, 32, 22, .5) 34%, rgba(14, 32, 22, 0) 64%),
    linear-gradient(to right, rgba(14, 32, 22, .55) 0%, rgba(14, 32, 22, .15) 45%, rgba(14, 32, 22, 0) 65%),
    linear-gradient(to bottom, rgba(14, 32, 22, .5) 0%, rgba(14, 32, 22, 0) 22%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 96px); will-change: transform, opacity; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s .2s, transform 1s .2s var(--ease-out);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(244, 196, 81, .7); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(244, 196, 81, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 196, 81, 0); } }
.hero__title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(4.6rem, 15.5vw, 14rem);
  line-height: .84; letter-spacing: -.045em;
  margin: 22px 0 0;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero__pre {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: clamp(.78rem, 1.1vw, .95rem); letter-spacing: .5em; text-transform: uppercase;
  color: #FFF3DA; margin-bottom: .9rem; line-height: 1;
  display: flex; align-items: center; gap: .9em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity 1s .35s;
}
.hero__pre::before { content: ""; width: 42px; height: 1.5px; background: var(--sun); }
.line { display: block; overflow: hidden; padding: 0 .12em .06em 0; }
.line--indent { padding-left: clamp(.35em, 8vw, 1.25em); }
.line em { font-weight: 300; color: #FFF3DA; }
.ch {
  display: inline-block;
  transform: translate3d(0, 105%, 0) rotate(10deg);
  transform-origin: 0 100%;
  transition: transform 1.3s var(--ease-out);
  transition-delay: calc(.25s + var(--i) * 55ms);
}
.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap;
  margin-top: clamp(20px, 3vh, 36px);
  opacity: 0; transform: translateY(24px);
  transition: opacity 1.1s .9s, transform 1.2s .9s var(--ease-out);
}
.hero__lead { max-width: 40ch; font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
body.loaded .hero__eyebrow, body.loaded .hero__foot { opacity: 1; transform: none; }
body.loaded .hero__pre { opacity: 1; }
body.loaded .ch { transform: none; }

.hero__badge {
  position: absolute; right: var(--gutter); top: 22vh;
  width: clamp(120px, 11vw, 160px); aspect-ratio: 1;
  opacity: 0; transform: scale(.6) rotate(-40deg);
  transition: opacity 1s 1.2s, transform 1.4s 1.2s var(--ease-out);
}
body.loaded .hero__badge { opacity: 1; transform: none; }
.hero__badge-ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero__badge-ring text {
  font-family: var(--sans); font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase;
  fill: #fff;
}
.hero__badge-flower {
  position: absolute; inset: 30%; width: 40%; height: 40%;
  --petal: rgba(255, 255, 255, .95); --petal-line: rgba(255, 255, 255, .95);
  animation: spin 22s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; opacity: .8;
}
.hero__scroll i { width: 1.5px; height: 42px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--sun); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- Bandeaux ---------- */
.bands { position: relative; padding: 70px 0 40px; overflow: hidden; background: var(--paper); }
.band { position: relative; padding: 18px 0; width: 110%; margin-left: -5%; }
.band--green { background: var(--green-deep); color: var(--cream); transform: rotate(-2.2deg); z-index: 2; }
.band--sun { background: var(--sun); color: var(--green-deep); transform: rotate(1.6deg); margin-top: -12px; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.mq {
  display: inline-flex; align-items: center; gap: .55em; padding-right: .55em;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.9rem); line-height: 1.2; white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.mq svg { width: .9em; height: .9em; --petal: var(--cream); --petal-line: var(--cream); --heart: var(--sun); animation: spin 9s linear infinite; }
.mq b { font-style: normal; font-size: .6em; color: var(--terracotta); }

/* ---------- Bienvenue à Andakana : voyage cartographique 3D ---------- */
.explore { position: relative; height: 560svh; background: #0B1C12; color: var(--cream); }
.explore__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  perspective: 1700px; perspective-origin: 50% 38%;
  background: radial-gradient(120% 90% at 50% 30%, #143020 0%, #0B1C12 60%, #07130C 100%);
  isolation: isolate;
}
.explore__world {
  position: absolute; left: 50%; top: 50%;
  width: 1600px; height: 1000px; margin: -500px 0 0 -800px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}
.xbase, .xroutes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.xm-rn4, .xm-conn { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.xm-rn4--glow { stroke: rgba(244, 196, 81, .22); stroke-width: 18; }
.xm-rn4--draw { stroke: #F4C451; stroke-width: 5; }
.xm-conn--draw { stroke: #9FE0D8; stroke-width: 4; }
/* pulsations et voiture : éléments HTML animés par transform (composition GPU uniquement) */
.xpulse {
  position: absolute; left: 460px; top: 250px; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 2px solid #F4C451;
  animation: xpulse 3.3s var(--ease-out) infinite;
}
.xpulse--2 { animation-delay: 1.1s; }
.xpulse--3 { animation-delay: 2.2s; }
@keyframes xpulse { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.xcar {
  position: absolute; left: 0; top: 0; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #FFF8E6 0 9%, rgba(255, 216, 119, .8) 16%, rgba(244, 196, 81, 0) 70%);
}

/* nuages en altitude */
.xcloud {
  position: absolute; left: var(--x); top: var(--y);
  width: 360px; height: 200px; margin: -100px 0 0 -180px;
  transform: translate3d(0, 0, var(--z)) scale(var(--s));
  pointer-events: none;
}
.xcloud::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 35% 55%, rgba(255, 250, 240, .5), transparent),
    radial-gradient(closest-side at 62% 45%, rgba(255, 250, 240, .42), transparent),
    radial-gradient(closest-side at 50% 62%, rgba(255, 245, 230, .35), transparent);
  animation: drift 26s ease-in-out infinite alternate;
  animation-delay: var(--d);
  opacity: 1;
}
@keyframes drift { from { transform: translateX(-60px); } to { transform: translateX(60px); } }

/* avion */
.xplane, .xplane-shadow { position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; pointer-events: none; }
.xplane svg { width: 100%; height: 100%; fill: #FCF8F0; filter: drop-shadow(0 0 10px rgba(255, 216, 119, .6)); }
.xplane-shadow { border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }

/* repères */
.pin {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotateZ(var(--nr, 0deg)) rotateY(var(--nry, 0deg)) rotateX(var(--nt, 0deg)) scale(var(--iz, 1));
  color: var(--cream); cursor: pointer;
}
.pin__card {
  display: flex; align-items: center; gap: 10px;
  flex-direction: column;
  padding: 9px 14px; border-radius: 14px;
  background: rgba(11, 28, 18, .86);
  border: 1px solid rgba(246, 238, 223, .18);
  text-align: center; white-space: nowrap;
  transition: transform .6s var(--ease-out), background .4s, border-color .4s;
  transform-origin: 50% 100%;
}
.pin__card b { display: block; font-family: var(--serif); font-weight: 450; font-size: 17px; line-height: 1.1; }
.pin__card small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.pin__stem { width: 1.5px; height: 46px; background: linear-gradient(rgba(246, 238, 223, .6), rgba(246, 238, 223, 0)); }
.pin__dot { width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 4px rgba(194, 94, 54, .3); }
.pin--sky .pin__dot { background: #9FE0D8; box-shadow: 0 0 0 4px rgba(159, 224, 216, .25); }
.pin:hover .pin__card, .pin.is-active .pin__card { transform: scale(1.12) translateY(-6px); background: rgba(23, 52, 36, .92); border-color: var(--sun); }
.pin.is-active .pin__card b { color: var(--sun); }
.pin__shield {
  font: 800 13px var(--sans); letter-spacing: .08em;
  padding: 6px 10px; border-radius: 8px 8px 14px 14px;
  background: var(--sun); color: var(--green-deep);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.pin--road .pin__stem { height: 28px; }
.pin--shop .pin__card { padding: 7px 11px; }
.pin--shop .pin__card b { font-size: 14px; }
.pin--shop .pin__stem { height: 26px; }
.pin--shop .pin__dot { width: 9px; height: 9px; background: var(--leaf); box-shadow: 0 0 0 3px rgba(110, 154, 85, .3); }
.pin--home .pin__card { flex-direction: row; padding: 8px 16px 8px 8px; border-color: rgba(244, 196, 81, .5); text-align: left; }
.pin--home .pin__card img { width: 0; height: 58px; border-radius: 10px; object-fit: cover; transition: width .7s var(--ease-out); }
.pin--home:hover .pin__card img, .pin--home.is-active .pin__card img { width: 86px; }
.pin--home .pin__card b { font-size: 20px; color: var(--sun); }
.pin--home .pin__stem { height: 64px; background: linear-gradient(var(--sun), rgba(244, 196, 81, 0)); }
.pin__flower { width: 34px; height: 34px; margin-top: -17px; animation: spin 14s linear infinite; }
.pin__flower svg { width: 100%; height: 100%; --petal: #fff; --petal-line: var(--green-deep); }

/* lumière & vignette */
.explore__light {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(255, 190, 110, .22), transparent 70%),
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(5, 14, 9, .85) 100%),
    linear-gradient(to right, rgba(7, 19, 12, .75) 0%, rgba(7, 19, 12, 0) 45%);
}

/* interface */
.explore__top, .explore__panel, .explore__rail, .explore__hud, .explore__hint { position: absolute; z-index: 3; }
.explore__top { left: 0; right: 0; top: clamp(84px, 12vh, 120px); display: flex; justify-content: space-between; align-items: center; }
.explore__skip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; color: rgba(246, 238, 223, .7);
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(246, 238, 223, .2);
  transition: background .3s, color .3s;
}
.explore__skip .ico { transform: rotate(90deg); }
.explore__skip:hover { background: var(--cream); color: var(--green-deep); }
.explore__panel { left: 0; right: 0; top: 50%; transform: translateY(-40%); pointer-events: none; }
.chap { position: absolute; left: 0; top: 0; max-width: 520px; transform: translateY(-50%); }
.chap > * { opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .9s var(--ease-out); }
.chap.on > * { opacity: 1; transform: none; }
.chap.on > :nth-child(2) { transition-delay: .08s; }
.chap.on > :nth-child(3) { transition-delay: .16s; }
.chap__num { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--sun); }
.chap__num i { width: 36px; height: 1.5px; background: currentColor; }
.chap__title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: .94; letter-spacing: -.035em;
  margin: 18px 0 20px; text-shadow: 0 4px 40px rgba(0, 0, 0, .5);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.chap__title em { display: block; color: var(--sun); font-variation-settings: "SOFT" 100, "WONK" 1; }
.chap__text { font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.6; color: rgba(246, 238, 223, .85); max-width: 40ch; }
.chap__text strong { color: #fff; }

.explore__rail { right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
.explore__rail::before { content: ""; position: absolute; right: 5px; top: 14px; bottom: 14px; width: 1.5px; background: rgba(246, 238, 223, .15); }
.explore__rail::after { content: ""; position: absolute; right: 5px; top: 14px; width: 1.5px; height: calc((100% - 28px) * var(--rail, 0)); background: var(--sun); }
.explore__rail button { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 8px 0; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: rgba(246, 238, 223, .45); transition: color .3s; }
.explore__rail button::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #0B1C12; border: 1.5px solid rgba(246, 238, 223, .35); position: relative; z-index: 1; transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.explore__rail button:hover, .explore__rail button.is-active { color: var(--cream); }
.explore__rail button.is-done::after { background: var(--sun); border-color: var(--sun); }
.explore__rail button.is-active::after { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(244, 196, 81, .2); }

.explore__hud { left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 56px); pointer-events: none; }
.hud { display: flex; flex-direction: column; }
.hud__val { display: flex; align-items: baseline; gap: 5px; font-family: var(--serif); font-weight: 340; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hud__val b { font-weight: inherit; min-width: 1.1em; }
.hud__val small { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: 0; color: var(--sun); }
.hud__lbl { margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 238, 223, .55); }
.hud__compass { position: relative; margin-left: auto; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(246, 238, 223, .22); display: grid; place-items: center; }
.hud__compass span { position: absolute; top: -20px; font-size: .7rem; font-weight: 800; color: var(--sun); }
.hud__compass svg { width: 40px; height: 40px; transform: rotate(var(--compass, 0deg)); }
.hud__compass path { fill: rgba(246, 238, 223, .35); }
.hud__compass path.n { fill: var(--terracotta); }

.explore__hint { left: 50%; bottom: 150px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: rgba(246, 238, 223, .7); transition: opacity .5s; }
.explore__hint i { width: 26px; height: 40px; border-radius: 14px; border: 1.5px solid rgba(246, 238, 223, .5); position: relative; }
.explore__hint i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--sun); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.explore.is-moving .explore__hint { opacity: 0; }
.explore.is-arrived .explore__hud, .explore.is-arrived .explore__rail, .explore.is-arrived .explore__top { opacity: 0; }
.explore__hud, .explore__rail, .explore__top { transition: opacity .5s; }

/* arrivée */
.explore__reveal {
  position: absolute; z-index: 5; left: 50%; top: 50%;
  width: 150vmax; height: 150vmax; border-radius: 50%; overflow: hidden;
  transform: translate(-50%, -50%) scale(0); visibility: hidden;
  pointer-events: none; will-change: transform;
}
.reveal__inner { position: absolute; left: 50%; top: 50%; width: 100vw; height: 100svh; transform: translate(-50%, -50%); will-change: transform; }
.reveal__inner img { width: 100%; height: 100%; object-fit: cover; }
.reveal__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 28, 18, .92) 0%, rgba(11, 28, 18, .45) 45%, rgba(11, 28, 18, .15) 75%), linear-gradient(to right, rgba(11, 28, 18, .5), transparent 60%); }
.explore__arrive { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.explore.is-arrived .explore__arrive { pointer-events: auto; }
.reveal__content { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 100px); color: #fff; }
.reveal__in { opacity: 0; transform: translateY(36px); transition: opacity .8s, transform 1s var(--ease-out); transition-delay: calc(var(--o) * .08s); }
.explore.is-arrived .reveal__in { opacity: 1; transform: none; }
.reveal__title { font-family: var(--serif); font-weight: 340; font-size: clamp(2.8rem, 7.4vw, 7rem); line-height: .92; letter-spacing: -.04em; margin: 18px 0 18px; max-width: 12ch; font-variation-settings: "SOFT" 100, "opsz" 144; }
.reveal__title em { color: var(--sun); font-variation-settings: "SOFT" 100, "WONK" 1; }
.reveal__lead { font-size: clamp(1.02rem, 1.4vw, 1.25rem); max-width: 40ch; color: rgba(255, 255, 255, .88); }
.reveal__stats { display: flex; gap: clamp(28px, 5vw, 72px); margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .2); }
.reveal__stats b { display: flex; align-items: baseline; gap: 4px; font-family: var(--serif); font-weight: 340; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.reveal__stats small { font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--sun); letter-spacing: 0; }
.reveal__stats span { display: block; margin-top: 6px; font-size: .88rem; color: rgba(255, 255, 255, .75); }

@media (max-width: 900px) {
  .explore__rail { display: none; }
  .explore__light { background: radial-gradient(60% 50% at 85% 0%, rgba(255, 190, 110, .2), transparent 70%), radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(5, 14, 9, .9) 100%), linear-gradient(to top, rgba(7, 19, 12, .92) 0%, rgba(7, 19, 12, 0) 50%); }
  .explore__panel { top: auto; bottom: 130px; transform: none; }
  .chap { top: auto; bottom: 0; transform: none; }
  .chap__title { font-size: clamp(2.4rem, 11vw, 3.6rem); margin: 12px 0 12px; }
  .chap__title em { display: inline; }
  .chap__text { font-size: .95rem; }
  .explore__hud { bottom: 28px; gap: 26px; }
  .hud__val { font-size: 2.3rem; }
  .hud__lbl { font-size: .62rem; letter-spacing: .12em; }
  .hud__compass { width: 50px; height: 50px; }
  .hud__compass svg { width: 32px; height: 32px; }
  .explore__hint { bottom: auto; top: 40%; }
  .explore__skip { font-size: .72rem; padding: 6px 11px; white-space: nowrap; }
  .explore__top .eyebrow { font-size: .64rem; letter-spacing: .2em; }
  .explore__top .eyebrow::before { display: none; }
  .explore__top { top: 78px; }
  .pin__card b { font-size: 15px; }
  .reveal__stats { gap: 22px; }
  .reveal__stats span { font-size: .75rem; }
}
/* ---------- Phrase ---------- */
.statement {
  position: relative; overflow: hidden;
  padding: clamp(140px, 26vh, 280px) 0;
  background: var(--cream);
  text-align: center;
}
.statement__flower { width: 54px; height: 54px; margin: 0 auto 30px; display: block; animation: spin 20s linear infinite; }
.statement__text {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(2.3rem, 5.6vw, 5.4rem);
  line-height: 1.06; letter-spacing: -.025em;
  max-width: 17ch; margin-inline: auto;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  text-wrap: balance;
}
.statement__text em { color: var(--terracotta); font-variation-settings: "SOFT" 100, "WONK" 1; }
.fw { opacity: .13; transition: opacity .35s ease; }
.fw.on { opacity: 1; }
.floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute; overflow: hidden;
  border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(23, 52, 36, .5);
  width: clamp(130px, 15vw, 230px); aspect-ratio: 3 / 4;
  will-change: transform;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { left: 3%; top: 9%; rotate: -7deg; }
.float--b { right: 4%; top: 14%; rotate: 6deg; aspect-ratio: 1; }
.float--c { left: 9%; bottom: 7%; rotate: 5deg; aspect-ratio: 1; }
.float--d { right: 9%; bottom: 5%; rotate: -4deg; }

/* ---------- Une journée : cycle du jour immersif ----------
   Performance : tous les calques ont un contenu fixe. Le défilement ne modifie que
   transform / opacity (composition GPU), et les calques invisibles sont masqués. */
.day { position: relative; height: 720svh; background: #0B1230; color: #fff; }
.day__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; contain: layout paint style; }
.day__photos, .day__photo, .dg, .day__glare, .day__night, .day__stars, .day__fx, .day__lantern, .day__shade { position: absolute; inset: 0; pointer-events: none; }
.day__fx { width: 100%; height: 100%; }
.day__photo { margin: 0; overflow: hidden; will-change: transform; backface-visibility: hidden; }
.day__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  will-change: transform; backface-visibility: hidden;
}
/* liseré lumineux qui accompagne le bord du balayage */
.day__edge {
  position: absolute; top: 0; bottom: 0; right: 0; width: 34vw;
  background: linear-gradient(to right, rgba(255, 226, 170, 0), rgba(255, 226, 170, .35) 70%, rgba(255, 244, 220, .85) 100%);
  mix-blend-mode: screen; opacity: 0;
}
.day__photo:first-child .day__edge { display: none; }

.dg { mix-blend-mode: soft-light; opacity: 0; visibility: hidden; will-change: opacity; }
.dg--dawn { background: linear-gradient(to bottom, rgb(110 105 215 / .92), rgb(255 150 130 / .78)); }
.dg--warm { background: linear-gradient(to bottom, rgb(255 205 120 / .92), rgb(255 150 70 / .72)); }
.dg--dusk { background: linear-gradient(to bottom, rgb(150 70 170 / .88), rgb(255 105 70 / .78)); }

.day__glare { mix-blend-mode: screen; }
.day__sun {
  position: absolute; left: 0; top: 0; width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax;
  background: radial-gradient(circle, rgb(255 238 205 / .75) 0%, rgb(255 230 190 / .28) 12%, rgb(255 225 180 / .08) 32%, transparent 58%);
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.day__sun--hot { background: radial-gradient(circle, rgb(255 170 100 / .8) 0%, rgb(255 150 80 / .3) 12%, rgb(255 140 70 / .09) 32%, transparent 58%); }
.day__flare {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%;
  background: radial-gradient(circle, rgb(255 225 170 / 0) 35%, rgb(255 225 170 / .22) 62%, transparent 70%);
  opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.day__night { background: #0B1230; mix-blend-mode: multiply; opacity: 0; visibility: hidden; will-change: opacity; }
/* nuit « trouée » par la lanterne : grand calque fixe déplacé sous le curseur */
.day__night--hole {
  inset: auto; left: 0; top: 0; width: 400vmax; height: 400vmax; margin: -200vmax 0 0 -200vmax;
  background: radial-gradient(circle var(--hole, 260px) at 50% 50%, rgb(11 18 48 / .12) 0%, rgb(11 18 48 / .5) 45%, #0B1230 100%);
  will-change: transform, opacity;
}
.day__lantern {
  inset: auto; left: 0; top: 0; width: calc(var(--hole, 260px) * 2); height: calc(var(--hole, 260px) * 2);
  margin: calc(var(--hole, 260px) * -1) 0 0 calc(var(--hole, 260px) * -1); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 120, .55), rgba(255, 170, 80, .18) 45%, transparent 70%);
  mix-blend-mode: screen; opacity: 0; visibility: hidden; will-change: transform, opacity;
}
.day__stars { opacity: 0; visibility: hidden; height: 60%; will-change: opacity; }
.day__stars i { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; animation: twinkle 3.4s ease-in-out infinite alternate; }
.day__stars i:last-child { animation-delay: -1.7s; width: 1.5px; height: 1.5px; }
.day__shade {
  background:
    linear-gradient(to right, rgba(8, 14, 22, .74) 0%, rgba(8, 14, 22, .42) 36%, rgba(8, 14, 22, 0) 62%),
    linear-gradient(to top, rgba(8, 14, 22, .7) 0%, rgba(8, 14, 22, 0) 38%),
    linear-gradient(to bottom, rgba(8, 14, 22, .35) 0%, rgba(8, 14, 22, 0) 22%);
}
@keyframes twinkle { 50% { opacity: .25; } }

/* textes */
.day__intro, .day__end {
  position: absolute; left: 50%; top: 42%; z-index: 3;
  width: min(900px, 100% - 2 * var(--gutter));
  transform: translate(-50%, -50%); text-align: center;
  pointer-events: none;
}
.day__intro > *, .day__end > * { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform 1s var(--ease-out); }
.day.is-intro .day__intro > *, .day.is-end .day__end > * { opacity: 1; transform: none; }
.day.is-intro .day__intro > :nth-child(2), .day.is-end .day__end > :nth-child(2) { transition-delay: .1s; }
.day.is-intro .day__intro > :nth-child(3), .day.is-end .day__end > :nth-child(3) { transition-delay: .2s; }
.day.is-end .day__end { pointer-events: auto; }
.day__intro .eyebrow { justify-content: center; }
.day__title, .day__end-title {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(3rem, 8vw, 7.6rem); line-height: .92; letter-spacing: -.04em;
  margin: 22px 0 22px; text-shadow: 0 6px 50px rgba(0, 0, 0, .45);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.day__title em, .day__end-title em { display: block; color: var(--sun); font-variation-settings: "SOFT" 100, "WONK" 1; }
.day__sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .8); }
.day__lantern-hint { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.day__lantern-hint span { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 14px 4px rgba(244, 196, 81, .6); animation: ping 2.2s infinite; }

.day__moments { position: absolute; left: 0; right: 0; top: 46%; z-index: 3; pointer-events: none; }
.moment { position: absolute; left: 0; top: 0; max-width: 540px; transform: translateY(-50%); }
.moment > * { opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .95s var(--ease-out); }
.moment.on > * { opacity: 1; transform: none; }
.moment.on > :nth-child(2) { transition-delay: .06s; }
.moment.on > :nth-child(3) { transition-delay: .12s; }
.moment.on > :nth-child(4) { transition-delay: .18s; }
.moment.on > :nth-child(5) { transition-delay: .24s; }
.moment__kicker { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--sun); }
.moment__kicker::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.moment__time {
  display: block; margin-top: 10px;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(4.2rem, 10vw, 9rem); line-height: .9; letter-spacing: -.05em;
  color: #FFF1D6; text-shadow: 0 8px 60px rgba(0, 0, 0, .35);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.moment__title {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.02; letter-spacing: -.02em;
  margin: 14px 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
  font-variation-settings: "SOFT" 100, "opsz" 120;
}
.moment__title em { color: var(--sun); font-variation-settings: "SOFT" 100, "WONK" 1; }
.moment__text { max-width: 40ch; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.tag {
  display: inline-block; margin-top: 18px;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(8, 14, 22, .35);
}

/* cadran solaire */
.dial { position: absolute; z-index: 4; left: 50%; bottom: clamp(14px, 3vh, 30px); transform: translateX(-50%); width: min(440px, 86vw); }
.dial__readout { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); text-align: center; pointer-events: none; }
.dial__time { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial__label { display: block; margin-top: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }
.dial__face { position: relative; aspect-ratio: 400 / 214; touch-action: none; cursor: grab; }
.dial__face.dragging { cursor: grabbing; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__track { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2; stroke-dasharray: 2 6; }
.dial__prog { fill: none; stroke: url(#dial-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--dp, 0)); }
.dial__ticks line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.dial__ticks line.major { stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; }
.dial__ticks text { fill: rgba(255, 255, 255, .6); font: 700 10px var(--sans); letter-spacing: 1px; }
.dial__horizon { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.dial__marks { position: absolute; inset: 0; }
.dial__mark {
  position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; display: grid; place-items: center;
}
.dial__mark::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(11, 18, 48, .6); border: 1.5px solid rgba(255, 255, 255, .7); transition: background .3s, transform .4s var(--ease-out); }
.dial__mark:hover::before, .dial__mark.is-active::before { background: var(--sun); border-color: var(--sun); transform: scale(1.3); }
.dial__mark span {
  position: absolute; bottom: 30px; left: 50%; transform: translate(-50%, 6px); white-space: nowrap;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: 5px 9px; border-radius: 8px;
  background: rgba(8, 14, 22, .75); opacity: 0; transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none;
}
.dial__mark:hover span, .dial__mark:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.dial__knob {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  will-change: transform;
  display: grid; place-items: center; cursor: grab; touch-action: none;
}
.dial__knob i {
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF6DA, rgb(var(--suncol, 255 220 150)) 60%);
  box-shadow: 0 0 0 5px rgb(var(--suncol, 255 220 150) / .25), 0 0 26px 8px rgb(var(--suncol, 255 220 150) / .55);
  transition: transform .4s var(--ease-out);
}
.dial__knob:hover i, .dial__face.dragging .dial__knob i { transform: scale(1.25); }
.dial__knob.is-moon i { background: radial-gradient(circle at 62% 40%, transparent 42%, #F4EEDB 44%); box-shadow: 0 0 22px 6px rgba(200, 210, 255, .35); }

@media (max-width: 900px) {
  .day__shade { background: linear-gradient(to top, rgba(8, 14, 22, .88) 0%, rgba(8, 14, 22, .5) 45%, rgba(8, 14, 22, 0) 70%), linear-gradient(to bottom, rgba(8, 14, 22, .4) 0%, rgba(8, 14, 22, 0) 22%); }
  .day__moments { top: auto; bottom: calc(46vw + 40px); }
  .moment { top: auto; bottom: 0; transform: none; }
  .moment__time { font-size: 3.6rem; }
  .moment__title { font-size: 1.7rem; margin: 8px 0; }
  .moment__text { font-size: .92rem; }
  .tag { margin-top: 10px; }
  .dial { width: 88vw; }
  .dial__time { font-size: 1.9rem; }
  .dial__ticks text { font-size: 12px; }
  .day__intro, .day__end { top: 36%; }
  .day__stage { --hole: 170px; }
}
/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.services__intro { color: var(--ink-soft); padding-bottom: 1.2em; }
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cream); border-radius: 24px;
  padding: 26px 22px 28px; min-height: 270px;
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease-out), color .5s, opacity 1s var(--ease-out);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green-deep);
  clip-path: circle(0 at 50px 50px);
  transition: clip-path .8s var(--ease-out);
}
.svc:hover { color: var(--cream); transform: translateY(-8px); }
.svc:hover::before { clip-path: circle(150% at 50px 50px); }
.svc__num { position: absolute; top: 22px; right: 22px; font-family: var(--serif); font-style: italic; font-size: 1rem; opacity: .45; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun); color: var(--green-deep);
  margin-bottom: auto;
  transition: transform .8s var(--ease-out);
}
.svc:hover .svc__icon { transform: rotate(-12deg) scale(1.08); }
.svc__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--serif); font-weight: 450; font-size: 1.32rem; line-height: 1.15; margin: 34px 0 8px; letter-spacing: -.01em; }
.svc p { font-size: .9rem; line-height: 1.5; opacity: .75; }

.well { margin-top: clamp(90px, 13vh, 150px); display: grid; grid-template-columns: 1fr 1.75fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.well__text > p:not(.eyebrow) { color: var(--ink-soft); font-size: .92rem; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--cream); font-weight: 600; font-size: .92rem;
  transition: background .3s, color .3s, transform .5s var(--ease-out), opacity 1s var(--ease-out);
}
.chips li:hover { background: var(--teal); color: #fff; }
.chips svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--teal); transition: color .3s; }
.chips li:hover svg { color: #fff; }

.well__media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 1586 / 992; }
.well__media img { width: 100%; height: 100%; object-fit: cover; }
.hs { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 44px; height: 44px; z-index: 2; }
.hs__dot {
  position: absolute; inset: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: hsPing 2.4s infinite;
  transition: transform .4s var(--ease-out), background .3s;
}
.hs__dot::before, .hs__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--green-deep); transition: transform .4s var(--ease-out); }
.hs__dot::after { transform: rotate(90deg); }
.hs:hover .hs__dot, .hs.open .hs__dot { transform: scale(1.12); background: var(--sun); }
.hs.open .hs__dot::after { transform: rotate(0); }
@keyframes hsPing { 70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hs__label {
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  width: max-content; max-width: 230px;
  text-align: left; font-size: .84rem; line-height: 1.4;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(252, 248, 240, .96); color: var(--ink);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45);
  opacity: 0; transform: translate(-50%, 10px) scale(.96); pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease-out);
}
.hs__label b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--green); margin-bottom: 2px; }
.hs__label--left { left: auto; right: -8px; transform: translate(0, 10px) scale(.96); }
.hs:hover .hs__label, .hs:focus-visible .hs__label, .hs.open .hs__label { opacity: 1; transform: translate(-50%, 0) scale(1); }
.hs:hover .hs__label--left, .hs:focus-visible .hs__label--left, .hs.open .hs__label--left { transform: translate(0, 0) scale(1); }

/* ---------- Tarifs ---------- */
.pricing { background: var(--green-deep); color: var(--cream); overflow: hidden; }
.pricing__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -300px;
  background: radial-gradient(circle, rgba(244, 196, 81, .22), transparent 60%);
  pointer-events: none; animation: breathe 8s ease-in-out infinite alternate;
}
.pricing .h2 em { color: var(--sun); }
.pricing__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pricing__head .h2 { margin-bottom: .4em; }

.toggle {
  position: relative; display: inline-flex;
  padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.toggle button { position: relative; z-index: 1; padding: .85em 1.7em; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: color .4s; }
.toggle button[aria-selected="true"] { color: var(--green-deep); }
.toggle__pill {
  position: absolute; top: 6px; bottom: 6px; left: 0;
  width: var(--w, 50%); transform: translateX(var(--x, 6px));
  border-radius: 999px; background: var(--sun);
  transition: transform .6s var(--ease-out), width .6s var(--ease-out);
}

.pricing__controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.toggle--formula .toggle__pill { background: var(--cream); }
.toggle__tag {
  display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
  font-style: normal; font-size: .72rem; font-weight: 800;
  background: var(--terracotta); color: #fff; vertical-align: 1px;
}

/* encart : ce que comprend la formule */
.formula { display: grid; max-width: 820px; margin: 30px auto 0; }
.formula__panel {
  grid-area: 1 / 1;
  padding: 22px clamp(18px, 3vw, 30px); border-radius: 22px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(14px); visibility: hidden;
  transition: opacity .45s, transform .6s var(--ease-out), visibility 0s .45s;
}
.formula__panel.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .45s .1s, transform .6s .1s var(--ease-out), visibility 0s; }
.formula__title { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
.formula__title span { display: inline-block; margin-left: 8px; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); vertical-align: 3px; }
.formula__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.formula__list li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px 9px 11px; border-radius: 999px;
  background: rgba(244, 196, 81, .12); border: 1px solid rgba(244, 196, 81, .3);
  font-weight: 700; font-size: .92rem;
}
.formula__list svg { width: 20px; height: 20px; fill: none; stroke: var(--sun); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.formula__fine, .formula__text { margin-top: 14px; font-size: .9rem; color: rgba(246, 238, 223, .75); }
.formula__text { max-width: 56ch; margin-inline: auto; }

/* hébergement seul : ancien prix barré */
.plan__was { display: none; align-self: flex-start; margin: .35em 10px 0 0; font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.pricing.is-room .plan__was { display: inline; }
.pricing.is-room .plan__badge[data-badge] { background: var(--terracotta); color: #fff; }
.plan__badge.plan__badge--2 { top: 50px; background: rgba(252, 248, 240, .92); color: var(--green-deep); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 56px; max-width: 780px; margin-inline: auto; }
.plans[hidden], .toggle[hidden], .calc__row[hidden] { display: none; }
.plan {
  position: relative; overflow: hidden;
  background: var(--paper); color: var(--ink);
  border-radius: 26px;
  animation: planIn .9s var(--ease-out) backwards;
  animation-delay: calc(var(--i) * .1s);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.plan:hover { transform: translateY(-10px) rotate(-.4deg); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); }
@keyframes planIn { from { opacity: 0; transform: translateY(50px) scale(.96); } to { opacity: 1; transform: none; } }
.plan__img { position: relative; height: 190px; overflow: hidden; }
.plan__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.plan:hover .plan__img img { transform: scale(1.08); }
.plan__img--right img, .plan__img--left img { width: 175%; max-width: none; }
.plan__img--right img { margin-left: -75%; transform-origin: 75% 50%; object-position: 50% 70%; }
.plan__img--left img { object-position: 50% 40%; transform-origin: 25% 50%; }
.plan__badge {
  position: absolute; left: 14px; top: 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(252, 248, 240, .92); color: var(--green-deep);
  backdrop-filter: blur(6px);
}
.plan--feat .plan__badge { background: var(--sun); }
.plan__body { padding: 24px 26px 26px; }
.plan__type { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1; letter-spacing: -.02em; }
.plan__type span { font-style: italic; font-size: .6em; color: var(--terracotta); margin-left: 4px; }
.plan__cap { display: flex; align-items: center; gap: 2px; margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
.plan__cap .ico { width: 1.05em; height: 1.05em; color: var(--green); }
.plan__cap .ico:last-of-type { margin-right: 8px; }
.plan__price {
  display: flex; align-items: flex-start; gap: 2px;
  margin-top: 22px; padding-top: 20px; border-top: 1px dashed rgba(27, 38, 32, .18);
  font-family: var(--serif); font-weight: 350; font-size: 4rem; line-height: .9; letter-spacing: -.04em;
  color: var(--green-deep); font-variant-numeric: tabular-nums;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.plan__price sup { font-size: .42em; margin-top: .15em; }
.plan__price small { align-self: flex-end; font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); margin: 0 0 .4em 8px; }
.plan__alt { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
.plan__alt b { color: var(--terracotta); font-size: 1.05rem; }
.plan__cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding: 14px 18px; border-radius: 14px;
  background: var(--cream); font-weight: 700; font-size: .92rem;
  transition: background .35s, color .35s;
}
.plan__cta:hover { background: var(--green); color: var(--cream); }
.plan__cta .ico { transition: transform .4s var(--ease-out); }
.plan__cta:hover .ico { transform: translateX(4px); }
.pricing__note { text-align: center; margin-top: 22px; font-size: .88rem; color: rgba(246, 238, 223, .7); font-style: italic; }

.calc {
  margin: 70px auto 0; max-width: 1100px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(26px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: 30px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.calc__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 28px; }
.calc__row + .calc__row { margin-top: 26px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 238, 223, .65); margin-bottom: 12px; }
.calc__qty { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--sun); font-style: italic; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  padding: .7em 1.3em; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 700; transition: background .3s, color .3s, border-color .3s;
}
.seg button:hover { border-color: var(--sun); }
.seg button[aria-pressed="true"] { background: var(--sun); color: var(--green-deep); border-color: var(--sun); }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 36px; background: transparent; cursor: pointer;
  --p: 20%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sun) var(--p), rgba(255, 255, 255, .15) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sun) var(--p), rgba(255, 255, 255, .15) var(--p)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--paper); border: 5px solid var(--sun); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .3s var(--ease-out);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 5px solid var(--sun); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.calc__result {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(22px, 3vw, 34px); border-radius: 22px;
  background: var(--paper); color: var(--ink);
}
.calc__result .calc__label { color: var(--ink-soft); margin-bottom: 4px; }
.calc__total { font-family: var(--serif); font-weight: 350; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.calc__detail { margin: 8px 0 22px; color: var(--ink-soft); font-size: .92rem; }
.calc__fine { margin-top: 16px; font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Contact ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: 160px 0 clamp(60px, 10vh, 110px);
  color: #fff;
}
.contact__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.contact__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 32, 22, .95) 0%, rgba(14, 32, 22, .72) 40%, rgba(14, 32, 22, .35) 70%, rgba(14, 32, 22, .15) 100%);
}
.contact__title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(3rem, 8.4vw, 8rem); line-height: .92; letter-spacing: -.04em;
  margin: 20px 0 50px; max-width: 12ch;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.contact__title em { color: var(--sun); }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ccard {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .4s, color .4s, transform .6s var(--ease-out), opacity 1s var(--ease-out);
}
.ccard:hover { background: var(--sun); color: var(--green-deep); transform: translateY(-6px); }
.ccard .ico { width: 26px; height: 26px; margin-bottom: 18px; color: var(--sun); transition: color .4s; }
.ccard:hover .ico { color: var(--green-deep); }
.ccard__k { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.ccard__v { font-weight: 700; font-size: 1.02rem; word-break: break-word; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(246, 238, 223, .75); padding: 36px 0; font-size: .86rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.footer .brand { color: var(--cream); margin-right: 0; }
.footer .brand__mark { --petal-line: var(--green-deep); }
.footer a:hover { color: var(--sun); }

/* ---------- Bouton flottant ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun); color: var(--green-deep);
  box-shadow: 0 16px 36px -12px rgba(23, 52, 36, .6);
  transform: scale(0) rotate(-90deg);
  transition: transform .7s var(--ease-out);
}
.fab.show { transform: none; }
.fab .ico { width: 28px; height: 28px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: fabRing 2.6s var(--ease-out) infinite; }
@keyframes fabRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.fab__tip {
  position: absolute; right: 72px; white-space: nowrap;
  padding: 10px 14px; border-radius: 12px;
  background: var(--green-deep); color: var(--cream); font-size: .85rem; font-weight: 600;
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .3s, transform .5s var(--ease-out);
}
.fab:hover .fab__tip { opacity: 1; transform: none; }

/* ---------- Mode lite (appareils modestes) ---------- */
html.lite body::after { display: none; }
html.lite .hero__beams { display: none; }
html.lite .xcloud { display: none; }
html.lite .day__flare { display: none; }
html.lite .xpulse--2, html.lite .xpulse--3 { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .services__head, .well, .calc { grid-template-columns: 1fr; }
  .services__intro { padding-bottom: 0; }
  .hero__badge { top: auto; bottom: 42%; width: 104px; }
}

@media (max-width: 700px) {
  .hero { min-height: 600px; }
  .hero__title { font-size: clamp(4.2rem, 23vw, 7rem); }
  .hero__eyebrow { font-size: .64rem; letter-spacing: .16em; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__badge { display: none; }
  .hero__scroll { display: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc { min-height: 230px; padding: 20px 16px 22px; }
  .svc:last-child { grid-column: 1 / -1; min-height: 0; }
  .svc h3 { font-size: 1.14rem; margin-top: 26px; }
  .svc__icon { width: 48px; height: 48px; }
  .statement { padding: 60px 0 110px; }
  .floats { position: relative; display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; inset: auto; }
  .float { position: relative; inset: auto; width: 26vw; }
  .float--d { display: none; }
  .well__media { aspect-ratio: 4 / 3.4; }
  .well__media img { object-position: 70% 50%; }
  .hs { left: calc(var(--x) * 1.36 - 25.2%); }
  .hs__label { max-width: 190px; font-size: .78rem; }
  .toggle button { padding: .8em 1.2em; font-size: .9rem; }
  .pricing__controls { width: 100%; }
  .pricing__controls .toggle { width: 100%; }
  .pricing__controls .toggle button { flex: 1; padding: .8em .6em; font-size: .86rem; white-space: nowrap; }
  .toggle__tag { margin-left: 4px; padding: 1px 5px; font-size: .66rem; }
  .plan__price { font-size: 3.4rem; }
  .contact__grid { grid-template-columns: 1fr; }
  .ccard { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px 18px; }
  .ccard .ico { margin: 0; }
  .ccard__k { width: calc(100% - 50px); order: 2; }
  .ccard__v { width: 100%; padding-left: 40px; order: 3; margin-top: -4px; }
  .ccard .ico { order: 1; }
  .fab { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .loader { display: none; }
}
