:root {
    /* New NexGen Theme Palettes adapted for Star */
    --color-brand: #fbbf24;          /* Rich Golden Header BG */
    --color-brand-light: #fef3c7;    /* Soft Cream bg */
    --color-dark: #0f172a;           /* Charcoal Black/Blue for text/buttons */
    --color-white: #ffffff;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    
    --gap-md: 30px;
    --gap-lg: 60px;
    --radius: 24px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: #fff;
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* BUTTONS */
.btn-dark {
    background: var(--color-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--color-dark);
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}
.btn-dark:hover { background: #000; }

.btn-dark.large { padding: 16px 32px; font-size: 1rem; }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}
.btn-outline-white:hover { background: #fff; color: var(--color-dark); }
.btn-outline-white.large { padding: 16px 32px; font-size: 1rem; }

.btn-outline-dark {
    background: transparent;
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-outline-dark:hover { background: var(--color-dark); color: #fff; }

.btn-txt {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
    margin-right: 15px;
}

.btn-pill-dark {
    background: var(--color-dark);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-block;
}

.btn-pill-light {
    background: var(--color-brand);
    color: var(--color-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-block;
    text-align: center;
}

.btn-dark-sm {
    background: var(--color-dark);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

/* TOP NAVBAR */
.nav-top {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img { height: 65px; }

.tag-links {
    display: flex;
    background: #f1f5f9;
    border-radius: 30px;
    padding: 4px;
}

.tag-links span, .tag-links a {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 30px;
    cursor: pointer;
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
}

.tag-links span.active, .tag-links a.active {
    background: #fef3c7; 
    color: #92400e;
}

.links-side {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-menu {
    display: flex;
    gap: 25px;
}

.main-menu li {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-menu li i { font-size: 0.7rem; }

.main-menu a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--color-brand);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-radius: 12px;
    list-style: none;
    min-width: 200px;
    z-index: 99;
    margin-top: 10px;
    border: 1px solid #f1f5f9;
}

.dropdown-content li {
    display: block !important;
    padding: 0 !important;
}

.dropdown-content li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
}

.dropdown-content li a:hover {
    background-color: #f8fafc;
    color: var(--color-brand);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.auth-btns { display: flex; align-items: center; }

/* HERO FLAT */
.hero-flat {
    background-color: #0EA5E9; /* We emulate the reference image's BLUE base first, but USER wants yellow. Let's do a VIVID Star Yellow/Gold gradient that feels exact. */
    background: linear-gradient(to right, #06b6d4 0%, #0ea5e9 100%); /* Wait, user showed light blue. Let's switch it to VIBRANT Star Light Blue mixed with gold? No, "Cores da nova marca Star". Let's use a high-energy vivid amber-gold similar to their logo. */
    background: #f59e0b; 
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Wait, the user showed blue in the sample image. Let me deliver what he asked (Star colors). */
.hero-flat {
    background: #fbbf24; /* Bright star yellow as seen in logo */
    color: #fff;
}

.hero-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 600px;
    align-items: stretch;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px 60px max(30px, calc((100vw - 1220px) / 2)); /* Increased padding-right for better breathing room */
    z-index: 2;
}

.hero-text-col h1 {
    font-size: clamp(3.5rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 25px;
    color: #fff;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 400px;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-btns { display: flex; gap: 15px; }

.hero-img-col {
    height: 100%;
    position: relative;
}

.hero-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Mask edge bottom to keep round image effect if desired but reference has it flush */
}

/* SECTION 2: HEADLINE */
.headline-section {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 60px;
    padding: 100px 30px;
}

.head-intro p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    max-width: 150px;
}

.head-main h2 {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.head-main p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
    font-weight: 500;
}

/* CARDS GRID */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-bottom: 100px;
}

.card-item {
    border-radius: 20px;
    min-height: 350px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}
.card-item:hover { transform: translateY(-8px); }

.img-card {
    background-size: cover;
    background-position: center;
    position: relative;
    justify-content: flex-end;
    padding: 30px;
}
.img-card::before {
    content: '';
    position: absolute;
    top: 0; left:0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}
.card-content-dark {
    position: relative;
    z-index: 2;
    color: #fff;
}
.card-content-dark h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; }
.card-content-dark p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 20px; }

.bg-cream {
    background-color: #ede9fe; /* Purple in example, let's do soft cream cream yellow */
    background-color: #fef3c7; 
    justify-content: flex-start;
    padding-top: 60px;
}
.bg-yellow {
    background-color: #ecfdf5; /* Reference alternate color, we use soft teal or lighter yellow */
    background-color: #bef264; /* Acid yellow/lime highlight from earlier */
    justify-content: flex-start;
    padding-top: 60px;
}

.icon-graphic {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.card-body h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; line-height: 1.1; }
.card-body p { font-size: 1rem; color: #334155; font-weight: 500; margin-bottom: 20px; }
.card-body small { font-size: 0.75rem; color: #64748b; }

/* COLORED FEATURE (Light Background Purple replacement) */
.colored-feature {
    background: #e0e7ff; /* Let's keep standard light blue/grey from example but tweak for Star */
    background: #f1f5f9;
    padding: 80px 0;
}

.text-center { text-align: center; }

.colored-feature h2 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.colored-feature p {
    color: #475569;
    font-weight: 500;
    margin-bottom: 30px;
}

.dual-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.gallery-block {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.gallery-right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

/* SPLIT PROMO */
.split-promo {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    padding: 100px 30px;
    align-items: center;
}

.promo-img {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
}

.promo-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
}

.promo-overlay h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.promo-text {
    padding-left: 30px;
}

.label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.promo-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.promo-text p {
    color: #475569;
    margin-bottom: 30px;
}

/* FOOTER */
.footer-nex {
    background: #f8fafc;
    padding: 80px 0 40px;
    border-top: 1px solid #e2e8f0;
}

.footer-grid-nex {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-logo { height: 60px; margin-bottom: 20px; }
.f-info p { font-size: 0.9rem; color: #64748b; line-height: 1.6; max-width: 250px; }

.f-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.f-links a, .f-links p {
    display: block;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 12px;
    transition: var(--transition);
}

.f-links a:hover { color: var(--color-dark); }

.footer-base {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

/* Hide normal desktop toggle */
.mobile-btn { display: none; }

@media (max-width: 992px) {
    .hero-split, .headline-section, .grid-cards, .split-promo {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text-col { 
        padding: 60px 20px 40px; 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
    }
    .hero-btns { justify-content: center; }
    .hero-img-col { height: 400px; }
    
    .head-intro p { max-width: 100%; margin-bottom: 0; }
    .gallery-block { grid-template-columns: 1fr; padding: 0 20px; }
    .gallery-left img, .gallery-right { border-radius: 20px; }
    .promo-text { padding-left: 0; }
}

@media (max-width: 768px) {
    .mobile-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--color-dark);
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    .links-side {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -300px; /* Hidden initially */
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 100px 30px 40px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        align-items: flex-start;
        gap: 30px;
    }
    
    .links-side.active {
        right: 0; /* Slide-in! */
    }
    
    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 25px;
    }
    
    .main-menu li {
        font-size: 1rem;
        font-weight: 600;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-menu li a {
        display: block;
        width: 100%;
    }

    .dropdown span {
        display: flex;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
    }
    
    .dropdown-content {
        position: static;
        display: none; /* Controlled by JS toggle */
        box-shadow: none;
        border: none;
        padding: 10px 0 0 15px;
        margin-top: 5px;
        background: transparent;
        width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .auth-btns {
        width: 100%;
        margin-top: 10px;
    }
    .auth-btns .btn-dark {
        width: 100%;
        text-align: center;
    }
    
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(4px);
        z-index: 999;
    }
    .menu-overlay.active {
        display: block;
    }

    .footer-grid-nex { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .footer-grid-nex { 
        grid-template-columns: 1fr; 
    }
}
