:root {
            --primary: #d90429;
            --text-dark: #2b2d42;
            --text-light: #8d99ae;
            --bg-white: #ffffff;
            --bg-light: #f8f9fa;
            --shadow: 0 10px 30px rgba(0,0,0,0.08);
            --safe-green: #2ecc71;
        }

        * {
            margin: 0; padding: 0; box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: var(--bg-white);
            color: var(--text-dark);
            display: flex;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* SIDEBAR */
        .sidebar {
            width: 260px; height: 100vh;
            background: var(--bg-white); border-right: 1px solid #edf2f4;
            padding: 40px 25px; position: fixed; z-index: 100;
            overflow-y: auto;
        }

        .logo-box {
            width: 45px; height: 45px; background: var(--primary);
            color: white; display: flex; align-items: center; justify-content: center;
            font-weight: bold; border-radius: 12px; margin: 0 auto 15px;
        }

        .logo h3 { font-size: 1.2rem; text-align: center; margin-bottom: 50px; }

        .sidebar ul { list-style: none; }
        .sidebar li { margin-bottom: 20px; }
        .sidebar a {
            text-decoration: none; color: var(--text-light);
            display: flex; align-items: center; gap: 15px;
            font-weight: 500; transition: 0.3s; padding: 12px; border-radius: 10px;
            word-break: break-word;
            overflow-wrap: anywhere;
        }
        .sidebar a:hover { color: var(--primary); background: #fff1f2; }

        /* CONTEÚDO */
        .content { margin-left: 260px; width: calc(100% - 260px); min-height: 100vh; }
        .section { padding: 80px 8%; max-width: 1200px; margin: 0 auto; }
        .gray-bg { background-color: var(--bg-light); border-radius: 50px 50px 0 0; }
        .section-title { font-size: 2.2rem; margin-bottom: 50px; text-align: center; font-weight: 700; word-break: break-word; }

        /* HERO */
        .hero { display: flex; align-items: center; justify-content: space-between; min-height: 100vh; padding: 0 8%; gap: 40px; flex-wrap: wrap; }
        .hero-text { flex: 1; min-width: 300px; }
        .hero-text h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; word-break: break-word; }
        .subtitle { font-size: 1.4rem; color: var(--primary); font-weight: 600; margin-bottom: 20px; word-break: break-word; }
        .description { font-size: 1.1rem; color: var(--text-light); line-height: 1.7; max-width: 550px; word-break: break-word; overflow-wrap: anywhere; }
        .hero-btns { margin-top: 35px; display: flex; gap: 15px; flex-wrap: wrap; }

        .btn-main, .btn-secundary { padding: 15px 30px; text-decoration: none; border-radius: 12px; font-weight: 600; transition: 0.3s; word-break: break-word; overflow-wrap: anywhere; text-align: center; }
        .btn-main { background: var(--primary); color: white; }
        .btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(217, 4, 41, 0.2); }
        .btn-secundary { background: #edf2f4; color: var(--text-dark); }

        /* IMAGEM */
        .hero-img { flex: 1; display: flex; justify-content: center; min-width: 300px; }
        .img-wrapper img { width: 100%; max-width: 380px; height: auto; border-radius: 30px; box-shadow: var(--shadow); display: block; }

        /* GRIDS */
        .academic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .threat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
        .defense-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

        /* CARDS */
        .info-card, .threat-card, .defense-item {
            background: var(--bg-white); padding: 30px; border-radius: 20px;
            box-shadow: var(--shadow); transition: 0.3s; border: 1px solid #f1f3f5;
            word-break: break-word;
            overflow-wrap: anywhere;
        }
        .threat-card:hover { transform: translateY(-10px); border-color: var(--primary); }
        .threat-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; display: block; text-align: center; }
        .threat-card h4 { text-align: center; margin-bottom: 10px; font-size: 1.1rem; word-break: break-word; }
        .threat-card p { text-align: center; color: var(--text-light); font-size: 0.85rem; line-height: 1.5; word-break: break-word; overflow-wrap: anywhere; }

        /* PROJETOS E VÍDEOS */
        .video-flex { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        .video-card { background: var(--bg-white); padding: 25px; border-radius: 25px; box-shadow: var(--shadow); transition: 0.3s; overflow: hidden; word-break: break-word; }
        .video-card:hover { transform: translateY(-5px); }

        .video-container {
            position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
            border-radius: 15px; margin-bottom: 20px; background: #000;
        }
        .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

        .video-info h3 { margin-bottom: 10px; color: var(--text-dark); word-break: break-word; }
        .video-info p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; min-height: 60px; word-break: break-word; overflow-wrap: anywhere; }

        .btn-card-buy {
            display: block; text-align: center; background: var(--primary);
            color: white; padding: 12px; text-decoration: none; border-radius: 10px;
            font-weight: 600; transition: 0.3s; word-break: break-word;
        }
        .btn-card-buy:hover { background: #b00320; box-shadow: 0 5px 15px rgba(217, 4, 41, 0.3); }

        /* CONTATO */
        .cta-area {
            text-align: center;
            margin-top: 60px;
            padding: 40px;
            background: #fff;
            border-radius: 30px;
            box-shadow: var(--shadow);
            word-break: break-word;
        }

        .cta-area p {
            margin-bottom: 20px;
            color: var(--text-light);
            font-size: 1.1rem;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        .btn-buy-now {
            background: #1a1a1a;
            color: white;
            padding: 18px 40px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 15px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: 0.3s;
            word-break: break-word;
            overflow-wrap: anywhere;
            text-align: center;
            max-width: 100%;
        }

        .btn-buy-now:hover {
            background: var(--primary);
            transform: scale(1.05);
        }

        /* AVISO PERSONALIZADO ABAIXO DOS VÍDEOS */
        /* AVISO PERSONALIZADO ABAIXO DOS VÍDEOS - VERSÃO REPROJETADA */
.custom-info-box {
    margin-top: 15px;
    padding: 14px 18px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #ffffff; /* Fundo branco para destacar do cinza */
    
    /* Substituindo o pontilhado por uma borda sólida elegante */
    border: 1px solid #eee; 
    border-left: 5px solid var(--primary); /* Linha vermelha grossa na esquerda */
    
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra suave para dar profundidade */
    
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: 0.3s ease;
}

.custom-info-box:hover {
    transform: translateX(5px); /* Pequena animação ao passar o mouse */
    background: #fffafa; /* Leve tom avermelhado no fundo */
}

        /* ########################################## 
           MEDIA QUERIES (RESPONSIVIDADE TOTAL)
           ########################################## */

        /* Tablets e Celulares Grandes (1024px e abaixo) */
        @media (max-width: 1024px) {
            .sidebar { width: 80px; padding: 30px 10px; }
            .sidebar span, .logo h3 { display: none; }
            .content { margin-left: 80px; width: calc(100% - 80px); }
            .hero { flex-direction: column; text-align: center; padding: 120px 5% 50px; gap: 20px; }
            .description { margin: 0 auto; max-width: 100%; }
            .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
            .btn-main, .btn-secundary { width: 100%; max-width: 300px; }
            .section { padding: 60px 5%; }
            .section-title { font-size: 2rem; }
            .academic-grid, .threat-grid, .defense-grid, .video-flex { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
            .hero-text h1 { font-size: 2.8rem; }
            .subtitle { font-size: 1.2rem; }
            .description { font-size: 1rem; }
            .img-wrapper img { max-width: 300px; }
        }

        /* Celulares (768px e abaixo) */
        @media (max-width: 768px) {
            body { flex-direction: column; }
            
            .sidebar {
                width: 100%; height: 60px; bottom: 0; top: auto;
                padding: 0; border-right: none; border-top: 1px solid #edf2f4;
                display: flex; align-items: center; justify-content: center;
            }
            .logo { display: none; }
            .sidebar ul { display: flex; width: 100%; justify-content: space-around; }
            .sidebar li { margin-bottom: 0; }
            .sidebar a { padding: 10px; flex-direction: column; gap: 5px; font-size: 0.7rem; }
            .sidebar i { font-size: 1.2rem; }

            .content { margin-left: 0; width: 100%; padding-bottom: 80px; }
            .section { padding: 50px 20px; }
            
            .academic-grid, .threat-grid, .defense-grid, .video-flex {
                grid-template-columns: 1fr; /* Coluna única no celular */
                gap: 20px;
            }

            .hero { padding: 100px 20px 50px; min-height: auto; }
            .hero-text h1 { font-size: 2.5rem; }
            .subtitle { font-size: 1.1rem; }
            .description { font-size: 1rem; max-width: 100%; }
            .hero-btns { flex-direction: column; gap: 10px; }
            .btn-main, .btn-secundary { width: 100%; padding: 12px 20px; }
            .hero-img img { max-width: 280px; }

            .info-card, .threat-card, .defense-item { padding: 20px; }
            .threat-card i { font-size: 1.8rem; }
            .threat-card h4 { font-size: 1rem; }
            .threat-card p { font-size: 0.8rem; }

            .video-card { padding: 20px; }
            .video-info h3 { font-size: 1.1rem; }
            .video-info p { font-size: 0.9rem; }

            .cta-area { padding: 30px 20px; margin-top: 40px; }
            .cta-area p { font-size: 1rem; }
            .btn-buy-now { padding: 14px 20px; font-size: 0.9rem; width: 100%; max-width: 100%; line-height: 1.4; flex-direction: column; gap: 5px; }

            .custom-info-box { font-size: 0.9rem; padding: 12px; }
        }

        /* Telas Pequenas (480px e abaixo, como iPhone SE) */
        @media (max-width: 480px) {
            .hero-text h1 { font-size: 2rem; }
            .subtitle { font-size: 1rem; }
            .description { font-size: 0.95rem; }
            .section-title { font-size: 1.8rem; margin-bottom: 30px; }
            .hero { padding: 80px 15px 40px; }
            .section { padding: 40px 15px; }
            .info-card, .threat-card, .defense-item { padding: 15px; }
            .threat-card i { font-size: 1.5rem; }
            .threat-card h4 { font-size: 0.95rem; }
            .threat-card p { font-size: 0.75rem; }
            .video-card { padding: 15px; }
            .video-info h3 { font-size: 1rem; }
            .video-info p { font-size: 0.85rem; }
            .cta-area { padding: 25px 15px; }
            .btn-buy-now { padding: 12px 15px; font-size: 0.85rem; }
            .custom-info-box { font-size: 0.85rem; padding: 10px; }
        }

        /* Telas Muito Pequenas (360px e abaixo) */
        @media (max-width: 360px) {
            .hero-text h1 { font-size: 1.8rem; }
            .subtitle { font-size: 0.9rem; }
            .description { font-size: 0.9rem; }
            .section-title { font-size: 1.6rem; }
            .hero { padding: 60px 10px 30px; }
            .section { padding: 30px 10px; }
            .btn-main, .btn-secundary { padding: 10px 15px; font-size: 0.9rem; }
            .info-card, .threat-card, .defense-item { padding: 12px; }
            .threat-card i { font-size: 1.3rem; }
            .threat-card h4 { font-size: 0.9rem; }
            .threat-card p { font-size: 0.7rem; }
            .video-card { padding: 12px; }
            .video-info h3 { font-size: 0.95rem; }
            .video-info p { font-size: 0.8rem; }
            .cta-area { padding: 20px 10px; }
            .btn-buy-now { padding: 10px 12px; font-size: 0.8rem; }
            .custom-info-box { font-size: 0.8rem; padding: 8px; }
        }

        /* Ajuste global para botões na Hero em telas pequenas */
@media (max-width: 768px) {
    .hero-btns {
        display: flex;
        flex-direction: column; /* Botões um em cima do outro */
        width: 100%;
        gap: 12px;
        align-items: center;
    }

    .btn-main, .btn-secundary {
        width: 100%; /* Ocupa a largura disponível */
        max-width: 320px; /* Limite para não ficar largo demais */
        white-space: normal; /* Permite que o texto quebre linha se for grande */
        height: auto; /* Ajusta a altura conforme o texto */
        padding: 15px 20px;
        display: inline-block;
        line-height: 1.2; /* Melhora leitura com texto quebrado */
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed; /* Garante que fique sempre visível */
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto; /* Deixa o conteúdo ditar a altura */
        min-height: 70px;
        padding: 10px 0;
        background: var(--bg-white);
        border-top: 2px solid #edf2f4;
        z-index: 1000;
    }

    .sidebar ul {
        display: flex;
        justify-content: space-around;
        align-items: flex-start; /* Alinha no topo para não bugar a quebra de linha */
    }

    .sidebar a {
        flex-direction: column;
        gap: 4px;
        font-size: 0.75rem;
        text-align: center;
        white-space: normal; /* Permite que "Segurança" ou "Projetos" quebrem linha */
        padding: 5px;
        width: 70px; /* Largura fixa para cada item do menu */
    }

    .sidebar i {
        font-size: 1.3rem;
    }
}

.lang-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    gap: 8px;
}

.lang-float button {
    padding: 10px 14px;
    border-radius: 50%;
    border: none;
    font-weight: bold;
    cursor: pointer;
    background: #007bff;
    color: #fff;
}
