/* ============================================== */
/* FONTES E ESTILOS GERAIS                      */
/* ============================================== */
@font-face {
    font-family: 'Aldo PC';
    src: url('../assets/Aldo PC.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Marlin Geo SQ Medium';
    src: url('../assets/marlin-geo-sq-medium.otf') format('opentype');
    font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Marlin Geo SQ Medium', sans-serif;
    background-color: #1f093d;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden; /* Garante que não haja scroll horizontal na página inteira */
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-background-1, .section-background-2, .section-background-3, .section-background-5 { position: relative; z-index: 1; width: 100vw; left: 50%; transform: translateX(-50%); padding: 5rem 0; }
.section-background-1::before, .section-background-2::before, .section-background-3::before, .section-background-5::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background-size: cover; background-position: center; background-attachment: fixed; }
.section-background-1::before { background-image: linear-gradient(rgba(31, 9, 61, 0.9), rgba(31, 9, 61, 0.9)), url('../assets/bg-abstract-1.jpg'); }
.section-background-2::before { background-image: linear-gradient(rgba(17, 5, 36, 0.95), rgba(17, 5, 36, 0.95)), url('../assets/bg-abstract-2.jpg'); }
.section-background-3::before { background-image: linear-gradient(rgba(31, 9, 61, 0.9), rgba(31, 9, 61, 0.9)), url('../assets/bg-abstract-3.jpg'); }
.section-background-5::before { background-image: linear-gradient(rgba(17, 5, 36, 0.98), rgba(17, 5, 36, 0.98)), url('../assets/bg-abstract-4.jpg'); }

/* ============================================== */
/* HEADER E BOTÕES                              */
/* ============================================== */
.header { min-height: 100vh; padding: 2rem 5%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; overflow: hidden; }
.gif-background, .gif-background-mobile { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; }
.gif-background img, .gif-background-mobile img { width: 100vw; height: 100vh; object-fit: cover; }
.gif-background-mobile { display: none; }
.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(rgba(31, 9, 61, 0.7), rgba(31, 9, 61, 0.9)); 
    z-index: -1; 
}
nav { position: absolute; top: 0; left: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 10;}
nav .logo { max-width: 150px; }
.header-content { padding: 3rem 1rem; max-width: 950px; width: 90%; position: relative; z-index: 5; }
.header-content h1 { font-family: 'Aldo PC', sans-serif; font-size: 4.5rem; color: #FFFFFF; text-transform: uppercase; margin-bottom: 1rem; font-weight: normal; }
.header-content p, .header-content .subtitle { font-family: 'Marlin Geo SQ Medium', sans-serif; font-size: 1.2rem; max-width: 700px; margin: 0 auto 1.5rem auto; opacity: 0.9; }
.header-content .subtitle { margin-bottom: 2rem; }
.scroll-arrow { position: absolute; bottom: 60px; font-size: 2rem; color: #FFFFFF; animation: bounce 2s infinite; z-index: 5;}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-10px); } }
.button-link { text-decoration: none; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; text-transform: uppercase; font-family: 'Aldo PC', sans-serif; font-weight: normal; background: linear-gradient(145deg, #be93fd, #703787); color: #ffffff; padding: 14px 28px; font-size: 1.2rem; border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.4); position: relative; z-index: 5;}
.button-link:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(190, 147, 253, 0.5); }
.nav-button { padding: 10px 22px; font-size: 1rem; border: none; background: linear-gradient(145deg, #be93fd, #703787); }
.nav-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(190, 147, 253, 0.5); color: #ffffff; }
.pulse-button { animation: pulse 2.5s infinite; margin-top: 2.5rem; }
@keyframes pulse { 0% { transform: scale(1); } 70% { transform: scale(1.05); } 100% { transform: scale(1); } }
.video-tour { text-align: center; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.video-tour h2 { font-family: 'Aldo PC', sans-serif; font-size: 3rem; color: #FFFFFF; margin-bottom: 2.5rem; }
.video-wrapper { position: relative; width: 95%; max-width: 1300px; margin: 0 auto; }  
.video-wrapper iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 15px; border: 3px solid black; }

/* ============================================== */
/* CARROSSEL SPLIDE.JS                            */
/* ============================================== */
.carousel-section { 
    position: relative; 
    padding: 3rem 0; 
    /* ### CORREÇÃO DO BOTÃO FLUTUANTE ### */
    overflow-x: hidden; /* Impede que o conteúdo interno cause scroll horizontal na seção */
}
.carousel-section h2 { font-family: 'Aldo PC', sans-serif; font-size: 2.5rem; color: #FFFFFF; margin-bottom: 1rem; line-height: 1.4; text-align: center; }
.splide { padding: 2rem 0; overflow: visible; /* Mantém visível para o efeito coverflow */ }
.splide__slide { display: flex; flex-direction: column; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: opacity 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; transform: scale(0.95); }
.splide__slide:not(.is-active) { opacity: 0.4; }
.splide__slide.is-active { opacity: 1; transform: scale(1); box-shadow: 0 0 40px rgba(190, 147, 253, 0.7); }
.splide__slide .card-title-bg { background-color: #be93fd; padding: 1rem; color: #1f093d; flex-shrink: 0; display: flex; align-items: center; justify-content: center; min-height: 35%; }
.splide__slide .card-title-bg h3 { font-family: 'Aldo PC', sans-serif; font-size: 1.3rem; text-align: center; margin: 0; line-height: 1.3; font-weight: normal; }
.splide__slide .card-body-bg { background-color: #703787; padding: 1.2rem; color: white; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.splide__slide .card-body-bg p { font-size: 0.9rem; text-align: center; margin: 0; line-height: 1.5; font-weight: normal; }
.splide__arrow { background: rgba(255, 255, 255, 0.1); width: 45px; height: 45px; }
.splide__arrow svg { fill: #FFFFFF; }
.splide__arrow:hover svg { fill: #be93fd; }
.splide__pagination { bottom: -1rem; }
.splide__pagination__page { background: #703787; }
.splide__pagination__page.is-active { background: #be93fd; }
.features .container { max-width: 1400px; padding: 0 3%; }
.features .row { 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
    margin-bottom: 5rem; 
    margin-left: auto; 
    margin-right: auto; 
}
.features .text-col { 
    flex-basis: 50%; 
    text-align: left; 
}
.features .row:nth-child(even) { 
    flex-direction: row-reverse; 
}
.features .row:nth-child(even) .text-col { 
    text-align: right; 
}
.features .img-col { 
    flex-basis: 50%; 
    display: flex; 
    justify-content: flex-end; 
}
.features .row:nth-child(even) .img-col { 
    justify-content: flex-start; 
}

.features h2 { font-size: 3rem; color: #FFFFFF; margin-bottom: 1rem; font-family: 'Aldo PC', sans-serif; line-height: 1.2; }
.features p { font-size: 1.2rem; font-family: 'Marlin Geo SQ Medium', sans-serif; }
.gif-frame { border-radius: 15px; border: 3px solid black; max-width: 450px; width: 100%; overflow: hidden; box-shadow: 0px 0px 25px rgba(190, 147, 253, 0.6); transition: box-shadow 0.3s ease; line-height: 0; }
.gif-frame:hover { box-shadow: 0px 0px 35px rgba(190, 147, 253, 0.8); }
.features .img-col img { width: 100%; height: auto; display: block; }
.faq { max-width: 800px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; font-family: 'Aldo PC', sans-serif;}
.accordion-item { margin-bottom: 10px; }
.accordion-item-header { 
    background: linear-gradient(260deg, #703787, #4d265d); 
    padding: 15px 20px; 
    font-size: 1.3rem; 
    cursor: pointer; 
    position: relative; 
    font-family: 'Aldo PC', sans-serif; 
    border-radius: 10px; 
    transition: border-radius 0.3s ease; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}
.accordion-item-header::after { 
    content: '+'; 
    font-size: 2rem; 
    color: #FFFFFF; 
    transition: transform 0.3s ease; 
}
.accordion-item.active .accordion-item-header { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.accordion-item.active .accordion-item-header::after { transform: rotate(45deg); }
.accordion-item-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; background: #2c125c; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; padding: 0 20px; }
.accordion-item-content { 
    padding: 20px; 
    font-size: 1.1rem; 
    line-height: 1.3; 
}
.accordion-item-content p {
    margin-bottom: 0.6rem; 
}
.accordion-item-content ul { list-style-position: inside; padding-left: 10px; margin-top: 1rem; }
.accordion-item-content li { margin-bottom: 0.5rem; }
.footer { text-align: center; }
.footer h2 { font-size: 2.5rem; margin-bottom: 1rem; font-family: 'Aldo PC', sans-serif;}
.footer p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.footer .footer-info { margin-top: 3rem; opacity: 0.8; }
.footer .footer-info p { margin-bottom: 0.3rem; font-size: 0.9rem; line-height: 1.5; }
.footer-logo { max-width: 100px; margin: 0.5rem auto 0 auto; }
.scrollButton-wrapper { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 400px; text-align: center; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; pointer-events: none; }
.scrollButton-wrapper.visible { opacity: 1; visibility: visible; }
.scrollButton { 
    display: inline-block; 
    width: 100%; 
    padding: 12px 20px; 
    background: linear-gradient(145deg, #be93fd, #703787); 
    color: #fff; 
    border: none; 
    border-radius: 50px; 
    cursor: pointer; 
    font-size: 1.3rem; 
    font-family: 'Aldo PC', sans-serif; 
    font-weight: normal; 
    text-decoration: none; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
    text-transform: uppercase; 
    pointer-events: all; 
}

/* ============================================== */
/* RESPONSIVIDADE                                 */
/* ============================================== */
@media (max-width: 992px) {
    .features .row { gap: 2rem; }
    .video-tour { min-height: auto; padding: 5rem 0; }
}

@media (max-width: 768px) {
    .gif-background { display: none; }
    .gif-background-mobile { display: block; }
    .header { justify-content: center; padding-top: 0; }
    .header-content { margin-top: 5vh; }
    .header-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .header-content p, .header-content .subtitle { font-size: 0.9rem; max-width: 95%; line-height: 1.4; margin-bottom: 1rem; }
    .nav-button { padding: 8px 18px; font-size: 0.9rem; }
    .scroll-arrow { display: block; }
    
    .features .container { padding: 0 5%; }
    .features .row { flex-direction: column !important; gap: 2rem; }
    .features .row .text-col { order: 1; text-align: center !important; } 
    .features .row .img-col { order: 2; justify-content: center !important; }
    .features h2 { font-size: 2.2rem; }
    .features p { font-size: 1.1rem; }
    .video-tour h2, .carousel-section h2, .features h2, .faq h2, .footer h2 { font-size: 2rem; }
    .scrollButton-wrapper { width: 90%; max-width: none; } /* Ajusta wrapper do botão flutuante */
    .scrollButton { font-size: 1.1rem; } 
    .accordion-item-content { font-size: 1rem; line-height: 1.3; } 
    
    .splide { height: auto; min-height: 0; padding-top: 1rem; padding-bottom: 3rem; padding-left: 5%; padding-right: 5%;} 
    .splide__track { overflow: visible; } 
    .splide__list { padding: 0 !important; } 
    .splide__slide { width: 80%; min-width: 0; height: auto; aspect-ratio: 1080 / 1350; }
    .splide__slide .card-title-bg h3 { font-size: 1.1rem; }
    .splide__slide .card-body-bg p { font-size: 0.8rem; }
    .splide__pagination { bottom: 0rem; } 
}

/* ### REGRAS PARA TELAS MUITO PEQUENAS (Ex: 360px) ### */
@media (max-width: 400px) {
    .header-content h1 { font-size: 2.1rem; }
    .header-content p, .header-content .subtitle { font-size: 0.85rem; }
    .button-link { padding: 10px 20px; font-size: 0.9rem; }
    .nav-button { padding: 5px 14px; font-size: 0.8rem;}
    .video-tour h2, .carousel-section h2, .features h2, .faq h2, .footer h2 { font-size: 1.7rem; }
    .features h2 { font-size: 1.7rem; }
    .features p { font-size: 0.95rem; }
    .splide__slide { width: 85%; } 
    .splide__slide .card-title-bg h3 { font-size: 0.9rem; }
    .splide__slide .card-body-bg p { font-size: 0.7rem; }
    .accordion-item-header { font-size: 1rem; padding: 12px 15px;}
    .accordion-item-header::after { font-size: 1.8rem; }
    .accordion-item-content { font-size: 0.85rem; }
    .scrollButton { font-size: 1rem; }
}