/* =========================
   Tokens
========================= */
:root {
    --bg: #0f0f11;
    --surface: #121316;
    --line: #1b1b1d;
    --text: #e8e8ea;
    --muted: #a8a8ad;
    --gold: #b08a31; /* dourado mais fechado */
    --white: #ffffff;
    --container: 1280px;
    /* new vars */
    --primary-color: #7a9ca8;
    --button-radius: 50vh;
}

/* =========================
   Base
========================= */
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
        Cantarell, Noto Sans, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}
.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;
}

/* =========================
   Services dropdown
========================= */
.experiences {
    position: relative;
}
.experiences__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 8px;
    background: transparent;
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
}
.experiences__label {

}
.experiences__list {
    position: absolute;
    right: 0;
    top: 44px;
    min-width: 140px;
    background: #0f0f12;
    border: 1px solid #2a2a2d;
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    margin: 0;
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    z-index: 12050; /* acima de selects */
}
.experiences__list li {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text);
}
.experiences__list li a {
    color: inherit !important;
    text-decoration: none;
}
.experiences__list li:hover {
    background: #151519;
}
.experiences[aria-expanded="true"] .experiences__list {
    display: block;
}

/* =========================
   Language dropdown (base)
========================= */
.lang {
    position: relative;
}
.lang__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 8px;
    background: transparent;
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
}
.lang__list {
    position: absolute;
    right: 0;
    top: 44px;
    min-width: 140px;
    background: #0f0f12;
    border: 1px solid #2a2a2d;
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    margin: 0;
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    z-index: 12050; /* acima de selects */
}
.lang__list li {
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text);
}
.lang__list li:hover {
    background: #151519;
}
.lang[aria-expanded="true"] .lang__list {
    display: block;
}

/* Hamburger + menu */
.hamburger {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: #fff;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
}
.menu-panel[hidden] {
    display: none;
}
.menu-panel {
    position: absolute;
    top: 56px;
    right: 24px;
    z-index: 12050; /* acima de selects */
    background: rgba(10, 10, 12, 0.96);
    border: 1px solid #2a2a2d;
    border-radius: 6px;
    padding: 10px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.menu-panel a {
    color: #e6e6ea;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 4px;
}
.menu-panel a:hover {
    background: #17171b;
}

/* =========================
   Hero
========================= */
.hero {
    position: relative;
    min-height: 66vh;
    display: grid;
    align-items: end;
    border-bottom: 1px solid var(--line);
}
.hero__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.45) 40%,
            rgba(15, 15, 17, 0.85)
        ),
        var(--hero-url, linear-gradient(120deg, #1d2127, #0f1114));
    background-size: cover;
    background-position: center;
}

/* Topbar overlay (logo esq / idioma + hamburger dir) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 12055;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
}
.hero__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px clamp(16px, 2vw, 28px);
}
@media (max-width: 576px) {
    .hero__topbar {
        gap: 10px;
        padding: 5px 12px;
    }
}
@supports (padding: max(0px)) {
    .hero__topbar {
        padding-top: max(5px, env(safe-area-inset-top));
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.brand--overlay {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}
.brand__mark {
    width: clamp(120px, 14vw, 160px);
    height: auto;
    object-fit: contain;
}
.brand__word {
    font: 700 16px Inter, sans-serif;
    letter-spacing: 2.8px;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Conteúdo centralizado e mais abaixo (como no print) */
.hero.hero--centered {
    min-height: 92vh;
    display: grid;
    place-items: end center;
}
.hero--centered .hero__content {
    position: relative;
    padding: 0 20px 96px;
    text-align: center;
}
.eyebrow {
    color: #cfcfd4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 10px;
}
.hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
}
.hero__title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: clamp(36px, 6vw, 72px);
    margin: 0;
}
.hero__title--center {
    letter-spacing: 0.24em;
    font-size: clamp(40px, 7vw, 86px);
    margin: 6px 0;
}
.hero__subtitle {
    margin: 0.25rem 0 1.25rem;
    color: #d2d2d6;
}
.hero__subtitle--center {
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #dddde2;
    margin-bottom: 10px;
}
.hero__dots {
    display: flex;
    gap: 12px;
    margin: 6px auto 18px;
}
.hero__dots span {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
}
.hero__dots .is-active {
    background: #eaeaec;
}

/* =========================
   Dropdowns genéricos
========================= */
.select {
    position: relative;
}
.select__button {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(51, 53, 57, 0.92);
    color: #fff;
    padding: 0 16px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}
.select__button::after {
    content: "▾";
    opacity: 0.85;
    margin-left: 8px;
    font-size: 12px;
}
.select__value {
    color: #fff;
    font-weight: 600;
}
.select__list {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    background: #0f0f12;
    border: 1px solid #2a2a2d;
    border-radius: 12px;
    padding: 8px;
    list-style: none;
    margin: 0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
    display: none;
    max-height: 320px;
    overflow: auto;
    min-width: 100%;
}
.select[aria-expanded="true"] .select__list {
    display: block;
}
.select__option {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
}
.select__option:hover {
    background: #17171b;
}

/* =========================
   Search (pixel-perfect)
========================= */
.search {
    display: grid;
    gap: 0;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    width: min(100%, 980px);
    background: rgba(24, 25, 28, 0.72);
    border: none;
    border-radius: 0;
    overflow: visible; /* importante para dropdowns */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.search .select + .select .select__button {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.btn {
    height: 56px;
    padding: 0 26px;
    border: 0;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
}
.btn--gold {
    background: var(--primary-color);
    color: #fff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--button-radius);
}
.btn--gold.right {
    border-radius: 0 var(--button-radius) var(--button-radius) 0;
}

/* =========================
   Villas (lista)
========================= */
.villas {
    padding: 56px 0;
}
.villa {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.villa__title {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 8px 0 14px;
}
.stats dt {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.12em;
}
.stats dd {
    margin: 4px 0 0;
    font-weight: 600;
}
.villa__desc {
    color: #c9c9ce;
    margin: 0 0 14px;
}
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.8rem;
}
.villa__media {
    justify-self: end;
}
.villa__media img {
    width: min(560px, 100%);
    border-radius: 14px;
    border: 1px solid var(--line);
}

/* =========================
   Footer
========================= */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.footer-brand img {
    width: 44px;
    height: auto;
    filter: grayscale(1) brightness(1.6);
}
.footer-col h3 {
    margin: 0 0 10px;
    color: var(--muted);
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col a,
.footer-col span {
    color: #cfcfd4;
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--text);
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.socials .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
}
.footer-wordmark {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    text-align: center;
    letter-spacing: 0.4em;
    padding: 20px 0 36px;
    color: #f0f0f1;
    font: 700 40px Inter, sans-serif;
}

/* =========================
   Cookie bar (LGPD)
========================= */
.cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 12, 14, 0.96);
    border-top: 1px solid var(--line);
    z-index: 2050;
}
.cookie__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 14px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.cookie p {
    margin: 0;
    color: #d1d1d6;
}
.cookie__link {
    color: var(--gold);
    text-decoration: none;
}
.cookie__actions {
    display: flex;
    gap: 10px;
}

/* =========================
   Reveal on scroll
========================= */
.reveal {
    opacity: 1;
    transform: none;
}
.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* =========================
   Breakpoints
========================= */
@media (max-width: 1200px) {
    .villa {
        grid-template-columns: 1fr;
    }
    .villa__media {
        justify-self: start;
    }
}
@media (max-width: 992px) {
    .search {
        grid-template-columns: 1fr 1fr;
    }
    .btn--gold {
        grid-column: 1 / -1;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .search {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-wordmark {
        font-size: 28px;
    }
}

/* === HERO: inputs colados, sem radius, SEARCH branco === */
.hero .search {
    gap: 0 !important;
    padding: 0 !important;
    border: none;
    border-radius: 0;
    width: min(100%, 980px);
}
.hero .select__button {
    height: 56px;
    padding: 0 16px;
    background: rgba(51, 53, 57, 0.92);
    color: #fff;
    border: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.hero .search--hero {
    background-color: transparent;
}
.hero .select__button.location {
    padding-left: 22px;
    border-radius: var(--button-radius) 0 0 var(--button-radius);
}
.select__button.location {
    padding-left: 22px;
    border-radius: var(--button-radius) 0 0 var(--button-radius);
}
/* divisória sutil só entre os blocos internos */
.hero .search .select:not(:first-child) .select__button {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}
/* botão SEARCH dourado */
.hero .btn--hero {
    height: 56px;
    border: 0;
    border-radius: 0 var(--button-radius) var(--button-radius) 0;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0 26px;
    border-left: 1px solid rgba(0, 0, 0, 0.25);
}
/* caret (seta) nos selects */
.hero .select__button::after {
    content: "▾";
    opacity: 0.85;
    margin-left: 8px;
    font-size: 12px;
}

/* === Responsivo do HERO === */
@media (max-width: 992px) {
    .hero .search {
        grid-template-columns: 1fr 1fr;
    }
    .hero .search .select:nth-child(odd) .select__button {
        border-left: 0;
    }
    .hero .search .select:nth-child(n + 3) .select__button {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }
    .hero .btn--hero {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.25);
    }
}
@media (max-width: 576px) {
    .hero .search {
        grid-template-columns: 1fr;
    }
    .hero .search .select__button {
        border-left: 0;
    }
    .hero .search .select:not(:first-child) .select__button {
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }
}

/* === Centralizar a barra de inputs do HERO === */
.hero--centered .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero.hero--centered .search {
    margin-inline: auto !important;
}

/* =========================================
   HERO video + véu e CTA
========================================= */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__video::-webkit-media-controls {
    display: none !important;
}
.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.45) 40%,
        rgba(15, 15, 17, 0.86)
    );
    pointer-events: none;
}
/* manter conteúdo/menus acima do vídeo */
.hero .hero__content {
    position: relative;
    z-index: 2;
}

/* CTA dourado do topo */
.topbar-cta, .topbar-cta-button {
    height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border: 0;
    border-radius: var(--button-radius);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
}
.topbar-cta:hover {
    filter: brightness(1.05);
}
@media (max-width: 576px) {
    .topbar-cta {
        display: inline-flex;
        height: 32px;
        padding: 0 10px;
        font-size: 0.78rem;
        border-radius: var(--button-radius);
        white-space: nowrap;
    }
    .topbar-right {
        gap: 8px;
    }
    .lang__btn {
        height: 32px;
        padding: 0 6px;
        letter-spacing: 0.12em;
    }
    .hamburger {
        width: 32px;
        height: 32px;
    }
    .brand__mark {
        width: 32px;
        height: auto;
    }
}

/* =========================================
   Datepicker estilo Airbnb (dark)
========================================= */
.dp {
    width: 420px;
    max-width: 90vw;
    background: #0f0f12;
    border: 1px solid #2a2a2d;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.dp__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.dp__title {
    text-transform: capitalize;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.dp__nav {
    width: 32px;
    height: 32px;
    border: 1px solid #2a2d;
    background: #141417;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e8e8ea;
}
.dp__nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.dp__dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 6px 0 4px;
    color: #a8a8ad;
    font-size: 0.78rem;
    text-align: center;
}
.dp__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.dp__day {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}
.dp__day--muted {
    color: #606067;
}
.dp__day--disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.dp__day:hover {
    background: #18181c;
}
.dp__day--today {
    border-color: #2a2a2d;
}
.dp__day--selected {
    background: var(--gold);
    color: #fff;
    border-color: transparent;
}

/* Mobile: popover ocupa a largura da viewport, sem corte */
@media (max-width: 576px) {
    .dp {
        width: calc(100vw - 32px);
        max-width: 420px;
    }
}

/* =========================================
   Dropdowns no HERO: z-index alto (sempre acima)
========================================= */
.hero .search {
    overflow: visible !important;
    position: relative;
}
.hero .select {
    position: relative;
    z-index: 5;
}
.hero .select__list {
    z-index: 12040 !important; /* abaixo do menu/idiomas (12050) */
    pointer-events: auto;
}

/* Calendários: sem scroll do container */
.select[data-select-date] .select__list {
    max-height: none !important;
    overflow: visible !important;
}
/* Guests/Location com scroll interno */
.select[data-select-guests] .select__list {
    max-height: 260px;
    overflow-y: auto;
}
.select[data-select-location] .select__list {
    max-height: 280px;
    overflow-y: auto;
}

/* Mobile: popover pode virar fixed */
@media (max-width: 576px) {
    .hero .select__list {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateZ(0);
    }
}

/* ===== (eight) villas ===== */
.eight {
    padding: 64px 0 40px;
}
.eight__intro {
    max-width: 1120px;
    margin: 0 auto 36px;
    padding: 0 20px;
}
.eight__eyebrow {
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: #b6b6bd;
    margin: 0 0 10px;
}
.eight__title {
    font-size: clamp(28px, 4.8vw, 54px);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin: 0 0 18px;
}
.eight__lead {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #d0d0d6;
    line-height: 1.6;
    max-width: 880px;
}
.eight__list {
    max-width: 1200px;
    margin: 26px auto 0;
    display: grid;
    gap: 56px;
    padding: 0 20px;
}
.eight__item {
    display: grid;
    gap: 24px;
    align-items: center;
}
@media (min-width: 980px) {
    .eight__item {
        grid-template-columns: 1.2fr 1fr;
    }
}
.eight__txt h3 {
    font-size: clamp(20px, 2.4vw, 28px);
    margin: 0 0 10px;
    font-weight: 600;
}
.eight__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 10px 0 14px;
    color: #bfbfc6;
}
.eight__meta span {
    display: inline-flex;
    gap: 6px;
}
.eight__desc {
    color: #cfd0d6;
    line-height: 1.7;
    margin: 0 0 14px;
    max-width: 680px;
}
.eight__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.eight__actions .btn {
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.btn--ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: #eaeaf0;
}
.eight__img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.eight__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/10;
}

/* ===== contact (white) ===== */
.contact-white {
    background: #fff;
    color: #0e0e10;
    padding: 8vw 0;
}
.contact__wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 36px;
}
@media (min-width: 980px) {
    .contact__wrap {
        grid-template-columns: 1.1fr 1fr;
    }
}
.contact__title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.06;
    margin: 0;
}
.contact__title em {
    font-style: italic;
}
.contact__form {
    background: #fafafa;
    border: 1px solid #e7e7ea;
    border-radius: 14px;
    padding: 22px;
}
.contact__grid {
    display: grid;
    gap: 14px;
}
@media (min-width: 700px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}
.contact__grid .full {
    grid-column: 1/-1;
}
.contact__form label {
    font-size: 0.86rem;
    color: #5c5f66;
    margin-bottom: 6px;
    display: block;
}
.contact__form input,
.contact__form textarea {
    width: 100%;
    border: 1px solid #dedee2;
    border-radius: 10px;
    padding: 12px 12px;
    background: #fff;
    color: #111;
}
.contact__form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}
.contact__msg {
    margin: -6px 0 10px;
    font-size: 0.95rem;
}
.contact__ok {
    color: #198754;
}
.contact__err {
    color: #b02a37;
}

/* =========================
   EIGHT: lista + botões “pill”
========================= */
.eight-wrap {
    --gap-x: 28px;
    --gap-y: 46px;
}
.eight-card .btn-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.eight-card .pill-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
        border-color 0.2s ease;
}
.eight-card .pill-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-1px);
}
.eight-card .pill-btn:active {
    transform: translateY(0);
}

/* =========================
   CONTACT (seção branca)
========================= */
.section-contact {
    background: #fff;
    color: #0a0a0a;
    padding: clamp(48px, 8vw, 96px) min(4vw, 28px);
}
.section-contact .container {
    max-width: 1080px;
    margin: 0 auto;
}
.contact-title {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
        sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: clamp(22px, 3.2vw, 32px);
    margin: 0 0 28px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
}
@media (max-width: 840px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.form-field {
    display: flex;
    flex-direction: column;
}
.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #111;
    margin-bottom: 10px;
}
.form-label .req {
    color: #ff5a5f;
    font-weight: 600;
    line-height: 1;
}
.input-underline {
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid #111;
    border-radius: 0;
    padding: 14px 0 12px;
    color: #111;
    font-size: 16px;
}
.input-underline::placeholder {
    color: #9a9a9a;
}
.input-underline:focus {
    outline: none;
    border-bottom-color: #000;
}
.contact-divider {
    border: 0;
    border-top: 1px solid #111;
    margin: 14px 0 22px;
}
.consent-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 22px;
}
.consent-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
.contact-actions {
    display: flex;
    justify-content: flex-end;
}
.btn-pill-outline {
    appearance: none;
    background: #fff;
    color: #111;
    border: 1px solid #111;
    border-radius: 999px;
    padding: 14px 34px;
    line-height: 1;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-pill-outline:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}
.btn-pill-outline:active {
    transform: none;
}

/* --- Booking card overrides --- */
.book__row {
    grid-template-columns: 1fr 1fr 1fr minmax(210px, auto);
}
.book .btn--gold {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.15;
    min-width: 210px;
    padding-inline: 18px;
    text-align: center;
}
.book .btn--gold .btn__reserve {
    font-weight: 600;
    letter-spacing: 0.14em;
}
.book .btn--gold .btn__price {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    margin-top: 2px;
    opacity: 0.95;
}
@media (max-width: 768px) {
    .book__row {
        grid-template-columns: 1fr 1fr;
    }
    .book .btn--gold {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

/* ==== Fix mobile: cortar no iOS/Android (vh + overflow) ==== */
html,
body {
    overflow-x: hidden;
}
@media (max-width: 576px) {
    .hero.hero--centered {
        min-height: 100svh;
    }
    .hero--centered .hero__content {
        padding-bottom: clamp(72px, 18svh, 132px);
    }
    .select__list {
        max-width: 100vw;
    }
}
.section-contact {
    overflow-x: clip;
}
@media (max-width: 768px) {
    .eight-wrap .villa__media {
        order: -1;
        margin-bottom: 14px;
    }
}
@media (max-width: 840px) {
    .white-contact .contact-actions {
        grid-column: 1 / -1 !important;
        justify-content: center;
    }
    .white-contact .consent-row {
        grid-column: 1 / -1 !important;
    }
}
@media (max-width: 420px) {
    .white-contact {
        padding: 44px 16px;
    }
    .white-contact .btn-pill-outline {
        width: 100%;
        padding: 14px 20px;
    }
}

/* --- MOBILE STACK FIX: dropdown sempre acima dos outros selects --- */
@media (max-width: 768px) {
    .hero .select {
        z-index: auto !important;
    }
    .hero .select[aria-expanded="true"] {
        z-index: 12060 !important;
    }
    .hero .select[aria-expanded="true"] .select__list {
        z-index: 12070 !important;
    }
}
@media (min-width: 577px) and (max-width: 768px) {
    .hero .select__list {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        transform: translateZ(0);
    }
}

/* === Results: garantir que o valor dos <input type="date"> apareça === */
#f-checkin,
#f-checkout {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}
#f-checkin::-webkit-datetime-edit,
#f-checkout::-webkit-datetime-edit,
#f-checkin::-webkit-datetime-edit-fields-wrapper,
#f-checkout::-webkit-datetime-edit-fields-wrapper,
#f-checkin::-webkit-datetime-edit-text,
#f-checkout::-webkit-datetime-edit-text,
#f-checkin::-webkit-datetime-edit-month-field,
#f-checkout::-webkit-datetime-edit-month-field,
#f-checkin::-webkit-datetime-edit-day-field,
#f-checkout::-webkit-datetime-edit-day-field,
#f-checkin::-webkit-datetime-edit-year-field,
#f-checkout::-webkit-datetime-edit-year-field {
    color: var(--text);
}
#f-checkin::placeholder,
#f-checkout::placeholder {
    color: var(--muted);
    opacity: 0.8;
}
.filters .display-field {
    position: relative;
    display: inline-block;
}
.filters .display-field input {
    height: 44px;
    background: #0f0f12;
    border: 1px solid #2a2a2d;
    border-radius: 8px;
    padding: 0 12px 0 12px;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}
.filters .display-field .display-field__label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.filters .display-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    pointer-events: auto;
    width: 100%;
    height: 100%;
}
.filters .display-field input[type="date"] {
    padding-right: 38px;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23b08a31'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 011 1v15a1 1 0 01-1 1H4a1 1 0 01-1-1V5a1 1 0 011-1h3V2zm13 8H4v10h16V10zM6 12h4v4H6v-4z'/%3E%3C/svg%3E");
}

/* Botão RESERVE desabilitado */
.btn--gold.is-disabled {
    opacity: 0.55;
    filter: saturate(0.4);
    cursor: not-allowed;
    pointer-events: none;
}
.btn--gold.is-disabled:hover {
    transform: none;
}

/* =========================
   Go Up Button
========================= */
.goup {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 2060;
    box-shadow: 0 4px 20px rgba(122, 156, 168, 0.3);
    transition: all 0.3s ease;
}
.goup-hidden {
    visibility: hidden;
}

.goup:hover {
    background: #8fadb8;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(122, 156, 168, 0.4);
}
.goup:active {
    transform: translateY(-2px);
}
.goup svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.goup:hover svg {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .goup {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 480px) {
    .goup {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    .goup svg {
        width: 18px;
        height: 18px;
    }
}

/* =========================
   Breakpoints
========================= */
@media (max-width: 992px) {
    .hero .select__button.location {
        border-radius: 28px 0 0 0;
    }
    .hero .select__button.checkin {
        border-radius: 0 28px 0 0;
    }
    .hero .btn--hero {
        border-radius: 0 0 28px 28px;
    }
    .book .book__row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .book .select__button.location {
        border-radius: 28px 0 0 0;
    }
    .book .select__button.guest {
        border-radius: 0 28px 0 0;
    }
    .book .btn--gold {
        border-radius: 0 0 28px 28px;
    }
}
@media (max-width: 576px) {
    .hero .select__button.location {
        border-radius: 28px 28px 0 0;
    }
    .hero .btn--hero {
        border-radius: 0 0 28px 28px;
    }
    .hero .select__button.checkin {
        border-radius: 0 0 0 0;
    }
    .book .book__row {
        grid-template-columns: 1fr;
    }
    .book .select__button.location {
        border-radius: 28px 28px 0 0;
    }
    .book .select__button.guest {
        border-radius: 0;
    }
    
}
