/* ==================== HEADER ==================== */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 11, 13, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2d3748;
    transition: padding 0.3s ease;
    min-height: 70px;               /* altura mínima para desktop */
}

header.scrolled {
    padding: 10px 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;              /* compensa o header fixo */
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(247, 147, 26, 0.1) 0%, transparent 50%);
    overflow: hidden;
    box-sizing: border-box;
}

/* Coluna de texto */
.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-content .hero-tagline {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Coluna da imagem */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 80vh;               /* não ultrapassa a tela */
    opacity: 1;                     /* totalmente visível */
}

/* ==================== FEATURES ==================== */
.features {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ==================== ASSETS ==================== */
.assets {
    padding: 80px 5%;
    text-align: center;
    background: #0f1115;
}

.asset-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.asset-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.asset-item img {
    width: 60px;
    height: 60px;
    filter: grayscale(20%);
}

/* ==================== CTA FINAL ==================== */
.cta-final {
    padding: 100px 5%;
    text-align: center;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.cta-final p {
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ==================== */
footer {
    padding: 50px 5%;
    border-top: 1px solid #2d3748;
    text-align: center;
    color: var(--text-gray);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--text-gray);
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-light);
}

/* ==================== SEÇÕES COMUNS ==================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
}

/* ==================== RESPONSIVO (hero e header) ==================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;   /* imagem embaixo */
        justify-content: flex-start;
        padding-top: 100px;               /* compensa header fixo */
        min-height: auto;                 /* altura automática no mobile */
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-image {
        justify-content: center;
    }

    .hero-image img {
        max-height: 40vh;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 60px;
        padding: 10px 5%;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}