/* =================================================================
   EVARISTO SOLUTIONS - ESTILO FINAL
   ================================================================= */

/* --- 1. CONFIGURAÇÕES GERAIS --- */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

/* Correção do Scroll (Para o menu fixo não tapar o título das seções) */
section[id] {
    scroll-margin-top: 100px;
}

/* --- 2. CORES CUSTOMIZADAS (Estilo Tailwind Sky-600) --- */
.fw-extrabold { font-weight: 800; }

/* Texto Azul Principal */
.text-primary { color: #0ea5e9 !important; }

/* Fundos e Bordas Azul Principal */
.bg-primary { background-color: #0ea5e9 !important; }
.border-primary { border-color: #0ea5e9 !important; }

/* Botão Azul Padrão */
.btn-primary {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #0284c7; /* Azul mais escuro (Sky-700) */
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Fundo Azul Suave (Badges e Detalhes) */
.bg-primary-soft { background-color: #f0f9ff; }

/* Botão WhatsApp (Verde Oficial) */
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    transition: all 0.3s ease;
}
.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Header Cinza Claro */
.bg-custom-gray { background-color: #d4d4d4; }


/* --- 3. NAVBAR E MENU --- */

/* Transição suave nos links */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

/* Efeito Hover (Azul + Leve subida) */
.navbar-nav .nav-link:hover {
    color: #0ea5e9 !important;
    transform: translateY(-2px);
}

/* Linha azul animada embaixo do link */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #0ea5e9;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after {
    width: 80%; /* Cresce até 80% da largura */
}


/* --- 4. ANIMAÇÃO DO BOTÃO WHATSAPP (NO SCROLL) --- */
.whatsapp-text {
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

/* Estado "Encolhido" (Adicionado via JS quando rola a tela) */
.header-scrolled .whatsapp-text {
    font-size: 0;
    opacity: 0;
    width: 0;
    margin: 0;
}

.header-scrolled .btn-success {
    border-radius: 50%;     /* Vira uma bolinha */
    padding: 0.5rem !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-scrolled .btn-success i {
    margin: 0 !important;
    font-size: 1.2rem;
}


/* --- 5. COMPONENTES: CARDS E ACCORDION --- */

/* Card Lift (Efeito de elevação ao passar o mouse) */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

/* Accordion (FAQ) - Cores personalizadas quando aberto */
.accordion-button:not(.collapsed) {
    background-color: #f0f9ff;
    color: #0c4a6e;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.25);
    border-color: #86b7fe;
}


/* --- 6. CLASSES UTILITÁRIAS (USADAS NO HTML NOVO) --- */

/* Link "Stretched" (Faz o card inteiro ser clicável, mas mantém outros links funcionando se tiver z-index maior) */
.stretched-link::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    content: "";
}

/* Espaçamento de letras (Letter Spacing) */
.ls-1 { letter-spacing: 1px; }

/* Transição Genérica */
.transition-all { transition: all 0.3s ease; }

/* Opacidade personalizada */
.opacity-10 { opacity: 0.1; }

/* Borda Verde no Hover (Usado no botão grande do WhatsApp na seção contato) */
.hover-border-success:hover {
    border-color: #198754 !important; /* Verde Bootstrap */
    background-color: rgba(25, 135, 84, 0.05) !important; /* Fundo verde bem clarinho */
    cursor: pointer;
}