/* ============================================
   MOZ+ WEBSITE - CUSTOM STYLES
   Design: Vibrant Marketplace (Material 3 + Super App)
   Colors: Blue (Services), Green (Real Estate), Orange (Shops), Purple (Transport)
   Fonts: Plus Jakarta Sans (headings), Nunito (body)
   ============================================ */

/* ===== VARIABLES ===== */
:root {
    --color-primary: #0d47a1;
    --color-primary-light: #1565c0;
    --color-primary-lighter: #64b5f6;
    --color-services: #1565c0;
    --color-realestate: #2e7d32;
    --color-shops: #e65100;
    --color-transport: #6a1b9a;
    --color-dark: #0a1929;
    --color-text: #1a1a2e;
    --color-text-muted: #6b7280;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

/* ===== NAVBAR ===== */
#mainNavbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary);
}

#mainNavbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

#mainNavbar.scrolled .nav-link {
    color: var(--color-text);
}

#mainNavbar .nav-link:hover {
    color: var(--color-primary-lighter);
}

#mainNavbar.scrolled .nav-link:hover {
    color: var(--color-primary);
}

.btn-download {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
}

.btn-download:hover {
    background: var(--color-primary-light);
    color: white;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

#mainNavbar.scrolled .navbar-toggler-icon {
    filter: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.92) 0%, rgba(21, 101, 192, 0.75) 100%);
}

.min-vh-90 {
    min-height: 90vh;
}

.z-2 {
    z-index: 2;
}

.badge-super-app {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.text-highlight {
    color: var(--color-primary-lighter);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid #eee;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* ===== PILARES SECTION ===== */
.pilares-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.pillar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    height: 100%;
}

.pillar-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pillar-card[data-color="blue"] { border-left-color: var(--color-services); }
.pillar-card[data-color="green"] { border-left-color: var(--color-realestate); }
.pillar-card[data-color="orange"] { border-left-color: var(--color-shops); }
.pillar-card[data-color="purple"] { border-left-color: var(--color-transport); }

.pillar-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon img {
    transform: scale(1.05);
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pillar-card[data-color="blue"] .pillar-title { color: var(--color-services); }
.pillar-card[data-color="green"] .pillar-title { color: var(--color-realestate); }
.pillar-card[data-color="orange"] .pillar-title { color: var(--color-shops); }
.pillar-card[data-color="purple"] .pillar-title { color: var(--color-transport); }

.pillar-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== COMO FUNCIONA SECTION ===== */
.como-funciona-section {
    padding: 5rem 0;
    background: white;
}

.custom-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-body);
    background: #f1f5f9;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e2e8f0;
}

.tab-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.tab-contents {
    max-width: 600px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-item p {
    margin: 0;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

/* ===== SUBSCRIÇÕES SECTION ===== */
.subscricoes-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.subscription-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subscription-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.subscription-card[data-color="blue"] { border-top-color: var(--color-services); }
.subscription-card[data-color="green"] { border-top-color: var(--color-realestate); }
.subscription-card[data-color="orange"] { border-top-color: var(--color-shops); }
.subscription-card[data-color="purple"] { border-top-color: var(--color-transport); }

.sub-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.subscription-card[data-color="blue"] .sub-title { color: var(--color-services); }
.subscription-card[data-color="green"] .sub-title { color: var(--color-realestate); }
.subscription-card[data-color="orange"] .sub-title { color: var(--color-shops); }
.subscription-card[data-color="purple"] .sub-title { color: var(--color-transport); }

.sub-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.sub-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sub-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.sub-features li i {
    font-size: 0.9rem;
    margin-top: 2px;
}

.subscription-card[data-color="blue"] .sub-features li i { color: var(--color-services); }
.subscription-card[data-color="green"] .sub-features li i { color: var(--color-realestate); }
.subscription-card[data-color="orange"] .sub-features li i { color: var(--color-shops); }
.subscription-card[data-color="purple"] .sub-features li i { color: var(--color-transport); }

.sub-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.period-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
}

.stars {
    margin-bottom: 0.75rem;
}

.stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.accordion-item {
    border: none;
    background: white;
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 1.25rem 1.5rem;
    background: white;
    box-shadow: none !important;
}

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

.accordion-button::after {
    width: 1.25rem;
    height: 1.25rem;
    background-size: 1.25rem;
}

.accordion-body {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    filter: blur(60px);
    background: rgba(255, 255, 255, 0.1);
}

.cta-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    filter: blur(80px);
    background: rgba(255, 255, 255, 0.08);
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-buttons .btn {
    font-weight: 600;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.75rem;
    }
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    .cta-buttons .btn.me-3 {
        margin-right: 0 !important;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-contact li i {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
    padding: 9rem 0 5rem;
    color: white;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.legal-breadcrumb {
    margin-bottom: 1.5rem;
}

.legal-breadcrumb a,
.legal-breadcrumb .breadcrumb-item,
.legal-breadcrumb .breadcrumb-item.active,
.legal-breadcrumb .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.78);
}

.legal-title {
    max-width: 800px;
    margin-bottom: 1rem;
    font-size: 3rem;
    color: white;
}

.legal-subtitle {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
}

.legal-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.legal-intro,
.legal-note {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

.legal-note {
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: center;
}

.legal-intro h2,
.legal-note h2 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    color: var(--color-primary);
}

.legal-intro p,
.legal-note p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.legal-list {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
    gap: 1rem;
}

.legal-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
}

.legal-number {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
}

.legal-card h2 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-text);
}

.legal-card p {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-table-wrapper {
    margin-top: 1rem;
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    min-width: 640px;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: white;
}

.legal-table th,
.legal-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--color-text);
    font-size: 0.88rem;
    vertical-align: top;
}

.legal-table th {
    background: #f1f5f9;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 7rem 0 3.5rem;
    }

    .legal-title {
        font-size: 2.1rem;
    }

    .legal-card,
    .legal-intro,
    .legal-note {
        padding: 1.25rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ===== UTILITIES ===== */
.position-relative {
    position: relative;
}
