/* =====================================================================
   ESTÚDIO 3DR - Estilos Globais & Carrossel Hero (Corrigido)
   =================================================================== */

:root {
    --bg-deep: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #f1f5f9;
    --bg-card-hover: #e2e8f0;
    --border-color: #e2e8f0;
    
    --header-bg: #0c2340;      /* Azul-marinho corporativo clássico */
    --header-text: #ffffff;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --accent-gold: #d97706;
    --accent-teal: #0d9488;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Estivos do Carrossel Hero Full-Width */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 950px;
    overflow: hidden;
    background-color: var(--header-bg);
}

.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--header-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Camada de escurecimento suave para destacar o texto sem esconder a imagem */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.45), rgba(5, 11, 20, 0.6));
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 2rem;
    color: #ffffff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: var(--accent-gold);
    color: var(--header-bg);
}

.hero-arrow-prev { left: 25px; }
.hero-arrow-next { right: 25px; }

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 6px;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold), #b45309);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* =====================================================================
   SEÇÃO DESTAQUE AZUL ESCURO DIFERENCIADO (Novo Bloco)
   =================================================================== */
.secao-destaque-azul {
    background-color: #0f172a; /* Azul escuro diferenciado do cabeçalho/rodapé */
    color: #ffffff !important;
    padding: 80px 0;
}

.secao-destaque-azul h1,
.secao-destaque-azul h2,
.secao-destaque-azul h3,
.secao-destaque-azul h4,
.secao-destaque-azul h5,
.secao-destaque-azul h6 {
    color: #ffffff !important;
}

.secao-destaque-azul p,
.secao-destaque-azul span,
.secao-destaque-azul li {
    color: #cbd5e1 !important; /* Branco acinzentado/gelo para excelente legibilidade */
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.bento-card:hover {
    border-color: var(--accent-teal);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.1);
}

/* =====================================================================
   BLOCOS COM AZUL ESCURO DIFERENCIADO (Substitui o fundo branco)
   =================================================================== */
.bloco-azul-escuro {
    background-color: #0b1329 !important; /* Azul escuro tecnológico e diferenciado */
    color: #ffffff !important;
    padding: 80px 0;
}

/* Força todos os títulos dentro do bloco a ficarem brancos */
.bloco-azul-escuro h1,
.bloco-azul-escuro h2,
.bloco-azul-escuro h3,
.bloco-azul-escuro h4,
.bloco-azul-escuro h5,
.bloco-azul-escuro h6 {
    color: #ffffff !important;
}

/* Textos descritivos em branco acinzentado (gelo) para leitura confortável */
.bloco-azul-escuro p,
.bloco-azul-escuro span,
.bloco-azul-escuro li {
    color: #cbd5e1 !important;
}


/* =====================================================================
   HEADER & MENU DE NAVEGAÇÃO / RODAPÉ
   =================================================================== */
.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
    border: none !important;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Sublinhado dourado elegante para o link ativo no Cabeçalho */
.nav-menu a.active {
    color: #ffffff !important;
    font-weight: 600;
    border: none !important;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

/* Estilização dos links do Rodapé e indicador ativo */
.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

.footer-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsividade do Header / Menu Hambúrguer */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: #0b1329;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.35s ease-in-out;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    .nav-menu.active {
        right: 0;
    }
    .header-cta {
        display: none;
    }
}