:root {
    --primary: #1f4f46;
    --primary-dark: #153831;
    --secondary: #d8a75b;
    --light: #f8f5ef;
    --white: #ffffff;
    --text: #24302e;
    --muted: #64706d;
    --border: #e5ded2;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius: 22px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

.topbar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 0.9rem;
    padding: 9px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 245, 239, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(31, 79, 70, 0.1);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--secondary);
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--muted);
}

.menu a:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    background: var(--secondary);
    color: #22170a;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(216, 167, 91, 0.35);
    background: #e0b36e;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(31, 79, 70, 0.25);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
}

.gglobe {
    background-image: url(../images/globo.svg);
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
    linear-gradient(90deg, rgba(21, 56, 49, 0.9), rgba(21, 56, 49, 0.65), rgba(21, 56, 49, 0.15)),
    url('../images/ericeira.webp') center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    max-width: 650px;
    padding: 92px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
    margin-bottom: 24px;
}

.hero p {
    max-width: 580px;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 34px;
}


.booking-card {
    position: relative;
    margin-top: -140px;
    z-index: 3;
}

.booking-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    align-items: end;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fffdf9;
    color: var(--text);
    border-radius: 14px;
    padding: 14px 13px;
    font: inherit;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(216, 167, 91, 0.16);
}

.booking-box .btn {
    width: 100%;
    min-height: 51px;
}

section {
    padding: 92px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 42px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 10px;
}

h2 {
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    margin-bottom: 16px;
}

.section-head p,
.text-muted {
    color: var(--muted);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-height: 210px;
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(216, 167, 91, 0.18);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.feature h3,
.room-card h3,
.review h3,
.faq-item h3 {
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.feature p,
.room-card p,
.review p,
.faq-item p {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.image-stack {
    position: relative;
}

.image-stack img {
    border-radius: 28px;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
}

.floating-note {
    position: absolute;
    right: -18px;
    bottom: 36px;
    max-width: 250px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.floating-note strong {
    display: block;
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 6px;
}

.check-list {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
}

.check-list li::before {
    content: "✓";
    flex: 0 0 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(31, 79, 70, 0.12);
    color: var(--primary);
    font-weight: 900;
}

.rooms {
    background: #fffaf1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.room-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-content {
    padding: 24px;
}

.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(31, 79, 70, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price strong {
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 24px;
}

.gallery-grid img:first-child {
    grid-row: span 2;
}

.location {
    background: var(--primary-dark);
    color: var(--white);
}

.location h2,
.location .section-label {
    color: var(--white);
}

.location p,
.location .text-muted {
    color: rgba(255, 255, 255, 0.76);
}

.location-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 36px;
}

.location-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 28px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stars {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.cta {
    padding: 70px 0;
    background:
    linear-gradient(rgba(31, 79, 70, 0.88), rgba(31, 79, 70, 0.88)),
    url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0 auto 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}

.contact {
    background: #fffaf1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    position: sticky;
    top: 110px;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.2rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 24px;
}

.contact-line {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

p.chamada {
    font-size: 12px;
    margin-bottom: 4px;
}

.contact-line strong {
    display: block;
    margin-bottom: 4px;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field.full {
    grid-column: 1 / -1;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

footer {
    background: #102923;
    color: rgba(255, 255, 255, 0.72);
    padding: 34px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--white);
}

.mobile-cta {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 20;
    box-shadow: var(--shadow);
}

@media (max-width: 980px) {
    .menu {
    display: none;
    }

    .hero {
    min-height: 700px;
    }

    .booking-box,
    .features-grid,
    .rooms-grid,
    .reviews-grid,
    .faq-grid,
    .contact-grid,
    .split,
    .location-box {
    grid-template-columns: 1fr;
    }

    .booking-box {
    margin: 0 10px;
    }

    .features-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
    grid-template-columns: 1fr 1fr;
    }

    .gallery-grid img:first-child {
    grid-column: 1 / -1;
    }

    .floating-note {
    right: 16px;
    bottom: 16px;
    }

    .contact-info {
    position: static;
    }
}

@media (max-width: 640px) {
    .topbar {
    display: none;
    }

    .nav {
    min-height: 68px;
    }

    .nav .btn {
    display: none;
    }

    .hero {
    min-height: 720px;
    background:
        linear-gradient(180deg, rgba(21, 56, 49, 0.9), rgba(21, 56, 49, 0.7)),
        url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    }

    .hero-content {
    padding: 74px 0 118px;
    }

    .hero p {
    font-size: 1.03rem;
    }

    .trust-points,
    .features-grid,
    .gallery-grid,
    .form-grid {
    grid-template-columns: 1fr;
    }

    section {
    padding: 68px 0;
    }

    .booking-card {
    margin-top: -96px;
    }

    .booking-box {
    padding: 18px;
    }

    .floating-note {
    position: static;
    max-width: none;
    margin-top: 16px;
    }

    .mobile-cta {
    display: inline-flex;
    }
}