/* Base Variables */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors Sinttel-DF */
    --color-dark-blue: #0C1627;
    --color-white: #FFFFFF;
    --color-title: #0F172A;
    --color-body: #566273;
    --color-light-gray: #F5F7FB;
    --color-red: #E11D48;
    --color-red-hover: #BE123C;
    --color-medium-blue: #1C6B90;
    --color-card-border: #E2E8F0;

    /* Typography */
    --font-primary: 'Manrope', Arial, sans-serif;

    /* Layout & Scale 
       Updated container to 1280px max-width and 24px padding 
       for a broader, modern enterprise design layout */
    --container-width: 1280px;
    --container-padding: 24px;
    --section-spacing: 6rem;

    /* Utilities */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Subtle lift */
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Cards, buttons */
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    /* Hover states */
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    /* Floating elements */

    --transition: all 200ms ease;
}

/* Accessibility: Keyboard Navigation */
:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.4);
    border-color: var(--color-red);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-title);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Accessibility & UX Pro Max Rules */
:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 4px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

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

/* Structural */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

.section-light {
    background-color: var(--color-light-gray);
}

/* Typography Helpers */
.tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-red);
    margin-bottom: 1rem;
}

.tag-light {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Badge (pill with icon) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--color-red);
    color: var(--color-red);
    border-width: 1px;
    border-style: solid;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.btn-pdf {
    background-color: transparent;
    border-color: var(--color-red);
    color: var(--color-red);
    border-width: 1px;
    border-style: solid;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    min-width: 120px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-pdf:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-download {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    /* Manter estilos base do projeto */
    background: transparent;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    transition: var(--transition);
    height: 44px;
    /* Altura mínima consistente */
}

.btn-download:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 25, 44, 0.2);
}

.btn-download:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-download svg {
    flex-shrink: 0;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    border-width: 1px;
    border-style: solid;
}

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

.btn-arrow {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Header */
.site-header {
    background-color: var(--color-dark-blue);
    padding: 1.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.05em;
}

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

.desktop-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9375rem;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-white);
}

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

.header-actions .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
}

/* Hero */
.hero {
    margin-top: 76px;
    /* Header height offset */
    position: relative;
    padding: 8rem 0 12rem;
    background-color: var(--color-dark-blue);
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, #0C1627, #0C1627f2 25%, #fff0 68%, #0C1627),
        url('../imagens/hero-sinttel.jpg');
    background-size: 28px 28px, cover, cover;
    background-position: top left, center, center;
    color: var(--color-white);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    font-weight: 500;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Quick Access Cards */
.quick-access-wrapper {
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.q-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-card-border);
    transition: var(--transition);
    cursor: pointer;
}

.q-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(12, 22, 39, 0.08);
    /* Smoother, deeper shadow */
    border-color: transparent;
}

/* Horizontal Department Cards */
.dept-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dept-card {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.25s ease;
}

.dept-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(12, 22, 39, 0.05);
    border-color: rgba(225, 29, 72, 0.2);
}

.dept-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(225, 29, 72, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
    flex-shrink: 0;
}

.dept-icon-wrap svg {
    margin: 0 !important;
    display: block;
}

.dept-card-content {
    flex: 1;
}

.dept-card-content h3 {
    font-size: 1.25rem;
    color: var(--color-title);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dept-card-content p {
    font-size: 1rem;
    color: var(--color-body);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: none;
}

@media (max-width: 768px) {
    .dept-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}
.q-card .icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(225, 29, 72, 0.07);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.q-card:hover .icon-wrap {
    background: var(--color-red);
    color: var(--color-white);
}

.q-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.q-card p {
    font-size: 0.875rem;
    color: var(--color-body);
}

/* Comunicados Slider */
.slider-section {
    padding: var(--section-spacing) 0;
}

.slider-header {
    margin-bottom: 2.5rem;
}

.slider-header h2 {
    color: #0F182A;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.comunicados-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #21688B;
    display: flex;
    flex-direction: column;
    padding: 3.5rem; /* Fidelidade à referência */
}

.comunicados-track {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
}

.comunicado-slide {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% conteúdo, 50% imagem */
    gap: 4rem;
    align-items: center;
    transition: opacity 400ms ease-in-out;
    min-height: 440px;
}

.comunicado-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.comunicado-slide-content {
    padding: 0; /* Padding agora é controlado pelo container .comunicados-slider */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.comunicado-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.comunicado-tag-icon {
    background: var(--color-white);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.comunicado-tag-icon svg {
    stroke: #21688B;
    width: 20px;
    height: 20px;
}

.comunicado-tag-text {
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.comunicado-slide-content h3 {
    color: var(--color-white);
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.comunicado-slide-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 2.5rem;
}

.comunicado-slide-image-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    width: 100%;
    height: 100%;
}

.comunicado-slide-image-wrapper > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.c-dash-nav {
    position: relative;
    margin-top: 3.5rem;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.c-dash {
    width: 48px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.c-dash:hover {
    background: rgba(255, 255, 255, 0.6);
}

.c-dash.active {
    background: var(--color-white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Button Ghost White */
.btn-ghost-white {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--color-white);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    background: transparent;
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white) !important;
    transform: translateY(-2px);
    color: var(--color-white);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .comunicados-slider {
        padding: 1.5rem;
    }

    .comunicado-slide {
        grid-template-columns: 1fr;
        grid-template-rows: auto 300px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .comunicado-slide-content {
        padding: 2rem 0;
    }

    .comunicado-slide-image-wrapper {
        min-height: 300px;
        margin-top: 1rem;
    }

    .comunicado-slide-content h3 {
        font-size: 1.75rem;
    }

    .c-dash-nav {
        left: 50%;
        transform: translateX(-50%);
        bottom: 1.5rem;
    }
    
    .c-dash {
        width: 32px;
    }
}

/* Beneficios Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.avatar-img {
    margin: 0 auto;
    max-width: 80%;
    border-radius: 50%;
    width: 100%;
    height: auto;
}

.split-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0F182A;
    margin-bottom: 1.5rem;
}

.split-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--color-body);
    line-height: 1.6;
}

.checklist {
    list-style: none;
    margin-bottom: 2rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-title);
}

.check-icon {
    color: var(--color-red);
    background: rgba(225, 29, 72, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 6px;
    flex-shrink: 0;
}

.image-decorated {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.image-decorated img {
    border-radius: var(--radius-lg);
    /* Shadow removed to maintain cleaner visuals */
}

/* Partners */
.partners {
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-card-border);
}

.partners-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll-marquee 30s linear infinite;
    align-items: center;
    mix-blend-mode: luminosity;
    /* Ensure track width is perfectly calculated for the clone * 2 */
    width: max-content;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translates exactly half of the track width (the first set of logos + gap) */
        transform: translateX(calc(-50%));
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.partner-logo img {
    width: 140px;
    height: 40px;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: grayscale(100%);
}

/* Specific sizing to visually balance optically heavier logos */
.partner-logo img[alt="Vivo"] {
    width: 85px;
}

.partner-logo img[alt="TIM"] {
    width: 75px;
}

.partner-logo img[alt="Claro"] {
    width: 95px;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin: 4rem 0;
}

.stat-item {
    border-right: 1px solid var(--color-card-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-title);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-body);
}

/* App Section */
.app-section {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 48px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin: calc(var(--section-spacing) + 2rem) auto var(--section-spacing);
    position: relative;
    overflow: visible;
}

.app-mockup-img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.app-content {
    flex: 1;
    z-index: 2;
    max-width: 440px;
}

.app-tag-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-icon-box {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(12, 22, 39, 0.05);
    color: #566273;
}

.app-tag-text {
    font-size: 0.8125rem;
    font-weight: 800;
    color: #8F99A8;
    letter-spacing: 0.08em;
}

.app-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0F182A;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.app-content p {
    font-size: 1.125rem;
    color: #718096;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 500;
}

.app-buttons {
    display: flex;
    gap: 12px;
}

.app-buttons a {
    display: inline-block;
    background: transparent;
    padding: 0;
    max-width: 140px;
    border: none;
    outline: none;
    box-shadow: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.app-buttons a img {
    height: auto;
    width: 100%;
    display: block;
}

.app-buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.app-img-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
    align-self: flex-end;
}

.app-img-wrap img {
    height: 420px;
    width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: block;
    margin-top: -40px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Boletins */
.boletins-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.boletins-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0F182A;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
}

.boletins-header p {
    max-width: 500px;
    color: var(--color-body);
    font-size: 1.05rem;
    line-height: 1.6;
}

.boletins-header a {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.boletins-header a:hover {
    color: #b71321 !important;
    /* var(--color-red-hover) equivalent for high specificity */
    transform: translateX(4px);
}

.boletin-item {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.25s ease;
    margin-bottom: 16px;
}

.boletin-item:hover {
    border-color: rgba(12, 22, 39, 0.1);
}

.boletin-item .dateGroup {
    display: flex;
    flex-direction: column;
    min-width: 80px;
    flex-shrink: 0;
}

.boletin-item .bulletin-number {
    font-weight: 700;
    color: var(--color-title);
    font-size: 1.125rem;
}

.boletin-item .bulletin-full-date {
    font-size: 0.85rem;
    color: var(--color-body);
}

.boletin-item .b-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.boletin-item .b-tag {
    background: rgba(28, 107, 144, 0.1);
    color: var(--color-medium-blue);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-transform: uppercase;
    align-self: flex-start;
}

.boletin-item .b-title {
    font-weight: 500;
    color: var(--color-title);
    font-size: 1.05rem;
    line-height: 1.4;
}

.boletin-item .btn {
    flex-shrink: 0;
}

/* Mobile Responsiveness for Boletins */
@media (max-width: 640px) {
    .boletin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .boletin-item .b-tag {
        align-self: flex-start;
    }

    .boletin-item .btn,
    .boletin-item .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

.bulletin-full-date {
    display: block;
    font-weight: 400;
    color: var(--color-body);
    font-size: 0.875rem;
}

.b-tag {
    background: var(--color-light-gray);
    color: var(--color-medium-blue);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
}

.b-title {
    flex: 1;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-title);
}

/* CTA Final */
.cta-final {
    background: var(--color-dark-blue);
    border-radius: 36px;
    padding: 4rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: var(--section-spacing) 0;
}

.cta-final-content {
    flex: 1;
    max-width: 650px;
}

.cta-final h2 {
    color: var(--color-white);
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-final p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.cta-final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

.cta-final-actions small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.cta-btn {
    background: var(--color-white);
    color: var(--color-title);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: var(--color-light-gray);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: var(--color-dark-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-red);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.footer-contact p {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    align-items: flex-start;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE SYSTEM — Homepage (Sprint 58)
   Breakpoints: 1200px (large tablet), 1024px (tablet), 768px (mobile), 480px (small)
   Following UI/UX Pro Max guidelines: 375px, 768px, 1024px, 1440px
   ========================================================================== */

/* --- 1200px: Large tablet / small laptop ---------------------------------- */
@media (max-width: 1200px) {
    .hero {
        padding: 7rem 0 10rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .app-section {
        gap: 2.5rem;
        padding: 3rem;
    }
}

/* --- 1024px: Tablet landscape -------------------------------------------- */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 0 9rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .split-image {
        order: -1;
    }

    .split-image img {
        max-width: 65%;
        margin: 0 auto 1.5rem;
    }

    .cta-final {
        flex-direction: column;
        padding: 3.5rem 3rem;
        text-align: center;
        border-radius: 24px;
        gap: 2.5rem;
    }

    .cta-final-content {
        max-width: 100%;
    }

    .cta-final h2 {
        font-size: 2rem;
    }

    .app-section {
        display: flex;
        flex-direction: column;
        padding: 3rem 2.5rem;
        text-align: center;
    }

    .app-tag-wrapper,
    .app-buttons,
    .app-img-wrap {
        justify-content: center;
        align-self: center;
    }

    .app-img-wrap img {
        transform: scale(1) translateY(0);
        margin: 0 auto;
        max-width: 260px;
    }

    .split-content .checklist li {
        justify-content: center;
    }

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

    .carousel-card {
        flex-direction: column;
    }

    .carousel-content {
        padding: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        border: none !important;
    }

    /* Boletins tablet: keep horizontal but allow wrap */
    .boletin-item {
        gap: 1.5rem;
    }
}

/* --- 768px: Mobile landscape / Tablet portrait --------------------------- */
@media (max-width: 768px) {
    /* Header responsivity moved to 1024px block at EOF */

    /* Hero */
    .hero {
        padding: 5rem 0 8rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -0.03em;
    }

    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Quick access */
    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    .quick-access-wrapper {
        margin-top: -3rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Partners */
    .partners {
        padding: 2.5rem 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    /* Boletins */
    .boletins-header {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .boletin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* App section */
    .app-section {
        padding: 2.5rem 1.5rem;
    }

    .app-content h2 {
        font-size: 2.25rem;
    }

    .app-img-wrap img {
        max-width: 180px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta-final {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
    }

    .cta-final h2 {
        font-size: 1.75rem;
    }

    .cta-final-actions {
        width: 100%;
    }

    .cta-btn {
        width: 100%;
    }

    /* Section spacing */
    .section {
        padding: 4rem 0;
    }
}

/* --- 480px: Small phones ------------------------------------------------- */
@media (max-width: 480px) {
    .hero {
        padding: 4.5rem 0 7rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    #hero-title {
        font-size: 2rem;
    }

    #hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-badge span {
        font-size: 0.65rem;
    }

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

    .stat-value {
        font-size: 2.5rem;
    }

    .q-card {
        padding: 1.5rem;
    }

    .partners-marquee {
        padding: 0.5rem 0;
        mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    }

    .partner-logo img {
        height: 24px;
        width: 100px;
    }

    .partner-logo img[alt="Vivo"] {
        width: 60px;
    }

    .partner-logo img[alt="TIM"] {
        width: 50px;
    }

    .partner-logo img[alt="Claro"] {
        width: 70px;
    }
    
    .marquee-track {
        gap: 2.5rem;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    .split-image img {
        max-width: 85%;
    }

    .cta-final {
        padding: 2.5rem 1rem;
    }

    .cta-final h2 {
        font-size: 1.5rem;
    }

    .app-content h2 {
        font-size: 1.75rem;
    }
}

/* Institucional Two-Column Layout */
.institucional-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    padding: 0 0 64px 0;
    margin-top: 64px;
}

.institucional-main {
    min-height: 500px;
    overflow-x: hidden; /* Previne scroll horizontal */
}

/* Typography Line Length Rule */
.max-w-prose {
    max-width: 65ch;
    line-height: 1.7;
    color: var(--color-body);
}

.institucional-main p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-body);
}

/* Sidebar Styles */
.sidebar {
    background: #F8F9FB;
    /* Light-gray uniform background from reference */
    border-radius: 12px;
    padding: 24px 20px;
    position: sticky;
    top: 120px;
    /* Account for fixed header height + breathing room */
    align-self: start;
    /* Required for sticky to work correctly inside grid */
}

.sidebar-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #64748B;
    margin-bottom: 32px;
    margin-left: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #1E293B;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    background: transparent;
    outline: 2px solid transparent;
    outline-offset: -2px;
}

/* Icons styling */
.sidebar-link svg {
    color: #64748B;
    width: 20px;
    height: 20px;
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
    background: rgba(15, 23, 42, 0.06);
    color: #0F182A;
    /* Slate-900 instead of pure title color for softness */
    border-bottom-color: transparent;
    transform: translateX(4px);
    /* Premium interaction slide */
}

.sidebar-link:focus-visible {
    outline-color: var(--color-primary);
}

.sidebar-link.active {
    background: #0C1627;
    color: #FFFFFF !important;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(12, 22, 39, 0.1), 0 2px 4px -1px rgba(12, 22, 39, 0.06);
}

/* When an item is active, its icon should be white */
.sidebar-link.active svg {
    color: #FFFFFF;
}

/* ═══ Tablet: sidebar vira nav horizontal ═══ */
@media (max-width: 1024px) and (min-width: 769px) {
    .institucional-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 1.5rem 1.5rem 3rem 1.5rem;
        margin-top: 2rem;
    }

    .sidebar {
        padding: 1rem 0;
        top: auto;
        position: relative;
        border-radius: 0;
        background: transparent;
    }

    .sidebar-label {
        display: none;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1.5rem;
        padding: 0 1.5rem 8px 1.5rem;
    }

    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .sidebar-link {
        white-space: nowrap;
        background: #F8F9FB;
        font-size: 0.95rem;
        padding: 10px 16px;
        border: 1px solid var(--color-card-border);
    }

    .sidebar-link.active {
        border-color: transparent;
    }
}

/* ═══ Mobile: sidebar removida, conteúdo priorizado ═══ */
@media (max-width: 768px) {
    .institucional-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 1rem 1rem 2.5rem 1rem;
        margin-top: 1rem;
    }

    /* Esconde sidebar no mobile — prioriza conteúdo */
    #sidebar-placeholder {
        display: none;
    }

    .institucional-main {
        min-height: auto;
    }

    /* Tipografia mobile */
    .institucional-main h2.section-heading {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .institucional-main h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .institucional-main p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .max-w-prose {
        max-width: 100%;
    }

    /* CTA Estatuto: empilha verticalmente */
    .cta-estatuto {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .cta-estatuto-avatar {
        width: 120px;
        height: 120px;
    }

    .cta-estatuto-content {
        align-items: center;
    }

    .cta-estatuto-title {
        font-size: 1.25rem;
    }

    .cta-estatuto-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    /* Board grid: 1 coluna no mobile */
    .board-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 1.5rem;
    }

    .board-card-img {
        height: 200px;
    }

    .board-card-content {
        padding: 16px;
    }

    .board-card h3 {
        font-size: 1.1rem;
    }

    /* Section divider spacing */
    .section-divider {
        margin: 2rem 0;
    }

    /* Dept cards */
    .dept-card {
        padding: 16px;
        gap: 1rem;
    }

    .dept-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .dept-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .dept-card-content h3 {
        font-size: 1.1rem;
    }

    .dept-card-content p {
        font-size: 0.9rem;
    }

    /* Boletins: btn full-width */
    .boletin-item .btn-download {
        width: 100%;
        justify-content: center;
    }

    /* FAQ */
    .faq-category {
        font-size: 1.35rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 16px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

    /* FAQ Contact Block */
    .contact-faq-block {
        margin-top: 2.5rem;
        padding: 2rem 1.25rem;
    }

    .contact-faq-block h3 {
        font-size: 1.35rem;
    }

    .contact-faq-block p {
        font-size: 1rem;
    }

    .contact-faq-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-faq-links a {
        font-size: 1rem;
        justify-content: center;
    }

    /* Btn download: full-width e touch-friendly */
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

}

/* Dropdown Nav - Glassmorphism & UX Enhanced */
.dropdown {
    position: relative;
    padding: 0.5rem 0;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

/* Add a subtle visual indicator for dropdowns */
.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;

    /* Glassmorphism base */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(12, 22, 39, 0.15),
        0 4px 10px -5px rgba(12, 22, 39, 0.1);

    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;

    /* Interaction UX */
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

/* Invisible bridge so mouse doesn't fall off */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

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

.dropdown-menu a {
    color: var(--color-title);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-red);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 0 4px 4px 0;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: var(--color-dark-blue);
    background: rgba(12, 22, 39, 0.04);
    padding-left: 20px;
    outline: none;
}

.dropdown-menu a:hover::before,
.dropdown-menu a:focus::before {
    transform: scaleY(1);
}

/* Dropdown mobile rules moved to 1024px block at EOF */

/* Internal Hero Banner */
.internal-hero {
    /* 1. Base color */
    background-color: #0C1627;
    /* 2 & 3. Dot pattern and Gradient glow */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(135deg, #0C1627 0%, #1a2d4a 50%, #0C1627 100%);
    background-size: 28px 28px, 100% 100%;

    padding: 132px 0 64px 0;
    color: #ffffff !important;
}

.internal-hero+.section {
    padding-top: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #ffffff !important;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5) !important;
}

.internal-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

/* Base Formats for Internal Content */
.internal-content {
    max-width: 900px;
    margin: 0 auto;
}

.internal-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-body);
    margin-bottom: 2rem;
}

.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.download-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.download-info svg {
    color: var(--color-red);
}

.download-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-title);
}

/* Avatar CTA (Estatuto) */
.cta-estatuto {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.cta-estatuto-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-estatuto-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-estatuto-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-estatuto-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-title);
    margin-bottom: 0.5rem;
}

.cta-estatuto-desc {
    font-size: 1.05rem;
    color: var(--color-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 500px;
}

/* === Institucional UX/UI Pro Max Components === */

/* Semantic Section Heading (replaces inline styles) */
.section-heading {
    font-size: 2rem;
    color: var(--color-title);
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 70%;
    background-color: var(--color-red);
    border-radius: 4px;
}

.section-heading--spaced {
    margin-bottom: 2rem;
}

/* Section Divider */
.section-divider {
    margin: 3.5rem 0;
    border: 0;
    border-top: 1px solid var(--color-card-border);
}

/* Styled List for names (Suplentes, Delegados, Conselho) */
.styled-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--color-body);
    font-size: 1.05rem;
}

.styled-list li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.styled-list li:hover {
    background-color: rgba(12, 22, 39, 0.03);
}

.styled-list li strong {
    color: var(--color-title);
}

/* Two-Column Grid for Delegates/Fiscal */
.delegados-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .delegados-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.delegados-grid h3 {
    color: var(--color-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Board-Card Icon Class (Departamentos) */
.board-card-icon {
    color: var(--color-red);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Grid Boards (Diretoria/Departamentos) */
.board-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 2rem;
}

@media (min-width: 769px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .board-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.board-card {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.board-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.board-card-img {
    width: 100%;
    margin: 0;
    height: 260px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-bottom: 1px solid var(--color-light-gray);
    background: #f1f5f9;
}

.board-card:hover {
    cursor: pointer;
}

.board-card h3 {
    font-size: 1.25rem;
    color: var(--color-title);
    margin-bottom: 0.5rem;
}

.board-card .position {
    color: var(--color-red);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.board-card .company {
    color: var(--color-body);
    font-size: 0.875rem;
}

.board-card p {
    margin-top: 1rem;
    color: var(--color-body);
    line-height: 1.6;
}

/* Cartilhas Grid */
.cartilha-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .cartilha-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cartilha-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.cartilha-card {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Extremely subtle baseline shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cartilha-card:hover {
    /* Very soft interactive shadow */
}

.cartilha-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--color-light-gray);
    position: relative;
    overflow: hidden;
}

.cartilha-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Don't crop document covers */
    display: block;
}

.cartilha-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cartilha-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cartilha-content p {
    font-size: 0.95rem;
    color: var(--color-body);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
    display: none;
}

/* Acordos Coletivos / Convenções */
.acordos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 2rem;
}

.acordo-card {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-left: 6px solid var(--color-red);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.acordo-card:hover {}

.acordo-header {
    margin-bottom: 1.5rem;
}

.acordo-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-title);
    margin-bottom: 0.5rem;
}

.acordo-header p {
    font-size: 1.05rem;
    color: var(--color-body);
    margin-bottom: 0;
}

/* For when an entity has multiple docs (Aditivos) */
.acordo-subtitle {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-title);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-card-border);
}

.acordo-doc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    background: var(--color-light-gray);
    padding: 24px;
    border-radius: 12px;
}

.acordo-doc.inline {
    background: transparent;
    padding: 0;
    margin-top: 0;
}

.acordo-validity {
    font-size: 0.875rem;
    color: var(--color-body);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.acordo-validity svg {
    color: var(--color-medium-blue);
}

/* Modern Data Tables (Acordos & Convenções) */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(12, 22, 39, 0.03);
    margin-top: 2rem;
}

.table-acordos {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}

.table-acordos th {
    background: var(--color-light-gray);
    color: var(--color-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-card-border);
}

.table-acordos td {
    padding: 1.5rem;
    color: var(--color-title);
    border-bottom: 1px solid var(--color-card-border);
    vertical-align: middle;
}

.table-acordos tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.table-acordos tbody tr {
    cursor: default;
}

/* UI/UX Pro Max: Stable hover state, no layout shift, clear visual feedback */
.table-acordos tbody tr:hover {
    background-color: rgba(12, 22, 39, 0.04);
}

.table-acordos tbody tr:last-child td {
    border-bottom: none;
}

/* Keep the signature red brand accent on rows */
.table-acordos td:first-child {
    border-left: 4px solid transparent;
    transition: border-left-color 0.2s ease;
}

.table-acordos tbody tr td:first-child {
    border-left-color: var(--color-red);
    font-weight: 800;
    color: var(--color-title);
    font-size: 1.05rem;
}

.table-acordos tbody tr:hover td:first-child {
    border-left-width: 6px;
    /* Micro-interaction: border thickens slightly */
}

/* Make multi-line table text softer */
.table-acordos .td-entity-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--color-body);
    font-weight: 500;
    margin-top: 0.25rem;
    white-space: normal;
    min-width: 250px;
}

.table-acordos .td-doc-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-title);
    white-space: normal;
    min-width: 200px;
}

/* UI/UX Pro Max: Compact Interactive Table Buttons */
.table-acordos .btn-table {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    background: transparent;
    border: 1px solid rgba(232, 25, 44, 0.2);
    /* Soft red border */
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.table-acordos .btn-table:hover {
    background: rgba(232, 25, 44, 0.05);
    /* Very light red bg */
    border-color: var(--color-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(232, 25, 44, 0.1);
}

.table-acordos .btn-table:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* Badge Micro-adjustments in table context */
.table-acordos .badge {
    margin-bottom: 0;
    font-size: 0.70rem;
    padding: 2px 8px;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(225, 29, 72, 0.2);
    box-shadow: 0 4px 12px rgba(12, 22, 39, 0.04);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-title);
    font-size: 1.125rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    outline: 2px solid transparent;
    outline-offset: -2px;
}

.faq-question:hover {
    background-color: transparent;
    color: var(--color-red);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem 1rem;
    }
}

.faq-question:focus-visible {
    outline-color: var(--color-red);
    color: var(--color-red);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: var(--color-light-gray);
    color: var(--color-body);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-item.active .faq-question {
    color: var(--color-red);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-category {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-title);
    font-weight: 800;
    letter-spacing: -0.04em;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-light-gray);
    position: relative;
    padding-left: 1rem;
}

.faq-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    height: 1.5rem;
    width: 6px;
    background-color: var(--color-red);
    border-radius: 4px;
}

/* UI/UX Pro Max Components (Search, Chips, Badges) */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: center;
    background: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.search-input-wrapper {
    flex-grow: 1;
    min-width: 250px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-body);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 1px solid var(--color-card-border);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-title);
    background: var(--color-white);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-medium-blue);
    box-shadow: 0 0 0 3px rgba(28, 107, 144, 0.1);
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.875rem;
    color: var(--color-body);
    font-weight: 600;
    margin-right: 0.5rem;
}

.chip {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    color: var(--color-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip:hover {
    background: var(--color-light-gray);
    color: var(--color-title);
}

.chip.active {
    background: var(--color-dark-blue);
    color: var(--color-white);
    border-color: var(--color-dark-blue);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.badge-active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-expired {
    background: rgba(244, 63, 94, 0.1);
    color: #E11D48;
}

/* =========================================================================
   ADMIN PANEL & ASSOCIATE DASHBOARD STYLES
   ========================================================================= */

/* --- Core Layout --- */
.admin-body {
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    font-family: var(--font-primary);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 2.5rem;
}

@media (max-width: 900px) {
    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }
}

/* --- Sidebar (Dark Theme) --- */
.admin-sidebar,
.associado-sidebar {
    width: 260px;
    background-color: #0f172a;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
}

@media (max-width: 900px) {

    .admin-sidebar,
    .associado-sidebar {
        display: none;
    }
}

.sidebar-header {
    padding: 1.5rem 2rem;
    background-color: #020617;
    text-align: left;
    border-bottom: 1px solid #1e293b;
}

.sidebar-header h2 {
    font-size: 1.125rem;
    margin: 0;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-sidebar .sidebar-nav,
.associado-sidebar .sidebar-nav {
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 1rem 2rem 0.5rem;
    font-weight: 700;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.nav-item:hover,
.nav-item.active {
    color: #f8fafc;
    background-color: #1e293b;
    border-left: 3px solid var(--color-primary);
}

.sidebar-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #1e293b;
    background-color: #020617;
}

.sidebar-footer a {
    color: #f87171;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* --- Top Navbar --- */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    background: #ffffff;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-title h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #0f172a;
}

/* --- Stats Grid (Dashboard) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-fast);
}

.stat-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
}

.stat-icon svg {
    color: var(--color-primary);
}

.stat-content h3 {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stat-content .value {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1;
}

.stat-content .trend {
    font-size: 0.85rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* --- Dashboard Grid --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* --- UI Panels --- */
.panel {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
}

.panel-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 1.125rem;
    margin: 0;
    color: #0f172a;
}

.panel-action {
    font-size: 0.875rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.panel-action:hover {
    text-decoration: underline;
}

/* --- Filter Bar --- */
.filter-bar {
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-input {
    padding: 0.6rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    flex: 1;
    max-width: 300px;
    font-family: inherit;
}

.filter-select {
    padding: 0.6rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    font-family: inherit;
}

/* --- Admin Table --- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.admin-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

/* --- List Group --- */
.list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-group-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: #0f172a;
}

.item-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* --- Action Buttons --- */
.btn-action {
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-approve {
    background: #10b981;
    color: white;
}

.btn-approve:hover {
    background: #059669;
}

.btn-reject {
    background: white;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.btn-reject:hover {
    background: #fef2f2;
}

.btn-primary-action {
    background-color: var(--color-primary);
    color: white;
    border: none;
}

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

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* --- Status Badges --- */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: #fef08a;
    color: #854d0e;
}

.status-approved,
.status-success,
.status-active,
.status-open {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-inactive,
.status-finished {
    background: #f1f5f9;
    color: #64748b;
}

.status-closed {
    background: #fef08a;
    color: #854d0e;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* --- Modals / Dialogs --- */
dialog {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

dialog::backdrop {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

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

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-title);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* --- Lottery/Sorteio Cards --- */
.lottery-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.lottery-card {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.lottery-title h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #0f172a;
}

.lottery-title p {
    margin: 0;
    color: #64748b;
    font-size: 0.85rem;
}

.lottery-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.lottery-stats .stat-item {
    text-align: center;
}

.lottery-stats .stat-value {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.lottery-stats .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.lottery-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* === Estilização Global para input[type="date"] === */
input[type="date"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-title);
    background-color: var(--color-white);
    transition: var(--transition);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    color: var(--color-red);
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
}

/* === Two-Column Layout (Sticky LEFT, Content RIGHT) === */
.two-col-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.col-sticky {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 10;
    /* hide scrollbar but keep scrollable */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.col-sticky::-webkit-scrollbar {
    width: 4px;
}

.col-sticky::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.col-content {
    min-width: 0;
}

@media (max-width: 992px) {
    .two-col-layout {
        grid-template-columns: 1fr;
    }

    .col-sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

/* === Padronização de Bordas (Sem Sombras UI/UX) === */
.card-shadow {
    border: 1px solid var(--color-card-border);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    /* box-shadow e transform removidos por solicitação */
}

.card-shadow:hover {
    /* box-shadow e transform removidos por solicitação */
}


/* =====================================================================
   Document List Component (Acordos & Convenções Unificados Sprint 36)
   ===================================================================== */
.docs-section {
    padding: 4rem 0;
    background-color: var(--color-light-gray);
}

.docs-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-card {
    background: var(--color-white);
    border: 1px solid var(--color-card-border);
    border-radius: 16px;
    width: 100%;
}

.company-header {
    background-color: var(--color-white);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-card-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px 16px 0 0;
}

.company-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-title);
    font-weight: 700;
}

.company-header p {
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.5;
}

.docs-list {
    display: flex;
    flex-direction: column;
}

.doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #EEE;
}

.doc-row:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.doc-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding-right: 1.5rem;
}

.doc-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-title);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.doc-validity {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Base button is .btn-download from styles.css (rounded red pill) 
   We just ensure it doesn't line-break */
.doc-row .btn-download {
    white-space: nowrap !important;
    min-width: fit-content;
}

@media (max-width: 768px) {
    .doc-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem 1.5rem;
    }

    .doc-details {
        padding-right: 0;
    }

    .doc-row .btn-download {
        width: 100%;
        justify-content: center;
    }

    .company-header {
        padding: 1.25rem 1.5rem;
    }
}


/* ==========================================================================
   UI/UX PRO MAX - FILIAÇÃO MODAL OVERLAY & STEPPER
   ========================================================================== */

/* 1) OVERLAY & CONTAINER */
.filiacao-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 22, 39, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(8px);
    z-index: 9999;

    /* Default Hidden */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;

    /* Animation base */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filiacao-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.filiacao-modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    /* Ocupa 90% da altura da tela */
    border-radius: 24px;
    overflow: hidden;
    /* Mantem conteudo dentro das bordas redondas */
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    /* Flex layout */
    flex-direction: column;

    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filiacao-modal-overlay.active .filiacao-modal-content {
    transform: translateY(0);
}

.modal-btn-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: transparent;
    border: none;
    color: var(--color-body);
    cursor: pointer;
    z-index: 50;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-btn-close:hover {
    background: var(--color-light-gray);
    color: var(--color-title);
    transform: scale(1.1);
}

/* 2) ESTRUTURA INTERNA (FLEX & SCROLL) */
.filiacao-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
}

.stepper-header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 10;
    padding: 2rem 3rem 2.5rem 3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-card-border);
    box-shadow: 0 4px 6px -1px rgba(12, 22, 39, 0.05);
    /* Quebra sútil visual */
}

/* Container Master Scrollable dos inputs */
.steps-master-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 0 3rem 8rem 3rem;
    /* Padding bottom longo pra não atropelar footer */
}

/* 3) TÍTULOS E TEXTOS DO MODAL */
.section-heading {
    font-size: 2rem;
    color: var(--color-title);
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 70%;
    background-color: var(--color-red);
    border-radius: 4px;
}

.stepper-subtitle {
    color: var(--color-body);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.step-counter {
    display: none;
    /* Hide desktop, can be block on mobile */
}

.step-title {
    display: block !important;
    font-size: 1.15rem;
    color: var(--color-title);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* 4) STEPPER TRACK & BOLINHAS */
.stepper-track {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.stepper-bg-line {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-card-border);
    z-index: 1;
}

.stepper-active-line {
    position: absolute;
    top: 16px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-red);
    z-index: 2;
    transition: width 0.3s ease;
}

.step-indicator {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--color-card-border);
    color: var(--color-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-circle.active,
.step-indicator.active .step-circle {
    background: var(--color-red);
    color: white;
    border: none;
}

.step-indicator span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-body);
    opacity: 0.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.step-indicator.active span {
    color: var(--color-title);
    opacity: 1;
}

/* 5) FORMS & SPACING */
.form-group {
    margin-bottom: 1.75rem !important;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem !important;
    /* Respiro Pro-max */
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-title);
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
}

/* 6) STICKY FOOTER INTERNO */
.modal-footer-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-card-border);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    box-shadow: 0 -4px 10px rgba(12, 22, 39, 0.03);
}

.modal-footer-nav .btn {
    font-size: 1rem;
    padding: 0.875rem 2rem;
    min-width: 180px;
    white-space: nowrap;
    justify-content: center;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
}

.btn-submit-disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* ERROR STATES */
.error-border {
    border-color: var(--color-red) !important;
}

.error-message {
    color: var(--color-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* 7) MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .filiacao-modal-content {
        height: 100vh;
        /* Tela cheia real no mobile */
        border-radius: 0;
        width: 100vw;
        max-width: 100vw;
        padding-top: 50px;
    }

    .filiacao-modal-overlay {
        padding: 0;
    }

    .stepper-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .step-indicator span {
        display: none;
        /* Esconde labels no mobile */
    }

    .steps-master-wrapper {
        padding: 1.5rem 1.5rem 7rem 1.5rem;
    }

    .modal-footer-nav {
        padding: 1.25rem 1.5rem;
        flex-direction: column-reverse;
        /* Voltar embaixo, Avançar em cima no mobile */
        gap: 1rem;
    }

    .modal-footer-nav .btn {
        width: 100% !important;
        /* Full width buttons no mobile */
    }

    .stepper-header p.stepper-subtitle {
        font-size: 0.95rem;
        /* Menor em mobile */
        margin-bottom: 1.5rem !important;
    }

    .modal-btn-close {
        top: 15px !important;
        right: 15px !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        /* Destaca o fechar em mobile */
    }
}

/* ==========================================================================
   UI/UX PRO MAX - ACORDOS & CONVENÇÕES (SPRINT 44)
   ========================================================================== */

/* 1) Dark Hero Integrado com Barra de Busca */
.search-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 1.5rem 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-hero-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(225, 29, 72, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.search-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-hero-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.search-hero-subtitle {
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.6;
}

/* 2) Barra de Busca Pro Max */
.search-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-input-wrapper:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(225, 29, 72, 0.2);
}

.search-icon {
    color: #64748b;
    margin-left: 1rem;
    margin-right: 0.5rem;
    display: flex;
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 0.5rem;
    font-size: 1.05rem;
    color: #1e293b;
    background: transparent;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: #94a3b8;
}

.btn-search {
    background: #e11d48;
    color: white;
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-search:hover {
    background: #be123c;
}

.search-hint {
    color: #64748b;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* 3) Lista Unificada de Documentos */
.docs-feed-section {
    background: #f8fafc;
    padding: 4rem 1.5rem 6rem 1.5rem;
}

.docs-feed-container {
    max-width: 900px;
    margin: 0 auto;
}

.docs-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.docs-feed-title {
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 700;
}

.docs-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.docs-select {
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    font-family: inherit;
}

/* 4) Card Horizontal de Documento (Item da Lista) */
.doc-feed-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.doc-feed-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.doc-feed-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card Content / Texts */
.doc-feed-content {
    flex: 1;
}

.doc-feed-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tag-year {
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
}

.tag-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tag-status::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
}

.tag-status.vigente { color: #dc2626; } /* O vermelho do Design enviado */
.tag-status.vigente::before { background: #dc2626; }
.tag-status.expirado { color: #94a3b8; }
.tag-status.expirado::before { background: #94a3b8; }


.doc-feed-title {
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.doc-feed-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* 5) Actions / Buttons Right */
.doc-feed-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-top: 1rem;
}

.btn-resumo {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-resumo:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-resumo.ghost {
    border-color: transparent;
    color: #64748b;
}
.btn-resumo.ghost:hover {
    color: #0f172a;
    background: transparent;
}

.btn-icon-download {
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-icon-download:hover {
    color: #e11d48;
    background: rgba(225, 29, 72, 0.05);
}

/* Paginação Minimalista */
.docs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-item:hover {
    background: #e2e8f0;
}

.page-item.active {
    background: #0f172a;
    color: white;
}

.page-item.nav-arrow {
    color: #94a3b8;
}

.page-item.nav-arrow:hover {
    color: #0f172a;
    background: transparent;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .search-hero-title {
        font-size: 2rem;
    }
    .search-hero-subtitle {
        font-size: 1rem;
    }
    .doc-feed-card {
        flex-direction: column;
        gap: 1rem;
    }
    .doc-feed-icon {
        display: none; /* Hide icon on mobile to save space */
    }
    .doc-feed-actions {
        width: 100%;
        margin-top: 0.5rem;
        justify-content: space-between;
    }
    .docs-feed-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


/* ==========================================================================
   UI/UX PRO MAX - SPRINT 45 (SINGLE UX ACORDOS / TABLE + MOBILE LIST)
   ========================================================================== */

/* Hero & Sub-Top Highlight */
.hero-sindicato {
    background: linear-gradient(135deg, #0C1627 0%, #1e293b 100%);
    padding: 5rem 1.5rem 4rem 1.5rem;
    text-align: center;
}
.hero-sindicato h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.hero-sindicato p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.5;
}

.sub-top-bar {
    background: #e11d48;
    color: white;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.2);
}

/* Filters Section */
.filters-section {
    background: #ffffff;
    max-width: 1100px;
    margin: -2rem auto 2rem auto;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.filter-select, .filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
}

.filter-select:focus, .filter-input:focus {
    border-color: #e11d48;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.search-full-width {
    display: flex;
    gap: 1rem;
}
.search-full-width .filter-input {
    flex: 1;
}
.btn-filter-search {
    background: #0f172a;
    color: white;
    padding: 0 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-filter-search:hover { background: #1e293b; }


/* Table Desktop View */
.table-container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 4rem;
}

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

.docs-table th {
    background: #f1f5f9;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.docs-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.95rem;
    vertical-align: middle;
}

.docs-table tbody tr:hover {
    background-color: #f8fafc;
}

.td-empresa { font-weight: 700; color: #0C1627; }
.td-tipo { color: #64748b; }
.td-ano { font-weight: 600; }
.td-data { color: #94a3b8; font-size: 0.85rem; }

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e11d48;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    transition: background 0.2s;
}
.btn-pdf:hover { background: rgba(225, 29, 72, 0.05); }


/* Institutional & CTA Blocks */
.institutional-block {
    background: #f8fafc;
    padding: 4rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}
.institutional-content {
    max-width: 700px;
    margin: 0 auto;
}
.institutional-content h2 {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.institutional-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-block {
    background: #0C1627;
    background-image: radial-gradient(circle at 100% 100%, rgba(225,29,72,0.15), transparent 50%);
    padding: 5rem 1.5rem;
    text-align: center;
    color: white;
}
.cta-block h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.cta-block p { color: #94a3b8; font-size: 1.15rem; margin-bottom: 2rem; max-width: 600px; margin-inline: auto; }
.btn-cta-filiacao {
    background: #e11d48;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-cta-filiacao:hover { background: #be123c; transform: translateY(-2px); }


/* Responsive Mobile Expandable List (Table Hiding Mechanism) */
.mobile-docs-list { display: none; }

@media (max-width: 768px) {
    .filters-grid { grid-template-columns: 1fr; gap: 1rem; }
    .search-full-width { flex-direction: column; }
    .btn-filter-search { width: 100%; padding: 1rem; }
    
    /* Hide Table */
    .docs-table { display: none; }
    
    /* Show Mobile List */
    .mobile-docs-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
        margin-bottom: 3rem;
    }
    
    .mobile-doc-card {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1.25rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    
    .mobile-doc-header {
        font-weight: 700;
        color: #0f172a;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .mobile-doc-detail {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    .mobile-doc-detail .lbl { color: #64748b; font-weight: 600; }
    .mobile-doc-detail .val { color: #0f172a; }
    
    .mobile-doc-action {
        margin-top: 1.25rem;
        text-align: right;
    }
    .mobile-doc-action .btn-pdf {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
}


/* ==========================================================================
   UI/UX PRO MAX - SPRINT 46 (AGRUPAMENTO JURÍDICO & BUSCA SIMPLIFICADA)
   ========================================================================== */

/* 1) Super Search Bar (Substitui os Múltiplos Filtros) */
.super-search-wrapper {
    max-width: 900px;
    margin: -3.5rem auto 3rem auto;
    position: relative;
    z-index: 10;
    padding: 0 1.5rem;
}

.super-search-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.super-search-box:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(225, 29, 72, 0.15);
    border-color: #e11d48;
}

.super-search-icon {
    color: #e11d48;
    margin: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.super-search-input {
    flex: 1;
    border: none;
    padding: 1.25rem 0.5rem;
    font-size: 1.15rem;
    color: #0f172a;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-weight: 500;
}

.super-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.super-search-hint {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 1.25rem;
    font-weight: 500;
}

/* 2) Separadores Jurídicos (Acordos x Convenções) */
.juridico-section {
    padding: 2rem 1.5rem 4rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.juridico-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: #0C1627;
}

.juridico-header h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
}

.juridico-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

.juridico-header.convencao h2 { color: #0C1627; }
.juridico-header.acordo h2 { color: #0f172a; }

/* 3) Card Agrupado de Empresa/Sindicato */
.company-card-group {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.company-card-group::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
    background: #e2e8f0;
    transition: background 0.3s ease;
}

.company-card-group:hover {
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.company-card-group:hover::before {
    background: #e11d48; /* Sinttel Red Accent */
}

.company-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.company-desc {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* 4) Sub-Categorias de Documentos (Acordo x Aditivo) */
.doc-category {
    margin-bottom: 2rem;
}
.doc-category:last-child {
    margin-bottom: 0;
}

.doc-category-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.25rem;
    border: 1px solid #f1f5f9;
}

/* 5) Linhas de Download (Files) */
.doc-file-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
    gap: 1rem;
}
.doc-file-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.doc-file-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.doc-file-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    font-size: 1.1rem;
}

.doc-file-name svg {
    color: #e11d48;
    flex-shrink: 0;
}

.doc-file-meta {
    font-size: 0.9rem;
    color: #64748b;
    padding-left: 2rem; /* Aligns with text, ignoring icon */
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-download-pdf:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-download-pdf svg {
    color: #64748b;
}

/* Mobile Adjustments for Sprint 46 */
@media (max-width: 768px) {
    .company-card-group {
        padding: 1.5rem;
    }
    .company-title {
        font-size: 1.5rem;
    }
    .doc-file-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .btn-download-pdf {
        width: 100%;
        justify-content: center;
        background: #f8fafc;
    }
}


/* ==========================================================================
   UI/UX PRO MAX - SPRINT 48 (REFINAMENTO VISUAL & REPELENTE DE OUTLINE)
   ========================================================================== */

/* 1) Blindagem Anti-Contorno (Matando o Retângulo Vermelho) */
.super-search-input:focus,
.super-search-input:active,
.super-search-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
}

/* Garante que o Glow fique apenas no exterior do container pai */
.super-search-box:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(225, 29, 72, 0.25) !important;
    border-color: #e11d48 !important;
    background-color: #ffffff !important;
}

/* 2) Lapidação Arquitetônica (Pílulas e Respiros) */
.btn-download-pdf {
    border-radius: 99px !important; /* Formato Pílula */
    padding: 0.65rem 1.35rem !important; /* Respiro balanceado */
    font-size: 0.95rem !important;
}

.company-card-group {
    padding: 3rem !important; /* Espaçamento editorial estendido */
    border-radius: 20px !important; /* Curvatura Pro Max */
}

/* Headers Divisórios Magnéticos */
.juridico-header h2 {
    letter-spacing: -0.03em !important;
    margin-bottom: 0.5rem !important;
}

/* Mobile Adjustments Extras */
@media (max-width: 768px) {
    .company-card-group {
        padding: 2rem !important;
    }
    
    .super-search-box {
        padding: 0.35rem !important;
    }
}


/* ==========================================================================
   UX PRO MAX - FORM EXPERIENCE ENHANCEMENTS
   ========================================================================== */

/* Step Title Icons */
.step-title-icon {
    vertical-align: -3px;
    margin-right: 0.25rem;
}

/* Form Helper Text (hints below inputs) */
.form-helper {
    display: block;
    font-size: 0.78rem;
    color: var(--color-body);
    opacity: 0.7;
    margin-top: 0.35rem;
    line-height: 1.4;
}

/* Enhanced Focus State */
.filiacao-form .form-control:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Input Hover State */
.filiacao-form .form-control:hover:not(:focus) {
    border-color: rgba(12, 22, 39, 0.25);
    transition: border-color 0.2s ease;
}

/* Select Dropdown Enhanced */
.filiacao-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* Review Field Cards */
.review-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--color-card-border);
}
.review-field svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.review-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-body);
    opacity: 0.7;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.review-value {
    display: block;
    font-size: 0.95rem;
    color: var(--color-title);
    font-weight: 500;
    word-break: break-word;
}

/* Error Shake Animation */
@keyframes shakeInput {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.error-border {
    animation: shakeInput 0.4s ease;
    border-color: var(--color-red) !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1) !important;
}

/* Error Message Enhanced */
.error-message {
    color: var(--color-red);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.error-message::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Completed step indicator - checkmark */
.step-circle.completed {
    background: var(--color-green, #22c55e) !important;
    border: none;
    color: white;
}

/* Terms Checkbox Enhanced */
.filiacao-form label[style*="cursor: pointer"] {
    padding: 1.25rem;
    background: var(--color-light-gray);
    border-radius: 12px;
    border: 1px solid var(--color-card-border);
    transition: all 0.2s ease;
}
.filiacao-form label[style*="cursor: pointer"]:hover {
    border-color: var(--color-red);
    background: rgba(225, 29, 72, 0.03);
}

/* LGPD Box Enhancement */
.filiacao-form div[style*="border-left: 4px solid var(--color-primary)"] {
    border-radius: 12px !important;
    padding: 1.25rem !important;
}

/* Submit Button Success State */
#btn-submit-global:not(.btn-submit-disabled) {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Stepper Progress Line Gradient */
.stepper-active-line {
    background: linear-gradient(90deg, var(--color-red), #fb7185) !important;
}

/* Smoother step transitions */
.step-container {
    animation: fadeInStep 0.35s ease;
}
@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer nav buttons polish */
.modal-footer-nav .btn-outline {
    border: 1.5px solid var(--color-card-border);
    color: var(--color-body);
    background: transparent;
}
.modal-footer-nav .btn-outline:hover {
    border-color: var(--color-title);
    color: var(--color-title);
    background: var(--color-light-gray);
}

/* Security verification card enhancement */
.form-card {
    border-radius: 16px !important;
}

/* Mobile review field adjustments */
@media (max-width: 768px) {
    .review-field {
        padding: 0.6rem;
    }
    .step-title-icon {
        display: none;
    }
}

/* ==========================================================================
   UX COMPACT MODAL ENHANCEMENTS
   ========================================================================== */

/* Header mais compacto */
.stepper-header {
    padding: 1.25rem 2rem 1.5rem 2rem !important; /* Reduz de 2rem para 1.25rem superior */
    margin-bottom: 1.5rem !important; /* Reduz margens */
}

.stepper-header h1 {
    font-size: 1.7rem !important; /* Ligeiramente menor */
    margin-bottom: 0.15rem !important;
}

.stepper-subtitle {
    margin-bottom: 1.5rem !important; /* Antes era 2.5rem */
    font-size: 0.9rem !important;
}

/* Bolinhas e Stepper menores */
.step-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
}
.stepper-bg-line, .stepper-active-line {
    top: 13px !important; /* Ajuste para o centro da nova bolinha */
}

/* Espaçamento Gaps de Colunas */
.form-row {
    gap: 1.25rem !important; /* Antes era 2rem */
    margin-bottom: 1.25rem !important; /* Mais compacto vertical */
}

.form-group {
    margin-bottom: 1.25rem !important;
}

/* Inputs ligeiramente menores para densidade */
.form-control {
    padding: 0.65rem 0.85rem !important;
}

.step-title {
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
}

.step-title svg {
    width: 18px !important;
    height: 18px !important;
}

/* Steps track labels */
.step-indicator span {
    font-size: 0.65rem !important;
}

/* Master wrapper menos padding down e sides */
.steps-master-wrapper {
    padding: 0 2rem 6rem 2rem !important;
}

/* Footer compacto */
.modal-footer-nav {
    padding: 1rem 2rem !important; /* Menor padding */
}
.modal-footer-nav .btn {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem !important;
    min-width: 140px !important;
}

/* Label size */
.form-label {
    font-size: 0.85rem !important;
    margin-bottom: 0.35rem !important;
}

/* Review grid compact on mobile */
@media (max-width: 600px) {
    .review-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ═══ PRO MAX: Institucional Audit Additions ═══ */
.cta-estatuto {
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.cta-estatuto:hover {
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.1);
    transform: translateY(-2px);
}

.avatar-placeholder {
    background: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

h2.section-heading, .institucional-main h3 {
    margin-bottom: 2.5rem;
}

.institucional-main p {
    font-size: 1.125rem;
    color: var(--color-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Focus styles globais */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ═══ Cartilhas Component ═══ */
.cartilhas-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cartilha-row {
    display: flex;
    overflow: hidden;
    align-items: stretch;
}

.cartilha-cover {
    width: 160px;
    flex-shrink: 0;
    background: #FFF5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
}

.cartilha-info {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.cartilha-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-title);
}

.cartilha-info p {
    margin: 0 0 1.5rem 0;
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cartilha-info .btn-download-wrap {
    margin-top: auto;
    display: flex;
}

@media (max-width: 600px) {
    .cartilha-row {
        flex-direction: column;
    }
    .cartilha-cover {
        width: 100%;
        padding: 2rem 0;
    }
    .cartilha-info {
        padding: 1.5rem;
    }
}

/* ═══ FAQ Contact Block ═══ */
.contact-faq-block {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--color-light-gray);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-card-border);
}

.contact-faq-block h3 {
    font-size: 1.75rem;
    color: var(--color-title);
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-faq-block p {
    color: var(--color-body);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-faq-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-faq-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-red);
    font-weight: 700;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.contact-faq-links a:hover {
    color: var(--color-title);
}

/* Institucional h3 sub-section spacing */
.institucional-main h3 + .board-grid {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ PRO MAX: Benefit Pages Component System ═══ */
/* ═══════════════════════════════════════════════════════════ */

/* --- Main Grid (Beneficio / Juridica) --- */
.beneficio-grid,
.juridica-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

/* --- Shared Interactions --- */
.styled-list li {
    transition: all 200ms ease;
}
.styled-list li:hover {
    padding-left: 0.5rem;
    color: var(--color-title);
}

/* --- Hover Lift Image --- */
.hover-lift-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.hover-lift-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.hover-lift-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Sticky Sidebar Card (Benefícios) --- */
.beneficio-sidebar-card {
    position: sticky;
    top: 140px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-card-border);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: box-shadow 200ms ease, transform 200ms ease;
}
.beneficio-sidebar-card:hover {
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.1);
    transform: translateY(-2px);
}

/* --- UX Feature Cards --- */
.ux-feature-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
    cursor: pointer;
    text-align: left;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.ux-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(225, 29, 72, 0.1);
}
.ux-feature-card:hover .ux-icon-circle {
    background: var(--color-red) !important;
    color: var(--color-white) !important;
    transition: all 300ms ease;
}

.ux-icon-circle {
    flex-shrink: 0;
    height: 64px;
    width: 64px;
    background: #fff0f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-red);
}

.ux-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* --- Pauta Section --- */
.pauta-section {
    padding-top: 2rem;
    border-top: 1px solid var(--color-card-border);
    transition: border-color 300ms ease;
}
.pauta-section:hover {
    border-top-color: rgba(225, 29, 72, 0.3);
}

/* ═══ Benefit Pages: Tablet (≤900px) ═══ */
@media (max-width: 900px) {
    .beneficio-grid,
    .juridica-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ux-cards-grid {
        grid-template-columns: 1fr;
    }

    .ux-feature-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .split-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .split-section h2 {
        font-size: 2rem !important;
    }

    .split-image img {
        max-width: 60% !important;
    }
}

/* ═══ Benefit Pages: Mobile (≤768px) ═══ */
@media (max-width: 768px) {
    .beneficio-grid,
    .juridica-grid {
        gap: 1.5rem;
    }

    /* Remove sticky on mobile — flows naturally */
    .beneficio-sidebar-card,
    .beneficio-grid .board-card,
    .juridica-grid .board-card {
        position: static !important;
        top: auto !important;
    }

    /* Images fluid */
    .hover-lift-image img {
        height: auto !important;
        max-height: 280px;
    }

    /* Section padding */
    .section[style*="padding-top: 5rem"] {
        padding-top: 2.5rem !important;
    }

    /* Tipografia */
    .section-heading {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* UX Cards grid */
    .ux-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ux-feature-card {
        padding: 1.5rem;
    }

    .ux-feature-card h4 {
        font-size: 1.1rem !important;
    }

    .ux-icon-circle {
        width: 52px;
        height: 52px;
    }

    /* Split sections */
    .split-section {
        gap: 1.5rem !important;
    }

    .split-section h2 {
        font-size: 1.5rem !important;
    }

    .split-image {
        display: flex;
        justify-content: center;
    }

    .split-image img {
        max-width: 50% !important;
    }

    /* CTA Final */
    .cta-final {
        flex-direction: column;
        padding: 2.5rem 1.5rem !important;
        text-align: center;
        gap: 2rem;
    }

    .cta-final-content {
        max-width: 100% !important;
    }

    .cta-final-content h2 {
        font-size: 1.5rem !important;
    }

    .cta-final-content p {
        font-size: 1rem;
    }

    .cta-final-actions {
        width: 100%;
    }

    /* Board card sidebar on mobile */
    .board-card {
        padding: 1.5rem !important;
    }

    /* Styled list: prevent overflow */
    .styled-list li {
        word-break: break-word;
    }

    /* CTA buttons - touch targets */
    .btn-primary,
    .btn-outline {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Container inner in benefit sections */
    .container[style*="max-width: 1024px"] {
        max-width: 100% !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════ */
/* ═══ PRO MAX: Mobile Navigation System (<= 1024px) ═══ */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    /* --- Hamburger Animation --- */
    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1001; /* Fica acima do menu mobile */
    }

    .mobile-toggle span {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s;
    }

    .mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* --- Menu Container --- */
    .desktop-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(12, 22, 39, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 6rem 2rem 10rem 2rem;
        gap: 2rem;
        
        /* Hidden State */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.98);
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .desktop-nav.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }

    .desktop-nav > a, 
    .desktop-nav .dropdown-toggle {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-white);
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --- Dropdowns (Mobile Accordion) --- */
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        
        /* Accordion Hidden State */
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.is-active .dropdown-menu {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    /* Fix to prevent desktop hover transform from breaking mobile layout */
    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu,
    .dropdown.is-active .dropdown-menu,
    .dropdown:-webkit-any(:hover, :focus-within) .dropdown-menu {
        transform: none !important;
        left: auto !important;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.7);
        padding: 12px 16px;
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1.15rem;
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
    }

    .dropdown-menu a::before {
        display: none !important; /* Removed desktop side-line */
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus,
    .dropdown-menu a:active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--color-white);
        padding-left: 16px; /* Reset the padding from desktop */
        transform: scale(1.02);
    }

    .dropdown.is-active .dropdown-toggle {
        color: var(--color-red);
    }

    .dropdown-toggle::after {
        transform: scale(1.3);
        margin-left: 8px;
    }
    
    .dropdown.is-active .dropdown-toggle::after {
        transform: scale(1.3) rotate(180deg);
    }

    /* --- Header Actions (Botões) --- */
    .header-actions {
        display: none;
    }

    .header-actions.is-active {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        flex-direction: column;
        width: 100%;
        padding: 1.5rem 2rem;
        background: rgba(12, 22, 39, 0.98);
        border-top: 1px solid rgba(255,255,255,0.1);
        gap: 1rem;
        z-index: 1001;
    }
    
    .header-actions.is-active .btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 1rem;
    }
}
