/* Importando as variações de peso da Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Redução do efeito vermelho/vinho conforme solicitado */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente mais suave e menos saturado para não esconder a imagem */
    background: linear-gradient(
        to bottom,
        rgba(25, 10, 10, 0.75) 0%,
        rgba(10, 5, 5, 0.90) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 20px;
}

.logo-container {
    position: absolute;
    top: 30px; /* Distância do topo da tela */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Mantém a logo no centro. Para ir para a esquerda, use 'flex-start' */
    align-items: center;
    padding: 0 5%; /* Dá uma margem caso você mude para a esquerda */
    z-index: 10; /* Garante que fique acima da imagem e overlay */
}

.main-logo {
    max-width: 160px; /* Reduzi levemente para o topo, ajuste conforme o formato da sua logo */
    height: auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
}

/* Ajuste no brand-header para não ficar colado na logo */
.brand-header {
    margin-top: 10px;
    color: #b34a5d; 
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Título principal: Ajustado para ser levemente mais fino e menor */
.hero-title {
    color: #ffffff;
    font-size: clamp(28px, 4.5vw, 52px); /* Diminuído para bater com o print */
    font-weight: 800; /* Ajustado de 900 para 800 (mais fino) */
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase; /* Forçando caixa alta do segundo print */
}

/* Subtítulo mais fino e discreto */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.6); /* Mais transparente */
    font-size: 15px; /* Menor */
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 35px;
    font-weight: 400;
}

/* Botão com o ícone de contorno (Lucide) */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #24d366;
    color: #fff;
    padding: 16px 32px; /* Reduzido o padding */
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px; /* Fonte menor no botão */
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Ícone de contorno idêntico ao "message-circle" do print */
.btn-whatsapp i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px; /* Deixa o traço do ícone mais visível */
}

/* Botão flutuante minimalista */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #24d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.float-wa img {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
}



/* SEÇÃO DE DOR - COM ALERTAS NO BACKGROUND */
.section-pain {
    position: relative; /* Necessário para os alertas absolutos */
    background-color: #0d0d0d; /* Fundo ligeiramente mais escuro para destacar o brilho */
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; /* Garante que o desfoque não crie barra de rolagem */
}

/* Alerta Desfocado 1 (Esquerda) */
.section-pain::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(163, 59, 78, 0.20) 0%, transparent 70%);
    filter: blur(60px);
    top: -100px;
    left: -100px;
    z-index: 1;
    pointer-events: none;
}

/* Alerta Desfocado 2 (Direita) */
.section-pain::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(163, 59, 78, 0.20) 0%, transparent 70%);
    filter: blur(80px);
    bottom: -150px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

.container-small {
    position: relative;
    z-index: 2; /* Garante que o texto fique acima dos brilhos */
    max-width: 800px;
    margin: 0 auto;
}

.pain-title {
    color: #a33b4e; /* Tom vinho/alerta */
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    /* Leve brilho externo no texto para simular reflexo do alerta */
    text-shadow: 0 0 15px rgba(163, 59, 78, 0.3);
}

.pain-description p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
}

.pain-description p.highlight {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .section-pain {
        padding: 70px 20px;
    }
    /* Reduz os alertas no mobile para não poluir a tela pequena */
    .section-pain::before, .section-pain::after {
        width: 200px;
        height: 200px;
    }
}

/* SEÇÃO SOLUÇÃO - IMAGEM DE FUNDO FIXA */
.section-solution {
    position: relative;
    padding: 100px 0;
    /* Fundo preto de segurança caso a imagem demore a carregar */
    background-color: #0a0a0a; 
    
    /* Imagem fixa: o segredo está no background-attachment: fixed */
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95)), url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* A imagem fica 'travada' na tela */
    
    color: #fff;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-group {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: block;
    color: #a33b4e; 
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.solution-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 800px;
    margin: 0 auto;
}

/* GRID DOS CARDS */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.solution-card {
    /* Fundo escuro sólido para garantir leitura sobre a imagem fixa */
    background: #121212; 
    padding: 40px 30px;
    border-radius: 4px;
    border-left: 4px solid #a33b4e;
    transition: transform 0.3s ease, background 0.3s ease;
}

.solution-card:hover {
    background: #1a1a1a;
    transform: translateY(-5px);
}

.solution-card i {
    color: #a33b4e;
    width: 32px;
    height: 32px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ÁREA DO BOTÃO */
.solution-cta {
    text-align: center;
}

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #24d366;
    color: #fff;
    padding: 18px 40px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 0.3s ease;
}

.btn-whatsapp-premium:hover {
    filter: brightness(1.1);
}

.cta-note {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* IMPORTANTE: Dispositivos móveis muitas vezes não suportam background-attachment: fixed */
@media (max-width: 1024px) {
    .section-solution {
        background-attachment: scroll; /* Volta ao normal em celulares para evitar bugs de zoom */
    }
}


/* =========================================
   CSS DA SEÇÃO AUTORIDADE COM ANIMAÇÕES
========================================= */

/* Definição das Animações (Keyframes) */

/* Animação 1: Pulso da Estrela Amarela */
@keyframes star-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }
    50% {
        transform: scale(1.15); /* Aumenta 15% */
        /* Aumenta o brilho e a intensidade da sombra */
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
    }
}

/* Animação 2: Onda de Luz (Respiração Lenta) */
@keyframes light-wave-flow {
    0%, 100% {
        opacity: 0.4;
        /* Mantém centralizado e escala normal */
        transform: translateX(-50%) scaleY(1);
    }
    50% {
        opacity: 0.7; /* Fica mais forte */
        /* Estica verticalmente para parecer que a onda cresceu */
        transform: translateX(-50%) scaleY(1.3);
    }
}

/* --- Estilos da Seção --- */

.section-authority {
    position: relative;
    background-color: #0d0d0d;
    padding: 120px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 1;
}

/* RAIO DE LUZ VERMELHO - TOPO (ANIMADO) */
.section-authority::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    /* O transform inicial agora é controlado pela animação */
    width: 120%;
    height: 250px;
    background: radial-gradient(ellipse at center top, rgba(163, 59, 78, 0.6) 0%, transparent 75%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
    
    /* Aplicação da Animação de Onda (Lenta: 8s) */
    animation: light-wave-flow 8s ease-in-out infinite;
}

/* RAIO DE LUZ VERMELHO - BASE (ANIMADO) */
.section-authority::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: 50%;
    width: 120%;
    height: 250px;
    background: radial-gradient(ellipse at center bottom, rgba(163, 59, 78, 0.6) 0%, transparent 75%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;

    /* Aplicação da Animação de Onda (Lenta: 8s) */
    /* Adicionamos um delay de 4s para que não pulse junto com o topo, criando um fluxo alternado */
    animation: light-wave-flow 8s ease-in-out infinite 4s;
}

.container-small {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.authority-header {
    margin-bottom: 30px;
}

/* Ícone de Estrela AMARELO (ANIMADO) */
.star-icon {
    color: #FFD700;
    fill: #FFD700;
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    /* O filtro inicial agora é controlado pela animação */
    
    /* Aplicação da Animação de Pulso (Mais rápida: 2s) */
    animation: star-pulse 2s infinite ease-in-out;
}

.authority-title {
    color: #ffffff;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.authority-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 19px;
    line-height: 1.6;
    font-weight: 400;
}

.authority-text span {
    color: #ffffff;
    font-weight: 700;
}


/* =========================================
   SEÇÃO DE SERVIÇOS - ALTA CONVERSÃO
========================================= */

.section-services {
    background-color: #0d0d0d;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03); /* Linha divisória bem sutil */
}

.container-services {
    max-width: 1000px;
    margin: 0 auto;
}

.services-title {
    color: #ffffff;
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 60px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Flexbox para criar o layout idêntico ao seu print, mas perfeitamente responsivo */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
}

/* O Segredo da Conversão: Cards Interativos */
.service-card {
    background-color: #141414; /* Pouca coisa mais claro que o fundo */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px; /* Canto levemente arredondado para modernidade */
    padding: 40px 20px;
    width: calc(33.333% - 20px); /* 3 cards por linha no Desktop */
    min-width: 250px; /* Impede que fiquem esmagados */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

/* Efeito Hover (Mouse em cima) - Dá vida à página */
.service-card:hover {
    background-color: #1a1a1a;
    border-color: #a33b4e; /* Acende a borda no tom vinho */
    transform: translateY(-8px); /* Card "levita" */
    box-shadow: 0 15px 30px rgba(163, 59, 78, 0.15); /* Brilho vinho no fundo */
}

/* Ícones finos e modernos */
.service-icon {
    color: #a33b4e;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    stroke-width: 1.5px; /* Traço fino elegante */
}

/* Pulso no ícone durante o hover */
.service-card:hover .service-icon {
    transform: scale(1.15);
}

.service-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =========================================
   ÁREA DO CTA (Gatilho para fechar venda)
========================================= */

.services-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.services-hook {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #24d366;
    color: #fff;
    padding: 22px 55px; /* Botão grande e imponente */
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(36, 211, 102, 0.25);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(36, 211, 102, 0.4);
    filter: brightness(1.1);
}

.btn-whatsapp-large i {
    width: 22px;
    height: 22px;
}

/* Responsividade Mobile */
@media (max-width: 860px) {
    .service-card {
        width: calc(50% - 20px); /* 2 cards por linha em tablets */
    }
}

@media (max-width: 560px) {
    .section-services {
        padding: 70px 20px;
    }
    .service-card {
        width: 100%; /* 1 card por linha no celular */
    }
    .btn-whatsapp-large {
        width: 100%;
        justify-content: center;
        padding: 20px 10px;
        font-size: 14px;
    }
}


/* =========================================
   SEÇÃO DE CTA FINAL (BACKGROUND INDUSTRIAL)
========================================= */

.section-cta-final {
    position: relative; /* Necessário para o background desfocado */
    /* Fundo cinza escuro industrial */
    background: linear-gradient(135deg, #1a1a1a 0%, #222222 100%);
    padding: 100px 20px;
    text-align: center;
    border-top: 3px solid #a33b4e; /* Mantém a borda vinho para conectar */
    overflow: hidden; /* Garante que o desfoque não vaze */
    z-index: 1;
}

/* O TRUQUE DOS ÍCONES DESFOCADOS NO FUNDO */
.section-cta-final::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* SVGs de Alerta e Ferramenta codificados em vermelho (#a33b4e) */
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a33b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a33b4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.7-3.7a1 1 0 0 0 0-1.4l-1.6-1.6a1 1 0 0 0-1.4 0l-3.7 3.7Z'/%3E%3Cpath d='M10.3 10.7a6 6 0 1 0-8.5 8.5l3.8-3.8'/%3E%3Cpath d='M15 10l-1 1'/%3E%3Cpath d='M12 13l-1 1'/%3E%3Cpath d='M9 16l-1 1'/%3E%3C/svg%3E");
    /* Espalha os ícones em posições aleatórias */
    background-position: 10% 20%, 90% 80%, 20% 80%, 80% 10%;
    background-repeat: no-repeat;
    /* Tamanhos variados para dar profundidade */
    background-size: 150px, 180px, 120px, 200px;
    /* O Desfoque e a transparência mágica */
    filter: blur(8px);
    opacity: 0.15; /* Bem sutil para não atrapalhar a leitura */
    z-index: -1; /* Fica atrás do texto */
    pointer-events: none;
}

.container-cta {
    position: relative;
    z-index: 2; /* Garante que o texto fique sobre o fundo desfocado */
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    color: #ffffff;
    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

/* Efeito de Pulso no Botão (Mantido) */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(36, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(36, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(36, 211, 102, 0); }
}

.pulse-btn {
    animation: pulse-green 2s infinite;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 19px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-phone:hover {
    color: #a33b4e; /* Muda para vermelho no hover para combinar com o fundo */
}

.cta-phone i {
    width: 20px;
    height: 20px;
    color: #a33b4e; /* Ícone do telefone em vermelho */
}

/* =========================================
   RODAPÉ (FOOTER) - MANTIDO
========================================= */

.site-footer {
    background-color: #050505;
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-faith {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-brand {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: 400;
}

.footer-dev {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.footer-dev p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 500;
}

.dev-link {
    color: #a33b4e;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dev-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(163, 59, 78, 0.9);
}

@media (max-width: 768px) {
    .section-cta-final {
        padding: 80px 20px;
    }
    /* Ajusta o tamanho dos ícones de fundo no mobile para não poluir */
    .section-cta-final::before {
        background-size: 100px, 120px, 80px, 140px;
        opacity: 0.1;
    }
}