@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Manrope:wght@400;600;700&display=swap');

:root {
    --forest-950: #0C352D;
    --forest-800: #154D40;
    --gold-500: #E8AE45;
    --cream-100: #F4EFE4;
    --sand-200: #DED2BC;
    --sage-500: #798B79;
    --ink-950: #18211E;
    --white: #FFFFFF;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--ink-950);
    background-color: var(--cream-100);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.02em;
    font-weight: 400;
}

h1 {
    font-size: clamp(48px, 6vw, 104px);
    line-height: 0.95;
}

h2 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
}

.text-sm { font-size: 14px; }
.text-xs { font-size: 13px; }
.text-lg { font-size: 18px; }

a {
    text-decoration: none;
    color: inherit;
}

/* Espaçamento e utilitários semânticos */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-8 { gap: 32px; }
.gap-6 { gap: 24px; }
.gap-2 { gap: 8px; }

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 16px;
    transition: background-color 0.45s ease, color 0.45s ease;
    color: var(--white);
}
@media (max-width: 1200px) {
    .main-header { padding: 0 24px; }
    .nav-desktop { gap: 16px !important; }
}
@media (max-width: 768px) {
    .main-header { height: 64px; padding: 0 20px; }
}
.main-header.scrolled {
    background-color: rgba(244, 239, 228, 0.96); /* cream-100 */
    color: var(--forest-950);
    border-bottom: 1px solid var(--sand-200);
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}
.nav-link:hover { opacity: 0.7; }
.nav-link:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 24px;
    height: 48px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: none;
}
.btn-primary-light {
    background-color: var(--cream-100);
    color: var(--forest-950);
}
.btn-primary-green {
    background-color: var(--forest-950);
    color: var(--cream-100);
}
.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}
.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Links editoriais */
.editorial-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 2px;
    white-space: nowrap;
}
.editorial-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.editorial-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100svh;
    min-height: 720px;
    width: 100%;
    overflow: hidden;
    background-color: var(--forest-950);
}
@media (max-width: 768px) {
    .hero-section { min-height: 640px; }
}
.hero-media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 53, 45, 0.7) 0%, rgba(12, 53, 45, 0.2) 40%, transparent 100%);
}
.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 96px;
    color: var(--white);
}
.hero-tag {
    color: var(--gold-500);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    display: block;
}

/* Cartões */
.card-image-wrap {
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    width: 100%;
}
.card-image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}
.card-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-image-wrap:hover img {
    transform: scale(1.05);
}

/* Ícones SVG nativos */
.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Utilities Layout */
.grid { display: grid; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }
.col-span-8 { grid-column: span 8; }

.section-padding { padding: 128px 0; }
.bg-forest { background-color: var(--forest-950); color: var(--cream-100); }
.bg-white { background-color: var(--white); }

/* Responsividade Mobile e Tablet */
@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .featured-flex { flex-direction: column !important; gap: 40px !important; }
    .featured-flex > div { width: 100% !important; }
}

@media (max-width: 768px) {
    .section-padding { padding: 64px 0; }
    .grid-cols-4 { grid-template-columns: 1fr; gap: 24px; }
    .grid-cols-3 { grid-template-columns: 1fr; gap: 32px; }
    .grid-cols-12 { grid-template-columns: 1fr; }
    .col-span-7, .col-span-5, .col-span-4, .col-span-8 { grid-column: span 12; }
    .room-col-offset { padding-top: 0 !important; margin-top: 0 !important; }
    .room-grid-gap { margin-top: 48px !important; }
    
    .nav-desktop { display: none !important; }
    
    #pause-video-btn {
        right: 20px !important;
        bottom: 24px !important;
        font-size: 11px !important;
        background-color: rgba(12, 53, 45, 0.6) !important;
        padding: 6px 12px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(4px);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-video {
        display: none !important;
    }
    .hero-poster {
        display: block !important;
    }
}
