html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif; margin: 0; color: #333; 
}

.hero-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(8, 16, 32, 0.75);
    backdrop-filter: blur(10px);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-logo {
    display: block;
    max-width: 170px;
    height: auto;
    vertical-align: middle;
    border-radius: 10px;

}
.hero-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}


/* HERO HEADER */
.hero {
    background: radial-gradient(circle at top, #457b9d, #1d3557 70%);
    color: #fff;
    padding: 100px 20px 120px;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-size: 5.6rem;
    font-weight: 700;
    letter-spacing: .3px;
}
.brand-tagline {
    font-size: 1.85rem;
    opacity: .85;
}
.hero h1 {
    font-size: 3rem;
    /*max-width: 900px;*/
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.25rem;
    /*max-width: 820px;*/
    opacity: .9;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover { 
    background-color: #0069d9;
    border-color: #0062cc;
    /*transform: translateY(-2px);*/ 
    box-shadow: 0 10px 20px rgba(0,0,0,.25); 
}

.btn-secondary {
    color: #fff;
    background-color: #17a2b8; /*#6c757d;*/
    border-color: #17a2b8; /*#6c757d;*/
}
.btn-secondary:hover { 
    background: #138496; /*#5a6268; */
    box-shadow: 0 10px 20px rgba(0,0,0,.25); 
}
.btn-link {
    color: #cdd9ff;
    font-weight: 500;
    text-decoration: none;
}
.btn-link:hover {
    color: #fff;
}


/* SECTIONS */
section { padding: 70px 20px; max-width: 1200px; margin: 0 auto; }
section h2 { font-size: 2.2rem; margin-bottom: 20px; color: #1d3557; }
section p { font-size: 1.1rem; line-height: 1.7; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: #f8f9fa; border-radius: 14px; padding: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.card h3 { margin-top: 0; color: #457b9d; }

.highlight { background: #f1faee; }

footer { background: #1d3557; color: #fff; padding: 40px 20px; text-align: center; }
footer p { margin: 5px 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-top-inner {
        padding: 14px 16px;
    }    
    .hero-actions .btn-link {
        font-size: 0.95rem;
        padding: 6px 10px;
        white-space: nowrap;
    }
    
    
    .hero { padding: 70px 20px 90px; }
    .brand {
        gap: 12px;
        margin-bottom: 28px;
    }
    /*.brand-logo {
        width: 130px;
        height: 130px;
    }*/
    .brand-name {
        font-size: 2.4rem;
    }
    .brand-tagline {
        font-size: .8rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* FIX BOTÕES MOBILE */
    .hero-actions {
            flex-direction: column;
            align-items: flex-start;
    }
    .hero-actions .btn {
            width: auto;
            min-width: 220px;
    }    
    
/*    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }*/
}

@media (max-width: 480px) {
    .hero { padding: 60px 16px 80px; }
/*    .brand {
        flex-direction: row;
        align-items: center;
    }*/
    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e63946;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
}

@media (max-width: 480px) {
    #backToTop {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }
}