/* ==========================================================================
   Casa do Peirão — design system
   Cores da marca: castanho (#2C0703) e creme (#EBD4CB)
   ========================================================================== */

:root {
    --espresso: #2c0703;
    --espresso-soft: #44160e;
    --cream: #ebd4cb;
    --paper: #fbf8f5;
    --sand: #f4ebe5;
    --ink: #2a1712;
    --muted: #6f5b55;
    --accent: #a5482b;
    --accent-dark: #86361d;
    --line: rgba(44, 7, 3, 0.1);

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(44, 7, 3, 0.06);
    --shadow: 0 18px 40px -18px rgba(44, 7, 3, 0.35);
    --shadow-lg: 0 30px 60px -20px rgba(44, 7, 3, 0.45);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 76px;
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

/* Nunca permitir arrastar a página para o lado (ex.: em telemóveis) */
html,
body {
    overflow-x: clip;
}

/* Em ecrãs pequenos, o espaçamento horizontal das grelhas .g-5 (3rem) excedia a margem lateral
   do .container e criava uma faixa vazia à direita */
@media (max-width: 991.98px) {
    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--accent-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.1rem;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: var(--espresso);
    color: var(--cream);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    max-width: 1240px;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---------- Tipografia utilitária ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.eyebrow--light {
    color: var(--cream);
}

.section-title {
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    margin-bottom: 1.5rem;
}

.section-title--sm {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.display-title {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    margin: 0;
    font-weight: 600;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--ink);
}

.prose p {
    color: var(--muted);
    text-align: justify;
    hyphens: auto;
}

.prose .lead-text {
    color: var(--ink);
}

.dropcap::first-letter {
    float: left;
    font-family: var(--font-display);
    font-size: 4.2rem;
    line-height: 0.85;
    padding: 0.35rem 0.6rem 0 0;
    color: var(--espresso);
}

/* ---------- Botões ---------- */

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-pill i {
    font-size: 0.85em;
    transition: transform 0.25s var(--ease);
}

.btn-pill:hover {
    transform: translateY(-2px);
}

.btn-pill:hover i {
    transform: translateX(3px);
}

.btn-pill--light {
    background: var(--cream);
    color: var(--espresso);
}

.btn-pill--light:hover {
    background: #fff;
    color: var(--espresso);
    box-shadow: var(--shadow);
}

.btn-pill--ghost {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn-pill--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-pill--dark {
    background: var(--espresso);
    color: var(--cream);
}

.btn-pill--dark:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-pill--outline {
    border-color: var(--espresso);
    color: var(--espresso);
}

.btn-pill--outline:hover {
    background: var(--espresso);
    color: var(--cream);
}

.link-arrow,
.link-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--espresso);
}

.link-arrow i,
.link-back i {
    font-size: 0.8em;
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover i {
    transform: translateX(4px);
}

.link-back {
    margin-bottom: 2rem;
    color: var(--muted);
}

.link-back:hover i {
    transform: translateX(-4px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--paper);
    color: var(--espresso);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.chip--glass {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: none;
}

/* ---------- Header / navegação ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
    background: linear-gradient(to bottom, rgba(20, 4, 2, 0.55), rgba(20, 4, 2, 0));
}

.site-header.is-solid {
    background: rgba(44, 7, 3, 0.92);
    backdrop-filter: saturate(140%) blur(12px);
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.45);
}

.site-header .navbar {
    min-height: var(--header-h);
    padding-block: 0.6rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--cream);
}

.brand:hover {
    color: #fff;
}

.brand img {
    border-radius: 50%;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.navbar-toggler {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(235, 212, 203, 0.35);
    border-radius: 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header .nav-link {
    position: relative;
    color: rgba(235, 212, 203, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.show,
.site-header .nav-link.active {
    color: #fff;
}

@media (min-width: 992px) {
    .site-header .nav-link:not(.dropdown-toggle)::after {
        content: "";
        position: absolute;
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.2rem;
        height: 1px;
        background: var(--cream);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s var(--ease);
    }

    .site-header .nav-link:hover::after,
    .site-header .nav-link.active::after {
        transform: scaleX(1);
    }
}

.site-header .dropdown-menu {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    min-width: 230px;
}

.site-header .dropdown-item {
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.95rem;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: var(--sand);
    color: var(--espresso);
}

.lang-switch {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    margin-left: 0.75rem;
    border: 1px solid rgba(235, 212, 203, 0.3);
    border-radius: 999px;
}

.lang-switch button {
    border: 0;
    background: transparent;
    color: rgba(235, 212, 203, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-switch button:hover {
    color: #fff;
}

.lang-switch button.is-active {
    background: var(--cream);
    color: var(--espresso);
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border-radius: var(--radius);
        background: rgba(44, 7, 3, 0.97);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-h) - 1rem);
        overflow-y: auto;
    }

    .site-header .navbar-nav {
        align-items: stretch !important;
    }

    .site-header .dropdown-menu {
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
        margin: 0 0 0.5rem;
    }

    .site-header .dropdown-item {
        color: var(--cream);
    }

    .site-header .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .nav-lang {
        padding: 0.75rem 0.9rem 0.25rem;
    }

    .lang-switch {
        margin-left: 0;
    }
}

/* ---------- Hero (página inicial) ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background: var(--espresso);
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s linear;
}

.hero-carousel .carousel-item.active img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(20, 4, 2, 0.85) 0%, rgba(20, 4, 2, 0.35) 45%, rgba(20, 4, 2, 0.15) 70%, rgba(20, 4, 2, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(5rem, 12vh, 8rem);
    padding-top: calc(var(--header-h) + 3rem);
}

.hero-title {
    font-size: clamp(3.2rem, 10vw, 7.5rem);
    font-weight: 600;
    line-height: 0.95;
    margin: 0 0 1rem;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    color: var(--cream);
    max-width: 36ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
    justify-content: flex-end;
    margin: 0 clamp(1rem, 4vw, 2rem) 2.2rem auto;
    right: 0;
    left: auto;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 22px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: #fff;
    opacity: 0.4;
    transition: width 0.4s var(--ease), opacity 0.4s var(--ease);
}

.hero-carousel .carousel-indicators .active {
    width: 44px;
    opacity: 1;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    top: 50%;
    bottom: auto;
    width: 52px;
    height: 52px;
    margin-inline: 1.25rem;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}

.hero:hover .carousel-control-prev,
.hero:hover .carousel-control-next {
    opacity: 0.85;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
}

.scroll-cue span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: #fff;
    animation: scroll-cue 1.8s var(--ease) infinite;
}

@keyframes scroll-cue {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { opacity: 0; }
}

@media (max-width: 767.98px) {
    .scroll-cue,
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-carousel .carousel-indicators {
        justify-content: flex-start;
        margin: 0 0 1.5rem clamp(1rem, 4vw, 2rem);
        left: 0;
        right: auto;
    }
}

/* ---------- Hero das páginas interiores ---------- */

.page-hero {
    position: relative;
    min-height: clamp(420px, 72vh, 680px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: var(--espresso);
}

.page-hero--compact {
    min-height: clamp(360px, 58vh, 540px);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-zoom 12s var(--ease) both;
}

/* Duas imagens lado a lado (ex.: placas do Quarto Duplo de Fiar e Sótão) */
.page-hero-media--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    animation: none;
}

.page-hero-media--split img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

@keyframes hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 4, 2, 0.85) 0%, rgba(20, 4, 2, 0.25) 55%, rgba(20, 4, 2, 0.45) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.page-hero-subtitle {
    margin: 1rem 0 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
}

/* ---------- Secções ---------- */

.section {
    padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section--tint {
    background: var(--sand);
}

.section--dark {
    background: var(--espresso);
    color: var(--cream);
}

.section--dark .lead-text {
    color: #fff;
}

.section--dark p {
    color: rgba(235, 212, 203, 0.82);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.section-head .eyebrow::before {
    display: none;
}

.section-head--row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.section-head--row .section-title {
    margin: 0;
}

.rounded-media {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.sticky-media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.image-stack {
    position: relative;
    padding: 0 0 12% 12%;
}

.image-stack-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.image-stack-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 6px solid var(--paper);
    box-shadow: var(--shadow-lg);
}

/* ---------- Testemunhos ---------- */

.testimonial {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-mark {
    font-size: 1.6rem;
    color: var(--accent);
    opacity: 0.35;
    margin-bottom: 1rem;
}

.testimonial blockquote {
    flex: 1;
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--ink);
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--espresso);
}

.testimonial figcaption img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sand);
}

/* ---------- Cartões de quartos ---------- */

.card-grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.room-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.room-card:hover {
    color: var(--ink);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.room-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.room-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.room-card:hover .room-card-media img {
    transform: scale(1.06);
}

.room-card-media .chip {
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.room-card-body {
    position: relative;
    padding: 1.25rem 4rem 1.4rem 1.4rem;
}

.room-card-body h3 {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.room-card-body p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.room-card-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--espresso);
    font-size: 0.85rem;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.room-card:hover .room-card-arrow {
    background: var(--espresso);
    color: var(--cream);
    transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Cartões de pontos de interesse ---------- */

.poi-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.poi-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background: var(--espresso);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.poi-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 4, 2, 0.85) 0%, rgba(20, 4, 2, 0.05) 55%);
    transition: opacity 0.4s var(--ease);
}

.poi-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.poi-card:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.poi-card:hover img {
    transform: scale(1.07);
}

.poi-card-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 1.4rem;
}

.poi-card-body h3 {
    margin: 0.75rem 0 0;
    font-size: 1.75rem;
}

/* ---------- Página de quarto ---------- */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--sand);
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-list i {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--paper);
    color: var(--accent);
}

.feature-list--light {
    margin: 0;
}

.feature-list--light li {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cream);
}

.feature-list--light i {
    background: rgba(235, 212, 203, 0.12);
    color: var(--cream);
}

.booking-card {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.price {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--espresso);
}

.price small {
    margin-left: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--muted);
}

.price--light {
    color: #fff;
}

.price--light small {
    color: rgba(235, 212, 203, 0.75);
}

.price-note {
    margin: 0.4rem 0 1.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.booking-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-weight: 600;
    color: #fff;
    transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-book:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: var(--shadow);
}

.btn-book--airbnb {
    background: #ff385c;
}

.btn-book--booking {
    background: #003b95;
}

.booking-b {
    font-weight: 800;
    font-size: 1.05rem;
}

.booking-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    font-weight: 500;
    color: var(--espresso);
}

.booking-contact:hover {
    background: var(--sand);
    color: var(--espresso);
}

/* Galeria */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    grid-auto-flow: dense;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 220px;
        gap: 1rem;
    }

    /* 1.ª foto em destaque; com 10 fotos a última também, para fechar a grelha */
    .gallery-item:first-child,
    .gallery-item:last-child:nth-child(10) {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.gallery-item,
.media-zoom {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--espresso);
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: zoom-in;
}

.media-zoom {
    border-radius: var(--radius-lg);
    background: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), opacity 0.4s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.gallery-zoom {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--espresso);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
    opacity: 1;
    transform: none;
}

/* Alojamento completo */

.whole-house {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.whole-house .section-title {
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .whole-house {
        grid-template-columns: 1fr 1.3fr auto;
    }
}

/* Lista numerada (Rota dos Moinhos) */

.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 1.5rem 0 1.75rem;
    display: grid;
    gap: 0.75rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 1rem 1.25rem 1rem 4rem;
    border-radius: var(--radius-sm);
    background: var(--sand);
    color: var(--ink);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 0.95rem;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--espresso);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---------- Lightbox ---------- */

.lightbox {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(15, 4, 2, 0.94);
    color: #fff;
}

.lightbox[open] {
    display: grid;
    place-items: center;
    animation: fade-in 0.25s var(--ease);
}

.lightbox::backdrop {
    background: transparent;
}

.lightbox figure {
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 0.75rem;
}

.lightbox img {
    max-width: min(92vw, 1600px);
    max-height: 84vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.1rem;
    transition: background-color 0.2s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.prev {
    left: 1.25rem;
}

.lightbox-nav.next {
    right: 1.25rem;
}

.lightbox.is-single .lightbox-nav {
    display: none;
}

@media (max-width: 575.98px) {
    .lightbox-nav {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Rodapé ---------- */

.site-footer {
    padding: clamp(4rem, 8vw, 6rem) 0 2rem;
    background: #1d0402;
    color: rgba(235, 212, 203, 0.8);
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--cream);
}

.site-footer a:hover {
    color: #fff;
}

.brand-footer .brand-name {
    font-size: 1.9rem;
}

.footer-tagline {
    margin: 1.25rem 0 1.5rem;
    color: rgba(235, 212, 203, 0.6);
}

.footer-title {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--cream);
}

.social {
    display: flex;
    gap: 0.6rem;
}

.social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(235, 212, 203, 0.25);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.social a:hover {
    background: var(--cream);
    color: var(--espresso);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    gap: 1rem;
}

.contact-list i {
    flex: none;
    margin-top: 0.3rem;
    width: 1.1rem;
    text-align: center;
    color: var(--cream);
    opacity: 0.7;
}

.contact-list small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(235, 212, 203, 0.5);
}

.map-frame {
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    background: var(--espresso-soft);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: sepia(0.25) saturate(0.85);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-top: 1.75rem;
    border-top: 1px solid rgba(235, 212, 203, 0.12);
    font-size: 0.85rem;
    color: rgba(235, 212, 203, 0.55);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(235, 212, 203, 0.7);
}

/* ---------- Animações de entrada ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
