/* ============================================
   Interações Mágicas · Geografia do Inimaginável
   Estilos principais
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#sinopse,
#geografia,
#ficha-tecnica,
#requisitos,
#video,
#contato {
    scroll-margin-top: 68px;
}

body {
    background: #0b0a09 linear-gradient(180deg, #0d0c0b 0%, #0a0908 100%);
    color: #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(180, 100, 50, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 80%, rgba(201, 168, 107, 0.05) 0%, transparent 45%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 3px);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    position: relative;
    z-index: 2;
}

/* ---------- Header ---------- */
.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header-wrap.scrolled {
    background: rgba(8, 8, 8, 0.82) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-block {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-block:hover {
    text-decoration: none;
}

.logo-block .logo-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
}

.logo-block .logo-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(201, 168, 107, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-top: 3px;
}

.nav-main {
    position: relative;
}

.nav-inner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.35rem 1.25rem;
}

.nav-main ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem 1rem;
    list-style: none;
}

.nav-main a {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-main a:hover {
    color: #c9a86b;
    background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.6rem 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-inner {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        min-width: 220px;
        border-radius: 16px;
        padding: 0.5rem;
        flex-direction: column;
        align-items: stretch;
        background: rgba(14, 13, 12, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-main.nav-open .nav-inner {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-main ul {
        flex-direction: column;
        gap: 0.15rem;
    }

    .nav-main a {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        padding: 0.65rem 1rem;
        border-radius: 10px;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0a0a;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
}

.hero .hero-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 35%;
}

.hero .hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.12) 38%,
            transparent 62%),
        linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.25) 92%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3.5rem;
    color: #fff;
}

.hero-overlay .hero-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #c9a86b;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hero-overlay h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-overlay h1 span {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: #c9a86b;
    margin-top: 0.12em;
    font-size: 0.95em;
}

.hero-overlay .hero-tagline {
    margin-top: 1.25rem;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 380px;
    line-height: 1.6;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s ease;
}

.hero-scroll-hint:hover {
    color: #c9a86b;
}

.hero-scroll-hint .scroll-arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.15rem;
    animation: scroll-bounce-vertical 2s ease-in-out infinite;
}

.hero-scroll-hint .scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

@keyframes scroll-bounce-vertical {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

@media (min-width: 768px) {
    .hero-overlay {
        padding: 5rem 2rem 4.5rem;
    }

    .hero-scroll-hint {
        bottom: 1.5rem;
        font-size: 0.75rem;
    }
}

/* ---------- Seções ---------- */
.section-title-block {
    background: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
    padding: 1.25rem 1.5rem 1.25rem 1.75rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(201, 168, 107, 0.6);
}

.section-title-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.section-title-block h2::after {
    display: none;
}

.geo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
    margin-bottom: 3.5rem;
}

.geo-section:nth-child(even) {
    direction: rtl;
}

.geo-section:nth-child(even) > * {
    direction: ltr;
}

.geo-section .geo-text {
    padding: 0.5rem 0;
}

.geo-section .geo-text h3 {
    font-size: 1.35rem;
    color: #e07d4a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.geo-section .geo-text p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.geo-section .geo-text p:last-of-type {
    margin-bottom: 0;
}

.geo-section .geo-text .credit {
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}

.geo-figure {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.geo-figure .band {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    z-index: 1;
    text-align: center;
}

.geo-figure .band.band-orange {
    background: linear-gradient(90deg, #c45c2a, #d97a3d);
}

.geo-figure .band.band-red {
    background: linear-gradient(90deg, #8b2525, #a63a3a);
}

.geo-figure img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 200px;
    object-fit: cover;
}

.geo-figure figcaption {
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

@media (max-width: 768px) {
    .geo-section,
    .geo-section:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .geo-section > * {
        direction: ltr;
    }
}

/* ---------- Tipografia geral ---------- */
h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 1px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(201, 168, 107, 0.3);
}

h1 span {
    display: block;
    font-size: 2rem;
    font-style: italic;
    color: #c9a86b;
    font-weight: 400;
    margin-top: 0.25rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #c9a86b, transparent);
}

h3 {
    font-size: 1.5rem;
    color: #c9a86b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.gold-text {
    color: #c9a86b;
}

/* ---------- Sinopse ---------- */
.sinopse {
    background: rgba(18, 17, 16, 0.85);
    backdrop-filter: blur(8px);
    border-left: 4px solid #c9a86b;
    padding: 1.75rem 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.sinopse p {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-style: italic;
    font-weight: 300;
}

.sinopse .meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #c9a86b;
}

/* ---------- Ficha técnica / Requisitos ---------- */
.tech-box {
    background: #111;
    border-radius: 24px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #2a2a2a;
}

.tech-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.tech-item:last-child {
    border-bottom: none;
}

.tech-label {
    font-weight: 600;
    color: #c9a86b;
    width: 180px;
}

.tech-desc {
    flex: 1;
    color: #ccc;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #c9a86b;
    color: #c9a86b;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 1rem 0;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(201, 168, 107, 0.2);
}

.btn:hover {
    background: #c9a86b;
    color: #0a0a0a;
    box-shadow: 0 0 30px #c9a86b;
}

/* ---------- Vídeo ---------- */
.video-area {
    text-align: center;
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    border-radius: 40px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    border: 1px solid rgba(201, 168, 107, 0.2);
}

.video-area p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}

.footer a {
    color: #c9a86b;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ---------- Utilitários / blocos inline ---------- */
.ficha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ficha-contato {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.quote-block {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
}

.quote-block .quote-text {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c9a86b;
}

.quote-block .quote-sub {
    margin-top: 1rem;
}

.footer p + p {
    margin-top: 0.5rem;
}

.tech-note {
    font-style: italic;
    color: #aaa;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.video-heading {
    color: #fff;
    margin-bottom: 1rem;
}

.video-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ---------- Responsivo geral ---------- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h1 span {
        font-size: 1.35rem;
    }

    .sinopse p {
        font-size: 1.05rem;
    }

    .tech-item {
        flex-direction: column;
    }

    .tech-label {
        width: auto;
        margin-bottom: 0.3rem;
    }
}
