/* style.css - Versão Final v1.0 */
:root {
    --primary: #1a265a;
    /* Azul Profundo - Confiança */
    --secondary: #00a3b6;
    /* Turquesa - Tecnologia */
    --accent: #f47920;
    /* Laranja - Ação/Energia */
    --light: #f8f9fa;
    /* Fundo Claro */
    --dark: #121212;
    /* Texto Escuro */
    --text-gray: #555;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
    background-color: var(--light);
    margin: 0;
    color: var(--dark);
    line-height: 1.6;
}

/* --- Header & Nav --- */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    margin-left: 25px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary);
}

.btn-cta-nav {
    background: var(--accent);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(244, 121, 32, 0.3);
}

.btn-cta-nav:hover {
    background: #e0650d;
    transform: translateY(-2px);
}

/* NOVO: Botão de Login no Header */
.btn-login-nav {
    border: 2px solid rgba(26, 38, 90, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-login-nav:hover {
    border-color: var(--primary);
    background: rgba(26, 38, 90, 0.05);
    color: var(--primary) !important;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 5%;
    text-align: center;
    border-bottom-right-radius: 80px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cta {
    background-color: var(--accent);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(244, 121, 32, 0.4);
    transition: all 0.3s;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 13px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta:hover,
.btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* --- Estrutura Padrão de Seções --- */
.section-padrao {
    padding: 80px 5%;
}

.bg-light {
    background-color: white;
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Grid de Produtos --- */
/* --- Grid de Produtos Otimizado --- */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Sombra mais suave e espalhada */
    border: none;
    /* Remove borda velha */
    display: flex;
    flex-direction: column;
    /* transition: transform 0.3s ease;  -- removido hover de mover o card todo */
}

/* Browser Window Mockup Style for Image */
.image-container {
    position: relative;
    height: auto;
    background: #f0f0f0;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

/* Barra de título do "Navegador" */
.image-container::before {
    content: '•••';
    font-size: 24px;
    letter-spacing: 2px;
    color: #bbb;
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 10;
    line-height: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 35px;
    /* Espaço para a barra do navegador fake */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    /* Sombra interna sutil */
}

.card-body {
    padding: 40px;
    text-align: center;
}

.tech-tag {
    background: rgba(0, 163, 182, 0.1);
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.card-body h3 {
    color: var(--primary);
    margin: 10px 0 20px 0;
    font-size: 2rem;
    font-weight: 800;
}

.card-body p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(26, 38, 90, 0.2);
}

.btn-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 163, 182, 0.3);
}

/* Botão Play do Video mais moderno */
.btn-play-video {
    position: absolute;
    top: 55%;
    /* Um pouco abaixo do centro por causa da barra */
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.btn-play-video:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(244, 121, 32, 0.5);
}

.btn-play-video i {
    margin-left: 5px;
}

/* Ajuste visual do icone play */

/* --- Quem Somos --- */
.split-screen {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-screen>div {
    flex: 1;
}

.lista-vantagens {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.lista-vantagens li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-vantagens i {
    color: var(--secondary);
}

.image-block img {
    width: 100%;
    height: auto;
}

/* --- Seção Contato --- */
.container-contato {
    display: flex;
    gap: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contato-info {
    background: var(--primary);
    color: white;
    padding: 60px 40px;
    flex: 1;
}

.contato-info h2 {
    font-size: 2rem;
    margin-top: 0;
}

.contato-info p {
    opacity: 0.8;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--accent);
}

.contato-form {
    padding: 60px 40px;
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

.full-width {
    width: 100%;
}

/* --- Footer --- */
footer {
    background: #111;
    color: #aaa;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.footer-col h3 {
    color: white;
    margin-top: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
    background: black;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* --- Mobile Responsivo --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .split-screen,
    .container-contato,
    .footer-content {
        flex-direction: column;
        display: flex;
    }

    nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-cta,
    .btn-outline {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-top: 80px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--primary);
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: #f8f9fa;
    color: var(--secondary);
}


/* --- Cookie Consent Banner (LGPD) --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Começa escondido */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-top: 4px solid var(--secondary);
}

.cookie-content {
    max-width: 800px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cookie-content h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
    font-size: 1rem;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-accept-cookies {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-reject-cookies {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-accept-cookies:hover {
    background: var(--secondary);
}

.btn-reject-cookies:hover {
    border-color: #999;
    color: #333;
}

.cookie-banner.show {
    bottom: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}