/* =========================================================
   Le Village des Tortues — TORTUPÔLE FRANCE · Carnoules
   Design system & styles
   ========================================================= */

:root {
  /* Palette tirée du logo : soleil ocre, carapace brune, mer bleue, garrigue verte */
  --cream: #f6f0e4;
  --cream-2: #ede4d1;
  --sand: #e2d4b7;
  --paper: #fbf8f1;
  --ink: #1c231d;
  --ink-soft: #4a5249;
  --forest: #173a2e;
  --forest-2: #0e261d;
  --moss: #6b8a3e;
  --ochre: #e6a316;
  --ochre-2: #f3bf47;
  --terracotta: #c4612c;
  --brown: #4d2f27;
  --sea: #1c5f97;
  --line: rgba(28, 35, 29, .12);
  --line-light: rgba(246, 240, 228, .18);

  --ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 12px;
  --radius: 22px;
  --radius-l: 36px;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --shadow-s: 0 2px 6px rgba(23, 58, 46, .06), 0 8px 24px rgba(23, 58, 46, .06);
  --shadow: 0 10px 30px rgba(23, 58, 46, .10), 0 30px 80px rgba(23, 58, 46, .10);

  --scute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23173a2e' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
  --scute-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23f6f0e4' stroke-opacity='.07' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4 { margin: 0; font-family: var(--ff-display); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; font-variation-settings: "SOFT" 60, "WONK" 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
::selection { background: var(--ochre); color: var(--forest-2); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: .7em 1.2em; background: var(--forest); color: var(--cream); border-radius: 99px; transform: translateY(-200%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 920px; }
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--dark { background: var(--forest); color: var(--cream); }
.section--dark .eyebrow { color: var(--ochre-2); }
.section--sand { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.pattern { background-image: var(--scute); }
.section--dark.pattern { background-image: var(--scute-light); }

.grid-2 { display: grid; gap: clamp(32px, 6vw, 96px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide-left { grid-template-columns: 1.15fr .85fr; } .grid-2--wide-right { grid-template-columns: .85fr 1.15fr; } }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--ff-body); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.display { font-size: clamp(2.7rem, 7.2vw, 7.4rem); line-height: .95; letter-spacing: -.035em; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 5.2rem); line-height: 1; letter-spacing: -.03em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.9rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.12; }
.h4 { font-size: 1.25rem; line-height: 1.2; }
.italic, em.accent { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--terracotta); }
.section--dark em.accent, .hero em.accent { color: var(--ochre-2); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.55; color: var(--ink-soft); }
div.lead { margin-bottom: 1.2rem; }
.section--dark .lead { color: rgba(246, 240, 228, .78); }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.prose p { margin-bottom: 1.15em; }
.prose h3 { margin: 2em 0 .7em; }
.prose strong { color: var(--forest); }
.section--dark .prose strong { color: var(--ochre-2); }
.dropcap::first-letter { font-family: var(--ff-display); float: left; font-size: 4.6em; line-height: .82; padding: .06em .12em 0 0; color: var(--terracotta); font-style: italic; }
.center { text-align: center; }
.mt-s { margin-top: 1rem; } .mt { margin-top: 2rem; } .mt-l { margin-top: clamp(40px, 6vw, 80px); }
.mb { margin-bottom: 2rem; } .mb-l { margin-bottom: clamp(40px, 6vw, 80px); }

.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--split { align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.section-head--center { text-align: center; justify-items: center; max-width: 860px; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: 1em 1.6em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--ff-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ochre); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(23, 58, 46, .45); color: var(--forest-2); }
.btn:hover::before { transform: none; }
.btn svg { width: 1.15em; height: 1.15em; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--ochre { --bg: var(--ochre); --fg: var(--forest-2); }
.btn--ochre::before { background: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--forest); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ochre); }
.btn--sm { padding: .7em 1.15em; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--forest); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .4s var(--ease-out), color .3s; }
.link-arrow:hover { gap: .9em; color: var(--terracotta); }
.section--dark .link-arrow { color: var(--ochre-2); }
.link-arrow svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--cream);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s, box-shadow .4s, height .4s;
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; max-width: 1480px; }
.site-header.is-solid {
  background: rgba(246, 240, 228, .86); color: var(--forest);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line); height: 72px;
}
.site-header.is-hidden { transform: translateY(-100%); }
.page-light .site-header:not(.is-solid) { color: var(--forest); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 64px; height: auto; transition: transform .6s var(--ease-out); filter: drop-shadow(0 2px 8px rgba(0,0,0,.15)); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--ff-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.brand__sub { font-size: .64rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: .35em; }

.nav { margin-left: auto; display: none; }
@media (min-width: 1180px) { .nav { display: block; } }
.nav__list { list-style: none; display: flex; align-items: center; gap: .2rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em; padding: .6em .95em; border-radius: 999px;
  font-size: .9rem; font-weight: 700; text-decoration: none; background: none; border: 0; white-space: nowrap;
  transition: background-color .3s;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.has-current > .nav__link { background: rgba(127, 127, 127, .14); }
.nav__link svg { width: .8em; height: .8em; transition: transform .4s var(--ease-out); }
.nav__item:hover .nav__link svg, .nav__item:focus-within .nav__link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px;
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none;
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; transition: background-color .3s; }
.dropdown a:hover { background: var(--cream-2); }
.dropdown img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.dropdown strong { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; }
.dropdown span { font-size: .8rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
@media (min-width: 1180px) { .header-actions { margin-left: .6rem; } }
.status-pill {
  display: none; align-items: center; gap: .55em; padding: .55em .95em; border-radius: 999px;
  font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  background: rgba(127, 127, 127, .14);
}
@media (min-width: 720px) and (max-width: 1179px), (min-width: 1500px) { .status-pill { display: inline-flex; } }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa39a; position: relative; flex-shrink: 0; }
.is-open .status-dot { background: #4cc46b; }
.is-open .status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4cc46b; animation: ping 1.8s var(--ease-out) infinite; }
.is-closed .status-dot { background: #e0694a; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

.burger {
  width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(127, 127, 127, .16); position: relative; z-index: 120;
}
@media (min-width: 1180px) { .burger { display: none; } }
.burger span { position: absolute; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }
.menu-open .site-header { color: var(--cream) !important; background: transparent !important; box-shadow: none !important; transform: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest-2); color: var(--cream);
  background-image: var(--scute-light);
  clip-path: circle(0% at calc(100% - 50px) 42px);
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s; visibility: hidden;
  overflow-y: auto; padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  display: flex; flex-direction: column;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 42px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.mobile-menu__list { list-style: none; display: grid; gap: .1rem; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  font-family: var(--ff-display); font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1.15; padding: .2em 0;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), color .3s;
}
.mobile-menu__list a small { font-family: var(--ff-body); font-size: .75rem; font-weight: 800; letter-spacing: .15em; color: var(--ochre-2); }
.mobile-menu__list a:hover { color: var(--ochre-2); }
.menu-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu__list li:nth-child(1) a { transition-delay: .25s; } .mobile-menu__list li:nth-child(2) a { transition-delay: .3s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: .35s; } .mobile-menu__list li:nth-child(4) a { transition-delay: .4s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: .45s; } .mobile-menu__list li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu__list li:nth-child(7) a { transition-delay: .55s; } .mobile-menu__list li:nth-child(8) a { transition-delay: .6s; }
.mobile-menu__list li:nth-child(9) a { transition-delay: .65s; } .mobile-menu__list li:nth-child(10) a { transition-delay: .7s; }
.mobile-menu__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .4rem; font-size: .95rem; opacity: .8; }
.mobile-menu__foot a { text-decoration: none; }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden; isolation: isolate; background: var(--forest-2);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.6s var(--ease-out) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 38, 29, .55) 0%, rgba(14, 38, 29, 0) 28%),
    linear-gradient(0deg, rgba(14, 38, 29, .94) 0%, rgba(14, 38, 29, .55) 50%, rgba(14, 38, 29, .1) 78%),
    radial-gradient(130% 90% at 0% 100%, rgba(14, 38, 29, .7), transparent 62%);
}
.hero__inner, .page-hero__inner { text-shadow: 0 2px 24px rgba(10, 25, 18, .35); }
.hero .btn, .page-hero .btn { text-shadow: none; }
.hero__inner { width: 100%; padding-bottom: clamp(40px, 7vh, 90px); padding-top: calc(var(--header-h) + 40px); }
.hero__eyebrow { color: var(--ochre-2); }
.hero__title { max-width: 14ch; text-wrap: balance; }
.hero__bottom { display: grid; gap: 2rem; margin-top: clamp(24px, 4vh, 48px); align-items: end; }
@media (min-width: 980px) { .hero__bottom { grid-template-columns: 1fr auto; } }
.hero__text { max-width: 52ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(246, 240, 228, .86); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 1.6rem; font-size: .88rem; font-weight: 700; }
.hero__meta span { display: inline-flex; align-items: center; gap: .5em; }
.hero__meta svg { width: 18px; height: 18px; color: var(--ochre-2); }
.hero__scroll {
  position: absolute; right: var(--pad); bottom: clamp(40px, 7vh, 90px); display: none;
  writing-mode: vertical-rl; font-size: .72rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; text-decoration: none;
  align-items: center; gap: 1rem;
}
.hero__scroll::after { content: ""; width: 1.5px; height: 70px; background: linear-gradient(var(--cream), transparent); animation: scrollLine 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 1400px) { .hero__scroll { display: inline-flex; } }
.video-toggle {
  position: absolute; right: var(--pad); top: calc(var(--header-h) + 20px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(246, 240, 228, .5); background: rgba(14, 38, 29, .3);
  color: var(--cream); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s;
}
.video-toggle:hover { background: var(--ochre); border-color: var(--ochre); color: var(--forest-2); }
.video-toggle svg { width: 16px; height: 16px; }

/* Word reveal */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
.split.is-in .word > span { transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden; isolation: isolate; background: var(--forest-2);
}
.page-hero__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.page-hero__media img, .page-hero__media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 38, 29, .92) 0%, rgba(14, 38, 29, .3) 55%, rgba(14, 38, 29, .45) 100%); }
.page-hero__inner { width: 100%; padding-block: calc(var(--header-h) + 60px) clamp(48px, 8vh, 96px); }
.page-hero h1 { max-width: 16ch; text-wrap: balance; }
.page-hero .lead { color: rgba(246, 240, 228, .85); max-width: 56ch; margin-top: 1.5rem; }
.page-hero .eyebrow { color: var(--ochre-2); }
.page-hero--short { min-height: min(62svh, 620px); }
.page-hero__logo { width: clamp(120px, 14vw, 180px); background: var(--paper); border-radius: 20px; padding: 12px; margin-bottom: 1.6rem; box-shadow: var(--shadow); }

.breadcrumb { display: flex; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1.4rem; opacity: .8; list-style: none; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ochre); color: var(--forest-2); padding: 1.1rem 0; position: relative; z-index: 2; }
.marquee--dark { background: var(--forest-2); color: var(--cream); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; }
.marquee__item { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.4vw, 2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee__item::after { content: ""; width: 22px; height: 22px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8.66 5v10L12 22l-8.66-5V7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8.66 5v10L12 22l-8.66-5V7z'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .55; }
.marquee__item b { font-weight: 600; font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro (home) ---------- */
.intro__collage { position: relative; aspect-ratio: 4 / 4.6; }
.intro__collage figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro__collage img { width: 100%; height: 100%; object-fit: cover; }
.intro__collage .c1 { inset: 0 22% 22% 0; }
.intro__collage .c2 { inset: 48% 0 0 40%; border: 8px solid var(--cream); }
.intro__badge {
  position: absolute; left: -10px; bottom: 6%; z-index: 3; width: clamp(120px, 13vw, 160px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ochre); color: var(--forest-2); display: grid; place-items: center; text-align: center;
  font-family: var(--ff-display); line-height: 1.05; box-shadow: var(--shadow);
}
.intro__badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.intro__badge text { font-family: var(--ff-body); font-size: 9.4px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; fill: var(--forest-2); }
.intro__badge strong { font-size: 2.1rem; font-weight: 600; display: block; }
.intro__badge span { font-size: .78rem; font-family: var(--ff-body); font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2.5rem; }
@media (min-width: 640px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--cream); padding: 1.4rem 1.3rem; }
.section--sand .stat { background: var(--cream-2); }
.section--dark .stats { background: var(--line-light); }
.section--dark .stat { background: var(--forest); }
.stat__num { font-family: var(--ff-display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--forest); font-weight: 500; letter-spacing: -.03em; }
.section--dark .stat__num { color: var(--ochre-2); }
.stat__label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); margin-top: .5rem; line-height: 1.35; }
.section--dark .stat__label { color: rgba(246, 240, 228, .7); }

/* ---------- Mission band ---------- */
.mission { position: relative; overflow: hidden; }
.mission__quote { font-family: var(--ff-display); font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.mission__turtle { position: absolute; width: clamp(200px, 26vw, 380px); opacity: .9; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.mission__turtle--l { left: -60px; bottom: -40px; }
.reveal-text .rw { opacity: .16; transition: opacity .3s; }
.reveal-text .rw.on { opacity: 1; }

/* ---------- Experiences (accordion panels) ---------- */
.panels { display: grid; gap: 14px; }
@media (min-width: 980px) { .panels { display: flex; height: 640px; } }
.panel {
  position: relative; flex: 1; min-height: 420px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: var(--cream); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2.4vw, 34px); transition: flex 1s var(--ease-out);
}
@media (min-width: 980px) { .panel { min-height: 0; } .panel.is-active { flex: 2.6; } }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 38, 29, .95) 0%, rgba(14, 38, 29, .2) 60%, rgba(14, 38, 29, .1) 100%); transition: background-color .6s; }
.panel:hover img { transform: scale(1.06); }
.panel__num { position: absolute; top: clamp(22px, 2.4vw, 34px); left: clamp(22px, 2.4vw, 34px); font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--ochre-2); }
.panel__arrow { position: absolute; top: clamp(18px, 2vw, 28px); right: clamp(18px, 2vw, 28px); width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; transition: transform .6s var(--ease-out), background-color .4s; }
.panel:hover .panel__arrow { transform: rotate(-45deg); background: var(--ochre); }
.panel__arrow svg { width: 20px; height: 20px; }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); max-width: 14ch; }
.panel p { margin-top: .9rem; color: rgba(246, 240, 228, .82); font-size: .98rem; max-width: 44ch; }
@media (min-width: 980px) {
  .panel p { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .8s var(--ease-out); max-height: 0; margin-top: 0; }
  .panel.is-active p { opacity: 1; transform: none; max-height: 200px; margin-top: .9rem; transition-delay: .25s; }
  .panel:not(.is-active) h3 { font-size: 1.35rem; }
}

/* ---------- Media frame ---------- */
.media-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--forest-2); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1; }
.parallax-wrap { overflow: hidden; }
[data-parallax] { will-change: transform; }
.media-frame [data-parallax] { height: 116%; margin-top: -8%; }
.media-caption { position: absolute; left: 18px; bottom: 18px; padding: .5em .9em; border-radius: 999px; background: rgba(246, 240, 228, .9); color: var(--forest); font-size: .78rem; font-weight: 800; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* Scroll-expanding video */
.video-stage { padding-block: clamp(72px, 10vw, 140px); background: var(--cream); }
.video-stage__frame {
  position: relative; margin-inline: auto; width: min(100%, 1600px); aspect-ratio: 16 / 9; max-height: 88vh;
  border-radius: var(--radius-l); overflow: hidden; background: var(--forest-2);
  clip-path: inset(var(--inset, 8%) var(--inset-x, 14%) round var(--radius-l));
  will-change: clip-path;
}
.video-stage__frame video { width: 100%; height: 100%; object-fit: cover; }
.video-stage__label { position: absolute; inset: auto 0 0 0; padding: clamp(24px, 5vw, 64px); color: var(--cream); background: linear-gradient(0deg, rgba(14, 38, 29, .8), transparent); display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.video-stage__label h2 { max-width: 16ch; }
.sound-btn { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.2em; border-radius: 999px; border: 1.5px solid rgba(246, 240, 228, .6); background: rgba(14, 38, 29, .35); color: var(--cream); font-weight: 700; font-size: .85rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, color .3s; }
.sound-btn:hover { background: var(--ochre); color: var(--forest-2); border-color: var(--ochre); }
.sound-btn svg { width: 18px; height: 18px; }

/* ---------- Horizontal gallery ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__track { display: flex; gap: clamp(14px, 2vw, 28px); padding-inline: var(--pad); will-change: transform; width: max-content; }
.hscroll__item { flex-shrink: 0; height: clamp(300px, 56vh, 560px); border-radius: var(--radius); overflow: hidden; position: relative; margin: 0; cursor: zoom-in; background: var(--forest); }
.hscroll__item:nth-child(odd) { transform: translateY(4vh); }
.hscroll__item img { height: 100%; width: auto; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hscroll__item:hover img { transform: scale(1.05); }
.hscroll__head { padding-inline: var(--pad); margin-bottom: clamp(24px, 4vh, 48px); display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.hscroll__progress { height: 2px; background: var(--line-light); margin: clamp(30px, 5vh, 56px) var(--pad) 0; position: relative; border-radius: 2px; }
.hscroll__progress span { position: absolute; inset: 0; background: var(--ochre); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding-block: 80px; }
  .hscroll__track { overflow-x: auto; width: auto; transform: none !important; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hscroll__item { scroll-snap-align: center; height: 380px; }
  .hscroll__item:nth-child(odd) { transform: none; }
  .hscroll__progress { display: none; }
}

/* ---------- Masonry gallery ---------- */
.masonry { columns: 2 220px; column-gap: 14px; }
@media (min-width: 900px) { .masonry { columns: 4 240px; column-gap: 18px; } }
.masonry figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius-s); overflow: hidden; cursor: zoom-in; position: relative; background: var(--sand); }
@media (min-width: 900px) { .masonry figure { margin-bottom: 18px; } }
.masonry img { width: 100%; transition: transform 1s var(--ease-out), filter .6s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figure::after { content: ""; position: absolute; inset: 0; background: rgba(14, 38, 29, 0); transition: background-color .4s; }
.masonry figure:hover::after { background: rgba(14, 38, 29, .12); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 22, 17, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; padding: 60px 70px; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: scale(.96); transition: transform .6s var(--ease-out), opacity .3s; }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(246, 240, 228, .3); background: rgba(246, 240, 228, .06); color: var(--cream); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.lightbox button:hover { background: var(--ochre); color: var(--forest-2); border-color: var(--ochre); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(246, 240, 228, .7); font-size: .85rem; font-weight: 700; letter-spacing: .1em; }
@media (max-width: 640px) { .lightbox { padding: 70px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); box-shadow: var(--shadow-s); position: relative; overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.section--dark .card { background: rgba(246, 240, 228, .05); box-shadow: inset 0 0 0 1px var(--line-light); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--cream-2); color: var(--forest); margin-bottom: 1.3rem; }
.section--dark .card__icon { background: rgba(230, 163, 22, .15); color: var(--ochre-2); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.section--dark .card p { color: rgba(246, 240, 228, .75); }
.card--media { padding: 0; }
.card--media .card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card--media:hover .card__img img { transform: scale(1.05); }
.card--media .card__body { padding: clamp(22px, 2.4vw, 32px); }

/* Info list */
.info-list { list-style: none; display: grid; gap: 0; }
.info-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.section--dark .info-list li { border-color: var(--line-light); }
.info-list li:first-child { border-top: 1px solid var(--line); }
.section--dark .info-list li:first-child { border-color: var(--line-light); }
.info-list b { font-weight: 700; }
.info-list span { text-align: right; color: var(--ink-soft); }
.section--dark .info-list span { color: rgba(246, 240, 228, .75); }

/* Checklist */
.checklist { list-style: none; display: grid; gap: .8rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.checklist li::before { content: ""; width: 24px; height: 24px; margin-top: .15em; border-radius: 8px; background: var(--ochre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e261d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat; }

/* Steps */
.steps { list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow-s); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--ff-display); font-size: 1.3rem; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--forest); color: var(--ochre-2); }
.steps li strong { display: block; font-size: 1rem; }
.steps li span { color: var(--ink-soft); font-size: .93rem; }

/* Callout */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius-s); background: #fbe9dc; color: #6a2d12; border: 1px solid rgba(196, 97, 44, .25); }
.callout svg { width: 26px; height: 26px; color: var(--terracotta); }
.callout strong { display: block; margin-bottom: .2rem; }
.callout--info { background: #e6efe3; color: var(--forest); border-color: rgba(23, 58, 46, .15); }
.callout--info svg { color: var(--moss); }

/* Contact chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.1em; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-s); text-decoration: none; font-weight: 700; font-size: .92rem; transition: transform .4s var(--ease-out), background-color .3s; }
.chip:hover { transform: translateY(-2px); background: var(--ochre); }
.chip svg { width: 18px; height: 18px; color: var(--terracotta); }
.chip:hover svg { color: var(--forest-2); }
.section--dark .chip { background: rgba(246, 240, 228, .08); box-shadow: inset 0 0 0 1px var(--line-light); }
.section--dark .chip svg { color: var(--ochre-2); }
.section--dark .chip:hover { background: var(--ochre); color: var(--forest-2); }

/* ---------- Visit / pricing ---------- */
.visit-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 980px) { .visit-grid { grid-template-columns: 1.1fr .9fr; } }
.price-card { background: var(--forest); color: var(--cream); border-radius: var(--radius-l); padding: clamp(28px, 3.4vw, 52px); position: relative; overflow: hidden; background-image: var(--scute-light); }
.price-card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.6rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px dashed var(--line-light); }
.price-row:last-of-type { border-bottom: 0; }
.price-row__label { font-weight: 700; }
.price-row__label small { display: block; font-weight: 500; opacity: .65; font-size: .82rem; }
.price-row__value { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); color: var(--ochre-2); white-space: nowrap; }
.price-card__foot { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.tag { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; font-size: .78rem; font-weight: 800; background: rgba(246, 240, 228, .1); }
.tag svg { width: 15px; height: 15px; }
.tag--light { background: var(--cream-2); color: var(--forest); }

.status-card { background: var(--paper); border-radius: var(--radius-l); padding: clamp(28px, 3.4vw, 52px); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 1.2rem; }
.status-card__state { display: inline-flex; align-items: center; gap: .7em; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.status-card__state .status-dot { width: 12px; height: 12px; }
.status-card__big { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.status-card__sub { color: var(--ink-soft); }

/* Calendar */
.calendar { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cal-month { background: var(--paper); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow-s); }
.cal-month h4 { font-family: var(--ff-display); font-style: italic; font-size: 1.35rem; margin-bottom: .7rem; color: var(--forest); font-variation-settings: "SOFT" 100, "WONK" 1; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .78rem; font-weight: 700; }
.cal-grid .dow { font-size: .66rem; letter-spacing: .08em; color: var(--ink-soft); padding-bottom: 4px; }
.cal-grid .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; }
.cal-grid .open { background: #d9ecd5; color: #1d4a22; }
.cal-grid .closed { background: #f6d3c8; color: #8a2b12; text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-grid .we { font-weight: 900; }
.cal-grid .today { box-shadow: 0 0 0 2px var(--forest); position: relative; }
.cal-grid .past { opacity: .45; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; font-weight: 700; margin-bottom: 1.4rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .5em; }
.cal-legend i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }

/* Rules */
.rules { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.rule { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--paper); border-radius: var(--radius-s); box-shadow: var(--shadow-s); font-weight: 700; font-size: .92rem; line-height: 1.3; }
.rule img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.rule__ico { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: #fbe9dc; color: var(--terracotta); }
.rule__ico svg { width: 26px; height: 26px; }

/* Timeline (musée) */
.timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ochre), var(--terracotta), var(--sea)); border-radius: 2px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -34px; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--terracotta); }
.timeline__when { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); }
.timeline__item h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: .3rem 0 .7rem; }
.timeline__item p { color: var(--ink-soft); }

/* Books */
.books { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); }
.book { text-align: center; }
.book__cover { aspect-ratio: 3 / 4.2; display: grid; place-items: center; padding: 10% 12%; border-radius: var(--radius); background: var(--cream-2); margin-bottom: 1rem; perspective: 900px; }
.book__cover img { max-height: 100%; width: auto; border-radius: 4px 10px 10px 4px; box-shadow: -6px 10px 24px rgba(23, 58, 46, .25), inset 4px 0 8px rgba(0,0,0,.1); transform: rotateY(-14deg); transition: transform .8s var(--ease-out), box-shadow .8s; }
.book:hover .book__cover img { transform: rotateY(0) translateY(-6px) scale(1.03); box-shadow: 0 24px 40px rgba(23, 58, 46, .3); }
.book h3 { font-size: 1.12rem; line-height: 1.25; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(45%, 170px), 1fr)); gap: 14px; }
.logo-tile { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18px 22px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-s); transition: transform .5s var(--ease-out), box-shadow .5s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .8; transition: filter .5s, opacity .5s; }
.logo-tile:hover img { filter: none; opacity: 1; }

.logo-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-marquee .marquee__track { animation-duration: 45s; }
.logo-marquee .marquee__group { gap: 18px; padding-right: 18px; }
.logo-marquee .logo-tile { width: 200px; flex-shrink: 0; }

/* ---------- CTA split ---------- */
.split-cta { display: grid; gap: 14px; }
@media (min-width: 900px) { .split-cta { grid-template-columns: 1fr 1fr; } }
.split-cta__item { position: relative; min-height: 460px; border-radius: var(--radius-l); overflow: hidden; color: var(--cream); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; isolation: isolate; }
.split-cta__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.split-cta__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 38, 29, .95), rgba(14, 38, 29, .15) 75%); }
.split-cta__item:hover img { transform: scale(1.05); }
.split-cta__item h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 14ch; }
.split-cta__item p { margin: 1rem 0 1.6rem; color: rgba(246, 240, 228, .82); max-width: 44ch; }

/* ---------- Map ---------- */
.map-card { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--sand); min-height: 420px; }
@media (min-width: 900px) { .map-card { position: sticky; top: calc(var(--header-h) + 70px); height: min(75vh, 680px); align-self: start; } }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.85) contrast(1.02); }

/* ---------- Big CTA ---------- */
.big-cta { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--ochre); color: var(--forest-2); padding: clamp(40px, 7vw, 110px) clamp(28px, 6vw, 90px); display: grid; gap: 2rem; isolation: isolate; }
@media (min-width: 900px) { .big-cta { grid-template-columns: 1.3fr .7fr; align-items: end; } }
.big-cta h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 14ch; }
.big-cta em.accent { color: var(--forest); }
.big-cta__turtle { position: absolute; right: -40px; top: -30px; width: clamp(180px, 22vw, 300px); z-index: -1; opacity: .18; transform: rotate(-12deg); }
.big-cta .btn { justify-self: start; }
@media (min-width: 900px) { .big-cta .btn-row { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-2); color: var(--cream); padding-top: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; background-image: var(--scute-light); }
.footer-top { display: grid; gap: 3rem; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 150px; background: var(--cream); border-radius: 18px; padding: 10px 12px; }
.footer-brand p { margin-top: 1.4rem; color: rgba(246, 240, 228, .7); max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--ff-body); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre-2); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { text-decoration: none; color: rgba(246, 240, 228, .82); transition: color .3s; font-size: .95rem; }
.footer-col a:hover { color: var(--ochre-2); }
.footer-col address { font-style: normal; color: rgba(246, 240, 228, .82); font-size: .95rem; line-height: 1.7; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-light); transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--ochre); border-color: var(--ochre); color: var(--forest-2); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-giant { font-family: var(--ff-display); font-size: clamp(3.4rem, 13.5vw, 15rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px rgba(246, 240, 228, .22); white-space: nowrap; text-align: center; padding-top: .25em; user-select: none; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 2rem; font-size: .82rem; color: rgba(246, 240, 228, .55); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--ochre-2); }

/* Back to top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--forest); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out), background-color .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ochre); color: var(--forest-2); }
.to-top svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.to-top circle { fill: none; stroke: var(--ochre); stroke-width: 3; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); width: 100%; height: 100%; }

/* Scroll progress */
.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: var(--ochre); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--delay, 0ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="clip"] { opacity: 1; transform: none; transition: background-color .6s, box-shadow .6s; }
[data-reveal="clip"]:not(.is-in) { background: transparent; box-shadow: none; }
[data-reveal="clip"] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
[data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Page transition */
.page-veil { position: fixed; inset: 0; z-index: 500; background: var(--forest-2); pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-in-out); display: grid; place-items: center; }
.page-veil img { width: 90px; opacity: 0; transition: opacity .3s; }
.page-veil.is-active { transform: scaleY(1); pointer-events: auto; }
.page-veil.is-active img { opacity: 1; transition-delay: .3s; }
.page-veil.is-entering { transform: scaleY(1); transform-origin: top; animation: veilOut .75s var(--ease-in-out) .12s forwards; }
.page-veil.is-entering img { opacity: 1; animation: veilImg .3s .1s forwards; }
@keyframes veilOut { to { transform: scaleY(0); visibility: hidden; } }
@keyframes veilImg { to { opacity: 0; } }
html:not(.js) .page-veil { display: none; }
html:not(.js) [data-reveal], html:not(.js) [data-reveal] > * { opacity: 1; transform: none; clip-path: none; }

/* Turtle walker (déco) */
.walker { position: absolute; bottom: 0; left: 0; width: 70px; height: 40px; pointer-events: none; }
.walker svg { width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal] > * { opacity: 1; transform: none; clip-path: none !important; }
  .split .word > span { transform: none; }
  .reveal-text .rw { opacity: 1; }
  .marquee__track { animation: none; }
}

/* Misc */
.divider-wave { display: block; width: 100%; height: auto; color: var(--forest); margin-bottom: -1px; }
.pill-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill-nav a { padding: .6em 1.1em; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-s); text-decoration: none; font-weight: 700; font-size: .88rem; transition: background-color .3s; }
.pill-nav a:hover { background: var(--ochre); }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.anchor-nav { position: sticky; top: 72px; transition: top .6s var(--ease-out); z-index: 50; background: rgba(246, 240, 228, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.anchor-nav .container { display: flex; gap: .3rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.anchor-nav .container::-webkit-scrollbar { display: none; }
.anchor-nav a { flex-shrink: 0; padding: .55em 1em; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .86rem; color: var(--ink-soft); transition: background-color .3s, color .3s; }
.anchor-nav a:hover { color: var(--forest); background: var(--cream-2); }
.anchor-nav a.is-active { background: var(--forest); color: var(--cream); }

.quote-block { border-left: 4px solid var(--ochre); padding: .4rem 0 .4rem 1.4rem; font-family: var(--ff-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; font-style: italic; color: var(--forest); }
.price-tag { display: inline-grid; place-items: center; padding: 1.2rem 1.6rem; border-radius: var(--radius); background: var(--ochre); color: var(--forest-2); text-align: center; }
.price-tag strong { font-family: var(--ff-display); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.price-tag span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.date-list { list-style: none; display: grid; gap: .6rem; }
.date-list li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-s); background: var(--paper); box-shadow: var(--shadow-s); font-weight: 700; }
.date-list li span { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--ochre-2); font-family: var(--ff-display); font-size: .82rem; line-height: 1; text-align: center; flex-shrink: 0; }
.legal { font-size: .95rem; }
.legal h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }

.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad); }

body:has(.site-header.is-hidden) .anchor-nav { top: 0; }
@media (min-width: 700px) { .books { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .books { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 480px) {
  :root { --header-h: 72px; }
  .site-header .container { gap: .8rem; }
  .brand { gap: .55rem; min-width: 0; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 1.06rem; }
  .brand__sub { font-size: .54rem; letter-spacing: .12em; }
  .burger { width: 46px; height: 46px; flex-shrink: 0; }
  .intro__badge { left: 0; }
}
/* Bandeau de la maquette publique (build DEMO=1) */
.demo-banner { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 400; max-width: calc(100% - 100px); padding: .55em 1.1em; border-radius: 999px; background: var(--brown); color: var(--cream); font-size: .78rem; font-weight: 700; text-align: center; box-shadow: var(--shadow); }
.demo-banner a { color: var(--ochre-2); }
