/* Configurações Gerais */
body { font-family: 'Inter', sans-serif; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Header e Navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;           
    backdrop-filter: blur(10px);
    z-index: 100;
}

header.scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

/* Hero Section */
.hero-section-container {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/img/cidadeBG.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.15; 
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.content-relative { position: relative; z-index: 10; }

/* Cores e Utilitários SoluçãoTI */
.text-solucaoti-blue { color: #0066FF; }
.bg-solucaoti-dark { background-color: #0A1F44; }

/* Efeito Typewriter */
.typewriter-cursor::after {
    content: "|";
    animation: blink 1s infinite;
    color: #0066FF;
    margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Cards de Serviços */
.card-service-bg {
    position: relative;
    overflow: hidden;
    background-color: white;
}

.card-service-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.05; 
    z-index: 0;
    transition: opacity 0.3s ease;
}

.card-service-bg:hover::before { opacity: 0.10; }
.bg-dados::before { background-image: url('assets/img/dados.png'); }
.bg-mkt::before { background-image: url('assets/img/mktdigital.png'); }
.bg-infra::before { background-image: url('assets/img/infra.png'); }

.card-content { position: relative; z-index: 10; }
.link-saiba-mais:hover svg { transform: translate(2px, -2px); }
.link-saiba-mais svg { transition: transform 0.3s ease; }

/* Modais e Animações */
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-modal { animation: modalIn 0.3s ease-out; }

#modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px); 
    z-index: 998; 
}

#cadastro-sessao { 
    display: none;
    position: fixed; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 999; 
    width: 90%; 
    max-width: 600px;
}
/* Estado Inativo: Texto branco e contorno sutil translúcido */
.btn-assunto.inativo {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Cor do ícone quando o botão está inativo */
.btn-assunto.inativo i {
    color: #3b82f6; /* Azul brilhante para destacar o ícone */
}

/* Feedback rápido ao passar o rato (hover) */
.btn-assunto.inativo:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Estado Ativo: Botão preenchido com o azul de destaque */
.btn-assunto.ativo {
    background-color: #2563eb; /* bg-blue-600 */
    border-color: #3b82f6;     /* border-blue-500 */
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Quando ativo, o ícone também fica branco puro para contrastar com o fundo */
.btn-assunto.ativo i {
    color: #ffffff;
}

/* Ajuste fino opcional para o alinhamento do tamanho do ícone */
.btn-assunto i.size-icon {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Adicione estas linhas ao seu arquivo CSS */
#grupo-assuntos {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important; /* ISSO É O QUE PERMITE A QUEBRA */
    margin: 0 !important;
    padding: 0 !important;
}

.btn-assunto {
    /* Garante que o botão não sofra interferência de largura do pai */
    flex: 0 0 auto !important; 
    /* Força o botão a não quebrar o seu próprio texto, mas permite que ele desça de linha */
    white-space: nowrap !important;
    margin-bottom: 8px !important;
}