/* =================================================================
    RESET E VARIÁVEIS GLOBAIS
    Define as cores da SamisTech e limpa formatações padrão
    =================================================================
*/
:root {
    /* Cores extraídas do Logo */
    --primary-color: #00AEEF; /* Azul Ciano Vibrante */
    --secondary-color: #404041; /* Cinza Chumbo/Escuro */
    --accent-color: #f4f4f4;    /* Cinza Claro para fundos */
    --white: #ffffff;
    --text-color: #333333;
    
    /* Fontes e Tamanhos */
    --font-main: 'Montserrat', sans-serif;
    --max-width: 1100px; /* Largura máxima do conteúdo */
}

/* Adicione logo no início do arquivo, antes ou depois do :root */

html {
    /* Isso cria uma "margem de segurança" invisível no topo */
    /* Quando clicar no menu, o site vai parar 70px ANTES do conteúdo */
    scroll-padding-top: 70px; 
    
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth; /* Rolagem suave ao clicar no menu */
}

/* Utilitários */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.highlight {
    color: var(--primary-color);
}

/* =================================================================
    BOTÕES
    Estilos reutilizáveis para botões
    =================================================================
*/
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #008cbf; /* Um azul um pouco mais escuro */
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =================================================================
    HEADER & NAV
    =================================================================
*/
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px; /* Aumentei de 50 para 75px */
    width: auto;
    display: block; /* Garante que não pegue espaçamento estranho de texto */
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav ul li {
    margin-left: 20px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.btn-destaque {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    border-radius: 4px;
}

/* =================================================================
    HERO SECTION
    =================================================================
*/
.hero {
    margin-top: 70px; /* Espaço para o header fixo não cobrir */
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #eef2f3 100%);
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Para mobile */
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =================================================================
   CHECKLIST DE VANTAGENS (HERO)
   ================================================================= */
.hero-benefits {
    list-style: none; /* Remove as bolinhas padrão */
    margin-top: 35px; /* Distância dos botões */
}

.hero-benefits li {
    display: flex;
    align-items: center; /* Alinha o ícone com o texto */
    margin-bottom: 12px; /* Espaço entre os itens */
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Estilo do Vzinho Verde */
.hero-benefits .check {
    color: #25D366; /* Verde vibrante (Sucesso) */
    font-size: 1.2rem;
    margin-right: 12px; /* Espaço entre o V e o texto */
    font-weight: bold;
    
    /* Opcional: Um círculo verde clarinho em volta */
    background: rgba(37, 211, 102, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* =================================================================
    SEÇÕES GERAIS
    =================================================================
*/
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--accent-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Cards Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 4px solid var(--primary-color); /* Detalhe tech */
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* =================================================================
    CARD DE PREÇO (DESTAQUE)
    =================================================================
*/
.pricing-card {
    background: var(--white);
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid #eee;
}

.badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.price {
    margin: 20px 0;
    color: var(--secondary-color);
}

.price .value {
    font-size: 3.5rem;
    font-weight: 700;
}

.features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

/* =================================================================
    CONTATO & FORM
    =================================================================
*/
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-text, .contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.btn-full {
    width: 100%;
}

/* =================================================================
    FOOTER (RODAPÉ) - CORRIGIDO (SEM LINHA BRANCA)
    =================================================================
*/
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    
    /* CORREÇÃO DA LINHA BRANCA: */
    margin: 0;           /* Garante que não tenha margem externa */
    overflow: hidden;    /* Impede que qualquer conteúdo interno "vaze" para fora */
    width: 100%;         /* Garante largura total */
    position: relative;  /* Fixa o posicionamento */
}

/* Garante que os textos dentro do rodapé não tenham margem sobrando */
.footer p {
    margin-bottom: 5px; /* Pequeno espaço entre as linhas de texto */
    padding: 0;
}

/* Remove a margem do ÚLTIMO item para ele não empurrar o fundo */
.footer p:last-child {
    margin-bottom: 0;
}

.slogan-footer {
    font-size: 0.9rem;
    opacity: 0.7;
    /* margin-top removido e controlado pelo p acima para evitar bugs */
}

.slogan-footer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* =================================================================
    RESPONSIVO (CELULAR)
    =================================================================
*/
@media (max-width: 768px) {
    .nav {
        display: none; /* Em um site real, faríamos um menu hambúrguer aqui */
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 20px;
    }
}
/* =================================================================
   CARROSSEL PADRONIZADO (ATUALIZADO)
   ================================================================= */

/* Wrapper para posicionar os botões */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Atualize este bloco */
.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    
    /* MUDANÇA AQUI: Topo 40px, Direita 0, Baixo 40px, Esquerda 40px */
    padding: 40px 0 40px 40px; 
    
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    z-index: 1;
}

/* Esconder barra de rolagem */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* =================================================================
   SEÇÃO CARROSSEL / PORTFÓLIO (CORRIGIDO FINAL)
   ================================================================= */

/* Wrapper para posicionar os botões relativos a ele */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    /* Garante que o wrapper tenha altura para centralizar os botões */
    min-height: 520px; 
}

/* Container de rolagem (ATUALIZADO) */
.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    
    /* Topo: 40px | Direita: 0 (ZERO) | Baixo: 40px | Esquerda: 40px */
    /* Deixamos a direita zerada porque o elemento fantasma vai cuidar disso */
    padding: 20px 0 50px 10px; 
    
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    z-index: 1;
}

/* O "ELEMENTO FANTASMA" (A Solução Definitiva) */
/* Isso cria um bloco invisível no final da lista que obriga o scroll a ir até o fim */
.carousel-container::after {
    content: "";
    display: block;
    min-width: 40px; /* A largura do respiro final */
    height: 10px;    /* Altura qualquer, não importa */
    pointer-events: none; /* Garante que não atrapalhe cliques */
}

/* Esconder barra de rolagem (Chrome/Safari) */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* =================================================================
   BOTÕES DE NAVEGAÇÃO (AS SETAS LATERAIS)
   ================================================================= */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    width: 50px;  /* Um pouco maior para clicar fácil */
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra mais forte para destacar */
    cursor: pointer;
    z-index: 100; /* Z-INDEX ALTO: Garante que fique na frente de tudo */
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.15); /* Cresce mais ao passar o mouse */
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.4); /* Glow azul na sombra */
}

/* Adicione logo abaixo do bloco .nav-btn:hover no seu CSS */

.nav-btn.hidden {
    opacity: 0;
    pointer-events: none; /* Impede clicar quando estiver invisível */
    transform: translateY(-50%) scale(0.5); /* Efeito de encolher ao sumir */
}

/* Posicionamento fino */
.prev-btn { left: -37px; }
.next-btn { right: -47px; }

/* =================================================================
   O CARD DO PROJETO
   ================================================================= */
.project-card {
    min-width: 340px; 
    max-width: 340px;
    height: 520px; /* Altura fixa */
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Para o z-index funcionar direito */
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* IMAGEM */
.project-image {
    width: 100%;
    height: 230px;
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.08); /* Zoom mais suave */
}

/* ÁREA DE CONTEÚDO */
.project-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.project-info p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
    /* Limita o texto a 3 linhas */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden; 
}

/* =================================================================
   NOVO DESIGN DO BOTÃO "VER PROJETO"
   ================================================================= */
/* Note que removi a classe .btn-outline do HTML e estou estilizando direto aqui */
.project-info .btn-sm {
    margin-top: auto; /* Mantém o botão sempre no rodapé do card */
    padding: 14px 0;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    
    /* NOVO ESTILO: Fundo azul bem clarinho (transparente) */
    background-color: rgba(0, 174, 239, 0.08); 
    color: var(--primary-color);
    border: none; /* Sem borda */
    transition: all 0.3s ease;
}

.project-info .btn-sm:hover {
    /* Ao passar o mouse, fica sólido */
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3); /* Sombra azulada */
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .nav-btn { display: none; } /* Esconde setas no celular */
    .carousel-wrapper { min-height: auto; }
    .project-card {
        min-width: 300px;
        max-width: 300px;
    }
}
/* =================================================================
   CONTATO DARK (FULL WIDTH / RODAPÉ)
   ================================================================= */

/* =================================================================
   CONTATO DARK (Ajuste de Altura)
   ================================================================= */

.cta-section {
    width: 100%;
    
    /* ALTERE AQUI: De 100px para 160px (ou mais, se quiser maior) */
    padding: 390px 0; 
    
    text-align: center;
    color: var(--white);
    
    /* (Mantenha o resto das propriedades de background como estão...) */
    background: linear-gradient(rgba(12, 20, 35, 0.92), rgba(12, 20, 35, 0.92)), 
                url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    border-radius: 0; 
}

/* O conteúdo continua centralizado e limitado para leitura */
.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.text-highlight {
    color: var(--primary-color); 
}

.cta-content p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CONTAINER DOS BOTÕES */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ESTILO DOS BOTÕES (Mantido o design arredondado) */
.btn-whatsapp, .btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    min-width: 280px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.icon { font-size: 1.3rem; }

/* Cores WhatsApp */
.btn-whatsapp {
    background-color: #00a884;
    border: 2px solid #00a884;
}

.btn-whatsapp:hover {
    background-color: #008f70;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 168, 132, 0.4);
}

/* Cores Instagram (Outline Branco) */
.btn-instagram {
    background: transparent;
    border: 2px solid var(--white);
}

.btn-instagram:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .cta-content h2 { font-size: 2rem; }
    .btn-whatsapp, .btn-instagram { width: 100%; padding: 15px; }
}
/* =================================================================
   BOTÃO FLUTUANTE WHATSAPP (COM ANIMAÇÃO DE ONDAS)
   ================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde Oficial */
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    
    /* Importante para centralizar a onda */
    position: fixed; 
}

/* O CÍRCULO DA ONDA (Pseudo-elemento) */
/* Isso cria um círculo invisível atrás do botão */
.whatsapp-float::before {
    content: '';
    position: absolute;
    z-index: -1; /* Fica atrás do botão principal */
    width: 100%;
    height: 100%;
    background-color: #25D366; /* Mesma cor do botão */
    border-radius: 50%;
    opacity: 0.7;
    
    /* Aplica a animação criada abaixo */
    /* Nome | Duração | Repetição | Curva de velocidade */
    animation: pulse-ripple 1.5s infinite ease-out;
}

/* A ANIMAÇÃO EM SI (Keyframes) */
@keyframes pulse-ripple {
    0% {
        transform: scale(1); /* Começa do tamanho normal */
        opacity: 0.7;        /* Meio transparente */
    }
    100% {
        transform: scale(2.5); /* Cresce até 2.5x o tamanho */
        opacity: 0;            /* Fica totalmente transparente no final */
    }
}

/* =================================================================
   BOTÃO FLUTUANTE WHATSAPP (MAIOR E MAIS PARA A ESQUERDA)
   ================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    
    /* MUDANÇA AQUI: Afastado aprox. 2-3cm da borda direita */
    right: 100px; 
    
    /* MUDANÇA AQUI: Botão bem maior */
    width: 72px;
    height: 72px;
    
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* O CÍRCULO DA ONDA (Ajustado para o novo tamanho) */
.whatsapp-float::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    opacity: 0.7;
    animation: pulse-ripple 1.5s infinite ease-out;
}

@keyframes pulse-ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2.0); /* Reduzi um pouco a explosão para não ocupar a tela toda */
        opacity: 0;
    }
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.whatsapp-float:hover::before {
    animation: none;
}

/* Ícone dentro do botão (Também aumentei) */
.whatsapp-float svg {
    width: 40px;
    height: 40px;
    fill: white;
}

/* RESPONSIVO (No celular, mantemos um pouco menor para não tapar o conteúdo) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px; /* No celular, volta para o canto para não atrapalhar a leitura */
    }
    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
.setup-fee {
    background-color: #f0f8ff; /* Azul bem clarinho */
    color: var(--secondary-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px dashed var(--primary-color);
}
