/* --- VARIAVEIS GLOBAIS DE ESTILO --- */
:root {
    --primary-color: #2C3E50; /* Azul Padrão - Mude para a cor principal da sua marca */
    --secondary-color: #1F2C39; /* Tom mais escuro para hover */
    --dark-color: #2c3e50;    /* Cor escura para textos e fundos */
    --light-color: #f8f9fa;   /* Cor clara para fundos de seção */
    --text-color: #343a40;
    --text-light: #ffffff;
    --font-header: 'Titillium Web', 'Helvetica', sans-serif;
    --font-body: 'Roboto', 'Arial', sans-serif;
    --container-width: 1140px;
}

/* --- RESET E PADRÕES GERAIS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #fff;
}
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-header); font-weight: 700; line-height: 1.3; }
h2 { font-size: 2.8rem; margin-bottom: 20px; color: var(--dark-color); }
h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark-color); }
.section-subtitle { max-width: 650px; margin: 0 auto 50px auto; font-size: 1.1rem; color: #6c757d; }
.content-section { padding: 100px 0; }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }
.text-center { text-align: center; }
.text-light h2, .text-light p { color: var(--text-light); }
.text-light .section-subtitle { color: rgba(255, 255, 255, 0.8); }

/* --- COMPONENTES REUTILIZÁVEIS --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 5px; border: none; text-decoration: none; font-weight: 700; font-size: 1rem; transition: background-color 0.3s, transform 0.2s; cursor: pointer; }
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--secondary-color); transform: translateY(-2px); }
.btn-large { padding: 18px 40px; font-size: 1.2rem; }
.btn-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--text-light);
    font-weight: 700;
    text-decoration: none;
    background-color: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-link:hover {
    background-color: rgba(255,255,255,0.25);
}

/* --- HEADER --- */
.main-header { background: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.07); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-header); font-size: 1.8rem; font-weight: 900; color: var(--primary-color); text-decoration: none; padding-top: 10px; }
.logo strong { color: var(--dark-color); }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { text-decoration: none; color: var(--text-color); font-weight: 700; font-size: 1rem; }
.main-nav a:not(.btn):hover { color: var(--primary-color); }

/* --- HERO SECTION --- */
.hero-section {
    padding: 120px 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(44, 62, 80, 0.7); z-index: 1; }
.hero-section .container { position: relative; z-index: 2; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-content h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; color: var(--text-light); }
.hero-content .subtitle { font-size: 1.3rem; margin-bottom: 30px; color: rgba(255, 255, 255, 0.9); }
.hero-image { display: none; }

/* --- PODCAST PLAYER --- */
.podcast-player {
    max-width: 650px;
    margin: 45px auto 0 auto;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.podcast-player .podcast-title { margin: 0 0 15px 0; font-weight: 700; font-size: 1rem; color: rgba(255, 255, 255, 0.95); text-align: left; }
audio { width: 100%; }

/* --- CARDS CONTAINER --- */
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; text-align: left; }
.card { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.08); }
.card h3 { margin-bottom: 10px; color: var(--primary-color); font-size: 1.4rem; }
.features .card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.bg-dark .card { background-color: #34495e; box-shadow: none; }
.bg-dark .card h3 { color: var(--text-light); }

/* --- SPLIT SECTION (SOLUTION) --- */
.split-section { display: flex; align-items: center; gap: 60px; }
.split-content, .split-image { flex: 1; position: relative; z-index: 2; }
.fixed-background-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2070&auto=format&fit=crop');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.fixed-background-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(44, 62, 80, 0.85); z-index: 1; }
.fixed-background-section .container { position: relative; z-index: 2; }
.fixed-background-section h2 { color: var(--text-light); }
.fixed-background-section .split-image img,
.fixed-background-section .split-image .solution-video {
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* --- TARGET AUDIENCE --- */
.segments-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px; }
.segments-list span { background: #e9ecef; padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; }

/* --- CONTACT FORM --- */
.form-container { max-width: 650px; margin: 0 auto; text-align: center; }
.form-container p { margin-bottom: 30px; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(0,123,255,0.25); }
.form-success, .form-error { padding: 15px; border-radius: 5px; margin-bottom: 20px; font-weight: 700; }
.form-success { color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; }
.form-error { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }

/* --- FOOTER --- */
.main-footer { background: var(--dark-color); color: var(--text-light); text-align: center; padding: 40px 0; }
.main-footer p { margin: 5px 0; color: rgba(255,255,255,0.7); }

/* --- ESTILOS DA PÁGINA SOBRE, VÍDEOS E FAQ (ATUALIZADO) --- */
.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item { border-bottom: 1px solid #e9ecef; margin-bottom: 15px; }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-family: var(--font-header); font-size: 1.3rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--dark-color); transition: color 0.3s; }
.faq-question:hover { color: var(--primary-color); }
.faq-icon { font-size: 1.8rem; font-weight: 400; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 10px 25px 10px; color: #6c757d; }

/* --- ESTILOS DA GALERIA DE VÍDEOS E LIGHTBOX --- */
.video-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    justify-items: center;
}
.video-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    max-width: 400px;
}
.video-card h3 { color: var(--primary-color); }
.video-card p { margin-bottom: 20px; font-size: 0.95rem; color: #6c757d; }

.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.video-thumbnail:hover img {
    transform: scale(1.05);
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(44, 62, 80, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background-color 0.3s;
    pointer-events: none; /* Permite que o clique atravesse para o container */
}
.video-thumbnail:hover .play-icon {
    background-color: rgba(0, 123, 255, 0.8);
}
.play-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

/* Estilos do Lightbox */
.lightbox-overlay {
    display: none; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.lightbox-content {
    position: relative;
    max-width: 960px;
    width: 100%;
    background: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
#lightbox-video {
    width: 100%;
    height: auto;
    display: block;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media(max-width: 992px) {
    h2 { font-size: 2.4rem; }
    .split-section { flex-direction: column; }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 2.8rem; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 0.9rem; }
}
@media(max-width: 576px) {
    .content-section { padding: 60px 0; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .btn-large { padding: 15px 30px; font-size: 1rem; }
    .main-nav a:not(.btn) { display: none; } /* Esconde links no mobile, exceto o botão */
}
