@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #d1a982;
    --primary-color-dark: #a87f57;
    --secondary-color: #1e1e1e;

    --text-dark: #2b2b2b;
    --text-light: #9e9e9e;

    --white: #ffffff;
    --background-color: #f8f5f2;
    --highlight-color: #5c4033;

    --max-width: 1200px;
}


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


/* ===== MODAL AVISO DE OBRAS ===== */

.modal-aviso {
    position: fixed;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    display: flex;
    /* JÁ COMEÇA VISÍVEL */
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    /* acima do header, menu, etc. */
}

.modal-content-aviso {
    background: #ffffff;
    padding: 2rem 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content-aviso h2 {
    margin-bottom: 1rem;
    color: #c0392b;
    font-weight: 700;
}

.modal-content-aviso p {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.fechar-aviso {
    margin-top: 1.5rem;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 6px;
    background: #c0392b;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fechar-aviso:hover {
    background: #a12f24;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.footer__bar a {
    color: inherit;
    text-decoration: none;
    font-weight: normal;
}

.footer__bar a:hover {
    text-decoration: underline;
}

.footer__socials {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.share-popup {
    display: none;
    position: absolute;
    bottom: 40px;
    right: 0;
    background: #333;
    padding: 10px;
    border-radius: 8px;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.share-popup a,
.share-popup button {
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.share-popup a:hover,
.share-popup button:hover {
    text-decoration: underline;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__subheader {
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.section__subheadera {
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-align: center;
}

.section__subheader::after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translate(1rem, -50%);
    height: 2px;
    width: 4rem;
    background-color: var(--primary-color);
}

.section__header {
    max-width: 600px;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 3rem;
    color: var(--text-dark);
}

.section__description {
    max-width: 600px;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.policy__header {
    max-width: var(--max-width);
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 3rem;
    color: var(--text-dark);
}

.policy__description {
    max-width: var(--max-width);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.btn {
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn.nav__btn.reserv a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.btn.reserva__btn.reserv a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}


.btn:hover {
    background-color: var(--primary-color-dark);
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

.logo {
    max-width: 120px;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;


}

.header__index {
    position: relative;
    z-index: 1;
    height: 100vh;
    /* ou altura fixa, tipo 600px */
}

.header__fn {
    background-image: url("assets/header3.jpg");
}

#header-subtitle,
#header-title {
    transition: opacity 0.5s ease-in-out;
}

nav {
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
}

.nav__bar {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--primary-color);
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav__links {
    list-style: none;
    position: absolute;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background-color: #9e9e9e;
    transform: translateY(-100%);
    transition: 0.5s;
    z-index: -1;
}

.nav__links.open {
    transform: translateY(0);
}

.nav__links a {
    position: relative;
    isolation: isolate;
    padding-bottom: 8px;
    color: var(--white);
    transition: 0.3s;
}

.nav__btn {
    display: none;
}

.header__container {
    padding-block: 10rem 15rem;
}

.header__container p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--white);
    text-align: center;
    opacity: 0.6;
}

.header__container h1 {
    font-size: 4rem;
    font-weight: 500;
    line-height: 4.5rem;
    color: var(--white);
    text-align: center;
}

.header__container h1 span {
    color: var(--primary-color);
    font-weight: 800;
    /* Aumenta a espessura da fonte */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    /* Sombra escura e suave */
}

/*
.booking__container {
    padding-block: 0;
}*/
.booking__container {
    position: relative;
    z-index: 2;
    margin-top: -6rem;
    /* Ajuste para "subir" sobre o header */
}


.booking__form {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: var(--white);
    border-radius: 10px;
    transform: translateY(-50%);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.input__group {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.input__group span {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.input__group label {
    font-weight: 500;
    color: var(--text-dark);
}

.input__group input {
    display: block;
    width: 100%;
    max-width: 150px;
    padding-block: 5px;
    color: var(--text-dark);
    font-size: 0.9rem;
    outline: none;
    border: none;
}

.input__group input::placeholder {
    color: var(--text-light);
}

.about__container {
    overflow: hidden;
    display: grid;
    gap: 2rem;
}

.about__image img {
    max-width: 450px;
    margin: auto;
    border-radius: 5px;
}

.room__grid {
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
}

.room__card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.room__card__image {
    position: relative;
    isolation: isolate;
}

.room__card__icons {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 1;
}

.room__card__icons span {
    display: inline-block;
    padding: 2px 8px;
    font-size: 1.5rem;
    background-color: var(--white);
    border-radius: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.room__card__icons span:nth-child(1) {
    color: #f472b6;
}

.room__card__icons span:nth-child(2) {
    color: #c084fc;
}

.room__card__icons span:nth-child(3) {
    color: #60a5fa;
}

.room__card__details {
    padding: 1rem;
}


.room__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room__card h4 span.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b88a44;
    /* dourado elegante para destacar o preço */
}

.room__card h4 a {
    text-decoration: none;
    /* remove sublinhado */
    color: var(--text-dark);
    /* herda a cor do h4 */
    font-weight: inherit;
    /* herda peso da fonte */
    font-size: inherit;
    /* herda tamanho da fonte */
}

.room__card h4 a:hover {
    color: var(--primary-color);
    /* opcional: destaque ao passar o mouse */
}

.room__card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.room__card h5 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.room__card h5 span {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.service {
    background-image: url("assets/service.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.service__container {
    padding-block: 0;
    display: grid;

    grid-template-columns: repeat(2, 1fr);
}

.service__content {
    grid-column: 1/3;
    padding: 2rem 4rem;
    background-color: var(--white);
}

.service__list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
}

.service__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.service__list span {
    padding: 5px 12px;
    font-size: 1.75rem;
    color: var(--text-dark);
    background-color: var(--text-light);
    border-radius: 100%;
}

.service__list li:nth-child(1) span {
    color: #60a5fa;
    background-color: #dbeafe;
}

.service__list li:nth-child(2) span {
    color: #f472b6;
    background-color: #fce7f3;
}

.service__list li:nth-child(3) span {
    color: #c084fc;
    background-color: #f3e8ff;
}

.service__list li:nth-child(4) span {
    color: #fb7185;
    background-color: #ffe4e6;
}

.banner__content {
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.banner__card {
    text-align: center;
    flex: 1 1 180px;
}

.banner__card h4 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.banner__card p {
    color: var(--text-light);
}

.explore :is(.section__subheader, .section__header) {
    text-align: center;
    margin-inline: auto;
}

.explore__bg {
    margin-top: 4rem;
    padding-block: 3rem;
    display: grid;
    grid-template-columns:
        minmax(1rem, 1fr) minmax(0, var(--max-width)) minmax(1rem, 1fr);
    background-image: url("assets/explore.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.explore__content {
    grid-column: 2/3;
    max-width: 400px;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.explore__content p {
    margin-bottom: 0.5rem;
}

.explore__content h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5rem;
    color: var(--text-dark);
}

.explore__content .btn {
    color: var(--primary-color);
    background-color: var(--white);
    border: 1px solid var(--primary-color);
}

.explore__content .btn:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

.footer {
    background-color: var(--text-dark);
}

.footer__container {
    display: grid;
    gap: 4rem 2rem;
}

.footer__col .section__description {
    margin-block: 2rem;
}

.footer__col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
}

.footer__links {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer__links a {
    color: var(--text-light);
    transition: 0.3s;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__socials {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__socials img {
    max-width: 25px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer__socials img:hover {
    opacity: 1;
}

.footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}





/* Modal Premium de Aviso */
.aviso-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    /* garante que fica acima de tudo */
    backdrop-filter: blur(4px);
}

.aviso-content {
    background: #ffffff;
    padding: 2.5rem;
    width: 90%;
    max-width: 550px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: fadeDown 0.4s ease-out;
}

.aviso-content h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d49a6a;
    /* cor premium */
}

.aviso-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.5rem;
}

.aviso-btn {
    margin-top: 1.8rem;
    background: #d49a6a;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.aviso-btn:hover {
    background: #b88153;
}

/* Animação */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}








@media (width > 576px) {
    .room__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}




@media (width > 768px) {
    nav {
        padding: 2rem 1rem;
        position: static;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav__bar {
        padding: 0;
        background-color: transparent;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__links {
        padding: 0;
        width: unset;
        position: static;
        transform: none;
        flex-direction: row;
        background-color: transparent;
    }

    .nav__btn {
        display: block;
    }

    .nav__links a::after {
        position: absolute;
        content: "";
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background-color: var(--primary-color);
        transition: 0.3s;
        transform-origin: left;
    }

    .nav__links a:hover::after {
        width: 100%;
    }

    .about__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .room__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service__content {
        grid-column: 2/3;
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (width > 1024px) {
    .room__grid {
        gap: 2rem;
    }
}








.form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-field label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
}

.form-field.full-width {
    grid-column: span 3;
}

.form-submit.full-width {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.form-submit button {
    background-color: var(--primary-color, #a67c52);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit button:hover {
    background-color: var(--primary-color-hover, #8c6543);
}

/* Estilo da seção */
.reserva {
    background-color: #f2e8dc;
    width: 100%;
    padding: 4rem 1rem;
}

.reserva .form__container {
    max-width: 900px;
    margin: 0 auto;
}

.contact__title_reserva {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsividade */
@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-field.full-width {
        grid-column: span 2;
    }

    .form-submit.full-width {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full-width,
    .form-submit.full-width {
        grid-column: span 1;
    }
}


/* Modal Premium de Aviso */
.aviso-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    /* garante que fica acima de tudo */
    backdrop-filter: blur(4px);
}

.aviso-content {
    background: #ffffff;
    padding: 2.5rem;
    width: 90%;
    max-width: 550px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    animation: fadeDown 0.4s ease-out;
}

.aviso-content h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d49a6a;
    /* cor premium */
}

.aviso-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.5rem;
}

.aviso-btn {
    margin-top: 1.8rem;
    background: #d49a6a;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.aviso-btn:hover {
    background: #b88153;
}

/* Animação */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}













.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #d1a982;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal .close:hover {
    color: #ffffff;
}

.carousel {
    position: relative;
    max-width: 80vw;
    max-height: 90vh;
    animation: fadeIn 0.5s ease;
}

.carousel img {
    width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.carousel img:hover {
    transform: scale(1.02);
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d1a982;
    font-size: 36px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    padding: 10px;
    transition: background 0.3s ease;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.clickable {
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}