/* ==========================================================================
   Apex Boats — Tesla Edition
   ========================================================================== */

:root {
  --ink: #171a20;
  --ink-2: #393c41;
  --muted: #5c5e62;
  --line: #e2e3e3;
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --night: #0b0c0f;
  --blue: #3e6ae1;
  --blue-2: #3457b1;
  --red: #d7262f;
  --radius: 4px;
  --header-h: 56px;
  --ease: cubic-bezier(.5, 0, 0, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.is-snap { scroll-snap-type: y mandatory; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
.icon svg { width: 100%; height: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 12px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.section__title { font-size: clamp(30px, 4vw, 48px); margin-bottom: clamp(32px, 5vw, 64px); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 264px; height: 40px; padding: 0 24px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: background-color .33s var(--ease), color .33s var(--ease), transform .33s var(--ease), box-shadow .33s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { background: rgba(244, 244, 244, .65); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(244, 244, 244, .9); }
.btn--light { background: var(--paper-2); color: var(--ink); }
.btn--light:hover { background: #e8e8e8; }
.btn--sm { min-width: 0; flex: 1; }
.btn--block { width: 100%; min-width: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: 16px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Préchargeur & rideau ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--night);
  display: grid; place-items: center;
  animation: apex-failsafe .6s var(--ease) 4s forwards;
}
.no-preload .preloader { display: none; }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__brand .brand__img { height: 54px; width: auto; filter: brightness(0) invert(1); }
.preloader__brand .brand__text { color: #fff; font-size: 34px; }
.preloader__bar { width: 140px; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.curtain {
  position: fixed; inset: 0; z-index: 250; background: var(--night); pointer-events: none;
  animation: apex-failsafe .6s var(--ease) 2.5s forwards;
}
.preload-active .curtain { display: none; }
@keyframes apex-failsafe { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: #fff;
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.site-header[data-tone="dark"] { color: var(--ink); }
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 2.5vw, 40px); position: relative; z-index: 2;
}
.brand { display: inline-flex; align-items: center; height: 100%; }
.brand__img { height: 32px; width: auto; transition: filter .4s var(--ease); }
.site-header[data-tone="light"] .brand__img { filter: brightness(0) invert(1); }
.brand__text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .28em; font-size: 20px; }
.brand__mark { width: 22px; height: 19px; }
.nav { display: flex; align-items: center; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { display: flex; gap: 4px; }
.nav__list a, .nav__boats {
  display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: background-color .33s var(--ease);
}
.nav__list a:hover, .nav__boats:hover, .nav__boats[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.site-header[data-tone="dark"] .nav__list a:hover,
.site-header[data-tone="dark"] .nav__boats:hover,
.site-header[data-tone="dark"] .nav__boats[aria-expanded="true"] { background: rgba(0, 0, 0, .05); }
.site-header__actions { display: flex; align-items: center; gap: 4px; }
.nav__cta, .burger {
  display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; transition: background-color .33s var(--ease);
}
.nav__cta:hover, .burger:hover { background: rgba(255,255,255,.14); }
.site-header[data-tone="dark"] .nav__cta:hover, .site-header[data-tone="dark"] .burger:hover { background: rgba(0,0,0,.05); }
.burger { display: none; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header[data-tone="dark"] .burger { background: rgba(0,0,0,.05); }

/* Méga-menu */
.site-header.is-mega { color: var(--ink); background: #fff; }
.site-header.is-mega .brand__img { filter: none; }
.site-header.is-mega .nav__list a:hover, .site-header.is-mega .nav__boats[aria-expanded="true"] { background: rgba(0,0,0,.05); }
.mega {
  position: absolute; inset: 0 0 auto; background: #fff; color: var(--ink);
  padding: calc(var(--header-h) + 32px) clamp(16px, 4vw, 64px) 48px;
  display: grid; grid-template-columns: 1fr 240px; gap: 48px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
}
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.mega__item { display: grid; justify-items: center; text-align: center; gap: 6px; }
.mega__img { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__img.is-cutout { background: transparent; }
.mega__img.is-cutout img { object-fit: contain; }
.mega__item:hover .mega__img img { transform: scale(1.06); }
.mega__title { font-weight: 500; font-size: 15px; margin-top: 4px; }
.mega__links { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.mega__links span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.mega__side { border-left: 1px solid var(--line); padding-left: 32px; display: grid; align-content: start; gap: 12px; font-weight: 500; font-size: 14px; }
.mega__side a:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-dim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.page-dim.is-on { opacity: 1; pointer-events: auto; }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; color: var(--ink);
  padding: 72px 32px 40px; overflow-y: auto; display: flex; flex-direction: column;
}
.drawer__close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius); }
.drawer__close:hover { background: var(--paper-2); }
.drawer__close .icon { width: 22px; height: 22px; }
.drawer__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 8px 12px; }
.drawer__list { margin-bottom: 24px; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius); font-size: 17px; font-weight: 500; transition: background-color .3s; }
.drawer__list a:hover { background: var(--paper-2); }
.drawer__list .icon { opacity: .35; }
.drawer__cta { margin-top: auto; }

/* ---------- Panneaux plein écran ---------- */
.panel {
  position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  text-align: center; color: #fff; background: var(--night);
  isolation: isolate;
}
.snap { scroll-snap-align: start; }
.panel[data-tone="dark"] { color: var(--ink); background: var(--paper-2); }
.panel--short { height: 70vh; min-height: 460px; }
.panel__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.panel__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 32%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
}
.panel__shade--strong { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%); }
.panel[data-tone="dark"] .panel__shade { background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 35%); }
.panel__content { padding: calc(var(--header-h) + 12vh) var(--gutter) 0; max-width: 980px; }
.panel__content--center { margin: auto 0; padding-top: 0; }
.panel__kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 12px; }
.panel__title { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; }
.panel__title--xl { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.025em; }
.panel__sub { font-size: clamp(14px, 1.2vw, 17px); margin-top: 10px; opacity: .92; }
.panel__actions { display: flex; gap: 24px; justify-content: center; padding: 0 var(--gutter) 13vh; width: 100%; }
.panel__actions--inline { padding-bottom: 0; margin-top: 32px; }
.panel--empty { background: radial-gradient(ellipse at 50% 120%, #1d2b4a, var(--night) 60%); }

.scroll-hint {
  position: absolute; bottom: 4vh; left: 50%; translate: -50% 0; width: 40px; height: 40px;
  display: grid; place-items: center; color: inherit; opacity: .8;
  animation: apex-bob 2.2s var(--ease) infinite;
}
.scroll-hint .icon { width: 26px; height: 26px; }
@keyframes apex-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Points de navigation (accueil) */
.dots { position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 60; display: grid; gap: 12px; }
.dots button { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; transition: opacity .3s, transform .4s var(--ease); color: #fff; }
.dots.is-dark button { color: var(--ink); }
.dots button.is-active { opacity: 1; transform: scale(1.35); }
.dots button span {
  position: absolute; right: 18px; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 12px; font-weight: 500;
  opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.dots button:hover span, .dots button.is-active span { opacity: .9; transform: none; }

/* Fiche bateau : bas du hero */
.boat-hero__bottom { width: 100%; padding: 0 var(--gutter) 9vh; display: grid; justify-items: center; gap: 8px; }
.boat-hero__bottom .panel__actions--inline { margin-top: 28px; }
.stats { display: flex; justify-content: center; gap: clamp(28px, 6vw, 96px); }
.stat { display: grid; justify-items: center; gap: 2px; }
.stat__value { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.stat__unit { font-size: .6em; margin-left: 3px; font-weight: 500; }
.stat__label { font-size: 13px; opacity: .85; }

/* ---------- Intro ---------- */
.intro { background: var(--paper); }
.intro__statement { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.18; font-weight: 500; letter-spacing: -.02em; max-width: 1100px; }
.intro__statement .w { display: inline-block; white-space: pre; }
.intro__text { margin-top: clamp(32px, 5vw, 64px); max-width: 640px; margin-left: auto; color: var(--ink-2); font-size: 17px; }

/* ---------- Configurateur ---------- */
.config { background: linear-gradient(180deg, #fff 0%, #f4f5f6 100%); overflow: hidden; }
.config__inner { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; min-height: calc(100vh - 160px); }
.config__stage { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.config__glow { position: absolute; inset: 10% 5%; background: radial-gradient(ellipse at center, rgba(62,106,225,.12), transparent 65%); filter: blur(20px); }
.config__img { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
.config__img.is-active { opacity: 1; visibility: visible; }
.config__img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.18)); }
.config__floor { position: absolute; left: 12%; right: 12%; bottom: 4%; height: 18px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.22), transparent 70%); filter: blur(6px); }
.config__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.config__name { font-size: clamp(36px, 4vw, 54px); margin: 6px 0 28px; }
.config__models { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 28px; }
.config__model {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; text-align: left; background: #fff;
  transition: box-shadow .3s var(--ease), background-color .3s;
}
.config__model small { color: var(--muted); font-weight: 400; font-size: 12px; }
.config__model:hover { box-shadow: inset 0 0 0 1px #b8b9bb; }
.config__model.is-active { box-shadow: inset 0 0 0 2px var(--blue); }
.specs { margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.specs__row { background: #fff; padding: 16px 18px; }
.specs__row[hidden] { display: none; }
.specs dt { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.specs dd { margin: 2px 0 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.config__note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- Cartes / points forts ---------- */
.highlights { background: var(--paper-2); }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.highlights__grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 6px; overflow: hidden; padding: 0 0 28px; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #e9eaeb; margin-bottom: 24px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__title { font-size: 20px; padding: 0 24px; }
.card:not(:has(.card__media)) { padding-top: 28px; }
.card__text { padding: 8px 24px 0; color: var(--muted); }

/* ---------- Galerie horizontale ---------- */
.hgallery { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.hgallery .section__title { color: #fff; }
.hgallery__track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; }
.hgallery__item { margin: 0; width: min(62vw, 980px); height: min(68vh, 640px); border-radius: 6px; overflow: hidden; flex: none; background: #1a1c20; }
.hgallery__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

/* ---------- Équipement ---------- */
.equipment__list { columns: 3 260px; column-gap: 48px; }
.equipment__list li { break-inside: avoid; display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.equipment__list .icon { color: var(--blue); margin-top: 2px; }

/* ---------- Autres gammes ---------- */
.others { padding-bottom: clamp(60px, 8vw, 120px); }
.others .section__title { margin-bottom: 28px; }
.others__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 16px; scrollbar-width: thin; }
.others__item { flex: none; width: min(340px, 78vw); scroll-snap-align: start; display: grid; gap: 4px; }
.others__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-2); margin-bottom: 8px; }
.others__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.others__item:hover .others__img img { transform: scale(1.06); }
.others__title { font-weight: 500; font-size: 17px; }
.others__sub { color: var(--muted); font-size: 14px; }

/* ---------- Page entête / gamme ---------- */
.page-head { padding: calc(var(--header-h) + clamp(60px, 10vw, 130px)) 0 clamp(20px, 3vw, 40px); }
.page-head__title { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.025em; }
.page-head__sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 640px; }
.range__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.range__card { display: grid; grid-template-rows: auto 1fr; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.range__media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.range__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.range__card:hover .range__media img { transform: scale(1.04); }
.range__body { padding: 24px 24px 28px; display: grid; gap: 14px; align-content: space-between; }
.range__title { font-size: 26px; }
.range__sub { color: var(--muted); margin-top: 4px; }
.range__models { font-size: 13px; color: var(--ink-2); }
.range__actions { display: flex; gap: 12px; }

/* ---------- À propos ---------- */
.timeline__list { position: relative; display: grid; gap: clamp(48px, 8vw, 120px); padding-left: 32px; }
.timeline__list::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__list::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--blue); transform: scaleY(var(--progress, 0)); transform-origin: top; }
.timeline__item { display: grid; grid-template-columns: 200px 1fr minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--blue); }
.timeline__year { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; }
.timeline__body h3 { font-size: 22px; margin-bottom: 10px; }
.timeline__body p { color: var(--muted); }
.timeline__media { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.timeline__media img { width: 100%; height: 100%; object-fit: cover; }
.bignums { background: var(--night); color: #fff; }
.bignums__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.bignum { display: grid; gap: 8px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.bignum__value { font-size: clamp(44px, 5.4vw, 80px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.bignum__value .stat__unit { font-size: .45em; }
.bignum__label { color: rgba(255,255,255,.65); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 6px; overflow: hidden; min-height: 280px; }
.service__media { overflow: hidden; background: #e6e7e8; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.service__body h3 { font-size: 21px; margin-bottom: 10px; }
.service__body p { color: var(--muted); }
.service__body .link-arrow { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 100vh; }
.contact__media { position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff; display: flex; align-items: flex-end; background: var(--night); isolation: isolate; }
.contact__img { position: absolute; inset: -6% 0; z-index: -2; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; }
.contact__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%, rgba(0,0,0,.65)); }
.contact__media-text { padding: 0 clamp(24px, 4vw, 64px) clamp(40px, 8vh, 80px); max-width: 640px; }
.contact__form-wrap { padding: calc(var(--header-h) + clamp(40px, 8vh, 96px)) clamp(20px, 4vw, 72px) 80px; background: #fff; }
.form { display: grid; gap: 18px; max-width: 520px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper-2); border: 0; border-radius: var(--radius);
  height: 40px; padding: 0 14px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s;
}
.field textarea { height: auto; padding: 10px 14px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23171a20' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--ink-2); }
.seg { display: flex; background: var(--paper-2); border-radius: var(--radius); padding: 4px; gap: 4px; }
.seg__opt { flex: 1; position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span { display: grid; place-items: center; height: 32px; border-radius: 3px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: background-color .3s, box-shadow .3s; text-align: center; }
.seg__opt input:checked + span { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); color: var(--ink); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; max-width: 520px; font-size: 14px; }
.notice--ok { background: #ecf6ef; color: #18562c; }
.notice--ok .icon { color: #1d8a42; width: 22px; height: 22px; }
.notice--err { background: #fdeeee; color: #8a1d1d; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; max-width: 520px; }
.contact__card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--paper-2); border-radius: var(--radius); font-size: 14px; transition: background-color .3s; word-break: break-word; }
a.contact__card:hover { background: #ebebeb; }
.contact__card small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.contact__card .icon { color: var(--blue); margin-top: 2px; }
.contact__extra { margin-top: 32px; max-width: 520px; }

/* ---------- Texte riche ---------- */
.prose { font-size: 17px; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 22px; margin-top: 1.4em; color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose img { border-radius: 6px; }
.post-cover { margin-bottom: 40px; border-radius: 6px; overflow: hidden; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.post-card { display: grid; gap: 6px; }
.post-card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper-2); margin-bottom: 8px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__date { font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 19px; font-weight: 500; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 6px 12px; border-radius: var(--radius); background: var(--paper-2); }
.pagination .current { background: var(--ink); color: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.72); padding: clamp(60px, 8vw, 100px) var(--gutter) 28px; font-size: 14px; }
.site-footer__top { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand--footer .brand__img { height: 40px; filter: brightness(0) invert(1); }
.brand--footer .brand__text { color: #fff; }
.site-footer__brand p { margin-top: 18px; max-width: 360px; }
.site-footer__label { color: #fff; font-weight: 500; margin-bottom: 14px; }
.site-footer__col li + li { margin-top: 8px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 2px; opacity: .7; }
.site-footer__bottom { max-width: 1400px; margin: 0 auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__menu { display: flex; gap: 24px; }

/* WhatsApp */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: rgba(23,26,32,.82); color: #fff; font-size: 13px; font-weight: 500;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.2);
  transition: transform .4s var(--ease), background-color .3s;
}
.wa-float svg { width: 22px; height: 22px; color: #25d366; }
.wa-float:hover { transform: translateY(-2px); background: rgba(23,26,32,.95); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mega { display: none !important; }
}
@media (max-width: 1024px) {
  .config__inner { grid-template-columns: 1fr; min-height: 0; }
  .config__stage { aspect-ratio: 16 / 11; }
  .highlights__grid, .highlights__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline__item { grid-template-columns: 1fr; gap: 14px; }
  .bignums__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__media { position: relative; height: 70vh; min-height: 460px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .dots { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .nav__cta { display: none; }
  .btn { min-width: 0; width: 100%; }
  .panel__actions { flex-direction: column; gap: 12px; padding-bottom: 8vh; max-width: 420px; }
  .panel__actions--inline { padding-bottom: 0; }
  .stats { gap: 22px; }
  .stat__label { font-size: 11px; }
  .boat-hero__bottom { padding-bottom: 6vh; }
  .highlights__grid, .highlights__grid--4, .range__grid, .posts { grid-template-columns: 1fr; }
  .bignums__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .service { grid-template-columns: 1fr; }
  .service__media { aspect-ratio: 16 / 9; }
  .form__row, .contact__cards { grid-template-columns: 1fr; }
  .hgallery__item { width: 82vw; height: 52vh; }
  .site-footer__top { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 48px; height: 48px; justify-content: center; }
  .specs dd { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.is-snap { scroll-snap-type: none; }
}

/* ---------- Ajouts motion ---------- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.sw-i { display: inline-block; will-change: transform; }
.site-header.is-solid { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header.is-solid .brand__img { filter: none; }
.drawer::before { opacity: var(--a, 1); }
.hgallery.is-native .hgallery__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.hgallery.is-native .hgallery__item { scroll-snap-align: center; }
.hgallery.is-native .hgallery__item img { transform: none; }
.js .preloader__logo { opacity: 0; }

/* Barre d'admin WordPress (connecté) */
.admin-bar .site-header { top: 32px; }
.admin-bar .mega { padding-top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { #wpadminbar { position: fixed; } }

/* Configurateur : photos (non détourées) */
.config__img.is-photo img { border-radius: 6px; filter: none; box-shadow: 0 40px 60px -30px rgba(0,0,0,.35); max-height: 92%; }
.config__stage:has(.config__img.is-active.is-photo) .config__floor { opacity: 0; }

/* Correctifs configurateur v1.0.3 */
.config__img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.config__img.is-photo img { object-fit: cover; max-height: none; border-radius: 6px; }
.specs { background: #fff; gap: 0; border: 1px solid var(--line); }
.specs__row { box-shadow: 0 0 0 .5px var(--line); }
.config__models { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.config__img img { position: absolute; inset: 0; }

/* ==========================================================================
   Accueil cinématique (v1.1)
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.is-home { background: var(--night); }
.is-home .site-main { background: var(--night); }
.line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* 1. Plongée */
.dive { position: relative; height: 100vh; height: 100svh; background: var(--night); color: #fff; }
.dive__stage { position: relative; height: 100%; overflow: hidden; isolation: isolate; }
.dive__media { position: absolute; inset: 0; z-index: -3; }
.dive__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 55%; }
.dive__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.72) 100%); }
.dive__mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; will-change: transform; }
.dive__veil { fill: var(--night); }
.dive__word text { font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; fill: #000; }
.dive__intro { position: absolute; inset: auto 0 0; padding: 0 clamp(16px, 3vw, 48px) clamp(24px, 5vh, 48px); display: grid; gap: 28px; }
.dive__tag { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.dive__hint { justify-self: center; display: grid; justify-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.dive__hint i { display: block; width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0)); transform-origin: top; animation: apex-hint 2s var(--ease) infinite; }
@keyframes apex-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.dive__hero { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 4vw, 64px) clamp(40px, 9vh, 96px); display: grid; gap: 20px; justify-items: start; }
.dive__kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.dive__title { font-size: clamp(52px, 9vw, 150px); line-height: .95; letter-spacing: -.045em; font-weight: 600; max-width: 12ch; }
.dive__actions { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }

/* 2. Bandeau */
.marquee { background: var(--night); color: #fff; overflow: hidden; padding: clamp(40px, 7vw, 100px) 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee__row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__item { font-size: clamp(56px, 10vw, 160px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.marquee__item em { font-style: normal; color: var(--red); font-size: .45em; vertical-align: middle; margin: 0 .5em; }
.marquee__item .o { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }

/* 3. Flotte */
.fleet { background: radial-gradient(ellipse at 50% 70%, #ffffff 0%, #eef0f2 70%); color: var(--ink); height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.fleet__head { padding-top: calc(var(--header-h) + 4vh); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fleet__head .eyebrow { margin-bottom: 0; }
.fleet__head { flex-direction: column; align-items: flex-start; gap: 10px; }
.fleet__title { font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.03em; }
.fleet__viewport { flex: 1; display: flex; align-items: center; min-height: 0; }
.fleet__track { display: flex; gap: 0; padding: 0 10vw; width: max-content; height: 100%; align-items: stretch; }
.fleet__slide { position: relative; width: 80vw; flex: none; display: grid; grid-template-rows: 1fr auto; padding: 2vh 3vw 3vh; }
.fleet__ghost { position: absolute; left: 50%; top: 46%; translate: -50% -50%; font-size: clamp(110px, 14vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(23,26,32,.1); white-space: nowrap; pointer-events: none; z-index: 0; transition: -webkit-text-stroke-color .6s; }
.fleet__slide.is-active .fleet__ghost { -webkit-text-stroke-color: rgba(62,106,225,.22); }
.fleet__boat { position: relative; z-index: 1; display: grid; place-items: center; min-height: 0; }
.fleet__boat img { max-height: 46vh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 40px 30px rgba(0,0,0,.2)); }
.fleet__info { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 40px; }
.fleet__line { grid-column: 1 / -1; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fleet__name { font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -.03em; }
.fleet__specs { display: flex; gap: clamp(20px, 3vw, 48px); }
.fleet__specs li { display: grid; }
.fleet__specs b { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.fleet__specs small { font-size: .55em; margin-left: 2px; }
.fleet__specs span { font-size: 12px; color: var(--muted); }
.fleet__info .link-arrow { margin: 0; }
.fleet__progress { display: flex; align-items: center; gap: 24px; padding-bottom: 4vh; }
.fleet__count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fleet__count b { color: var(--ink); font-weight: 600; }
.fleet__bar { flex: 1; height: 1px; background: rgba(0,0,0,.12); position: relative; }
.fleet__bar i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.fleet.is-native { height: auto; padding-bottom: 32px; }
.fleet.is-native .fleet__viewport { overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 0; }
.fleet.is-native .fleet__track { padding: 0 16px; gap: 12px; height: auto; }
.fleet.is-native .fleet__slide { width: 86vw; scroll-snap-align: center; background: #fff; border-radius: 10px; padding: 24px; min-height: 420px; }
.fleet.is-native .fleet__ghost { font-size: 34vw; top: 34%; }
.fleet.is-native .fleet__boat img { max-height: 30vh; }
.fleet.is-native .fleet__info { grid-template-columns: 1fr; }
.fleet.is-native .fleet__progress { display: none; }

/* 4. Chiffres */
.numbers { position: relative; background: var(--night); color: #fff; padding: clamp(100px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); overflow: hidden; isolation: isolate; }
.numbers__bg { position: absolute; inset: -10% 0; z-index: -1; opacity: .22; }
.numbers__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.numbers::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(11,12,15,.4) 40%, var(--night) 100%); }
.numbers__lead { font-size: clamp(26px, 3.4vw, 54px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; max-width: 1150px; margin-bottom: clamp(64px, 10vw, 140px); }
.numbers__lead .w { display: inline-block; white-space: pre; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.numbers__link { color: #fff; margin-top: 56px; }

/* 5. Gammes */
.lines { position: relative; background: #fff; color: var(--ink); padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.lines__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.lines__head .link-arrow { margin: 0; }
.lines__list { border-top: 1px solid var(--line); }
.lines__item { border-bottom: 1px solid var(--line); }
.lines__item a { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 300px) 32px; align-items: center; gap: 24px; padding: clamp(18px, 2.6vw, 34px) 0; transition: opacity .4s var(--ease); }
.lines__num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lines__name { font-size: clamp(32px, 5.2vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1; transition: transform .6s var(--ease); }
.lines__tag { color: var(--muted); font-size: 15px; text-align: right; }
.lines__thumb { display: none; }
.lines__item .icon { width: 26px; height: 26px; transition: transform .5s var(--ease); }
.lines__list:hover .lines__item a { opacity: .28; }
.lines__list .lines__item a:hover { opacity: 1; }
.lines__item a:hover .lines__name { transform: translateX(24px); }
.lines__item a:hover .icon { transform: translateX(6px) rotate(-45deg); }
.lines__preview { position: absolute; left: 0; top: 0; width: 380px; height: 270px; margin: -135px 0 0 -190px; pointer-events: none; z-index: 5; opacity: 0; visibility: hidden; transform: scale(.8); }
.lines__preview-inner { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.lines__preview-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 6. Usages */
.uses { background: #fff; color: var(--ink); padding: 0 0 clamp(80px, 10vw, 140px); }
.uses__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.uses__intro { position: sticky; top: calc(var(--header-h) + 12vh); padding-top: 12vh; }
.uses__text { color: var(--muted); font-size: 17px; max-width: 420px; }
.uses__stack { display: grid; gap: 4vh; padding-top: 12vh; }
.use { position: sticky; top: calc(var(--header-h) + 8vh + var(--i) * 18px); height: 68vh; min-height: 420px; border-radius: 12px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; transform-origin: 50% 0; will-change: transform; }
.use__media { position: absolute; inset: 0; z-index: -2; }
.use__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.use:hover .use__media img { transform: scale(1.05); }
.use::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7)); }
.use__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 6px; }
.use__num { font-size: 13px; letter-spacing: .12em; opacity: .7; }
.use__title { font-size: clamp(30px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.use__text { opacity: .85; max-width: 420px; }

/* 7. Final */
.finale { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; isolation: isolate; background: var(--night); }
.finale__media { position: absolute; inset: 0; z-index: -2; }
.finale__media img { width: 100%; height: 100%; object-fit: cover; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.6)); }
.finale__title { font-size: clamp(56px, 11vw, 180px); line-height: .92; letter-spacing: -.05em; font-weight: 600; }
.finale__actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; padding: 0 16px; }

@media (max-width: 1024px) {
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .uses__inner { grid-template-columns: 1fr; }
  .uses__intro { position: static; padding-top: 80px; }
  .uses__stack { padding-top: 0; }
}
@media (max-width: 899px) {
  .lines__item a { grid-template-columns: 36px minmax(0, 1fr) 72px; gap: 14px; }
  .lines__tag, .lines__item .icon { display: none; }
  .lines__thumb { display: block; width: 72px; height: 54px; border-radius: 6px; overflow: hidden; }
  .lines__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .lines__preview { display: none; }
  .use { position: relative; top: auto; height: 56vh; min-height: 340px; }
}
@media (max-width: 680px) {
  .dive__tag span:last-child { display: none; }
  .dive__actions { width: 100%; }
  .dive__actions .btn { flex: 1; }
  .finale__actions .btn { width: 100%; max-width: 360px; }
}
