/* =========================================================
   Hotel João de Barro — Praia Brava
   Paleta: barro (logo), ouro (anel do "e"), areia e mar
   ========================================================= */
:root {
    --barro-900: #2a180e;
    --barro-800: #3b2416;
    --barro-700: #5a3620;
    --barro-500: #8a5a36;
    --ouro: #e9b949;
    --ouro-600: #c9962a;
    --areia-50: #fbf7f0;
    --areia-100: #f4ecdf;
    --areia-200: #e9dcc6;
    --mar: #1f5f6b;
    --mar-700: #164650;
    --texto: #2d231c;
    --texto-2: #6b5d52;
    --linha: rgba(59, 36, 22, .12);

    --serif: "Fraunces", Georgia, serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px -20px rgba(42, 24, 14, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--texto);
    background: var(--areia-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ouro); color: var(--barro-900); padding: 8px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Tipografia ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 14px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--barro-500);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--areia-100); }
.eyebrow--gold { color: var(--ouro); }

.title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(30px, 4.2vw, 50px);
    line-height: 1.1;
    letter-spacing: -.015em;
    margin: 0 0 20px;
    color: var(--barro-800);
    font-variation-settings: "opsz" 120;
}
.title em { font-style: italic; color: var(--barro-500); }
.title--light { color: #fff; }
.title--light em { color: var(--ouro); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 700; font-size: 15px; letter-spacing: .01em;
    text-decoration: none;
    transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--ouro); color: var(--barro-900); box-shadow: 0 10px 24px -10px rgba(233, 185, 73, .8); }
.btn--gold:hover { background: #f2c761; }
.btn--dark { background: var(--barro-800); color: var(--areia-50); }
.btn--dark:hover { background: var(--barro-700); }
.btn--light { background: var(--areia-50); color: var(--barro-800); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 14px; }

.link-btn {
    background: none; border: 0; padding: 4px 0;
    font-weight: 700; font-size: 14px; color: var(--barro-700);
    display: inline-flex; align-items: center; gap: 8px;
    border-bottom: 1.5px solid var(--ouro);
}
.link-btn::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 1.5px solid currentColor;
    background: radial-gradient(circle, currentColor 2px, transparent 2.5px);
}
.link-btn:hover { color: var(--barro-900); }
.link-btn--light { color: var(--areia-100); }
.link-btn--light:hover { color: #fff; }

.round-btn {
    width: 52px; height: 52px; border-radius: 50%;
    border: 1.5px solid var(--linha); background: #fff; color: var(--barro-800);
    display: grid; place-items: center;
    transition: background .2s, color .2s, transform .2s;
}
.round-btn:hover { background: var(--barro-800); color: #fff; transform: scale(1.05); }

/* ---------- Header ---------- */
.header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .35s, box-shadow .35s, height .35s;
}
.header::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,10,4,.55), transparent);
    pointer-events: none; transition: opacity .35s;
}
.header.is-solid { background: rgba(251, 247, 240, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linha); height: 72px; }
.header.is-solid::before { opacity: 0; }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.header__brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: height .35s; }
.header.is-solid .header__brand img { height: 44px; filter: none; }
.header__brand-text {
    font-family: var(--serif); font-size: 17px; line-height: 1.1; color: #fff;
    padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35);
    transition: color .35s, border-color .35s;
}
.header__brand-text small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.header.is-solid .header__brand-text { color: var(--barro-800); border-color: var(--linha); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
    position: relative; text-decoration: none; font-weight: 600; font-size: 14.5px; color: #fff;
    transition: color .3s;
}
.nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.header.is-solid .nav__link { color: var(--barro-800); }
.nav__cta { padding: 11px 24px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.header.is-solid .nav-toggle span { background: var(--barro-800); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 40px) 0 150px;
    color: #fff; overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.6s ease, transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(28,14,6,.78) 0%, rgba(28,14,6,.45) 45%, rgba(28,14,6,.1) 100%),
        linear-gradient(0deg, rgba(28,14,6,.6) 0%, transparent 40%);
}
.hero__content { position: relative; max-width: 1240px; }
.hero__title {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(42px, 7vw, 92px); line-height: 1; letter-spacing: -.025em;
    margin: 0 0 24px; max-width: 13ch;
    font-variation-settings: "opsz" 144;
    text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__title em { font-style: italic; color: var(--ouro); }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 540px; margin: 0 0 34px; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero { touch-action: pan-y; }
.hero.is-dragging { cursor: grabbing; user-select: none; }
.hero.is-dragging .hero__slide { transition: opacity 1.6s ease, transform 0s; }
.hero.is-settling .hero__slide { transition: opacity 1.6s ease, transform .6s var(--ease); }
.hero.is-dragging .hero__shade { opacity: calc(1 - var(--drag, 0) * .15); }

.hero__nav {
    position: absolute; right: max(24px, calc((100vw - 1192px) / 2)); top: calc(var(--header-h) + 28px);
    display: flex; align-items: center; gap: 14px;
    color: #fff; z-index: 2;
}
.hero__arrow {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff;
    display: grid; place-items: center; backdrop-filter: blur(6px);
    transition: background .25s, border-color .25s, transform .25s;
}
.hero__arrow:hover { background: var(--ouro); border-color: var(--ouro); color: var(--barro-900); transform: scale(1.06); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
    position: relative; width: 34px; height: 20px; padding: 0; border: 0; background: none;
    transition: width .4s var(--ease);
}
.hero__dots button i {
    position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
    border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden;
}
.hero__dots button i::after {
    content: ""; position: absolute; inset: 0; background: var(--ouro);
    transform: scaleX(0); transform-origin: left;
}
.hero__dots button.is-active { width: 64px; }
.hero__dots button.is-active i::after { animation: heroProgress var(--hero-delay, 6500ms) linear forwards; }
.hero.is-dragging .hero__dots button.is-active i::after,
.hero__nav:hover .hero__dots button.is-active i::after { animation-play-state: paused; }
.hero__count { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; opacity: .85; min-width: 58px; text-align: center; }
.hero__count b { font-weight: 600; color: var(--ouro); }
@keyframes heroProgress { to { transform: scaleX(1); } }

/* Barra de reserva */
.booking {
    position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
    width: min(1192px, calc(100% - 48px));
    display: grid; grid-template-columns: 1fr 1fr .6fr auto; gap: 8px; align-items: stretch;
    padding: 10px; border-radius: 22px;
    background: rgba(251, 247, 240, .97);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
    color: var(--texto);
}
.booking__field { display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; border-radius: 14px; transition: background .2s; }
.booking__field:hover, .booking__field:focus-within { background: var(--areia-100); }
.booking__field + .booking__field { border-left: 1px solid var(--linha); }
.booking__field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--barro-500); }
.booking__field input, .booking__field select {
    border: 0; background: none; padding: 2px 0; font: 600 16px var(--sans); color: var(--barro-900); width: 100%;
    outline: none; cursor: pointer;
}
.booking__submit { border-radius: 14px; padding: 18px 32px; }
.booking__note {
    grid-column: 1 / -1; margin: 2px 0 0; padding: 6px 18px 2px;
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--texto-2);
}
.booking__note svg { color: var(--mar); width: 16px; height: 16px; }

/* ---------- Perks ---------- */
.perks { background: var(--barro-800); color: var(--areia-100); padding: 34px 0; }
.perks__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.perk { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.perk svg { grid-row: span 2; width: 32px; height: 32px; color: var(--ouro); stroke-width: 1.4; }
.perk strong { font-size: 14.5px; color: #fff; line-height: 1.2; }
.perk span { font-size: 12.5px; opacity: .72; line-height: 1.3; }

/* ---------- Seções ---------- */
.section { padding: 120px 0; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; text-align: left; }
.section__head--split .eyebrow { justify-content: flex-start; }
.section__head--split .title { margin: 0; }
.section__lead { font-size: 17.5px; color: var(--texto-2); margin: 0; }

/* ---------- História ---------- */
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.story__media { position: relative; padding: 0 60px 90px 0; }
.story__img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img--main { aspect-ratio: 4 / 4.2; border-radius: 200px 200px var(--radius) var(--radius); }
.story__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--areia-50); }
.story__badge {
    position: absolute; left: -24px; bottom: 120px;
    width: 128px; height: 128px; border-radius: 50%;
    background: var(--ouro); color: var(--barro-900);
    display: grid; place-content: center; text-align: center;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}
.story__badge-num { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 600; }
.story__badge-num small { font-size: 20px; }
.story__badge-text { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
@keyframes float { 50% { transform: translateY(-10px); } }

.story__text p { color: var(--texto-2); margin: 0 0 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; padding-top: 30px; border-top: 1px solid var(--linha); }
.stats dt { font-family: var(--serif); font-size: 34px; color: var(--barro-800); line-height: 1; margin-bottom: 8px; }
.stats dd { margin: 0; font-size: 13.5px; color: var(--texto-2); line-height: 1.4; }

/* ---------- Suítes ---------- */
.suites { background: var(--areia-100); }
.suites__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.suite {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 1px 0 var(--linha);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.suite:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.suite__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.suite__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.suite:hover .suite__media img { transform: scale(1.06); }
.suite__cap {
    position: absolute; left: 16px; top: 16px;
    background: rgba(251,247,240,.94); color: var(--barro-800);
    font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.suite__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.suite__name { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 8px; color: var(--barro-800); }
.suite__desc { margin: 0 0 18px; color: var(--texto-2); font-size: 15.5px; }
.suite__tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.suite__tags li { font-size: 12.5px; font-weight: 600; color: var(--barro-700); background: var(--areia-100); padding: 5px 11px; border-radius: 999px; }
.suite__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.master {
    margin-top: 36px;
    display: grid; grid-template-columns: 1.15fr 1fr;
    background: var(--barro-800); color: var(--areia-100);
    border-radius: var(--radius); overflow: hidden;
}
.master__media { min-height: 420px; overflow: hidden; }
.master__media img { width: 100%; height: 100%; object-fit: cover; }
.master__body { padding: 56px 56px 52px; }
.master__name { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin: 0 0 16px; color: #fff; }
.master__name em { color: var(--ouro); }
.master__body > p { color: rgba(244,236,223,.8); margin: 0 0 26px; }
.master__list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 14.5px; }
.master__list li { padding-left: 20px; position: relative; }
.master__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ouro); }
.master__list strong { color: #fff; }
.master .suite__actions { justify-content: flex-start; gap: 28px; }

.policies { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.policy { padding: 24px 28px; display: flex; flex-direction: column; }
.policy + .policy { border-left: 1px solid var(--linha); }
.policy strong { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--barro-800); }
.policy span { font-size: 14.5px; color: var(--texto-2); }

/* ---------- Lazer ---------- */
.bento { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: 620px; }
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius); }
.bento__item--lg { grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item:hover img { transform: scale(1.05); }
.bento__item figcaption {
    position: absolute; inset: auto 0 0; padding: 60px 26px 22px;
    background: linear-gradient(0deg, rgba(28,14,6,.85), transparent);
    color: #fff; display: flex; flex-direction: column;
}
.bento__item figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.bento__item figcaption span { font-size: 14.5px; opacity: .85; }
.amenities { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.amenities li {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 18px; border: 1px solid var(--linha); border-radius: 999px;
    font-size: 14.5px; font-weight: 600; color: var(--barro-700); background: #fff;
}
.amenities li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ouro); }

/* ---------- Café ---------- */
.cafe { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--mar-700); color: rgba(255,255,255,.85); }
.cafe__media { min-height: 520px; }
.cafe__media img { width: 100%; height: 100%; object-fit: cover; }
.cafe__text { padding: 90px clamp(28px, 6vw, 96px); align-self: center; }
.cafe__text p { margin: 0 0 18px; max-width: 460px; font-size: 17px; }
.cafe__note { display: inline-flex; font-weight: 700; color: var(--ouro); font-size: 14px !important; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Tour ---------- */
.tour__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tour__tab {
    border: 1.5px solid var(--linha); background: #fff; color: var(--barro-700);
    padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
    transition: all .2s;
}
.tour__tab:hover { border-color: var(--barro-500); }
.tour__tab.is-active { background: var(--barro-800); color: #fff; border-color: var(--barro-800); }
.tour__frame { position: relative; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; background: var(--barro-900); box-shadow: var(--shadow); }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__poster {
    position: absolute; inset: 0; border: 0; width: 100%;
    background-size: cover; background-position: center;
    display: grid; place-content: center; justify-items: center; gap: 18px;
    color: #fff;
}
.tour__poster[hidden] { display: none; }
.tour__poster::before { content: ""; position: absolute; inset: 0; background: rgba(28,14,6,.45); transition: background .3s; }
.tour__poster:hover::before { background: rgba(28,14,6,.3); }
.tour__play {
    position: relative; width: 96px; height: 96px; border-radius: 50%;
    background: var(--ouro); color: var(--barro-900); display: grid; place-items: center;
    box-shadow: 0 0 0 0 rgba(233,185,73,.6); animation: pulse 2.4s infinite;
}
.tour__play svg { width: 34px; height: 34px; fill: currentColor; stroke: none; margin-left: 4px; }
.tour__poster-label { position: relative; font-size: 17px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 24px rgba(233,185,73,0); } 100% { box-shadow: 0 0 0 0 rgba(233,185,73,0); } }

/* ---------- Região ---------- */
.regiao { background: var(--areia-100); overflow: hidden; }
.carousel__track {
    display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 max(24px, calc((100vw - 1192px) / 2)) 10px;
    scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track, [data-drag] { cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel__track.is-grabbing, [data-drag].is-grabbing { cursor: grabbing; }
.carousel__track.is-dragging, [data-drag].is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
[data-drag].is-dragging a, [data-drag].is-dragging button { pointer-events: none; }
.place {
    position: relative; flex: 0 0 min(400px, 78vw); aspect-ratio: 4 / 5;
    border-radius: var(--radius); overflow: hidden; scroll-snap-align: start;
}
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.place { transition: transform .6s var(--ease), opacity .6s; }
.place:hover img { transform: scale(1.06); }
.carousel__track.is-grabbing .place { transform: scale(.97); }
.place figcaption > * { transition: transform .6s var(--ease), opacity .6s; }
.place:not(.is-current) figcaption > span:last-child { opacity: .7; }
.place.is-current .place__dist { transform: translateY(-2px); }
.place figcaption {
    position: absolute; inset: auto 0 0; padding: 80px 24px 24px;
    background: linear-gradient(0deg, rgba(10,30,36,.9), transparent);
    color: #fff; display: flex; flex-direction: column;
}
.place figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.place figcaption span:last-child { font-size: 14.5px; opacity: .85; }
.place__dist {
    align-self: flex-start; margin-bottom: 10px;
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    background: var(--ouro); color: var(--barro-900); padding: 4px 10px; border-radius: 999px;
}
.carousel__nav { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.progress { flex: 1; height: 3px; background: var(--linha); border-radius: 3px; overflow: hidden; margin-right: 18px; }
.progress span { display: block; height: 100%; width: 30%; background: var(--barro-700); border-radius: 3px; transition: width .25s linear; }
.carousel__hint { display: flex; align-items: center; gap: 8px; margin: 0 18px 0 0; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.carousel__hint svg { width: 20px; height: 20px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px) rotate(-8deg); } }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* Pontos gerados pelos carrosséis arrastáveis */
.drag-dots { display: none; justify-content: center; gap: 8px; margin-top: 22px; }
.drag-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: var(--areia-200); transition: width .35s var(--ease), background .35s; }
.drag-dots button.is-active { width: 28px; background: var(--barro-700); }

/* ---------- Pacotes ---------- */
.pacotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pacote {
    display: flex; flex-direction: column;
    padding: 40px 34px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--linha);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.pacote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pacote--dark { background: var(--barro-800); color: var(--areia-100); border-color: transparent; transform: translateY(-14px); }
.pacote--dark:hover { transform: translateY(-20px); }
.pacote__tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--barro-500); margin-bottom: 18px; }
.pacote--dark .pacote__tag { color: var(--ouro); }
.pacote h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 12px; color: var(--barro-800); }
.pacote--dark h3 { color: #fff; }
.pacote p { margin: 0 0 22px; color: var(--texto-2); font-size: 15.5px; }
.pacote--dark p { color: rgba(244,236,223,.8); }
.pacote ul { list-style: none; padding: 22px 0 0; margin: 0 0 30px; border-top: 1px solid var(--linha); display: grid; gap: 10px; font-size: 14.5px; }
.pacote--dark ul { border-color: rgba(255,255,255,.14); }
.pacote li { padding-left: 26px; position: relative; }
.pacote li::before { content: "✓"; position: absolute; left: 0; color: var(--ouro-600); font-weight: 700; }
.pacote--dark li::before { color: var(--ouro); }
.pacote .btn { margin-top: auto; }

/* ---------- Contato ---------- */
.contato { background: var(--areia-100); }
.contato__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contato__addr { font-style: normal; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--barro-800); margin: 0 0 28px; }
.contato__list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 16px; }
.contato__list li { display: flex; align-items: center; gap: 16px; }
.contato__list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fff; color: var(--barro-700); stroke-width: 1.5; }
.contato__list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--barro-500); font-weight: 700; }
.contato__list a { font-weight: 700; text-decoration: none; color: var(--barro-900); font-size: 17px; word-break: break-word; }
.contato__list a:hover { color: var(--barro-500); }

.msg { background: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; }
.msg__title { font-family: var(--serif); font-size: 21px; color: var(--barro-800); margin: 0 0 4px; }
.msg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg input, .msg textarea {
    width: 100%; font: 500 15px var(--sans); color: var(--texto);
    padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--linha); background: var(--areia-50);
    resize: vertical; transition: border-color .2s, background .2s;
}
.msg input:focus, .msg textarea:focus { outline: none; border-color: var(--barro-500); background: #fff; }
.msg .btn { justify-self: start; }

.contato__map iframe { width: 100%; aspect-ratio: 1 / .85; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; filter: saturate(.85) sepia(.12); }
.distances { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.distances li { background: #fff; border-radius: var(--radius-sm); padding: 14px; font-size: 13px; color: var(--texto-2); line-height: 1.3; }
.distances strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--barro-800); }

/* ---------- CTA final ---------- */
.final { position: relative; padding: 150px 0; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; }
.final__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,70,80,.7), rgba(28,14,6,.75)); }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .title { max-width: 16ch; font-size: clamp(34px, 5vw, 60px); margin-bottom: 36px; }
.final .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--barro-900); color: rgba(244,236,223,.72); padding: 80px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand img { height: 70px; width: auto; margin-bottom: 18px; }
.footer__brand p { margin: 0 0 22px; max-width: 280px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: var(--areia-100); transition: all .25s; }
.footer__social a:hover { background: var(--ouro); color: var(--barro-900); border-color: var(--ouro); }
.footer__social svg { width: 18px; height: 18px; }
.footer__title { font-family: var(--serif); font-size: 19px; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ouro); }
.footer__small { margin: 0 0 20px; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: flex; align-items: center; gap: 0;
    height: 60px; padding: 0 16px; border-radius: 999px;
    background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px;
    box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
    transition: gap .35s var(--ease), padding .35s var(--ease), transform .3s;
}
.wa-float svg { width: 28px; height: 28px; stroke: none; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 16px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 220px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(20,10,4,.82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__box { width: min(1200px, 100%); background: var(--barro-900); border-radius: var(--radius); overflow: hidden; animation: pop .35s var(--ease); }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #fff; font-family: var(--serif); font-size: 19px; }
.modal__head p { margin: 0; }
.modal__close { background: none; border: 0; color: #fff; font-size: 32px; line-height: 1; width: 40px; height: 40px; }
.modal__body { aspect-ratio: 16 / 9; max-height: 78vh; }
.modal__body iframe { width: 100%; height: 100%; border: 0; display: block; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.1s; }
.hero .reveal:nth-child(2) { transition-delay: .12s; }
.hero .reveal:nth-child(3) { transition-delay: .24s; }
.hero .reveal:nth-child(4) { transition-delay: .36s; }
.booking.reveal { transform: translate(-50%, 28px); transition-delay: .5s; }
.booking.reveal.is-in { transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .booking.reveal { transform: translateX(-50%); }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1140px) {
    .nav { gap: 20px; }
    .nav__link { font-size: 14px; }
    .perks__grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .master__body { padding: 44px 40px; }
}

@media (max-width: 980px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: block; position: relative; z-index: 2; }
    .nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; justify-content: center; gap: 22px;
        background: var(--barro-800);
        opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
    }
    .nav.is-open { opacity: 1; visibility: visible; }
    .nav .nav__link, .header.is-solid .nav .nav__link { color: var(--areia-100); font-family: var(--serif); font-size: 28px; font-weight: 400; }
    .nav__cta { margin-top: 12px; padding: 15px 36px; font-size: 16px; }
    /* backdrop-filter prende o menu fixo dentro do header: desliga com o menu aberto */
    .header.nav-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
    .header.nav-open::before { opacity: 0; }
    .nav { height: 100vh; height: 100dvh; overflow-y: auto; padding: 90px 24px 40px; }
    .header.nav-open .header__brand img { filter: none; }
    .header.nav-open .nav-toggle span { background: #fff; }
    .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .header.nav-open .header__brand { position: relative; z-index: 2; }
    .header.nav-open .header__brand-text { color: #fff; }

    .hero { padding-bottom: 60px; justify-content: flex-end; min-height: auto; }
    .hero__content { padding-top: 20vh; }
    .hero__nav { top: auto; bottom: auto; right: 24px; top: calc(var(--header-h) + 14px); gap: 10px; }
    .hero__arrow { display: none; }
    .booking {
        position: relative; left: auto; bottom: auto; transform: none;
        width: calc(100% - 48px); margin: 40px auto 0;
        grid-template-columns: 1fr 1fr;
    }
    .booking.reveal, .booking.reveal.is-in { transform: none; }
    .booking__field:nth-child(3) { border-left: 0; }
    .booking__submit { grid-column: 1 / -1; }

    .section { padding: 88px 0; }
    .section__head--split { grid-template-columns: 1fr; gap: 16px; }
    .story__grid { grid-template-columns: 1fr; gap: 56px; }
    .story__media { max-width: 560px; }
    .story__badge { left: 0; }
    .suites__grid { grid-template-columns: 1fr 1fr; }
    .suites__grid .suite:last-child { grid-column: span 2; }
    .suites__grid .suite:last-child .suite__media { aspect-ratio: 16 / 7; }
    .master { grid-template-columns: 1fr; }
    .master__media { min-height: 0; aspect-ratio: 16 / 9; }
    .bento { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .bento__item--lg { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
    .bento__item { aspect-ratio: 4 / 3; }
    .cafe { grid-template-columns: 1fr; }
    .cafe__media { min-height: 0; aspect-ratio: 16 / 9; }
    .cafe__text { padding: 64px 24px; }
    .pacotes__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .pacote--dark, .pacote--dark:hover { transform: none; }
    .contato__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .final { background-attachment: scroll; padding: 110px 0; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .header__brand img { height: 42px; }
    .header__brand-text { display: none; }
    .hero__title { font-size: 44px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .booking { width: calc(100% - 32px); grid-template-columns: 1fr; padding: 8px; }
    .booking__field + .booking__field { border-left: 0; border-top: 1px solid var(--linha); }
    .perks { padding: 28px 0; }
    .perks__grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
    .perk svg { width: 26px; height: 26px; }
    .section { padding: 72px 0; }
    .section__head { margin-bottom: 40px; }
    .story__media { padding: 0 30px 70px 0; }
    .story__badge { width: 100px; height: 100px; bottom: 90px; }
    .story__badge-num { font-size: 34px; }
    .stats { grid-template-columns: 1fr; gap: 16px; }
    .stats div { display: flex; align-items: baseline; gap: 14px; }
    .stats dt { font-size: 28px; margin: 0; min-width: 80px; }
    .suites__grid { grid-template-columns: 1fr; }
    .suites__grid .suite:last-child { grid-column: auto; }
    .suites__grid .suite:last-child .suite__media { aspect-ratio: 4 / 3; }
    .master__body { padding: 34px 22px; }
    .master__list { grid-template-columns: 1fr; }
    .policies { grid-template-columns: 1fr; }
    .policy + .policy { border-left: 0; border-top: 1px solid var(--linha); }
    .policy { padding: 18px 4px; }
    .bento { grid-template-columns: 1fr; }
    .bento__item--lg { grid-column: auto; }
    .tour__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
    .tour__tab { flex-shrink: 0; }
    .tour__frame { aspect-ratio: 4 / 5; }
    .carousel__track { padding: 0 16px 10px; gap: 14px; }
    .carousel__nav { margin-top: 22px; }
    .carousel__nav .round-btn, .carousel__hint { display: none; }
    .progress { margin-right: 0; }
    .hero__nav { left: 16px; right: auto; }
    .hero__count { display: none; }

    /* Suítes e pacotes viram carrosséis no celular */
    .suites__grid, .pacotes__grid {
        display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none; max-width: none;
        grid-template-columns: none;
    }
    .suites__grid::-webkit-scrollbar, .pacotes__grid::-webkit-scrollbar { display: none; }
    .suites__grid > .suite, .pacotes__grid > .pacote { flex: 0 0 84%; scroll-snap-align: center; }
    .suites__grid .suite:last-child { grid-column: auto; }
    .suite:hover, .pacote:hover { transform: none; }
    .suite, .pacote { transition: transform .5s var(--ease), opacity .5s; }
    .suites__grid > .suite:not(.is-current), .pacotes__grid > .pacote:not(.is-current) { transform: scale(.95); opacity: .75; }
    .pacote--dark, .pacote--dark:hover { transform: none; }
    .drag-dots { display: flex; margin-top: 4px; }
    .msg__row { grid-template-columns: 1fr; }
    .distances { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom { padding: 20px 16px; }
    .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 14px; }
    .modal { padding: 0; }
    .modal__box { border-radius: 0; height: 100%; display: flex; flex-direction: column; }
    .modal__body { flex: 1; aspect-ratio: auto; max-height: none; }
}
