@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #000000;
    --bg-soft: #0d0d0d;
    --text: #ffffff;
    --gold: #d4af37;
    --gold-light: #f5d77b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* HEADER */
header {
    width: 100%;
    padding: 20px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 50;
}

.logo-header {
    width: 130px;
}

/* NAV DESKTOP */
.desktop-nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

/* MENU MOBILE */
.mobile-menu-btn {
    display: none;
    font-size: 34px;
    cursor: pointer;
    color: var(--gold);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 90px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 68%;
    padding: 25px;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 200;
}

.mobile-nav a {
    margin: 16px 0;
    color: var(--gold-light);
    font-size: 20px;
    text-decoration: none;
}

.mobile-nav.open {
    display: flex;
}

/* HERO */
.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 8%;
    padding-top: 140px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), var(--bg)), 
        url('https://images.unsplash.com/photo-1586015555751-63d244f51693?auto=format&w=1500&q=80') center/cover no-repeat;
}

.hero-text {
    max-width: 650px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    color: var(--gold-light);
}

.hero p {
    margin-top: 16px;
    opacity: .9;
    font-size: 18px;
}

.btn-hero {
    margin-top: 35px;
    padding: 16px 38px;
    background: var(--gold);
    border-radius: 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

/* 3D LOGO */
.hero-logo-3d {
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin360 {
    transition: transform 1.3s ease-out;
}

.spin360:hover {
    transform: rotateY(360deg);
}

.logo-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* SECTION */
section {
    padding: 110px 7%;
}

.title {
    font-size: 38px;
    margin-top: 80px;   /* 🔥 AQUI — adiciona espaço para separar da logo */
    margin-bottom: 40px;
    text-align: center;
    color: var(--gold-light);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-soft);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.1);
    cursor: pointer;
}

.card h3 {
    color: var(--gold-light);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: #121212;
    border: 1px solid rgba(255,215,0,0.25);
    padding: 22px;
    width: 90%;
    max-width: 420px;
    border-radius: 16px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
}

/* CARROSSEL */
.carousel {
    position: relative;
    margin-bottom: 18px;
}

.carousel img {
    width: 100%;
    max-height: 210px;
    border-radius: 12px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    padding: 6px 10px;
    border-radius: 50%;
    color: var(--gold);
    font-size: 28px;
    cursor: pointer;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* FOOTER */
footer {
    margin-top: 80px;
    padding: 40px 5%;
    text-align: center;
    opacity: .6;
}

/* RESPONSIVO 🔥 */
@media (max-width: 980px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        padding-top: 160px;
    }

    .hero-logo-3d {
        margin-top: 40px;
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 820px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: 38px; }
    .hero-logo-3d { width: 220px; height: 220px; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 32px; }
    .hero-logo-3d { width: 180px; height: 180px; }
}
