/* =========================================
   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 H2S
   ========================================= */
.p2s-hero {
    width: 100%;
    height: 100vh;
    background: url('../img/video-h2s.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.4);
}

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

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

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

/* Botão Padrão Oficial */
.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: 800;
    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: #fff;
    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.6);
    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);
}

/* Glow Effects Oficiais */
.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;
}

/* =========================================
   SISTEMA DE INDICADORES (BOLINHAS/DOTS)
   ========================================= */
.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);
}

/* =========================================
   4. ÁREA DE AÇÃO E CTA PADRÃO
   ========================================= */
.specs-action-area {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.specs-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.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;
}

.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);
}

.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;
}

.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);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* =========================================
   SEÇÃO DE GARANTIA PADRONIZADA (TIGER TECH)
   ========================================= */
.warranty-section {
    padding: 80px 0;
    background: transparent;
    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;
}

/* =========================================
   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: 70% center;
    }

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

    .p2s-title {
        font-size: 32px;
        color: #fff;
    }

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

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

    /* 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: 0 20px;
        width: auto;
    }

    .mini-cta-box p {
        font-size: 1rem;
    }

    .mini-cta-box h3 {
        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;
    }
}

@media (max-width: 480px) {
    .p2s-title {
        font-size: 26px;
    }

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