/* Le Souffle du Vivant — site public */

@font-face { font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/archivo-normal-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/archivo-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/archivo-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/archivo-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: oklch(0.27 0.065 236);
  --ink: oklch(0.96 0.015 220);
  --ink-55: oklch(0.96 0.015 220 / .55);
  --muted: oklch(0.8 0.03 228);
  --acc: oklch(0.86 0.12 190);
  --acc-hover: oklch(0.92 0.1 190);
  --deep: oklch(0.2 0.05 245);
  --deep-hover: oklch(0.28 0.06 245);
  --rule: oklch(0.42 0.06 238);
  --rule-soft: oklch(0.32 0.05 240);
  --panel: oklch(0.22 0.05 245);
  --shade: oklch(0.13 0.04 245);
  --menu-bg: oklch(0.14 0.04 245);
  --stripes: repeating-linear-gradient(135deg, oklch(0.24 0.05 245) 0 12px, oklch(0.21 0.05 245) 12px 24px);
  --px: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  transition: background-color .4s linear;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-hover); }
button, input, textarea, select { font-family: inherit; }
button { color: inherit; }
::selection { background: var(--acc); color: var(--deep); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--acc); color: var(--deep); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 8px; color: var(--deep); }

/* ————— Layout helpers ————— */
.wrap { max-width: var(--max); margin: 0 auto; }
.sec { padding: clamp(64px, 9vw, 120px) var(--px); border-bottom: 2px solid var(--rule); }
.sec-flush { padding-left: 0; padding-right: 0; }
.sec-flush > .wrap { padding: 0 var(--px); }
.sec-car { padding-bottom: clamp(48px, 7vw, 96px); border-bottom: 2px solid var(--rule); }
.sec-pad-x { padding-left: var(--px); padding-right: var(--px); }
.sec-guide { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.stack { display: grid; align-content: start; }
.stack-6 { gap: 6px; } .stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-16 { gap: 16px; }
.stack-18 { gap: 18px; } .stack-20 { gap: 20px; } .stack-22 { gap: 22px; } .stack-24 { gap: 24px; }
.stack-28 { gap: 28px; } .stack-32 { gap: 32px; } .stack-40 { gap: 40px; } .stack-80 { gap: clamp(40px, 6vw, 80px); }
.align-start { align-content: start; } .align-end { align-content: end; align-items: end; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 6vw, 96px); }
.split-end { align-items: end; gap: 40px; }
.grid-420 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.row-between { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.row-center { display: flex; align-items: center; }
.gap-16 { gap: 16px; }
.stripes { background: var(--stripes); }

/* ————— Type ————— */
.kicker { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.display { font: 800 clamp(48px, 8.4vw, 128px)/.92 var(--font); letter-spacing: -0.045em; max-width: 12ch; text-wrap: balance; }
.display-article { font-size: clamp(44px, 7.4vw, 112px); line-height: .94; max-width: 14ch; }
.lead { font: 500 clamp(20px, 2.3vw, 30px)/1.3 var(--font); max-width: 34ch; color: var(--muted); }
.lead-36 { line-height: 1.35; max-width: 36ch; }
.h-section { font: 800 clamp(36px, 5.6vw, 80px)/.95 var(--font); letter-spacing: -0.035em; }
.h-sub { font: 800 clamp(32px, 4.6vw, 64px)/1 var(--font); letter-spacing: -0.035em; }
.h-fact { font: 800 clamp(30px, 4vw, 56px)/1 var(--font); letter-spacing: -0.03em; }
.h-gallery { font: 700 clamp(24px, 2.6vw, 34px)/1 var(--font); letter-spacing: -0.02em; }
.poster { font: 800 clamp(40px, 7.4vw, 112px)/.94 var(--font); letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.intro-text { font: 500 clamp(24px, 3vw, 40px)/1.22 var(--font); letter-spacing: -0.015em; text-wrap: pretty; }
.body-18 { font: 400 18px/1.6 var(--font); text-wrap: pretty; }
.body-19 { font: 400 19px/1.6 var(--font); text-wrap: pretty; }
.sec-acc .body-19 { font-weight: 500; line-height: 1.55; }
.body-lg { font: 500 clamp(20px, 2vw, 26px)/1.45 var(--font); text-wrap: pretty; }
.muted { color: var(--muted); }
.measure { max-width: 52ch; } .measure-50 { max-width: 50ch; } .measure-52 { max-width: 52ch; }
.measure-56 { max-width: 56ch; } .measure-64 { max-width: 64ch; }
.num { font: 700 12px/1 var(--font); color: var(--acc); font-variant-numeric: tabular-nums; }
.acc { color: var(--acc); }
.meta { display: flex; gap: 12px; font: 600 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mono-note { font: 500 12px/1 var(--mono); color: var(--muted); }
.link-acc { font: 600 15px/1 var(--font); color: var(--acc); }
.link-sm { font-size: 14px; }
.body-18 a, .body-19 a, .body-lg a, .guide-text a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.preview-note { justify-self: start; font: 600 12px/1 var(--font); padding: 8px 10px; border: 2px dashed var(--acc); color: var(--acc); }

/* ————— Buttons ————— */
.btn {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
  border: 0; padding: 18px; min-width: 200px; cursor: pointer; text-align: left;
  font: 600 15px/1 var(--font); transition: background-color .2s, color .2s;
}
.btn-lg { min-width: 240px; }
.btn-sm { min-width: 0; padding: 12px 16px; font-size: 14px; }
.btn-acc { background: var(--acc); color: var(--deep); }
.btn-acc:hover { background: var(--acc-hover); color: var(--deep); }
.btn-line { border: 2px solid var(--ink); background: transparent; color: var(--ink); padding: 16px 18px; }
.btn-line:hover { background: oklch(1 0 0 / .08); color: var(--ink); }
.btn-deep { background: var(--deep); color: var(--ink); }
.btn-deep:hover { background: var(--deep-hover); color: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sq-btn {
  width: 48px; height: 48px; flex: none; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 18px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.sq-btn:hover { background: var(--acc); color: var(--deep); border-color: var(--acc); }
.sq-btn-hero { width: 44px; height: 44px; font-size: 16px; border-color: oklch(0.96 0.015 220 / .5); }
.sq-btn-hero:hover { background: transparent; border-color: var(--acc); color: var(--acc); }
.btn-line-sm { height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 13px/1 var(--font); cursor: pointer; }

/* ————— Header ————— */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: transparent; border-bottom: 2px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-solid {
  background: oklch(0.15 0.04 245 / .88); border-bottom-color: var(--rule);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-in { max-width: var(--max); margin: 0 auto; height: 72px; padding: 0 var(--px); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--acc); background: #fff; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font: 800 22px/1 var(--font); letter-spacing: -0.02em; white-space: nowrap; }
.brand-place { font: 500 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { font: 500 14px/1 var(--font); padding: 8px 0; border-bottom: 2px solid transparent; color: var(--ink); }
.main-nav a:hover { color: var(--acc); }
.main-nav a.is-active { border-bottom-color: var(--acc); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 2px solid var(--rule); }
.lang-switch a { padding: 7px 9px; font: 600 12px/1 var(--font); color: var(--ink); }
.lang-switch a:hover { color: var(--acc); }
.lang-switch a.is-on { background: var(--acc); color: var(--deep); }
.menu-btn { display: none; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 13px/1 var(--font); height: 44px; padding: 0 14px; cursor: pointer; }

.menu-overlay {
  position: fixed; inset: 0; z-index: 45; background: var(--menu-bg);
  padding: 96px var(--px) 32px; display: flex; flex-direction: column; overflow: auto;
}
.menu-item { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 2px solid var(--rule-soft); color: var(--ink); }
.menu-item:hover, .menu-item[aria-current] { color: var(--acc); }
.menu-num { font: 500 12px/1 var(--font); color: var(--acc); width: 28px; flex: none; }
.menu-label { font: 700 clamp(28px, 7vw, 44px)/1 var(--font); letter-spacing: -0.02em; }
.menu-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 1179px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 759px) {
  .header-book { display: none; }
  .brand-place { display: none; }
  .brand { gap: 10px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 18px; }
}
/* Téléphones : le nom passe sur deux lignes pour laisser la place à la langue et au menu. */
@media (max-width: 480px) {
  .header-in { gap: 12px; }
  .header-actions { gap: 8px; }
  .brand, .brand-text { min-width: 0; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 16px; line-height: 1.05; }
  .brand-name span { display: block; }
  .menu-btn { padding: 0 11px; }
}
@media (max-width: 359px) {
  .header-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .lang-switch a { padding: 7px 7px; }
}

/* ————— Depth gauge ————— */
.depth {
  position: fixed; right: clamp(12px, 1.6vw, 24px); top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none;
}
.depth-label { font: 600 10px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.depth-track { position: relative; width: 2px; height: 180px; background: var(--rule); }
.depth-mark { position: absolute; left: -5px; top: 0; width: 12px; height: 2px; background: var(--acc); }
.depth-value { font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--acc); }
@media (max-width: 759px) { .depth { display: none; } }
body.no-scroll .depth { display: none; }

/* ————— Page head ————— */
.page-head { padding: clamp(128px, 16vw, 200px) var(--px) clamp(40px, 6vw, 72px); border-bottom: 2px solid var(--rule); }
.page-head-article, .page-studio .page-head { border-bottom: 0; }
.page-head-article { padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head .link-acc { justify-self: start; }

/* ————— Hero ————— */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; background: var(--menu-bg); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1); transition: opacity 1.4s ease, transform 7s linear;
}
.hero-img.is-on { opacity: 1; transform: scale(1.08); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.13 0.04 245 / .6) 0%, oklch(0.13 0.04 245 / 0) 22%, oklch(0.13 0.04 245 / 0) 45%, oklch(0.13 0.04 245 / .92) 100%);
}
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--px); }
.hero-grid { display: grid; gap: 28px; padding-bottom: 28px; }
.hero-title { font: 800 clamp(52px, 10vw, 148px)/.9 var(--font); letter-spacing: -0.045em; max-width: 9ch; text-wrap: balance; }
.hero-ctl { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)) auto; border-top: 2px solid oklch(0.96 0.015 220 / .35); }
.hero-tab {
  position: relative; padding: 14px 16px 4px 0; cursor: pointer; display: flex; gap: 10px; align-items: baseline; min-width: 0;
  background: none; border: 0; text-align: left; color: var(--ink-55); transition: color .3s;
}
.hero-tab:hover, .hero-tab.is-on { color: var(--ink); }
.hero-bar { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--acc); transform-origin: left; transform: scaleX(0); }
.hero-tab.is-on .hero-bar { transform: scaleX(1); }
.hero.is-playing .hero-tab.is-on .hero-bar { animation: svprog var(--hero-ms, 6000ms) linear forwards; }
.hero.is-paused .hero-tab.is-on .hero-bar { animation-play-state: paused; }
.hero-num { font: 700 12px/1 var(--font); font-variant-numeric: tabular-nums; }
.hero-cap { font: 500 13px/1.3 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-arrows { display: flex; gap: 6px; padding-top: 8px; }
@keyframes svprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 759px) { .hero-cap { display: none; } }

/* ————— Facts (01 Studio tout confort…) ————— */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--rule); align-self: end; width: 100%; }
.fact { padding: 18px 16px 18px 0; border-bottom: 2px solid var(--rule); display: grid; gap: 6px; }
.fact-label { font: 600 17px/1.25 var(--font); }
.facts-lg { align-self: start; }
.facts-lg .fact { padding: 22px 16px 22px 0; }
.facts-lg .fact-label { font-size: 18px; }

/* ————— Carousels ————— */
.car-head { margin-bottom: 32px; }
.car-viewport { padding-left: var(--px); overflow: hidden; touch-action: pan-y; }
.car-track { display: flex; gap: 16px; transition: transform .9s var(--ease); will-change: transform; }
.car-slide {
  --w: 58%;
  flex: 0 0 var(--w); height: min(70vh, 660px); position: relative; overflow: hidden; cursor: pointer;
  opacity: .35; transition: opacity .6s; background: var(--panel);
}
.car-slide.is-on { opacity: 1; }
.car-slide.is-ph { background: var(--stripes); }
.car-slide.is-on:not(.is-ph) { cursor: zoom-in; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-cap {
  position: absolute; left: 0; bottom: 0; display: flex; gap: 10px; align-items: baseline;
  padding: 10px 14px; background: oklch(0.13 0.04 245 / .82); font: 500 13px/1 var(--font);
}
.ph-label { position: absolute; top: 20px; left: 20px; font: 500 12px/1 var(--mono); color: var(--muted); }
.car-controls { margin-top: 24px; padding: 0 var(--px); display: flex; gap: 16px; align-items: center; }
.car-foot { margin-top: 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.car-counter { font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--muted); }
.car-progress { flex: 1 1 200px; height: 2px; background: var(--rule); position: relative; }
.car-progress > div { position: absolute; left: 0; top: 0; height: 2px; background: var(--acc); transition: width .6s; }
@media (max-width: 759px) {
  .car-slide { --w: 86%; height: min(64vw, 440px); }
}

/* ————— Visite du studio ————— */
.tour-nav {
  position: sticky; top: 72px; z-index: 30;
  background: oklch(0.15 0.04 245 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
}
.tour-nav-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--px); display: flex; align-items: center; gap: 20px; }
.tour-links { position: relative; flex: 1 1 auto; min-width: 0; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.tour-links::-webkit-scrollbar { display: none; }
.tour-links a {
  flex: none; display: flex; gap: 8px; align-items: baseline; padding: 18px 0 14px; white-space: nowrap;
  border-bottom: 2px solid transparent; font: 600 14px/1 var(--font); color: var(--muted); transition: color .2s, border-color .2s;
}
.tour-links a:hover, .tour-links a.is-on { color: var(--ink); }
.tour-links a.is-on { border-bottom-color: var(--acc); }
.tour-full { flex: none; }
.tour-full:hover { background: var(--acc); color: var(--deep); border-color: var(--acc); }
.tour-room { padding: clamp(40px, 6vw, 80px) var(--px); border-bottom: 2px solid var(--rule); scroll-margin-top: 124px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.tour-head { display: grid; gap: 12px; align-content: start; }
.tour-title { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--font); letter-spacing: -0.03em; text-wrap: balance; }
@media (min-width: 960px) {
  .tour-grid { grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
}
/* Rangées justifiées : chaque photo garde ses proportions (--r = largeur / hauteur).
   max-width évite qu'une photo seule en fin de pièce s'étire sur toute la largeur. */
.jg { --h: clamp(120px, 22vw, 320px); display: flex; flex-wrap: wrap; gap: 8px; }
.jg-item {
  position: relative; flex: var(--r) 1 calc(var(--r) * var(--h)); min-width: 0; aspect-ratio: var(--r);
  max-width: calc(var(--r) * var(--h) * 1.7); max-height: calc(var(--h) * 2.2);
  padding: 0; border: 0; overflow: hidden; background: var(--panel); cursor: zoom-in;
}
.jg-item.is-lead { flex-basis: 100%; max-width: none; }
.jg-item.is-ph { background: var(--stripes); cursor: default; }
.jg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.jg-item:hover img { transform: scale(1.04); }
.jg-cap {
  position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 9px 12px; text-align: left;
  background: oklch(0.13 0.04 245 / .82); color: var(--ink); font: 500 13px/1.3 var(--font);
}
@media (max-width: 599px) {
  .tour-full { display: none; }
  .jg-item:not(.is-lead) .jg-cap { display: none; }
}

/* ————— Accent sections ————— */
.sec-acc { background: var(--acc); color: var(--deep); border-bottom: 0; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); }
.page-preserve .sec-acc { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.sec-acc ::selection { background: var(--deep); color: var(--acc); }
.sec-acc :focus-visible { outline-color: var(--deep); }
.gestes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 2px solid var(--deep); }
.geste { padding: 20px 20px 24px 0; display: grid; gap: 14px; align-content: start; border-bottom: 2px solid var(--deep); }
.geste-num { font: 800 32px/1 var(--font); letter-spacing: -0.02em; }
.geste-label { font: 600 18px/1.3 var(--font); max-width: 18ch; }
.outro { font: 700 clamp(22px, 2.4vw, 32px)/1.25 var(--font); max-width: 28ch; }

/* ————— Article cards ————— */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.cards-320 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: grid; gap: 14px; align-content: start; border-top: 2px solid var(--rule); padding-top: 16px; color: var(--ink); }
.card:hover { color: var(--ink); }
.card-media { aspect-ratio: 4/3; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-title { font: 700 24px/1.15 var(--font); letter-spacing: -0.015em; }
.card:hover .card-title { color: var(--acc); }
.card-excerpt { font: 400 16px/1.5 var(--font); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ————— Home tiles ————— */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border-bottom: 2px solid var(--rule); }
.tile { position: relative; min-height: clamp(320px, 42vw, 560px); overflow: hidden; display: flex; align-items: flex-end; color: var(--ink); }
.tile:hover { color: var(--ink); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile-bar {
  position: relative; width: 100%; padding: 28px var(--px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  background: linear-gradient(0deg, oklch(0.13 0.04 245 / .92), oklch(0.13 0.04 245 / 0));
}
.tile-name { font: 800 clamp(28px, 3.6vw, 48px)/1 var(--font); letter-spacing: -0.03em; }
.tile-arrow { font: 600 22px/1 var(--font); transition: transform .3s; }
.tile:hover .tile-arrow { transform: translateX(6px); color: var(--acc); }

/* ————— Guides (Sanary / Bandol) ————— */
.guide-section { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--font); letter-spacing: -0.02em; color: var(--acc); }
.guide-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.guide-item { border-top: 2px solid var(--rule); padding: 24px 0 32px; display: grid; gap: 14px; align-content: start; }
.guide-num { font: 800 56px/1 var(--font); letter-spacing: -0.04em; color: var(--acc); }
.guide-title { font: 700 22px/1.2 var(--font); letter-spacing: -0.01em; }
.guide-text { font: 400 17px/1.55 var(--font); color: var(--muted); text-wrap: pretty; }
.guide-line { font: 400 16px/1.5 var(--font); padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.guide-tip { font: 500 15px/1.5 var(--font); padding: 12px 14px; background: var(--panel); }
.guide-link { font: 600 14px/1 var(--font); justify-self: start; }

/* ————— Journal list ————— */
.jrow { display: block; padding: clamp(28px, 4vw, 48px) var(--px); border-bottom: 2px solid var(--rule); color: var(--ink); transition: background-color .2s; }
.jrow:hover { background: oklch(1 0 0 / .03); color: var(--ink); }
.jrow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 4vw, 64px); align-items: center; }
.jrow-media { aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.jrow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.jrow:hover .jrow-media img { transform: scale(1.04); }
.jrow-title { font: 800 clamp(30px, 4vw, 56px)/1 var(--font); letter-spacing: -0.03em; }
.jrow-excerpt { font: 400 17px/1.55 var(--font); color: var(--muted); max-width: 52ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ————— Article ————— */
.no-photos { height: clamp(240px, 40vw, 480px); display: flex; align-items: center; justify-content: center; }
.fact-sec { gap: clamp(32px, 5vw, 80px); align-items: start; }
.note-acc { font: 500 17px/1.55 var(--font); max-width: 52ch; padding: 16px 18px; background: var(--acc); color: var(--deep); text-wrap: pretty; }
.note-acc a { color: var(--deep); text-decoration: underline; }
.fact-img, .mosaic-item, .portrait { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.fact-img { aspect-ratio: 3/2; }
.fact-img img, .mosaic-item img, .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.fact-img:hover img { transform: scale(1.04); }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 8px; }
.mosaic-item { aspect-ratio: 1; }
.mosaic-item img { transition-duration: .8s; }
.mosaic-item:hover img { transform: scale(1.06); }

/* ————— Préserver ————— */
.pressures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-content: start; }
.pressure-col { display: grid; align-content: start; }
.pressure-head { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); padding-bottom: 14px; border-bottom: 2px solid var(--rule); }
.pressure-item { font: 700 22px/1 var(--font); padding: 16px 0; border-bottom: 2px solid var(--rule); }
.species { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 2px solid var(--rule); border-left: 2px solid var(--rule); }
.species-cell {
  padding: 22px 20px 26px; border-right: 2px solid var(--rule); border-bottom: 2px solid var(--rule);
  display: grid; gap: 10px; min-height: 150px; align-content: space-between; transition: background-color .2s;
}
.species-cell:hover { background: oklch(0.86 0.12 190 / .08); }
.species-name { font: 700 22px/1.15 var(--font); letter-spacing: -0.01em; }
.species-latin { font: italic 400 14px/1.2 var(--font); color: var(--muted); }

/* ————— Qui sommes-nous ————— */
.portrait { aspect-ratio: 4/5; position: relative; }
.admin-ph { font: 500 14px/1.5 var(--mono); color: var(--muted); padding: 18px; border: 2px dashed var(--rule); }

/* ————— Contact ————— */
.line-field { display: grid; gap: 8px; font: 600 13px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.line-field input, .line-field textarea {
  background: transparent; border: 0; border-bottom: 2px solid var(--rule); color: var(--ink);
  font: 500 20px/1.3 var(--font); padding: 10px 0; text-transform: none; letter-spacing: 0; border-radius: 0;
}
.line-field textarea { font-size: 18px; line-height: 1.5; resize: vertical; }
.line-field input:focus, .line-field textarea:focus { border-bottom-color: var(--acc); outline: none; }
.line-field input:focus-visible, .line-field textarea:focus-visible { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font: 600 15px/1.4 var(--font); padding: 14px 16px; border: 2px solid var(--acc); color: var(--acc); }
.form-note { font: 400 14px/1.5 var(--font); color: var(--muted); }
.sent-box { display: grid; gap: 16px; align-content: start; padding: 28px; background: var(--acc); color: var(--deep); }
.sent-check { font: 800 32px/1 var(--font); }
.sent-box p { font: 600 22px/1.35 var(--font); }
.info-list { display: grid; align-content: start; border-top: 2px solid var(--rule); }
.info-row { padding: 20px 0; border-bottom: 2px solid var(--rule); display: grid; gap: 12px; }
.info-head { font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.info-val { font: 600 20px/1.3 var(--font); }
.info-link { font: 600 18px/1.2 var(--font); color: var(--ink); display: flex; justify-content: space-between; }
.info-link:hover { color: var(--acc); }

/* ————— Booking band ————— */
.book-band { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.platforms { display: grid; border-top: 2px solid var(--ink); }
.platform {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0;
  border-bottom: 2px solid var(--ink); color: var(--ink); transition: color .2s, padding-left .3s var(--ease);
}
.platform:hover { color: var(--acc); padding-left: 12px; }
.platform-text { display: grid; gap: 6px; }
.platform-name { font: 800 clamp(24px, 2.6vw, 34px)/1 var(--font); letter-spacing: -0.02em; }
.platform-sub { font: 500 13px/1 var(--font); color: var(--muted); }
.platform-arrow { font: 600 24px/1 var(--font); }

/* ————— Footer ————— */
.site-footer { padding: clamp(48px, 6vw, 80px) var(--px) 32px; }
.site-footer .wrap { display: grid; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.footer-name { font: 800 26px/1 var(--font); letter-spacing: -0.02em; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { font: 500 15px/1.2 var(--font); color: var(--muted); justify-self: start; }
.footer-links a:hover { color: var(--acc); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px;
  border-top: 2px solid var(--rule); font: 500 13px/1 var(--font); color: var(--muted);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ————— Lightbox ————— */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: oklch(0.1 0.03 245 / .97); color: var(--ink);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
}
.lb-top { display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); border-bottom: 2px solid oklch(0.3 0.05 240); }
.lb-counter { font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--acc); }
.lb-cap { font: 500 14px/1.2 var(--font); margin-right: auto; }
.lb-stage { display: flex; align-items: center; justify-content: center; padding: clamp(8px, 2vw, 24px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 3vw, 32px) 20px; }
.lb-nav {
  height: 52px; min-width: 120px; border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 15px/1 var(--font); cursor: pointer; text-align: left; padding: 0 16px;
}
.lb-nav:hover { background: var(--acc); color: var(--deep); border-color: var(--acc); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-img.is-on { transform: none; }
}
