/* =========================================
   PAGE CONTENT (FADE IN)
   ========================================= */
#pageContent {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

#pageContent.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================
   1. HERO A1 MINI (FIXED)
   ========================================= */
.p2s-hero {
    width: 100%;
    height: 100vh;
    background: url('../img/video-a1-mini.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.p2s-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.p2s-content {
    max-width: 600px;
    margin-left: 80px;
    position: relative;
    z-index: 2;
}

.p2s-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.p2s-subtitle {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-p2s-buy {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #556B7D;
    color: #fff;
    padding: 12px 12px 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-p2s-buy:hover {
    background-color: #3d4f5d;
    transform: scale(1.05);
}

.arrow-circle {
    width: 40px;
    height: 40px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
/* =========================================
   2. PROJETOS FULLSCREEN (ANIMATION 10S)
   ========================================= */
.projects-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-header {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.fs-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.fs-header h2 span { color: var(--primary-color, #ff6b00); }

.fs-header p {
    color: #bbb;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.proj-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.proj-slide.active { opacity: 1; z-index: 2; }

.proj-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.proj-glass-box {
    position: relative;
    z-index: 3;
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.proj-time {
    display: inline-block;
    background: var(--primary-color, #ff6b00);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.proj-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.proj-desc {
    font-size: clamp(16px, 2vw, 18px);
    color: #ddd;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.proj-slide.show-title .proj-time,
.proj-slide.show-title .proj-title { opacity: 1; transform: translateY(0); }
.proj-slide.show-text .proj-desc { opacity: 1; transform: translateY(0); }

.fs-dots-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 10;
}

/* =========================================
   3. ESPECIFICAÇÕES TÉCNICAS (FUNDO ESCURO)
   ========================================= */
.specs-section {
    background-color: var(--bg-dark, #0A0A0A);
    padding: 100px 0;
    overflow: hidden;
    color: var(--text-white, #ffffff);
}

.specs-header { text-align: center; margin-bottom: 50px; }

.specs-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.specs-title span { color: var(--primary-color, #ff6b00); }

.specs-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray, #cccccc);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.specs-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.specs-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px 40px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.specs-carousel::-webkit-scrollbar { display: none; }

.spec-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.spec-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 0, 0.3);
}

.spec-card:hover .orange-glow { box-shadow: 0 0 30px rgba(255, 107, 0, 0.4); }
.spec-card:hover .blue-glow { box-shadow: 0 0 30px rgba(52, 152, 219, 0.4); }

.spec-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}

.spec-icon-box span { font-size: 32px; }
.orange-glow span { color: var(--primary-color, #ff6b00); }
.blue-glow span { color: #3498db; }

.spec-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.spec-card-sub {
    font-size: 0.95rem;
    color: var(--primary-color, #ff6b00);
    font-weight: 600;
    margin-bottom: 25px;
    min-height: 40px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spec-list li {
    font-size: 0.95rem;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.spec-list li span {
    color: #2ecc71;
    font-size: 20px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: -2px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--primary-color, #ff6b00);
    border-color: var(--primary-color, #ff6b00);
}

.nav-btn span { font-size: 28px; }
.prev-btn { left: 0px; }
.next-btn { right: 0px; }

.mini-cta-box {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 60px auto 0 auto;
}

.mini-cta-box.cta-bottom { margin: 0 auto; } /* Usado no CTA Final */

.mini-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.mini-cta-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-gray, #ccc);
    position: relative;
    z-index: 1;
}

/* =========================================
   4. COMPARATIVO A1 MINI vs A1 MINI COMBO
   ========================================= */
.compare-a1 {
    background-color: #f8f9fa;
    padding: 100px 5%;
    width: 100%;
}

.compare-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compare-title {
    font-size: 40px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

.compare-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 800px;
    font-weight: 400;
}

.compare-subtitle strong {
    color: var(--primary-color);
    font-weight: 800;
}

.compare-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    flex-wrap: wrap;
}

.comp-card {
    background: #fff;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.comp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.comp-badge {
    background: #222;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 6px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.comp-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-top: 20px;
    margin-bottom: 30px;
}

.comp-product-title {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
}

.comp-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 20px;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.comp-price-main { font-size: 28px; font-weight: 900; color: #000; }
.comp-price-installments { font-size: 14px; font-weight: 500; color: #888; }

.comp-price-pix {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
}

/* =========================================
   SEÇÃO DE GARANTIA E CTA FINAL
   ========================================= */
.warranty-section {
    padding: 80px 0;
    background: #0a0a0a;
    color: var(--text-white, #fff);
}

.warranty-box {
    padding: 60px;
    text-align: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.warranty-header { margin-bottom: 50px; }
.warranty-main-icon { font-size: 60px; color: var(--primary-color, #ff6b00); margin-bottom: 20px; display: block; }

.warranty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.warranty-item { padding: 20px; }
.warranty-item span { font-size: 40px; color: var(--primary-color, #ff6b00); margin-bottom: 15px; display: block; }
.warranty-item h4 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; font-weight: 800; }

.warranty-alert-box {
    background: rgba(255, 107, 0, 0.05);
    border: 1px dashed rgba(255, 107, 0, 0.3);
    padding: 30px 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.warranty-alert-title { color: var(--primary-color, #ff6b00); margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; }
.warranty-alert-box p { font-size: 0.95rem; color: #ddd; line-height: 1.6; margin: 0; }
.warranty-alert-box strong { color: var(--primary-color, #ff6b00); }
.warranty-list { text-align: left; display: inline-block; color: #ddd; font-size: 0.95rem; margin: 15px 0 20px 20px; line-height: 1.8; }
.warranty-list li { list-style-type: disc; }

.cta-final-section { padding: 60px 0 100px 0; background-color: var(--bg-dark); }
.cta-final-title { color: #fff; font-size: 2.2rem; margin-bottom: 15px; font-weight: 900; position: relative; z-index: 1; }

.specs-buttons { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 35px; position: relative; z-index: 1; }

.btn-cta-orange {
    background: var(--primary-color, #ff6b00); color: white; border: none;
    padding: 18px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 900;
    cursor: pointer; transition: 0.3s; box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}
.btn-cta-orange:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255, 107, 0, 0.6); }

.btn-outline-white {
    background: transparent; border: 2px solid rgba(255, 255, 255, 0.2); color: white;
    padding: 16px 32px; border-radius: 50px; font-size: 1.1rem; font-weight: 700;
    transition: 0.3s; cursor: pointer;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }

/* SISTEMA DE INDICADORES (BOLINHAS) */
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; width: 100%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: 0.3s ease; }
.dot.active { background: var(--primary-color, #ff6b00); width: 25px; border-radius: 10px; }
.dots-dark .dot { background: rgba(255, 255, 255, 0.3); }
.dots-dark .dot.active { background: var(--primary-color, #ff6b00); }


/* =========================================
   RESPONSIVIDADE GERAL
   ========================================= */
@media (max-width: 1024px) {
    .p2s-hero { justify-content: flex-start; align-items: center; }
    .p2s-content { margin-left: 60px; max-width: 420px; text-align: left; }
    .fs-header { top: 120px; }
}

@media (max-width: 768px) {
    .p2s-hero {
        justify-content: center;
        text-align: center;
        background-position: 65% center;
    }

    .p2s-hero::before {
        background: rgba(255, 255, 255, 0.3); /* Overlay claro para o mobile, sem gradiente para não manchar o fundo */
    }

    .p2s-content {
        margin: 0;
        max-width: 90%;
        padding: 40px 25px;
        background: rgba(255, 255, 255, 0.4); 
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

   .p2s-content {
    max-width: 600px;
    margin-left: 80px;
    position: relative;
    z-index: 2;
}

.p2s-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -2px;
}


    .btn-p2s-buy { justify-content: center; width: 100%; }

    /* Projetos Fullscreen */
    .fs-header { top: 100px; }
    .fs-header h2 { font-size: 24px; }
    .fs-header p { font-size: 14px; }
    .proj-glass-box { padding: 40px 25px; margin-top: 100px; }
    .proj-title { font-size: 24px; }
    .proj-desc { font-size: 15px; }

    /* Specs & Garantia */
    .spec-card { flex: 0 0 85vw; padding: 30px 20px; }
    .nav-btn { display: none; }

    .mini-cta-box { padding: 40px 20px; border-radius: 16px; margin: 60px 20px 0 20px; width: auto; }
    .mini-cta-box p { font-size: 1rem; }
    .mini-cta-box h3 { font-size: 1.6rem !important; }
    .cta-final-title { font-size: 1.6rem !important; }
    .specs-buttons { flex-direction: column; width: 100%; }
    .specs-buttons button { width: 100%; justify-content: center; }

    .warranty-box { padding: 40px 20px; }
    .warranty-grid { gap: 20px; }
    .warranty-main-icon { font-size: 50px; }
    .warranty-alert-box { padding: 25px 20px; }

    /* Ajustes Comparativo Mobile */
    .compare-a1 { padding: 60px 5%; }
    .compare-title { font-size: 28px; }
    .compare-subtitle { font-size: 15px; margin-bottom: 40px; }
    .compare-grid { gap: 30px; }
    .comp-card { padding: 30px 20px; }
    .comp-image { height: 180px; }
}

@media (max-width: 480px) {
    .p2s-title {
        font-size: 28px;
        letter-spacing: 0px; /* Zera totalmente o espaçamento negativo em telas minúsculas */
    }

    .p2s-subtitle { font-size: 15px; }
}