/* ==========================================================================
   RUB Aura Theme - Folha de Estilo Premium para Documentação e Release Notes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Variáveis do Tema Claro */
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --border-color: #e2e8f0;
    --code-bg: #0f172a;
    --code-text: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --radius-md: 8px;
    --radius-lg: 12px;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Variáveis do Tema Escuro */
        --bg-primary: #0f172a; /* Slate 900 */
        --bg-card: #1e293b; /* Slate 800 */
        --text-main: #f8fafc; /* Slate 50 */
        --text-muted: #94a3b8; /* Slate 400 */
        --accent-color: #818cf8; /* Indigo 400 */
        --accent-hover: #6366f1; /* Indigo 500 */
        --border-color: #334155; /* Slate 700 */
        --code-bg: #020617; /* Slate 950 */
        --code-text: #f8fafc;
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    }
}

html[data-theme="dark"] {
    /* Override de Variáveis do Tema Escuro Explicito */
    --bg-primary: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #818cf8;
    --accent-hover: #6366f1;
    --border-color: #334155;
    --code-bg: #020617;
    --code-text: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
}

html[data-theme="light"] {
    /* Override de Variáveis do Tema Claro Explicito */
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --border-color: #e2e8f0;
    --code-bg: #0f172a;
    --code-text: #f8fafc;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Reset & Estilos Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Se for um documento standalone sem app-container */
body:not(:has(.app-container)) {
    max-width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem 0 2rem;
}

/* Contêiner de Layout Principal (Card) */
.document-container {
    position: relative;
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1 0 auto;
}

/* Layout Estrutural para Site Completo (com Menu Lateral) */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* Sidebar Menu Lateral */
.sidebar {
    width: 290px;
    min-width: 290px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: none;
    padding-bottom: 0;
}

/* Conteúdo Principal */
.content-container {
    flex-grow: 1;
    padding: 3rem 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container .document-container {
    width: 100%;
    max-width: 100%;
}

.content {
    width: 100%;
}

/* Tipografia & Títulos */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    margin-top: 0;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), #3b82f6);
}

h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

/* Ênfase & Negrito */
strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Listas */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

ul li::marker {
    color: var(--accent-color);
}

/* Menu de Árvore da Sidebar */
.sidebar-nav .menu-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar-nav .menu-item {
    margin-bottom: 0.25rem;
    position: relative;
}

/* Indentação Dinâmica por Nível */
.sidebar-nav .menu-depth-1 { padding-left: 1rem; }
.sidebar-nav .menu-depth-2 { padding-left: 1.75rem; }
.sidebar-nav .menu-depth-3 { padding-left: 2.5rem; }

.sidebar-nav .menu-link,
.sidebar-nav .menu-folder-title {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.925rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-nav .menu-link:hover {
    background-color: var(--bg-primary);
    color: var(--text-main);
    text-decoration: none;
}

/* Destaque Ativo na Sidebar */
.sidebar-nav .menu-item-active > .menu-link,
.sidebar-nav .menu-item-active > .menu-folder-header > .menu-link {
    color: var(--accent-color);
    background-color: var(--bg-primary);
    font-weight: 600;
    border-left: 3px solid var(--accent-color);
    padding-left: calc(0.75rem - 3px);
}

/* Submenus de Pastas */
.sidebar-nav .menu-folder-header {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.sidebar-nav .menu-folder-toggle {
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: transform 0.2s ease;
    transform: rotate(-90deg);
}

.sidebar-nav .menu-folder-toggle::before {
    content: "▾";
}

.sidebar-nav .menu-folder-expanded > .menu-folder-header > .menu-folder-toggle {
    transform: rotate(0deg);
}

.sidebar-nav .menu-folder-collapsed > .menu-list {
    display: none;
}

.sidebar-nav .menu-folder-expanded > .menu-list {
    display: block;
}

/* Código Inline */
code {
    font-family: 'Fira Code', 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 0.9em;
    background-color: var(--bg-primary);
    color: #e11d48; /* Tom rosa escuro para destaque elegante */
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Blocos de Código (Preformatted) */
pre {
    background-color: var(--code-bg);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    border: 1px solid #1e293b;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

pre code {
    background-color: transparent;
    color: var(--code-text);
    padding: 0;
    border-radius: 0;
    border: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tabelas Premium */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
}

th {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    transition: background-color 0.3s ease;
}

td {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: var(--bg-primary);
}

tr:hover {
    background-color: var(--bg-primary);
    transition: background-color 0.15s ease;
}

/* Blockquotes & Alertas */
blockquote {
    border-left: 4px solid var(--accent-color);
    background-color: rgba(99, 102, 241, 0.05); /* Indigo suave adaptado */
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Blockquote Alerts Premium Styling */
.alert-blockquote {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.alert-blockquote p {
    font-style: normal;
    margin-bottom: 0;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.alert-icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Alert Type Specifications */
.alert-note {
    border-left: 4px solid #3b82f6;
    background-color: rgba(59, 130, 246, 0.06);
}
.alert-note .alert-header {
    color: #3b82f6;
}

.alert-tip {
    border-left: 4px solid #10b981;
    background-color: rgba(16, 185, 129, 0.06);
}
.alert-tip .alert-header {
    color: #10b981;
}

.alert-important {
    border-left: 4px solid #818cf8;
    background-color: rgba(129, 140, 248, 0.06);
}
.alert-important .alert-header {
    color: #818cf8;
}

.alert-warning {
    border-left: 4px solid #f59e0b;
    background-color: rgba(245, 158, 11, 0.06);
}
.alert-warning .alert-header {
    color: #f59e0b;
}

.alert-caution {
    border-left: 4px solid #ef4444;
    background-color: rgba(239, 68, 68, 0.06);
}
.alert-caution .alert-header {
    color: #ef4444;
}

/* Mermaid Diagram Styling */
.mermaid {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow-x: auto;
}

.mermaid svg {
    max-width: 100%;
    height: auto;
}

/* Suporte de Scrollbar Personalizada para Blocos de Código */
pre::-webkit-scrollbar {
    height: 8px;
}

pre::-webkit-scrollbar-track {
    background: #1e293b;
}

pre::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

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

/* Responsividade */
@media (max-width: 768px) {
    body:not(:has(.app-container)) {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }
    
    .content-container {
        padding: 2rem 1rem;
    }
    
    .document-container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   PREMIUM VISUAL COMPONENTS: HIGHLIGHTS, CUSTOM LISTS & INTERACTIVE CODE
   ========================================================================== */

/* 1. Destaque Lista (Custom bullets and badged numbers) */
.destaque-lista-wrapper ul {
    list-style: none;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}

.destaque-lista-wrapper ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
}

.destaque-lista-wrapper ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0.1em;
    background: linear-gradient(135deg, var(--accent-color), #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
    display: inline-block;
}

.destaque-lista-wrapper ol {
    list-style: none;
    counter-reset: aura-counter;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
}

.destaque-lista-wrapper ol li {
    counter-increment: aura-counter;
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 2.25rem;
}

.destaque-lista-wrapper ol li::before {
    content: counter(aura-counter);
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.35rem;
    height: 1.35rem;
    background: linear-gradient(135deg, var(--accent-color), #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

/* 2. Destaque Caixa (Gradient container with accent borders) */
.destaque-wrapper {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(99, 102, 241, 0.08);
    border-right: 1px solid rgba(99, 102, 241, 0.08);
    border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.destaque-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.08);
}

[data-theme="dark"] .destaque-wrapper {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 3. Code Blocks Premium Dark Layout */
.code-block-wrapper {
    background-color: var(--code-bg);
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0f172a;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #1e293b;
    user-select: none;
}

.code-block-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
}

.code-block-copy-btn {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-block-copy-btn:hover {
    background-color: #334155;
    color: white;
}

.code-block-body {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Collapsible Code Blocks Details & Summary */
.code-block-details {
    width: 100%;
}

.code-block-details summary {
    list-style: none;
    outline: none;
}

.code-block-details summary::-webkit-details-marker {
    display: none;
}

.code-block-details summary .code-block-header {
    cursor: pointer;
}

.code-block-details summary .code-block-header::after {
    content: "▾";
    font-size: 0.9rem;
    color: #94a3b8;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.code-block-details[open] summary .code-block-header::after {
    transform: rotate(180deg);
}

/* Theme Selector Menu */
.theme-menu-wrapper {
    position: relative;
    display: inline-block;
}

.theme-menu-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: var(--shadow-sm);
}

.theme-menu-btn:hover {
    color: var(--text-main);
    border-color: var(--border-color);
    background-color: var(--bg-primary);
}

.theme-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    z-index: 100;
    overflow: hidden;
    animation: menu-fade-in 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes menu-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.theme-menu-dropdown.show {
    display: block;
}

.theme-menu-item {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.theme-menu-item:hover {
    background-color: var(--bg-primary);
    color: var(--text-main);
}

.theme-menu-item.active {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--accent-color);
    font-weight: 600;
}

/* Global Controls Container */
.global-controls {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    z-index: 1000;
}

/* Premium Language Selector Selector */
.lang-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1.8rem 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

@media (prefers-color-scheme: dark) {
    .lang-select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    }
}

html[data-theme="dark"] .lang-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.lang-select:hover {
    border-color: var(--accent-color);
    color: var(--text-main);
    background-color: rgba(99, 102, 241, 0.05);
}

.lang-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   APP FOOTER STYLING (Task 4)
   ========================================================================== */
.app-footer {
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1.5rem 2rem;
    margin-top: auto;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Standalone adjustments for footer */
body:not(:has(.app-container)) .app-footer {
    margin-top: auto;
    padding-left: 0;
    padding-right: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo-svg {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-slogan {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    align-items: center;
}

.social-icons a {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--text-main);
    text-decoration: none;
    transform: translateY(-2px);
}

.social-icons svg {
    display: block;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Responsividade do Rodapé */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

