/*
  Nanö Beach Hotel — Subaúma, Bahia
  Design system gerado a partir do Figma "NANÖ BEACH HOTEL - V02"
  Mobile-first, tipografia fluida (clamp), efeitos de scroll em main.js
*/

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { height: 100%; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4, blockquote, p { font-weight: 400; }

/* ===================== FONTES ===================== */
@font-face {
    font-family: "burnest";
    src: url("../fonts/Burnest-Thin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ===================== TOKENS ===================== */
:root {
    --cream:        #FBF9F3;
    --cream-light:  #F5F0E5;
    --cream-lighter:#F6F1E6;
    --cream-faint:  #F2ECE0;
    --ellipse:      #FAF6F0;
    --ink:          #3F4525;
    --body-text:    #594A3D;
    --body-soft:    #58503C;
    --sage:         #858A63;
    --gold:         #B1946F;
    --mist:         #D9D9D9;

    --font-display: "burnest", "Cormorant Garamond", Georgia, serif;
    --font-sans: "avenir-next-lt-pro", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --shell-max: 1720px;
    --shell-pad: clamp(1.5rem, 5vw, 4.5rem);

    --ease-silk: cubic-bezier(.16,.84,.44,1);
    --ease-out: cubic-bezier(.22,1,.36,1);
    --dur-fast: .4s;
    --dur-med: .8s;
    --dur-slow: 1.4s;

    --header-h: clamp(72px, 9vw, 104px);
}

html { scroll-behavior: auto; }
.js html[data-lenis] { scroll-behavior: auto; }

body {
    background: var(--cream);
    color: var(--body-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* ===================== UTILITIES ===================== */
.shell { max-width: var(--shell-max); margin-inline: auto; padding-inline: var(--shell-pad); }

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

.skip-link {
    position: fixed; top: -100%; left: 1rem; z-index: 1000;
    background: var(--ink); color: var(--cream); padding: .85em 1.4em;
    border-radius: 4px; font-size: .85rem; letter-spacing: .04em;
    transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.1em;
}

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--ink);
}

/* Em colunas estreitas (mobile e grids de 2-3 colunas no tablet), o <br>
   manual pode forçar uma segunda quebra e gerar 3+ linhas; deixamos o
   navegador escolher a quebra ideal para o título nesses casos. */
@media (max-width: 1150px) {
    [data-title-glow] br { display: none; }
}

p { color: var(--body-text); }

/* ===================== REVEAL ANIMATIONS (progressive enhancement) ===================== */
.js [data-reveal] { will-change: transform, opacity, clip-path; }

.js .reveal-lines span {
    display: block;
    overflow: clip;
}
.js .reveal-lines span::before { content: ""; }
.js .reveal-lines[data-reveal] span {
    opacity: 0;
    transform: translateY(60%);
    transition: transform var(--dur-slow) var(--ease-silk), opacity var(--dur-slow) var(--ease-silk);
}
.js .reveal-lines.is-visible span {
    opacity: 1;
    transform: translateY(0);
}
.js .reveal-lines.is-visible span:nth-child(2) { transition-delay: .09s; }
.js .reveal-lines.is-visible span:nth-child(3) { transition-delay: .18s; }

/* Sem opacity de propósito: o título dentro desses blocos já tem seu
   próprio efeito de preenchimento de cor (initTitleGlow em main.js). Como
   opacity do pai afeta toda a árvore de filhos (não dá pra um filho
   "escapar" disso só com opacity:1 próprio), um fade de opacidade aqui
   competia visualmente com o preenchimento do título — o texto parecia já
   nascer parcialmente aceso e depois saltar pro final. Por isso o reveal
   do bloco usa só transform (desliza pra cima), sem mexer em opacidade. */
.js .story__copy[data-reveal],
.js .gastronomy__copy[data-reveal],
.js .wellness__copy[data-reveal],
.js .lodging__copy[data-reveal],
.js .newsletter__inner[data-reveal] {
    transform: translateY(32px);
    transition: transform var(--dur-med) var(--ease-silk);
}
.js .story__copy.is-visible,
.js .gastronomy__copy.is-visible,
.js .wellness__copy.is-visible,
.js .lodging__copy.is-visible,
.js .newsletter__inner.is-visible {
    transform: translateY(0);
}

.js .media-reveal img {
    object-fit: cover;
    object-position: right;
    transform: scale(1.14);
    transition: transform 1.6s var(--ease-silk);
}
.js .media-reveal::after {
    content: "";
    position: absolute; inset: 0;
    background: var(--cream);
    transform-origin: bottom;
    transition: transform 1.1s var(--ease-silk);
    pointer-events: none;
}
.js .media-reveal.is-visible img { transform: scale(1); }
.js .media-reveal.is-visible::after { transform: scaleY(0); }

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal], .js [data-reveal] *, .js .media-reveal img, .js .media-reveal::after {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
    .js .media-reveal::after { display: none; }
}

/* ===================== PRELOADER ===================== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink);
    transition: opacity .7s var(--ease-out), visibility .7s var(--ease-out);
}
.preloader__mark {
    font-family: var(--font-display);
    color: var(--cream);
    font-size: clamp(2rem, 6vw, 3.4rem);
    letter-spacing: .04em;
    opacity: 0;
    animation: preloader-fade 1.4s var(--ease-out) forwards;
}
@keyframes preloader-fade { to { opacity: 1; } }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .preloader { display: none; }

/* ===================== CURSOR ===================== */
.cursor {
    position: fixed; top: 0; left: 0; z-index: 9998;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--gold);
    mix-blend-mode: multiply;
    transform: translate3d(-50%,-50%,0);
    pointer-events: none;
    transition: width .3s var(--ease-out), height .3s var(--ease-out), opacity .3s;
    opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 46px; height: 46px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ===================== SITE HEADER ===================== */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 500;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding-inline: clamp(1.25rem, 5vw, 3.5rem);
    color: var(--cream);
    transition: background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.site-header::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(20,18,10,.45), transparent);
    z-index: -1;
    opacity: 1;
    transition: opacity .5s var(--ease-out);
}
.site-header--solid { background: rgba(251,249,243,.92); backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 1px 0 rgba(63,69,37,.08); }
.site-header--solid::before { opacity: 0; }
.site-header--hidden { transform: translateY(-100%); }
.site-header { transition: background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .5s var(--ease-out); }

.nav-left { display: flex; align-items: center; gap: clamp(.7rem, 1.8vw, 1.1rem); }

.nav-divider { width: 1px; height: 16px; background: currentColor; opacity: .35; }

.menu-trigger { display: flex; align-items: center; gap: .8rem; }
.menu-trigger__icon { display: flex; flex-direction: column; gap: 6px; width: 44px; }
.menu-trigger__icon i { display: block; height: 1px; background: currentColor; transition: width .35s var(--ease-out), transform .35s var(--ease-out); }
.menu-trigger__icon i:first-child { width: 34px; }
.menu-trigger__icon i:last-child { width: 44px; }
.menu-trigger:hover .menu-trigger__icon i { width: 44px; }
.menu-trigger__label {
    font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
@media (max-width: 420px) { .menu-trigger__label { display: none; } }

/* Em telas estreitas, MENU e IDIOMAS ficam espremidos um no outro e o
   grupo inteiro chega perto demais da logo (centralizada por posição
   absoluta). Damos mais respiro entre os dois e encolhemos o ícone do
   menu — que só precisa caber as linhas do hambúrguer — para abrir
   espaço extra até a logo sem mexer no padding do header. */
@media (max-width: 480px) {
    .nav-left { gap: 1.15rem; }
    .menu-trigger__icon { width: 26px; gap: 5px; }
    .menu-trigger__icon i:first-child { width: 19px; }
    .menu-trigger__icon i:last-child,
    .menu-trigger:hover .menu-trigger__icon i { width: 26px; }
}

.brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand img { height: clamp(42px, 5vw, 52px); width: auto; }
@media (max-width: 380px) { .brand img { height: 34px; } }

.header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }

.lang-dropdown { position: relative; }
.lang-dropdown__trigger {
    display: flex; align-items: center; gap: .45em;
    font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.lang-dropdown__caret { width: 9px; height: 6px; transition: transform .35s var(--ease-out); }
.lang-dropdown.is-open .lang-dropdown__caret { transform: rotate(180deg); }

.lang-dropdown__menu {
    position: absolute; top: calc(100% + 1rem); left: 50%;
    min-width: 9rem;
    background: var(--cream); color: var(--ink);
    border-radius: 5px;
    box-shadow: 0 24px 48px -16px rgba(63,69,37,.4);
    padding: .4rem;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
}
.lang-dropdown.is-open .lang-dropdown__menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.lang-dropdown__menu li {
    padding: .65em .9em;
    font-size: .82rem; letter-spacing: .03em;
    border-radius: 3px; cursor: pointer;
    transition: background-color .2s var(--ease-out);
}
.lang-dropdown__menu li:hover,
.lang-dropdown__menu li[aria-selected="true"] { background: rgba(177,148,111,.16); }

.reserve-button {
    background: var(--gold); color: var(--cream-light);
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    padding: .95em 1.7em; border-radius: 6px;
    transition: background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.reserve-button:hover { background: #9c8060; }
@media (max-width: 640px) { .reserve-button { font-size: .66rem; padding: .8em 1.4em; } }

/* ===================== MENU PANEL ===================== */
.menu-panel {
    position: fixed; inset: 0; z-index: 900;
    visibility: hidden;
    pointer-events: none;
}
.menu-panel__backdrop {
    position: absolute; inset: 0;
    background: rgba(20,18,10,.42);
    opacity: 0;
    transition: opacity .5s var(--ease-out);
}
.menu-panel__content {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(92vw, 480px);
    background: var(--ink);
    color: var(--cream);
    padding: clamp(1.5rem, 5vw, 3rem);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .6s var(--ease-silk);
}
.menu-panel.is-open { visibility: visible; pointer-events: auto; }
.menu-panel.is-open .menu-panel__backdrop { opacity: 1; }
.menu-panel.is-open .menu-panel__content { transform: translateX(0); }

.menu-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(2.5rem, 8vh, 5rem); }
.menu-panel__top .eyebrow { margin: 0; color: var(--gold); }
.menu-close { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .5em; color: var(--cream-light); }

.menu-panel__links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .35em; }
.menu-panel__links li { display: flex; align-items: baseline; gap: 1.1em; border-top: 1px solid rgba(245,240,229,.14); padding-block: .55em; }
.menu-panel__links li:last-child { border-bottom: 1px solid rgba(245,240,229,.14); }
.menu-panel__index { font-size: .72rem; color: var(--gold); letter-spacing: .05em; }
.menu-panel__links a {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    display: inline-block;
    transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.menu-panel__links a:hover { transform: translateX(10px); opacity: .8; }

.menu-panel__footer { display: flex; flex-wrap: wrap; gap: 1.5em; padding-top: 2rem; font-size: .82rem; letter-spacing: .04em; color: var(--cream-lighter); }

/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 100svh; min-height: 560px;
    display: flex; align-items: flex-end; justify-content: center;
    overflow: clip;
    color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__video {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s var(--ease-out);
}
.hero__video.is-playing { opacity: 1; }
.hero__veil {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, rgba(15,14,8,.55) 0%, rgba(15,14,8,.08) 42%, rgba(15,14,8,.28) 100%);
}
.hero__content {
    text-align: center;
    padding-bottom: clamp(8.5rem, 19vh, 12.5rem);
    padding-inline: 1.5rem;
}
.hero__content h1 {
    color: var(--cream);
    font-size: clamp(1.55rem, 6.4vw, 5rem);
    line-height: 1.12;
    letter-spacing: -.01em;
}

.hero__scroll {
    position: absolute; bottom: clamp(1.5rem, 4vh, 2.75rem); left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .9em;
    color: var(--cream);
}
.hero__scroll span {
    font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
}
.hero__scroll i {
    display: block; width: 1px; height: 44px;
    background: linear-gradient(to bottom, rgba(251,249,243,.9), transparent);
    position: relative; overflow: hidden;
}
.js .hero__scroll i::after {
    content: ""; position: absolute; inset: 0;
    background: var(--cream);
    transform: translateY(-100%);
    animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* ===================== STORY ===================== */
.story {
    position: relative;
    padding-block: clamp(6rem, 14vw, 10rem) clamp(5rem, 10vw, 7rem);
    overflow: clip;
}
.story__map {
    position: absolute; top: 0; left: 0;
    width: 100%;
    aspect-ratio: 1932 / 1268;
    overflow: clip;
}
.story__map-bg {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .5;
}
.story__map-pin {
    position: absolute;
    left: 45.1%; top: 52.8%;
    width: clamp(38px, 4vw, 62px); height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 8px 16px rgba(63,69,37,.3));
}

/* O mapa é posicionado a partir do topo absoluto da seção (antes do
   padding-top entrar em cena), então em telas estreitas — onde a altura
   do mapa cresce proporcionalmente à largura — o pin acaba caindo em
   cima do texto de abertura (.story__statement) em vez de ficar só na
   área de respiro acima dele. Limitamos a altura do mapa no mobile para
   que o pin sempre fique dentro da faixa de padding, antes do texto
   começar. */
@media (max-width: 640px) {
    .story__map { max-height: 150px; }
}
.story__statement {
    position: relative;
    text-align: center;
    max-width: 62rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    margin-bottom: clamp(4.5rem, 11vw, 8rem);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.2vw, 3rem);
    line-height: 1.28;
    letter-spacing: -.01em;
    color: var(--ink);
}
.story__grid {
    position: relative;
    display: grid;
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
}
.story__copy h2 { font-size: clamp(1.6rem, 4.6vw, 3.3rem); line-height: 1.14; margin-bottom: .55em; }
.story__copy p { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; max-width: 34rem; }
.story__visual { position: relative; }
.story__visual img:first-child { width: 100%; height: auto; }

@media (min-width: 900px) {
    .story__grid { grid-template-columns: 1fr 1fr; }
    .story__visual { order: 2; }
}

/* ===================== MANIFESTO ===================== */
.manifest {
    padding-block: clamp(5rem, 13vw, 8.5rem);
    text-align: center;
}
.manifest__text {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4.6vw, 3rem);
    line-height: 1.3;
    color: var(--ink);
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ===================== LODGING / BANGALÔS ===================== */
.lodging {
    padding-block: clamp(4rem, 9vw, 7rem);
    display: grid;
    gap: clamp(3rem, 8vw, 5rem);
    align-items: center;
    padding-inline: var(--shell-pad);
    max-width: var(--shell-max);
    margin-inline: auto;
}
/* Fileira lado a lado: o card ativo fica à direita, o anterior aparece
   colado ao lado dele (no mesmo tamanho, não menor) com uma fatia cortada
   na borda esquerda do container, e o resto sai totalmente da área visível.
   Clicar no card ao lado traz ele pra frente e liga o slider dele. */
.lodging__outer { position: relative; max-width: 46rem; margin-inline: auto; width: 100%; }
.lodging__outer-viewport { overflow: visible; }
.lodging__outer-track {
    position: relative;
    aspect-ratio: 3 / 4;
    width: 24rem;
    max-width: 58%;
    margin-left: auto;
}
.lodging__outer-item {
    position: absolute; inset: 0;
    border-radius: 2px;
    overflow: clip;
    box-shadow: 0 24px 50px -20px rgba(63,69,37,.4);
    transition: transform .7s var(--ease-silk);
}
.lodging__outer-item[data-stack-depth="0"] { transform: translateX(0); z-index: 5; }
.lodging__outer-item[data-stack-depth="1"] { transform: translateX(calc(-100% - 1.5rem)); z-index: 4; }
.lodging__outer-item[data-stack-depth="2"] { transform: translateX(calc(-200% - 3rem)); z-index: 3; }
.lodging__outer-item[data-stack-depth="3"] { transform: translateX(calc(-300% - 4.5rem)); z-index: 2; }
.lodging__outer-item[data-stack-depth="4"] { transform: translateX(calc(-400% - 6rem)); z-index: 1; }

/* Como os cards agora ficam lado a lado (sem sobrepor), o anterior fica
   totalmente exposto — o alvo clicável cobre o card inteiro. Sem escurecer
   em repouso; só um leve realce ao passar o mouse, como dica de interação. */
.lodging__outer-veil {
    position: absolute; inset: 0; z-index: 10;
    background: rgba(20,18,10,.12);
    opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease-out);
}
.lodging__outer-item:not(.is-active) .lodging__outer-veil {
    pointer-events: auto; cursor: pointer;
}
.lodging__outer-item:not(.is-active):hover .lodging__outer-veil,
.lodging__outer-item:not(.is-active):focus-visible .lodging__outer-veil {
    opacity: 1;
}

@media (max-width: 640px) {
    .lodging__outer { max-width: 27rem; }
    .lodging__outer-track { width: 15rem; }
}

.lodging__slider { position: relative; width: 100%; height: 100%; }
.lodging__slides { position: relative; width: 100%; height: 100%; }
.lodging__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.1s var(--ease-silk);
}
.lodging__slide.is-active { opacity: 1; z-index: 1; }
.lodging__slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-arrow {
    position: absolute; bottom: 1.15rem; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(251,249,243,.85);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream);
    transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.slider-arrow:hover { background: rgba(251,249,243,.16); }
.slider-arrow svg { width: 16px; height: 16px; }
.slider-arrow--prev { left: 1.15rem; }
.slider-arrow--next { right: 1.15rem; }

.slider-dots { position: absolute; bottom: 1.85rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .55em; }
.slider-dots__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(251,249,243,.55); transition: background-color .3s var(--ease-out), transform .3s var(--ease-out); }
.slider-dots__dot.is-active { background: var(--cream); transform: scale(1.35); }


.lodging__copy h2 { font-size: clamp(1.6rem, 4.6vw, 3.1rem); line-height: 1.16; margin-bottom: .5em; }
.lodging__copy p { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; max-width: 32rem; margin-bottom: 1.8em; }

@media (min-width: 900px) {
    .lodging { grid-template-columns: 1fr 1fr; }
}

/* ===================== CTA BUTTON (text link) ===================== */
.cta-button {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    color: var(--ink);
    position: relative;
    padding-bottom: .15em;
}
.cta-button::after {
    content: "";
    position: absolute; left: 0; right: 100%; bottom: 0;
    height: 1px; background: currentColor;
    transition: right .5s var(--ease-out);
}
.cta-button:hover::after { right: 0; }
.cta-button i { transition: transform .4s var(--ease-out); }
.cta-button:hover i { transform: translate(3px, -3px); }

.text-link {
    display: inline-flex; align-items: center; gap: .5em;
    font-size: .95rem; letter-spacing: .04em; color: var(--ink);
}

/* ===================== INTERLUDE (declaração Lorem) ===================== */
.interlude {
    padding-block: clamp(4.5rem, 11vw, 7.5rem);
    text-align: center;
    background: var(--cream-lighter);
}
.interlude p {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.6vw, 2.3rem);
    line-height: 1.35;
    color: var(--ink);
    max-width: 46rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}
.interlude__quote span:first-child::before { content: "\201C"; }
.interlude__quote span:last-child::after { content: "\201D"; }

/* ===================== CINEMATIC full-bleed ===================== */
.cinematic { position: relative; height: clamp(50vh, 62vw, 88vh); overflow: clip; background: var(--ink); }
.cinematic__poster, .cinematic__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.cinematic__video {
    opacity: 0;
    transition: opacity 1.1s var(--ease-out);
}
.cinematic__video.is-playing { opacity: 1; }

/* ===================== GASTRONOMIA ===================== */
.gastronomy {
    padding-block: clamp(5rem, 11vw, 8rem);
    display: grid;
    gap: clamp(3rem, 7vw, 5rem);
    align-items: center;
    padding-inline: var(--shell-pad);
    max-width: var(--shell-max);
    margin-inline: auto;
}
.gastronomy__copy h2 { font-size: clamp(1.5rem, 4.8vw, 3.4rem); line-height: 1.14; margin-bottom: .5em; }
/* Entre 900-1200px o grid de 2 colunas deixa a coluna estreita demais para
   o tamanho fluido baseado em vw; reduzimos só nessa faixa. */
@media (min-width: 900px) and (max-width: 1300px) {
    .gastronomy__copy h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); }
}
.gastronomy__copy p { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; max-width: 34rem; margin-bottom: 1.6em; }
.gastronomy__copy blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    color: var(--ink);
    line-height: 1.4;
    max-width: 30rem;
    margin-bottom: 1.6em;
    padding-left: 1.2em;
    border-left: 1px solid var(--gold);
}
.gastronomy__portrait { position: relative; max-width: 30rem; margin-inline: auto; width: 100%; }
.gastronomy__portrait img { width: 100%; height: auto; aspect-ratio: 900/1017; object-fit: cover; }
.gastronomy__portrait figcaption {
    position: absolute; bottom: 1.4rem; left: 1.4rem;
    font-family: var(--font-display);
    color: var(--cream-light);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.25;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

@media (min-width: 900px) {
    .gastronomy { grid-template-columns: 1fr 1fr; }
    .gastronomy__portrait { order: 2; }
}

/* ===================== FOOD GALLERY (triptych) ===================== */
.food-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.5rem, 2vw, 1.5rem);
    padding-inline: var(--shell-pad);
    max-width: var(--shell-max);
    margin-inline: auto;
    padding-bottom: clamp(5rem, 11vw, 8rem);
}
.food-gallery figure { overflow: clip; aspect-ratio: 4 / 5.15; }
.food-gallery img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
    .food-gallery { padding-inline: 0; }
}

/* ===================== WELLNESS ===================== */
.wellness {
    padding-block: clamp(4rem, 9vw, 7rem);
    display: grid;
    gap: clamp(2.5rem, 6vw, 3.5rem);
    align-items: center;
    padding-inline: var(--shell-pad);
    max-width: var(--shell-max);
    margin-inline: auto;
}
.wellness__image { aspect-ratio: 4 / 5; overflow: clip; }
.wellness__image img { width: 100%; height: 100%; object-fit: cover; }
.wellness__copy { text-align: center; }
.wellness__copy h2 { font-size: clamp(1.5rem, 4.4vw, 2.9rem); line-height: 1.16; margin-bottom: .5em; }
/* A coluna central do grid de 3 colunas fica estreita entre 900-1300px. */
@media (min-width: 900px) and (max-width: 1300px) {
    .wellness__copy h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
}
.wellness__copy p { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; max-width: 26rem; margin-inline: auto; margin-bottom: 1.7em; }

@media (min-width: 900px) {
    .wellness { grid-template-columns: 1fr 1.15fr 1fr; }
}

/* ===================== EXPERIÊNCIAS / FECHAMENTO ===================== */
.experiences {
    position: relative;
    height: clamp(60vh, 60vw, 92vh);
    overflow: clip;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink);
}
.experiences img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Máscara circular: um "olho" branco com centro transparente que se abre
   conforme o scroll, descobrindo a seção. Estado/raio controlados via JS
   (initExperiencesReveal em main.js); sem JS a seção fica sempre visível.
   O texto fica ABAIXO da máscara (z-index menor) para ser revelado junto
   com a foto, como se estivesse por trás do círculo que se expande. */
.experiences__veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.experiences__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--cream);
    text-shadow: 0 4px 24px rgba(15,14,8,.55);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.8vw, 2.5rem);
    line-height: 1.32;
    padding-inline: 1.5rem;
    max-width: 100%;
}

/* ===================== NEWSLETTER ===================== */
.newsletter { padding-block: clamp(5rem, 12vw, 8.5rem); text-align: center; }
.newsletter__inner { max-width: 36rem; margin-inline: auto; padding-inline: 1.5rem; }
.newsletter__inner .eyebrow { margin-bottom: .9em; }
.newsletter h2 { font-size: clamp(1.6rem, 4.6vw, 2.9rem); line-height: 1.16; margin-bottom: .5em; }
.newsletter > .newsletter__inner > p { font-size: 1.03rem; line-height: 1.7; margin-bottom: 2em; }

.newsletter__form {
    display: flex; flex-wrap: wrap; gap: .75rem;
    justify-content: center;
}
.newsletter__form input[type="email"] {
    flex: 1 1 240px;
    background: transparent;
    border: 1px solid rgba(89,74,61,.28);
    border-radius: 3px;
    padding: 1.05em 1.2em;
    font-size: .95rem;
    color: var(--body-soft);
    transition: border-color .3s var(--ease-out);
}
.newsletter__form input[type="email"]::placeholder { color: var(--body-soft); opacity: .7; }
.newsletter__form input[type="email"]:focus { border-color: var(--gold); }
.newsletter__form button {
    background: var(--gold); color: var(--cream-light);
    padding: 1.05em 2em; border-radius: 3px;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    transition: background-color .35s var(--ease-out);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.newsletter__form button:hover { background: #9c8060; }
.newsletter__form button:disabled { opacity: .6; cursor: progress; }

.newsletter__message { margin-top: 1.2em; font-size: .78rem; color: var(--cream-faint); filter: brightness(.55); letter-spacing: .01em; }
.newsletter__message[data-state="success"] { color: var(--sage); filter: none; font-weight: 500; }
.newsletter__message[data-state="error"] { color: #a34a3a; filter: none; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--body-text); color: var(--cream); padding-block: clamp(3.5rem, 8vw, 5.5rem) 2rem; }
.site-footer__logo { width: 140px; height: auto; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.site-footer__about p { color: var(--cream-light); font-size: .92rem; line-height: 1.7; margin-bottom: 1.4em; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 1.4em; }
.site-footer__social a { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-lighter); position: relative; }
.site-footer__social a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-footer__social a:hover::after { transform: scaleX(1); }

.ft-col-h { display: block; font-size: .8rem; letter-spacing: .19em; text-transform: uppercase; color: var(--cream-lighter); margin-bottom: 1.3em; }
.ft-links { display: flex; flex-direction: column; gap: .85em; }
.ft-links a, address a { color: var(--cream); font-size: .92rem; line-height: 1.5; }
.ft-links a:hover, address a:hover { color: var(--gold); }
address { color: var(--cream); font-size: .92rem; line-height: 1.75; }

.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 1.75rem; border-top: 1px solid rgba(251,249,243,.14); }
.ft-copy { font-size: .78rem; color: var(--cream-lighter); }
.ft-copy span { opacity: .6; }
.ft-legal { display: flex; gap: 1.5em; }
.ft-legal a { font-size: .78rem; color: var(--cream-lighter); }
.ft-legal a:hover { color: var(--gold); }

@media (min-width: 720px) {
    .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ===================== MAGNETIC BUTTONS ===================== */
.magnetic { display: inline-flex; will-change: transform; }

/* ===================== RESPONSIVE TYPE BASE ===================== */
@media (min-width: 1600px) {
    :root { --shell-pad: 4.5rem; }
}
