/* ============================================================
   CONFIGURAÇÕES GLOBAIS E VARIÁVEIS
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', sans-serif; /* Fonte atualizada */
}

:root {
    --yellow: #f1c40f;
    --dark-bg: #2b2b2b;
    --header-bg: #1a1a1a;
    --card-gray: #6d6e71;
    --white: #ffffff;
    --text-light: #e6e6e6;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 80px; /* Use a altura aproximada do seu header */
}

/* Container padrão para alinhar todos os elementos da página */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.main-header {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #f1c40f;
}

.menu-toggle {
    display: none; /* Escondido no desktop */
    color: #f1c40f;
    font-size: 24px;
    cursor: pointer;
}

.main-header .container-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo img {
    height: 50px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    color: var(--yellow);
}

.header-social {
    display: flex;
    gap: 10px;
}

.header-social a {
    background-color: var(--yellow);
    color: var(--header-bg);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.header-social a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* ============================================================
   HERO SECTION (BANNER)
   ============================================================ */
.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('img/banner-hero.png');
    background-size: cover;
    background-position: center;
    height: 65vh;
    display: flex;
    align-items: center; /* Centraliza verticalmente o título */
}

.hero-content h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: none;
}

/* ============================================================
   SEÇÃO DESTAQUE (CARD SOBREPOSTO)
   ============================================================ */
.destaque {
    position: relative;
    margin-top: -180px; /* Faz o card subir para cima do banner */
    padding-bottom: 60px;
    z-index: 10;
}

.destaque-card {
    background-color: var(--card-gray);
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Lado Esquerdo: Imagem/Vídeo */
.destaque-visual {
    flex: 0 0 48%;
    position: relative;
    overflow: hidden;
}

.destaque-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-overlay i {
    color: var(--white);
    font-size: 50px;
    opacity: 0.8;
    transition: var(--transition);
}

.destaque-visual:hover .play-overlay {
    background: rgba(0,0,0,0.4);
}

.destaque-visual:hover .play-overlay i {
    transform: scale(1.2);
    opacity: 1;
}

/* Lado Direito: Texto */
.destaque-info {
    flex: 1;
    padding: 50px;
    color: var(--white);
}

.destaque-info h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.destaque-info h3 {
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.destaque-info p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    font-weight: 300;
}

.btn-destaque {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-destaque:hover {
    background-color: var(--white);
    color: var(--card-gray);
}

/* ============================================================
   RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 38px; }
    .destaque-card { flex-direction: column; }
    .destaque-info { padding: 30px; }
    .hero { height: 50vh; }
    .destaque { margin-top: -80px; }
    .header-social {
        display: none; /* Esconde as redes sociais do topo no mobile */
    }
    .menu-toggle {
        display: block; /* Mostra o hambúrguer */
    }
    .nav-menu {
        display: none; /* Esconde o menu por padrão */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 20px 0;
        border-bottom: 3px solid #f1c40f;
    }
    /* Classe que será adicionada via JS para abrir o menu */
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .main-header .container-full {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        align-items: flex-start;
        padding-top: 50px;
    }

    .hero-content h1 {
        font-size: 28px;
        text-align: center;
    }

    .destaque-visual {
        height: 250px;
    }

    .destaque-info h2 { font-size: 24px; }
    
    .destaque-info p {
        font-size: 13px;
    }
}
/* ============================================================
   SEÇÃO SOLUÇÕES
   ============================================================ */
.solucoes {
    padding: 80px 0;
    background-color: var(--white);
}

.solucoes-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.solucoes-header span {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-bg);
    display: block;
    margin-bottom: 5px;
}

.solucoes-header h2 {
    font-size: 36px;
    color: var(--dark-bg);
    margin-bottom: 20px;
    font-weight: 700;
}

.solucoes-header p {
    color: #555;
    font-size: 15px;
}

/* Grid de Cards */
.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas no desktop */
    gap: 30px;
}

.card-servico {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.card-servico:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-img {
    position: relative;
    height: 200px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ícone flutuante */
.card-icon {
    position: absolute;
    bottom: -25px;
    left: 20px;
    background-color: var(--dark-bg);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
    transform: rotate(45deg); /* Estilo diamante do layout */
}

.card-icon img {
    width: 30px;
    height: 30px;
    transform: rotate(-45deg); /* Desfaz a rotação para o ícone ficar reto */
}

.card-body {
    padding: 40px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 18px;
    color: var(--dark-bg);
    margin-bottom: 15px;
    font-weight: 700;
    min-height: 44px; /* Mantém títulos alinhados */
}

.card-body p {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-saiba-mais {
    margin-top: auto; /* Empurra o botão para o fim do card */
    text-align: right;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-saiba-mais:hover {
    color: var(--yellow);
}

/* RESPONSIVIDADE SOLUTIONS */
@media (max-width: 992px) {
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 600px) {
    .solucoes-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
    }
    .solucoes-header h2 {
        font-size: 28px;
    }
}
/* ============================================================
   SEÇÃO CASES DE SUCESSO
   ============================================================ */
.cases {
    background-color: #1a1a1a; /* Fundo grafite escuro igual ao header */
    padding: 80px 0;
}

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.cases-header span {
    color: var(--white);
    font-size: 16px;
    font-weight: 300;
}

.cases-header h2 {
    color: var(--yellow);
    font-size: 36px;
    font-weight: 700;
    margin-top: 5px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-item {
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.case-thumb {
    position: relative;
    aspect-ratio: 16 / 9; /* Mantém a proporção de vídeo do YouTube */
    background-color: #000;
}

.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Efeito de Overlay no Hover */
.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.case-overlay i {
    color: var(--yellow);
    font-size: 40px;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

/* Interação */
.case-item:hover {
    transform: scale(1.03);
}

.case-item:hover .case-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.case-item:hover .case-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* RESPONSIVIDADE CASES */
@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-header h2 {
        font-size: 28px;
    }
}
/* ============================================================
   SEÇÃO SOBRE NÓS
   ============================================================ */
.sobre-nos {
    padding: 100px 0;
    background-color: var(--white);
    position: relative; /* Base para o posicionamento absoluto */
    overflow: hidden; /* Impede que a imagem vaze lateralmente */
}

/* Marca d'água (Ajuste específico para dap-fundo.png) */
.watermark-bg {
    position: absolute;
    left: -150px; /* Ajuste negativo para emular o corte lateral do layout */
    top: 50%;
    transform: translateY(-50%); /* Centraliza verticalmente */
    opacity: 0.9; /* Mantém bem sutil para não atrapalhar a leitura */
    z-index: 1; /* Fica atrás do conteúdo */
    pointer-events: none; /* Garante que o usuário possa interagir com o texto à frente */
}

.watermark-bg img {
    /* Use uma largura grande para que a engrenagem pareça 'vazar' da tela */
    width: 600px; 
    height: auto;
    display: block;
}

.sobre-nos .container {
    position: relative;
    z-index: 2; /* Texto e logo ficam acima da marca d'água */
}

.sobre-header {
    text-align: center;
    margin-bottom: 60px;
}

.sobre-logo {
    height: 60px;
    margin: 0 auto 15px;
}

.sobre-header span {
    display: block;
    font-size: 18px;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.sobre-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark-bg);
}

/* Layout de Duas Colunas (Inalterado) */
.sobre-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.sobre-col {
    flex: 1;
}

.sobre-col p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

/* ============================================================
   RESPONSIVIDADE (Ajustes para Mobile)
   ============================================================ */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column; /* Empilha as colunas em tablets */
        gap: 0;
    }
    
    .watermark-bg {
        left: -300px; /* Esconde mais a imagem no tablet */
        opacity: 0.04;
    }
}

@media (max-width: 600px) {
    .sobre-nos {
        padding: 60px 0;
    }

    .sobre-header h2 {
        font-size: 32px;
    }

    .sobre-col p {
        font-size: 14px;
        text-align: left; /* Melhor legibilidade em telas pequenas */
    }

    /* Remove a marca d'água no mobile para limpar o visual e garantir leitura */
    .watermark-bg {
        display: none; 
    }
}
/* ============================================================
   SEÇÃO DAPCAST (ESTILO CASES)
   ============================================================ */
.dapcast {
    background: radial-gradient(circle at 50% 120%, rgba(241, 196, 15, 0.35) 0%, rgba(30, 30, 30, 1) 70%);
    background-color: #1e1e1e;
    padding: 80px 0 110px;
    text-align: center;
}

.dapcast-header {
    margin-bottom: 50px;
}

.dapcast-header span {
    color: var(--white);
    font-size: 16px;
    display: block;
    text-transform: none;
}

.dapcast-header h2 {
    color: var(--yellow);
    font-size: 42px;
    font-weight: 800;
    margin: 5px 0 15px;
}

.dapcast-header p {
    color: var(--white);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 300;
}

/* Grid e Itens Estilo Cases */
.dapcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.dapcast-item {
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.dapcast-thumb {
    position: relative;
    aspect-ratio: 16 / 9; /* Proporção exata de vídeo */
    background-color: #000;
}

.dapcast-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay igual ao de Cases */
.dapcast-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dapcast-overlay i {
    color: var(--yellow);
    font-size: 45px;
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition);
}

/* Interação Hover */
.dapcast-item:hover {
    transform: translateY(-8px);
}

.dapcast-item:hover .dapcast-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.dapcast-item:hover .dapcast-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* Botão YouTube Premium */
.dapcast-footer {
    display: flex;
    justify-content: center;
}

.btn-youtube {
    background: linear-gradient(180deg, #f1c40f 0%, #d4ac0d 100%);
    color: #222;
    text-decoration: none;
    padding: 16px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
    transition: var(--transition);
}

.btn-youtube:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

/* Mobile */
@media (max-width: 992px) {
    .dapcast-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .dapcast-grid { grid-template-columns: 1fr; }
    .dapcast-header h2 { font-size: 32px; }
    .btn-youtube { width: 100%; }
}
/* ============================================================
   SEÇÃO CONTATO
   ============================================================ */
.contato {
    background: linear-gradient(90deg, #444 0%, #222 100%);
    padding: 100px 0;
    color: var(--white);
}

.contato-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Lado Esquerdo */
.contato-info {
    flex: 1;
}

.contato-logo {
    height: 70px;
    margin-bottom: 30px;
}

.contato-info h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
}

.contato-info p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    max-width: 450px;
}

/* Lado Direito: Card Branco */
.contato-card {
    flex: 1;
    background-color: #f1f1f1;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #eee;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--yellow);
    background-color: var(--white);
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input {
    margin-top: 5px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

/* Botão Enviar */
.btn-enviar {
    width: 100%;
    background: linear-gradient(180deg, #f1c40f 0%, #d4ac0d 100%);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: var(--transition);
}

.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 172, 13, 0.4);
}

/* RESPONSIVIDADE CONTATO */
@media (max-width: 992px) {
    .contato-wrapper {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .contato-info p {
        margin: 0 auto;
    }

    .contato-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .contato {
        padding: 60px 0;
    }

    .contato-info h2 {
        font-size: 28px;
    }

    .contato-card {
        padding: 25px;
    }
}
/* ============================================================
   FOOTER (RODAPÉ)
   ============================================================ */
.main-footer {
    background-color: #eeeeee; /* Cinza claro do layout */
    padding: 60px 0;
    border-top: 5px solid var(--yellow); /* Borda amarela grossa no topo */
    color: #333;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

/* Coluna da Logo */
.footer-logo {
    height: 70px;
    margin-bottom: 30px;
    display: block;
}

.footer-brand .footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.footer-brand .footer-social a {
    background-color: #222; /* Ícones escuros conforme imagem */
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.footer-brand .footer-social a:hover {
    background-color: var(--yellow);
    color: #222;
    transform: translateY(-3px);
}

/* Listas de Contato e Endereço */
.footer-list {
    list-style: none;
}

.footer-list li {
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    color: #444;
}

.footer-list i {
    color: #222; /* Ícones escuros */
    margin-top: 3px;
    width: 18px;
    text-align: center;
}

/* RESPONSIVIDADE FOOTER */
@media (max-width: 992px) {
    .footer-wrapper {
        flex-wrap: wrap; /* Permite quebrar colunas em tablets */
    }
    
    .footer-col {
        flex: 0 0 45%;
    }
}

@media (max-width: 600px) {
    .main-footer {
        text-align: center;
        padding: 40px 0;
    }

    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-brand .footer-social {
        justify-content: center;
    }

    .footer-list li {
        justify-content: center;
    }
}
/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse-whatsapp 2s infinite; /* Animação de pulso */
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Animação para chamar a atenção do usuário */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}