/* style.css */
@font-face {
    font-family: 'Arboria';
    src: url('../fonts/arboria-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arboria';
    src: url('../fonts/arboria-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arboria';
    src: url('../fonts/arboria-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-orange: #e6dba6;
    --primary-gold: #d2af44;
    --primary-green: #386ba6;
    --primary-navy: #386ba6;
    --dark-navy: #2c5584;
    
    --primary-blue: var(--primary-navy);
    --primary-yellow: var(--primary-gold);
    --dark-blue: var(--dark-navy);
    --light-bg: #F8FAFC;
    --text-main: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --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 ease;
    --transition-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --font-main: 'Arboria', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Compensação automática de altura do header fixo para âncoras */
[id], section[id], div[id], h1[id], h2[id], h3[id], .cartao-item {
    scroll-margin-top: 100px;
}

body, input, select, textarea, button {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .section-title, .page-header h1, .shortcut-card h3, .institucional-block h2 {
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Secondary Top Bar */
.top-bar {
    background-color: #ffffff;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar-left a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.top-bar-left a:hover {
    color: var(--primary-orange);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2px;
}

.top-bar-link {
    color: #64748b;
    text-decoration: none;
    padding: 4px 11px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.top-bar-link:hover {
    color: var(--primary-navy);
    background-color: #f1f5f9;
}

.top-bar-link.highlight {
    color: #334155;
    font-weight: 700;
}

.top-bar-link.highlight:hover {
    color: var(--primary-orange);
    background-color: #fff7ed;
}

.top-bar-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
    user-select: none;
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    .top-bar-inner {
        padding: 4px 10px;
    }
    .top-bar-right {
        gap: 5px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    /* Esconde barra de rolagem no top-bar mobile */
    .top-bar-right::-webkit-scrollbar {
        display: none;
    }
    .top-bar-right {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .top-bar-link {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    .logo img {
        height: 60px;
        margin-left: -15px;
    }
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 36px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

header.scrolled .navbar {
    padding: 10px 5%;
}

.logo img {
    height: 86px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
}

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

.nav-links li a.active {
    color: var(--primary-orange);
    border-bottom: 2.5px solid var(--primary-orange);
}

/* Mega Menu Cartões */
.has-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 20px;
    width: 480px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    border: 1px solid #f1f5f9;
}

/* Seta apontando pra cima no Mega Menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-left: 1px solid #f1f5f9;
    border-top: 1px solid #f1f5f9;
}

/* Ponte transparente para manter o hover ativo ao mover o mouse para baixo */
.mega-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 15px;
    background: transparent;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-navy);
    padding: 10px;
    border-radius: 8px;
    position: relative;
    transition: background 0.2s ease;
}

.mega-menu-item::after {
    display: none !important;
}

.mega-menu-item:hover {
    background: transparent;
}

.mega-menu-item img {
    width: 110px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mega-menu-item:hover img {
    transform: scale(1.15);
}

.mega-menu-item span {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Mobile adjustments for Mega Menu */
@media (max-width: 768px) {
    .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        box-shadow: none;
        border: none;
        padding: 10px;
        display: none;
    }
    .mega-menu::before {
        display: none;
    }
    .has-dropdown:hover .mega-menu {
        display: grid;
    }
}

.mobile-only-nav {
    display: none;
}

.mobile-nav-icons {
    display: none; /* Only visible on mobile through media query */
}

@media (max-width: 768px) {
    .mobile-nav-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 15px;
    }
    .mobile-nav-icons a {
        font-size: 1.4rem !important;
        border: none !important;
    }
}

/* Botão de Destaque para Ajuda no Menu */
.nav-links li a.nav-btn-ajuda {
    background-color: var(--primary-orange);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.28);
    border-bottom: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links li a.nav-btn-ajuda i {
    font-size: 1rem;
}

.nav-links li a.nav-btn-ajuda:hover {
    background-color: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 124, 0, 0.4);
    color: #ffffff !important;
}

.nav-links li a.nav-btn-ajuda.active {
    background-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(0, 77, 153, 0.3);
}

/* Botão de Destaque para Extrato no Menu */
.nav-links li a.nav-btn-extrato {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 77, 153, 0.25);
    border-bottom: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links li a.nav-btn-extrato i {
    font-size: 1rem;
}

.nav-links li a.nav-btn-extrato:hover {
    background-color: #003666;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 77, 153, 0.35);
    color: #ffffff !important;
}

.nav-links li a.nav-btn-extrato.active {
    background-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px auto;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: var(--font-main);
}

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

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

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

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

/* Hero Section (Horizontal Sliding Track Carousel) */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 774;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f4f7fb;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: #f4f7fb;
}

/* Slider sem transição até estar pronto (evita flash na primeira carga) */
.slider-track {
    display: flex;
    width: 100%; height: 100%;
    will-change: transform;
    /* transition fica desabilitada até JS adicionar .slider-ready */
}
.slider-track.slider-ready {
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slider Controls & Navigation */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    z-index: 10;
    pointer-events: none;
}

.prev-slide, .next-slide {
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(8px);
}

.prev-slide:hover, .next-slide:hover {
    background: rgba(0, 77, 153, 0.95);
    border-color: #d2af44;
    color: #d2af44;
    transform: scale(1.12);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.15);
}

.dot.active {
    background: var(--primary-gold);
    width: 36px;
    border-radius: 10px;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: var(--white);
    background: rgba(0, 34, 68, 0.7);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 20px;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Sections */
.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

/* Page Headers (Padronização de Topo em todas as páginas) */
.page-header {
    background-color: var(--primary-navy);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px 50px;
    position: relative;
    box-shadow: inset 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.92;
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
}

/* Services / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary-yellow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Cards (Cartões) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-body h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.card-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Accordion (FAQ) */
.faq-search-box {
    max-width: 800px;
    margin: 0 auto 40px;
}
.faq-search-box input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 1.1rem;
    font-family: 'Arboria', sans-serif;
    outline: none;
    transition: var(--transition);
}
.faq-search-box input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.1);
}
.accordion {
    max-width: 900px;
    margin: 0 auto;
}
.accordion-item {
    background: var(--white);
    margin-bottom: 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.accordion-header {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-navy);
    background: var(--white);
    transition: var(--transition);
    user-select: none;
}
.accordion-header:hover {
    background: #f8fafc;
    color: var(--primary-orange);
}
.accordion-header span.icon {
    font-size: 1.4rem;
    font-weight: bold;
    color: #94a3b8;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}
.accordion-item.active .accordion-header {
    border-bottom: 1px solid #f1f5f9;
    color: var(--primary-orange);
    background: #fdfdfd;
}
.accordion-item.active .accordion-header span.icon {
    transform: rotate(45deg);
    color: var(--primary-orange);
}
.accordion-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    background: #ffffff;
}
.accordion-item.active .accordion-content {
    padding: 22px 24px;
    max-height: 1500px;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Arboria', sans-serif;
    transition: var(--transition);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 59, 115, 0.1);
}

/* Page Header (Inner pages) */
.page-header {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 5%;
    text-align: center;
}
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer CSS overrides */
.footer {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-top: 1px solid #e2e8f0;
    padding: 0 !important;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 45px 20px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.footer-logos img {
    max-height: 95px;
    max-width: 250px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logos img:hover {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .footer-logos img:last-child {
        display: none;
    }
    .footer-logos {
        gap: 15px;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        padding: 20px 15px;
    }
    .footer-logos img {
        max-width: 44%;
        max-height: 55px;
        height: auto;
        object-fit: contain;
    }
}

.footer-contact-section {
    background-color: #ffffff;
    padding: 45px 20px;
    text-align: left;
}

.footer-contact-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-contact-col {
    flex: 1;
    min-width: 250px;
}

.footer-contact-col h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-contact-link i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.footer-contact-link:hover {
    color: var(--primary-yellow);
}

.footer-social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--primary-blue);
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #f8fafc;
    color: #64748b;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        top: 0;
    }

    .top-bar {
        display: none;
    }

    .mobile-only-nav {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Fica logo abaixo do header */
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px 0;
        text-align: center;
        box-shadow: var(--shadow-md);
        
        /* Permitir rolagem no menu mobile se expandido */
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        
        /* Movimento suave */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.35s ease-in-out;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hamburger {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
/* Shortcuts Section (Cards da Home) */
.shortcuts {
    background-color: #f8fafc;
    padding: 20px 20px 50px !important;
    width: 100%;
    margin-bottom: 0 !important;
}

.shortcuts-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex-wrap: nowrap;
}

.shortcut-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.35s ease, 
                filter 0.35s ease;
    position: relative;
    overflow: hidden;
}

.shortcut-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.shortcut-card img,
.shortcut-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.shortcut-card i {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.shortcut-card h3 {
    font-size: 0.88rem;
    text-align: center;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    word-break: break-word;
    hyphens: auto;
    transition: transform 0.3s ease;
}

/* Hover & Movement animations */
.shortcut-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    filter: brightness(1.08);
    z-index: 5;
}

.shortcut-card:hover::after {
    opacity: 1;
}

.shortcut-card:hover img,
.shortcut-card:hover i {
    transform: scale(1.15) translateY(-3px);
}

.shortcut-card:hover h3 {
    transform: translateY(-2px);
}

.shortcut-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Institucional Block margin normalization */
.institucional-block {
    padding: 50px 20px 25px !important;
}

/* ── Scroll Reveal Animations ───────────────────────────────────────────────── */
@keyframes srFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sr-hidden {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Shortcut cards individualmente com spring delay */
.shortcuts .shortcut-card.sr-hidden {
    transform: translateY(18px) scale(0.97);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.shortcuts .shortcut-card.sr-visible {
    transform: translateY(0) scale(1);
}

/* ── Melhorias de hover globais ──────────────────────────────────────────────── */
/* Links do nav com sublinhado deslizante */
.nav-links li a:not(.nav-btn-ajuda):not(.nav-btn-extrato):not(.mega-menu-item):not(.active) {
    position: relative;
}
.nav-links li a:not(.nav-btn-ajuda):not(.nav-btn-extrato):not(.mega-menu-item):not(.active)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.25s ease;
    border-radius: 2px;
}
.nav-links li a:not(.nav-btn-ajuda):not(.nav-btn-extrato):not(.mega-menu-item):hover::after {
    width: 100%;
}

/* Page header com entrada suave */
.page-header {
    animation: srFadeUp 0.5s ease both;
}

/* Feature cards com sombra mais suave e elevação melhorada */
.feature-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--primary-yellow);
}

/* Accordion com cubic-bezier mais natural */
.accordion-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

/* Botões com ripple leve ao clicar */
.btn, .btn-quero, .btn-submit-form {
    position: relative;
    overflow: hidden;
}
.btn::before, .btn-quero::before, .btn-submit-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.2s ease;
}
.btn:active::before, .btn-quero:active::before, .btn-submit-form:active::before {
    opacity: 1;
}

/* ── Hover zoom nas imagens da página Cartões ──────────────────────────────── */
.cartao-item-img {
    overflow: hidden;
    transition: transform 0.4s ease;
}
.cartao-item-img:hover {
    /* Sem sombra no hover, apenas o zoom da imagem abaixo */
}
.cartao-item-img img {
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
    display: block;
    width: 100%;
}
.cartao-item-img:hover img {
    transform: scale(1.07);
}

/* Responsive Shortcuts on smaller screens */
@media (max-width: 1100px) {
    .shortcuts-grid {
        flex-wrap: wrap;
        gap: 10px;
    }
    .shortcut-card {
        flex: 1 1 calc(20% - 10px);
        min-width: 130px;
        padding: 14px 8px;
    }
    .shortcut-card img {
        width: 42px;
        height: 42px;
    }
    .shortcut-card h3 {
        font-size: 0.82rem;
    }
}

.desktop-only-text {
    display: block !important;
}
.mobile-only-text {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only-text {
        display: none !important;
    }
    .mobile-only-text {
        display: block !important;
    }
    .institucional-block {
        padding: 15px 15px 5px !important;
    }
    .institucional-block h2 {
        font-size: 1.3rem !important;
        margin: 8px 0 3px !important;
    }
    .institucional-block .badge {
        padding: 4px 12px !important;
        font-size: 0.75rem !important;
    }
    .shortcuts {
        padding: 10px 15px 30px !important;
    }
    .shortcuts-grid {
        flex-wrap: wrap;
        gap: 8px;
    }
    .shortcut-card {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 100px;
        padding: 12px 6px;
    }
    .shortcut-card img {
        width: 36px;
        height: 36px;
    }
    .shortcut-card h3 {
        font-size: 0.75rem;
    }

    /* Reajuste Equilibrado de Fontes e Entrelinhas nos Títulos das Páginas para Mobile */
    .page-header {
        padding: 40px 20px 35px !important;
    }
    .page-header h1, h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    .page-header p {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
    }
    .cartoes-hero-text h1, .hero-content h1, .hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    .section-title, h2.section-title, h2 {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .shortcut-card {
        flex: 1 1 calc(33.333% - 6px);
        padding: 10px 4px;
    }
    .shortcut-card img {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
    }
    .shortcut-card h3 {
        font-size: 0.7rem;
    }
}

/* Floating WhatsApp Badge */
.whatsapp-floating-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(11, 29, 51, 0.95);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}


.whatsapp-floating-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp-floating-badge h4 {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-main);
}

.whatsapp-floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-floating-btn:hover {
    background-color: #1eb956;
    transform: scale(1.02);
}

.whatsapp-floating-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
}

@media (max-width: 600px) {
    .whatsapp-floating-badge {
        bottom: 15px;
        right: 15px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .whatsapp-floating-badge h4 {
        display: none;
    }
    .whatsapp-floating-btn {
        padding: 0;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    .whatsapp-floating-btn span {
        display: none;
    }
    .whatsapp-floating-btn img {
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   Accessibility Widget & Accessibility Features
   ========================================================================== */

/* High Contrast Mode */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffff00 !important;
}

body.high-contrast header,
body.high-contrast .navbar,
body.high-contrast .page-header,
body.high-contrast .footer,
body.high-contrast .footer-logos,
body.high-contrast .footer-contact-section,
body.high-contrast .accordion-item,
body.high-contrast .accordion-header,
body.high-contrast .accordion-content,
body.high-contrast .shortcut-card,
body.high-contrast .category-card,
body.high-contrast .form-card,
body.high-contrast .tab-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
}

body.high-contrast h1, 
body.high-contrast h2, 
body.high-contrast h3, 
body.high-contrast h4, 
body.high-contrast a,
body.high-contrast .nav-links li a {
    color: #ffff00 !important;
    text-shadow: none !important;
}

body.high-contrast .btn,
body.high-contrast .btn-quero,
body.high-contrast .btn-submit-form {
    background-color: #ffff00 !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
}

/* Dyslexic Friendly Font */
body.dyslexia-font {
    font-family: Arial, sans-serif !important;
    letter-spacing: 0.8px !important;
    word-spacing: 2px !important;
    line-height: 1.9 !important;
}

/* Underline all links */
body.underline-links a {
    text-decoration: underline !important;
}

/* Accessibility Floating Trigger Button (Canto Esquerdo) */
.accessibility-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--primary-navy);
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accessibility-trigger:hover {
    transform: scale(1.12);
    background-color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    bottom: 86px;
    left: 24px;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    z-index: 999999;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 14px;
    animation: accSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accessibility-panel.active {
    display: flex;
}

@keyframes accSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.acc-header h3 {
    font-size: 1.1rem;
    color: var(--primary-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acc-close-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #64748b;
    padding: 0 4px;
}

.acc-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.acc-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-align: center;
}

.acc-btn i {
    font-size: 1.1rem;
    color: var(--primary-navy);
}

.acc-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.acc-btn.active {
    background: #386ba6;
    color: #ffffff;
    border-color: #386ba6;
}

.acc-btn.active i {
    color: #d2af44;
}

.acc-btn-full {
    grid-column: span 2;
}

/* ==========================================================================
   Cookie Consent Banner & Management Modal
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999998;
    display: flex;
    justify-content: center;
    padding: 0 20px 20px;
    pointer-events: none;   /* Deixa o banner não interceptar cliques quando invisível */
    /* Animação de entrada */
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
    pointer-events: auto;
}

/* Card interno do banner (centralizado, não full-width) */
.cookie-banner-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -2px 0 #e2e8f0, 0 8px 40px rgba(0,0,0,0.14);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 28px;
    max-width: 860px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.cookie-content h4 {
    margin: 0 0 6px 0;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.btn-cookie-accept {
    background-color: var(--primary-orange);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-cookie-accept:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.btn-cookie-settings {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-cookie-settings:hover {
    background-color: #e2e8f0;
}

/* Modal Gestão de Cookies */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-modal {
    background: #ffffff;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-navy);
}

.cookie-category {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cookie-category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category-head label {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 0 12px 12px;
    }
    .cookie-banner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        border-radius: 14px;
        padding: 16px 18px;
    }
    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .accessibility-trigger {
        bottom: 15px;
        left: 15px;
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
    .accessibility-panel {
        left: 15px;
        bottom: 70px;
        width: calc(100vw - 30px);
        max-width: 320px;
    }
}

/* ── Abas do Modal de Cookies ────────────────────────────────────────────────── */
.cookie-modal-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.cookie-tab-btn {
    background: none;
    border: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    font-family: var(--font-main);
    margin-bottom: -1px;
}

.cookie-tab-btn:hover { color: var(--primary-navy); }
.cookie-tab-btn.active {
    color: var(--primary-navy);
    border-bottom-color: var(--primary-navy);
}

.cookie-tab-pane { display: none; }
.cookie-tab-pane.active { display: block; }

/* ── Seção Meus Dados (LGPD) ─────────────────────────────────────────────────── */
.lgpd-delete-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.lgpd-delete-form input {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.lgpd-delete-form input:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(0, 77, 153, 0.1);
}

.btn-delete-data {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
}

.btn-delete-data:hover { background: #b91c1c; transform: translateY(-1px); }
.btn-delete-data:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }

.data-msg {
    font-size: 0.83rem;
    border-radius: 8px;
    padding: 10px 13px;
    line-height: 1.5;
    margin-top: 6px;
}

.data-msg code {
    background: rgba(0,0,0,0.08);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: monospace;
}

.data-msg a { font-weight: 700; }

.data-msg--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.data-msg--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.lgpd-info {
    font-size: 0.78rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1.5;
    margin-top: 4px;
}

@media (min-width: 769px) {
    /* Aumento da Logo NovoTrans no Rodapé (30%) */
    .footer-logos img[src*="novo-trans"] {
        max-height: 124px !important; /* 95px * 1.3 = ~123.5px */
        max-width: 325px !important;  /* 250px * 1.3 = 325px */
    }
}

/* Custom adjustments for Pérola Card */
.navbar .logo img {
    height: 48px !important;
    max-height: none !important;
    width: auto !important;
    margin: 8px 0 !important;
}

/* BIGGER LOGOS AS REQUESTED */
.footer-logos {
    text-align: center;
    padding: 20px 0;
}
.footer-logos img {
    height: 160px !important;
    max-height: 180px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 10px auto !important;
}
