/* =========================================================
   1. VARIÁVEIS GLOBAIS (FUSÃO JBL + BKL)
   ========================================================= */
:root {
    /* --- Variáveis JBL Original --- */
    --jbl-orange: #ff6600;
    --bg-dark: #1a1a1a; 
    --bg-medium-dark: #1a1a1a; 
    --bg-brown: #af4803; 
    --bg-gray: #2c2c2c;
    --text-light: #f4f4f4;
    --text-gray-almost-black: #444444;
    --text-footer: #999999; 
    --font-stack: 'Poppins', sans-serif;

    /* --- Variáveis BKL (Inseridas) --- */
    --cor-principal: #0056b3;      /* Azul Institucional */
    --cor-secundaria: #28A745;     /* Verde Crescimento */
    --cor-neutra-fundo: #f3f9fe;   /* Cinza Claro */
    --cor-texto-principal: #202325;/* Escuro para Títulos Light */
    --cor-texto-secundario: #6C757D;
    --cor-branco: #FFFFFF;
    --cor-personalizada-card: #020267; /* Roxo/Azul Escuro */
    --cor-personalizada-borda: #004dff;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-stack); /* Padrão JBL */
    background-color: #000;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100vw;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Contêineres */
.section-container, .header-container, .footer-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px; 
}

/* Container específico BKL (Mais largo) */
.container-principal {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 60px 0;
}

/* =================================
   HEADER / NAVBAR (JBL)
   ================================= */
.header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { height: 25px; width: auto; }
.hero-logo-img {
    height: 40px; width: auto;
    margin-top: 150px; 
    margin-bottom: 15px; 
}

/* Menu Mobile */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5em;
    cursor: pointer;
    z-index: 110;
    transition: color 0.3s;
}
.menu-toggle:hover { color: var(--jbl-orange); }
.nav {
    display: none; 
    position: fixed;
    top: 0; right: 0;
    width: 100vw; height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}
.nav--open { display: flex; transform: translateX(0); }
.nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 15px 0;
    font-size: 1.5em;
    transition: color 0.3s;
    display: block; 
}
.nav a:hover { color: var(--jbl-orange); }
.btn-navbar {
    display: inline-block !important; 
    background-color: var(--bg-dark);
    color: var(--jbl-orange);
    border: 2px solid var(--jbl-orange);
    padding: 12px 30px;
    border-radius: 40px; 
    margin-top: 30px; margin-left: 0;
    text-transform: uppercase;
    font-size: 1em;
}
.btn-navbar:hover {
    background-color: var(--jbl-orange);
    color: var(--bg-dark);
}

/* =================================
   SEÇÃO HERO (JBL)
   ================================= */
.hero-section {
    height: auto; min-height: auto;
    background: url(./img/BG-USANDONOTEBOOK.jpg) center/cover no-repeat; 
    background-color: rgba(0, 0, 0, 0.4); 
    background-blend-mode: darken;
    align-items: center; text-align: center;
    display: block; justify-content: unset; 
    padding-top: 0; padding-bottom: 0; 
    overflow: hidden;
}
.hero-section .section-container {
    height: 100%; width: 100%;
    display: flex; flex-direction: column;
    justify-content: flex-start; align-items: center; 
}
.hero-section h1 {
    font-size: 2em; color: var(--text-light);
    margin-bottom: 30px; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 700px;
}
.animate-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    white-space: pre;
}
.btn-hero { 
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    border: none; border-radius: 40px; 
    padding: 15px 40px; font-size: 1.1em;
    margin-bottom: 100px; 
    text-decoration: none;
    display: inline-block;
}
.btn-hero:hover {
    background-color: var(--jbl-orange);
    color: var(--bg-dark);
    transform: scale(1.05);
}

/* =================================
   SEÇÃO SERVIÇOS (JBL)
   ================================= */
.services-section {
    background: linear-gradient(135deg, #faa200 20%, var(--jbl-orange) 100%); 
    color: white; text-align: center;
}
.services-grid {
    display: grid; gap: 25px;
    grid-template-columns: 1fr; 
    margin-top: 40px;
}
.service-card {
    background-color: rgba(0, 0, 0, 0.15); 
    padding: 30px; border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s;
    height: 100%; 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.1); 
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 102, 0, 0.8);
}
.service-card::before {
    content: attr(data-title);
    font-weight: 700; margin-bottom: 10px;
    display: block; color: var(--text-light);
    transition: color 0.3s;
}
.service-card:hover::before { color: rgb(255, 254, 174); }
.btn-service {
    background-color: rgba(0, 0, 0, 0.7); 
    color: var(--text-light);
    border: none; border-radius: 40px; 
    padding: 15px 40px; font-size: 1.1em;
    margin-top: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    text-decoration: none;
    display: inline-block;
}
.btn-service:hover {
    background-color: var(--jbl-orange);
    color: var(--bg-dark);
    transform: scale(1.05);
}

/* =================================
   SEÇÃO SOBRE (JBL)
   ================================= */
.why-choose-us-section {
    text-align: center;
        padding: 20px;
    border: 2px solid #ff6600;
    border-radius: 10px;
    background: transparent;
}
.why-choose-us-content {
    width: 100%;
    display: flex; flex-direction: column; 
    gap: 40px; align-items: center;
    margin: 40px auto 0;
}

/* Background + overlay na seção "Por que escolher a JBL Mídia Digital" */
.why-choose-us-section {
    position: relative;
    background: url('./img/bg-agencia.jpg') center/cover no-repeat;
    padding: 80px 0;
}

/* Overlay escurecido */
.why-choose-us-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75); /* intensidade do escurecimento */
    z-index: 1;
}

/* Garante que o conteúdo fique acima do overlay */
.why-choose-us-section .section-container,
.why-choose-us-section * {
    position: relative;
    z-index: 2;
}

.cards-container {
    display: flex; flex-direction: column;
    gap: 20px; width: 100%; order: 2;
}
.choose-card {
    background: transparent;
    padding: 25px; border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease-out;
    cursor: pointer;
    padding: 20px;
    border: 2px solid #ff6600;
    border-radius: 10px;
    
    
}
.choose-card:hover { transform: scale(1.03); }
.card-title {
    color: var(--text-light);
    transition: color 0.3s;
    font-size: 1em; margin-bottom: 10px;
}
.choose-card:hover .card-title { color: var(--jbl-orange); }
.image-float-container {
    width: 100%; position: relative; height: auto; 
    order: 1; margin-bottom: 30px; 
}
.notebook-float-image {
    position: relative; width: 100%;
    max-width: 100%; margin-top: 20px;
    display: flex; justify-content: center; align-items: center;
}
.notebook-float-image img {
    width: 100%; height: auto;
    display: block; max-width: 400px;
}

/* =================================
   SEÇÃO METODOLOGIA (JBL)
   ================================= */
.methodology-section {
    background-color: var(--bg-brown);
    text-align: center;
    background-image: radial-gradient(circle at top left, rgb(255, 102, 0) 0%, transparent 40%),
                        radial-gradient(circle at bottom right, rgba(255, 159, 32, 0.76) 0%, transparent 40%);
    background-repeat: no-repeat;
    background-size: 80% 80%; 
    background-position: top left, bottom right; 
}
.methodology-subtitle { margin-bottom: 10px; font-size: 1em; color: var(--text-light); }
.methodology-title { color: var(--text-light); font-size: 2em; margin-bottom: 40px; }
.steps-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 25px; margin-top: 30px;
}
.step-card {
    background-color: var(--bg-dark); 
    padding: 30px; border-radius: 12px; 
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex; flex-direction: column;
}
.step-header-block { display: flex; align-items: center; margin-bottom: 15px; }
.step-number {
    display: block; color: var(--jbl-orange);
    font-size: 1.8em; font-weight: 700; margin-right: 10px;
}
.step-title {
    color: var(--jbl-orange);
    font-size: 1.2em; font-weight: 600; line-height: 1.2;
}
.step-icon { display: none; }
.step-description-block p { color: var(--text-light); font-size: 0.9em; }
.step-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.cta-final__logo {
    width: 250px; height: auto;
    margin-bottom: 25px;
}

/* =================================
   SEÇÃO FAQ (JBL)
   ================================= */
.faq-section {
    background-color: var(--bg-dark);
    text-align: center;
}
.accordion { max-width: 800px; margin: 0 auto; text-align: left; }
.accordion-header {
    background: transparent; border: none;
    color: var(--text-light); 
    font-size: 1.1em; font-weight: 600;
    padding: 20px 0; width: 100%;
    text-align: left; cursor: pointer;
    border-bottom: 1px solid #444;
    transition: color 0.3s;
    display: flex; justify-content: space-between; align-items: center;
}
.accordion-header:hover, .accordion-header.active { color: var(--jbl-orange); }
.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.accordion-item.open .accordion-content { padding-bottom: 15px; }
.accordion-item.open .accordion-header { color: var(--jbl-orange); }

/* =========================================================
   [INSERIDO] ESTILOS BKL (CTA FINAL E RODAPÉ)
   ========================================================= */

/* --- Botões Estilo BKL (Gradiente Azul/Verde) --- */
/* IMPORTANTE: Sobrescreve o estilo padrão apenas onde a classe .btn--secundario for usada */
.btn.btn--secundario {
    display: inline-block; padding: 0.75rem 1.5rem; font-weight: 700; transition: 0.5s;
    margin-top: 1rem; position: relative; z-index: 2; border-radius: 50px; overflow: hidden;
    border: none !important; color: var(--cor-branco) !important; text-decoration: none;
    text-transform: none; /* Resetando o uppercase da JBL */
    font-family: 'Lato', sans-serif;
}
.btn.btn--secundario > * { position: relative; z-index: 3; color: var(--cor-branco); transition: 0.5s; }

.btn.btn--secundario::before {
    content: ""; border-radius: inherit; background: linear-gradient(to right, #f1dbab, #eed130);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 0; width: calc(100% + 4px); height: calc(100% + 4px); transition: 0.5s;
}
.btn.btn--secundario::after {
    content: ""; border-radius: inherit; background: var(--cor-secundaria); /* Verde */
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 1; width: 100%; height: 100%; transition: 0.5s;
}
.btn.btn--secundario:hover::after { background: #131313 !important; }
.btn.btn--secundario:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }


/* --- SEÇÃO CTA FINAL BKL --- */
.secao-cta-final {
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    min-height: 400px;
    background-color: var(--cor-branco); /* Adaptação para não quebrar o fluxo escuro */
}
.secao-cta-final .container-principal {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 100%; position: relative; z-index: 10;
}
.cta-final__background-image {
    position: absolute; left: 50%; transform: translateX(-50%);
    top: 50px; bottom: 50px;
    max-width: 1100px; width: calc(100% - 2rem); height: auto;
    background-image: url('./img/colleagues-working-together-desk-laptops.jpg'); /* Certifique-se do caminho */
    background-size: cover; background-position: center; background-repeat: no-repeat;
    border-radius: 20px; z-index: 1; filter: brightness(0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.texto-cta-final {
    color: var(--cor-branco);
}
.cta-final__card-wrapper {
    background-color: var(--jbl-orange); /* Roxo BKL */
    color: var(--cor-texto-principal);
    padding: 3rem 2rem; border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    max-width: 550px; z-index: 11; position: relative;
    text-align: center;
}
.cta-final__titulo {
    color: var(--cor-branco);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 0.8rem;
}
.cta-final__texto {
    max-width: 600px; margin: 0 auto 2rem;
    color: var(--cor-branco); font-family: 'Lato', sans-serif;
}

/* Responsivo CTA */
@media (max-width: 768px) {
    .secao-cta-final { padding: 4rem 1rem; min-height: 350px; }
    .cta-final__background-image {
        width: 100%; height: 100%; top: 0; bottom: 0;
        max-width: none; border-radius: 0; transform: translateX(-50%);
    }
    .cta-final__card-wrapper { padding: 2rem 1rem; }
}


/* --- RODAPÉ BKL --- */
.rodape {
    background-color: var(--cor-texto-principal); /* Fundo Escuro BKL */
    color: var(--cor-neutra-fundo);
    padding: 3rem 1rem 0; text-align: left;
    font-family: 'Lato', sans-serif;
}
.rodape__conteudo {
    display: grid; grid-template-columns: 1fr;
    gap: 30px; margin-bottom: 2rem;
}
.rodape__conteudo h3 {
    color: var(--cor-branco); margin-bottom: 1rem;
    font-size: 1.1rem; font-family: 'Montserrat', sans-serif; font-weight: 700;
}
.rodape__logo-info { text-align: center; }
.rodape__logo {
    width: 200px; height: auto; margin-bottom: 1rem;
}
.rodape__lista-menu, .rodape__lista-contato, .rodape__lista-legal { list-style: none; padding: 0; }
.rodape__link {
    color: var(--cor-neutra-fundo); transition: color 0.3s ease;
    display: inline-block; padding: 0.2rem 0; text-decoration: none;
}
.rodape__link:hover { color: var(--jbl-orange); }
.rodape__lista-contato li { margin-bottom: 0.5rem; }
.rodape__aviso-legal {
    background-color: var(--cor-texto-principal);
    padding-top: 1rem; border-top: 1px solid #555; text-align: left;
}
.rodape__aviso-legal p {
    text-align: center; color: var(--cor-neutra-fundo);font-size: 0.75rem; line-height: 1.4; margin-bottom: 1rem; color: #AAA;
}
.rodape__copyright {
    text-align: center; color: var(--cor-neutra-fundo);
    margin-top: 1rem; padding-bottom: 1rem; font-size: 0.8rem;
}

/* Responsivo Rodapé */
@media (min-width: 768px) {
    .rodape__conteudo {
        grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
        text-align: left;
    }
    .rodape__logo-info { text-align: left; }
    .rodape__logo { margin-bottom: 1rem; }
}

/* =================================
   COOKIES & EXTRAS
   ================================= */


.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: rgba(0, 0, 0, 0.9); color: var(--text-light);
    padding: 15px 40px; display: flex;
    justify-content: center; align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 100; opacity: 1; transition: opacity 0.5s ease-in-out;
}
.cookie-content {
    display: flex; flex-direction: column; align-items: center;
    max-width: 900px; width: 100%; text-align: center; gap: 15px;
}
.cookie-content p { font-size: 0.9em; margin: 0; }
.policy-link { color: var(--jbl-orange); text-decoration: underline; }
.btn-cookies {
    background-color: var(--jbl-orange); color: var(--bg-dark);
    font-weight: 700; border: none; padding: 10px 25px;
    border-radius: 20px; cursor: pointer; transition: background-color 0.3s;
}
.btn-cookies:hover { background-color: #ff8833; }

/* Animações Gerais */
.animate-line, .animate-on-scroll {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.visible { opacity: 1; transform: translateY(0); }


/* =================================
   RESPONSIVIDADE GLOBAL (DESKTOP)
   ================================= */
@media (min-width: 768px) {
    section { padding: 80px 0; }
    .section-container, .header-container, .footer-container { padding: 0 20px; }
    
    /* Hero */
    .hero-section { min-height: auto; height: auto; padding: 0; }
    .hero-logo-img { height: 50px; }
    .hero-section h1 { font-size: 2.5em; }

    /* Navbar */
    .menu-toggle { display: none; }
    .nav {
        position: static; display: flex; flex-direction: row;
        width: auto; height: auto; background-color: transparent; transform: none;
    }
    .nav a { display: inline-block; margin: 0 0 0 20px; font-size: 0.9em; }
    .btn-navbar { display: inline-block !important; margin-left: 30px; padding: 8px 15px; font-size: 0.9em; }
    .logo-img { height: 30px; }
    .no-scroll { overflow: auto; height: auto; }

    /* Services */
    .services-grid { grid-template-columns: repeat(4, 1fr); }

    /* About */
    .why-choose-us-content { flex-direction: row; text-align: left; max-width: 900px; margin: 40px auto; align-items: stretch; }
    .cards-container { width: 50%; order: 1; flex-grow: 1; }
    .image-float-container { width: 50%; order: 2; height: auto; display: flex; align-items: center; justify-content: flex-end; padding-left: 20px; margin-bottom: 0; }
    .notebook-float-image { width: 100%; height: 100%; max-width: 100%; margin-top: 0; }
    .notebook-float-image img { max-height: 100%; object-fit: contain; }

    /* Methodology */
    .steps-grid { grid-template-columns: 1fr; gap: 25px; }
    .step-card { display: flex; flex-direction: column; padding: 40px; }
    .step-icon { display: none; }
    .step-number { display: block; }

    /* Cookies */
    .cookie-content { flex-direction: row; justify-content: space-between; gap: 30px; text-align: left; }
}