/* --- Configuração Global e Variáveis [cite: Lexor Landing Page Design/src/styles/globals.css, Lexor Landing Page Design/src/index.css] --- */
:root {
    --background: #F9FAFB;
    /* slate-50 */
    --foreground: #0F172A;
    /* slate-900 */
    --card: #ffffff;
    --card-foreground: #0F172A;
    --primary: #0B1E3D;
    --primary-foreground: #ffffff;
    --primary-hover: #1E3A5F;
    --secondary: #00BFA6;
    --secondary-foreground: #0F172A;
    --muted: #E2E8F0;
    /* slate-200 */
    --muted-foreground: #475569;
    /* slate-600 */
    --accent: #FFD600;
    --border: #E2E8F0;
    /* slate-200 */
}

/* --- Lógica de Idioma --- */
/* Esconde o inglês por defeito (quando lang="pt-br") */
html[lang="pt-br"] [lang="en"] {
    display: none;
}

/* Esconde o português quando lang="en" */
html[lang="en"] [lang="pt-br"] {
    display: none;
}

/* Garante que o inglês é mostrado quando lang="en" */
html[lang="en"] [lang="en"] {
    display: inline;
    /* 'inline' funciona para a maioria dos textos */
}

/* Casos especiais onde 'block' é necessário */
html[lang="en"] h1 [lang="en"],
html[lang="en"] h2 [lang="en"],
html[lang="en"] h3 [lang="en"],
html[lang="en"] p [lang="en"],
html[lang="en"] .metric-value [lang="en"],
html[lang="en"] .stat-label [lang="en"],
html[lang="en"] .cert-level [lang="en"],
html[lang="en"] .cta-label [lang="en"],
html[lang="en"] .modal-header h2 [lang="en"],
html[lang="en"] .modal-header p [lang="en"],
html[lang="en"] .modal-form-group label [lang="en"],
html[lang="en"] .modal-form-group option [lang="en"],
html[lang="en"] .modal-footer-text [lang="en"] {
    display: block;
}


/* --- Reset Básico --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 134px;
    padding-right: 134px;
}

.btn {
    height: 36px;
    padding: 0 16px;
    border-radius: 0.5rem;
    /* 8px */
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    display: inline-flex;
    /* Adicionado para alinhar span */
    align-items: center;
    /* Adicionado para alinhar span */
    justify-content: center;
    /* Adicionado para alinhar span */
}

.btn-ghost {
    background-color: #f1f5f9;
    /* slate-100 */
    color: #0f172a;
    /* slate-900 */
    border: 1px solid var(--border);
    /* Adicionado para corresponder ao design */
}

.btn-ghost:hover {
    background-color: #e2e8f0;
    /* slate-200 */
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0 24px;
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--foreground);
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0 10px 15px -3px rgba(0, 191, 166, 0.2), 0 4px 6px -4px rgba(0, 191, 166, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #00D4B5;
}

.btn-large {
    height: 56px;
    /* h-14 */
    padding: 0 40px;
    /* px-10 */
    font-size: 16px;
}

/* --- 1. Navbar [cite: Lexor Landing Page Design/src/components/Navbar.tsx] --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    /* 80px */
}

.logo {
    font-size: 28px;
    letter-spacing: 0.07px;
    color: var(--primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2rem;
    /* 48px */
}

.nav-links a {
    font-size: 15px;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.3125px;
}

.nav-links a:hover {
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* 24px */
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* 12px */
}

/* --- Estilos do Dropdown de Idioma --- */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* 8px */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--foreground);
    font-weight: 500;
}

.lang-icon {
    color: var(--muted-foreground);
    width: 15px;
    height: 15px;
}

.lang-dropdown-menu {
    display: none;
    /* Controlado por JS */
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    /* 8px */
    background-color: var(--card);
    border-radius: 0.75rem;
    /* 12px */
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    /* 8px */
    width: 160px;
    z-index: 60;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* 12px */
    background: none;
    border: none;
    width: 100%;
    padding: 0.5rem 0.75rem;
    /* 8px 12px */
    font-size: 14px;
    text-align: left;
    border-radius: 0.5rem;
    /* 8px */
    cursor: pointer;
    color: var(--foreground);
}

.lang-option:hover {
    background-color: var(--background);
    /* slate-50 */
}

.lang-option .lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
}

.lang-option.active .lang-dot {
    background-color: var(--secondary);
}

.lang-option.active {
    font-weight: 600;
}

/* --- 2. Hero [cite: Lexor Landing Page Design/src/components/Hero.tsx] --- */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--primary);
    color: white;
    overflow: hidden;
    padding-top: 5rem;
    /* 80px para a navbar */
}

.hero-container {
    padding-top: 8rem;
    /* 128px */
    padding-bottom: 6rem;
    /* 96px */
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    /* 64px */
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* 32px */
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -1.1px;
    font-weight: 700;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    /* slate-400 */
    letter-spacing: -0.45px;
}

.hero-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    /* 16px */
}

.visual-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    /* 16px */
    padding: 1rem;
    /* 16px */
    backdrop-filter: blur(4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* 8px */
    font-size: 14px;
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
    /* 12px */
}

.card-header span {
    font-size: 14px;
    width: 2rem;
    height: 2rem;
    border-radius: 0.75rem;
    /* background-color: rgba(0, 191, 166, 0.2); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    background-color: rgba(30, 58, 95, 0.3);
    border-radius: 0.75rem;
    /* 12px */
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* --- 3. Value Metrics [cite: Lexor Landing Page Design/src/components/ValueMetrics.tsx] --- */
.value-metrics {
    background-color: var(--primary);
    padding: 2rem 0;
    margin-top: -2rem;
    /* -mt-8 */
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    /* 48px */
}

.metric-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* 16px */
}

.metric-icon-bg {
    width: 3rem;
    /* 48px */
    height: 3rem;
    /* 48px */
    border-radius: 1rem;
    /* 16px */
    background-color: rgba(255, 255, 255, 0.51);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon {
    width: 1.5rem;
    /* 24px */
    height: 1.5rem;
    /* 24px */
    color: white;
    opacity: 0.5;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    /* 48px */
    letter-spacing: 0.41px;
    margin-bottom: 0.5rem;
    /* 8px */
}

.metric-description {
    font-size: 16px;
    color: #cbd5e1;
    /* slate-300 */
    line-height: 1.5;
    /* 24px */
}

/* --- 4. Seções Genéricas (Solution, Modules) --- */
.section {
    padding: 6rem 0;
    /* py-24 */
}

.section-light-gray {
    background-color: var(--background);
    /* bg-gray-50 */
}

.section-light {
    background-color: var(--card);
    /* bg-white */
}

.section-dark-solid {
    background-color: var(--primary);
    /* bg-[#0B1E3D] */
}

.section-dark-gradient {
    background: linear-gradient(to bottom, #0B1E3D, #0F2847, #0B1E3D);
    padding: 8rem 0;
    /* Corrigido de 6rem para 8rem (py-32) */
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    /* 64px */
    align-items: center;
}

.section-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* 24px */
}

.section-text h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.63px;
    color: var(--foreground);
}

.section-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.badge-light {
    display: inline-flex;
    background-color: rgba(11, 30, 61, 0.1);
    padding: 0.25rem 1rem;
    /* px-4 py-1 */
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    width: fit-content;
}

.badge-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 191, 166, 0.2);
    border: 1px solid rgba(0, 191, 166, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    width: fit-content;
}

.badge-dark svg {
    width: 1rem;
    height: 1rem;
}


.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* 12px */
    padding-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 1.5rem;
    /* 24px */
    height: 1.5rem;
    border-radius: 9999px;
    background-color: rgba(0, 191, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1rem;
    /* 16px */
    height: 1rem;
    color: var(--secondary);
}

.feature-item span {
    font-size: 16px;
    color: var(--foreground);
}

.visual-wrapper-light {
    background-color: var(--card);
    border-radius: 1rem;
    /* 16px */
    padding: 2rem;
    /* 32px */
    border: 1px solid var(--border);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.visual-wrapper-light img {
    border-radius: 1rem;
    overflow: hidden;
    width: 100%;
    height: 377px;
    object-fit: cover;
}

/* --- 5. Compliance Visual (Conformidade) [cite: Lexor Landing Page Design/src/components/ComplianceVisual.tsx] --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    /* 64px */
}

.section-header .badge-light,
.section-header .badge-dark {
    margin: 0 auto 1.5rem;
    /* mb-6 */
}

.section-header h2 {
    margin-bottom: 1.5rem;
    /* mb-6 */
}

.section-header p {
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
}

.text-white {
    color: white;
}

.text-slate-400 {
    color: #94a3b8;
}

.certification-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    /* 24px */
    margin-bottom: 4rem;
    /* 64px */
}

.cert-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    /* 16px */
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.cert-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cert-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(0, 191, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.cert-name {
    font-size: 14px;
    color: #94a3b8;
}

.cert-level {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.regulations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    /* Corresponde ao mb-12 */
}

.regulation-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.regulation-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 191, 166, 0.3);
}

.regulation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.regulation-badge {
    display: inline-block;
    background-color: rgba(0, 191, 166, 0.2);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.regulation-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.regulation-card p {
    font-size: 14px;
    color: #94a3b8;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.progress-area {
    margin-bottom: 1rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 0.5rem;
}

.progress-labels span:first-child {
    color: #94a3b8;
}

.progress-labels .progress-percent {
    color: var(--secondary);
    font-weight: 600;
}

.progress-bar {
    height: 0.5rem;
    /* 8px */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #00E5C3);
    border-radius: 9999px;
}

.progress-bar-warning {
    background: linear-gradient(90deg, #FFD600, #FFA500);
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.check-item svg {
    color: var(--secondary);
}

.check-item.item-pending svg {
    color: rgba(255, 255, 255, 0.5);
}

.check-item.item-pending {
    color: rgba(255, 255, 255, 0.5);
}

/* ADICIONADO: Estilos para Atividades Recentes */
.activity-feed {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    /* Corresponde ao mt-12 */
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.activity-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.badge-activity {
    font-size: 14px;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(0, 191, 166, 0.2);
    color: var(--secondary);
}

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

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.activity-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.activity-icon-wrapper {
    width: 2.5rem;
    /* 40px */
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon-wrapper.success {
    background-color: rgba(0, 191, 166, 0.2);
    color: var(--secondary);
}

.activity-icon-wrapper.pending {
    background-color: rgba(255, 214, 0, 0.2);
    color: var(--accent);
}

.activity-icon-wrapper svg {
    width: 1.25rem;
    /* 20px */
    height: 1.25rem;
}

.activity-text p {
    font-size: 14px;
    color: white;
    margin-bottom: 0.25rem;
}

.activity-text span {
    font-size: 12px;
    color: #64748b;
    /* slate-500 */
}

/* FIM DOS ESTILOS ADICIONADOS */

.stats-bar {
    margin-top: 3rem;
    /* 48px */
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(0, 191, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.stat-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.5;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
}

/* --- 6. Modules Grid [cite: Lexor Landing Page Design/src/components/ModulesGrid.tsx] --- */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* 24px */
}

.module-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    /* 12px */
    padding: 1.5rem;
    /* 24px */
    transition: all 0.3s;
    cursor: pointer;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(11, 30, 61, 0.2);
}

.module-icon {
    width: 3rem;
    /* 48px */
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(11, 30, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.module-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.module-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.module-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-foreground);
}

/* --- 7. Regulatory Framework (Monitoring) [cite: Lexor Landing Page Design/src/components/RegulatoryFramework.tsx] --- */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    /* Corresponde ao mb-12 */
}

.framework-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.framework-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 191, 166, 0.3);
}

.framework-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.framework-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.framework-icon-bg {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(0, 191, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.framework-icon-bg svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
}

.framework-subtitle {
    font-size: 12px;
    color: #64748b;
    /* slate-500 */
    margin-bottom: 1.5rem;
    /* mb-6 (espaço entre subtítulo e lista) */
}

.regulation-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* space-y-3 */
}

.regulation-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 0.75rem;
    /* p-3 */
}

.regulation-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    /* mb-2 */
}

.regulation-title span:last-child {
    color: var(--secondary);
}

.regulation-title span.text-yellow-400 {
    color: #facc15;
    /* Cor amarela para o '!' */
}


/* --- 8. Transparency Portal [cite: Lexor Landing Page Design/src/components/TransparencyPortal.tsx] --- */
.portal-visual-wrapper {
    border-radius: 0.75rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-card {
    background-color: var(--primary);
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.portal-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.portal-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: rgba(0, 191, 166, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
}

.portal-card-text {
    flex: 1;
    margin: 0 1rem;
}

.portal-card-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.portal-card-text p {
    font-size: 12px;
    color: var(--muted-foreground);
}

.portal-card-badge {
    background-color: rgba(0, 191, 166, 0.2);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Re-usando .visual-wrapper-light para o portal-visual-wrapper */
.portal-visual-wrapper {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 0.75rem;
}

.portal-card {
    background-color: var(--primary);
    color: white;
}

.portal-card-text h4 {
    color: white;
}

.portal-card-text p {
    color: #94a3b8;
    /* slate-400 */
}

/* --- 9. CTA Banner --- */
.cta-banner .section-header {
    margin-bottom: 4rem;
}

.cta-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    /* 48px */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    /* 48px */
}

.cta-stat-item {
    text-align: center;
}

.cta-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.5;
}

.cta-label {
    font-size: 14px;
    color: #94a3b8;
    /* slate-400 */
}

.cta-divider {
    height: 3rem;
    /* 48px */
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}


/* --- 10. Footer [cite: Lexor Landing Page Design/src/components/Footer.tsx] --- */
.footer {
    background-color: #0A0F1C;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1440px;
    margin: auto;
    padding: 0 134px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* 32px */
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    /* 12px */
}

.footer-logo p {
    font-size: 14px;
    max-width: 28rem;
    /* max-w-md */
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    padding-top: 1.5rem;
    /* 24px */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* --- NOVO: Estilos do Modal --- */
.modal-overlay {
    display: none;
    /* Escondido por defeito */
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--card);
    border-radius: 0.75rem;
    /* 12px */
    border: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    /* 32px */
    width: 100%;
    max-width: 448px;
    /* max-w-md */
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    /* 16px */
    right: 1rem;
    /* 16px */
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.modal-close-btn:hover {
    color: var(--foreground);
    background-color: var(--background);
}

.modal-header {
    margin-bottom: 2rem;
    /* 32px */
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 14px;
    color: var(--muted-foreground);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* 24px */
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* 8px */
}

.modal-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
}

.modal-form-group input,
.modal-form-group select {
    width: 100%;
    height: 44px;
    /* h-11 */
    padding: 0 0.75rem;
    /* px-3 */
    border: 1px solid #cbd5e1;
    /* border-slate-300 */
    border-radius: 0.375rem;
    /* rounded-md */
    font-size: 14px;
    background-color: var(--card);
}

.modal-form-group input:focus,
.modal-form-group select:focus {
    outline: 2px solid var(--primary);
    border-color: var(--primary);
}

.modal-form-buttons {
    display: flex;
    gap: 0.75rem;
    /* 12px */
    padding-top: 1rem;
    /* 16px */
}

.modal-form-buttons .btn {
    flex: 1;
    height: 44px;
    /* h-11 */
}

.modal-footer-text {
    font-size: 12px;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
    /* 16px */
}

/* === Responsividade === */
@media (max-width: 1024px) {
    .container {
        padding-left: 48px;
        padding-right: 48px;
    }

    .hero-grid,
    .stats-bar,
    .section-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-buttons .btn-ghost {
        display: none;
    }

    .metrics-container {
        grid-template-columns: 1fr;
    }

    .visual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .framework-grid,
    .regulations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-divider,
    .nav-links {
        display: none;
        /* oculta menu horizontal */
    }

    .navbar-container {
        justify-content: space-between;
    }

    .certification-bar {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }


    .visual-grid,
    .modules-grid,
    .framework-grid,
    .regulations-grid {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        width: 100%;
    }
}