/* === HEADER COM MENU MOBILE INFERIOR === */
:root {
    --header-height: 80px;
    --header-height-mobile: 70px;
    --mobile-nav-height: 65px;
    --header-bg: rgba(255, 255, 255, 0.98);
    --header-bg-scrolled: rgba(255, 255, 255, 0.98);
    --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --header-shadow-scrolled: 0 4px 20px rgba(0, 0, 0, 0.08);
    --header-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mobile-nav-bg: rgba(255, 255, 255, 0.98);
    --mobile-nav-border: rgba(59, 130, 246, 0.1);
}

#silktide-cookie-icon {
    display: none !important;
}

/* Site Container */
.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #8b5cf6);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    z-index: 1000;
    transition: var(--header-transition);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover .logo-img {
    transform: scale(1.05);
}

/* Navigation - Desktop/Tablet */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.nav-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.nav-item {
    flex: 1;
    max-width: 110px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 12px;
    transition: var(--header-transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: #1e40af;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #1e40af;
}

.nav-link.active::before {
    opacity: 1;
}

.nav-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link:hover .nav-icon {
    transform: scale(1.15) translateY(-2px);
}

.nav-text {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    white-space: nowrap;
}

.nav-link--highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-link--highlight:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.nav-link--highlight::before {
    display: none;
}

/* Header Actions */
.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 2px solid transparent;
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    border-color: rgba(255, 255, 255, 0.2);
}

.header-cta:active {
    transform: translateY(0);
}

.cta-text {
    font-size: 0.9rem;
}

/* MENU MOBILE INFERIOR FIXO */
.mobile-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    border-top: 1px solid var(--mobile-nav-border);
    display: none;
}

.mobile-nav-bottom {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-bottom.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.25rem;
    gap: 0.25rem;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 0 0 2px 2px;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #1e40af;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    width: 40px;
}

.mobile-nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover .mobile-nav-icon,
.mobile-nav-link.active .mobile-nav-icon {
    transform: scale(1.15);
    color: #3b82f6;
}

.mobile-nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 0.25rem;
}

.mobile-nav-link--highlight {
    color: #1e40af;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.05), transparent);
}

.mobile-nav-link--highlight::before {
    width: 40px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-top: var(--header-height);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.6rem 0.4rem;
    }
    
    .nav-text {
        font-size: 0.75rem;
    }
    
    .header-cta {
        padding: 0.65rem 1rem;
    }
    
    .cta-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Esconder menu desktop em telas menores */
    .header-nav {
        display: none;
    }
    
    /* Mostrar menu mobile inferior */
    .mobile-nav-bottom {
        display: block;
    }
    
    .header-container {
        justify-content: space-between;
    }
    
    .site-header {
        height: var(--header-height-mobile);
    }
    
    
    .main-content {
        margin-top: var(--header-height-mobile);
        padding-bottom: var(--mobile-nav-height);
    }
    
    .header-cta {
        padding: 0.6rem 1rem;
        border-radius: 10px;
    }
    
    .cta-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .mobile-nav-bottom {
        height: 60px;
    }
    
    .mobile-nav-text {
        font-size: 0.7rem;
    }
    
    .mobile-nav-icon {
        font-size: 1rem;
    }
    
    .header-cta span:not(.cta-text) {
        display: none;
    }
    
    .header-cta {
        padding: 0.6rem;
    }
    
    .main-content {
        padding-bottom: 60px;
    }
}

.mobile-nav-bottom {
    padding-right: 60px; /* Espaço para o botão do Crisp */
}

/* Em telas muito pequenas, menu fica compacto */
@media (max-width: 360px) {
    .mobile-nav-bottom {
        padding-right: 50px;
    }
    .mobile-nav-text {
        display: none;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 360px) {
    .mobile-nav-text {
        display: none;
    }
    
    .mobile-nav-link {
        padding: 0.75rem 0;
    }
    
    .mobile-nav-icon {
        font-size: 1.2rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll suave para mobile */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .mobile-nav-link:hover {
        transform: none;
    }
}

/* Estilos para o botão Área do Cliente */
.header-btn-client {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    color: #1e3a8a;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 12px;
}

.header-btn-client:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.header-btn-client .fa-user-circle {
    font-size: 16px;
}

.btn-text {
    white-space: nowrap;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .header-btn-client {
        padding: 8px 12px;
        margin-right: 8px;
    }
    
}

/* header.css - Ajustes adicionais */

/* Ações do header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botão Área do Cliente */
.header-btn-client {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    color: #1e3a8a;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-btn-client:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.header-btn-client .fa-user-circle {
    font-size: 16px;
}

/* Botão Começar Agora */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* Highlight da página atual */
.nav-link.current-page {
    color: #1e3a8a;
    background: #f1f5f9;
    border-radius: 6px;
}

.nav-link.current-page .nav-icon {
    color: #1e3a8a;
}

/* ===== AJUSTE FINO PARA TELAS MUITO PEQUENAS ===== */
@media (max-width: 530px) {

    .header-actions {
        gap: 6px;
    }

    .header-btn-client,
    .header-cta {
        padding: 6px 10px;   /* estreita horizontal */
        font-size: 0.75rem;  /* reduz levemente o texto */
        border-radius: 8px;
    }

    .header-btn-client i,
    .header-cta i {
        font-size: 0.9rem;
    }

    .btn-text,
    .cta-text {
        white-space: nowrap; /* impede quebrar linha */
    }
    .header-cta .fa-play-circle {
    display: none;
}
}

