/* Explain: Styles for site components including a new Christmas banner. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.86), rgba(250, 249, 246, 0.52));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    border-radius: 2rem;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.58);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.class-card {
    min-height: 360px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.amenity-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(250, 249, 246, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.32);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.22);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium,
    .amenity-image-wrap {
        height: 510px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 450px);
    }

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }

    .amenity-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

.music-player {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 44;
}

.music-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--nav-bg);
    color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transition: transform 300ms ease, background 300ms ease, color 300ms ease;
}

.music-toggle:hover {
    background: var(--surface-color);
    transform: translateY(-2px);
}

.music-toggle.is-playing {
    background: var(--accent-color);
    color: #ffffff;
}

.music-toggle.is-playing i {
    animation: music-pulse 1.6s ease-in-out infinite;
}

@keyframes music-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

@media (max-width: 767px) {
    .music-player {
        bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
}

.energy-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.58);
    padding: 0.55rem 1.1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.energy-chip:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

.energy-chip.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.energy-affirmation {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
}

.daily-promo {
    overflow: hidden;
    border-radius: 2.6rem;
}

.daily-promo-media {
    position: relative;
    min-height: 320px;
}

.daily-promo-badge {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--accent-color);
    padding: 0.6rem 1.15rem;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: var(--shadow-button);
}

.daily-promo-body {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.daily-promo-title {
    margin-top: 1rem;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.daily-promo-text {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.daily-promo-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.85rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.daily-promo-old {
    color: var(--text-muted);
    font-size: 1.05rem;
    text-decoration: line-through;
}

.daily-promo-price {
    color: var(--sage-dark);
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
}

.daily-promo-note {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Anúncio de Natal */
.xmas-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 22%, rgba(255, 216, 138, 0.38), transparent 20rem),
        radial-gradient(circle at 86% 82%, rgba(214, 40, 40, 0.34), transparent 22rem),
        linear-gradient(118deg, #6f1b1b 0%, #a8322f 40%, #b8860b 74%, #e0bd52 100%);
    color: #fff8ec;
}

.xmas-banner::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1.4px, transparent 2px),
        radial-gradient(circle, rgba(255, 244, 200, 0.7) 0 1.4px, transparent 2px);
    background-position: 0 0, 55px 70px;
    background-size: 110px 110px, 170px 170px;
    opacity: 0.22;
    pointer-events: none;
    content: "";
}

.xmas-banner-inner {
    position: relative;
    z-index: 1;
}

.xmas-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    padding: 0.5rem 1.1rem;
    color: #fff3d6;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.xmas-title {
    margin-top: 1rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.xmas-contact {
    margin-top: 1rem;
    color: #fff1cf;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.xmas-contact a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xmas-gift {
    position: relative;
    display: block;
    width: 128px;
    height: 130px;
    margin-top: 1.6rem;
    padding: 0;
    border: 0;
    background: transparent;
    transition: transform 300ms ease;
}

.xmas-gift:hover {
    transform: translateY(-4px) scale(1.03);
}

.xmas-gift:focus-visible {
    border-radius: 14px;
    outline: 2px solid #ffffff;
    outline-offset: 6px;
}

.xmas-gift .gift-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 128px;
    height: 92px;
    border-radius: 12px;
    background: linear-gradient(150deg, #f9e08a 0%, #d9b23c 52%, #a67c00 100%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), inset 0 0 0 2px rgba(255, 248, 214, 0.55);
}

.xmas-gift .gift-box::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 26px;
    background: linear-gradient(180deg, #e2564f, #b01e1e);
    transform: translateX(-50%);
    content: "";
}

.xmas-gift .gift-box::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 22px;
    background: linear-gradient(90deg, #e2564f, #b01e1e);
    transform: translateY(-50%);
    content: "";
}

.gift-bow {
    position: absolute;
    left: 50%;
    bottom: 84px;
    width: 78px;
    height: 42px;
    transform: translateX(-50%);
}

.gift-bow::before,
.gift-bow::after {
    position: absolute;
    bottom: 0;
    width: 38px;
    height: 42px;
    border-radius: 50% 50% 50% 10%;
    background: radial-gradient(circle at 62% 30%, #ee7b74, #b01e1e);
    box-shadow: inset 0 0 0 2px rgba(255, 220, 220, 0.35);
    content: "";
}

.gift-bow::before {
    left: 0;
    transform: rotate(-30deg);
    transform-origin: bottom right;
}

.gift-bow::after {
    right: 0;
    transform: rotate(30deg);
    transform-origin: bottom left;
}

.xmas-question {
    position: absolute;
    top: 0;
    right: -12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #ffffff;
    color: #b01e1e;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    animation: xmas-pop 2.4s ease-in-out infinite;
}

@keyframes xmas-pop {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.08);
    }
}

.surprise-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.45);
    padding: 1rem;
}

.surprise-overlay.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.surprise-panel {
    width: 100%;
    max-width: 32rem;
    margin: auto;
    border: 1px solid var(--glass-border);
    border-radius: 2.4rem;
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.28);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}
