*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #fc681e;
    --orange-dark: #f4521d;
    --green: #062a05;
    --font: "termina", Arial, sans-serif;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: clip;
    color: #111;
    background: var(--orange);
    font-family: var(--font);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Hero */
#banner {
    position: relative;
    isolation: isolate;
    height: 750px;
    overflow: hidden;
    background: url("img/hero-semana-cliente.webp") center / cover no-repeat;
}

#banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(3, 27, 18, .2);
}

#banner .logo {
    position: absolute;
    z-index: 3;
    top: 96px;
    left: 50%;
    width: 585px;
    max-width: 44vw;
    transform: translateX(-50%);
}

.campaign-tagline {
    position: absolute;
    z-index: 3;
    top: 439px;
    left: 50%;
    width: 418px;
    max-width: 38vw;
    transform: translateX(-50%);
}

.hero-decoration {
    position: absolute;
    z-index: 2;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.hero-decoration-left {
    top: -76px;
    left: -120px;
    width: 287px;
}

.hero-decoration-right {
    top: -591px;
    left: calc(50% + 261px);
    width: 1490px;
}

.campaign-bar {
    position: relative;
    z-index: 4;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    text-align: center;
    background: linear-gradient(100deg, #063809 0%, #092d05 48%, #031d02 100%);
}

.campaign-bar .headline {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .6px;
    text-transform: uppercase;
}

/* Conteúdo principal */
.wam-section {
    position: relative;
    overflow-x: clip;
    min-height: 2086px;
    padding: 1px 20px 150px;
    text-align: center;
    background:
        radial-gradient(ellipse at 47% 44%, rgba(255, 175, 54, .24) 0%, rgba(255, 130, 31, .12) 36%, transparent 70%),
        linear-gradient(105deg, #ff5d1f 0%, #fd7122 47%, #f7541c 100%);
}

.campaign-period {
    position: absolute;
    z-index: 8;
    top: -21px;
    left: max(32px, calc(50% - 897px));
    width: 252px;
}

.wam-section .subline {
    margin-top: 100px;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -.6px;
}

.wam-section .subline strong { font-weight: 900; }

.wam-section .section-title {
    margin-top: 55px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.discount-badge {
    position: absolute;
    z-index: 4;
    top: 13px;
    right: max(-110px, calc(50% - 1070px));
    width: 483px;
    max-width: none;
    pointer-events: none;
}

/* Composição completa do PSD: destaque do Ilhas na lateral direita. */
.cards-grid {
    width: 1586px;
    max-width: calc(100vw - 40px);
    margin: 74px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 306px) 513px;
    grid-template-rows: repeat(3, 476px);
    grid-template-areas:
        "prive boulevard riviera ."
        "encontro resort praias ilhas"
        "buzios ondas dom .";
    justify-content: start;
    column-gap: 58px;
    row-gap: 56px;
    text-align: center;
}

.cards-grid .last-row { display: contents; }

.hotel-card[data-hotel="Privé Thermas Hotel"] { grid-area: prive; }
.hotel-card[data-hotel="Boulevard Suite"] { grid-area: boulevard; }
.hotel-card[data-hotel="Riviera Park Hotel"] { grid-area: riviera; }
.hotel-card[data-hotel="Encontro das Águas"] { grid-area: encontro; }
.hotel-card[data-hotel="Resort do Lago"] { grid-area: resort; }
.hotel-card[data-hotel="Praias do Lago"] { grid-area: praias; }
.hotel-card[data-hotel="Ilhas do Lago"] { grid-area: ilhas; }
.hotel-card[data-hotel="Búzios Beach Resort"] { grid-area: buzios; }
.hotel-card[data-hotel="Ondas Praia Resort"] { grid-area: ondas; }
.hotel-card[data-hotel="Dom Pedro Laguna"] { grid-area: dom; }

.hotel-card {
    position: relative;
    width: 306px;
    height: 476px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(52, 12, 0, .22);
}

.hotel-card::before {
    content: "ATÉ 35% OFF";
    position: absolute;
    z-index: 7;
    top: -10px;
    left: 50%;
    width: 158px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border-radius: 7px 7px 3px 3px;
    color: #fff;
    background: linear-gradient(110deg, #f41421, #ff5a31);
    box-shadow: 0 4px 8px rgba(114, 0, 0, .2);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: lowercase;
}

.hotel-card::after {
    content: "";
    position: absolute;
    z-index: 8;
    right: -26px;
    bottom: -47px;
    width: 190px;
    height: 145px;
    background: center / contain no-repeat;
    filter: drop-shadow(0 8px 5px rgba(60, 17, 0, .23));
    transition: opacity .25s ease;
    pointer-events: none;
}

.hotel-card[data-hotel="Privé Thermas Hotel"]::after { background-image: url("img/price-prive.png"); }
.hotel-card[data-hotel="Boulevard Suite"]::after { background-image: url("img/price-boulevard.png"); }
.hotel-card[data-hotel="Riviera Park Hotel"]::after { background-image: url("img/price-riviera.png"); }
.hotel-card[data-hotel="Praias do Lago"]::after { background-image: url("img/price-praias.png"); }
.hotel-card[data-hotel="Encontro das Águas"]::after { background-image: url("img/price-encontro.png"); }
.hotel-card[data-hotel="Resort do Lago"]::after { background-image: url("img/price-resort.png"); }
.hotel-card[data-hotel="Ilhas do Lago"]::after { background-image: url("img/price-ilhas.png"); }
.hotel-card[data-hotel="Dom Pedro Laguna"]::after { background-image: url("img/price-dom-pedro.png"); }
.hotel-card[data-hotel="Búzios Beach Resort"]::after { background-image: url("img/price-buzios.png"); }
.hotel-card[data-hotel="Ondas Praia Resort"]::after { background-image: url("img/price-ondas.png"); }

.hotel-card.hide-after::after,
.hotel-card.hide-after::before {
    opacity: 0;
    pointer-events: none;
}

.card-front,
.card-dates {
    width: 100%;
    height: 100%;
    flex: 1;
    flex-direction: column;
}

.card-front { display: flex; }

.card-dates {
    display: none;
    padding: 27px 17px 18px;
    align-items: center;
}

.card-img {
    width: 265px;
    height: 185px;
    margin: 18px auto 0;
    padding: 0;
    flex: none;
    border-radius: 21px;
    object-fit: cover;
}

.card-body {
    min-height: 0;
    padding: 11px 17px 22px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.location-badge {
    display: inline-flex;
    min-width: 158px;
    min-height: 23px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 3px 12px;
    border-radius: 20px;
    color: #111;
    background: #eee9df;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .15px;
    text-transform: uppercase;
}

.hotel-name {
    margin-bottom: 6px;
    color: #101010;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.18;
    text-transform: uppercase;
}

.hotel-desc {
    max-width: 270px;
    color: #333;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
}

.btn-ver-datas {
    position: relative;
    z-index: 9;
    width: 169px;
    height: 34px;
    margin: auto auto 70px;
    padding: 0;
    flex: none;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(180deg, #75e65f, #46c739);
    box-shadow: 0 4px 10px rgba(46, 175, 40, .28);
    font-family: var(--font);
    font-size: 0;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform .18s ease, filter .18s ease;
}

.btn-ver-datas::before {
    content: "GARANTA JÁ!";
    font-size: 12px;
    letter-spacing: .2px;
}

.btn-ver-datas:hover {
    filter: brightness(.94) saturate(1.08);
    transform: translateY(-1px);
}

.dates-title {
    margin-bottom: 13px;
    color: #171717;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.dates-list {
    width: 100%;
    max-height: 362px;
    margin-bottom: 12px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
}

.dates-list li a {
    display: block;
    padding: 7px 9px;
    border: 1.5px solid #48bd3d;
    border-radius: 7px;
    color: #238b2f;
    background: #f1fff0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.dates-list li a:hover {
    color: #fff;
    background: #46bd3d;
}

.btn-voltar {
    width: 100%;
    padding: 8px;
    border: 2px solid var(--orange-dark);
    border-radius: 7px;
    color: var(--orange-dark);
    background: transparent;
    font-family: var(--font);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-voltar:hover {
    color: #fff;
    background: var(--orange-dark);
}

/* Card maior de Ilhas do Lago */
.hotel-card.featured-card {
    width: 513px;
    height: 530px;
    transform: translate(6px, -22px);
    border-radius: 25px;
}

.hotel-card.featured-card::before {
    content: "";
    top: -83px;
    right: -44px;
    left: auto;
    width: 250px;
    height: 145px;
    transform: none;
    border-radius: 0;
    background: url("img/special-offer-ilhas.png") center / contain no-repeat;
    box-shadow: none;
}

.hotel-card.featured-card::after {
    right: -123px;
    bottom: -68px;
    width: 289px;
    height: 181px;
}

.featured-card .card-img {
    width: 462px;
    height: 271px;
    margin-top: 23px;
    border-radius: 22px;
}

.featured-card .card-body { padding: 12px 25px 18px; }

.featured-card .location-badge {
    min-width: 210px;
    min-height: 32px;
    margin-bottom: 9px;
    font-size: 11px;
}

.featured-card .hotel-name {
    margin-bottom: 7px;
    font-size: 18px;
}

.featured-card .hotel-desc {
    max-width: 390px;
    font-size: 12.5px;
}

.featured-card .btn-ver-datas {
    width: 241px;
    height: 48px;
    margin: auto auto 70px;
}

.featured-card .btn-ver-datas::before { font-size: 15px; }
.featured-card .card-dates { padding: 33px 28px 22px; }

/* A seção antiga foi incorporada ao card de destaque do layout novo. */
.datas-especiais { display: none; }

/* Rodapé */
footer {
    position: relative;
    isolation: isolate;
    height: 372px;
    overflow: visible;
    overflow-x: clip;
    padding: 75px 24px 30px;
    color: #fff;
    background:
        radial-gradient(ellipse at 48% 18%, rgba(16, 102, 13, .42), transparent 58%),
        linear-gradient(100deg, #073f0c, #032704 55%, #021c02);
}

footer::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -502px;
    left: -1072px;
    width: 1466px;
    height: 874px;
    background-image: url("img/decoration-footer-left.png");
    background-position: top center;
    background-size: 1466px 1006px;
    background-repeat: no-repeat;
    pointer-events: none;
}

footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -84px;
    right: -46px;
    width: 256px;
    height: 251px;
    background: url("img/decoration-footer-right.png") center / contain no-repeat;
    pointer-events: none;
}

footer .flex {
    position: relative;
    z-index: 2;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 95px;
}

footer .flex img:nth-child(1) { width: 272px; }
footer .flex img:nth-child(2) { width: 192px; }
footer .flex img:nth-child(3) { width: 219px; }

footer .flex img {
    filter: brightness(0) invert(1);
}

.legal-copy {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: none;
    margin: 78px auto 0;
    padding-right: clamp(160px, 15vw, 290px);
    padding-left: clamp(200px, 22vw, 420px);
    color: rgba(255, 255, 255, .88);
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1.42;
    text-align: center;
}

/* Botão flutuante baseado no selo original do PSD. */
.whatsapp-float {
    position: absolute !important;
    right: 79px !important;
    bottom: 455px !important;
    width: 140px !important;
    height: 141px !important;
    border-radius: 0 !important;
    background: url("img/whatsapp-campaign.png") center / contain no-repeat !important;
    box-shadow: none !important;
}

.whatsapp-float svg { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-front,
.card-dates { animation: fadeIn .26s ease forwards; }

/* Tablet */
@media (max-width: 1660px) {
    footer::after {
        left: clamp(-1290px, calc(50vw - 1950px), -1120px);
    }

    footer::before {
        top: -72px;
        right: -36px;
        width: 220px;
        height: 216px;
    }

    .discount-badge {
        top: 24px;
        right: 20px;
        width: 330px;
    }

    .wam-section .subline { margin-top: 280px; }

    .cards-grid {
        width: 1521px;
        max-width: calc(100vw - 40px);
        margin-top: 74px;
        grid-template-columns: repeat(3, minmax(245px, 306px)) minmax(420px, 513px);
        grid-template-rows: repeat(3, 476px);
        justify-content: center;
        column-gap: 30px;
        row-gap: 56px;
    }

    .cards-grid .hotel-card:not(.featured-card) { width: 100%; }

    .card-img {
        width: calc(100% - 42px);
        max-width: 265px;
    }

    .hotel-card.featured-card {
        width: 100%;
        height: 530px;
        transform: translate(6px, -22px);
    }

    .hotel-card.featured-card::before {
        top: -52px;
        right: -25px;
        width: 180px;
        height: 104px;
    }

    .hotel-card.featured-card::after {
        right: -35px;
        bottom: -69px;
        width: 220px;
        height: 198px;
    }

    .featured-card .card-img {
        width: calc(100% - 46px);
        max-width: 462px;
        height: 271px;
        margin-top: 23px;
    }
}

@media (max-width: 1299px) {
    footer::after {
        left: -1290px;
        opacity: .9;
    }

    footer::before {
        top: -58px;
        right: -28px;
        width: 180px;
        height: 176px;
        opacity: .9;
    }

    #banner {
        height: min(750px, 47vw);
        min-height: 440px;
    }

    #banner .logo { top: 12.8%; }
    .campaign-tagline { top: 58.5%; }
    .hero-decoration-right { left: 64%; }
    .campaign-bar .headline { font-size: clamp(21px, 2.4vw, 30px); }

    .discount-badge {
        top: 18px;
        right: 15px;
        width: 280px;
    }

    .wam-section .subline { margin-top: 240px; }

    .cards-grid {
        width: 930px;
        grid-template-columns: repeat(3, 286px);
        grid-template-rows: none;
        grid-template-areas: none;
        column-gap: 36px;
        row-gap: 70px;
    }

    .cards-grid .hotel-card { grid-area: auto; }
    .cards-grid .featured-card { order: -1; }

    .hotel-card,
    .hotel-card.featured-card {
        width: 286px;
        height: 476px;
    }

    .hotel-card.featured-card { transform: none; }

    .featured-card .card-body { padding: 11px 17px 22px; }

    .featured-card .location-badge {
        min-width: 158px;
        min-height: 23px;
        font-size: 9px;
    }

    .featured-card .hotel-name { font-size: 15px; }
    .featured-card .hotel-desc { font-size: 11.5px; }
    .featured-card .btn-ver-datas { width: 169px; height: 34px; margin: auto auto 70px; }
    .featured-card .btn-ver-datas::before { font-size: 12px; }

    .card-img,
    .featured-card .card-img {
        width: 248px;
        height: 185px;
        margin-top: 18px;
    }

    .wam-section { padding-bottom: 145px; }
}

/* Celular */
@media (max-width: 980px) {
    #banner {
        min-height: 500px;
        height: 68vw;
        max-height: 620px;
        background-position: 49% center;
    }

    #banner .logo {
        top: 16%;
        width: 500px;
        max-width: 70vw;
    }

    .campaign-tagline {
        top: 61%;
        max-width: 53vw;
    }

    .hero-decoration-right {
        top: -405px;
        left: 55%;
        width: 1040px;
    }

    .campaign-bar { height: 108px; }

    .campaign-period {
        top: 18px;
        left: 22px;
        width: 190px;
    }

    .discount-badge {
        top: 12px;
        right: 10px;
        width: 250px;
        opacity: .92;
    }

    .wam-section .subline {
        position: relative;
        z-index: 5;
        margin-top: 220px;
        font-size: clamp(16px, 2.8vw, 22px);
    }

    .wam-section .section-title { font-size: clamp(22px, 4vw, 29px); }

    .cards-grid {
        width: 640px;
        grid-template-columns: repeat(2, minmax(280px, 306px));
        grid-template-rows: none;
        grid-template-areas: none;
        column-gap: 28px;
        row-gap: 65px;
    }

    .hotel-card,
    .hotel-card.featured-card {
        width: 100%;
        max-width: 306px;
    }

    .card-img,
    .featured-card .card-img { width: calc(100% - 42px); }

    footer {
        height: auto;
        min-height: 420px;
        padding-top: 70px;
    }

    footer::after {
        left: calc(-1465px + 22vw);
        opacity: .7;
    }

    footer::before {
        top: -38px;
        right: -16px;
        width: clamp(90px, 13.27vw, 130px);
        height: clamp(88px, 13vw, 127px);
        opacity: .65;
    }

    footer .flex {
        flex-direction: column;
        gap: 28px;
    }

    .legal-copy {
        margin-top: 55px;
        padding-right: clamp(105px, 15vw, 145px);
        padding-left: clamp(135px, 20vw, 195px);
        font-size: 9px;
    }

}

@media (max-width: 650px) {
    #banner {
        min-height: 440px;
        height: 118vw;
        background-position: 52% center;
    }

    #banner .logo {
        top: 18%;
        max-width: 86vw;
    }

    .campaign-tagline {
        top: 61%;
        max-width: 66vw;
    }

    .hero-decoration-left {
        top: -45px;
        left: -75px;
        width: 190px;
    }

    .hero-decoration-right {
        top: -260px;
        left: 44%;
        width: 680px;
    }

    .campaign-bar {
        height: auto;
        min-height: 104px;
    }

    .campaign-bar .headline {
        font-size: 19px;
        line-height: 1.35;
    }

    .campaign-period {
        position: relative;
        top: auto;
        left: auto;
        width: 205px;
        margin: -22px auto 0 0;
    }

    .discount-badge {
        top: 12px;
        right: 0;
        width: 220px;
    }

    .wam-section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .wam-section .subline {
        margin-top: 180px;
        font-size: 16px;
        line-height: 1.55;
    }

    .wam-section .subline br { display: none; }

    .wam-section .section-title {
        margin-top: 40px;
        font-size: 21px;
    }

    .cards-grid {
        width: 306px;
        max-width: 100%;
        margin-top: 58px;
        grid-template-columns: minmax(0, 306px);
        grid-template-areas: none;
        justify-content: center;
        row-gap: 68px;
    }

    .hotel-card,
    .hotel-card.featured-card {
        width: min(306px, calc(100vw - 52px));
        justify-self: center;
    }

    .featured-card::before { right: -16px !important; }
    footer .flex img:nth-child(1) { width: 230px; }

    footer::before,
    footer::after {
        display: none;
    }

    .legal-copy {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
        overflow-wrap: anywhere;
    }

    .whatsapp-float {
        position: fixed !important;
        right: 12px !important;
        bottom: 12px !important;
        width: 58px !important;
        height: 58px !important;
    }
}

@media (max-width: 1660px) {
    .hotel-card.featured-card {
        width: 90%;
        justify-self: center;
    }
}
