/* Variáveis de Cores */
:root {
    --primary-color: #007bff; /* Azul vibrante */
    --secondary-color: #6c757d; /* Cinza para detalhes */
    --dark-color: #343a40; /* Preto para textos principais */
    --light-color: #f8f9fa; /* Branco suave para fundos */
    --white: #ffffff;
    --text-dark: #212529;
    --footer-bg-color: #1B4182; /* Nova cor para o rodapé */
}

/* Reset básico e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3; /* Tom mais escuro do azul */
}

ul {
    list-style: none;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease, box-shadow 0.3s ease; /* Adicionado box-shadow na transição */
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: var(--white); /* Garante que o texto permaneça branco no hover */
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 50px; /* Ajuste conforme o tamanho do seu logo */
}

.header .nav ul {
    display: flex;
}

.header .nav ul li {
    margin-left: 30px;
}

.header .nav ul li a {
    font-weight: 500;
    color: var(--dark-color);
    padding: 5px 0;
    position: relative;
}

.header .nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.header .nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* Hero Section com Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 70vh; /* Aumenta a altura para o slider */
    padding: 0; /* Remove padding padrão */
    display: flex; /* Para centralizar o conteúdo do slide */
    align-items: center; /* Para centralizar o conteúdo do slide */
    justify-content: center; /* Para centralizar o conteúdo do slide */
}

.slider-wrapper {
    display: flex;
    width: 300%; /* 100% * número de slides */
    height: 100%;
    transition: transform 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    width: 100vw; /* Cada slide ocupa a largura total da viewport */
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.slide::before { /* Overlay escuro para melhorar a leitura do texto */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.slide .container {
    position: relative; /* Para garantir que o conteúdo fique acima do overlay */
    z-index: 10;
}

/* Backgrounds dos slides (substitua pelas suas imagens) */
.slide-1 { background-image: url('hero-bg-1.jpg'); }
.slide-2 { background-image: url('hero-bg-2.jpg'); }
.slide-3 { background-image: url('hero-bg-3.jpg'); }


.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}


.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Seções Gerais */
section {
    padding: 80px 0;
}

section:nth-child(odd) { /* Ajustado para ímpar, pois hero é o primeiro */
    background-color: var(--light-color);
}
section:nth-child(even) {
    background-color: var(--white);
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servico-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-10px);
}

.servico-item .icon-servico {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.servico-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}




/* Missão, Visão e Valores */
.missao-valores {
    background-color: var(--light-color); /* Ou outra cor que harmonize */
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.mvv-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mvv-item:hover {
    transform: translateY(-10px);
}

.mvv-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mvv-item .icon-mvv {
    font-size: 2rem;
    color: var(--primary-color);
}

.mvv-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0; /* Remove default paragraph margin */
}

.mvv-item ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin-top: 15px;
    text-align: left;
    width: 100%;
}

.mvv-item ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.mvv-item ul li strong {
    color: var(--dark-color);
}



/* Parceiros */
.parceiros {
    text-align: center;
}

.parceiros-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.parceiros-logos img {
    max-height: 80px;
    max-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.parceiros-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.parceiros-cta {
    margin-top: 30px;
    font-size: 1.1rem;
}

/* Hospedagem de Sites (Simplificado) */
.hospedagem {
    background-color: var(--footer-bg-color); /* Fundo com a mesma cor do rodapé */
    color: var(--black); /* Texto branco */
    padding: 60px 0; /* Ajuste o padding conforme necessário */
}

.hospedagem .container {
    text-align: center;
}

.hospedagem h2 {
    color: var(--black); /* Título em branco */
    margin-bottom: 20px;
}

.hospedagem h2::after { /* Remover ou ajustar a linha abaixo do título se não for mais necessária */
    background: var(--black); /* Linha branca no hover */
}


.hospedagem-call-to-action {
    display: flex;
    flex-direction: row; /* Layout horizontal */
    align-items: center;
    justify-content: space-between; /* Espaço entre texto e botão */
    max-width: 900px; /* Largura máxima para o conteúdo centralizado */
    margin: 0 auto; /* Centraliza o conteúdo */
    flex-wrap: wrap; /* Permite quebrar linha em telas menores */
    gap: 30px; /* Espaçamento entre os itens quando quebrarem linha */
}

.hospedagem-text {
    flex: 1; /* Permite que o texto ocupe o espaço disponível */
    text-align: left; /* Alinha o texto à esquerda */
    min-width: 280px; /* Garante que o texto não fique muito espremido */
}

.hospedagem-text h2 {
    font-size: 2.2rem; /* Tamanho do título da seção */
    margin-bottom: 10px;
    text-align: left; /* Alinha o título à esquerda */
}

.hospedagem-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0; /* Remove margem inferior para o parágrafo */
    text-align: left; /* Alinha o parágrafo à esquerda */
}

.hospedagem .btn-primary {
    flex-shrink: 0; /* Impede que o botão encolha */
    padding: 15px 35px; /* Aumenta o padding do botão */
    font-size: 1.1rem; /* Aumenta a fonte do botão */
    background-color: var(--white); /* Botão branco */
    color: var(--primary-color); /* Texto do botão na cor primária */
    border: none; /* Remove a borda para um look mais limpo */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Sombra para destacá-lo */
}

.hospedagem .btn-primary:hover {
    background-color: var(--primary-color); /* Fundo primário no hover */
    color: var(--white); /* Texto branco no hover */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Sombra ligeiramente menor no hover */
    transform: translateY(-2px); /* Mantém o efeito de elevação */
}

/* Criação de Sites */
.criacao-sites .content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.criacao-sites .text-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
}

.criacao-sites .text-content ul li {
    margin-bottom: 10px;
}

.criacao-sites .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Ensure the .criacao-sites .btn-secondary matches the .btn-primary */
.criacao-sites .btn-secondary {
    background-color: var(--primary-color); /* Changed to primary color */
    color: var(--white);
    border: none;
}

.criacao-sites .btn-secondary:hover {
    background-color: #0056b3; /* Changed to primary hover color */
    transform: translateY(-2px);
}

/* Sobre Nós */
.sobre .sobre-content {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: center;
}

.sobre .sobre-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sobre .sobre-text p {
    text-align: left;
    margin-bottom: 1.5rem;
}

.sobre .sobre-text p:last-child {
    margin-bottom: 0;
}

/* Contato */
.contato-grid-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Formulário à esquerda (0.8fr), Info à direita (1.2fr) */
    gap: 60px; /* Espaço entre as colunas */
    align-items: start; /* Alinhar itens ao topo da área de grid */
    margin-bottom: 50px; /* Espaço entre o grid e o mapa */
}

.contato-form-wrapper {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 100%; /* Garante que ocupe a largura total da célula do grid */
}

.contato-form-wrapper h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input[type="text"],
.contato-form input[type="email"],
.contato-form input[type="tel"],
.contato-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    width: 100%;
}

.contato-form input[type="text"]:focus,
.contato-form input[type="email"]:focus,
.contato-form input[type="tel"]:focus,
.contato-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contato-form textarea {
    resize: vertical;
}

.contato-form .btn-primary {
    width: auto; /* Ajuste para não ocupar a largura total, permitindo alinhamento */
    align-self: center; /* Centraliza o botão no formulário */
}

.contato-info-area {
    width: 100%;
}

.contato-info-area h3 {
    color: var(--dark-color);
    margin-bottom: 25px;
    text-align: left;
}

.contato-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: left;
}

.contato-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3rem;
    width: 25px; /* Garante alinhamento dos ícones */
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: #0056b3;
}

.map-container {
    margin-top: 50px;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color); /* Usa a variável de cor para o rodapé */
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Adicionado para responsividade */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    text-align: center;
    min-width: 250px; /* Garante que os itens não fiquem muito pequenos */
    margin: 5px 0; /* Adiciona um pequeno espaçamento vertical */
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer a {
    color: var(--white);
    text-decoration: underline;
}

.footer a:hover {
    color: var(--light-color);
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none; /* Escondido por padrão, mostrado com JS */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Media Queries para Responsividade */
@media (max-width: 992px) {
    .header .nav {
        display: none; /* Esconde o menu desktop */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px; /* Abaixo do header */
        left: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .header .nav.active {
        display: flex; /* Mostra o menu quando ativo */
    }

    .header .nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .header .nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .header .nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-color);
    }

    .header .nav ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block; /* Mostra o botão de menu mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .hospedagem-call-to-action {
        flex-direction: column; /* Pilha itens em telas menores */
        text-align: center;
    }

    .hospedagem-text {
        text-align: center; /* Centraliza texto */
    }

    .hospedagem-text h2 {
        text-align: center; /* Centraliza título */
    }

    .hospedagem-text p {
        text-align: center; /* Centraliza parágrafo */
    }

    .criacao-sites .content-grid,
    .sobre .sobre-content {
        grid-template-columns: 1fr; /* Pilha colunas em telas menores */
        gap: 30px;
    }

    .criacao-sites .image-content,
    .sobre .sobre-image {
        order: -1; /* Move a imagem para cima na ordem em mobile */
        margin-bottom: 20px; /* Adiciona espaço abaixo da imagem */
    }

    .criacao-sites .text-content,
    .sobre .sobre-text {
        text-align: center;
    }

    .criacao-sites .text-content ul {
        list-style: none; /* Remove bullet points */
        text-align: center;
        margin-left: 0;
        padding-left: 0; /* Remove padding */
    }

    .criacao-sites .text-content ul li {
        text-align: center;
        margin-bottom: 5px; /* Reduced margin for mobile */
    }

    .contato-grid-layout {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 30px;
    }

    .contato .contato-info-area,
    .contato .contato-form-wrapper {
        width: 100%; /* Ensure they take full width when stacked */
        max-width: none; /* Remove any max-width constraints for mobile stacking */
    }

    .contato .contato-info {
        text-align: left;
    }
    .contato .contato-info p {
        justify-content: flex-start;
    }

    .contato .social-links {
        justify-content: flex-start;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 24px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85); /* Fundo escuro e semi-transparente */
    color: #fff;
    padding: 20px 30px;
    display: none;
    z-index: 10000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    flex: 1;
}

.cookie-info-link {
    color: #00bfff;
    text-decoration: underline;
}

.cookie-accept-btn {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.cookie-accept-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cookie-accept-btn {
        align-self: flex-end;
    }
}


/* --- Política de Privacidade Page Specific Styles --- */
.privacy-policy-section {
    padding-top: 50px; /* Espaço do topo (ajustável) */
    padding-bottom: 30px; /* Espaço antes do rodapé */
}

/* Cabeçalho da seção (título e subtítulo) */
.privacy-policy-section .policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.privacy-policy-section .policy-header h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.privacy-policy-section .policy-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Conteúdo principal da política */
.privacy-policy-section .policy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.privacy-policy-section .policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-align: left;
    font-size: 1.8rem;
}

.privacy-policy-section .policy-content p,
.privacy-policy-section .policy-content ul {
    margin-bottom: 2em;
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-policy-section .policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 10px;
}

.privacy-policy-section .policy-content ul li {
    margin-bottom: 8px;
}
