@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

:root {
    --primary: #1e3c72;
    
    --secondary: #2a5298;
    
    --accent: #f39c12;
    
    --accent-hover: #e67e22;
    --light-blue: #e0f7fa;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-light: #f4f7f6;
    --white: #ffffff;

    --color-vd: #1B5E20;
    
    --color-rx: #4A148C;
    
    --color-rs: #E91E63;
    
    --color-lr: #FF6F00;
    
    --color-az: #01579B;
    
    --color-vc: #33691E;
    
    --color-am: #F57F17;
    
    --color-pt: #212121;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.component-block {
    margin-bottom: 2rem;
    width: 100%;
    clear: both;
}

body.high-contrast,
body.high-contrast * {
    background-color: #000000 !important;
    background-image: none !important;
    color: #ffff00 !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.high-contrast a {
    text-decoration: underline !important;
    color: #ffff00 !important;
}

body.high-contrast a:hover,
body.high-contrast button:hover,
body.high-contrast .btn:hover,
body.high-contrast .btn-custom:hover,
body.high-contrast .btn-ouvidoria:hover,
body.high-contrast .btn-servicos-portal:hover,
body.high-contrast .btn-massive-search:hover {
    background-color: #ffff00 !important;
    color: #000000 !important;
}

body.high-contrast a:hover *,
body.high-contrast button:hover *,
body.high-contrast .btn:hover *,
body.high-contrast .btn-custom:hover *,
body.high-contrast .btn-ouvidoria:hover *,
body.high-contrast .btn-servicos-portal:hover *,
body.high-contrast .btn-massive-search:hover * {
    color: #000000 !important;
    background-color: #ffff00 !important;
}

body.high-contrast img {
    filter: grayscale(100%) contrast(150%) !important;
    background-color: transparent !important;
}

body.high-contrast .premium-header,
body.high-contrast .card,
body.high-contrast .service-card,
body.high-contrast .quick-access-card,
body.high-contrast .glass-panel,
body.high-contrast .body-search-wrapper,
body.high-contrast .body-search-form,
body.high-contrast .news-card,
body.high-contrast input,
body.high-contrast textarea,
body.high-contrast select,
body.high-contrast button,
body.high-contrast .btn {
    border: 2px solid #ffffff !important;
}

body.high-contrast input::placeholder {
    color: #aaaaaa !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 60, 114, 0.45) transparent;
}

*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.3);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline-color: var(--primary);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: rgba(30, 60, 114, 0.35);
    border-radius: 10px;
    border: 2px solid var(--bg-light); 
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.topbar-slim {
    background: var(--primary);
    color: var(--white);
    padding: 2px 0;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.topbar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-phone {
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-phone:hover {
    color: var(--accent);
}

.topbar-divider {
    opacity: 0.3;
    user-select: none;
}

.topbar-hours {
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-social {
    display: flex;
    gap: 12px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-social a {
    transition: var(--transition);
    font-size: 1rem;
}

.topbar-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.topbar-accessibility-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-accessibility-tools button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-accessibility-tools button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.vlibras-widget {
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    margin-left: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.vlibras-widget:hover {
    color: var(--accent);
}

[vw-access-button], .vw-access-button {
    display: none !important;
}

.premium-header {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.header-top .header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 3%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary);
    transition: var(--transition);
    justify-self: start;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-text-top {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    opacity: 0.8;
    line-height: 1.1;
}

.logo-text-bottom {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-top: 3px;
}

.header-logo img {
    height: 70px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.header-logo i {
    color: var(--accent);
    font-size: 2.2rem;
    transition: font-size 0.3s ease;
}

.premium-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-nav ul {
    display: flex;
    gap: 8px; 
    align-items: center;
}

.premium-nav > ul > li {
    position: relative;
    padding: 10px 0;
}

.premium-nav > ul > li > a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.2px;
    position: relative;
    white-space: nowrap;
    border: 1px solid transparent;
}

.premium-nav > ul > li > a:hover {
    color: var(--primary);
    background: rgba(30, 60, 114, 0.06);
    border-color: rgba(30, 60, 114, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    z-index: 1000;
    display: none;
    min-width: 280px;
    padding: 12px 8px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.1), 0 5px 15px rgba(0, 0, 0, 0.04);
    background-clip: padding-box;
    animation: dropdownPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.has-dropdown .dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.has-dropdown:hover .dropdown {
    display: block;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    padding: 0;
    margin-bottom: 2px;
}

.dropdown li:last-child {
    margin-bottom: 0;
}

.dropdown li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border-left: 3px solid transparent;
    border-radius: 8px;
}

.dropdown li a i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.has-dropdown .dropdown.dropdown-mega {
    width: 680px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 15px;
    padding: 18px 24px;
}

.has-dropdown:hover .dropdown.dropdown-mega {
    display: grid;
    transform: translateX(-50%) translateY(0);
}

.dropdown.dropdown-mega li a {
    white-space: normal;
    align-items: flex-start;
    padding: 10px 16px;
    border-radius: 8px;
    line-height: 1.35;
}

.dropdown.dropdown-mega li a i {
    margin-top: 3px;
}

.dropdown li a:hover {
    background: rgba(30, 60, 114, 0.05);
    color: var(--primary);
    border-left-color: var(--accent);
    padding-left: 20px;
}

.dropdown li a:hover i {
    transform: scale(1.18);
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.btn-ouvidoria {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-ouvidoria:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.body-search-wrapper.glass-search-panel {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 50px 60px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(30, 60, 114, 0.08), 0 0 0 1px rgba(0,0,0,0.03);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.body-search-wrapper.glass-search-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.body-search-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.body-search-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 35px;
}

.body-search-form.massive-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 3px solid #e2e8f0;
    border-radius: 60px;
    padding: 8px 8px 8px 28px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.body-search-form.massive-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.15);
    transform: scale(1.02);
}

.body-search-form .body-search-icon {
    color: #94a3b8;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.body-search-form:focus-within .body-search-icon {
    color: var(--accent);
}

.body-search-form input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    width: 100%;
}

.body-search-form input::placeholder {
    color: #64748b; 
}

.btn-massive-search {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-massive-search:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.trending-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.trending-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    margin-right: 5px;
}

.trending-label i {
    color: var(--accent);
}

.trending-chip {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.trending-chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .body-search-wrapper.glass-search-panel {
        padding: 30px 20px;
    }
    .body-search-title {
        font-size: 1.6rem;
    }
    .body-search-form.massive-search {
        padding: 6px 6px 6px 15px;
        flex-direction: column;
        border-radius: 20px;
        background: transparent;
        border: none;
        gap: 10px;
    }
    .body-search-form.massive-search:focus-within {
        transform: none;
        box-shadow: none;
    }
    .body-search-form.massive-search .search-input-wrapper {
        background: var(--white);
        border: 2px solid #e2e8f0;
        border-radius: 50px;
        padding: 10px 15px;
        width: 100%;
        display: flex;
        align-items: center;
    }
    .btn-massive-search {
        width: 100%;
        justify-content: center;
    }
    .trending-searches {
        margin-top: 15px;
    }
}

.top-dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 30px;
    align-items: stretch;
}

.dashboard-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
}

.dashboard-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 12px;
}

.dashboard-sidebar-title i {
    color: var(--accent);
    font-size: 1.2rem;
}

.dashboard-sidebar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 3px solid rgba(30, 60, 114, 0.12); 
    line-height: 1.35;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.sidebar-link i {
    color: var(--primary);
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    transition: all 0.25s ease;
    margin-top: 1.5px;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(30, 60, 114, 0.04); 
    color: var(--primary);
    border-color: rgba(30, 60, 114, 0.08);
    border-left: 3px solid var(--accent); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.06);
}

.sidebar-link:hover i {
    color: var(--accent); 
    transform: scale(1.1);
}

.dashboard-sidebar-list::-webkit-scrollbar {
    width: 5px;
}

.dashboard-sidebar-list::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-sidebar-list::-webkit-scrollbar-thumb {
    background: rgba(30, 60, 114, 0.15);
    border-radius: 10px;
}

.dashboard-sidebar-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.dashboard-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 1600px) {
    .dashboard-sidebar-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .dashboard-bottom-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar-list {
        grid-template-columns: 1fr;
    }
}

.btn-servicos-portal {
    background: var(--accent);
    color: var(--white) !important;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.btn-servicos-portal:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.premium-header.scrolled .topbar-slim {
    display: none !important;
}
.premium-header.scrolled .header-top .header-container {
    padding: 6px 3%;
}
.premium-header.scrolled .header-logo img {
    height: 48px !important;
}
.premium-header.scrolled .logo-text-bottom {
    font-size: 1.2rem;
}

.hamburger-premium {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 1150px) {
    .btn-ouvidoria { display: none; }
}

@media (max-width: 1200px) {
    .header-top .header-container {
        display: flex;
        justify-content: space-between;
        padding: 12px 3%;
    }
    .premium-nav { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        z-index: 1000;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding: 20px 5%;
        transition: all 0.3s ease;
    } 
    
    .premium-nav.active {
        display: block !important;
    }
    
    .premium-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        width: 100%;
    }
    
    .premium-nav > ul > li {
        width: 100%;
        text-align: left;
    }
    
    .has-dropdown .dropdown,
    .has-dropdown .dropdown.dropdown-mega {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: none !important;
        padding-left: 15px !important;
        background: transparent !important;
        border-left: 2px solid var(--accent) !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease-in-out !important;
        display: block !important;
        grid-template-columns: 1fr !important;
        animation: none !important;
        margin: 0 !important;
    }
    
    .has-dropdown:hover .dropdown,
    .has-dropdown:hover .dropdown.dropdown-mega {
        max-height: 800px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .dropdown.dropdown-mega li a {
        white-space: normal !important;
        align-items: center !important;
        padding: 10px 12px !important;
    }
    
    .hamburger-premium { display: block; }
}

@media (max-width: 768px) {
    .topbar-slim { display: none; }
    .header-logo span { font-size: 1.1rem; }
    .btn-servicos-portal { 
        padding: 8px 12px; 
        font-size: 0.8rem; 
    }
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.45s ease-in-out;
    z-index: 1;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slider .slide .hero-overlay {
    z-index: 3;
}
.hero-content { z-index: 4; }

.hero-section {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background: url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    text-align: left;
}

.hero-title-area {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
    color: var(--accent);
}

.hero-details-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 25px;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.hero-detail-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-detail-item i {
    font-size: 1.8rem;
    color: var(--accent);
}

.hero-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-detail-item strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.hero-detail-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-arrows {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 2%;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
}

.hero-arrows button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.hero-arrows button:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.section-title {
    text-align: center;
    margin: 2rem 0 2rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.container {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.quick-access-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.quick-access-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark);
    text-decoration: none;
    flex: 1 1 200px;
    max-width: 280px;
}

.quick-access-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.1);
    border-color: rgba(30, 60, 114, 0.15);
}

.qac-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(30, 60, 114, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quick-access-card:hover .qac-icon {
    background: var(--primary);
    color: var(--white);
}

.qac-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.services-header .section-title::after {
    display: none;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.sc-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-card:hover .sc-icon-wrapper {
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
}

.sc-content h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 800;
}

.sc-action {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover .sc-action {
    opacity: 1;
    gap: 10px;
}

.grid-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 4rem;
}

.area-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.area-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.area-card:hover .area-img {
    transform: scale(1.05);
}

.area-content {
    padding: 25px;
    text-align: center;
}

.area-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.area-link {
    display: inline-block;
    font-weight: bold;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.area-link:hover {
    text-decoration: underline;
}

.newsletter-section {
    background: linear-gradient(rgba(30, 60, 114, 0.85), rgba(42, 82, 152, 0.85)), url('https://doisvizinhos.pr.gov.br/uploads/5378/DOIS%20VIZINHOS%20-%20VIS%C3%83O%20A%C3%89REA.jpg') center/cover fixed;
    padding: 60px 5%;
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.news-layout-wrapper {
    display: grid;
    
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 4rem;
    align-items: start;
}

.grid-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 150px;
}

.sidebar-widget h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    text-transform: uppercase;
}

.sidebar-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu-list a {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.sidebar-menu-list a:hover {
    background: var(--white);
    color: var(--primary);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.news-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
    cursor: pointer;
}

.news-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-main:hover img {
    transform: scale(1.05);
}

.news-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--white);
}

.news-main-content h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: bold;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.news-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.grid-ouvidoria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 5rem;
}

.card-sic {
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.card-sic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
}

.card-sic:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-sic i {
    font-size: 2.5rem;
}

.card-sic h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-contact {
    background: var(--white);
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
}

.contact-info i {
    color: var(--accent);
    margin-top: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.contact-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--accent);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 12px;
    border: none;
}

.footer-bottom {
    background: #0f2143;
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.float-satisfacao {
    position: fixed;
    left: -110px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
    transform-origin: left bottom;
}

.float-satisfacao:hover {
    background: #c0392b;
    left: -105px;
}

.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    cursor: pointer;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
    background: #1ebe57;
}

.float-whatsapp-msg {
    position: absolute;
    right: 80px;
    background: white;
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.float-whatsapp-msg::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.float-whatsapp:hover .float-whatsapp-msg {
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
}

@media (max-width: 1024px) {

    .grid-areas,
    .grid-ouvidoria {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-layout-wrapper {
        grid-template-columns: 1fr;
        
    }

    .grid-news {
        grid-template-columns: 1fr;
        
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }

    .search-wrapper {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        align-items: flex-start;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .nav-item:hover>.dropdown-content {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-details-row {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-detail-item {
        width: 100%;
        padding: 12px 20px;
    }

    .grid-areas,
    .grid-ouvidoria {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

#top-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-hover) 100%);
    z-index: 999999;
    width: 0%;
    transition: width 0.4s ease-out, opacity 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 1px 10px rgba(243, 156, 18, 0.4);
}

#top-loading-bar.active {
    opacity: 1;
    width: 85%;
}

#top-loading-bar.completed {
    opacity: 0;
    width: 100%;
    transition: width 0.2s ease-out, opacity 0.2s ease-in-out 0.2s;
}

.home-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(243, 156, 18, 0.3) !important;
    box-shadow: 0 8px 22px rgba(30, 60, 114, 0.08) !important;
}

.home-quick-card:hover h4 {
    color: var(--accent) !important;
}

.home-quick-card:hover div {
    background: rgba(243, 156, 18, 0.08) !important;
    color: var(--accent) !important;
}

.card-component {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
}

.card-component:hover {
    box-shadow: var(--shadow-md);
}

.card-component-title {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
    align-self: center; text-align: center;
    font-size: 1.15rem;
}

.card-component-info {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

. c o m p o n e n t - b l o c k   {   m a r g i n - b o t t o m :   2 r e m ;   w i d t h :   1 0 0 % ;   c l e a r :   b o t h ;   o v e r f l o w :   h i d d e n ;   }  
 . c o m p o n e n t - b l o c k   i m g   {   m a x - w i d t h :   1 0 0 % ;   h e i g h t :   a u t o ;   b o r d e r - r a d i u s :   8 p x ;   }  
 