/* =========================================================
   Baharia Bridge International · v2
   Pre-dawn sea, espresso night, cream paper, bronze light.
   ========================================================= */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic-latin.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --paper: #f2eadf;
  --paper-2: #ebe1d3;
  --paper-3: #ddd0bd;
  --sheet: #fbf7f1;
  --ink: #120e0a;
  --ink-2: #19130e;
  --ink-3: #231b14;
  --night: #0b0f14;
  --text: #18120c;
  --text-2: #3f352c;
  --text-3: #5a4d40;
  --bronze: #a98256;
  --bronze-deep: #7a5733;
  --bronze-light: #c9a477;
  --champagne: #e7c48e;
  --glow: #ffe2aa;
  --on-dark: #efe6da;
  --on-dark-2: #d8ccbc;
  --on-dark-3: #bfb19e;
  --rule: rgba(24, 18, 12, 0.14);
  --rule-dark: rgba(220, 195, 160, 0.16);
  --error: #a23a26;

  --f-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --f-sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-hero: clamp(2.45rem, 1.15rem + 4.4vw, 5.6rem);
  --t-statement: clamp(2.15rem, 0.95rem + 4.3vw, 5.6rem);
  --t-h2: clamp(2.1rem, 1.15rem + 3.2vw, 4.4rem);
  --t-lede: clamp(1.0625rem, 0.98rem + 0.42vw, 1.32rem);
  --t-body: 1.0625rem;
  --t-tag: clamp(1.3rem, 0.55rem + 2.2vw, 2.8rem);
  --t-keys: clamp(0.74rem, 0.42rem + 0.56vw, 0.98rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1360px;
  --section: clamp(5.5rem, 3.8rem + 7.5vw, 11rem);
  --nav-h: 92px;
  --radius: 24px;

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --e-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.32 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: light;
  accent-color: var(--bronze-deep);
  caret-color: var(--bronze-deep);
  scrollbar-color: #8a6a47 var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.62;
  font-kerning: normal;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(201, 164, 119, 0.4); color: var(--text); }
.ink ::selection, .hero ::selection { background: rgba(231, 196, 142, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 3px; border-radius: 6px; }
.ink :focus-visible, .hero :focus-visible, .menu :focus-visible { outline-color: var(--champagne); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #7a5c3d; border-radius: 99px; border: 3px solid var(--ink); }

[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.7rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none; transition: top 0.25s var(--e-out); }
.skip:focus { top: 1rem; }

.paper { background: var(--paper); color: var(--text); }
.paper--deep { background: var(--paper-2); }
.ink { position: relative; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.32; mix-blend-mode: soft-light; pointer-events: none; }

.note { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-3); }
.ink .note, .hero .note { color: var(--on-dark-3); }
.valeur__note, .globe__note, .why__fig .note { font-size: 0.8125rem; letter-spacing: 0.04em; }

/* type */
.h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.03; letter-spacing: -0.022em; text-wrap: balance; max-width: 14em; }
.lede { font-size: var(--t-lede); line-height: 1.6; color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.ink .lede { color: var(--on-dark-2); }
.prose p { color: var(--text-2); max-width: 36em; }
.prose p + p { margin-top: 1em; }

.head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: 1.6rem 4rem; align-items: end; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.85rem;
  min-height: 54px; padding: 0 1.55rem;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.35s var(--e-out), color 0.35s var(--e-out), box-shadow 0.35s var(--e-out), translate 0.5s var(--e-out);
  will-change: translate;
}
.btn__arrow { width: 22px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.45s var(--e-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--back { transform: translateX(-4px); }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: 0.92rem; gap: 0.7rem; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ink:hover { --bg: #2a2018; box-shadow: 0 10px 24px -12px rgba(18, 14, 10, 0.6); }
.btn--light { --bg: var(--paper); --fg: var(--text); }
.btn--light:hover { --bg: #fffaf2; box-shadow: 0 0 0 6px rgba(231, 196, 142, 0.16), 0 14px 30px -12px rgba(0, 0, 0, 0.55); }
.btn--line { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--text-3); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn--frame { --bg: transparent; --fg: var(--on-dark); border-radius: 2px; padding: 0 1.6rem; }
.btn__corners, .btn__corners::before, .btn__corners::after { position: absolute; pointer-events: none; }
.btn__corners { inset: 0; --c: rgba(239, 230, 218, 0.75); --l: 10px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px var(--l);
  background-repeat: no-repeat;
  transition: --l 0.5s var(--e-out);
}
.btn--frame::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(239, 230, 218, 0.16); transition: border-color 0.4s var(--e-out), background-color 0.4s var(--e-out); }
.btn--frame:hover::before { border-color: rgba(239, 230, 218, 0.5); background: rgba(239, 230, 218, 0.06); }
@property --l { syntax: "<length>"; inherits: true; initial-value: 10px; }
.btn--frame:hover .btn__corners { --l: 18px; }

/* ---------- navigation: split floating pills ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: translate 0.6s var(--e-out);
}
.pill {
  pointer-events: auto;
  display: flex; align-items: center;
  height: 66px;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.94);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(24, 18, 12, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 34px -18px rgba(10, 7, 4, 0.55);
  color: var(--text);
}
.nav__brand { justify-self: start; gap: 0; padding: 0 1.15rem 0 0.6rem; text-decoration: none; }
.nav__lockup, .nav__mark img, .menu__brand img, .ft__brand img { filter: contrast(1.2) saturate(1.1) brightness(0.92); }
.nav__lockup { height: 50px; width: auto; max-width: 200px; transition: max-width 0.6s var(--e-out), opacity 0.4s var(--e-out), margin 0.6s var(--e-out); }
.nav__mark { position: relative; display: grid; place-items: center; width: 0; height: 54px; overflow: visible; opacity: 0; transition: width 0.6s var(--e-out), opacity 0.4s var(--e-out); }
.nav__mark img { width: 40px; height: auto; }
.nav__ring { position: absolute; inset: 0; width: 54px; height: 54px; transform: rotate(-90deg); fill: none; }
.nav__ring-track { stroke: rgba(24, 18, 12, 0.1); stroke-width: 1.5; }
.nav__ring-fill { stroke: var(--bronze-deep); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.is-scrolled .nav__brand { padding: 0 6px; }
.is-scrolled .nav__lockup { max-width: 0; opacity: 0; }
.is-scrolled .nav__mark { width: 54px; opacity: 1; }

.nav__links { position: relative; padding: 0 6px; }
.nav__links ul { position: relative; z-index: 1; display: flex; }
.nav__links a { display: block; padding: 0.7rem 1rem; border-radius: 999px; font-size: 0.93rem; font-weight: 450; color: var(--text-2); text-decoration: none; transition: color 0.3s var(--e-out); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); }
.nav__ink { position: absolute; z-index: 0; top: 10px; bottom: 10px; left: 0; width: var(--iw, 0); translate: var(--ix, 0) 0; border-radius: 999px; background: rgba(24, 18, 12, 0.07); opacity: var(--io, 0); transition: translate 0.55s var(--e-out), width 0.55s var(--e-out), opacity 0.3s; }
.nav__act { justify-self: end; padding: 0 6px; gap: 6px; }
.nav__burger { display: none; align-items: center; gap: 0.7rem; height: 46px; padding: 0 1.1rem 0 0.9rem; border-radius: 999px; font-size: 0.94rem; font-weight: 500; }
.nav__burger-lines { display: grid; gap: 5px; width: 18px; }
.nav__burger-lines span { height: 1.5px; background: currentColor; border-radius: 2px; }
.nav__burger-lines span:last-child { width: 12px; }
.nav.is-hidden { translate: 0 -120%; }
.nav__act { transition: opacity 0.35s var(--e-out); }
.nav.dock-on .nav__act { opacity: 0; pointer-events: none; }

/* mobile thumb bar: menu + the one action, always within reach after the hero */
.dock { display: none; }
@media (max-width: 1023px) {
  .dock {
    position: fixed; z-index: 59; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 8px; padding: 6px;
    border-radius: 999px; background: rgba(245, 238, 228, 0.92);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(24, 18, 12, 0.1); box-shadow: 0 16px 36px -16px rgba(10, 7, 4, 0.6);
    translate: 0 calc(100% + 24px); opacity: 0; transition: translate 0.45s var(--e-out), opacity 0.3s var(--e-out);
  }
  .dock.is-on { translate: 0 0; opacity: 1; }
  .dock__deck { position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: var(--bronze-deep); transform-origin: left; scale: var(--progress, 0) 1; }
  .dock__menu { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(122, 87, 51, 0.35); color: var(--text); }
  .dock__cta { flex: 1; min-height: 48px; }
  .ft { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

/* menu dialog */
.menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--on-dark); overflow-y: auto; }
.menu::backdrop { background: rgba(8, 6, 4, 0.6); }
.menu[open] { animation: menu-in 0.5s var(--e-out); }
@keyframes menu-in { from { opacity: 0; } }
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__brand { display: inline-flex; align-items: center; height: 58px; padding: 0 1rem 0 0.55rem; border-radius: 999px; background: var(--paper); }
.menu__brand img { height: 44px; width: auto; }
.menu__close { display: inline-flex; align-items: center; gap: 0.6rem; height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--rule-dark); font-weight: 500; }
.menu__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu__list { margin-top: auto; padding-top: 2.5rem; }
.menu__list a { display: block; padding: 0.35rem 0; font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.12; text-decoration: none; }
.menu__span { width: 100%; height: 56px; margin: 2rem 0 1.6rem; fill: none; stroke: var(--bronze-light); stroke-width: 1.3; stroke-linecap: round; }
.menu__foot { display: grid; gap: 1.2rem; }
.menu__foot .btn { justify-self: start; }
.menu__foot p { color: var(--on-dark-2); font-size: 1.0625rem; line-height: 1.55; max-width: 30em; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 620px);
  display: grid; grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--on-dark);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; container-type: size; transform-origin: 50% 0; background: var(--night); }
.hero__frame {
  --ar: 1.7917;
  --w: max(136cqw, calc(100cqh * 1.7917));
  position: absolute;
  width: var(--w);
  height: calc(var(--w) / var(--ar));
  left: calc(66cqw - var(--w) * 0.53);
  top: calc((100cqh - var(--w) / var(--ar)) * 0.42);
}
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* living sea: Veo loop, locked camera, framed exactly like the still (16:9 crop of the 2752x1536 frame) */
.hero__vid { position: absolute; top: 0; height: 100%; left: 0.3634%; width: 99.237%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero.has-video .hero__vid { opacity: 1; }
.hero.has-video .hero__img--dawn img { opacity: 0; transition: opacity .8s; }
.hero.has-video .hero__img--dawn { background: radial-gradient(58% 46% at 76% 46%, rgba(255, 205, 150, 0.5), rgba(255, 178, 120, 0.22) 46%, transparent 76%); mix-blend-mode: screen; }
.hero__img img { object-fit: cover; }
.hero__img--dawn {
  --dawn: 0.62;
  -webkit-mask-image: radial-gradient(calc((var(--dawn) + var(--dawn-add, 0)) * 118%) calc((var(--dawn) + var(--dawn-add, 0)) * 82%) at 76% 45%, #000 0%, rgba(0, 0, 0, 0.92) 34%, rgba(0, 0, 0, 0.45) 66%, transparent 100%);
  mask-image: radial-gradient(calc((var(--dawn) + var(--dawn-add, 0)) * 118%) calc((var(--dawn) + var(--dawn-add, 0)) * 82%) at 76% 45%, #000 0%, rgba(0, 0, 0, 0.92) 34%, rgba(0, 0, 0, 0.45) 66%, transparent 100%);
}
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.6) 0%, rgba(6, 9, 13, 0.34) 32%, rgba(6, 9, 13, 0) 56%),
    linear-gradient(180deg, rgba(6, 9, 13, 0.42) 0%, rgba(6, 9, 13, 0) 20%, rgba(6, 9, 13, 0) 70%, rgba(6, 9, 13, 0.6) 100%);
}

/* the bridge of light */
.br { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.br--port { display: none; }
.br__lines { filter: drop-shadow(0 0 3px rgba(255, 232, 196, 0.95)) drop-shadow(0 0 12px rgba(255, 206, 140, 0.75)) drop-shadow(0 0 34px rgba(255, 180, 100, 0.45)); }
.br__lines path { fill: none; stroke-linecap: round; opacity: 1; }
.br__deck { stroke: #fbecd0; stroke-width: 7.2; opacity: 1; }
.br__pylon { stroke: #f8e6c6; stroke-width: 8; opacity: 1; }
.br__stay { stroke: #f6e1bc; stroke-width: 3.4; opacity: 1; }
.br__pulse { fill: none; stroke: #fffaf0; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 5 400; stroke-dashoffset: 5; opacity: 0; filter: drop-shadow(0 0 6px #ffd690) drop-shadow(0 0 16px rgba(255, 200, 120, 0.8)); }
.br__pulse--deck { stroke-width: 13; }
.br__head { fill: #fffaf0; opacity: 0; filter: drop-shadow(0 0 10px #ffd690) drop-shadow(0 0 26px rgba(255, 196, 110, 0.9)); }
.br__dot { fill: #f8ead0; stroke: rgba(8, 10, 14, 0.5); stroke-width: 2; }
.br__ring { fill: none; stroke: #f8ead0; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 3.4s var(--e-out) infinite; }
.br__pt--b .br__ring { animation-delay: 1.7s; }
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.95; } 100% { transform: scale(3.1); opacity: 0; } }
.br__label { font-family: var(--f-sans); font-size: 25px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; fill: #f8eedc; paint-order: stroke; stroke: rgba(6, 9, 13, 0.45); stroke-width: 4px; stroke-linejoin: round; }

.js .br__lines path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .br__pt { opacity: 0; }

.hero__inner { width: auto; margin: 0; padding: calc(var(--nav-h) + 2vh) var(--gutter) 11vh; align-self: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--t-hero); line-height: 0.99; letter-spacing: -0.022em;
  max-width: 10.4em; text-wrap: balance;
  color: #f7f0e6;
  text-shadow: 0 2px 40px rgba(4, 7, 11, 0.45);
}
.hero__title .w { display: inline-block; animation: word-in 0.8s var(--e-out) backwards; animation-delay: calc(0.04s + var(--i) * 38ms); }
.hero__tag { animation: rise-in 0.8s var(--e-out) 0.24s backwards; }
.hero__keys { animation: rise-in 0.8s var(--e-out) 0.3s backwards; }
.hero__slogan { animation: rise-in 0.8s var(--e-out) 0.36s backwards; }
.hero__actions { animation: rise-in 0.8s var(--e-out) 0.42s backwards; }
.hero__base { animation: fade-in 0.7s var(--e-out) 0.5s backwards; }
@keyframes word-in { from { opacity: 0; transform: translateY(0.32em); filter: blur(8px); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade-in { from { opacity: 0; } }
.hero__tag { margin-top: clamp(1rem, 2.4vh, 1.6rem); font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: var(--t-tag); line-height: 1.12; letter-spacing: -0.005em; color: var(--champagne); text-shadow: 0 2px 30px rgba(4, 7, 11, 0.5); }
.hero__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0; margin-top: clamp(0.9rem, 2vh, 1.3rem); font-family: var(--f-sans); font-weight: 500; font-size: var(--t-keys); line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__keys li { display: inline-flex; align-items: center; }
.hero__keys li + li::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 0.75em 0 0.55em; border-radius: 50%; background: var(--bronze-light); box-shadow: 0 0 8px rgba(231, 196, 142, 0.7); }
.hero__slogan { margin-top: clamp(1.2rem, 2.8vh, 1.9rem); max-width: 15.5em; font-size: 1.15rem; line-height: 1.5; color: var(--on-dark); text-wrap: balance; text-shadow: 0 1px 18px rgba(4, 7, 11, 0.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: clamp(1.4rem, 3vh, 2.2rem); }

.hero__base {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(239, 230, 218, 0.14);
  background: linear-gradient(180deg, rgba(6, 9, 13, 0), rgba(6, 9, 13, 0.35));
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem; flex: none; }
@media (min-width: 700px) {
  .hero__base { position: static; }
  .hero__meta .note { position: absolute; right: var(--gutter); bottom: 4.4rem; }
  .hero__meta .clock { position: absolute; top: calc(var(--nav-h) + 0.9rem); right: var(--gutter); padding: 0.5rem 0.85rem; border-radius: 999px; background: rgba(8, 10, 14, 0.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #efe6da; }
}

.motion-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; padding: 0 0.75rem; border-radius: 999px; border: 1px solid rgba(239, 230, 218, 0.22); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--on-dark-2); transition: border-color 0.3s, color 0.3s; }
.motion-toggle:hover { border-color: rgba(239, 230, 218, 0.6); color: var(--on-dark); }
.motion-toggle svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle .mt-play { display: none; fill: currentColor; stroke: none; }
.motion-toggle[aria-pressed="true"] .mt-pause { display: none; }
.motion-toggle[aria-pressed="true"] .mt-play { display: block; }
.motion-toggle--ft { border-color: var(--rule); color: var(--text-2); }
.motion-toggle--ft:hover { border-color: var(--text-3); color: var(--text); }
.no-js .motion-toggle { display: none; }
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
.clock { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.clock__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); }
.clock__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--champagne); animation: ring 2.6s var(--e-out) infinite; }

/* ---------- deux directions ---------- */
.world { padding-block: var(--section); overflow: clip; background: radial-gradient(90% 75% at 74% 50%, #34281d 0%, #231a13 46%, #19130e 100%); }
.world__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.world__en { margin-top: 1rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 2rem); line-height: 1.2; color: var(--champagne); }
.dir { margin-top: 2.2rem; }
.dir__tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 240, 215, 0.06); border: 1px solid rgba(231, 196, 142, 0.24); }
.dir__tab { position: relative; z-index: 1; min-height: 46px; padding: 0 1.35rem; border-radius: 999px; font-size: 1rem; font-weight: 500; color: var(--on-dark-2); transition: color 0.4s var(--e-out); }
.dir__tab:hover { color: var(--on-dark); }
.dir__tab[aria-selected="true"] { color: var(--text); }
.dir__thumb { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--tw, 50%); translate: var(--tx, 5px) 0; border-radius: 999px; background: var(--paper); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6), 0 0 22px -4px rgba(231, 196, 142, 0.45); transition: translate 0.55s var(--e-out), width 0.55s var(--e-out); }
.no-js .dir__thumb { display: none; }
.no-js .dir__tab[aria-selected="true"] { background: var(--paper); }
.dir__panel { margin-top: 1.5rem; max-width: 34rem; border-radius: 12px; }
.no-js .dir__panel[hidden] { display: block !important; }
.kw { display: flex; flex-wrap: wrap; gap: 10px; }
.kw li { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 48px; padding: 0 1.25rem 0 1.05rem; border-radius: 999px; border: 1px solid rgba(231, 196, 142, 0.32); background: rgba(255, 238, 210, 0.05); font-size: 1.04rem; font-weight: 450; color: var(--on-dark); }
.kw li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 10px rgba(255, 214, 150, 0.85); }
.globe { position: relative; }
.globe__stage { position: relative; width: 100%; max-width: 660px; aspect-ratio: 1; margin-inline: auto; cursor: grab; touch-action: pan-y; }
.globe__stage:active { cursor: grabbing; }
.globe__canvas { position: relative; z-index: 1; width: 100%; height: 100%; }
.globe__halo { position: absolute; inset: -6%; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 150, 0.26), rgba(231, 180, 110, 0.12) 52%, rgba(201, 164, 119, 0.04) 74%, transparent 100%); pointer-events: none; }
.globe__note { margin-top: 0.8rem; text-align: center; }
.no-js .globe__stage { background: url("../img/globe-static.webp") center / contain no-repeat; cursor: default; }
.no-js .clock { display: none; }

/* ---------- notre valeur ---------- */
.valeur { position: relative; overflow: clip; padding-block: clamp(6rem, 4rem + 9vw, 12rem); background: var(--night); }
.valeur__film { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0d0b09; }
.valeur__film picture, .valeur__film img, .valeur__film video { position: absolute; inset: 0; width: 100%; height: 100%; }
.valeur__film img, .valeur__film video { object-fit: cover; object-position: 50% 32%; scale: 1.22; }
.valeur__film::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.8) 46%, rgba(10, 8, 6, 0.58) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.85) 0%, rgba(10, 8, 6, 0) 22%, rgba(10, 8, 6, 0) 70%, rgba(10, 8, 6, 0.9) 100%); }
.valeur__in { position: relative; z-index: 1; }
.valeur__title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.5rem); line-height: 1.1; color: var(--champagne); }
.valeur__list { margin-top: clamp(2.2rem, 5vw, 4.5rem); display: grid; gap: clamp(2.4rem, 1.5rem + 4vw, 5.5rem); counter-reset: v; }
.valeur__row { display: grid; justify-items: start; }
.valeur__word {
  --lit: 120%;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.3rem, 1.1rem + 9.4vw, 11rem); line-height: 0.92; letter-spacing: -0.035em;
  padding-bottom: 0.08em;
  color: transparent;
  background-image: linear-gradient(100deg, #fff6e6 0%, var(--champagne) calc(var(--lit) - 14%), rgba(239, 230, 218, 0.2) var(--lit));
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(255, 200, 130, calc(var(--glow, 0.18))));
}
.valeur__line { display: flex; align-items: center; gap: 0.9rem; margin-top: clamp(0.6rem, 1.4vw, 1.1rem); font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3rem); font-weight: 450; line-height: 1.5; color: var(--on-dark); text-shadow: 0 1px 14px rgba(8, 6, 4, 0.7); }
.valeur__line::before { content: ""; flex: none; width: clamp(28px, 4vw, 56px); height: 1px; background: var(--bronze-light); }
.valeur__note { position: absolute; right: var(--gutter); bottom: 1.2rem; z-index: 1; }
@media (min-width: 900px) {
  .valeur__row:nth-child(2) { margin-left: 9vw; }
  .valeur__row:nth-child(3) { margin-left: 18vw; }
}

/* ---------- what we do ---------- */
.svc { padding-block: var(--section); }
.svc__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.8rem 3rem; }
.svc__sub { font-size: var(--t-lede); color: var(--text-2); }
.svc__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-card {
  --mx: -400px; --my: -400px;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: clamp(300px, 26vw, 380px); padding: 1.7rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.75), rgba(255, 250, 242, 0.4));
  border: 1px solid rgba(122, 87, 51, 0.16);
  box-shadow: 0 30px 50px -40px rgba(60, 40, 20, 0.45);
  transition: translate 0.6s var(--e-out), box-shadow 0.6s var(--e-out);
}
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(201, 150, 90, 0.16), transparent 42%); opacity: 0; transition: opacity 0.5s var(--e-out); }
.svc-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(150, 105, 55, 0.85), transparent 46%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.5s var(--e-out);
}
.svc__grid:hover .svc-card::before, .svc__grid:hover .svc-card::after { opacity: 1; }
.svc-card:hover { translate: 0 -4px; box-shadow: 0 40px 60px -40px rgba(60, 40, 20, 0.6); }
.svc-card .glyph { width: 104px; height: 104px; overflow: visible; }
.glyph .g-line { fill: none; stroke: var(--bronze-deep); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.glyph .g-faint { fill: none; stroke: rgba(122, 87, 51, 0.35); stroke-width: 2; stroke-dasharray: 4 7; }
.glyph .g-dot { fill: var(--sheet); stroke: var(--bronze-deep); stroke-width: 3; }
.glyph .g-fill { fill: var(--bronze); }
.glyph .g-ring { fill: none; stroke: rgba(169, 130, 86, 0.65); stroke-width: 2; }
.glyph .g-run { fill: none; stroke: #fff3da; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 6 300; stroke-dashoffset: 6; opacity: 0; filter: drop-shadow(0 0 3px #c78a3e) drop-shadow(0 0 8px rgba(199, 138, 62, 0.9)); }
.svc-card:hover .g-run { animation: run 1.8s var(--e-inout) both; }
.svc-card:hover .g-run--late { animation-delay: 0.6s; }
@keyframes run { 0% { stroke-dashoffset: 6; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
.svc-card__name { margin-top: auto; padding-top: 2rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1vw, 2.35rem); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.svc-card__line { margin-top: 0.8rem; color: var(--text-2); font-size: 1rem; line-height: 1.5; max-width: 22em; }
.svc__more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.no-js .svc__more { display: none; }

/* services drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--sheet); color: var(--text); overflow: hidden; box-shadow: -40px 0 90px -40px rgba(0, 0, 0, 0.6); }
.drawer::backdrop { background: rgba(10, 8, 6, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer[open] { animation: drawer-in 0.55s var(--e-out); }
.drawer[open]::backdrop { animation: fade-in 0.4s var(--e-out); }
.drawer.is-closing { animation: drawer-out 0.32s var(--e-inout) forwards; }
.drawer.is-closing::backdrop { animation: fade-out 0.32s var(--e-inout) forwards; }
@keyframes drawer-in { from { translate: 100% 0; } }
@keyframes drawer-out { to { translate: 100% 0; } }
@keyframes fade-out { to { opacity: 0; } }
.drawer__in { height: 100%; display: flex; flex-direction: column; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.2rem, 4vw, 2.4rem) 1.2rem; border-bottom: 1px solid var(--rule); }
.drawer__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.drawer__close { border-color: var(--rule); color: var(--text); }
.drawer__close:hover { border-color: var(--text-3); }
.drawer__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.4rem clamp(1.2rem, 4vw, 2.4rem) 1rem; }
.drawer__item { padding: 1.5rem 0; }
.drawer__item + .drawer__item { border-top: 1px solid var(--rule); }
.drawer__item h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.drawer__from { margin-top: 0.45rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); }
.drawer__item ul { margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.drawer__item li { position: relative; padding-left: 1.3rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.55; }
.drawer__item li::before { content: ""; position: absolute; left: 0; top: 0.74em; width: 0.65rem; height: 1px; background: var(--bronze); }
.drawer__foot { padding: 1.1rem clamp(1.2rem, 4vw, 2.4rem) calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--paper); }
.drawer__foot .btn { width: 100%; }
html.has-drawer { overflow: hidden; }

/* ---------- pourquoi baharia ---------- */
.why { padding-block: var(--section); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem); }
.why__item { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 0.4rem; padding: clamp(1.3rem, 2.4vw, 2rem) 0; transition: translate 0.6s var(--e-out); }
.why__item:last-child { border-bottom: 1px solid var(--rule); }
.why__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.why__rule::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bronze-deep), var(--bronze-light)); transform-origin: left; scale: var(--wr, 1) 1; transition: scale 0.8s var(--e-out); }
.why__n { grid-row: 1 / span 2; padding-top: 0.75em; font-family: var(--f-mono); font-size: 0.875rem; letter-spacing: 0.04em; color: var(--bronze-deep); font-variant-numeric: tabular-nums; }
.why__k { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 1.3rem + 3.3vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; transition: color 0.4s var(--e-out), translate 0.6s var(--e-out); }
.why__t { margin-top: 0.55rem; color: var(--text-2); font-size: clamp(1.0625rem, 0.98rem + 0.32vw, 1.25rem); line-height: 1.55; transition: color 0.4s var(--e-out); }
.why__item:hover .why__k { color: var(--bronze-deep); translate: 0.35rem 0; }
.why__item:hover .why__t { color: var(--text); }
.why__fig { position: sticky; top: calc(var(--nav-h) + 2rem); }
.why__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--paper-3); box-shadow: 0 40px 70px -45px rgba(40, 26, 12, 0.6); }
.pourquoi__film, .pourquoi__film picture, .pourquoi__film img, .pourquoi__film video { position: absolute; inset: 0; width: 100%; height: 100%; }
.pourquoi__film img, .pourquoi__film video { object-fit: cover; scale: 1.08; }
.why__light { position: absolute; inset: -10% -40%; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 230, 190, 0.55) 47%, rgba(255, 244, 222, 0.75) 50%, rgba(255, 230, 190, 0.55) 53%, transparent 62%);
  translate: -40% 0; animation: sweep 12s var(--e-inout) infinite alternate; animation-play-state: paused; }
.why__frame.is-live .why__light { animation-play-state: running; }
@keyframes sweep { to { translate: 40% 0; } }
.why__fig .note { margin-top: 0.7rem; }

/* ---------- la fondatrice ---------- */
.founder { padding-block: var(--section); }
.founder__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.founder__fig { position: relative; max-width: 460px; }
.founder__frame {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background:
    radial-gradient(70% 52% at 50% 44%, #fffaf1 0%, #f6e8d0 34%, rgba(236, 214, 178, 0) 72%),
    linear-gradient(165deg, #efdcbc 0%, #dcbf92 52%, #b89062 100%);
  box-shadow: inset 0 0 0 1px rgba(122, 87, 51, 0.22), 0 40px 70px -45px rgba(60, 40, 20, 0.65);
}
.founder__corners { inset: 16px; --c: rgba(122, 87, 51, 0.55); --l: 22px; }
.founder__mark { width: 44%; height: auto; filter: contrast(1.2) saturate(1.1) brightness(0.92) drop-shadow(0 10px 22px rgba(90, 60, 25, 0.25)); }
.founder__soon { position: absolute; left: 50%; bottom: 1.6rem; translate: -50% 0; white-space: nowrap; padding: 0.45rem 0.95rem; border-radius: 999px; background: rgba(255, 250, 242, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-deep); }
.founder__quote { margin: clamp(1.6rem, 3vw, 2.4rem) 0 0; padding: 0 0 0 clamp(1.1rem, 2vw, 1.8rem); border-left: 2px solid var(--bronze); }
.founder__quote p { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.9rem); line-height: 1.18; letter-spacing: -0.012em; color: var(--text); max-width: 19em; text-wrap: balance; }
.founder__later { margin-top: 1.6rem; color: var(--text-3); font-size: 1.0625rem; }
.founder__frame--photo { padding: 0; background: var(--paper-3); }
.founder__frame--photo picture, .founder__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.founder__photo { object-fit: cover; object-position: 50% 30%; }
.founder__frame--photo .founder__corners { --c: rgba(255, 246, 230, 0.7); z-index: 1; }
.founder__name { margin-top: 1.4rem; font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; color: var(--text); }
.founder__role { margin-top: 0.35rem; font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9rem); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-deep); }

/* ---------- contact ---------- */
.contact { padding-block: var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 1.3rem + 3.9vw, 5.2rem); line-height: 1; letter-spacing: -0.024em; text-wrap: balance; max-width: 10em; }
.contact__text .lede { margin-top: 1.5rem; max-width: 24em; }
.contact__span { width: min(100%, 360px); height: 54px; margin-top: 2.6rem; overflow: visible; fill: none; stroke: var(--bronze-light); stroke-linecap: round; }
.contact__span .cs-deck { stroke-width: 2.2; }
.contact__span .cs-pylon { stroke-width: 2.4; }
.contact__span .cs-stay { stroke-width: 1.1; stroke: rgba(231, 196, 142, 0.7); }
.contact__span circle { fill: var(--champagne); stroke: none; }
.direct { margin-top: 2rem; display: grid; gap: 0.4rem; }
.direct a { color: var(--on-dark); font-size: 1.05rem; }
.contact__clock { margin-top: 2rem; }
.contact__clock .clock { font-size: 0.8125rem; }
.sheet { position: sticky; top: calc(var(--nav-h) + 1.5rem); border-radius: 30px; padding: clamp(1.4rem, 3vw, 2.6rem); background: var(--paper); color: var(--text); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 240, 215, 0.06); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.sheet:focus { outline: none; }
.form { position: relative; }
.form__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); line-height: 1.1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form__actions { display: flex; justify-content: flex-end; margin-top: 1.6rem; }
.field { margin: 1.2rem 0 0; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 0.55rem; padding: 0; font-size: 0.98rem; font-weight: 500; letter-spacing: 0.005em; color: var(--text); }
.req { margin-left: 0.18rem; color: var(--bronze-deep); }
.opt-tag { margin-left: 0.55rem; font-weight: 400; font-size: 0.875rem; color: var(--text-3); }
.field__help { margin: -0.15rem 0 0.6rem; font-size: 0.94rem; line-height: 1.5; color: var(--text-2); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 54px; padding: 0 1rem;
  border-radius: 14px; border: 1px solid var(--text-3);
  background: var(--sheet); font-size: 1rem; color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.field textarea { min-height: 160px; padding: 0.85rem 1rem; line-height: 1.55; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6153; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--text-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--bronze-deep); background: #fffdf9; box-shadow: 0 0 0 4px rgba(169, 130, 86, 0.22); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px rgba(162, 58, 38, 0.18); border-color: var(--error); }
.field__meter { margin-top: 0.4rem; text-align: right; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.field__meter.is-ok { color: var(--bronze-deep); }
.no-js .field__meter { display: none; }
.field__err { margin-top: 0.45rem; font-size: 0.94rem; font-weight: 500; color: var(--error); }
.field__err:empty { display: none; }

.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip input:focus-visible + span { outline: 2px solid var(--bronze-deep); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--text-3); background: var(--sheet); font-size: 0.97rem; line-height: 1.25; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover span { border-color: var(--text); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
[data-group][aria-invalid="true"] .chip span { border-color: var(--error); }

.form__notice { margin-top: 1.3rem; padding: 0.85rem 1rem; border-radius: 14px; background: #f0e0c6; border: 1px solid rgba(122, 87, 51, 0.3); color: #4f3519; font-size: 0.95rem; line-height: 1.5; }
.form__legal { margin-top: 1.2rem; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
.bbi-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit[aria-disabled="true"] { cursor: progress; }
.submit.is-loading .btn__arrow { animation: nudge 0.9s var(--e-inout) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.status { display: flex; gap: 1rem; margin-top: 1.4rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--sheet); border: 1px solid rgba(24, 18, 12, 0.2); }
.status:focus { outline: none; }
.status[data-state="ok"] { border-color: var(--bronze-deep); background: #f6ead8; }
.status[data-state="err"], .status[data-state="off"] { border-color: rgba(162, 58, 38, 0.45); }
.status__icon { flex: none; width: 64px; height: 24px; margin-top: 0.2rem; overflow: visible; }
.status__icon path { fill: none; stroke: var(--bronze-deep); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.status[data-state="ok"] .status__icon path { animation: draw 1.2s var(--e-inout) forwards; }
.status[data-state="err"] .status__icon path, .status[data-state="off"] .status__icon path { stroke: var(--error); stroke-dashoffset: 0.5; }
.status__icon circle { fill: var(--bronze-deep); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.status__title { font-weight: 600; }
.status__text { margin-top: 0.25rem; color: var(--text-2); font-size: 1rem; }
.status__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.status__actions:empty { display: none; }
.status__actions .btn { min-height: 44px; font-size: 0.9rem; }

/* ---------- footer ---------- */
.ft { padding: clamp(5rem, 9vw, 9rem) 0 calc(2rem + env(safe-area-inset-bottom)); }
.ft__line { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 0.9rem + 5.6vw, 6rem); line-height: 1.02; letter-spacing: -0.026em; max-width: 13.5em; text-wrap: balance; }
.ft__span { width: 100%; height: clamp(26px, 3vw, 40px); margin: clamp(2rem, 4vw, 3.2rem) 0 clamp(3rem, 6vw, 4.5rem); overflow: visible; }
.ft__deck { fill: none; stroke: var(--bronze-deep); stroke-width: 1.4; stroke-linecap: round; }
.ft__pulse { fill: none; stroke: #b07a3c; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 300; stroke-dashoffset: 3; opacity: 0; filter: drop-shadow(0 0 4px rgba(199, 138, 62, 0.85)); }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 2.5rem; }
.ft__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 0.4rem 3rem; }
.ft__col .ft__nav li + li { margin-top: 0; }
.ft__brand img { width: 176px; height: auto; }
.ft__brand p { margin-top: 1rem; max-width: 22em; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--bronze-deep); }
.ft__col h2 { margin-bottom: 0.9rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.ft__col li + li { margin-top: 0.35rem; }
.ft__col a { font-size: 0.98rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--e-out); }
.ft__col a:hover { background-size: 100% 1px; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.3rem; border-top: 1px solid var(--rule); font-size: 0.86rem; color: var(--text-2); }
.ft__bottom a { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 0.7rem 0.7rem; font-size: 0.9rem; }
  .nav__act .btn--sm { padding: 0 1rem; }
  .nav__lockup { height: 44px; max-width: 176px; }
}

@media (max-width: 1439px) {
  .hero__keys { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .hero__keys li::before, .hero__keys li + li::before { content: ""; flex: none; width: 5px; height: 5px; margin: 0 0.85em 0 0; border-radius: 50%; background: var(--bronze-light); box-shadow: 0 0 8px rgba(231, 196, 142, 0.7); }
}

@media (max-width: 1099px) {
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card { min-height: 280px; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 78px; }
  .hero__base { justify-content: flex-start; }
  .nav { grid-template-columns: 1fr auto; inset-block-start: 10px; }
  .nav__links, .nav__act .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .pill { height: 58px; }
  .nav__lockup { height: 42px; max-width: 160px; }
  .nav__brand { padding: 0 1rem 0 0.5rem; }

  .world__grid { grid-template-columns: 1fr; }
  .globe__stage { max-width: 540px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__fig { position: relative; top: auto; max-width: 640px; }
  .founder__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__span { display: none; }
  .sheet { position: relative; top: auto; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  .hero__actions .btn { width: 100%; }
  .hero__slogan { margin-top: 1rem; font-size: 1.06rem; line-height: 1.45; }
  .hero__tag { margin-top: 0.85rem; }
  .hero__keys { margin-top: 0.75rem; gap: 0.2rem; }
  .hero__actions { margin-top: 1.15rem; }
  .hero__actions .btn { min-height: 52px; }
  .hero__meta { gap: 0.5rem 1rem; }
  .svc__grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 64px; column-gap: 1rem; padding: 1.4rem 1.3rem 1.5rem; }
  .svc-card .glyph { grid-column: 2; grid-row: 1 / span 2; width: 64px; height: 64px; }
  .svc-card__name { grid-column: 1; grid-row: 1; margin-top: 0; padding-top: 0; font-size: 1.75rem; }
  .svc-card__line { grid-column: 1; grid-row: 2; margin-top: 0.55rem; font-size: 0.98rem; }
  .svc__more .btn { width: 100%; }
  .kw li { min-height: 44px; padding: 0 1rem 0 0.9rem; font-size: 1rem; }
  .dir__tabs { display: flex; width: 100%; }
  .dir__tab { flex: 1; padding: 0 0.6rem; font-size: 0.97rem; }
  .why__item { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__fig { width: min(78%, 340px); }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .ft__nav { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .ft__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* portrait screens: vertical photograph, its own bridge */
@media (max-aspect-ratio: 4/5) {
  .hero { min-height: max(100svh, 600px); }
  .hero__frame {
    --ar: 0.5625;
    --w: max(100cqw, calc(100cqh * 0.5));
    left: calc((100cqw - var(--w)) * 0.5);
    top: calc(100cqh - var(--w) / var(--ar) * 0.915);
  }
  .hero__img--pre img, .hero__vid { filter: brightness(0.4) saturate(0.7) contrast(1.12) hue-rotate(-6deg); }
  .hero__vid { left: 0; width: 100%; }
  .hero__img--pre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b0f14 0%, rgba(20, 32, 46, 0.55) 30%, rgba(30, 40, 52, 0.25) 60%, rgba(8, 10, 14, 0.4)); mix-blend-mode: multiply; }
  .hero__img--dawn {
    -webkit-mask-image: radial-gradient(calc((var(--dawn) + var(--dawn-add, 0)) * 150%) calc((var(--dawn) + var(--dawn-add, 0)) * 46%) at 72% 46%, #000 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.4) 64%, transparent 100%);
    mask-image: radial-gradient(calc((var(--dawn) + var(--dawn-add, 0)) * 150%) calc((var(--dawn) + var(--dawn-add, 0)) * 46%) at 72% 46%, #000 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.4) 64%, transparent 100%);
  }
  .hero__frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 22%; z-index: 1; background: linear-gradient(#0b0f14, rgba(11, 15, 20, 0)); }
  .br--land { display: none; }
  .br--port { display: block; }
  .br--port .br__deck { stroke-width: 12; }
  .br--port .br__pylon { stroke-width: 13; }
  .br--port .br__stay { stroke-width: 5.6; }
  .br--port .br__pulse { stroke-width: 16; }
  .br--port .br__pulse--deck { stroke-width: 19; }
  .br--port .br__label { font-size: 34px; stroke-width: 8px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(6, 9, 13, 0.6) 0%, rgba(6, 9, 13, 0.38) 45%, rgba(6, 9, 13, 0) 66%, rgba(6, 9, 13, 0.55) 100%); }
  .hero__inner { align-self: start; padding-top: calc(var(--nav-h) + 0.9rem); padding-bottom: 5vh; }
}

@media (max-aspect-ratio: 4/5) and (max-width: 599px) {
  .hero { min-height: max(100svh, 820px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .br__lines path { stroke-dashoffset: 0; }
  .js .br__pt { opacity: 1; }
  .br__ring, .clock__dot::after { display: none; }
  .hero__title .w, .hero__tag, .hero__keys, .hero__slogan, .hero__actions, .hero__base { animation: none; }
  .why__light { display: none; }
  .valeur__word { --lit: 120%; }
}

/* ---------- print ---------- */
@media print {
  .nav, .dock, .menu, .drawer, .hero__media, .hero__base, .globe, .valeur__film, .why__fig, .founder__fig, .contact__span, .ft__span, .svc-card .glyph { display: none !important; }
  .hero, .ink, .valeur { background: none !important; color: #000 !important; }
  .hero { min-height: 0; }
  .valeur__word { color: #000 !important; background: none !important; }
}

/* scroll-scrubbed film behind « Notre valeur » */
.valeur__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pourquoi__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
