/*
Theme Name: Hotel Nações Unidas
Description: Tema customizado do Hotel Nações Unidas — leve, rápido, focado em conversão via WhatsApp e páginas de quarto para Google Ads.
Author: hotelnu
Version: 1.0.0
*/

:root {
    --color-bg: #faf7f2;
    --color-surface: #ffffff;
    --color-text: #2b2320;
    --color-text-muted: #6b5f5c;
    --color-primary: #f04d4d;
    --color-primary-light: #f4716e;
    --color-primary-dark: #8f2424;
    --color-accent: #f04d4d;
    --color-accent-dark: #c93b3b;
    --color-whatsapp: #25d366;
    --color-border: #ecdfdd;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(38, 51, 46, 0.08);
    --container: 1140px;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--color-primary);
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-surface);
    color: var(--color-surface);
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201, 112, 74, 0.35);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--color-border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}
body { overflow-x: hidden; }
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}
.site-logo img {
    max-height: 52px;
    width: auto;
    border-radius: 8px;
}
.site-header nav ul {
    display: flex;
    gap: 28px;
}
.site-header nav a {
    font-weight: 500;
    color: var(--color-text);
}
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
    font-weight: 600;
    color: var(--color-primary);
    display: none;
}
@media (min-width: 720px) {
    .header-phone { display: inline; }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    padding: 6px;
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-header nav.is-open { max-height: 320px; }
    .site-header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 20px 16px;
    }
    .site-header nav ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }
    .site-header { position: sticky; }
    .site-header .container { position: relative; flex-wrap: wrap; }
}

/* Hero */
.hero {
    position: relative;
    background:
        linear-gradient(160deg, rgba(240,77,77,0.94) 0%, rgba(143,36,36,0.96) 100%),
        var(--hero-img, none);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    max-width: 780px;
    margin: 0 auto 0.4em;
}
.hero p.subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2em;
    opacity: 0.92;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--color-surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-header p { color: var(--color-text-muted); }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 10px;
}

/* Feature grid (conforto / localização / experiência) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 32px 26px;
    box-shadow: var(--shadow);
    text-align: center;
}
.feature-card .icon {
    color: var(--color-primary);
    margin: 0 auto 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdeceb;
    border-radius: 50%;
}
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* Room cards */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.room-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}
.room-card:hover { transform: translateY(-4px); }
.room-card .room-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--color-border); }
.room-card .room-thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-card .room-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.room-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.room-card .room-excerpt { color: var(--color-text-muted); font-size: 0.95rem; flex: 1; }
.room-card .room-price {
    font-weight: 700;
    color: var(--color-accent-dark);
    margin: 10px 0 16px;
}
.room-card .room-price small { font-weight: 400; color: var(--color-text-muted); font-size: 0.8rem; }
.room-card .btn { width: 100%; justify-content: center; }

/* Single quarto */
.room-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}
.room-hero .main-img { aspect-ratio: 4/3; overflow: hidden; }
.room-hero .main-img img { width: 100%; height: 100%; object-fit: cover; }
.room-hero .side-imgs { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; }
.room-hero .side-imgs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
    .room-hero { grid-template-columns: 1fr; }
    .room-hero .side-imgs { display: none; }
}

.room-detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .room-detail-layout { grid-template-columns: 1fr; }
}
.room-booking-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: sticky;
    top: 90px;
}
.room-booking-card .price { font-size: 1.8rem; font-weight: 700; color: var(--color-accent-dark); }
.room-booking-card .price small { font-size: 0.9rem; font-weight: 400; color: var(--color-text-muted); display: block; }
.room-booking-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

.amenity-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.amenity-list li { display: flex; align-items: center; gap: 8px; color: var(--color-text-muted); font-size: 0.95rem; }
.amenity-list li::before { content: "✓"; color: var(--color-whatsapp); font-weight: 700; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.testimonial-card { background: var(--color-surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testimonial-card .stars { color: #e0a13b; margin-bottom: 10px; }
.testimonial-card p { color: var(--color-text-muted); font-style: italic; }
.testimonial-card .name { font-weight: 600; color: var(--color-primary); }

/* Map / location */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Footer */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 56px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 0.85rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 60;
    background: var(--color-whatsapp);
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(37,211,102,0.45);
    font-size: 1.6rem;
}

/* Archive */
.archive-header { text-align: center; padding: 60px 0 20px; }
