/* Design System LeaMaq - Sistema de Design da LeaMaq */
:root {
    /* Definição de Variáveis Globais (Cores, Fontes, Transições e Sombras) */
    --primary: #ff7a00;
    /* Cor principal (Laranja) */
    --primary-dark: #cc6200;
    /* Tom mais escuro da cor principal para hovers */
    --dark: #333333;
    /* Cor escura para textos e fundos */
    --light: #ffffff;
    /* Branco puro */
    --bg-light: #f9f9f9;
    /* Cinza muito claro para fundos de seção */
    --text-main: #444444;
    /* Cor principal do texto */
    --text-light: #777777;
    /* Cor secundária/suave para textos */
    --success: #28a745;
    /* Cor para estados de sucesso */
    --font-main: 'Outfit', sans-serif;
    /* Fonte principal do projeto */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Transição padrão suave */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Sombra padrão */
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Sombra ao passar o mouse */
}

/* Reset de Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Garante que padding/border não aumentem o tamanho do elemento */
}

html {
    scroll-behavior: smooth;
    /* Rolagem suave ao clicar em links internos */
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--light);
}

/* Utilitários - Classes de apoio para layout rápido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.preenchimento.de.seção,
.seção-espaçamento {
    padding: 80px 0;
    /* Espaçamento vertical padrão para seções */
}

.centralizada.no.texto,
.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justificar-entre,
.justify-between {
    justify-content: space-between;
}

.alinhamento-centro,
.align-center {
    align-items: center;
}

.lacuna-40,
.gap-40 {
    gap: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.ml-20 {
    margin-left: 20px;
}

.w-100 {
    width: 100%;
}

.fundo.claro,
.bg-light {
    background-color: var(--bg-light);
}

/* Botões */
.botão,
.btn-primario {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    /* Bordas arredondadas (estilo pílula) */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.botão-primário,
.btn-primario {
    background-color: var(--primary);
    color: var(--light);
}

.botão-primário:hover,
.btn-primario:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    /* Efeito de levitação ao passar o mouse */
    box-shadow: var(--shadow-hover);
}

.botão.pequeno {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Tipografia - Títulos */
h1,
h2,
h3,
h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h1 span {
    color: var(--primary);
    /* Destaque colorido em palavras dentro do H1 */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

/* Linha decorativa abaixo dos títulos de seção */
.título.da.seção::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 40px;
    border-radius: 2px;
}

/* Topo do Cabeçalho (Barra de Contato Superior) */
.topo-do-cabecalho {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    font-size: 0.8rem;
}

.informacoes-de-contato span {
    margin-right: 25px;
}

.informacoes-de-contato i {
    color: var(--primary);
    margin-right: 5px;
}

/* Menu de Navegação */
.barra-de-navegacao {
    background-color: var(--light);
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    /* Fixa o menu no topo ao rolar a página */
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 90px;
    /* Tamanho aumentado conforme solicitado */
    width: auto;
    transition: var(--transition);
}

.logo a:hover img {
    transform: scale(1.05);
}

.links-de-navegacao {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.links-de-navegacao a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.links-de-navegacao a:hover {
    color: var(--primary);
}

.alternancia-de-menu {
    display: none;
    /* Escondido por padrão, aparece em dispositivos móveis */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Seção Hero (Banner Principal) */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--light);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Overlay escuro sobre o vídeo para legibilidade */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.conteúdo.principal {
    max-width: 600px;
}

.hero h1 {
    color: var(--light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.botões.principais {
    display: flex;
    gap: 20px;
}

/* Seção de Marcas/Parceiros */
.marcas {
    padding: 50px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.grade.de.marcas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.item.de.marca {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 140px;
}

.item.de.marca img {
    max-width: 100px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    /* Marcas em cinza por padrão */
    opacity: 0.7;
    transition: var(--transition);
}

.item.de.marca:hover img {
    filter: grayscale(0%);
    /* Coloridas ao passar o mouse */
    opacity: 1;
}

.item.de.marca:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Seção Sobre Nós */
.imagem-sobre {
    flex: 1;
}

.conteúdo.sobre {
    flex: 1.2;
}

.sobre .título.da.seção::after {
    margin: 15px 0 25px;
}

.imagem-sobre img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.conteúdo.sobre .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.lista.sobre {
    list-style: none;
    margin-top: 25px;
}

.lista.sobre li {
    margin-bottom: 10px;
    font-weight: 600;
}

.lista.sobre i {
    color: var(--primary);
    margin-right: 10px;
}

/* Seção de Serviços */
.grade.de.serviços {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Grid responsivo automático */
    gap: 30px;
    margin-top: 20px;
}

.cartão.de.serviço {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cartão.de.serviço:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.cartão.de.serviço img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
    background-color: #ffffff;
    transition: var(--transition);
}

.informações.do.serviço {
    padding: 25px;
}

.informações.do.serviço h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.informações.do.serviço p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Seção de Diferenciais */
.grade.de.diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.item.de.diferencial {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
}

.item.de.diferencial:hover {
    background: var(--primary);
    color: var(--light);
}

.item.de.diferencial i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Ajuste de cores dos ícones e textos dentro do diferencial ao passar o mouse */
.item.de.diferencial:hover i,
.item.de.diferencial:hover svg,
.item.de.diferencial:hover h3,
.item.de.diferencial:hover p {
    color: var(--light) !important;
    stroke: var(--light);
}

.item.de.diferencial h3 {
    margin-bottom: 10px;
}

/* Seção de Depoimentos */
.grade.de.depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cartão.de.depoimento {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.estrelas {
    color: #ffc107;
    /* Cor dourada para estrelas */
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.cartão.de.depoimento p {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-main);
}

.cartão.de.depoimento h4 {
    font-size: 1.1rem;
}

/* Seção de Contato */
.caixa.de.contato {
    background: var(--dark);
    border-radius: 30px;
    overflow: hidden;
    color: var(--light);
}

.painel.de.informações.de.contato {
    flex: 1;
    padding: 60px;
    background: var(--primary);
}

.painel.de.informações.de.contato h2 {
    color: var(--light);
    font-size: 2.2rem;
}

.detalhes.de.contato {
    margin-top: 40px;
}

.detalhes.de.contato p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.detalhes.de.contato i {
    margin-right: 15px;
}

.painel.de.formulário.de.contato {
    flex: 1.5;
    padding: 60px;
    background: #2a2a2a;
}

.grupo.de.formulário {
    margin-bottom: 20px;
}

.grupo.de.formulário input,
.grupo.de.formulário textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #333;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.grupo.de.formulário input:focus,
.grupo.de.formulário textarea:focus {
    border-color: var(--primary);
    /* Destaque no campo em foco */
}

/* Garante que o botão de envio no formulário ocupe a largura total */
.painel.de.formulário.de.contato .btn-primario {
    width: 100%;
}

/* Rodapé (Footer) */
.rodapé {
    background: #1a1a1a;
    color: #888;
    padding: 60px 0 30px;
}

.logo-rodape {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-rodape img {
    height: 80px;
    /* Reduzido pois a nova imagem PNG é melhor recortada */
    width: auto;
    background: white;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-rodape img:hover {
    transform: scale(1.05);
}

.redes-sociais-rodape {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.rede-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.rede-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.link-whatsapp { color: #25d366; }
.link-instagram { color: #E1306C; }
.link-facebook { color: #1877F2; }

.rodapé hr {
    border: none;
    border-top: 1px solid #333;
    margin: 30px 0;
}

.direitos.autorais {
    font-size: 0.9rem;
}

/* Responsividade - Ajustes para telas menores */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .sobre .container {
        flex-direction: column;
    }

    .caixa.de.contato {
        flex-direction: column;
    }

    .painel.de.informações.de.contato,
    .painel.de.formulário.de.contato {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .topo-do-cabecalho {
        display: none;
    }

    /* Esconde topo em celulares */
    .links-de-navegacao {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .links-de-navegacao.active {
        display: flex;
    }

    /* Mostra menu quando ativo via JS */
    .alternancia-de-menu {
        display: block;
    }

    .logo a {
        height: auto;
    }

    .logo img {
        height: 60px;
        /* Tamanho aumentado para mobile */
    }

    .hero {
        height: 70vh;
        text-align: center;
    }

    .botões.principais {
        justify-content: center;
        flex-direction: column;
    }

    .ml-20 {
        margin-left: 0;
        margin-top: 10px;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Animações (Fade Up) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animado.com.efeito.fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Barra de Contato Mobile - escondida por padrão no desktop */
.barra.de.contato.mobile {
    display: none;
}

/* Botão Flutuante do WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
    padding: 2px;
    border: 3px solid #25d366;
    /* Borda verde característica do WhatsApp */
}

.fab-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.selo-whatsapp {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background-color: #25d366;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Tooltip do WhatsApp */
.fab-whatsapp::before {
    content: "Dúvidas? Fale com nosso Assistente Técnico";
    position: absolute;
    right: 85px;
    background: white;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 25px;
    white-space: nowrap;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid #eee;
}

.fab-whatsapp:hover::before {
    opacity: 1;
    right: 80px;
}

@media (max-width: 768px) {
    .fab-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .fab-whatsapp::before {
        display: none;
        /* Esconde tooltip em celulares para evitar sobreposição */
    }

    /* Barra de Contato Mobile (fixa no rodapé) */
    .barra.de.contato.mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        background: #ffffff;
        border-top: 3px solid var(--primary);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
        padding: 10px 0;
    }

    .item.de.contato.mobile {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-decoration: none;
        color: var(--dark);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 6px 0;
        transition: var(--transition);
    }

    .item.de.contato.mobile i {
        font-size: 1.4rem;
    }

    /* Cores específicas de cada plataforma */
    .item.de.contato.mobile:nth-child(1) i {
        color: #25d366;
    }

    .item.de.contato.mobile:nth-child(2) i {
        color: #E1306C;
    }

    .item.de.contato.mobile:nth-child(3) i {
        color: #1877F2;
    }

    .item.de.contato.mobile:active {
        background: rgba(0, 0, 0, 0.05);
    }

    /* Ajusta o botão flutuante do WhatsApp para não ficar em cima da barra */
    .fab-whatsapp {
        bottom: 80px;
    }

    /* Ajusta o rodapé para não ficar escondido atrás da barra */
    .rodapé {
        padding-bottom: 90px;
    }
}