/* ==========================================================================
   Labrador Surfboards — feuille de style principale
   Palette : sable, blanc cassé, bois, rouge Labrador (logo), vert océan, charbon
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #e8dcc8;
  --sand-deep: #dccdb3;
  --paper: #f7f4ed;
  --wood: #72543e;
  --terracotta: #b86f50;
  --red: #c7402d;          /* rouge du logo, adouci */
  --red-ink: #a8321f;      /* version contrastée pour texte / boutons */
  --ocean: #244c49;
  --ocean-deep: #183634;
  --charcoal: #262623;
  --ink-soft: #4f4a42;
  --line: rgba(38, 38, 35, .14);

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

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--paper);
  background-image: var(--grain);
  background-size: 220px;
  background-blend-mode: multiply;
  overflow-x: hidden;
}
body::selection, ::selection { background: var(--ocean); color: var(--paper); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 120, "SOFT" 50;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: var(--red-ink); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 38em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .section--ocean .eyebrow, .section--charcoal .eyebrow { color: var(--sand); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--sand { background-color: var(--sand); background-image: var(--grain); background-size: 220px; background-blend-mode: multiply; }
.section--ocean { background: var(--ocean); color: var(--paper); }
.section--ocean .lead { color: rgba(247, 244, 237, .82); }
.section--ocean h2 em, .section--ocean h3 em { color: var(--sand); }
.section--charcoal { background: var(--charcoal); color: var(--paper); }

.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; } }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.section-head--split > div { max-width: 640px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--charcoal); color: var(--paper); padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--charcoal); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 26px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg); border-radius: 999px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --bg: var(--ocean); }
.btn--accent { --bg: var(--red-ink); }
.btn--accent:hover { --bg: var(--charcoal); }
.btn--ghost { --bg: transparent; --fg: var(--charcoal); border-color: rgba(38, 38, 35, .35); }
.btn--ghost:hover { --bg: var(--charcoal); --fg: var(--paper); border-color: var(--charcoal); }
.on-dark .btn--ghost, .section--ocean .btn--ghost, .section--charcoal .btn--ghost { --fg: var(--paper); border-color: rgba(247, 244, 237, .45); }
.on-dark .btn--ghost:hover, .section--ocean .btn--ghost:hover, .section--charcoal .btn--ghost:hover { --bg: var(--paper); --fg: var(--charcoal); }
.section--ocean .btn:not(.btn--ghost):not(.btn--accent) { --bg: var(--paper); --fg: var(--charcoal); }
.section--ocean .btn:not(.btn--ghost):not(.btn--accent):hover { --bg: var(--sand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .9rem; letter-spacing: .03em; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Bandeau de revue ---------- */
.review-bar {
  display: none;
  background: var(--charcoal); color: var(--sand);
  font-size: .78rem; letter-spacing: .02em; text-align: center; padding: 8px var(--gutter);
}
.review-bar strong { color: var(--paper); }
.review-bar button { background: none; border: 0; color: var(--paper); text-decoration: underline; cursor: pointer; padding: 0 4px; font-size: inherit; }
html.review .review-bar { display: block; }
.verify { display: none; }
html.review .verify {
  display: inline-block; vertical-align: middle;
  font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-style: normal;
  color: #7a4a00; background: #ffe7b0; border: 1px dashed #c08a2a; border-radius: 3px; padding: 2px 7px; margin-left: 6px;
  line-height: 1.4;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .45s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 244, 237, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 30px -18px rgba(38, 38, 35, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-name span { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--wood); margin-top: 5px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav li a {
  position: relative; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--charcoal); padding: 6px 0;
}
.main-nav li a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red-ink);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav li a[aria-current="page"] { color: var(--red-ink); }
.header-cta { min-height: 42px; padding: 0 20px; font-size: .82rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%;
  cursor: pointer; position: relative; color: var(--charcoal);
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    background: var(--paper); background-image: var(--grain); background-size: 220px; background-blend-mode: multiply;
    padding: 32px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li a { display: flex; justify-content: space-between; padding: 18px 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; }
  .main-nav li a::after { display: none; }
  .mobile-nav-extra { display: block !important; margin-top: 32px; }
  .nav-open { overflow: hidden; }
}
.mobile-nav-extra { display: none; }
.mobile-nav-extra p { font-size: .9rem; color: var(--ink-soft); margin: 18px 0 0; }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.2fr .8fr; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--charcoal); line-height: 1.1; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-frame {
  position: relative; background: var(--sand); padding: 14px 14px 0; border-radius: 2px;
  box-shadow: 0 40px 80px -40px rgba(38, 38, 35, .45);
  transform: translate3d(0, var(--py, 0px), 0) rotate(1.2deg);
}
.hero-frame img { width: 100%; aspect-ratio: 315 / 470; object-fit: cover; object-position: center 40%; }
.hero-frame figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; padding: 12px 2px 14px; color: var(--ink-soft); }
.hero-frame figcaption strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--charcoal); }
.hero-stamp {
  position: absolute; left: -36px; bottom: 70px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--paper); display: grid; place-items: center; box-shadow: 0 16px 40px -18px rgba(38, 38, 35, .5);
  transform: rotate(-8deg);
}
.hero-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-stamp img { width: 46px; height: 46px; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .hero-stamp { left: -6px; width: 92px; height: 92px; bottom: 60px; } .hero-stamp img { width: 36px; height: 36px; } }

.wave-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; color: var(--sand); pointer-events: none; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(48px, 7vw, 90px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14ch; }
.page-hero .lead { margin-top: 1rem; }
.page-hero--image { color: var(--paper); padding: 0; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero--image .bg { position: absolute; inset: 0; }
.page-hero--image .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 54, 52, .15) 0%, rgba(24, 54, 52, .35) 45%, rgba(20, 22, 20, .82) 100%); }
.page-hero--image .container { position: relative; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; }
.page-hero--image .lead { color: rgba(247, 244, 237, .88); }
.page-hero--image .eyebrow { color: var(--sand); }

.breadcrumb { font-size: .8rem; color: var(--ink-soft); margin-bottom: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero--image .breadcrumb { color: rgba(247, 244, 237, .75); }

/* ---------- Figures & photos ---------- */
.photo { position: relative; overflow: hidden; background: var(--sand-deep); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo figcaption, .caption {
  font-size: .78rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.45;
}
.photo.has-overlay-caption figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 14px; color: var(--paper);
  background: linear-gradient(transparent, rgba(20, 22, 20, .7));
}
.source { display: block; font-size: .72rem; letter-spacing: .02em; opacity: .75; }

/* Emplacement photo à fournir */
.photo-slot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px;
  min-height: 260px; padding: 28px; color: var(--wood);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(114, 84, 62, .06) 14px 15px),
    var(--sand);
  border: 1px dashed rgba(114, 84, 62, .45);
}
.photo-slot svg { width: 34px; height: 34px; opacity: .7; }
.photo-slot strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--charcoal); }
.photo-slot span { font-size: .8rem; max-width: 30ch; }
.photo-slot .tag { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Cartes catégories planches ---------- */
.boards-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.board-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.section--sand .board-card { background: rgba(247, 244, 237, .7); }
.board-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(38, 38, 35, .45); border-color: rgba(38, 38, 35, .25); }
.board-card .num { font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--wood); }
.board-silhouette { height: 190px; display: flex; align-items: center; justify-content: center; margin: 14px 0 18px; }
.board-silhouette svg { display: block; height: 100%; max-height: 100%; width: auto; max-width: 100%; color: var(--ocean); }
.board-silhouette svg .stringer { stroke: var(--red); }
.board-card:hover .board-silhouette svg { color: var(--red-ink); }
.board-silhouette svg path { transition: color .4s; }
.board-card h3 { margin-bottom: .35em; }
.board-card p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.board-card .link-arrow { margin-top: auto; align-self: flex-start; }
.board-card--feature { background: var(--ocean); color: var(--paper); border-color: var(--ocean); }
.board-card--feature p { color: rgba(247, 244, 237, .8); }
.board-card--feature .num { color: var(--sand); }
.board-card--feature .board-silhouette svg { color: var(--sand); }
.board-card--feature:hover .board-silhouette svg { color: var(--paper); }

/* ---------- Gamme (page planches) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(38, 38, 35, .25);
  background: transparent; color: var(--charcoal); font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.filter-btn:hover { border-color: var(--charcoal); }
.filter-btn[aria-pressed="true"] { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }

.range-list { display: grid; gap: 24px; }
.range-item {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: clamp(28px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 820px) { .range-item { grid-template-columns: 200px 1fr; gap: 48px; } }
.range-item[hidden] { display: none; }
.range-item .board-silhouette { height: 240px; margin: 0; background: var(--sand); border-radius: 2px; padding: 20px; }
.range-item h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.range-item .kicker { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); margin-bottom: .6em; display: block; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin: 24px 0 28px; border-top: 1px solid var(--line); }
.specs div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); margin-bottom: 4px; }
.specs dd { margin: 0; font-size: .95rem; }

.feature-board { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .feature-board { grid-template-columns: 380px 1fr; } }
.feature-board .photo img { aspect-ratio: 315 / 470; object-position: center 40%; }

/* ---------- Savoir-faire / étapes ---------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.step { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--red-ink); line-height: 1.1; }
.step h3 { font-size: 1.3rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.section--ocean .step, .section--ocean .steps { border-color: rgba(247, 244, 237, .18); }
.section--ocean .step p { color: rgba(247, 244, 237, .78); }
.section--ocean .step::before { color: var(--sand); }
@media (min-width: 900px) { .steps--2col { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.quote {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; letter-spacing: -.01em; margin: 0;
}
.quote::before { content: "« "; color: var(--red-ink); }
.quote::after { content: " »"; color: var(--red-ink); }
.section--ocean .quote::before, .section--ocean .quote::after { color: var(--sand); }
.quote-cite { display: block; margin-top: 18px; font-size: .82rem; font-style: normal; letter-spacing: .04em; color: var(--ink-soft); }
.section--ocean .quote-cite { color: rgba(247, 244, 237, .7); }

/* Collage photos atelier */
.collage { display: grid; gap: 14px; grid-template-columns: repeat(12, 1fr); }
.collage > * { grid-column: span 12; }
@media (min-width: 760px) {
  .collage .c-a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .collage .c-b { grid-column: 8 / span 5; }
  .collage .c-c { grid-column: 8 / span 5; }
}
.collage .photo img { aspect-ratio: 4 / 3; }
.collage .c-a img { aspect-ratio: auto; height: 100%; min-height: 360px; }

/* Bande landaise */
.strip { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } .strip > :nth-child(even) { transform: translateY(40px); } }
.strip .photo img { aspect-ratio: 361 / 560; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgba(38, 38, 35, .25); }
.timeline li { position: relative; padding: 0 0 34px 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--red-ink); }
.timeline .when { font-family: var(--font-display); font-size: 1.4rem; display: block; line-height: 1.2; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Mosaïque aperçu galerie */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 820px) { .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; } }
.mosaic a { display: block; overflow: hidden; position: relative; background: var(--sand-deep); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .m1 { grid-row: span 2; }
@media (min-width: 820px) {
  .mosaic .m1 { grid-column: span 2; grid-row: span 3; }
  .mosaic .m2 { grid-column: span 2; grid-row: span 2; }
  .mosaic .m3 { grid-column: span 2; grid-row: span 3; }
  .mosaic .m4 { grid-column: span 1; grid-row: span 1; }
  .mosaic .m5 { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Galerie (page) ---------- */
.gallery { columns: 2; column-gap: 10px; }
@media (min-width: 900px) { .gallery { columns: 3; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }
.gallery-item { break-inside: avoid; margin: 0 0 10px; position: relative; }
@media (min-width: 900px) { .gallery { column-gap: 14px; } .gallery-item { margin-bottom: 14px; } }
.gallery-item[hidden] { display: none; }
.gallery-item button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand-deep); cursor: zoom-in; overflow: hidden; position: relative;
}
.gallery-item img { width: 100%; height: auto; transition: transform 1s var(--ease), opacity .4s; }
.gallery-item button:hover img { transform: scale(1.04); }
.gallery-item .g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left;
  color: var(--paper); font-size: .78rem; background: linear-gradient(transparent, rgba(20, 22, 20, .72));
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.gallery-item button:hover .g-cap, .gallery-item button:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item .g-cap { opacity: 1; transform: none; } }
.gallery-item .photo-slot { min-height: 220px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(20, 22, 20, .94); padding: 60px 16px;
}
.lightbox.is-open { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; object-fit: contain; animation: fade .35s var(--ease); }
.lightbox figcaption { color: var(--sand); font-size: .85rem; margin-top: 14px; text-align: center; max-width: 60ch; }
.lightbox figcaption .count { display: block; font-size: .72rem; letter-spacing: .16em; opacity: .65; margin-top: 4px; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(247, 244, 237, .3);
  background: rgba(20, 22, 20, .4); color: var(--paper); cursor: pointer; display: grid; place-items: center;
  transition: background .25s, border-color .25s;
}
.lb-btn:hover { background: var(--paper); color: var(--charcoal); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Vidéo (façade sans cookies) ---------- */
.video { position: relative; aspect-ratio: 4 / 3; background: var(--charcoal); overflow: hidden; }
.video--wide { aspect-ratio: 16 / 9; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video button img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform 1s var(--ease); }
.video button:hover img { opacity: 1; transform: scale(1.03); }
.video .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--paper); color: var(--charcoal); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.video .play svg { width: 24px; height: 24px; margin-left: 4px; }
.video button:focus-visible { outline: 3px solid var(--red-ink); outline-offset: -3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .75rem; color: var(--ink-soft); margin-top: 8px; }
.video--native video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--charcoal); }
.field .opt { font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--charcoal);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(38, 38, 35, .25); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23262623' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); background: #fff; box-shadow: 0 0 0 3px rgba(36, 76, 73, .18); }
.field .hint { font-size: .78rem; color: var(--ink-soft); }
.field .error { font-size: .8rem; color: #a3261a; font-weight: 600; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #a3261a; background: #fff6f4; }
.field.is-invalid .error { display: block; }
.field input[type="file"] { font-size: .9rem; padding: 12px; border: 1px dashed rgba(38, 38, 35, .35); border-radius: var(--radius); background: rgba(255, 255, 255, .45); }
.field input[type="file"]::file-selector-button {
  font: inherit; font-size: .82rem; font-weight: 700; border: 0; border-radius: 999px; padding: 8px 16px; margin-right: 12px;
  background: var(--charcoal); color: var(--paper); cursor: pointer;
}
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ocean); }
.checkbox.is-invalid { color: #a3261a; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(38, 38, 35, .25); font-size: .88rem; font-weight: 600; background: rgba(255, 255, 255, .5);
  transition: background .2s, color .2s, border-color .2s;
}
.chip input:checked + span { background: var(--ocean); color: var(--paper); border-color: var(--ocean); }
.chip input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: 2px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.form-status { padding: 18px 20px; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e3eee9; color: var(--ocean-deep); border: 1px solid rgba(36, 76, 73, .3); }
.form-status--warn { background: #fff3dc; color: #5b3d00; border: 1px solid #e3c27a; }
.form-status--err { background: #fbe7e3; color: #7d1d12; border: 1px solid #e4a99f; }
.form-status a { font-weight: 700; }
.form-footnote { font-size: .78rem; color: var(--ink-soft); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 52px); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--ocean); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list .label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); }
.contact-list a, .contact-list .value { font-size: 1.08rem; font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band .emblem { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--charcoal); color: rgba(247, 244, 237, .78); padding-top: clamp(64px, 8vw, 100px); font-size: .92rem; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-bottom: 56px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-name span { color: var(--sand); }
.footer-about { max-width: 34ch; margin-top: 18px; }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(247, 244, 237, .86); }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(247, 244, 237, .14); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .78rem; color: rgba(247, 244, 237, .6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(247, 244, 237, .25); display: grid; place-items: center; transition: background .25s, color .25s; }
.socials a:hover { background: var(--paper); color: var(--charcoal); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Divers ---------- */
.notice {
  display: flex; gap: 14px; padding: 18px 20px; background: rgba(232, 220, 200, .6); border-left: 3px solid var(--wood);
  font-size: .9rem; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.notice strong { color: var(--charcoal); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.todo { background: #ffe7b0; padding: 0 4px; border-radius: 2px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 6px 14px; border: 1px solid rgba(38, 38, 35, .2); border-radius: 999px; font-size: .85rem; }
.section--ocean .pill-list li { border-color: rgba(247, 244, 237, .3); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 40px; }
.stat-row strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 8px; }
.stat-row span { font-size: .85rem; color: var(--ink-soft); }
.section--ocean .stat-row span { color: rgba(247, 244, 237, .75); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ajustements mobile */
@media (max-width: 819px) {
  .range-item .board-silhouette { height: 240px; }
  .feature-board .photo { max-width: 340px; width: 100%; margin-inline: auto; }
}
.page-hero--image h1 em { color: var(--sand); }

/* ==========================================================================
   Animations : entrées, décalages, tracés, parallaxe, bandeau défilant
   (toutes neutralisées par prefers-reduced-motion, voir en haut du fichier)
   ========================================================================== */
@keyframes riseIn { from { opacity: 0; translate: 0 28px; } }
@keyframes lineUp {
  from { clip-path: inset(0 0 100% 0); translate: 0 .55em; }
  to   { clip-path: inset(-20% -5% -35% -5%); translate: 0 0; }
}
@keyframes frameIn { from { opacity: 0; translate: 50px 70px; rotate: 9deg; } }
@keyframes pop { from { opacity: 0; scale: .3; } }
@keyframes kenburns { from { scale: 1.16; opacity: .35; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes waveSlide { to { -webkit-mask-position: 120px 0; mask-position: 120px 0; } }

/* Hero d'accueil : le texte arrive ligne par ligne, la planche glisse en place */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; }
.hero .eyebrow { animation: riseIn .8s var(--ease) both; }
.hero h1 .line { animation: lineUp 1.1s var(--ease) .1s both; }
.hero h1 .line:nth-child(2) { animation-delay: .22s; }
.hero h1 .line:nth-child(3) { animation-delay: .34s; }
.hero .lead { animation: riseIn .9s var(--ease) .55s both; }
.hero .btn-row { animation: riseIn .9s var(--ease) .7s both; }
.hero-meta { animation: riseIn .9s var(--ease) .85s both; }
.hero-visual { animation: frameIn 1.4s var(--ease) .35s both; }
.hero-stamp { animation: pop .9s cubic-bezier(.3, 1.6, .5, 1) 1.25s both; }
.hero-frame { will-change: transform; }

/* En-têtes des pages internes */
.page-hero .breadcrumb { animation: riseIn .7s var(--ease) both; }
.page-hero .eyebrow { animation: riseIn .8s var(--ease) .1s both; }
.page-hero h1 { animation: riseIn 1s var(--ease) .18s both; }
.page-hero .lead { animation: riseIn 1s var(--ease) .32s both; }
.page-hero .btn-row, .page-hero .stat-row { animation: riseIn 1s var(--ease) .46s both; }
.page-hero--image .bg { inset: -10% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.page-hero--image .bg img { animation: kenburns 2.8s var(--ease) both; }

/* Groupes qui apparaissent élément par élément */
.stagger > * {
  opacity: 0; translate: 0 26px;
  transition: opacity .8s var(--ease), translate .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.stagger.is-in > * { opacity: 1; translate: 0 0; }
.board-card.reveal, .stagger > .board-card { transition-property: opacity, translate, transform, box-shadow, border-color; }

/* Photos dévoilées par un rideau */
.wipe { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.wipe img { transform: scale(1.22); transition: transform 1.8s var(--ease); transition-delay: inherit; }
.wipe.is-in { clip-path: inset(0 0 0 0); }
.wipe.is-in img { transform: none; }
.wipe.is-in:hover img { transform: scale(1.04); transition-delay: 0s; }
.video.wipe.is-in button:hover img { transform: scale(1.03); }

/* Silhouettes de planches tracées au crayon */
.js .board-silhouette path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease) .15s; }
.js .board-silhouette .stringer { transition-duration: 1.4s; transition-delay: .85s; }
.js .board-silhouette.drawn path { stroke-dashoffset: 0; }
.board-silhouette svg { transition: transform .7s var(--ease), color .4s; }
.board-card:hover .board-silhouette svg { transform: translateY(-8px) rotate(-4deg); }
.range-item:hover .board-silhouette svg { transform: translateY(-6px) rotate(3deg); }

/* Parallaxe douce sur la bande de photos landaises */
.strip .photo img { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); transition: none; }
.strip .photo:hover img { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); }

/* Boutons : légère élévation */
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(38, 38, 35, .55); }
.btn:active { transform: translateY(0); box-shadow: none; }

/* Header qui s'efface en descendant, revient en remontant */
.site-header.is-hidden { transform: translateY(-110%); }

/* Bandeau défilant */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0;
  background: var(--paper);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; color: var(--charcoal); padding-inline: 22px; white-space: nowrap;
}
.marquee span.sep { color: var(--red-ink); font-style: normal; font-size: clamp(1rem, 2vw, 1.4rem); align-self: center; }

/* Vague animée en haut des sections sombres */
.section--ocean::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: inherit; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0 16V9Q30 1 60 9T120 9V16Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0 16V9Q30 1 60 9T120 9V16Z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px;
  animation: waveSlide 7s linear infinite;
}

/* ==========================================================================
   Configurateur 3D
   ========================================================================== */
.page-hero--compact { padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero--compact h1 { max-width: 18ch; }
.configurator { padding-bottom: clamp(72px, 9vw, 120px); }
.config-grid { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .config-grid { grid-template-columns: 1.1fr .9fr; } }

.config-viewer { position: relative; }
@media (min-width: 980px) { .config-viewer { position: sticky; top: calc(var(--header-h) + 20px); } }
@media (max-width: 979px) {
  .config-viewer { position: sticky; top: 0; z-index: 5; margin-inline: calc(var(--gutter) * -1); }
  .config-viewer .viewer-card { border-radius: 0; border-inline: 0; }
  .config-viewer .viewer-stage { height: 38vh; min-height: 240px; }
  .viewer-hint { display: none; }
}
.viewer-card {
  position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 30%, #fbf8f2 0%, #efe5d4 60%, #e2d3ba 100%);
}
.viewer-stage { height: min(68vh, 620px); min-height: 360px; cursor: grab; touch-action: none; }
.viewer-stage:active { cursor: grabbing; }
.viewer-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer-hud {
  position: absolute; left: 16px; top: 14px; display: flex; flex-direction: column; gap: 2px; pointer-events: none;
  padding: 10px 14px; border-radius: 4px; background: rgba(247, 244, 237, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hud-type { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.hud-dims { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.15; transition: color .3s; }
.hud-vol { font-size: .85rem; color: var(--ink-soft); }
.hud-vol small { font-size: .7rem; opacity: .75; margin-left: 4px; }
.viewer-tools {
  position: absolute; right: 12px; bottom: 12px; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(247, 244, 237, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line);
}
.viewer-tools button {
  min-width: 40px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font-size: .78rem; font-weight: 700; color: var(--charcoal); cursor: pointer; transition: background .2s, color .2s;
}
.viewer-tools button:hover { background: rgba(38, 38, 35, .08); }
.viewer-tools button[aria-pressed="true"] { background: var(--charcoal); color: var(--paper); }
@media (max-width: 560px) { .viewer-tools button { padding: 0 9px; min-width: 34px; } .viewer-hud { left: 10px; top: 10px; padding: 8px 10px; } }
.viewer-fallback { position: absolute; inset: auto 16px 16px; font-size: .9rem; color: var(--ink-soft); }
.viewer-hint { font-size: .8rem; color: var(--ink-soft); margin: 10px 2px 0; }

.config-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3.5vw, 44px); scroll-margin-top: calc(38vh + 16px); }
@media (min-width: 980px) { .config-panel { scroll-margin-top: calc(var(--header-h) + 20px); } }
.config-progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.config-bar { height: 3px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.config-bar span { display: block; height: 100%; width: 0; background: var(--red-ink); border-radius: 3px; transition: width .6s var(--ease); }
.config-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; animation: riseIn .55s var(--ease) both; }
.config-step:focus { outline: none; }
.config-step > legend { padding: 0; margin-bottom: 4px; }
.step-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 8px; }
.step-title { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; color: var(--charcoal); margin: 0; }
.step-title:focus { outline: none; }
.step-intro { color: var(--ink-soft); margin: -6px 0 0; }
.config-step fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.config-step fieldset.field > legend { padding: 0; margin-bottom: 10px; }
fieldset.field.is-invalid .choice, fieldset.field.is-invalid .chip span { border-color: #a3261a; }

.choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.choices--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices--3 { grid-template-columns: 1fr 1fr 1fr; } }
.choice {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; cursor: pointer;
  border: 1px solid rgba(38, 38, 35, .2); border-radius: 6px; background: rgba(255, 255, 255, .5);
  transition: border-color .2s, background .2s, transform .25s var(--ease), box-shadow .25s;
}
.choice:hover { border-color: rgba(38, 38, 35, .45); transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .c-title { font-weight: 700; font-size: .98rem; }
.choice .c-desc { font-size: .84rem; color: var(--ink-soft); line-height: 1.45; }
.choice:has(input:checked) { border-color: var(--ocean); background: #e6efec; box-shadow: inset 0 0 0 1px var(--ocean); }
.choice:has(input:checked) .c-title::after { content: " ✓"; color: var(--ocean); }
.choice:has(input:focus-visible) { outline: 2px solid var(--red-ink); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span {
  display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(38, 38, 35, .25); transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(38, 38, 35, .25), 0 0 0 3px var(--paper), 0 0 0 5px var(--charcoal); }
.swatch input:focus-visible + span { outline: 2px solid var(--red-ink); outline-offset: 5px; }
.swatch em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: .72rem; font-weight: 600; background: var(--charcoal); color: var(--paper); padding: 3px 8px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.swatch:hover em, .swatch input:focus-visible ~ em { opacity: 1; }

.config-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.config-nav [data-next] { margin-left: auto; }

.config-result { gap: 16px; }
.result-dims { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; }
.result-dims strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--red-ink); }
.result-dims span { color: var(--ink-soft); font-size: .9rem; }
.result-specs { margin: 4px 0 8px; }
.result-sub { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); margin: 14px 0 0; }
.result-why { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.result-why li { position: relative; padding-left: 22px; font-size: .95rem; color: var(--ink-soft); }
.result-why li::before { content: "✦"; position: absolute; left: 0; color: var(--red-ink); font-size: .8rem; top: 2px; }
.result-why strong { color: var(--charcoal); }
.tuners { display: grid; gap: 16px; }
.tuner label { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.tuner output { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--red-ink); letter-spacing: 0; }
.tuner input[type=range] { width: 100%; accent-color: var(--ocean); height: 28px; }
.reset-tune, [data-restart] { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 3px; cursor: pointer; justify-self: start; color: var(--charcoal); }
.result-notice { margin-top: 8px; }
.result-actions { margin-top: 8px; }

.config-thumb { float: right; width: 120px; height: auto; border-radius: 4px; margin: 0 0 8px 14px; }

/* Mise en avant du configurateur ailleurs sur le site */
.config-promo { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .config-promo { grid-template-columns: 1fr 1fr; } }
.config-promo .board-silhouette { height: 260px; }
.config-step[hidden] { display: none; }
.btn[hidden], .viewer-tools[hidden] { display: none; }
.config-step label.choice { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.config-step label.chip, .config-step label.swatch { letter-spacing: 0; }
.result-pitch { margin: -6px 0 0; color: var(--ink-soft); font-style: italic; font-family: var(--font-display); font-size: 1.1rem; }
.alt-list { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .alt-list { grid-template-columns: 1fr 1fr; } }
.alt-btn {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; cursor: pointer;
  border: 1px dashed rgba(38, 38, 35, .3); border-radius: 6px; background: rgba(255, 255, 255, .45); color: var(--charcoal);
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.alt-btn:hover { border-style: solid; border-color: var(--ocean); background: #eef4f2; transform: translateY(-2px); }
.alt-btn strong { font-size: .95rem; }
.alt-btn span { font-size: .82rem; color: var(--ink-soft); line-height: 1.45; }
.alt-btn em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--ocean); margin-top: 2px; }
.alt-btn--reset { border-color: rgba(168, 50, 31, .35); }
.alt-btn--reset em { color: var(--red-ink); }

/* ==========================================================================
   Guide des planches
   ========================================================================== */
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.guide-toc a { padding: 8px 16px; border: 1px solid rgba(38, 38, 35, .2); border-radius: 999px; font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.guide-toc a:hover { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }

.shape-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.shape-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.shape-card[hidden] { display: none; }
.shape-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(38, 38, 35, .45); }
.shape-card:hover .board-silhouette svg { transform: translateY(-6px) rotate(-3deg); }
.shape-card .board-silhouette { height: 170px; margin: 4px 0 16px; background: var(--sand); border-radius: 2px; padding: 14px; }
.shape-family { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.shape-card h3 { margin: 6px 0 8px; }
.shape-card > p { font-size: .93rem; color: var(--ink-soft); }
.shape-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 4px 0 20px; border-top: 1px solid var(--line); }
.shape-specs div { padding: 8px 0; border-bottom: 1px solid var(--line); }
.shape-specs dt { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.shape-specs dd { margin: 2px 0 0; font-size: .86rem; }
.shape-card .link-arrow { margin-top: auto; align-self: flex-start; }

.guide-others { margin-top: 40px; padding: 26px 28px; background: rgba(247, 244, 237, .7); border-radius: var(--radius); border: 1px solid var(--line); }
.guide-others h3 { font-size: 1.3rem; }
.guide-others ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.guide-others strong { color: var(--charcoal); }

.guide-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; font-size: .95rem; }
.guide-table caption { text-align: left; font-size: .78rem; color: var(--ink-soft); padding-bottom: 10px; }
.guide-table th, .guide-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.guide-table thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.guide-table tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.guide-table + .caption { margin-bottom: 24px; }

.tail-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.tail-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .4); }
.tail-card svg { width: 56px; height: 60px; display: block; margin-bottom: 12px; fill: var(--sand); stroke: var(--ocean); stroke-width: 2; stroke-linejoin: round; transition: transform .5s var(--ease); }
.tail-card:hover svg { transform: translateY(-4px); }
.tail-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.tail-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.fin-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fin-list div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
@media (min-width: 640px) { .fin-list div { grid-template-columns: 150px 1fr; gap: 20px; } }
.fin-list dt { font-family: var(--font-display); font-size: 1.2rem; }
.fin-list dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.compare { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: 24px; border-radius: var(--radius); background: var(--sand); }
.compare h3 { font-size: 1.25rem; }
.compare p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

.mistake { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mistake .num { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--red-ink); display: block; margin-bottom: 8px; }
.mistake h3 { font-size: 1.2rem; }
.mistake p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.guide-sources { margin-top: 40px; max-width: 70ch; }
.downloads { display: grid; gap: 8px; grid-template-columns: 1fr; margin-top: 4px; }
@media (min-width: 560px) { .downloads { grid-template-columns: repeat(3, 1fr); } .downloads .result-sub { grid-column: 1 / -1; } }
.dl-btn {
  display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 14px; cursor: pointer;
  border: 1px solid rgba(38, 38, 35, .2); border-radius: 6px; background: rgba(255, 255, 255, .5); color: var(--charcoal);
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.dl-btn::before { content: "↓"; font-weight: 700; color: var(--ocean); }
.dl-btn:hover { border-color: var(--ocean); background: #eef4f2; transform: translateY(-2px); }
.dl-btn strong { font-size: .9rem; }
.dl-btn span { font-size: .75rem; color: var(--ink-soft); }

/* ==========================================================================
   Webcams
   ========================================================================== */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0412c; box-shadow: 0 0 0 0 rgba(224, 65, 44, .6); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(224, 65, 44, .55); } 70% { box-shadow: 0 0 0 9px rgba(224, 65, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 65, 44, 0); } }
.page-hero .eyebrow .live-dot { margin-right: 2px; }
.page-hero .eyebrow:has(.live-dot)::before { display: none; }
.cam-notice { margin-bottom: 40px; }
.cam-spot { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.cam-head { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.cam-head > div { max-width: 720px; }
.cam-town { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); }
.cam-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 6px 0 10px; }
.cam-head p { color: var(--ink-soft); margin: 0; }
.cam-badge { font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; background: var(--red-ink); color: var(--paper); white-space: nowrap; }
.cam-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .cam-grid { grid-template-columns: 1fr 1fr; } }
.cam-player { margin: 0; }
.cam-player figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.cam-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--ocean-deep); }
.cam-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-facade {
  all: unset; position: absolute; inset: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; color: var(--paper);
  background:
    radial-gradient(120% 70% at 50% 120%, rgba(232, 220, 200, .35) 0%, transparent 60%),
    repeating-linear-gradient(170deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #9fc3c7 0%, #4b8584 38%, #244c49 70%, #183634 100%);
}
.cam-facade--b { background:
    radial-gradient(120% 70% at 30% 120%, rgba(232, 220, 200, .35) 0%, transparent 60%),
    repeating-linear-gradient(172deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #b7cfd0 0%, #5a8f8c 40%, #2b5753 72%, #183634 100%); }
.cam-facade:focus-visible { outline: 3px solid var(--sand); outline-offset: -3px; }
.cam-live { position: absolute; top: 14px; left: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(20, 22, 20, .45); padding: 6px 10px; border-radius: 999px; }
.cam-name { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; }
.cam-src { font-size: .75rem; opacity: .8; margin-top: 4px; }
.cam-play {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%;
  background: var(--paper); color: var(--charcoal); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease);
}
.cam-play svg { width: 22px; height: 22px; margin-left: 4px; }
.cam-facade:hover .cam-play { transform: translate(-50%, -50%) scale(1.08); }
.cam-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.cam-link {
  position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 44px 16px 18px; text-decoration: none; border-radius: 6px;
  border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.cam-link::after { content: "↗"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ocean); transition: transform .25s var(--ease); }
.cam-link:hover { border-color: var(--ocean); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(38, 38, 35, .5); }
.cam-link:hover::after { transform: translate(3px, -60%); }
.cam-link strong { font-size: .98rem; }
.cam-link span { font-size: .78rem; color: var(--ink-soft); }
.cam-link--alt { background: var(--sand); }

/* ---------- Bouée en temps réel ---------- */
.buoy-head { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.buoy-head h2 { margin: 0 0 6px; }
.buoy-head .eyebrow { margin-bottom: 14px; }
.buoy-head .eyebrow::before { display: none; }
.buoy-time { margin: 0; color: rgba(247, 244, 237, .75); font-size: .92rem; }
.buoy.is-error .buoy-time { color: #ffcdbf; }
.buoy.is-old .buoy-time::after { content: " — la bouée n'émet plus depuis plus de 2 h"; }
.buoy-stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .buoy-stats { grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; } }
.buoy-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px; border-radius: 6px; background: rgba(247, 244, 237, .07); border: 1px solid rgba(247, 244, 237, .14); }
.buoy-stat--hero { background: rgba(247, 244, 237, .12); }
.bs-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.bs-value { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; color: var(--paper); display: flex; align-items: baseline; gap: 6px; }
.buoy-stat:not(.buoy-stat--hero) .bs-value { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bs-value small { font-family: var(--font-body); font-size: .9rem; color: rgba(247, 244, 237, .7); }
.bs-sub { font-size: .8rem; color: rgba(247, 244, 237, .72); min-height: 1.2em; }
.bs-dir { align-items: center; }
.bs-arrow { width: 26px; height: 26px; color: var(--sand); transition: transform .8s var(--ease); flex: none; }
.buoy.is-loading .bs-value { opacity: .4; }
.buoy-read { margin: 22px 0 8px; font-size: 1.05rem; color: rgba(247, 244, 237, .9); max-width: 70ch; }
.buoy-read strong { color: var(--paper); }
.buoy-charts { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 860px) { .buoy-charts { grid-template-columns: 1fr 1fr; } }
.buoy-chart { margin: 0; padding: 16px 16px 8px; border-radius: 6px; background: var(--paper); color: var(--charcoal); }
.buoy-chart figcaption { font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.buoy-chart figcaption span { font-weight: 400; color: var(--ink-soft); }
.bc-wrap { position: relative; }
.bc-wrap svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.bc-grid { stroke: rgba(38, 38, 35, .1); stroke-width: 1; }
.bc-grid--v { stroke-dasharray: 2 4; }
.bc-tick { font-family: var(--font-body); font-size: 11px; fill: var(--ink-soft); }
.bc-line { fill: none; stroke: var(--ocean); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bc-dot { fill: var(--ocean); stroke: var(--paper); stroke-width: 2; }
.bc-cross { stroke: rgba(38, 38, 35, .35); stroke-width: 1; }
.bc-hit { cursor: crosshair; }
.bc-tip {
  position: absolute; top: 0; transform: translateX(-50%); pointer-events: none; display: flex; flex-direction: column; gap: 1px;
  background: var(--charcoal); color: var(--paper); padding: 6px 10px; border-radius: 4px; font-size: .75rem; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5);
}
.bc-tip strong { font-size: .9rem; }
.bc-tip[hidden] { display: none; }
.buoy-table { margin-top: 18px; }
.buoy-table summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--sand); }
.table-scroll { overflow-x: auto; margin-top: 12px; border-radius: 6px; background: var(--paper); }
.buoy-table table { width: 100%; border-collapse: collapse; font-size: .85rem; color: var(--charcoal); min-width: 560px; }
.buoy-table th, .buoy-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.buoy-table thead th { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); }
.buoy-table tbody th { font-weight: 600; text-transform: capitalize; }
.buoy-note { margin: 22px 0 0; font-size: .78rem; color: rgba(247, 244, 237, .66); max-width: 90ch; }
.buoy-note a { color: var(--sand); }
.cam-grid--single { grid-template-columns: 1fr !important; max-width: 900px; }
.cam-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-error { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); text-align: center; padding: 20px; margin: 0; }
.cam-error a { color: var(--sand); }
.forecast-groups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.forecast-group { padding: 22px; border-radius: 6px; background: rgba(247, 244, 237, .75); border: 1px solid var(--line); }
.forecast-group h3 { font-size: 1.2rem; margin-bottom: 12px; }
.forecast-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.forecast-group a { display: flex; justify-content: space-between; text-decoration: none; font-weight: 600; font-size: .93rem; padding: 6px 0; border-bottom: 1px solid var(--line); }
.forecast-group a::after { content: "↗"; color: var(--ocean); }
.forecast-group a:hover { color: var(--ocean); }

/* Quiver de l'accueil : toutes les silhouettes, alignées sur leur tail */
.boards-grid--quiver { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
@media (min-width: 1100px) { .boards-grid--quiver { grid-template-columns: repeat(5, 1fr); } }
.boards-grid--quiver .board-card { padding: 22px 20px 20px; }
.boards-grid--quiver .board-silhouette { height: 210px; align-items: flex-end; margin: 10px 0 14px; }
.boards-grid--quiver .board-card h3 { font-size: 1.3rem; }
.boards-grid--quiver .board-card p { font-size: .88rem; }
.boards-grid--quiver .num { font-size: .64rem; }
.board-silhouette .stringer { stroke-opacity: .75; }
.range-item .board-silhouette { height: 300px; padding: 16px; }
@media (max-width: 819px) { .range-item .board-silhouette { height: 250px; } }
.shape-card .board-silhouette { height: 220px; padding: 12px; }
