@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    background-color: #1e1e1e;
    color: #fff;
    overflow-x: hidden;
    font-size: 18px;
}

/* === TIPOGRAFIA PADRONIZADA === */
h2, .features h2, .text-col h2, .carousel-section h2 {
    font-size: 36px ; 
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.faq-title {
    color: #00c6ff !important;
    text-transform: none;
}

p, li, .header-content h3, .header-subtitle-italic, .accordion-item-content p, .text-col p {
    font-size: 18px !important;
    line-height: 1.6;
}

/* === HEADER === */
.header {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 10px 8%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.background-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; background-color: #000;
}

.bg-media {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    z-index: 1; pointer-events: none;
}

nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; position: relative; z-index: 10; width: 100%;
}

.logo { width: 180px; }

.nav-rounded-btn {
    text-decoration: none; border: none; outline: none;
    background: linear-gradient(260deg, rgba(34, 205, 228, 1) 0%, rgba(56, 155, 235, 1) 100%);
    color: #fff; padding: 10px 30px; font-size: 14px;
    border-radius: 50px; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s;
}
.nav-rounded-btn:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 198, 255, 0.5); }

.header-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    text-align: center; width: 90%; max-width: 900px; z-index: 10;
}

.header-content h1 {
    font-size: 32px !important;
    line-height: 1.2; font-weight: 700; margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); color: #fff;
}

/* REGRA PARA O SUBTÍTULO EM AZUL */
.header-content h1 strong { 
    display: block; 
    margin-top: 25px; 
    color: #00c6ff; 
}

.header-content h3 {
    font-weight: 300; margin-bottom: 20px; text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.header-subtitle-italic {
    margin-bottom: 20px; font-weight: 300; font-style: italic; opacity: 0.9;
}

.button-link-hero {
    border: none; outline: none;
    background: linear-gradient(260deg, rgb(16, 196, 219) 0%, rgba(56, 155, 235, 1) 100%);
    color: #fff; padding: 15px 35px; font-size: 16px; font-weight: 600;
    border-radius: 8px; cursor: pointer; box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}
.button-link-hero:hover { transform: scale(1.05); }

.scroll-arrow {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 10; animation: bounce 2s infinite;
}
.arrow { font-size: 30px; color: #00c6ff; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* === FEATURES (Geral) === */
.features {
    border-top: 3px solid #363636; padding: 40px 10%; background-color: #1e1e1e;
}

.features-centered {
    padding: 60px 12% !important; 
}

.features h2 strong { color: #00c6ff; }

.row {
    display: flex; align-items: center; flex-wrap: wrap;
    justify-content: space-between; gap: 40px;
}

.text-col, .img-col { flex: 1; min-width: 300px; }
.text-col p { font-weight: 300; }

.video-wrapper, .feature-img {
    width: 100%; border-radius: 20px; overflow: hidden;
    border: 3px solid #00c6ff; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.video-wrapper video, .feature-img { width: 100%; height: auto; display: block; }

.img-row-spacing { margin-bottom: 40px; }
.text-content-spacing { margin-top: 30px; }

/* === BADGES === */
.badges-container-custom {
    display: flex; flex-direction: column; align-items: center;
    gap: 15px; margin-bottom: 40px;
}
.badge-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.badge {
    border: 1px solid #00c6ff; color: #fff; padding: 8px 20px;
    border-radius: 50px; font-size: 14px; transition: background 0.3s;
}
.badge:hover { background: rgba(0, 198, 255, 0.2); cursor: default; }

/* === CARROSSEL === */
.carousel-section {
    background-color: #1e1e1e; padding: 40px 0; overflow: hidden;
    border-top: 3px solid #363636;
}
.carousel-container {
    overflow: hidden; padding: 20px 0;
    white-space: nowrap; position: relative;
}
.carousel-container::before, .carousel-container::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none;
}
.carousel-container::before { left: 0; background: linear-gradient(to right, #1e1e1e, transparent); }
.carousel-container::after { right: 0; background: linear-gradient(to left, #1e1e1e, transparent); }

.carousel-track {
    display: flex; gap: 30px; width: max-content;
    animation: scroll-infinite 15s linear infinite;
}
.carousel-container:hover .carousel-track { animation-play-state: paused; }

.carousel-card {
    background: #2b2b2b; border: 2px solid #00c6ff; border-radius: 15px; padding: 25px;
    min-width: 280px; max-width: 350px; display: flex; align-items: center; gap: 15px;
    font-size: 16px; font-weight: 500; color: #fff; white-space: normal;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s, background-color 0.3s;
}
.carousel-card:hover {
    transform: scale(1.05); background-color: #333; border-color: #fff; cursor: default;
}
.carousel-card i { color: #00c6ff; font-size: 20px; flex-shrink: 0; }

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === BOTÃO PULSE === */
.cta-wrapper { text-align: center; margin-top: 20px; }
.pulse-button-large {
    display: inline-block; text-decoration: none;
    background: linear-gradient(260deg, rgb(16, 196, 219) 0%, rgba(56, 155, 235, 1) 100%);
    color: white; padding: 20px 40px; font-size: 20px; font-weight: bold;
    border-radius: 50px; box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7);
    animation: pulse-blue 2s infinite;
}
@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(0, 198, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 198, 255, 0); }
}

/* === SIMULADOR === */
.simulator-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px;
}
.sim-item {
    flex: 1; min-width: 320px; 
    max-width: 450px; 
    background: #2b2b2b;
    border-radius: 15px; padding: 25px; border-top: 5px solid #444;
}

.sim-item h4 {
    font-size: 16px; 
    font-weight: 700;
    white-space: nowrap; 
    overflow: hidden;    
    text-overflow: ellipsis; 
    text-align: center; 
}

.sim-item.highlight {
    border-top: 5px solid #00c6ff; background: linear-gradient(to bottom, #2b2b2b, #15202b);
}
.sim-item ul { list-style: none; }
.sim-item li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #444;
}
.sim-item li:last-child { border-bottom: none; }
.sim-item li strong { text-align: right; }

/* === FAQ === */
.container-narrow { max-width: 800px; margin: 0 auto; }
.faq-container { max-width: 800px; margin: 0 auto; }

.accordion {
    list-style: none; margin: 20px auto; width: 100%; border-radius: 20px;
}

.accordion-item {
    list-style: none; width: 100%; padding: 5px; border-radius: 20px;
}

.accordion-item-header {
    color: #fff; display: flex; align-items: center; padding: 20px;
    font-size: 17px; font-weight: 300;
    background: linear-gradient(260deg, rgb(56, 56, 56) 0%, rgb(26, 26, 26) 100%);
    margin-bottom: 2px; cursor: pointer; position: relative; border-radius: 20px;
}

.accordion-item-header::after {
    content: '\002B'; font-size: 20px; position: absolute; right: 20px; transition: transform 0.3s;
}
.accordion-item.open .accordion-item-header::after { transform: rotate(45deg); }

.accordion-item-body {
    max-height: 0; font-size: 17px; font-weight: 300; color:#fff;
    border-radius: 20px;
    background: linear-gradient(260deg, rgb(56, 56, 56) 0%, rgb(26, 26, 26) 100%);
    text-align: left; padding: 0 20px; overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.accordion-item-content { padding: 20px 0; }

.accordion-item.open .accordion-item-body {
    max-height: 1500px; padding: 0 20px;
}

/* === FOOTER === */
.footer {
    text-align: center; 
    padding: 50px 10%; 
    padding-bottom: 120px;
    background-color: #1a1a1a; 
    border-top: 3px solid #363636;
    display: flex; 
    flex-direction: column; 
    align-items: center;
}

.logogs img { 
    width: 150px; 
    margin: 0 auto 30px; 
    display: block; 
}

.footer-legal {
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 7px;
    line-height: 1.8;
}

.termos-link {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 25px;
}

.termos-link:hover {
    color: #00c6ff; cursor: pointer;
}

.footer-logo-grupo {
    width: 200px;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#scrollButton {
    position: fixed; bottom: -80px; left: 50%; transform: translateX(-50%);
    width: 80%; max-width: 400px; padding: 15px;
    background: linear-gradient(260deg, rgba(34, 205, 228, 1) 0%, rgba(56, 155, 235, 1) 100%);
    color: #fff; border: none; border-radius: 50px; font-size: 16px; font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); cursor: pointer; z-index: 1000;
    transition: bottom 0.4s ease;
}
#scrollButton.show { bottom: 20px; }

/* === RESPONSIVIDADE (MOBILE CORRIGIDO DEFINITIVO) === */
@media only screen and (max-width: 768px) {
    /* HEADER */
    .header { 
        height: auto; 
        min-height: auto; 
        padding: 10px 5% 40px 5%; 
        justify-content: flex-start;
        align-items: center; 
        display: flex;
        flex-direction: column;
    }
    
    nav { 
        margin-top: 0; 
        margin-bottom: 20px;
        justify-content: space-between; 
        width: 100%; 
    }
    
    .header-content {
        position: relative; 
        transform: none; 
        top: 0; left: 0; 
        margin: 0 auto; 
        padding-bottom: 0; 
        width: 100%; 
        text-align: center;
        display: flex; 
        flex-direction: column; 
        align-items: center;
    }
    .header-content h1 { font-size: 22px !important; margin-bottom: 10px; }
    .header-content h3 { font-size: 16px !important; margin-bottom: 10px; }
    
    .scroll-arrow { display: none; }

    /* SEÇÕES */
    .features { padding: 30px 5%; }
    .features-centered { padding: 30px 5% !important; }
    
    .row { 
        flex-direction: column; 
        gap: 20px; 
    }
    
    /* CORREÇÃO DO BURACO NEGRO: Força altura automática */
    .img-col { 
        width: 100%; 
        text-align: center; 
        margin: 0; 
        padding: 0;
        flex: 0 0 auto !important; 
    }
    
    /* ESPAÇAMENTO CONTROLADO */
    .img-row-spacing { margin-bottom: 20px !important; } 
    .badges-container-custom { margin-top: 10px !important; } 
    .text-content-spacing { margin-top: 20px !important; } 
    
    .feature-img { margin-bottom: 0; } 
    
    /* TÍTULOS CENTRALIZADOS */
    h2 { 
        margin-bottom: 15px; 
        font-size: 25px !important;
        text-align: center !important; /* Centraliza todos os títulos */
    }
    
    .cta-wrapper { margin-top: 15px; }
    
    .simulator-grid { flex-direction: column; align-items: center; gap: 20px; }
    .badge-row { flex-direction: column; gap: 5px; }
    .badge { width: 100%; display: block; margin-bottom: 5px; }
    .carousel-card { min-width: 220px; font-size: 14px; padding: 20px; }
    
    .sim-item h4 { white-space: normal; } 
    
}

@media only screen and (max-width: 421px) {
    h2 { 
        font-size: 22px !important;
    }
}