/* ==== ROOT VARIABLES (Husina Premium Steel Theme) ==== */
:root {
    --midnight-metal: #1A2740;
    --platinum-steel: #6B7F8E;
    --emerald-catalyst: #00FF55; /* Ultra Bright Neon Green */
    --emerald-glow: rgba(0, 255, 85, 0.6);
    --emerald-dark: #00B33C;
    --pure-white: #FFFFFF;
    
    /* Silver/Steel Gradients */
    --steel-light: #E8ECEF;
    --steel-mid: #C5CCD4;
    --steel-dark: #9AA4B0;
    
    --text-dark: #121A26;
    --text-muted: #51647A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* ==== BACKGROUND ESTILO CONCRETO ==== */
body {
    background-color: #2C3033;
    /* Adicionando um padrão sutil de textura tipo concreto/noise no fundo da tela inteira */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 40px 20px; /* Padding para visualizar o concreto em telas grandes */
}

/* ==== SITE BOXED WRAPPER ==== */
/* Isso cria o efeito da imagem, onde o site é uma 'caixa' cercada pelo concreto nas bordas laterais */
.site-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--pure-white);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* Base Typo */
h1, h2, h3, h4 {
    font-weight: 800; /* Mais pesado para combinar com o design arrojado */
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.bg-steel {
    background: linear-gradient(135deg, var(--steel-light) 0%, var(--pure-white) 50%, var(--steel-mid) 100%);
}

.bg-dark {
    background-color: var(--midnight-metal);
    color: var(--pure-white);
}

/* ==== NAVBAR ==== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--steel-mid);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.logo-icon {
    margin-right: 12px;
    width: 35px;
    height: auto;
}

.logo .husina {
    color: var(--platinum-steel);
}

.logo .money {
    color: var(--emerald-catalyst);
    text-shadow: 0 0 5px rgba(0, 255, 85, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700; /* Texto menu em uppercase escuro */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--emerald-dark);
}

/* Item destacado no menu */
.nav-highlight {
    color: var(--emerald-dark) !important;
}

/* ==== BOTÕES NEON ==== */
/* Efeito Pulsante Cinza -> Verde Néon lentamente */
@keyframes pulse-grey-green {
    0%, 15% {
        background: linear-gradient(90deg, #9AA4B0, #6B7F8E);
        box-shadow: 0 0 0px transparent;
        color: #FFF;
        border-color: rgba(255,255,255,0.2);
    }
    85%, 100% {
        background: linear-gradient(90deg, #00FF55, #00E047);
        box-shadow: 0 0 25px var(--emerald-glow), 0 0 45px var(--emerald-glow);
        color: #111;
        border-color: rgba(255,255,255,0.8);
    }
}

.btn-neon {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px; 
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    text-align: center;
    background: linear-gradient(90deg, #9AA4B0, #6B7F8E); /* Fallback */
    animation: pulse-grey-green 4s infinite alternate ease-in-out;
}

.btn-neon:hover {
    transform: scale(1.05);
    animation-play-state: paused;
    background: linear-gradient(90deg, #00FF55, #0ceb56);
    box-shadow: 0 0 30px var(--emerald-glow), 0 0 50px var(--emerald-glow);
    color: #111;
}

.btn-neon.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
}

/* ==== HERO SECTION (O Banner Principal de Aço Escovado) ==== */
.hero {
    background: url('./assets/hero-bg.png') center/cover no-repeat;
    background-color: #2b2e31; /* Fundo cinza complementar */
    position: relative;
    padding: 120px 40px;
    border-bottom: 2px solid var(--emerald-catalyst);
    overflow: hidden;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(44,48,51,0.85) 0%, rgba(44,48,51,0.4) 50%, rgba(44,48,51,0.85) 100%);
    z-index: 1;
}

/* Efeito de Lasers Descendo (Fluorescentes) */
.hero-divider-laser {
    position: absolute;
    top: 0; z-index: 3;
    width: 1px; height: 100%;
    background: rgba(255,255,255,0.05); /* very faint stationary line */
    overflow: hidden;
    pointer-events: none;
}

.hero-divider-laser.line1 { left: 40%; transform: rotate(15deg); }
.hero-divider-laser.line2 { left: 50%; width: 2px; }
.hero-divider-laser.line3 { left: 60%; transform: rotate(-15deg); }

.hero-divider-laser::after {
    content: '';
    position: absolute;
    top: -100%; left: -2px; width: 4px; height: 40%;
    background: linear-gradient(to bottom, transparent, var(--emerald-catalyst), #fff);
    box-shadow: 0 0 20px var(--emerald-catalyst), 0 0 40px var(--emerald-glow);
    animation: drop-laser 4s infinite linear;
    border-radius: 50%;
}

.hero-divider-laser.line1::after { animation-delay: 0s; animation-duration: 3.5s; height: 30%; }
.hero-divider-laser.line2::after { animation-delay: 1s; animation-duration: 5s; width: 6px; left:-3px; }
.hero-divider-laser.line3::after { animation-delay: 2.2s; height: 50%; }

@keyframes drop-laser {
    0% { top: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 200%; opacity: 0; }
}

/* Removed old grid and individual images since hero is now unified */

/* ==== TYPOGRAFIA MASTER HERO ==== */
.hero-text-center {
    text-align: center;
    padding: 0 20px;
}

.hero-text-center h1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
}

@keyframes fadeInUpWord {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-t1, .hero-t2, .hero-t3 {
    display: inline-block;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-t1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    text-transform: uppercase;
    animation: fadeInUpWord 0.8s forwards;
    animation-delay: 0.5s;
}

.hero-t1:hover {
    transform: scale(1.05) translateY(-5px);
    color: var(--emerald-catalyst) !important;
    text-shadow: 0 0 20px var(--emerald-glow) !important;
}

/* Texto estilo "Vazado / Embossed" de aço (Conheça nossa) */
.hero-t2 {
    font-size: 3rem;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,1);
    text-shadow: 2px 5px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    font-style: italic;
    background: linear-gradient(to bottom, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: fadeInUpWord 0.8s forwards;
    animation-delay: 1.5s;
}

.hero-t2:hover {
    transform: scale(1.05) translateY(-5px);
    -webkit-text-stroke: 1.5px var(--emerald-catalyst);
    text-shadow: 0 0 25px var(--emerald-glow);
}

/* Texto Néon Brilhante (Engenharia Financeira.) */
.hero-t3 {
    font-size: 3.2rem;
    color: var(--emerald-catalyst);
    text-shadow: 0 0 10px rgba(0,255,85,0.4), 0 0 20px rgba(0,255,85,0.2);
    letter-spacing: -1.5px;
    animation: fadeInUpWord 0.8s forwards;
    animation-delay: 2.5s;
}

.hero-t3:hover {
    transform: scale(1.05) translateY(-5px);
    text-shadow: 0 0 30px var(--emerald-catalyst), 0 0 60px var(--emerald-glow);
    letter-spacing: 0px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* ==== CONDIÇÕES DA OPERAÇÃO / INFO CARDS ==== */
.info-section {
    background-color: var(--pure-white);
    padding: 80px 40px;
    border-bottom: 1px solid var(--steel-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--midnight-metal);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%; transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    width: 60%; height: 4px;
    background: var(--emerald-catalyst);
    bottom: -15px; left: 20%;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-solid {
    background: var(--steel-light);
    border: 1px solid var(--steel-mid);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-solid:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--emerald-catalyst);
}

.card-solid i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    /* Emoji ou ícone visual */
}

.card-solid h3 {
    color: var(--midnight-metal);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-solid p {
    color: var(--text-muted);
}

/* ==== FOOTER ==== */
footer {
    background-color: var(--midnight-metal);
    color: var(--pure-white);
    padding: 60px 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--emerald-catalyst);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--steel-mid);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--emerald-catalyst);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--steel-mid);
    font-size: 0.85rem;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-img-left, .hero-img-right {
        display: none; /* Em mobile, foca na mensagem */
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    
    .hamburger span {
        width: 30px; height: 3px;
        background-color: var(--midnight-metal);
        border-radius: 2px;
    }
    
    body {
        padding: 0; /* Remove a borda de concreto em mobile para ganhar espaço */
    }
    .site-wrapper {
        border-radius: 0;
    }
}

/* ==== LEGAL PAGES (LGPD, Termos) ==== */
.legal-hero {
    background: linear-gradient(135deg, var(--midnight-metal) 0%, #243447 60%, var(--midnight-metal) 100%);
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
}

.legal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--emerald-catalyst), transparent);
}

.legal-hero h1 {
    color: var(--pure-white);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.legal-hero p {
    color: var(--steel-mid);
    font-size: 0.95rem;
    font-weight: 600;
}

.legal-content {
    padding: 60px 0 80px;
    background-color: var(--pure-white);
}

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

.legal-container h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--midnight-metal);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--steel-light);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.legal-container ul {
    margin: 0 0 20px 24px;
    padding: 0;
}

.legal-container ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 8px;
    list-style-type: disc;
}

.legal-container a {
    color: var(--emerald-dark);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.legal-container a:hover {
    color: var(--midnight-metal);
}

.legal-contact-box {
    background: var(--steel-light);
    border-left: 4px solid var(--emerald-dark);
    padding: 24px 28px;
    border-radius: 6px;
    margin: 20px 0 24px;
}

.legal-contact-box p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

.legal-disclaimer-box {
    background: #FFF8E1;
    border-left: 4px solid #F9A825;
    padding: 24px 28px;
    border-radius: 6px;
    margin: 20px 0 24px;
}

.legal-disclaimer-box p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-disclaimer-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 20px 40px;
    }
    .legal-hero h1 {
        font-size: 1.8rem;
    }
    .legal-container {
        padding: 0 20px;
    }
    .legal-container h2 {
        font-size: 1.2rem;
        margin-top: 36px;
    }
}

/* ==== BREADCRUMBS ==== */
.breadcrumb {
    padding: 15px 40px;
    background: var(--steel-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--steel-mid);
}

.breadcrumb a {
    color: var(--emerald-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--midnight-metal);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--steel-dark);
}

/* ==== FOOTER 4 COLUMNS ==== */
.footer-grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

/* ==== TABLES (Comparisons, Data) ==== */
.husina-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.husina-table thead th {
    background: var(--midnight-metal);
    color: var(--pure-white);
    padding: 15px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.husina-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--steel-light);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.husina-table tbody tr:nth-child(even) {
    background: var(--steel-light);
}

.husina-table tbody tr:hover {
    background: rgba(0, 255, 85, 0.08);
}

.husina-table .highlight-row {
    background: rgba(0, 255, 85, 0.12) !important;
    font-weight: 700;
}

/* ==== BLOG ARTICLE STYLES ==== */
.article-hero {
    position: relative;
    padding: 120px 40px 60px;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.article-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(26,39,64,0.95) 0%, rgba(26,39,64,0.4) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--steel-mid);
}

.article-category-badge {
    background: var(--emerald-catalyst);
    color: var(--midnight-metal);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--midnight-metal);
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--emerald-catalyst);
}

.article-body h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 15px 0 25px 25px;
    color: var(--text-muted);
    line-height: 1.9;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body a {
    color: var(--emerald-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.article-body a:hover {
    border-bottom-color: var(--emerald-dark);
}

.article-body blockquote {
    background: var(--steel-light);
    border-left: 5px solid var(--emerald-catalyst);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* Related Articles */
.related-articles {
    background: var(--steel-light);
    padding: 60px 40px;
    border-top: 1px solid var(--steel-mid);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--midnight-metal);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

/* ==== NEWS/AUTO-BLOG STYLES ==== */
.news-card {
    background: var(--pure-white);
    border: 1px solid var(--steel-light);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--emerald-catalyst);
}

.news-source {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--emerald-dark);
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--steel-dark);
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--midnight-metal);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-snippet {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: var(--emerald-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}

.news-link:hover {
    color: var(--midnight-metal);
}

/* ==== CTA SECTION (Reusable) ==== */
.cta-section {
    background: var(--midnight-metal);
    padding: 80px 40px;
    text-align: center;
}

.cta-section h2 {
    color: var(--pure-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--platinum-steel);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ==== RESPONSIVE ADDITIONS ==== */
@media (max-width: 768px) {
    .article-hero {
        padding: 80px 20px 40px;
        min-height: 300px;
    }
    .article-body {
        padding: 40px 20px;
    }
    .article-body h2 {
        font-size: 1.4rem;
    }
    .breadcrumb {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    .cta-section {
        padding: 60px 20px;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
    .info-section {
        padding: 50px 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
