﻿/* ── DESIGN SYSTEM & CONSTANTS ──────────────────────────────── */
:root {
    /* Fonts */
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Brand Palette: Sapphire Blue, Cobalt Blue, Ice Teal */
    --color-sapphire: #0e46b4;
    --color-cobalt: #002d74;
    --color-ice-teal: #06b6d4;
    --color-ice-teal-glow: rgba(6, 182, 212, 0.15);
    
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #128c7e;

    /* Theme colors - Light Mode (Default variables changed in .dark-theme) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card-glass: rgba(255, 255, 255, 0.7);
    --border-color: rgba(14, 70, 180, 0.08);
    --border-glass: rgba(255, 255, 255, 0.5);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 82, 186, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 82, 186, 0.1);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    --accent-gradient: linear-gradient(135deg, var(--color-sapphire) 0%, var(--color-ice-teal) 100%);

    /* Badges Status Colors */
    --color-vencido: #ef4444;
    --color-vencendo: #f97316;
    --color-agendado: #3b82f6;
    --color-regular: #10b981;
}

.dark-theme {
    /* Theme colors - Dark Mode */
    --bg-primary: #07090e;
    --bg-secondary: #0d121f;
    --bg-card-glass: rgba(13, 18, 31, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --card-gradient: linear-gradient(135deg, #0d121f 0%, #080b13 100%);
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, var(--color-ice-teal) 100%);
}

/* ── RESET & BASE STYLES ────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.15s ease;
}

html {
    overflow-x: hidden;
}

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

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #3b82f6; /* Azul mais claro */
    border-radius: 6px;
    border: 3px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-ice-teal);
}

/* Firefox support */
html {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 var(--bg-primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    color: var(--color-ice-teal);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.85;
}

/* ── BUTTONS & GLASS CARDS ─────────────────────────────────── */
.glass-card {
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Light theme stronger border on form card */
.light-theme .form-card {
    border: 2px solid rgba(14, 70, 180, 0.35);
    box-shadow: 0 8px 40px rgba(14, 70, 180, 0.14), 0 0 0 4px rgba(6, 182, 212, 0.06);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    align-self: center;
    width: fit-content;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-title);
    color: #ffffff;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--color-ice-teal-glow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    background: transparent;
    transition: padding 0.3s, background-color 0.3s, border-bottom 0.3s;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-logo em {
    font-style: normal;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-ice-teal);
    box-shadow: 0 0 10px var(--color-ice-teal-glow);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--color-ice-teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 550;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-ice-teal);
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-ice-teal);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-ice-teal);
}

.dark-theme .btn-nav {
    color: #ffffff;
}

.btn-nav:hover {
    background: var(--color-ice-teal);
    color: var(--bg-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.theme-btn:hover {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--color-ice-teal);
    border-color: var(--color-ice-teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile responsive navigation overrides in media queries below */

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero-section {
    padding: clamp(6rem, 9dvh, 10rem) 0 clamp(2rem, 4dvh, 4rem) 0;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 10% 20%, rgba(15, 82, 186, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 70, 180, 0.1);
    color: var(--color-sapphire);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(14, 70, 180, 0.15);
    margin-bottom: 1.5rem;
}

.dark-theme .badge-trust {
    background: rgba(37, 99, 235, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bullet-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-ice-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bullet-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.bullet-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-partner-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    width: 100%;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.partner-logo i {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Hero Form Styling */
.hero-form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-card {
    padding: clamp(1rem, 2dvh, 1.75rem) 2rem;
    border-radius: 24px;
}

.form-header {
    margin-bottom: clamp(0.5rem, 1dvh, 0.85rem);
    text-align: center;
}

.form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.consult-form {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 1dvh, 0.75rem);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.form-group input, .form-group select {
    width: 100%;
    padding: clamp(0.5rem, 0.9dvh, 0.75rem) 1.1rem;
    font-size: 0.97rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    font-family: var(--font-body);
    text-align: left;
}

/* Light theme stronger borders on inputs */
.light-theme .form-group input,
.light-theme .form-group select {
    border: 2px solid rgba(14, 70, 180, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
    box-shadow: inset 0 1px 3px rgba(14, 70, 180, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.light-theme .form-group input:hover,
.light-theme .form-group select:hover {
    border-color: rgba(14, 70, 180, 0.65);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12), inset 0 1px 3px rgba(14, 70, 180, 0.06);
}

.light-theme .form-group input:focus,
.light-theme .form-group select:focus {
    border-color: var(--color-sapphire);
    box-shadow: 0 0 0 4px rgba(14, 70, 180, 0.15), inset 0 1px 3px rgba(14, 70, 180, 0.08);
    background: #ffffff;
    outline: none;
}

.dark-theme .form-group input, .dark-theme .form-group select {
    background-color: rgba(0, 0, 0, 0.3);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-ice-teal);
    box-shadow: 0 0 0 2px var(--color-ice-teal-glow);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.2rem 0;
}

.form-group-checkbox input {
    margin-top: 0.25rem;
    cursor: pointer;
}

/* ── CORE SOLUTIONS / SERVICES ─────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-ice-teal);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-ice-teal);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.btn-service-action {
    background: transparent;
    border: none;
    color: var(--color-ice-teal);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.btn-service-action i {
    transition: transform 0.2s;
}

.btn-service-action:hover i {
    transform: translateX(5px);
}

/* ── ABOUT US SECTION ───────────────────────────────────────── */
.about-section {
    background-color: var(--bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2.2rem 1.5rem;
    text-align: center;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.08);
    border-color: var(--color-ice-teal);
}

/* Light theme blue borders on cards */
.light-theme .service-card {
    border: 1.5px solid rgba(14, 70, 180, 0.25);
    box-shadow: 0 4px 20px rgba(14, 70, 180, 0.07);
}

.light-theme .service-card:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 8px 28px rgba(14, 70, 180, 0.12);
}

.light-theme .stat-card {
    border: 1.5px solid rgba(14, 70, 180, 0.25);
    box-shadow: 0 4px 20px rgba(14, 70, 180, 0.07);
}

.light-theme .stat-card:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 10px 28px rgba(14, 70, 180, 0.12);
}

.dark-theme .stat-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dark-theme .stat-card:hover {
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.06);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-ice-teal);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.about-text h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-highlight {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 550;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--color-ice-teal);
    padding-left: 1rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.about-list li strong {
    color: var(--text-primary);
}

.list-icon {
    color: var(--color-ice-teal);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-visual {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.how-it-works {
    background-color: var(--bg-primary); /* Alterado para alternar cores das seções com contraste */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

/* Connection line between steps (Desktop) */
.steps-container::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    width: 70%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--color-sapphire);
    color: var(--color-sapphire);
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.dark-theme .step-number {
    border-color: var(--color-ice-teal);
    color: var(--color-ice-teal);
}

.step-card:hover .step-number {
    background: var(--accent-gradient);
    border-color: var(--color-ice-teal);
    color: #ffffff;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ── DEADLINES TABLE ────────────────────────────────────────── */
.table-card {
    padding: 3rem;
    border-radius: 20px;
}

.table-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.toggle-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.toggle-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-title);
}

.toggle-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px var(--color-ice-teal-glow);
}

.toggle-btn:hover:not(.active) {
    border-color: var(--color-ice-teal);
    color: var(--text-primary);
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.deadline-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.deadline-table th, .deadline-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.deadline-table th {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.deadline-table td {
    font-size: 1rem;
}

.deadline-table tbody tr:hover {
    background-color: rgba(6, 182, 212, 0.02);
}

.table-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-vencido { background-color: rgba(239, 68, 68, 0.15); color: var(--color-vencido); }
.badge-vencendo { background-color: rgba(249, 115, 22, 0.15); color: var(--color-vencendo); }
.badge-agendado { background-color: rgba(59, 130, 246, 0.15); color: var(--color-agendado); }
.badge-regular { background-color: rgba(16, 185, 129, 0.15); color: var(--color-regular); }

.table-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(14, 70, 180, 0.04);
    border-left: 4px solid var(--color-sapphire);
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dark-theme .table-alert {
    background: rgba(6, 182, 212, 0.04);
    border-left-color: var(--color-ice-teal);
}

.table-alert i {
    font-size: 1.2rem;
    color: var(--color-sapphire);
    margin-top: 0.1rem;
}

.dark-theme .table-alert i {
    color: var(--color-ice-teal);
}

/* ── FAQ ACCORDION ──────────────────────────────────────────── */
.faq-section {
    background-color: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    gap: 1.5rem;
}

.accordion-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-bottom: 1.5rem;
}

/* Accordion Active States */
.accordion-item.active {
    border-color: var(--color-ice-teal);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.05);
}

.accordion-item.active .accordion-header {
    color: var(--color-ice-teal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--color-ice-teal);
}

.accordion-item.active .accordion-content {
    max-height: 300px; /* Large enough to display paragraph */
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    padding: 4rem 0 2rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btn-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-scroll-top:hover {
    background-color: var(--color-ice-teal);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--color-ice-teal-glow);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo em {
    font-style: normal;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.footer-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--color-ice-teal);
}

.footer-credits {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── COOKIE CONSENT BANNER (LGPD) ───────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 0;
    z-index: 2000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.btn-cookie-accept {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px var(--color-ice-teal-glow);
    font-family: var(--font-title);
    transition: opacity 0.2s;
}

.btn-cookie-accept:hover {
    opacity: 0.9;
}

/* ── RESPONSIVE DESIGN (MEDIA QUERIES) ──────────────────────── */

@media (max-width: 992px) {
    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem;
        gap: 2.5rem;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1000;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* Hero Responsive */
    .hero-section {
        min-height: 100dvh;
        height: auto;
        padding: 7rem 0 5rem 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        text-align: center;
        gap: 0;
    }
    
    .hero-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: calc(100dvh - 7rem);
    }

    .hero-text > p {
        flex: 1;
        margin-bottom: 0;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
    }
    
    .hero-bullets {
        padding-top: 2.5rem;
        align-items: flex-start;
        text-align: left;
        max-width: 500px;
        width: 100%;
    }
    
    .hero-partner-logos {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    /* Steps Responsive */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .steps-container::after {
        display: none;
    }
    
    .step-card {
        padding: 0;
    }

    /* Table Filters Responsive */
    .table-filters {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .table-card {
        padding: 1.5rem;
    }
    
    .deadline-table th, .deadline-table td {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .cookie-container {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    
    .btn-cookie-accept {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .form-card {
        padding: 2.2rem 1.5rem;
    }

    .btn-scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stat-card {
        padding: 1.75rem 1.2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-form-wrapper {
        padding: 0;
    }
    
    .form-card {
        padding: 1.8rem 1.25rem;
    }
}

/* Payments Section in Footer */
.footer-payments {
    margin: 2.5rem 0;
    text-align: center;
}

.payments-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.payment-badge {
    height: 32px;
    width: auto;
    min-width: 80px;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--border-color);
    padding: 0 0.85rem;
}

.payment-badge svg {
    width: 100%;
    height: 100%;
}

.payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-about-card {
    background: linear-gradient(-45deg, rgba(14, 70, 180, 0.06), rgba(6, 182, 212, 0.12), rgba(15, 82, 186, 0.04), rgba(6, 182, 212, 0.08));
    background-size: 400% 400%;
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 16px;
    padding: 1.8rem 2.5rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    animation: gradientFlow 8s ease infinite, borderPulse 4s ease-in-out infinite;
}

.dark-theme .footer-about-card {
    background: linear-gradient(-45deg, rgba(14, 70, 180, 0.14), rgba(6, 182, 212, 0.18), rgba(15, 82, 186, 0.08), rgba(6, 182, 212, 0.1));
    background-size: 400% 400%;
}

/* Animações Contínuas do Card */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(6, 182, 212, 0.35);
        box-shadow: 0 0 12px rgba(6, 182, 212, 0.08);
    }
    50% {
        border-color: rgba(14, 70, 180, 0.7);
        box-shadow: 0 0 22px rgba(14, 70, 180, 0.25);
    }
}

@keyframes driftGrid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 14px 14px;
    }
}

@keyframes moveGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 20px) scale(1.3);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Efeito 1: Grid de pontos pontilhado translúcido (drift contínuo) */
.footer-about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(6, 182, 212, 0.2) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
    animation: driftGrid 8s linear infinite;
    transition: opacity 0.3s ease;
}

/* Efeito 2: Orb de luz/Spotlight (flutuação contínua) */
.footer-about-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--color-ice-teal);
    filter: blur(40px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    animation: moveGlow 6s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

.footer-about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.9) !important;
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3) !important;
}

.footer-about-card:hover::before {
    opacity: 0.8;
}

.footer-about-card:hover::after {
    opacity: 0.18;
}

.footer-about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1; /* Mantém o texto sempre nítido e legível acima dos efeitos */
}

/* ── SUBTLE ANIMATED BACKGROUND ORBS ─────────────────────────── */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18; /* Aumentado para dar mais visibilidade em tema escuro */
    transition: opacity 0.5s ease;
}

/* Em tema claro, mantemos sutil mas visível */
.light-theme .bg-glow-orb {
    opacity: 0.08; /* Aumentado para dar visibilidade em tema claro */
}

/* Orb 1: Azul Safira */
.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-sapphire) 0%, transparent 80%);
    animation: drift-orb-1 25s infinite alternate ease-in-out;
}

/* Orb 2: Ciano Gelo */
.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-ice-teal) 0%, transparent 80%);
    animation: drift-orb-2 30s infinite alternate ease-in-out;
}

/* Orb 3: Azul Cobalto */
.orb-3 {
    top: 40%;
    left: 45%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--color-cobalt) 0%, transparent 80%);
    animation: drift-orb-3 28s infinite alternate ease-in-out;
}

@keyframes drift-orb-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(12vw, 8vh) scale(1.1);
    }
}

@keyframes drift-orb-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-15vw, -10vh) scale(1.05);
    }
}

@keyframes drift-orb-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-8vw, 12vh) scale(1.12);
    }
}

/* ==========================================================================
   CUSTOM DROPDOWN SELECT STYLES
   ========================================================================== */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: clamp(0.5rem, 0.9dvh, 0.75rem) 1.1rem;
    font-size: 0.97rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    font-family: var(--font-body);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.custom-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}

.light-theme .custom-select-trigger {
    border: 2px solid rgba(14, 70, 180, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
    box-shadow: inset 0 1px 3px rgba(14, 70, 180, 0.06);
}

.light-theme .custom-select-trigger:hover {
    border-color: rgba(14, 70, 180, 0.65);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12), inset 0 1px 3px rgba(14, 70, 180, 0.06);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--color-ice-teal);
    box-shadow: 0 0 0 2px var(--color-ice-teal-glow);
}

.light-theme .custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--color-sapphire);
    box-shadow: 0 0 0 4px rgba(14, 70, 180, 0.15), inset 0 1px 3px rgba(14, 70, 180, 0.08);
    background: #ffffff;
}

.dark-theme .custom-select-trigger {
    background-color: rgba(0, 0, 0, 0.3);
}

.custom-select-trigger i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-trigger i {
    transform: rotate(180deg);
}

/* Error validation styling */
.custom-select-wrapper.error .custom-select-trigger {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.custom-options-container {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Scrollbar customization */
.custom-options-container::-webkit-scrollbar {
    width: 6px;
}
.custom-options-container::-webkit-scrollbar-track {
    background: transparent;
}
.custom-options-container::-webkit-scrollbar-thumb {
    background-color: rgba(14, 70, 180, 0.2);
    border-radius: 10px;
}

.custom-select-wrapper.open .custom-options-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-option:first-child {
    border-radius: 11px 11px 0 0;
}
.custom-option:last-child {
    border-radius: 0 0 11px 11px;
}

.custom-option:hover {
    background-color: rgba(6, 182, 212, 0.08);
    color: var(--text-primary);
}

.custom-option.selected {
    background-color: rgba(14, 70, 180, 0.08);
    color: var(--color-sapphire);
    font-weight: 600;
}

.dark-theme .custom-option.selected {
    background-color: rgba(6, 182, 212, 0.15);
    color: var(--color-ice-teal);
}

.custom-option.disabled {
    color: var(--text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    background: transparent !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .custom-select-trigger {
        padding: 0.7rem 1rem;
        font-size: 0.92rem;
    }
    .custom-option {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   FOOTER BRANDING CARD STYLES
   ========================================================================== */
.footer-about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-branding-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #0d121f;
    border: 2px solid rgba(14, 70, 180, 0.4);
    box-shadow: 0 0 15px rgba(14, 70, 180, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin-bottom: 1.2rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.light-theme .footer-branding-logo {
    background: #ffffff;
    border: 2px solid rgba(14, 70, 180, 0.3);
    box-shadow: 0 0 15px rgba(14, 70, 180, 0.08);
}

.footer-about-card:hover .footer-branding-logo {
    border-color: var(--color-ice-teal);
    transform: scale(1.05);
}

.light-theme .footer-about-card:hover .footer-branding-logo {
    border-color: var(--color-sapphire);
}

.branding-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-branding-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.footer-branding-divider {
    width: 45px;
    height: 2px;
    background: var(--color-sapphire);
    margin-bottom: 1.1rem;
    border-radius: 999px;
}

.dark-theme .footer-branding-divider {
    background: var(--color-ice-teal);
}

.footer-branding-tagline {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 1.2rem !important;
}

.footer-branding-name {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-sapphire);
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.dark-theme .footer-branding-name {
    color: var(--color-ice-teal);
}

.footer-branding-phone-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-phone-link:hover {
    color: var(--text-primary);
}

.btn-copy-footer-phone {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 0.85rem;
    transition: color 0.2s ease, transform 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy-footer-phone:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Copy Tooltip */
.footer-copy-tooltip {
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--text-primary);
    color: var(--bg-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: var(--shadow-md);
    pointer-events: none;
    z-index: 100;
}

.footer-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--text-primary) transparent transparent transparent;
}

.footer-copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* ── TOP PREVIEW BAR (DEMO BAR) OVERRIDES & STYLES ───────────────── */
:root {
    --demo-bar-height: 70px;
}

@media (max-width: 640px) {
    :root {
        --demo-bar-height: 50px;
    }
}

body {
    padding-top: var(--demo-bar-height) !important;
}

.navbar {
    top: var(--demo-bar-height) !important;
}

@media (max-width: 992px) {
    .nav-links {
        top: var(--demo-bar-height) !important;
        height: calc(100vh - var(--demo-bar-height)) !important;
    }
}

/* Top Preview Bar Container */
.demo-bar-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--demo-bar-height);
    background-color: rgba(17, 24, 39, 0.9) !important; /* bg-gray-900/90 */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, height 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box;
}

.demo-bar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.demo-bar-link {
    font-family: 'Inter', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #9ca3af !important; /* text-gray-400 */
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
    transition: color 0.2s ease-in-out !important;
}

.demo-bar-link:hover {
    color: #ffffff !important;
}

.demo-bar-link i {
    margin-right: 8px !important;
    font-size: 14px !important;
}

.demo-bar-badge {
    border: 1px solid rgba(0, 138, 237, 0.25) !important;
    color: #008AED !important;
    background-color: rgba(0, 138, 237, 0.05) !important;
    font-family: 'Inter', sans-serif !important;
    padding: 6px 16px !important;
    font-size: 12px !important;
    line-height: 16px !important;
    display: inline-block !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 600 !important;
    user-select: none !important;
}

.demo-bar-button {
    background-color: #008AED !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 4px 12px rgba(0, 138, 237, 0.25) !important;
    transition: all 0.15s ease-in-out !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    line-height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.demo-bar-button:hover {
    box-shadow: 0 6px 18px rgba(0, 138, 237, 0.45) !important;
    transform: scale(1.05) !important;
    opacity: 0.9 !important;
}

.demo-bar-button i {
    color: #FFFFFF !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

.demo-bar-button span {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
}

/* Light Theme Overrides */
body.light-theme .demo-bar-top {
    background-color: rgba(245, 243, 239, 0.95) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .demo-bar-link {
    color: #555555 !important;
}

body.light-theme .demo-bar-link:hover {
    color: #222222 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .demo-bar-badge {
        padding: 4px 10px !important;
        font-size: 10px !important;
        letter-spacing: 0.08em !important;
    }
    .demo-bar-button {
        padding: 6px 10px !important;
        font-size: 10px !important;
    }
    .demo-bar-link {
        font-size: 11px !important;
    }
    .demo-bar-link i {
        margin-right: 6px !important;
        font-size: 12px !important;
    }
}
