/* =====================================================================
   Pacová Chalés — layout "Guaraú, no tempo de sentir"
   Cabeçalho, rodapé e página inicial. Prefixo pm- (não conflita com o tema).
   ===================================================================== */

:root {
    --pm-paper: #f5f2e9;
    --pm-card: #fffdf7;
    --pm-ink: #263f32;
    --pm-olive: #657452;
    --pm-rust: #a75c3e;
    --pm-line: #d8dacb;
    --pm-muted: #687065;
    --pm-sage: #dfe4d3;
    --pm-serif: 'Fraunces', Georgia, serif;
    --pm-sans: 'DM Sans', system-ui, sans-serif;
    --pm-gutter: 5%;
}

html { scroll-padding-top: 100px; }
body { background: var(--pm-paper) !important; color: var(--pm-ink); font-family: var(--pm-sans) !important; }

.pm-wrap { padding-left: var(--pm-gutter); padding-right: var(--pm-gutter); }
@media (min-width: 1500px) {
    .pm-wrap { padding-left: max(7%, calc((100vw - 1300px) / 2)); padding-right: max(7%, calc((100vw - 1300px) / 2)); }
}

/* ---------- tipografia ---------- */
.pm-home h1, .pm-home h2, .pm-home h3, .pm-foot h2 {
    font-family: var(--pm-serif) !important; font-weight: 400 !important; line-height: 1.08; color: inherit; margin: 0;
}
.pm-home h1 em, .pm-home h2 em { font-style: italic; font-weight: 400; }
.pm-home p { margin: 0; max-width: 570px; }
.pm-h2 { font-size: clamp(38px, 4.4vw, 64px) !important; letter-spacing: -2px; }
.pm-eyebrow { display: block; font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 23px; font-weight: 500; }

/* ---------- botões ---------- */
.pm-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    padding: 14px 25px; border: 1px solid var(--pm-ink); border-radius: 50px;
    font: 500 14px/1.2 var(--pm-sans); background: transparent; color: var(--pm-ink) !important;
    text-decoration: none !important; transition: .2s; white-space: nowrap;
}
.pm-button:hover { background: var(--pm-ink); color: #fff !important; }
.pm-button--filled { background: var(--pm-ink); color: #fff !important; }
.pm-button--filled:hover { background: #1a2e23; }
.pm-button--light { background: var(--pm-paper); border-color: var(--pm-paper); }
.pm-button--light:hover { background: #fff; color: var(--pm-ink) !important; border-color: #fff; }
.pm-textlink {
    display: inline-block; font-size: 14px; color: var(--pm-ink) !important; text-decoration: none !important;
    border-bottom: 1px solid #8b9680; padding-bottom: 8px;
}
.pm-textlink:hover { border-color: var(--pm-ink); }

/* ---------- cabeçalho ---------- */
.pm-header { position: sticky; top: 0; z-index: 50; background: var(--pm-paper); transition: box-shadow .2s; }
.pm-header.is-scrolled { box-shadow: 0 6px 24px rgba(38, 63, 50, .07); }
.pm-header__inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pm-header__logo img { width: 165px; height: auto; display: block; }
.pm-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.pm-nav__link { color: var(--pm-ink) !important; text-decoration: none !important; position: relative; padding: 6px 0; }
.pm-nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--pm-ink); transform: scaleX(0); transition: transform .2s; }
.pm-nav__link:hover::after, .pm-nav__link.is-active::after { transform: scaleX(1); }
.pm-burger { display: none; background: none; border: 1px solid var(--pm-ink); border-radius: 50px; width: 44px; height: 44px; color: var(--pm-ink); font-size: 22px; align-items: center; justify-content: center; }

@media (max-width: 991px) {
    .pm-header__inner { height: 78px; }
    .pm-header__logo img { width: 135px; }
    .pm-burger { display: inline-flex; }
    .pm-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--pm-paper);
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pm-gutter) 22px;
        border-top: 1px solid var(--pm-line); box-shadow: 0 16px 30px rgba(38, 63, 50, .08);
    }
    .pm-header.is-open .pm-nav { display: flex; }
    .pm-nav__link { padding: 14px 0; border-bottom: 1px solid var(--pm-line); font-size: 16px; }
    .pm-nav__link::after { display: none; }
    .pm-nav .pm-button { margin-top: 16px; }
}

/* ---------- 1. topo ---------- */
.pm-hero {
    position: relative; min-height: 640px; height: 78vh; max-height: 880px; color: #fff; isolation: isolate;
    margin: 0 24px; border-radius: 5px 5px 100px 5px; overflow: hidden; background: #294638;
    display: flex; flex-direction: column; justify-content: center;
}
.pm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: center 55%; }
.pm-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 39, 26, .72), rgba(16, 39, 26, .18) 80%); }
.pm-hero__content { padding: 0 7% 60px; max-width: 860px; }
.pm-hero h1 { font-size: clamp(50px, 6vw, 92px) !important; letter-spacing: -3px; line-height: 1.02; color: #fff !important; }
.pm-hero__text { font-size: 16px; margin: 26px 0 32px !important; max-width: 430px !important; color: #f3f2df; }
.pm-hero__bottom {
    position: absolute; bottom: 33px; left: 7%; right: 6%; display: flex; justify-content: space-between; gap: 20px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
}
.pm-hero__bottom span:last-child { letter-spacing: .5px; text-transform: none; opacity: .9; }

/* chamada que leva aos chalés (no lugar do formulário do modelo) */
.pm-jump {
    position: relative; z-index: 2; margin: -28px auto 0; width: 84%; background: var(--pm-card);
    border-radius: 8px; padding: 24px 30px; box-shadow: 0 12px 35px rgba(38, 63, 50, .06);
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.pm-jump__text { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.pm-jump__text .pm-eyebrow { margin: 0; color: var(--pm-olive); }
.pm-jump__text p { font-size: 15px; color: var(--pm-muted); margin: 0; }
.pm-jump .pm-button i { font-size: 16px; }

/* ---------- 2. a experiência ---------- */
.pm-intro { padding-top: 120px; padding-bottom: 110px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; align-items: center; }
.pm-intro__text .pm-prose { margin: 28px 0; color: var(--pm-muted); font-size: 16px; }
.pm-intro__text .pm-prose p { margin: 0 0 14px; }
.pm-photo { position: relative; padding: 0 35px 35px 0; }
.pm-photo img { width: 100%; height: 480px; object-fit: cover; display: block; border-radius: 180px 180px 5px 5px; }
.pm-photo__stamp {
    position: absolute; bottom: 0; right: -15px; width: 172px; height: 172px; background: #d9dfc8; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px;
    font: italic 400 18px/1.2 var(--pm-serif); hyphens: none; transform: rotate(8deg); border: 8px solid var(--pm-paper);
}

.pm-rule {
    padding-top: 22px; padding-bottom: 22px; border-block: 1px solid var(--pm-line);
    display: flex; justify-content: space-around; align-items: center; gap: 20px; text-align: center;
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
}
.pm-rule i { color: var(--pm-rust); font-style: normal; }

/* ---------- 3. chalés ---------- */
.pm-rooms { padding-top: 100px; padding-bottom: 100px; }
.pm-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }
.pm-head > p { font-size: 15px; color: var(--pm-muted); max-width: 320px !important; }
.pm-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 25px; }
.pm-room a { color: var(--pm-ink) !important; text-decoration: none !important; display: block; }
.pm-room img { width: 100%; height: 270px; object-fit: cover; display: block; border-radius: 4px 4px 65px 4px; transition: transform .4s; }
.pm-room a:hover img { transform: translateY(-5px); }
.pm-room small { display: block; font-size: 11px; letter-spacing: 1.5px; margin: 20px 0 10px; color: var(--pm-olive); text-transform: uppercase; }
.pm-room h3 { font-size: 29px !important; display: flex; justify-content: space-between; gap: 10px; }
.pm-room p { font-size: 14px; color: var(--pm-muted); margin-top: 12px !important; max-width: 340px; }
.pm-rooms__more { margin-top: 50px; text-align: center; }

/* ---------- 4. paisagem + localização ---------- */
.pm-landscape { position: relative; height: 600px; color: #fff; isolation: isolate; display: flex; align-items: end; padding-top: 65px; padding-bottom: 65px; overflow: hidden; }
.pm-landscape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pm-landscape::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 46, 36, .72), transparent 90%); z-index: -1; }
.pm-landscape h2 { max-width: 680px; color: #fff !important; }

.pm-local { padding-top: 100px; padding-bottom: 100px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10%; align-items: center; }
.pm-local__map { height: 500px; border-radius: 5px 180px 5px 5px; overflow: hidden; background: var(--pm-sage); }
.pm-local__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.pm-local__text > p { color: var(--pm-muted); margin: 24px 0 0 !important; font-size: 16px; }
.pm-local ul { list-style: none; padding: 0; margin: 30px 0; }
.pm-local li { border-top: 1px solid var(--pm-line); padding: 15px 0; font-size: 15px; display: flex; align-items: baseline; }
.pm-local li:last-child { border-bottom: 1px solid var(--pm-line); }
.pm-local li span { font: italic 400 21px var(--pm-serif); margin-right: 22px; color: var(--pm-rust); min-width: 28px; }
.pm-local li a { color: var(--pm-ink) !important; text-decoration: none !important; }
.pm-local li a:hover { text-decoration: underline !important; }

/* ---------- 5. chamada final ---------- */
.pm-cta {
    margin: 0 24px 0; background: var(--pm-sage); border-radius: 100px 5px 5px 5px; padding: 80px 9%;
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.pm-cta h2 { max-width: 640px; }
.pm-cta p { margin-top: 22px !important; font-size: 15px; color: #596650; }
.pm-cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- rodapé ---------- */
.pm-foot { padding-top: 75px; padding-bottom: 30px; margin-top: 90px; font-size: 14px; }
.pm-foot a { color: var(--pm-ink) !important; text-decoration: none !important; }
.pm-foot a:hover { text-decoration: underline !important; }
.pm-foot__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 40px; }
.pm-foot__logo img { width: 165px; height: auto; }
.pm-foot p { font-size: 13px; color: var(--pm-muted); margin: 20px 0; max-width: 300px; line-height: 1.6; }
.pm-foot .pm-eyebrow { margin-bottom: 16px; color: var(--pm-olive); }
.pm-foot__links a { font-size: 14px; display: block; margin-bottom: 9px; }
.pm-foot__social { display: flex; gap: 10px; }
.pm-foot__social a { width: 36px; height: 36px; border: 1px solid var(--pm-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pm-foot__bottom {
    border-top: 1px solid var(--pm-line); margin-top: 45px; padding-top: 20px;
    display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #78816e;
}
.pm-foot__bottom a { color: #78816e !important; }

/* ---------- responsivo ---------- */
@media (max-width: 991px) {
    .pm-foot__top { grid-template-columns: 1fr 1fr; }
    .pm-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
    :root { --pm-gutter: 7%; }
    .pm-hero { margin: 0 12px; min-height: 600px; height: 82vh; border-bottom-right-radius: 70px; }
    .pm-hero__content { padding: 0 7% 70px; }
    .pm-hero h1 { letter-spacing: -2px; font-size: 52px !important; }
    .pm-hero__bottom span:last-child { display: none; }
    .pm-jump { width: 88%; flex-direction: column; align-items: stretch; padding: 22px; gap: 16px; }
    .pm-jump__text { display: block; }
    .pm-jump__text .pm-eyebrow { margin-bottom: 8px; }
    .pm-intro, .pm-local { padding-top: 80px; padding-bottom: 80px; grid-template-columns: 1fr; gap: 50px; }
    .pm-photo { max-width: 500px; }
    .pm-photo img { height: 410px; }
    .pm-photo__stamp { right: 0; }
    .pm-rule { font-size: 10px; letter-spacing: .7px; flex-wrap: wrap; justify-content: center; }
    .pm-rooms { padding-top: 70px; padding-bottom: 70px; }
    .pm-head { display: block; }
    .pm-head > p { margin-top: 25px !important; }
    .pm-room-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
    .pm-room img { height: 210px; }
    .pm-room h3 { font-size: 24px !important; }
    .pm-landscape { height: 450px; padding-top: 40px; padding-bottom: 40px; }
    .pm-local__map { height: 380px; border-top-right-radius: 120px; }
    .pm-cta { padding: 65px 8%; margin: 0 12px; display: block; border-top-left-radius: 65px; }
    .pm-cta__actions { margin-top: 30px; }
    .pm-foot { margin-top: 60px; }
    .pm-foot__bottom { display: block; }
    .pm-foot__bottom span { display: block; margin: 8px 0; }
}
@media (max-width: 480px) {
    .pm-hero h1 { font-size: 44px !important; }
    .pm-hero__text { font-size: 15px; }
    .pm-room-grid { grid-template-columns: 1fr; }
    .pm-room img { height: 250px; }
    .pm-room p { max-width: none; }
    .pm-photo img { height: 360px; }
    .pm-photo__stamp { width: 150px; height: 150px; font-size: 15px; padding: 10px; }
    .pm-foot__top { grid-template-columns: 1fr; }
    .pm-button { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pm-home *, .pm-header * { transition: none !important; }
}

/* ---------- aviso de cookies ---------- */
.cookies-card.pm-cookie {
    left: 20px !important; bottom: 20px !important; right: auto !important; width: auto !important; max-width: 400px !important;
    background: var(--pm-card) !important; color: var(--pm-ink) !important; border: 1px solid var(--pm-line);
    border-radius: 12px !important; padding: 18px 20px !important; box-shadow: 0 14px 40px rgba(38, 63, 50, .12) !important;
    display: flex; align-items: center; gap: 18px; text-align: left !important;
}
.cookies-card.pm-cookie .cookies-card__content { margin: 0 !important; font-size: 13px; line-height: 1.5; color: var(--pm-muted) !important; }
.cookies-card.pm-cookie .cookies-card__content a { color: var(--pm-ink) !important; text-decoration: underline; }
.cookies-card.pm-cookie .pm-button { padding: 10px 18px; font-size: 13px; }
@media (max-width: 480px) { .cookies-card.pm-cookie { left: 12px !important; right: 12px !important; max-width: none !important; } }

/* ---------- topo das páginas internas com foto do Guaraú ---------- */
.pv-pagehead--photo {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    margin: 0 24px; border: 0 !important; border-radius: 5px 5px 100px 5px;
    min-height: 360px; display: flex; align-items: flex-end; padding: 120px 0 56px !important;
    background: #294638 var(--pv-ph-img) center 55% / cover no-repeat !important;
}
.pv-pagehead--photo::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(16, 39, 26, .74), rgba(16, 39, 26, .25) 85%), linear-gradient(0deg, rgba(16, 39, 26, .35), transparent 60%);
}
.pv-pagehead--photo > .container { width: 100%; }
.pv-pagehead--photo h1 { color: #fff !important; font-weight: 400 !important; font-size: clamp(40px, 4.6vw, 68px) !important; letter-spacing: -1.5px; line-height: 1.05; }
.pv-pagehead--photo .pv-crumbs, .pv-pagehead--photo .pv-crumbs a { color: rgba(255, 255, 255, .82) !important; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.pv-pagehead--photo .pv-crumbs a:hover { color: #fff !important; }
.pv-pagehead--photo .pv-lead, .pv-pagehead--photo .pv-lead p, .pv-pagehead--photo p { color: #f3f2df !important; max-width: 640px; }
@media (max-width: 800px) {
    .pv-pagehead--photo { margin: 0 12px; min-height: 300px; border-bottom-right-radius: 70px; padding: 90px 0 44px !important; }
}
