/* ==========================================
   1. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ========================================== */
:root {
    --bg-dark: #0A0E1A;
    --primary-gradient: linear-gradient(90deg, #00B8DB 0%, #00BBA7 100%);
    --text-gradient-cyan: linear-gradient(90deg, #00D3F3 0%, #46ECD5 100%);
    --accent-cyan: #00D3F3;
    --text-main: #FFFFFF;
    --text-muted: #D1D5DC;
    --text-dim: #99A1AF;
    --nav-height: 90px;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   2. UTILITÁRIOS GERAIS
   ========================================== */
.text-gradient-cyan {
    background: var(--text-gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-dim { 
    color: var(--text-dim); 
}

/* ==========================================
   3. BOTÕES E BADGES
   ========================================== */
.badge-custom {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
    border-radius: 33px;
    color: var(--accent-cyan);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-ie-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-ie-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 184, 219, 0.3);
    color: white;
}

.btn-sm-nav { 
    padding: 10px 24px; 
}

.btn-ie-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
}

.btn-ie-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ==========================================
   4. NAVBAR
   ========================================== */
.ie-navbar {
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.ie-navbar .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.ie-navbar .nav-link:hover, 
.ie-navbar .nav-link.active {
    color: var(--accent-cyan);
}

.custom-toggler {
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.3);
}

.custom-toggler .navbar-toggler-icon {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(159deg) brightness(118%) contrast(119%);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    display: flex;
    min-height: 92vh; /* Garante boa presença em telas altas */
    padding-bottom: 3rem; /* Um respiro na parte inferior */
    align-items: center; 
    /*background: var(--bg-dark) url('../img/herobg.png') no-repeat center center;*/
    background-size: cover;
}

.hero-image-wrapper {
    position: relative;
    height: 10%;
    /* Se quiser que ele fique um pouco mais para a direita em telas grandes, descomente: */
    /* justify-content: flex-end !important; */
}

.hero-person-img {
    width: auto;
    height: auto;
    max-height: 70vh; 
    object-fit: contain;
    
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);

    /* --- NOVO: EFEITO DE FADE SUTIL NA BASE --- */
    /* A imagem começa 100% visível (black) e fica transparente nos últimos 15% */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, transparent 60%, var(--bg-dark) 100%),
        linear-gradient(75deg, rgba(10, 14, 26, 0.95) 20%, rgba(10, 14, 26, 0.3) 100%);
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 90%;
}

.dashboard-img {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botão de Play Central */
.play-indicator {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button {
    width: 64px; height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 184, 219, 0.4);
    transition: transform 0.3s;
}

.play-button:hover { 
    transform: scale(1.1); 
}

.play-button::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

/* Tags Flutuantes */
.floating-tag {
    position: absolute;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.85rem;
    color: var(--text-dim);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 5;
    text-align: left;
}

.floating-tag p {
    margin: 0;
}

.floating-tag span {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.tag-left { top: 50%; left: -30px; color: var(--accent-cyan); }
.tag-right { bottom: 20%; right: -25px; color: #00D5BE; }

.dnone { display: none; }

/* ==========================================
   7. SEÇÃO RAÍZES / SOBRE NÓS
   ========================================== */
.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.roots-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2; /* Garante que fique sobre o gradiente da hero */
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Lista Customizada (Checks) */
.custom-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.custom-check-list li strong {
    color: var(--text-main);
}

/* Espaço reservado para as Imagens do Carrossel */
.carousel-img-placeholder {
    width: 100%;
    height: 350px;
    background-color: #111827; /* Cor de fundo caso a imagem falhe */
    background-size: cover;
    background-position: center;
}

/* Caixa de Texto abaixo da Imagem */
.carousel-text-box {
    background: rgba(10, 14, 26, 0.95);
    padding: 30px;
    min-height: 140px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ícone de Check com fundo suave */
.check-icon {
    color: var(--accent-cyan);
    font-weight: 900;
    flex-shrink: 0;
    background: rgba(0, 211, 243, 0.1);
    border: 1px solid rgba(0, 211, 243, 0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-top: 2px;
}

.custom-control {
    width: 10%; /* Deixa a área de clique menor para não cobrir o texto */
    align-items: flex-start; /* Alinha as setas mais para cima (na imagem) */
    padding-top: 150px;
}

/* Bolinhas de Navegação */
.custom-indicators {
    bottom: -50px; /* Joga as bolinhas para fora do card */
}

.custom-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    transition: all 0.3s;
}

.custom-indicators button.active {
    background-color: var(--accent-cyan) !important;
    box-shadow: 0 0 10px var(--accent-cyan);
    width: 25px !important; /* Estica a bolinha ativa (estilo pílula) */
    border-radius: 10px;
}

/* Imagem com Fade-out Inferior e Borda de Vidro */
.border-glass {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.image-wrapper {
    position: relative;
    /* Transforma a parte inferior da imagem em transparente gradativamente */
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

/* ==========================================
   7. SEÇÃO ESCALA (Cards Centralizados)
   ========================================== */
.py-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Card Principal (Glassmorphism e Transição) */
.feature-card-center {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-center:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 184, 219, 0.3);
    transform: translateY(-8px); /* Card sobe levemente */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Caixa do Ícone */
.icon-box-gradient {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1), 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tamanho do Ícone SVG */
.icon-box-gradient svg {
    width: 28px;
    height: 28px;
}

/* Cores dos Ícones (Gradientes Premium) */
.grad-blue   { background: linear-gradient(135deg, #00B8DB 0%, #2B7FFF 100%); }
.grad-teal   { background: linear-gradient(135deg, #00BBA7 0%, #00B8DB 100%); }
.grad-indigo { background: linear-gradient(135deg, #2B7FFF 0%, #615FFF 100%); }
.grad-purple { background: linear-gradient(135deg, #615FFF 0%, #AD46FF 100%); }
.grad-pink   { background: linear-gradient(135deg, #AD46FF 0%, #F6339A 100%); }
.grad-orange { background: linear-gradient(135deg, #FF6467 0%, #FF8904 100%); }


/* ==========================================
   8. ECOSSISTEMA / INDÚSTRIA (Bento Grid)
   ========================================== */
.bg-darker {
    background-color: #070a13; 
}

/* Design dos Cards (Estilo Widget de Dashboard) */
.industry-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito de iluminação no topo de cada card */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
    background: var(--accent-cyan);
}

/* O card central (Custos) ganha um leve destaque extra se desejar */
.highlight-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(255, 100, 103, 0.2); /* Tom avermelhado/rosa sutil na borda */
}
.highlight-card::before {
    background: linear-gradient(90deg, #FF6467 0%, #FF8904 100%);
}

/* Ícones Menores e Elegantes para o formato horizontal */
.industry-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.industry-icon svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   9. SEÇÃO DE DORES (Problemas)
   ========================================== */

/* Cores de Alerta (Vermelho/Laranja) para contrastar com o sistema */
.text-gradient-danger {
    background: linear-gradient(90deg, #FF6467 0%, #FF3338 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.badge-custom-danger {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 100, 103, 0.1);
    border: 1px solid rgba(255, 100, 103, 0.3);
    border-radius: 33px;
    color: #FF6467;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Card das Dores (Mais discreto, sem brilho azul) */
.pain-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.pain-card:hover {
    background: rgba(255, 100, 103, 0.03); /* Leve tom avermelhado no hover */
    border-color: rgba(255, 100, 103, 0.2);
    transform: translateY(-3px);
}

/* Ícone das Dores em Tom de Alerta */
.pain-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6467; /* Cor vermelha/salmão */
    background: rgba(255, 100, 103, 0.1);
    flex-shrink: 0;
}

/* A Caixa de Faturamento (CTA Forte) */
.revenue-alert-box {
    background: radial-gradient(circle at 50% 0%, rgba(0, 184, 219, 0.1) 0%, rgba(10, 14, 26, 0.8) 70%);
    position: relative;
    overflow: hidden;
}

/* Linha de energia no topo da caixa de faturamento */
.revenue-alert-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

/* ==========================================
   10. SEÇÃO DE CETICISMO (Diferencial)
   ========================================== */

/* Card Principal */
.skepticism-card {
    background: #0d1222; /* Fundo um tom acima do bg-dark para destacar */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tamanho da Pergunta no Desktop/Mobile */
.skepticism-question {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
    color: #e5e7eb;
}

/* Gradiente da resposta principal ("As pessoas!") */
.text-gradient-indigo {
    background: linear-gradient(90deg, #2B7FFF 0%, #00D3F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
}

/* Linha divisória sutil */
.separator-line {
    width: 60px;
    height: 4px;
    background: rgba(0, 184, 219, 0.3);
    border-radius: 2px;
}

/* Brilho de fundo (Luz radial suave) */
.glow-bg-blue {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(43, 127, 255, 0.1) 0%, rgba(13, 18, 34, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Mini Ícones de reforço */
.icon-glass-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================
   11. SEÇÃO DE CLIENTES (Marquee Infinito Premium)
   ========================================== */

.bg-darker {
    background-color: #070a13; /* Fundo levemente mais escuro para destaque */
}

/* Container que esconde o transbordamento e cria o efeito de fade nas laterais */
.infinite-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 40px 0;
    /* Efeito de desvanecimento nas bordas para as logos surgirem do "escuro" */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* A trilha que carrega os grupos de logos */
.infinite-marquee-track {
    display: flex;
    width: max-content;
    /* 60s é um tempo confortável para 13 logos; ajuste se quiser mais rápido ou devagar */
    animation: scrollMarquee 60s linear infinite;
}

/* Pausa a animação ao passar o mouse para facilitar a visualização */
.infinite-marquee-track:hover {
    animation-play-state: paused;
}

/* O segredo do loop: Grupos idênticos com o mesmo espaçamento (gap) */
.marquee-group {
    display: flex;
    gap: 30px; 
    padding-right: 30px; /* Garante que o espaço entre o fim do grupo 1 e início do 2 seja igual */
}

/* O Card que envolve a logo (Estilo Glassmorphism) */
.marquee-item {
    width: 320px; 
    height: 180px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.marquee-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 184, 219, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* A Imagem da Logo com 120px de altura */
.marquee-item img {
    height: 120px; /* Altura fixa solicitada */
    width: auto;
    max-width: 270px; /* Proteção para logos muito largas não tocarem a borda */
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

/* Remove o P&B e aumenta a opacidade no hover */
.marquee-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* ==========================================
   12. SEÇÃO DE DEPOIMENTOS
   ========================================== */

/* Card Principal do Depoimento */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

/* Ícone de Aspas (Quotes) centralizado */
.quote-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 184, 219, 0.1);
    border: 1px solid rgba(0, 184, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustes finos nos indicadores (bolinhas) para não sobrepor o card */
#carouselTestimonials .custom-indicators {
    margin-bottom: -20px;
}

/* Classe para aplicar nas caixas de destaque */
.float-box {
    animation: float 4s ease-in-out infinite;
    /* Adicionamos uma transição suave para não haver quebras */
    transition: all 0.3s ease; 
}

/* Pequeno delay na segunda caixa para o movimento não ser sincronizado (mais natural) */
.float-box-delay {
    animation-delay: 2s;
}

/* Animação simples */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframe do movimento */
@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Definição do movimento de flutuação */
@keyframes float {
    0% {
        transform: translateY(0px);
        box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    }
    50% {
        transform: translateY(-10px); /* Sobe 10 pixels */
        box-shadow: 0 20px 30px 0px rgba(0,0,0,0.4); /* Sombra suaviza ao subir */
    }
    100% {
        transform: translateY(0px);
    }
}

/* ==========================================
   13. FORMULÁRIO DE DIAGNÓSTICO
   ========================================== */

/* Card de Vidro do Formulário */
.form-glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Campos de Input Premium */
.text-light-ie {
    color: var(--text-dim);
}

.ie-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.ie-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.ie-input:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 4px rgba(0, 211, 243, 0.15) !important;
    outline: none;
}

/* Customização dos Checkboxes */
.custom-checkbox .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 20px;
    height: 20px;
    margin-top: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.custom-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 211, 243, 0.2);
}

.custom-checkbox .form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    padding-left: 8px;
    color: var(--text-muted) !important;
}

/* ==========================================
   14. SEÇÃO BIG NUMBERS
   ========================================== */

/* Banner Principal */
.numbers-banner {
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid rgba(0, 184, 219, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Divisórias entre os números no Desktop */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Efeito de luz radial no centro do banner */
.glow-bg-cyan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 184, 219, 0.05) 0%, rgba(10, 14, 26, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Ícones dos números */
.number-icon {
    opacity: 0.8;
}

.display-3 {
    letter-spacing: -0.02em;
}

/* ==========================================
   15. FOOTER / RODAPÉ
   ========================================== */
.site-footer {
    background-color: var(--bg-dark); /* Fundo escuro do site */
}

/* Botão "Saiba Mais" (Versão outline azul do layout original) */
.btn-ie-outline-blue {
    border: 1px solid #2B7FFF;
    color: #2B7FFF;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ie-outline-blue:hover {
    background-color: #2B7FFF;
    color: white;
    box-shadow: 0 0 15px rgba(43, 127, 255, 0.4);
}

/* Redes Sociais */
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: white;
    transform: translateY(-3px);
}

/* Selos de Produtos (ie CUSTOM, ie DASH, etc) feitos em CSS */
.ie-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.ie-dark { background-color: #2b2b2b; } /* Fundo da sigla 'ie' */
.font-italic { font-style: italic; }

.bg-ie-custom { background-color: #4A6588; } /* Azul Escuro */
.bg-ie-dash   { background-color: #F63366; } /* Rosa/Vermelho */
.bg-ie-fish   { background-color: #00B8DB; } /* Ciano */
.bg-ie-iots   { background-color: #8CC63F; } /* Verde Claro */

/* Estilização do Modal Glassmorphism */
.modal-content.border-glass {
    background: rgba(13, 18, 34, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.modal-body .scale-75 {
    transform: scale(0.75);
}

.btn-link.text-cyan {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-link.text-cyan:hover {
    color: white;
    text-shadow: 0 0 10px var(--accent-cyan);
}

/* Garante que o fundo do modal não bloqueie o clique no botão de fechar */
.modal-backdrop {
    z-index: 1040 !important;
}
.modal {
    z-index: 1050 !important;
}

/* ==========================================
   16. PÁGINA DE SERVIÇOS
   ========================================== */

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 45px 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 184, 219, 0.3);
    transform: translateY(-10px);
}

/* Destaque central para Auditoria */
.highlight-service {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(97, 95, 255, 0.2);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.text-cyan {
    color: var(--accent-cyan);
    font-weight: bold;
}

/* ==========================================
   16. HERO SECTION DE SERVIÇOS
   ========================================== */

.hero-services-section {
    min-height: 85vh; /* Aumentamos um pouco para compensar o padding do menu */
    background: linear-gradient(rgba(7, 10, 19, 0.1), rgba(7, 10, 19, 0.95)), url('../img/herobg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* O preenchimento superior garante que o conteúdo não comece debaixo do menu */
    padding-top: var(--nav-height);
}

.hero-time-section {
    min-height: 85vh; /* Aumentamos um pouco para compensar o padding do menu */
    background: linear-gradient(rgba(7, 10, 19, 0.1), rgba(7, 10, 19, 0.95)), url('../img/heroTime.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* O preenchimento superior garante que o conteúdo não comece debaixo do menu */
    padding-top: var(--nav-height);
}

/* Container da seção para garantir separação visual */
.bg-team-section {
    background-color: #0a0e1a; /* Um tom levemente mais escuro que o resto */
    padding: 100px 0;
}

/* Card com efeito de profundidade */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03); /* Fundo sutil */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 211, 243, 0.4);
    transform: translateY(-10px);
}

/* Ajuste de cores para legibilidade máxima */
.testimonial-card h5 {
    color: #ffffff !important; /* Nome em branco puro */
    font-weight: 700;
}

.testimonial-card .text-cyan {
    color: #00d3f3 !important; /* Cargo em Ciano vibrante */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.testimonial-card .text-dim {
    color: rgba(255, 255, 255, 0.7) !important; /* Resumo em branco translúcido */
    line-height: 1.6;
}

/* Estilização da foto com borda brilhante */
.team-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #00d3f3 0%, #615fff 100%);
}

.team-img-clip {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #0a0e1a; /* Cria um respiro entre a foto e a borda colorida */
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Avatar com iniciais (fallback quando não há foto do colaborador) */
.team-img-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0e1a; /* Mesmo fundo do template */
    color: var(--accent-cyan); /* Mesma cor do .text-cyan */
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    user-select: none;
}

.team-img-wrapper img.profile-leonardo {
    /* talvez o tranform precise ser por imagem */
    /*transform: scale(2.5) translateY(-6px);
    transform-origin: top;*/
    object-view-box: inset(6% 25% 40% 25%);
}

.team-img-wrapper img.profile-tiago {
    /* talvez o tranform precise ser por imagem */
    /*transform: scale(2.5) translateY(-6px);
    transform-origin: top;*/
    object-view-box: inset(4% 20% 37% 10%);
}

.team-img-wrapper img.profile-andre {
    /* talvez o tranform precise ser por imagem */
    /*transform: scale(2.5) translateY(-6px);
    transform-origin: top;*/
    object-view-box: inset(10% 23% 25% 23%);
}

.team-img-wrapper img.profile-giovani {
    object-view-box: inset(6% 25% 40% 25%);
}

.team-img-wrapper img.profile-yuugo {
    object-view-box: inset(10% 30% 25% 25%);
}

.team-img-wrapper img.profile-beatriz {
    object-view-box: inset(10% 23% 25% 23%);
}

.team-img-wrapper img.profile-danilo {
    object-view-box: inset(5% 15% 55% 10%);
}

.team-img-wrapper img.profile-eduardo {
    object-view-box: inset(2% 31% 27% 24%);
}

/* O "Filtro" Escuro por cima da imagem */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 10, 19, 0.6) 0%, rgba(7, 10, 19, 0.95) 100%);
    z-index: 1;
}

.hero-services-section h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-time-section h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

/* Botão de link customizado para os depoimentos do time */
.btn-link-custom {
    background: none;
    border: none;
    color: #00d3f3; /* Ciano vibrante para máximo contraste */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.btn-link-custom:hover {
    color: #ffffff; /* Muda para branco no hover */
    text-shadow: 0 0 10px rgba(0, 211, 243, 0.5);
}

/* Linha decorativa que cresce no hover */
.btn-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00d3f3;
    transition: width 0.3s ease;
}

.btn-link-custom:hover::after {
    width: 100%;
}

.testimonial-card .text-dim {
    color: rgba(255, 255, 255, 0.8) !important; /* Branco 80% para leitura perfeita */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Estilo do Badge na Hero de Serviços */
.badge-custom-services {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 211, 243, 0.1);
    border: 1px solid rgba(0, 211, 243, 0.3);
    border-radius: 33px;
    color: var(--accent-cyan);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Tamanho do Título Principal (reaproveitando a classedisplay-3 do Bootstrap) */
#servicos-hero h1.display-3 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsividade automática */
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Botão de Contorno Cyan */
.btn-ie-outline-cyan {
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ie-outline-cyan:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 211, 243, 0.5);
    transform: translateY(-3px);
}

/* Botão de Ação nos Cards de Serviço */
.btn-service-action {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(0, 211, 243, 0.4);
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.btn-service-action:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(0, 211, 243, 0.3);
    transform: translateY(-3px);
}

/* Variação de cor para o card de Auditoria (Roxo) */
.btn-service-purple {
    border-color: rgba(97, 95, 255, 0.4);
    color: #615FFF;
}
.btn-service-purple:hover {
    background: #615FFF;
    border-color: #615FFF;
    box-shadow: 0 10px 20px rgba(97, 95, 255, 0.3);
}

/* Variação de cor para o card de Consultoria (Teal/Verde) */
.btn-service-teal {
    border-color: rgba(0, 187, 167, 0.4);
    color: #00BBA7;
}
.btn-service-teal:hover {
    background: #00BBA7;
    border-color: #00BBA7;
    box-shadow: 0 10px 20px rgba(0, 187, 167, 0.3);
}

/* Força os botões a ficarem alinhados na base mesmo com textos de tamanhos diferentes */
.service-card {
    display: flex;
    flex-direction: column;
}

.border-cyan {
    border: 2px solid var(--accent-cyan);
    padding: 3px;
}

.culture-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border-left: 3px solid var(--accent-cyan);
}

.glass-image-card {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Cor de texto com alto contraste para descrições em fundos escuros */
.text-light-ie {
    color: rgba(255, 255, 255, 0.85); /* Branco suave, muito mais legível que o antigo cinza */
    line-height: 1.6;
    font-size: 1.05rem;
}

.culture-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    border-radius: 20px;
    border-left: 4px solid var(--accent-cyan); /* O detalhe em ciano da imagem */
    height: 100%;
    transition: all 0.3s ease;
}

.culture-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

/* ==========================================
   17. AJUSTE DE FOTO DOS FUNDADORES (SÓLIDA)
   ========================================== */

/* Wrapper da foto para controle de espaço e centralização */
.founders-photo-full-wrapper {
    position: relative;
    width: 100%; /* Ocupa a largura total do container */
    max-width: 600px; /* Alinha com a largura máxima do texto acima */
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px; /* Removido o respiro inferior */
}

/* Estilo da imagem do casal (Limpa e Sólida) */
.founders-couple-solid-img {
    position: relative;
    z-index: 2;
    /* SEM FADE INFERIOR - CORTE SÓLIDO */
    object-fit: cover; /* Garante que a foto preencha o espaço sem distorcer */
    aspect-ratio: 16/9; /* Proporção horizontal ideal para alinhamento com o texto */
    
    /* Borda sutil para dar profundidade, combinando com os outros cards */
    border: 1px solid rgba(255, 255, 255, 0.05); 
    
    /* Reutiliza a classe rounded-4 do Bootstrap para consistência */
    border-radius: 20px !important; 
    
    /* Efeito de elevação sutil e suave */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    
    transition: all 0.4s ease;
}

/* Efeito Hover do Card (Acende a Borda e Sombra) */
.founders-couple-solid-img:hover {
    border-color: rgba(0, 211, 243, 0.3);
    box-shadow: 0 15px 40px rgba(0, 211, 243, 0.15);
    transform: translateY(-5px);
}

/* Container de Propósito */
.purpose-container {
    padding-right: 20px;
}

.accent-line-cyan {
    width: 60px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Card dos Fundadores com Glassmorphism sutil */
.founders-glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

/* Moldura da Foto */
.founders-frame {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founders-frame img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.founders-frame img.founders-img {
    object-position: center 20%;
}

.founders-frame img.antonio-img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
    object-position: center 40%;
}

/* Detalhe estético no canto da foto */
.frame-detail {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent-cyan);
    border-right: 2px solid var(--accent-cyan);
    border-radius: 0 10px 0 0;
}

/* Year Badge */
.year-badge {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    padding: 5px 15px;
    border: 1px solid rgba(0, 211, 243, 0.3);
    border-radius: 10px;
    background: rgba(0, 211, 243, 0.05);
}

/* Glow de Fundo */
.glow-bg-radial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 211, 243, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
/* ==========================================
   6. RESPONSIVIDADE (MOBILE)
   ========================================== */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto; /* Altura automática no celular */
        padding-top: 110px;
        padding-bottom: 60px;
        text-align: center; 
    }

    .hero-image-wrapper {
        margin-top: 40px; /* Espaço entre o texto e a imagem */
        height: auto; /* Altura automática */
    }

    .hero-person-img {
        max-height: 450px; /* Limita a altura no celular para não ocupar muito scroll */
        max-width: 90%; /* Garante que não vaze nas laterais em telas muito estreitas */
    }
    
    .hero-subtitle { 
        margin: 0 auto; 
    }
    
    .hero-section::before {
        background: 
            linear-gradient(to bottom, transparent 50%, var(--bg-dark) 100%),
            linear-gradient(0deg, rgba(10, 14, 26, 0.9) 0%, rgba(10, 14, 26, 0.5) 100%);
    }
    
    .d-flex.flex-wrap { 
        justify-content: center; 
    }
    
    .btn-ie-primary, .btn-ie-secondary { 
        width: 100%; 
        margin-bottom: 10px; 
    }
    
    .navbar-collapse {
        background: var(--bg-dark);
        padding: 15px;
        border-radius: 12px;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .py-100 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .image-wrapper img {
        height: 350px !important; /* Imagem menor no celular */
    }

    .logo-slider::before,
    .logo-slider::after {
        width: 60px; /* Máscara menor no mobile */
    }
    .logo-track {
        gap: 40px;
    }
    .client-logo img {
        height: 60px;
    }

    .marquee-item {
        width: 220px;
        height: 130px;
        border-radius: 16px;
    }
    .marquee-item img {
        height: 80px; /* Reduzimos a altura no celular para harmonia visual */
    }
    .marquee-group {
        gap: 20px;
        padding-right: 20px;
    }


    .testimonial-card p.fs-4 {
        font-size: 1.25rem !important; /* Diminui um pouco a fonte no celular */
    }

    .form-glass-card {
        padding: 24px;
    }

    .hero-services-section {
        min-height: 70vh;
        padding-top: calc(var(--nav-height) + 40px); /* Mais espaço no mobile */
        padding-bottom: 60px;
    }

    .hero-time-section {
        min-height: 70vh;
        padding-top: calc(var(--nav-height) + 40px); /* Mais espaço no mobile */
        padding-bottom: 60px;
    }

    .founders-couple-solid-img {
        max-width: 100%; /* Reduz no celular mantendo a proporção */
    }

    .carousel-img-placeholder { height: 250px; }
    .carousel-text-box { min-height: auto; padding: 20px; }
    .custom-control { padding-top: 100px; }
}

/* Estilo do Alerta Customizado (Toast) */
.ie-toast {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 10px;
    animation: slideInRight 0.4s ease forwards;
}

.ie-toast.success { border-left: 4px solid #00D3F3; }
.ie-toast.error { border-left: 4px solid #FF6467; }

.ie-toast-icon {
    font-size: 20px;
    margin-right: 12px;
}

.ie-toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animação de entrada */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Animação de saída (opcional para JS) */
.ie-toast.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(20px); }
}
