/* ===== CSS DA LANDING PAGE ===== */
/* Arquivo centralizado para facilitar manutenção */

:root {
    --primary-color: #85B4F2;
    /* Azul principal */
    --primary-color-2: #88ABF2;
    /* Azul secundário */
    --secondary-color: #595959;
    /* Cinza escuro */
    --muted-color: #BFBFBF;
    /* Cinza claro */
    --dark-color: #01bbab;
    /* Preto */
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #85B4F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
.navbar-landing {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: #555 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Otimização navbar mobile */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar-nav .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color-2) 0%, var(--primary-color) 100%);
    color: #0D0D0D;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15rem;
    opacity: 0.15;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

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

/* Otimização: reduz movimento em hover para mobile */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    color: #555;
}

.feature-card li {
    margin: 0.5rem 0;
}

/* ===== ROADMAP SECTION ===== */
.roadmap-section {
    background: #f8f9fa;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-marker {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-marker .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h5 {
    color: #222;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-title {
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-amount .currency {
    font-size: 1.2rem;
}

.pricing-amount .period {
    font-size: 1rem;
    color: #666;
}

.pricing-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
    flex-grow: 1;
    color: #666;
}

.pricing-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color-2) 0%, var(--primary-color) 100%);
    color: var(--dark-color);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary,
.btn-outline-primary {
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--dark-color);
    color: #fff;
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #595959;
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* Acessibilidade: foco visível */
:focus-visible {
    outline: 2px dashed var(--primary-color);
    outline-offset: 2px;
}

/* Reduzir movimentos para usuários que preferem menos animações */
@media (prefers-reduced-motion: reduce) {
    .hero-image {
        animation: none;
    }

    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: #fff;
    color: #000;
    padding: .5rem 1rem;
    border-radius: .25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    z-index: 1100;
}

/* Toast container */
.toast-container-wrapper {
    z-index: 1080;
}

.toast-message {
    min-width: 320px;
}

/* Estilo do botão MercadoPago */
.blue-button {
    background-color: #3483FA;
    color: white;
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: Arial, sans-serif;
    border: none;
    cursor: pointer;
}

.blue-button:hover {
    background-color: #2a68c8;
    color: white;
}

/* ===== RESPONSIVE ===== */
/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-image {
        font-size: 8rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline-marker {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-amount {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

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

/* Mobile pequeno */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .pricing-amount {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }
}

