/* ============================================================
   Veo Energia - Main Stylesheet
   Consolidates all custom styles from the original pages
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Hero Section Colors */
    --veo-blue-primary: #10529F;
    --veo-blue-accent: #009FE3;
    --veo-blue-dark: #0A366B;
    --trust-blue: #1A3A5C;
    --solar-yellow: #FFB800;
    --text-dark: #1F2937;

    /* How It Works Section Colors */
    --azul-celeste: #00AEEF;
    --azul-confianca: #0B2B4A;
    --primary-light: #e0f2fe;
    --text-gray: #6B7280;
}

/* --- Base Styles --- */
body {
    font-family: 'Inter', sans-serif;
}

/* --- Hero Section --- */
.hero-bg-overlay {
    background: linear-gradient(90deg, rgba(16, 82, 159, 0.95) 0%, rgba(16, 82, 159, 0.8) 50%, rgba(16, 82, 159, 0.3) 100%);
}

/* --- How It Works Section --- */
.step-line::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #E5E7EB 10%, #E5E7EB 90%, transparent);
    z-index: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.gradient-brand {
    background: linear-gradient(135deg, var(--azul-confianca) 0%, #1a3a5c 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, var(--azul-celeste) 0%, #0090C5 100%);
}

/* --- Testimonials Section --- */
.material-symbols-outlined-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- FAQ Section --- */
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

/* ============================================================
   Mobile Responsiveness Fix - Comparison Table Section
   "Condições — Painéis Solares Próprios Com VEO Energia"
   ============================================================ */
@media (max-width: 767px) {
    /* Make the comparison table scroll horizontally on mobile */
    #section-comparativo .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }

    /* Convert table to card layout on mobile */
    #section-comparativo table {
        display: block;
        width: 100%;
    }

    #section-comparativo thead {
        display: none;
    }

    #section-comparativo tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    #section-comparativo tbody tr {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 0.75rem;
        border: 1px solid #e2e8f0;
        overflow: hidden;
    }

    #section-comparativo tbody tr td {
        display: flex;
        flex-direction: column;
        padding: 1rem !important;
        border-bottom: 1px solid #f1f5f9;
    }

    #section-comparativo tbody tr td:first-child {
        background: #f8fafc;
        font-weight: 700;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #475569;
        padding: 0.75rem 1rem !important;
    }

    #section-comparativo tbody tr td:nth-child(2)::before {
        content: 'Painéis Solares Próprios';
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #94a3b8;
        margin-bottom: 0.5rem;
    }

    #section-comparativo tbody tr td:nth-child(3)::before {
        content: 'Com VEO Energia ✓';
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #1978e5;
        margin-bottom: 0.5rem;
    }

    /* Fix the VEO column highlight borders for mobile */
    #section-comparativo tbody tr td:nth-child(3) .absolute {
        display: none;
    }

    #section-comparativo tbody tr td:nth-child(3) {
        background: rgba(25, 120, 229, 0.03);
        border-left: 3px solid #1978e5;
    }

    #section-comparativo tbody tr td:last-child {
        border-bottom: none;
    }

    /* Fix the CTA area below the table */
    #section-comparativo .flex.flex-col.md\\:flex-row {
        text-align: center;
    }

    #section-comparativo .flex.flex-col.md\\:flex-row button {
        min-width: auto;
        width: 100%;
    }
}
