/* Legal Pages Unified CSS */
.legal-page-wrapper {
    min-height: 100vh;
    background-color: #020617;
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.legal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #020617 70%);
    z-index: 0;
    pointer-events: none;
}

.legal-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Wide container for About Us */
.legal-container.wide {
    max-width: 1200px;
}

/* Hero Section */
.legal-hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
}

.brand-title {
    font-family: 'Ethnocentric', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.brand-title .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Color Highlights */
.highlight-orange { color: #f97316; background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.highlight-green { color: #10b981; background: linear-gradient(135deg, #10b981 0%, #059669 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.highlight-blue { color: #3b82f6; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.last-updated {
    color: #64748b;
    font-size: 0.9rem;
}

.hero-divider {
    width: 100px;
    height: 4px;
    margin: 2rem auto 0;
}
.hero-divider.orange { background: linear-gradient(90deg, transparent, #f97316, transparent); }
.hero-divider.green { background: linear-gradient(90deg, transparent, #10b981, transparent); }
.hero-divider.blue { background: linear-gradient(90deg, transparent, #3b82f6, transparent); }

/* Content Section */
.legal-content {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-left: 4px solid;
    padding-left: 1rem;
}
.legal-section h2.text-orange { border-color: #ea580c; color: #f97316; }
.legal-section h2.text-green { border-color: #059669; color: #10b981; }
.legal-section h2.text-blue { border-color: #2563eb; color: #3b82f6; }

.legal-section p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-list li {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
}
.legal-list.list-orange li::before { color: #f97316; }
.legal-list.list-green li::before { color: #10b981; }
.legal-list.list-blue li::before { color: #3b82f6; }

/* Buttons */
.legal-landing-cta {
    display: flex;
    justify-content: center;
}

.mega-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff !important;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    border: 2px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    /* Removed mirror effect */
}

.mega-button:hover {
    transform: scale(1.05) translateY(-2px);
    filter: brightness(1.1);
}

.mega-button:active {
    transform: scale(0.98);
}

/* Button Variants */
.btn-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.5);
}
.btn-orange:hover { box-shadow: 0 20px 30px -10px rgba(234, 88, 12, 0.8); }

.btn-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.5);
}
.btn-green:hover { box-shadow: 0 20px 30px -10px rgba(5, 150, 105, 0.8); }

.btn-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.5);
}
.btn-blue:hover { box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.8); }


/* Hide Navbar */
.rr-navbar {
    display: none !important;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-content { padding: 1.5rem; }
    .brand-title { font-size: 1.75rem; }
    .mega-button { 
        width: 100%; 
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* =========================================
   About Us (Sobre Nós) Specific Styles
   ========================================= */

.brand-tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #94a3b8;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0 auto;
    max-width: 600px;
}

/* Mission */
.mission-section {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.mission-text h2 {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.mission-text strong {
    color: #f97316;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.5s; }
.feature-card:nth-child(2) { animation-delay: 0.7s; }
.feature-card:nth-child(3) { animation-delay: 0.9s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Trust Section */
.trust-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-info h4 {
    color: #10b981;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.trust-info p {
    color: #fff;
    font-size: 0.8rem;
    margin: 0;
}

.trust-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
    color: #fff;
    font-size: 0.8rem;
}

.trust-meta span {
    white-space: nowrap;
}

.trust-desc {
    color: #64748b;
    font-size: 0.9rem;
    max-width: 400px;
}

@media (max-width: 767px) {
    .trust-meta {
        gap: 0.5rem;
        font-size: 0.72rem;
    }
}

/* Light theme */
body.light .legal-page-wrapper {
    background-color: #fff7ed;
    color: #4a2a1a;
}

body.light .legal-background {
    background:
        radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.2) 0%, rgba(255, 237, 213, 0.92) 42%, #fff7ed 78%);
}

body.light .brand-title {
    background: linear-gradient(135deg, #7c2d12 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light .last-updated,
body.light .brand-tagline,
body.light .feature-card p,
body.light .legal-section p,
body.light .legal-list li,
body.light .feature-list li,
body.light .trust-desc {
    color: #8b5e3c;
}

body.light .mission-text h2,
body.light .feature-card h3 {
    color: #4a2a1a;
}

body.light .mission-text p {
    color: #6b4a35;
}

body.light .mission-text strong {
    color: #c2410c;
}

body.light .legal-content,
body.light .feature-card,
body.light .trust-section {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(234, 88, 12, 0.14);
    box-shadow: 0 16px 40px rgba(194, 65, 12, 0.1);
}

body.light .feature-card:hover {
    box-shadow: 0 24px 44px rgba(194, 65, 12, 0.14);
    border-color: rgba(234, 88, 12, 0.22);
}

body.light .card-glow {
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 62%);
}

body.light .legal-section h2.text-orange {
    border-color: #ea580c;
    color: #c2410c;
}

body.light .legal-section h2.text-green {
    border-color: #059669;
    color: #047857;
}

body.light .legal-section h2.text-blue {
    border-color: #2563eb;
    color: #1d4ed8;
}

body.light .trust-badge {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(5, 150, 105, 0.18);
}

body.light .trust-info p,
body.light .trust-meta {
    color: #5f3b22;
}
