/* --- Variáveis Tech Solar --- */
:root {
    --color-primary: #00b894; /* Verde Moderno (Mint) */
    --color-dark: #2d3436;    /* Cinza Chumbo */
    --color-blue: #0984e3;    /* Azul Tech */
    --color-warning: #fdcb6e; /* Amarelo Sol */
    --font-main: 'Inter', sans-serif;
    --font-tech: 'Sora', sans-serif; /* Fonte quadrada para números e títulos */
}

body { font-family: var(--font-main); color: var(--color-dark); }

.font-tech { font-family: var(--font-tech); }
.text-success { color: var(--color-primary) !important; }
.text-success-light { color: #55efc4; } /* Verde neon suave */
.bg-success { background-color: var(--color-primary) !important; }

/* --- Navbar --- */
.fs-xs { font-size: 0.8rem; letter-spacing: 1px; }
.btn-glow {
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.4);
    transition: all 0.3s ease;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.6);
}

/* --- Hero Section --- */
.hero-bg {
    background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    min-height: 100vh; /* Tela cheia */
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(9, 32, 63, 0.95) 0%, rgba(83, 120, 149, 0.8) 100%); /* Azul Profundo gradiente */
    z-index: 1;
}

.z-index-2 { position: relative; z-index: 2; }

/* Card Flutuante */
.card { border-radius: 12px; }
.form-control, .form-select, .input-group-text {
    border: 1px solid #dfe6e9;
    padding: 12px;
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 184, 148, 0.25);
}

/* Divisor Curvo (Wave SVG) */
.custom-shape-divider-bottom-1680000000 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.custom-shape-divider-bottom-1680000000 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.custom-shape-divider-bottom-1680000000 .shape-fill {
    fill: #FFFFFF;
}

/* Animações Simples */
.animate-up {
    animation: fadeInUp 0.8s forwards;
    opacity: 0; transform: translateY(30px);
}
.animate-left {
    animation: fadeInLeft 0.8s forwards;
    opacity: 0; transform: translateX(-30px);
}
.delay-1 { animation-delay: 0.3s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { to { opacity: 1; transform: translateX(0); } }

/* --- Calculadora Solar --- */
.bg-light-gray { background-color: #f8f9fa; }
.border-top-success { border-top: 5px solid var(--color-primary); }
.bg-success-subtle { background-color: rgba(0, 184, 148, 0.1); } /* Verde bem clarinho */
.w-max-content { width: max-content; }

/* Ícone de Fundo Gigante */
.bg-decoration-icon {
    position: absolute;
    top: -50px; left: -50px;
    font-size: 20rem;
    color: rgba(0,0,0,0.03);
    z-index: 1;
    transform: rotate(-20deg);
}

/* Custom Range Slider (Estilo Moderno) */
.custom-range {
    height: 10px;
    border-radius: 5px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none; /* Necessário para customizar no Chrome/Safari */
}

/* O "Polegar" do Slider (A bolinha que arrasta) */
.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(0, 184, 148, 0.2); /* Efeito de brilho em volta */
    transition: background .15s ease-in-out;
}

.custom-range::-webkit-slider-thumb:hover {
    background-color: #008c72; /* Verde mais escuro no hover */
}

/* Responsividade da Borda */
@media (max-width: 991px) {
    .border-end-lg { border-right: none !important; border-bottom: 1px solid #dee2e6; padding-bottom: 2rem; margin-bottom: 2rem; }
    .w-max-content { width: 100%; justify-content: center; }
}

/* Animação Hover no Botão */
.shadow-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Seção: Como Funciona (Timeline) --- */
.icon-box-lg {
    width: 80px; height: 80px;
    transition: all 0.3s ease;
}

.process-step:hover .icon-box-lg {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    transform: translateY(-5px);
}

/* Linha pontilhada conectando os passos (Desktop Only) */
@media (min-width: 992px) {
    .process-timeline::before {
        content: '';
        position: absolute;
        top: 40px; /* Alinhado com o centro dos ícones */
        left: 50px;
        right: 50px;
        height: 2px;
        border-top: 2px dashed #dee2e6;
        z-index: 0;
    }
    .process-step { position: relative; z-index: 1; } /* Ícone fica por cima da linha */
}

/* --- Seção: Projetos Cards --- */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.project-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.x-small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; }

/* --- FAQ Accordion --- */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 184, 148, 0.1);
    color: var(--color-primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 184, 148, 0.25);
    border-color: var(--color-primary);
}

/* --- Footer Tech Links --- */
.footer-links-tech a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links-tech a:hover {
    color: var(--color-primary);
    padding-left: 5px; /* Efeito de deslizar */
}

/* --- Botão WhatsApp Flutuante (Correção) --- */
.whatsapp-float {
    position: fixed; /* Isso faz ele flutuar */
    width: 60px;
    height: 60px;
    bottom: 30px; /* Distância do fundo */
    right: 30px;  /* Distância da direita */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000; /* Garante que fique acima de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #fff;
    transform: scale(1.1); /* Aumenta levemente */
}

/* Animação de Pulso (Chama a atenção) */
.pulse-ring {
    border: 3px solid #25d366;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation: pulsate 2s infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes pulsate {
    0% { transform: scale(1, 1); opacity: 1; }
    100% { transform: scale(1.5, 1.5); opacity: 0; }
}

/* Ajuste para Celular (Não atrapalhar conteúdo) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-bg { text-align: center; height: auto; padding-top: 40px; }
    .hero-bg p { width: 100% !important; }
    .numbers-row { justify-content: center; margin-bottom: 40px; }
    .card { margin-top: 20px; }
}