/* ============================================================
   SANTORIA BAY — V2 · ÉDITION CINÉMATIQUE
   Direction : luxe sombre, éditorial, dynamique
   ============================================================ */
:root {
    --night: #0b2030;
    --night-2: #0f2e45;
    --deep: #28628a;
    --sea: #779eb9;
    --mist: #a2979b;
    --sand: #e3d6c4;
    --sand-2: #d8c5a8;
    --ivory: #f6f1e9;
    --ivory-2: #fbf8f2;
    --ink: #1b2a36;

    --line-d: rgba(227, 214, 196, 0.16);
    --line-l: rgba(27, 42, 54, 0.14);

    --script: "Sacramento", cursive;
    --display: "Cinzel", serif;
    --serif: "Cormorant Garamond", serif;
    --sans: "Inter", -apple-system, "Segoe UI", sans-serif;

    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-2: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    overflow-x: clip;
}
body {
    margin: 0;
    background: var(--night);
    color: var(--ivory);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}

/* hide native cursor only on fine pointers */
@media (hover: none) {
    body {
        cursor: auto;
    }
}

.wrap {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 48px;
}
section {
    position: relative;
}

/* ---------- custom cursor ---------- */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--ivory);
    transform: translate(-50%, -50%);
}
.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(246, 241, 233, 0.6);
    transform: translate(-50%, -50%);
    transition:
        width 0.3s var(--ease),
        height 0.3s var(--ease),
        background 0.3s,
        border-color 0.3s;
}
.cursor-ring.hover {
    width: 66px;
    height: 66px;
    background: rgba(246, 241, 233, 0.12);
    border-color: transparent;
}
@media (hover: none) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* ---------- shared type ---------- */
.kicker {
    font-family: var(--display);
    font-size: 11.5px;
    letter-spacing: 0.46em;
    text-transform: uppercase;
    color: var(--sand);
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.kicker::before {
    content: "";
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.kicker.center {
    justify-content: center;
}

.display-xl {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(46px, 7vw, 116px);
    line-height: 0.98;
    letter-spacing: -0.018em;
    margin: 0;
}
.display-xl em {
    font-style: italic;
    color: var(--sand);
}
.display-l {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(36px, 4.6vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.01em;
    margin: 0;
}
.display-l em {
    font-style: italic;
    color: var(--sand);
}

.lede {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.5;
}
.muted {
    color: rgba(246, 241, 233, 0.68);
}
.body-text {
    color: rgba(246, 241, 233, 0.66);
    max-width: 540px;
}

/* ---------- buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--display);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding: 19px 38px;
    border: 1px solid var(--sand);
    color: var(--sand);
    background: transparent;
    cursor: none;
    overflow: hidden;
    transition: color 0.5s var(--ease);
    white-space: nowrap;
}
.btn span {
    position: relative;
    z-index: 2;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sand);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease);
    z-index: 1;
}
.btn:hover {
    color: var(--night);
}
.btn:hover::after {
    transform: translateY(0);
}
.btn.solid {
    background: var(--sand);
    color: var(--night);
    border-color: var(--sand);
}
.btn.solid::after {
    background: var(--ivory);
}
.btn.solid:hover {
    color: var(--night);
}
.btn.dark {
    border-color: var(--ink);
    color: var(--ink);
}
.btn.dark::after {
    background: var(--ink);
}
.btn.dark:hover {
    color: var(--ivory);
}

/* ---------- header ---------- */
header.v2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition:
        background 0.5s var(--ease),
        border-color 0.5s,
        padding 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}
header.v2 .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    height: 92px;
    transition: height 0.5s var(--ease);
}
header.v2.scrolled {
    background: rgba(11, 32, 48, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    border-color: var(--line-d);
}
header.v2.scrolled .bar {
    height: 72px;
}
/* voile dégradé derrière le header : garantit la lisibilité du logo/menu sur le slider clair */
header.v2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(
        180deg,
        rgba(11, 32, 48, 0.6) 0%,
        rgba(11, 32, 48, 0.32) 45%,
        rgba(11, 32, 48, 0) 100%
    );
    pointer-events: none;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.5s var(--ease);
}
/* une fois scrollé, la barre a déjà un fond sombre → on retire le voile pour ne pas surassombrir */
header.v2.scrolled::before {
    opacity: 0;
}
header.v2 .brand {
    display: flex;
    align-items: center;
}
header.v2 nav {
    display: flex;
    gap: 34px;
    align-items: center;
    margin-top: 10px; /* aligne le menu sur la ligne du texte "Santoria Bay" du logo */
}
header.v2 nav a {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.72);
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}
header.v2 nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}
header.v2 nav a:hover {
    color: var(--sand);
}
header.v2 nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
header.v2 .h-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}
header.v2 .h-cta .btn {
    padding: 13px 26px;
    font-size: 10.5px;
}
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
    padding: 6px;
}
.burger span {
    width: 26px;
    height: 1.5px;
    background: var(--ivory);
    display: block;
}

/* ---------- hero ---------- */
.hero {
    height: 100vh;
    min-height: 680px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.hero .media {
    position: absolute;
    inset: -6% 0 0 0;
    height: 112%;
    z-index: 0;
    will-change: transform;
}
.hero .media .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1.8s var(--ease);
}
.hero .media .slide.active {
    opacity: 1;
    animation: kenburns 7.5s ease-out forwards;
}
@keyframes kenburns {
    from {
        transform: scale(1.12);
    }
    to {
        transform: scale(1);
    }
}
.hero .scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(11, 32, 48, 0.55) 0%,
        rgba(11, 32, 48, 0) 28%,
        rgba(11, 32, 48, 0.15) 55%,
        rgba(11, 32, 48, 0.85) 100%
    );
}
.hero .content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 8vh;
}
.hero .h-kicker {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--sand);
    display: block;
    overflow: hidden;
}
.hero .h-kicker span {
    display: inline-block;
}
.hero h1 {
    font-family: var(--script);
    font-weight: 400;
    font-size: clamp(80px, 14vw, 220px);
    line-height: 1.06; /* était .82 → rognait le haut/bas du script */
    margin: 10px 0 0;
    padding: 0.04em 0 0.14em; /* laisse respirer les jambages (S, y, B) dans le masque reveal */
    color: var(--ivory);
    letter-spacing: -0.01em;
}
.hero .h-base {
    font-family: var(--display);
    font-size: clamp(13px, 1.6vw, 19px);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.85);
    margin-top: 18px;
    overflow: hidden;
}
.hero .h-base span {
    display: inline-block;
}
.hero .h-ctas {
    display: flex;
    gap: 18px;
    margin-top: 46px;
    flex-wrap: wrap;
}

/* word/line reveal helper */
.reveal-line {
    display: block;
    overflow: hidden;
}
.reveal-line > * {
    display: block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease);
}
.in .reveal-line > *,
.reveal-line.in > * {
    transform: translateY(0);
}

/* hero meta strip */
.hero .meta {
    position: absolute;
    right: 48px;
    bottom: 8vh;
    z-index: 2;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero .meta .m-coord {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.55);
}
.scroll-cue {
    position: absolute;
    left: 48px;
    bottom: 8vh;
    z-index: 2;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.6);
    display: flex;
    align-items: center;
    gap: 14px;
}
.scroll-cue .ln {
    width: 1px;
    height: 50px;
    background: rgba(246, 241, 233, 0.4);
    position: relative;
    overflow: hidden;
}
.scroll-cue .ln::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sand);
    transform: translateY(-100%);
    animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

/* ---------- interlude plein écran (parallaxe) ---------- */
.interlude {
    position: relative;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.interlude .il-media {
    position: absolute;
    inset: -12% 0;
    height: 124%;
    z-index: 0;
}
.interlude .il-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}
.interlude .il-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(11, 32, 48, 0.45),
        rgba(11, 32, 48, 0.2) 45%,
        rgba(11, 32, 48, 0.7)
    );
}
.interlude .il-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.interlude .il-quote {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(34px, 5.4vw, 92px);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 26px auto 0;
    max-width: 16ch;
    color: var(--ivory);
    text-shadow: 0 2px 40px rgba(11, 32, 48, 0.4);
}
.interlude .il-quote em {
    font-style: italic;
    color: var(--sand);
}
.interlude .il-sign {
    font-family: var(--script);
    font-size: clamp(40px, 5vw, 72px);
    color: var(--sand);
    margin-top: 24px;
    display: block;
}

/* ---------- marquee baseline ---------- */
.marquee {
    background: var(--sand);
    color: var(--night);
    padding: 22px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(27, 42, 54, 0.12);
    border-bottom: 1px solid rgba(27, 42, 54, 0.12);
}
.marquee .track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 32s linear infinite;
}
.marquee span {
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 60px;
}
.marquee span::after {
    content: "✦";
    color: var(--deep);
    font-size: 12px;
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- intro / manifeste ---------- */
.intro {
    padding: 160px 0;
    background: var(--night);
}
.intro .top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}
.intro .statement {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(28px, 3.4vw, 52px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    margin: 48px 0 0;
    max-width: 1100px;
}
.intro .statement em {
    font-style: italic;
    color: var(--sand);
}
.intro .statement .dim {
    color: rgba(246, 241, 233, 0.35);
}
.intro .lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 96px;
    align-items: start;
}
.intro .figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/11;
}
.intro .figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.4s var(--ease);
}
.intro .figure:hover img {
    transform: scale(1.12);
}
.intro .figure .tag {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ivory);
    z-index: 2;
}
.intro blockquote {
    margin: 0;
}
.intro blockquote p {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.45;
    margin: 0;
}
.intro blockquote .who {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sand);
    margin-top: 28px;
    display: block;
}
.intro blockquote .role {
    font-size: 13px;
    color: rgba(246, 241, 233, 0.5);
    margin-top: 4px;
}

/* ---------- stats ticker ---------- */
.statbar {
    border-top: 1px solid var(--line-d);
    border-bottom: 1px solid var(--line-d);
}
.statbar .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.statbar .cell {
    padding: 56px 40px;
    border-left: 1px solid var(--line-d);
}
.statbar .cell:first-child {
    border-left: none;
}
.statbar .num {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1;
    color: var(--ivory);
}
.statbar .num small {
    font-size: 0.42em;
    font-style: italic;
    color: var(--sand);
}
.statbar .lbl {
    font-family: var(--display);
    font-size: 10.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--sea);
    margin-top: 16px;
}

/* ---------- chapters / features ---------- */
.chapters {
    padding: 160px 0;
    background: var(--ivory);
    color: var(--ink);
}
.chapters .kicker {
    color: var(--deep);
}
.chapters .display-l em {
    color: var(--deep);
}
.chapters .list {
    margin-top: 70px;
    border-top: 1px solid var(--line-l);
}
.chapter {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-l);
    position: relative;
    transition: padding 0.5s var(--ease);
}
.chapter .idx {
    font-family: var(--display);
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--mist);
}
.chapter .c-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.chapter h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
    margin: 0;
    transition:
        color 0.4s,
        transform 0.6s var(--ease);
}
.chapter p {
    margin: 0;
    font-size: 14.5px;
    color: rgba(27, 42, 54, 0.6);
    max-width: 560px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.5s var(--ease),
        max-height 0.5s var(--ease),
        margin 0.5s;
}
.chapter .c-ico svg {
    width: 40px;
    height: 40px;
    stroke: var(--deep);
    fill: none;
    stroke-width: 1;
    opacity: 0.5;
    transition:
        opacity 0.4s,
        transform 0.6s var(--ease);
}
.chapter::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(40, 98, 138, 0.06),
        rgba(40, 98, 138, 0)
    );
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}
.chapter:hover {
    padding-left: 24px;
    padding-right: 24px;
}
.chapter:hover::before {
    opacity: 1;
}
.chapter:hover h3 {
    color: var(--deep);
}
.chapter:hover p {
    opacity: 1;
    max-height: 80px;
    margin-top: 4px;
}
.chapter:hover .c-ico svg {
    opacity: 1;
    transform: translateY(-4px);
}

/* ---------- gallery filmstrip ---------- */
.gallery2 {
    padding: 150px 0 160px;
    background: var(--night);
    overflow: hidden;
}
.gallery2 .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.gallery2 .drag-hint {
    font-family: var(--display);
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.45);
    display: flex;
    align-items: center;
    gap: 12px;
}
.gallery2 .drag-hint::after {
    content: "⟷";
    font-size: 16px;
    color: var(--sand);
}
.strip {
    margin-top: 64px;
    display: flex;
    gap: 28px;
    padding: 0 48px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    cursor: grab;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar {
    display: none;
}
.strip.grabbing {
    cursor: grabbing;
}
/* pendant le glissement / l'inertie / la molette : on coupe le snap pour un défilement parfaitement libre */
.strip.is-free {
    scroll-snap-type: none;
}
.strip .shot {
    flex: 0 0 auto;
    width: 44vw;
    max-width: 640px;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
}
.strip .shot.tall {
    width: 30vw;
    max-width: 440px;
}
.strip .shot .img-wrap {
    overflow: hidden;
    aspect-ratio: 3/2;
}
.strip .shot.tall .img-wrap {
    aspect-ratio: 3/4;
}
.strip .shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.2s var(--ease);
}
.strip .shot:hover img {
    transform: scale(1.12);
}
.strip .shot .cap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 4px 0;
    border-top: 1px solid var(--line-d);
    margin-top: 16px;
}
.strip .shot .cap .t {
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
}
.strip .shot .cap .n {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--mist);
}
.gallery2 .progress {
    margin: 48px 48px 0;
    height: 1px;
    background: var(--line-d);
    position: relative;
}
.gallery2 .progress .bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 1px;
    background: var(--sand);
    width: 20%;
}

/* ---------- discover ---------- */
.discover2 {
    padding: 160px 0;
    background: var(--night-2);
}
.discover2 .tabs {
    display: flex;
    gap: 8px;
    margin-top: 58px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line-d);
}
.discover2 .tab {
    font-family: var(--display);
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: none;
    border: none;
    color: rgba(246, 241, 233, 0.5);
    padding: 20px 30px;
    cursor: none;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    transition:
        color 0.3s,
        border-color 0.3s;
}
.discover2 .tab.active {
    color: var(--sand);
    border-color: var(--sand);
}
.discover2 .panel {
    display: none;
    padding-top: 60px;
}
.discover2 .panel.active {
    display: block;
    animation: panelFade 0.7s var(--ease);
}
@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.plan-frame {
    border: 1px solid var(--line-d);
    background: rgba(246, 241, 233, 0.03);
    padding: 28px;
}
.plan-frame img {
    width: 100%;
    height: 600px;
    object-fit: contain;
}
.typos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.typo {
    border: 1px solid var(--line-d);
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    background: rgba(246, 241, 233, 0.03);
    transition:
        background 0.4s,
        transform 0.6s var(--ease);
}
.typo:hover {
    background: rgba(246, 241, 233, 0.06);
    transform: translateY(-6px);
}
.typo .t-name {
    font-family: var(--script);
    font-size: 56px;
    color: var(--sand);
    line-height: 1;
}
.typo .t-sub {
    font-family: var(--display);
    font-size: 10.5px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sea);
    margin-top: 10px;
}
.typo .t-plan {
    margin: 28px 0;
    border: 1px solid var(--line-d);
    background: var(--ivory);
}
.typo .t-plan img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}
.typo ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.typo li {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-d);
    font-size: 14px;
    color: rgba(246, 241, 233, 0.78);
}
.typo li b {
    color: var(--ivory);
    font-weight: 500;
}
.typo .btn {
    margin-top: auto;
    justify-content: center;
}
.cine {
    position: relative;
    aspect-ratio: 21/9;
    overflow: hidden;
    border: 1px solid var(--line-d);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cine img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s var(--ease);
}
.cine:hover img {
    transform: scale(1.1);
}
.cine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 32, 48, 0.45);
}
.cine .play {
    position: relative;
    z-index: 2;
    text-align: center;
}
.cine .pc {
    width: 104px;
    height: 104px;
    border: 1px solid var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    background: rgba(11, 32, 48, 0.3);
    backdrop-filter: blur(4px);
    transition:
        background 0.4s,
        transform 0.4s var(--ease);
}
.cine:hover .pc {
    background: var(--sand);
    transform: scale(1.06);
}
.cine .pc svg {
    width: 30px;
    height: 30px;
    fill: var(--sand);
    margin-left: 5px;
    transition: fill 0.4s;
}
.cine:hover .pc svg {
    fill: var(--night);
}
.cine .pl {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ivory);
}
.note {
    margin-top: 22px;
    font-size: 13px;
    color: rgba(246, 241, 233, 0.45);
    text-align: center;
}

/* ---------- location ---------- */
.location2 {
    padding: 160px 0;
    background: var(--ivory);
    color: var(--ink);
}
.location2 .kicker {
    color: var(--deep);
}
.location2 .display-l em {
    color: var(--deep);
}
.location2 .grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    margin-top: 66px;
    align-items: start;
}
.location2 iframe {
    width: 100%;
    height: 560px;
    border: 0;
    filter: grayscale(0.4) sepia(0.06) contrast(1.02);
}
.poi {
    list-style: none;
    padding: 0;
    margin: 38px 0 0;
}
.poi li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line-l);
}
.poi .nm {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
}
.poi .tm {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--deep);
    white-space: nowrap;
}

/* ---------- rdv ---------- */
.rdv2 {
    padding: 160px 0;
    background: var(--night);
    position: relative;
    overflow: hidden;
}
.rdv2 .bg-script {
    position: absolute;
    right: -2%;
    top: 8%;
    font-family: var(--script);
    font-size: 26vw;
    color: rgba(227, 214, 196, 0.04);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}
.rdv2 .grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
    align-items: start;
}
.rdv2 .contact {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid var(--line-d);
}
.rdv2 .cl {
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 9px 0;
}
.rdv2 .cl .k {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.45);
    width: 110px;
    flex: none;
}
.rdv2 .cl .v {
    font-size: 16px;
}
.rdv2 form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.fld {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.fld.full {
    grid-column: span 2;
}
.fld label {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(246, 241, 233, 0.55);
}
.fld input,
.fld select,
.fld textarea {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid rgba(246, 241, 233, 0.28);
    background: transparent;
    color: var(--ivory);
    outline: none;
    transition: border-color 0.3s;
    cursor: none;
}
.fld input::placeholder,
.fld textarea::placeholder {
    color: rgba(246, 241, 233, 0.3);
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
    border-color: var(--sand);
}
.fld select option {
    background: var(--night-2);
}
.fld textarea {
    resize: vertical;
    min-height: 60px;
}
.rdv2 .actions {
    display: flex;
    gap: 16px;
    margin-top: 38px;
    flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer.v2 {
    background: var(--night-2);
    padding: 110px 0 0;
    border-top: 1px solid var(--line-d);
}
footer.v2 .cols {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
}
footer.v2 .f-brand {
    font-family: var(--script);
    font-size: 60px;
    color: var(--ivory);
    line-height: 1;
}
footer.v2 .f-base {
    font-family: var(--display);
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--sea);
    margin-top: 14px;
}
footer.v2 .socials {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}
footer.v2 .socials a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.3s,
        border-color 0.3s;
    cursor: none;
}
footer.v2 .socials a:hover {
    background: var(--sand);
    border-color: var(--sand);
}
footer.v2 .socials svg {
    width: 17px;
    height: 17px;
    fill: var(--ivory);
    transition: fill 0.3s;
}
footer.v2 .socials a:hover svg {
    fill: var(--night);
}
footer.v2 h4 {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sand);
    margin: 0 0 24px;
    font-weight: 400;
}
footer.v2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer.v2 li {
    padding: 7px 0;
}
footer.v2 li a {
    color: rgba(246, 241, 233, 0.66);
    font-size: 14.5px;
    transition: color 0.3s;
}
footer.v2 li a:hover {
    color: var(--sand);
}
footer.v2 .legal {
    border-top: 1px solid var(--line-d);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(246, 241, 233, 0.4);
}
footer.v2 .legal a {
    color: var(--sand);
}

/* ---------- whatsapp float ---------- */
.wa2 {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1faa55;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 36px -10px rgba(31, 170, 85, 0.6);
    transition: transform 0.3s var(--ease);
    cursor: none;
}
.wa2:hover {
    transform: scale(1.1);
}
.wa2 svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ---------- lightbox ---------- */
.lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 32, 48, 0.95);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    padding: 50px;
}
.lb.open {
    display: flex;
}
.lb img {
    max-width: min(88vw, 1500px);
    max-height: 78vh;
    object-fit: contain;
    box-shadow: 0 50px 130px -30px rgba(0, 0, 0, 0.7);
}
.lb .cap {
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sand);
}
.lb button {
    position: absolute;
    background: none;
    border: 1px solid rgba(246, 241, 233, 0.35);
    color: var(--ivory);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 20px;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.3s,
        border-color 0.3s;
}
.lb button:hover {
    background: rgba(246, 241, 233, 0.12);
    border-color: var(--sand);
}
.lb .x {
    top: 30px;
    right: 30px;
}
.lb .pv {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
.lb .nx {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* ---------- brochure modal ---------- */
.mb {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(11, 32, 48, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mb.open {
    display: flex;
}
.mb .box {
    background: var(--night-2);
    border: 1px solid var(--line-d);
    max-width: 480px;
    width: 100%;
    padding: 56px 52px 46px;
    position: relative;
    text-align: center;
}
.mb .x {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--mist);
    cursor: none;
}
.mb h3 {
    font-family: var(--serif);
    font-weight: 300;
    font-size: 36px;
    margin: 0;
}
.mb h3 em {
    font-style: italic;
    color: var(--sand);
}
.mb p.sub {
    font-size: 14px;
    color: rgba(246, 241, 233, 0.6);
    margin: 14px 0 32px;
}
.mb form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: left;
}
.mb .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}
.mb .nt {
    font-size: 11.5px;
    color: rgba(246, 241, 233, 0.4);
    margin-top: 18px;
}

/* confirmation check */
.mb .confirm-check {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 1px solid var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    animation: popIn 0.5s var(--ease);
}
@keyframes popIn {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.mb .confirm-check svg {
    width: 30px;
    height: 30px;
    stroke: var(--sand);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* typology detail modal */
.typo-modal .box-wide {
    background: var(--night-2);
    border: 1px solid var(--line-d);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
}
.typo-modal .box-wide .x {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: rgba(11, 32, 48, 0.55);
    border: none;
    color: var(--ivory);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: none;
}
.tm-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
}
.tm-plan {
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.tm-plan img {
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}
.tm-info {
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.tm-info .tm-name {
    font-family: var(--script);
    font-size: 76px;
    color: var(--sand);
    line-height: 1;
}
.tm-info .tm-sub {
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sea);
    margin-top: 12px;
}
.tm-info ul {
    list-style: none;
    padding: 0;
    margin: 34px 0;
}
.tm-info li {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-d);
    font-size: 15px;
    color: rgba(246, 241, 233, 0.8);
}
.tm-info li b {
    color: var(--ivory);
    font-weight: 500;
}
.tm-info .btn {
    margin-top: auto;
    justify-content: center;
}

/* brand logo (fichier svg) */
.brand-logo {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
    transition: width 0.5s var(--ease);
}
header.v2.scrolled .brand-logo {
    width: 200px;
}
.brand-logo.big {
    width: 300px;
    max-width: 100%;
    height: auto;
}
/* logo header en ivoire pour rester lisible sur le slider (combiné au voile derrière le header) */
/* le texte "Santoria Bay" est dans la moitié basse de l'artwork → on remonte le logo
   pour l'aligner sur la ligne du menu (ajuster -7px si besoin) */
header.v2 .brand-logo {
    filter: brightness(0) invert(1);
    transform: translateY(-7px);
}

/* ---------- mobile nav — overlay animé (ouverture/fermeture fluides) ---------- */
.mnav {
    position: fixed;
    inset: 0;
    height: 101%;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    visibility: hidden;
    pointer-events: none;
    /* on retarde le masquage jusqu'à la fin de l'animation de fermeture */
    transition: visibility 0s linear 0.75s;
}
.mnav.open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear 0s;
}

/* rideau : panneau sombre flouté qui descend du haut (et remonte à la fermeture) */
.mnav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11, 32, 48, 0.96);
    backdrop-filter: blur(16px) saturate(1.1);
    transform: translateY(-100%);
    transition: transform 0.75s var(--ease);
}
.mnav.open::before {
    transform: translateY(0);
}

/* liens : apparition en cascade à l'ouverture, fondu à la fermeture */
.mnav a {
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ivory);
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.5s var(--ease),
        transform 0.6s var(--ease),
        color 0.3s;
}
.mnav.open a {
    opacity: 1;
    transform: none;
}
.mnav.open a:nth-of-type(1) {
    transition-delay: 0.22s;
}
.mnav.open a:nth-of-type(2) {
    transition-delay: 0.29s;
}
.mnav.open a:nth-of-type(3) {
    transition-delay: 0.36s;
}
.mnav.open a:nth-of-type(4) {
    transition-delay: 0.43s;
}
.mnav.open a:nth-of-type(5) {
    transition-delay: 0.5s;
}
.mnav.open a:nth-of-type(6) {
    transition-delay: 0.57s;
}
.mnav a:hover {
    color: var(--sand);
}

/* bouton fermer : apparaît et pivote en place */
.mnav .x {
    position: absolute;
    top: 26px;
    right: 26px;
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 30px;
    cursor: none;
    opacity: 0;
    transform: scale(0.6) rotate(-90deg);
    transition:
        opacity 0.5s var(--ease) 0.1s,
        transform 0.6s var(--ease) 0.1s,
        color 0.3s;
}
.mnav.open .x {
    opacity: 1;
    transform: none;
}
.mnav .x:hover {
    color: var(--sand);
}

/* accessibilité : pas d'animation si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
    .mnav,
    .mnav::before,
    .mnav a,
    .mnav .x {
        transition: none;
    }
    .mnav::before {
        transform: none;
    }
    .mnav a,
    .mnav .x {
        transform: none;
        opacity: 1;
    }
}

/* ---------- reveal (two-way) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .rv {
        opacity: 0;
        transform: translateY(46px);
        transition:
            opacity 1.1s var(--ease),
            transform 1.1s var(--ease);
        transition-delay: var(--d, 0s);
    }
    .rv.in {
        opacity: 1;
        transform: none;
    }
    .rv-l {
        opacity: 0;
        transform: translateX(-54px);
        transition:
            opacity 1.1s var(--ease),
            transform 1.1s var(--ease);
        transition-delay: var(--d, 0s);
    }
    .rv-l.in {
        opacity: 1;
        transform: none;
    }
    .rv-r {
        opacity: 0;
        transform: translateX(54px);
        transition:
            opacity 1.1s var(--ease),
            transform 1.1s var(--ease);
        transition-delay: var(--d, 0s);
    }
    .rv-r.in {
        opacity: 1;
        transform: none;
    }
    .rv-s {
        opacity: 0;
        transform: translateY(34px) scale(0.96);
        transition:
            opacity 1.2s var(--ease),
            transform 1.2s var(--ease);
        transition-delay: var(--d, 0s);
    }
    .rv-s.in {
        opacity: 1;
        transform: none;
    }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    header.v2 nav {
        display: none;
    }
    .burger {
        display: flex;
    }
    .h-cta .btn.hide-sm {
        display: none;
    }
    .brand-logo {
        width: 200px;
    }
    header.v2.scrolled .brand-logo {
        width: 180px;
    }
    .intro .top,
    .intro .lower,
    .location2 .grid,
    .rdv2 .grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .typos {
        grid-template-columns: 1fr;
    }
    .statbar .row {
        grid-template-columns: 1fr 1fr;
    }
    .statbar .cell:nth-child(3) {
        border-left: none;
    }
    .statbar .cell:nth-child(odd) {
        border-left: none;
    }
    .strip .shot,
    .strip .shot.tall {
        width: 78vw;
        max-width: none;
    }
    footer.v2 .cols {
        grid-template-columns: 1fr 1fr;
    }
    .interlude {
        height: 70vh;
    }
}
@media (max-width: 760px) {
    .tm-grid {
        grid-template-columns: 1fr;
    }
    .tm-plan {
        padding: 22px;
    }
    .tm-plan img {
        max-height: 300px;
    }
    .tm-info {
        padding: 38px 28px;
    }
    .tm-info .tm-name {
        font-size: 58px;
    }
}
@media (max-width: 640px) {
    footer.v2 {
        padding: 50px 0 0;
    }

    .wrap {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
    section,
    .intro,
    .chapters,
    .gallery2,
    .discover2,
    .location2,
    .rdv2 {
        padding-top: 96px;
        padding-bottom: 96px;
    }
    .rdv2 form {
        grid-template-columns: 1fr;
    }
    .fld.full {
        grid-column: span 1;
    }
    .statbar .row {
        grid-template-columns: 1fr 1fr;
    }
    .statbar .cell {
        padding: 36px 16px;
    }
    .chapter {
        grid-template-columns: 50px 1fr;
    }
    .chapter .c-ico {
        display: none;
    }
    footer.v2 .cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero .meta {
        display: none;
    }
    /* header compact : on garde logo + burger, le CTA RDV reste accessible via le menu */
    .brand-logo {
        width: 180px;
    }
    header.v2.scrolled .brand-logo {
        width: 165px;
    }
    header.v2 .h-cta .btn.solid {
        display: none;
    }
    /* modales : padding latéral réduit pour respirer sur petit écran */
    .mb .box {
        padding: 44px 26px 36px;
    }
    .brand-logo.big {
        width: 240px;
    }
    /* section Découvrir : onglets en 2 colonnes sous forme de boutons cliquables */
    .discover2 .tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 40px;
        border-bottom: none;
    }
    .discover2 .tab {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 16px 10px;
        border: 1px solid var(--line-d);
        margin-bottom: 0;
        font-size: 10px;
        letter-spacing: 0.12em;
    }
    .discover2 .tab.active {
        color: var(--sand);
        border-color: var(--sand);
        background: rgba(227, 214, 196, 0.08);
    }
    .discover2 .panel {
        padding-top: 36px;
    }
    /* plan de masse : pleine largeur, hauteur auto → plus grand et lisible (fini le grand vide) */
    .plan-frame {
        padding: 12px;
    }
    .plan-frame img {
        height: auto;
    }
}

/* sur appareils tactiles (pas de survol) : on révèle d'office les descriptions
   des chapitres "Art de vivre", sinon elles resteraient invisibles */
@media (hover: none) {
    .chapter p {
        opacity: 1;
        max-height: 240px;
        margin-top: 6px;
    }
    .chapter .c-ico svg {
        opacity: 0.8;
    }
}

/* ============================================================
   Ajouts production : feedback formulaires + honeypot anti-bot
   ============================================================ */
.fld .err-msg {
    color: #ff9a8a;
    font-size: 12px;
    font-family: var(--sans);
    margin-top: 2px;
}
.fld input.is-invalid,
.fld select.is-invalid,
.fld textarea.is-invalid {
    border-color: #ff9a8a;
}
.form-note {
    font-family: var(--sans);
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.5;
}
.form-note.ok {
    color: #7fd1a3;
}
.form-note.ko {
    color: #ff9a8a;
}
.mb .form-note {
    text-align: center;
}

/* honeypot : masqué, hors flux, inaccessible au clavier */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
