/* =========================================
   VARIÁVEIS DE TEMA (CSS Variables)
   ========================================= */
:root {
    /* Tema Claro (Padrão) */
    --lp-bg-body: #ffffff;
    --lp-bg-surface: #f8f9fa;
    --lp-text-main: #212529;
    --lp-text-muted: #6c757d;
    --lp-border: #dee2e6;
    --lp-primary: #0d6efd;
    --lp-primary-hover: #0b5ed7;
    --lp-card-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --lp-hero-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --lp-timeline-line: #dee2e6;
}

/* Tema Escuro */
[data-theme="dark"] {
    --lp-bg-body: #121212;
    --lp-bg-surface: #1e1e1e;
    --lp-text-main: #e0e0e0;
    --lp-text-muted: #a0a0a0;
    --lp-border: #333333;
    --lp-primary: #3d8bfd;
    --lp-primary-hover: #5c9eff;
    --lp-card-shadow: 0 4px 6px rgba(0,0,0,0.5);
    --lp-hero-gradient: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    --lp-timeline-line: #444;
}

/* =========================================
   ESTRUTURA GERAL
   ========================================= */
.landing-page-wrapper {
    background-color: var(--lp-bg-body);
    color: var(--lp-text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-bottom: 50px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Correção Solicitada: Bordas Arredondadas */
    border-radius: 12px;
    overflow: hidden;
}

.landing-section {
    padding: 60px 0;
}

.landing-section.alt-bg {
    background-color: var(--lp-bg-surface);
}

.section-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--lp-text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--lp-primary);
    margin: 15px auto 0;
}

/* =========================================
   HERO SECTION (Topo)
   ========================================= */
.lp-hero {
    background: var(--lp-hero-gradient);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--lp-text-main);
}

.lp-price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lp-primary);
    margin: 20px 0;
}

.lp-hero-img-container img {
    border-radius: 12px;
    box-shadow: var(--lp-card-shadow);
    transition: transform 0.3s ease;
}

.lp-hero-img-container img:hover {
    transform: scale(1.02);
}

/* =========================================
   THEME SWITCHER (Botão Flutuante)
   ========================================= */
.theme-switcher {
    position: fixed;
    bottom: 200px;
    right: 20px;
    /* Correção Solicitada: Z-Index alto para aparecer sobre tudo */
    z-index: 10000;
    background: var(--lp-bg-surface);
    border: 1px solid var(--lp-border);
    padding: 10px;
    border-radius: 30px;
    box-shadow: var(--lp-card-shadow);
    display: flex;
    gap: 10px;
}

.theme-btn {
    border: none;
    background: transparent;
    color: var(--lp-text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.2s;
}

.theme-btn:hover {
    background-color: rgba(128,128,128,0.1);
    color: var(--lp-primary);
}

.theme-btn.active {
    background-color: var(--lp-primary);
    color: #fff;
}

/* =========================================
   GALERIA
   ========================================= */
.lp-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.lp-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.lp-thumb:hover, .lp-thumb.active {
    border-color: var(--lp-primary);
    opacity: 1;
}

/* =========================================
   FEATURES (Grid)
   ========================================= */
.feature-card {
    background: var(--lp-bg-surface);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--lp-border);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp-card-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--lp-primary);
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--lp-text-main);
    font-weight: 600;
}

.feature-card p {
    color: var(--lp-text-muted);
}

/* =========================================
   ROADMAP (Timeline)
   ========================================= */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Mobile first: linha na esquerda */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--lp-timeline-line);
}

.roadmap-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.roadmap-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lp-bg-surface);
    border: 3px solid var(--lp-text-muted);
    z-index: 2;
}

.roadmap-item.completed .roadmap-marker {
    border-color: #28a745;
    background: #28a745;
}

.roadmap-item.progress .roadmap-marker {
    border-color: #ffc107;
    background: #ffc107;
}

.roadmap-content {
    background: var(--lp-bg-surface);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--lp-border);
}

.roadmap-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.roadmap-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
    color: #fff;
}

.status-completed { background-color: #28a745; }
.status-progress { background-color: #ffc107; color: #333; }
.status-pending { background-color: var(--lp-text-muted); }

/* Ajuste Timeline Desktop */
@media (min-width: 768px) {
    .roadmap-timeline::before {
        left: 50%;
    }
    .roadmap-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
        margin-left: 0;
        text-align: right;
    }
    .roadmap-item:nth-child(even) {
        margin-left: 50%;
        padding-right: 0;
        padding-left: 40px;
        text-align: left;
    }
    .roadmap-marker {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =========================================
   CONTEÚDO CKEDITOR
   ========================================= */
.lp-description-content {
    color: var(--lp-text-main);
    line-height: 1.8;
}
.lp-description-content img {
    max-width: 100%;
    height: auto;
}