/* Page Saint-Barth (QR code sur la voiture) — mobile d'abord, luxe sobre. */
.sb-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.sb-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.sb-header .brand-logo { height: 54px; width: auto; filter: brightness(0) invert(1); }
.sb-lang { display: flex; gap: 6px; font: 500 .78rem var(--f-mono); letter-spacing: .08em; }
.sb-lang a { color: #fff; padding: 6px 9px; border: 1px solid rgba(255,255,255,.4); }
.sb-lang a[aria-current="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.sb-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #15171A; overflow: hidden; }
.sb-hero picture, .sb-hero img.sb-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb-hero img.sb-bg { object-fit: cover; object-position: 50% 62%; }
.sb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,14,.88) 0%, rgba(10,12,14,.35) 45%, rgba(10,12,14,.25) 100%); }
.sb-hero-inner { position: relative; z-index: 2; padding-bottom: clamp(100px, 16vh, 140px); }
.sb-eyebrow { font: 500 .8rem var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.sb-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 9vw, 5rem); line-height: 1.04; margin-top: 14px; max-width: 14ch; }
.sb-hero p.sb-sub { margin-top: 18px; max-width: 34ch; font-size: var(--step-1); color: rgba(255,255,255,.88); }
.sb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sb-actions .btn-primary { background: #fff; color: var(--ink); }
.sb-actions .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }

.sb-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--stone-line); }
.sb-fact { padding: 30px 6px; text-align: center; border-bottom: 1px solid var(--stone-line); }
.sb-fact:nth-child(odd) { border-right: 1px solid var(--stone-line); }
.sb-fact strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: var(--step-4); line-height: 1.1; }
.sb-fact span { display: block; margin-top: 8px; font: 500 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
@media (min-width: 800px) { .sb-facts { grid-template-columns: repeat(4, 1fr); } .sb-fact { border-bottom: 0; border-right: 1px solid var(--stone-line); } .sb-fact:nth-child(odd) { border-right: 1px solid var(--stone-line); } .sb-fact:last-child { border-right: 0; } }

.sb-section { padding-block: clamp(54px, 9vw, 110px); }
.sb-section h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-4); line-height: 1.1; max-width: 18ch; }
.sb-section .lede { margin-top: 16px; max-width: 46ch; }

.sb-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter, 20px); margin-top: 30px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sb-strip::-webkit-scrollbar { display: none; }
.sb-strip figure { flex: 0 0 78%; max-width: 420px; aspect-ratio: 4/5; scroll-snap-align: center; overflow: hidden; background: var(--stone-line); }
.sb-strip figure picture, .sb-strip figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sb-steps { display: grid; gap: 26px; margin-top: 34px; counter-reset: s; }
.sb-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.sb-step::before { counter-increment: s; content: counter(s); font: 400 1.5rem var(--f-display); width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; }
.sb-step h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); }
.sb-step p { margin-top: 6px; color: var(--ink-soft); }
@media (min-width: 800px) { .sb-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } .sb-step { grid-template-columns: 1fr; } }

.sb-contact { background: var(--stone-dim); border-top: 1px solid var(--stone-line); }
.sb-contact-grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .sb-contact-grid { grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; } }
.sb-contact .form-card { margin: 0; }

.sb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(21,23,26,.94); backdrop-filter: blur(8px); }
.sb-bar a { flex: 1; text-align: center; padding: 14px 8px; font: 500 .82rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.sb-bar a.sb-bar-main { background: #fff; color: var(--ink); border-color: #fff; }
body.sb { padding-bottom: 74px; }
.sb-foot { padding: 30px 0 40px; text-align: center; font-size: var(--step--1); color: var(--ink-faint); }
.sb-foot a { text-decoration: underline; }
@media (min-width: 900px) { .sb-bar { display: none; } body.sb { padding-bottom: 0; } }

@media (max-width: 599px) { .sb-actions { flex-direction: column; } .sb-actions .btn { width: 100%; justify-content: center; text-align: center; } }
.sb-actions .btn { white-space: normal; line-height: 1.3; }
html, body { overflow-x: hidden; }
.lang-suggest { display: none !important; }

/* Titre = le nom de l'île, en très grand */
.sb-hero h1 { font-size: clamp(2.6rem, 12.5vw, 7rem); max-width: none; line-height: 1; letter-spacing: -.01em; margin-top: 10px; }
.sb-hero p.sb-sub { max-width: 40ch; }
.sb-hero p.sb-sub strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: var(--step-3); color: #fff; margin-bottom: 8px; }

.sb-hero img.sb-bg { object-position: 50% 45%; }
.sb-hero::after { background: linear-gradient(to top, rgba(8,14,22,.9) 0%, rgba(8,14,22,.5) 42%, rgba(8,14,22,.18) 100%); }
.sb-foot small { display: block; margin-top: 10px; font-size: .72rem; opacity: .8; }

/* Typographie soignée : plus de mot seul sur la dernière ligne */
.sb-hero h1, .sb-hero p.sb-sub strong, .sb-section h2, .sb-step h3, .sb-fact span, .sb-actions .btn, .sb-bar a, .sb-foot { text-wrap: balance; }
.sb-hero p.sb-sub, .lede, .sb-step p { text-wrap: pretty; }
.sb-section h2 { max-width: 20ch; }
.sb-hero img.sb-bg { object-position: 50% 50%; }
.sb-lang a { padding: 6px 7px; }

/* Téléphone : la photo garde ses proportions (toute l'île visible), le texte se pose en dessous sur fond nuit */
@media (max-width: 799px) {
  .sb-hero { display: block; min-height: 100svh; background: #0a131c; }
  .sb-hero::after { display: none; }
  .sb-hero picture { position: relative; display: block; height: 82vw; width: 100%; }
  .sb-hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,12,18,.35) 0%, rgba(6,12,18,0) 28%, rgba(10,19,28,0) 55%, #0a131c 100%); }
  .sb-hero img.sb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .sb-hero-inner { margin-top: -26px; padding-bottom: 110px; }
}
