/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
}

.landing-wrap {
    font-family: 'Inter', sans-serif;
    color: #111827;
    background: #fff;
    overflow-x: hidden;
}

/* ── Navbar ── */
.lp-nav-outer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .25s, box-shadow .25s;
}

.lp-nav-outer.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
}

.lp-nav-outer:not(.scrolled) {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(243, 244, 246, 0.8);
}

.lp-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lp-nav-logo-icon {
    width: 36px;
    height: 36px;
    background: #1d4ed8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-nav-logo-name {
    font-weight: 800;
    font-size: 18px;
    color: #111827;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lp-nav-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color .15s, background .15s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.lp-nav-link:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.04);
}

.lp-nav-cta {
    background: #1d4ed8 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    margin-left: 8px;
    transition: background .15s, transform .1s !important;
}

.lp-nav-cta:hover {
    background: #1e40af !important;
    transform: translateY(-1px);
}

/* ── Hambúrguer ── */
.lp-ham-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    color: #374151;
    font-size: 20px;
    transition: background .15s;
    align-items: center;
    justify-content: center;
}

.lp-ham-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* ── Mobile menu ── */
.lp-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px 20px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lp-mobile-menu.open {
    display: flex;
}

.lp-mobile-link {
    font-size: 15px;
    color: #374151;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: background .15s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.lp-mobile-link:hover {
    background: #f3f4f6;
}

.lp-mobile-cta {
    background: #1d4ed8 !important;
    color: #fff !important;
    font-weight: 700 !important;
    margin-top: 8px;
    text-align: center !important;
    display: block;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 15px;
}

/* ── Sections ── */
.lp-section {
    padding: 80px 24px;
}

.lp-section-sm {
    padding: 60px 24px;
}

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
}

.lp-container-sm {
    max-width: 700px;
    margin: 0 auto;
}

.lp-section-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.lp-section-sub {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Feature grid ── */
.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Plans grid ── */
.lp-plans-grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

/* ── Testimonials grid ── */
.lp-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Footer grid ── */
.lp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

/* ── Hero buttons ── */
.lp-hero-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lp-nav-links {
        display: none;
    }

    .lp-ham-btn {
        display: flex;
    }

    .lp-feat-grid {
        grid-template-columns: 1fr;
    }

    .lp-plans-grid {
        grid-template-columns: 1fr !important;
    }

    .lp-test-grid {
        grid-template-columns: 1fr;
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-section {
        padding: 56px 16px;
    }

    .lp-section-sm {
        padding: 40px 16px;
    }

    .lp-plan-featured {
        transform: none !important;
    }

    .lp-hero-btns a,
    .lp-hero-btns button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .lp-feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── FAQ details ── */
details summary::-webkit-details-marker {
    display: none;
}

details[open] summary .lp-faq-icon {
    transform: rotate(180deg);
}

.lp-faq-icon {
    transition: transform .2s;
}

/* ── Scroll padding for fixed nav ── */
section[id] {
    scroll-margin-top: 72px;
}

/* ── Tabela de Comparação de Planos ── */
.lp-comparison-outer {
    margin-top: 56px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.lp-comparison-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    padding: 24px 32px;
    border-bottom: 1.5px solid #e5e7eb;
    background: #fdfdfd;
}

.lp-comparison-table-wrap {
    overflow-x: auto;
}

.lp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.lp-comparison-table th {
    text-align: left;
    background: #f9fafb;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    border-bottom: 1.5px solid #e5e7eb;
}

.lp-comparison-table td {
    padding: 16px 24px;
    font-size: 13.5px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s;
}

.lp-comparison-table tr:last-child td {
    border-bottom: none;
}

.lp-comparison-table tr:hover td {
    background: #fafafa;
}

.lp-comparison-feature-name {
    font-weight: 600;
    color: #111827;
}

.lp-comparison-value-ok {
    color: #16a34a;
    font-size: 16px;
}

.lp-comparison-value-no {
    color: #d1d5db;
    font-size: 16px;
}

@media (max-width: 768px) {
    .lp-comparison-outer {
        margin-top: 40px;
        border-radius: 12px;
    }
    .lp-comparison-title {
        padding: 16px 20px;
        font-size: 16px;
    }
    .lp-comparison-table th, 
    .lp-comparison-table td {
        padding: 12px 16px;
        font-size: 12.5px;
    }
}

/* ── Login Form Dropdown & Modal Styles ── */
.lp-nav-login-btn {
    font-size: 14px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-nav-login-btn:hover {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}



.lp-mobile-login-btn {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #dbeafe !important;
    font-weight: 700 !important;
    margin-top: 8px;
    text-align: center !important;
    display: block;
    text-decoration: none;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}

.lp-mobile-login-btn:hover {
    background: #dbeafe !important;
}

.lp-nav-login-container {
    position: relative;
    display: inline-block;
}

/* Desktop Floating Menu */
.lp-login-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    animation: lpFadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Arrow for Desktop Dropdown */
.lp-login-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

/* Mobile Modal Overlay */
.lp-login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: lpFadeIn 0.2s ease-out forwards;
}

/* Mobile Modal Box */
.lp-login-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: lpScaleIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
}

/* Modal Close Button */
.lp-login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 6px;
    border-radius: 8px;
    font-size: 16px;
    transition: color 0.15s, background-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-login-modal-close:hover {
    color: #374151;
    background-color: #f3f4f6;
}

/* Shared Login Form styling */
.lp-login-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.lp-login-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

.lp-login-form-group {
    margin-bottom: 16px;
    text-align: left;
}

.lp-login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lp-login-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.lp-login-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.lp-login-btn {
    width: 100%;
    padding: 11px;
    background-color: #1d4ed8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.1s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lp-login-btn:hover {
    background-color: #1e40af;
}

.lp-login-btn:active {
    transform: scale(0.98);
}

.lp-login-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.lp-login-error {
    margin-top: 12px;
    padding: 8px 12px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b91c1c;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Animations */
@keyframes lpFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lpFadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lpScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
