/* ==========================================================================
   PORTAL SINDCON-RJ - DESIGN SYSTEM & STYLESHEET (VANILLA CSS)
   ========================================================================== */

/* 1. VARIÁVEIS E TOKENS DE DESIGN */
:root {
    /* Paleta de Cores */
    --primary-color: #0f2e59;
    /* Azul Marinho Principal */
    --primary-light: #1c4b8b;
    /* Azul Médio */
    --primary-dark: #071932;
    /* Azul Escuro */
    --accent-color: #d4a373;
    /* Dourado/Areia Refinado */
    --accent-hover: #b88655;
    /* Dourado Escuro */
    --accent-light: #faedcd;
    /* Dourado Claro */
    --text-color: #2d3748;
    /* Texto Escuro (Off-black) */
    --text-light: #718096;
    /* Texto Secundário */
    --text-white: #ffffff;
    --bg-light: #f7fafc;
    /* Fundo Claro */
    --bg-card: #ffffff;
    /* Fundo de Card */
    --border-color: #e2e8f0;
    /* Borda Suave */
    --success: #38a169;
    --danger: #e53e3e;

    /* Tipografia */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Roboto', sans-serif;

    /* Layout & Transições */
    --max-width: 1200px;
    --border-radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* 2. OVERRIDES DE ACESSIBILIDADE */

/* Alto Contraste */
body.high-contrast {
    --primary-color: #000000;
    --primary-light: #121212;
    --primary-dark: #000000;
    --accent-color: #ffff00;
    --accent-hover: #e6e600;
    --accent-light: #1a1a1a;
    --text-color: #ffffff;
    --text-light: #cccccc;
    --text-white: #ffffff;
    --bg-light: #000000;
    --bg-card: #121212;
    --border-color: #ffffff;
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast * {
    border-color: #ffffff !important;
}

body.high-contrast a,
body.high-contrast button {
    color: #ffff00 !important;
    text-decoration: underline;
}

body.high-contrast a:hover,
body.high-contrast button:hover {
    color: #ffffff !important;
    background-color: #1a1a1a !important;
}

body.high-contrast .card,
body.high-contrast header,
body.high-contrast footer,
body.high-contrast .top-bar {
    background-color: #000000 !important;
    background-image: none !important;
    box-shadow: none !important;
    border: 1px solid #ffffff !important;
}

body.high-contrast i {
    color: #ffff00 !important;
}

/* Tamanhos de Fonte Base (Acessibilidade) */
html.font-size-sm {
    font-size: 87.5%;
}

/* 14px */
html.font-size-md {
    font-size: 100%;
}

/* 16px (Padrão) */
html.font-size-lg {
    font-size: 112.5%;
}

/* 18px */
html.font-size-xl {
    font-size: 125%;
}

/* 20px */

/* Acessibilidade: Ocultar visualmente mas manter para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Acessibilidade: Foco visível */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* 3. ESTRUTURA GERAL E RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 4. CABEÇALHO E BARRA DE ACESSIBILIDADE */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.accessibility-controls button {
    color: var(--text-white);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.accessibility-controls button:hover {
    color: var(--accent-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.top-social-links {
    display: flex;
    gap: 15px;
}

.top-social-links a {
    color: var(--text-white);
    font-size: 1rem;
}

.top-social-links a:hover {
    color: var(--accent-color);
}

/* Header Principal */
header.main-header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
    transition: padding var(--transition-normal);
}

header.main-header.scrolled {
    padding: 10px 0;
}

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

/* Logo Styling (Flex layout to put text next to icon) */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.logo-icon-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 320px;
}

.logo-title-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-subtitle-text {
    font-family: var(--font-primary);
    font-size: 0.55rem;
    font-weight: 700;
    color: #1b4b8a;
    line-height: 1.2;
    margin-top: 2px;
    text-transform: uppercase;
}

/* White theme logo (for footer / dark background) */
.logo-container.logo-white .logo-title-text {
    color: var(--text-white) !important;
}

.logo-container.logo-white .logo-subtitle-text {
    color: var(--accent-color) !important;
}

/* Navegação Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    /* Evita quebra de linhas no menu (como em 'O SINDCON') */
}

.nav-link:hover,
.nav-item:focus-within>.nav-link {
    color: var(--accent-color);
    background-color: transparent;
    /* Tira o fundo cinza que parecia borda/caixa */
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    border-top: none;
    /* Remove a borda superior dourada */
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.dropdown-item a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
    /* Micro-animação ao passar o mouse */
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Botões Extras Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-portal-contributor {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.btn-portal-contributor:hover {
    background-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-1px);
}

/* Hamburguer Mobile */
.btn-mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 5px;
    aria-expanded: false;
}

/* 5. MENU HAMBURGUER MOBILE DRAWER */
.nav-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-dark);
    color: var(--text-white);
    z-index: 10000;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.nav-mobile-drawer.open {
    transform: translateX(0);
}

.nav-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.nav-mobile-drawer-header .logo-container {
    max-width: 220px;
}

.nav-mobile-drawer-header .logo-icon-img {
    height: 40px;
    width: 40px;
}

.nav-mobile-drawer-header .logo-title-text {
    font-size: 1.3rem;
}

.nav-mobile-drawer-header .logo-subtitle-text {
    font-size: 0.45rem;
}

.btn-close-drawer {
    color: var(--text-white);
    font-size: 1.8rem;
    padding: 5px;
}

.btn-close-drawer:hover {
    color: var(--accent-color);
}

.nav-mobile-menu {
    list-style: none;
    overflow-y: auto;
    flex-grow: 1;
}

.nav-mobile-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.nav-mobile-link:hover {
    color: var(--accent-color);
}

.nav-mobile-dropdown {
    list-style: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding-left: 20px;
    display: none;
    /* Controlado via JS */
}

.nav-mobile-dropdown.show {
    display: block;
}

.nav-mobile-dropdown-item a {
    display: block;
    padding: 10px 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-mobile-dropdown-item a:hover {
    color: var(--accent-color);
}

.nav-mobile-submenu-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 10px;
}

.nav-mobile-actions {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.nav-mobile-actions .btn-portal-contributor {
    display: block;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.nav-mobile-actions .btn-portal-contributor:hover {
    background-color: var(--accent-hover);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 6. HERO SECTION */
.hero {
    background-color: var(--bg-card);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform var(--transition-normal);
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* 7. GRID DE SERVIÇOS RÁPIDOS */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.section-title {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background-color: rgba(15, 46, 89, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.card:hover .card-icon {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.card:hover .card-link i {
    transform: translateX(3px);
}

.card:hover .card-link {
    color: var(--accent-color);
}

/* 8. SEÇÃO DUPLA - NOTÍCIAS & WIDGETS */
.info-section {
    padding: 80px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    min-width: 70px;
}

.news-date span.day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date span.month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.news-content h3 a:hover {
    color: var(--accent-color);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.news-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.news-more:hover {
    color: var(--accent-color);
}

/* Widgets da Lateral Direita */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-cta-box {
    background-color: var(--primary-dark);
    color: var(--text-white);
    border: none;
    text-align: center;
}

.widget-cta-box .widget-title {
    color: var(--text-white);
    border-bottom-color: var(--accent-color);
    justify-content: center;
}

.widget-cta-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.widget-cta-box .btn {
    display: block;
    width: 100%;
}

.widget-links {
    list-style: none;
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links li:last-child {
    margin-bottom: 0;
}

.widget-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 12px;
    background-color: var(--bg-card);
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    font-size: 0.95rem;
}

.widget-links a:hover {
    background-color: var(--accent-light);
    border-left-color: var(--accent-color);
    color: var(--primary-dark);
}

/* 9. PAINEL DE ESTATÍSTICAS */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* 10. CONTATO E SUPORTE */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: rgba(212, 163, 115, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-method-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-method-details p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-color);
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 46, 89, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    border: none;
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
}

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

/* 11. RODAPÉ INSTITUCIONAL */
footer.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0 20px 0;
    border-top: 5px solid var(--accent-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col-info .logo-container {
    margin-bottom: 20px;
}

.footer-col-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    padding-right: 20px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--accent-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

/* Botão Voltar ao Topo */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50px;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal), background-color var(--transition-fast);
    z-index: 99;
}

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

.btn-back-to-top:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
}

/* ==========================================================================
   12. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Telas Grandes / Notebooks */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablets e iPads */
@media (max-width: 991px) {
    .btn-mobile-menu {
        display: block;
        /* Ativa botão hamburguer */
    }

    .nav-desktop,
    .header-actions {
        display: none;
        /* Oculta menu e botão do cabeçalho normal */
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image img {
        height: 300px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-item::after {
        display: none;
        /* Remove divisórias de stats no tablet */
    }
}

/* Smartphones Grandes e Pequenos */
@media (max-width: 576px) {
    .top-bar {
        display: none;
        /* Oculta top bar para poupar espaço em telas pequenas */
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}