/* ==============================================================================
   Primefix Estruturas Solares — Design System White Premium (Vidyo.ai & Apple Style)
   Estética Limpa, Fundo Branco, Auras Suaves, Bordas Finas e Tipografia de Alto Padrão
   ============================================================================== */

:root {
    --bg-white: #FFFFFF;
    --bg-canvas: #FAFAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-subtle: #94A3B8;
    --border-light: #F1F5F9;
    --border-hover: #E2E8F0;
    --solar-gold: #FFC700;
    --solar-gold-hover: #E5B300;
    --solar-amber: #F59E0B;
    --brand-blue: #1D5BFF;
    --brand-navy: #000C38;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
}

/* 1. Efeitos de Fundo & Auras Suaves (Hero Ambient Aura) */
.hero-ambient-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(255, 199, 0, 0.12) 0%, rgba(29, 91, 255, 0.07) 35%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events-none;
    z-index: 0;
}

.hero-concentric-ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 50%;
    pointer-events-none;
    z-index: 0;
}

.hero-concentric-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 950px;
    height: 950px;
    border: 1px solid rgba(241, 245, 249, 0.7);
    border-radius: 50%;
    pointer-events-none;
    z-index: 0;
}

/* 2. Header Flutuante Clean Glass */
.header-glass-white {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* 3. Botões no Padrão da Referência (Pill Shape) */
.btn-pill-dark {
    background: #0F172A;
    color: #FFFFFF;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pill-dark:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
    color: #FFFFFF;
}

.btn-pill-white {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pill-white:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.btn-pill-gold {
    background: #FFC700;
    color: #0F172A;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(255, 199, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pill-gold:hover {
    background: #FFD533;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 199, 0, 0.45);
}

/* 4. White Cards com Gradiente Superior Suave (Estilo da Referência) */
.white-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.white-card:hover {
    transform: translateY(-4px);
    border-color: #E2E8F0;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.card-preview-wash {
    background: linear-gradient(135deg, rgba(255, 199, 0, 0.12) 0%, rgba(29, 91, 255, 0.06) 100%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. Carrossel de Produtos com Fade Branco nas Pontas */
.carousel-mask-white {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scrollProducts 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollProducts {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 6. Slider para Tema Branco */
input[type="range"].simulator-slider-white {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 9999px;
    outline: none;
}

input[type="range"].simulator-slider-white::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFC700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 199, 0, 0.5), 0 0 0 3px #FFFFFF;
    border: 2px solid #0F172A;
    transition: transform 0.15s ease;
}

input[type="range"].simulator-slider-white::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"].simulator-slider-white::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFC700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 199, 0, 0.5), 0 0 0 3px #FFFFFF;
    border: 2px solid #0F172A;
    transition: transform 0.15s ease;
}

/* 7. Accordion FAQ Clean White */
details.faq-item {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 1.25rem;
    transition: all 0.25s ease;
}

details.faq-item[open] {
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

/* 8. Selos e Badges */
.badge-pill-subtle {
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}

.badge-pill-gold {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}

/* 9. Hero Card com Vídeo de Fundo, Papel Celofane Azul e H1 em Camadas */
.hero-video-banner-card {
    position: relative;
    border-radius: 2.25rem;
    overflow: hidden;
    background: #000C38;
    box-shadow: 0 25px 60px -15px rgba(0, 12, 56, 0.25), 0 0 0 1px rgba(29, 91, 255, 0.2) inset;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .hero-video-banner-card {
        border-radius: 2.75rem;
    }
}

/* Efeito Papel Celofane Azul Translúcido Sobreposto ao Vídeo */
.cellophane-blue-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 15, 65, 0.82) 0%,
        rgba(15, 75, 235, 0.64) 50%,
        rgba(0, 12, 56, 0.88) 100%
    );
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    pointer-events: none;
}

/* Brilho e Textura de Película de Celofane */
.cellophane-sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(0, 10, 40, 0.45) 100%
    );
    pointer-events: none;
}

/* Pílulas de Vídeo no Banner Celofane */
.hero-video-banner-card .video-pill-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-banner-card .video-pill-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.hero-video-banner-card .video-pill-btn .pill-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    transition: all 0.2s ease;
}

.hero-video-banner-card .video-pill-btn.active-pill {
    background: #FFC700 !important;
    border-color: #FFC700 !important;
    box-shadow: 0 4px 15px rgba(255, 199, 0, 0.35);
}

.hero-video-banner-card .video-pill-btn.active-pill span {
    color: #0F172A !important;
    font-weight: 800;
}

.hero-video-banner-card .video-pill-btn.active-pill .pill-badge {
    background: #0F172A !important;
    color: #FFC700 !important;
}

/* ==============================================================================
   Simulador Interativo de Telhados e Kits
   ============================================================================== */
.roof-btn {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.roof-btn * {
    pointer-events: none;
}



