/* Responsividade global - ACETRO */
/*
 * Um unico scroll vertical: overflow-x hidden so no html.
 * style.css + main.css aplicam overflow-x:hidden no body -> overflow-y:auto no body = 2 scrollbars.
 */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100%;
    max-width: 100%;
    height: auto !important;
}

body {
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: auto !important;
    min-height: 0 !important;
}

.wrapper,
form#form1 {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

html.menu-mobile-open {
    overflow: hidden !important;
}

body.menu-mobile-open {
    overflow: hidden !important;
}

/* Barra lateral flutuante — overflow:visible para icones com left:-60px ficarem visiveis */
.octf_tools_bar {
    overflow: visible;
    pointer-events: none;
}

@media (min-width: 768px) {
    .octf_tools_bar {
        position: fixed;
        right: -400px;
        top: 108px;
        width: 400px;
        height: 100%;
        z-index: 10001;
        overflow: visible;
    }

    .octf_tools_bar .octf_tools_bar__icon_container {
        position: absolute;
        top: calc(40% - 88px);
        left: -60px;
        display: inline-block;
    }
}

.octf_tools_bar__sidebar {
    overflow: hidden !important;
}

.active_tools_bar_sidebar .octf_tools_bar__sidebar {
    overflow-y: auto !important;
}

.octf_tools_bar .octf_tools_bar__icon_container,
.octf_tools_bar .octf_tools_bar__icon,
.octf_tools_bar a {
    pointer-events: auto;
}

.octf_tools_bar__sidebar-cover {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

img,
iframe,
svg,
video {
    max-width: 100%;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

.heading__title {
    font-size: clamp(22px, 4.5vw, 36px);
}

.heading__desc {
    font-size: clamp(14px, 2.5vw, 16px);
}

.page-content {
    padding-bottom: 40px;
}

/* ========== OCTF TOOLBAR (fix overflow mobile) ========== */
@media (max-width: 767.98px) {
    .octf_tools_bar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        z-index: 9999;
    }

    .octf_tools_bar .octf_tools_bar__icon_container {
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    }

    .octf_tools_bar__icon {
        flex: 1 1 33.333% !important;
        width: auto !important;
        float: none !important;
        height: 52px !important;
        line-height: 52px !important;
        left: 0 !important;
    }

    .octf_tools_bar__icon:hover {
        left: 0 !important;
    }

    .octf_tools_bar__icon div.octf_tools_bar__icon_src {
        width: 100% !important;
        height: 52px !important;
        line-height: 52px !important;
        padding-top: 0 !important;
        bottom: auto !important;
    }

    .octf_tools_bar__icon_tooltip {
        display: none !important;
    }

    body {
        padding-bottom: 52px;
    }

    .toolbar {
        display: none !important;
    }
}

/* ========== MENU / HEADER ========== */
#header .navbar {
    position: relative;
}

/* Sticky ao scroll — main.js adiciona .fixed-navbar (nao sobrescrever com relative) */
#header .navbar.fixed-navbar {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    background-color: #ffffff;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.07);
}

#header.header-full .navbar.fixed-navbar .menu-main-link {
    height: 90px;
}

#header.header-full .navbar.fixed-navbar .navbar-brand,
#header.header-full .navbar.fixed-navbar .navbar-brand .menu-logo {
    height: 90px;
    max-height: 90px;
}

#header .navbar .container {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    #header.header-full .navbar .navbar-collapse {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 140px);
        overflow: hidden;
        margin-left: 0;
        box-sizing: border-box;
        transform: translateY(30px);
        top: 100%;
    }

    #header.header-full .navbar .menu-opened.navbar-collapse {
        transform: translateY(0);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #header .navbar .navbar-nav {
        width: 100%;
    }

    #header .navbar-nav > .nav__item {
        width: 100%;
        position: static;
    }

    #header .navbar-nav > .nav__item > .menu-main-link {
        width: 100%;
        justify-content: flex-start;
    }

    #header .navbar .container {
        position: relative;
    }
}

@media (max-width: 575.98px) {
    #header.header-full .navbar .navbar-brand {
        max-width: 150px;
    }
}

/* ========== SLIDER / BANNER ========== */
.index-page .slider .slide-item {
    height: auto;
}

.index-page #slider3.slider {
    display: block !important;
    min-height: clamp(320px, calc(100vh - 200px), 720px);
}

.index-page #slider3 {
    overflow: hidden;
    max-width: 100%;
}

.index-page #slider3 .owl-carousel,
.index-page #slider3 .owl-stage-outer,
.index-page #slider3 .owl-stage,
.index-page #slider3 .owl-item {
    max-width: 100%;
    min-height: clamp(320px, calc(100vh - 200px), 720px);
}

.index-page #slider3 .owl-item {
    opacity: 1 !important;
}

.index-page #slider3 .owl-item.active {
    opacity: 1 !important;
}

.index-page #slider3 .slide-item,
.index-page #slider3 .slide-banner-item {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    min-height: clamp(320px, calc(100vh - 200px), 720px);
    height: clamp(320px, calc(100vh - 200px), 720px);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    opacity: 1 !important;
    visibility: visible !important;
}

.index-page #slider3 .slide-banner__bg {
    display: none;
}

.index-page #slider3 .banner-static {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: clamp(320px, calc(100vh - 200px), 720px);
}

.index-page #slider3 .banner-static .slide-item,
.index-page #slider3 .banner-static .slide-banner-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.index-page #slider3 .slide-banner__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.index-page #slider3 .slide-banner-item.bg-overlay::before {
    z-index: 1;
}

.index-page #slider3 .slide-banner__cta {
    position: absolute;
    z-index: 5;
    bottom: 16px;
    left: 16px;
    right: 16px;
    text-align: center;
    text-decoration: none;
}

.index-page #slider3 .slide-banner__cta .btn {
    width: 100%;
    max-width: 280px;
}

.index-page #slider3 .slide__title {
    font-size: clamp(20px, 5vw, 42px);
    line-height: 1.2;
}

.index-page #slider3 .slide__desc {
    font-size: clamp(14px, 2.5vw, 16px);
}

@media (min-width: 768px) {
    .index-page #slider3 .slide-banner__cta {
        left: auto;
        right: 24px;
        width: auto;
    }

    .index-page #slider3 .slide-banner__cta .btn {
        width: auto;
        min-width: 140px;
    }
}

@media (max-width: 767.98px) {
    .index-page #slider3 .owl-carousel,
    .index-page #slider3 .owl-stage-outer,
    .index-page #slider3 .owl-stage,
    .index-page #slider3 .owl-item,
    .index-page #slider3 .slide-item,
    .index-page #slider3 .slide-banner-item {
        min-height: 220px;
        height: clamp(220px, 55vh, 420px);
    }

    .index-page #slider3 .slide__content {
        padding: 16px 12px !important;
    }

    .index-page #slider3 .carousel-arrows .owl-nav .owl-prev {
        left: 8px;
    }

    .index-page #slider3 .carousel-arrows .owl-nav .owl-next {
        right: 8px;
    }
}

/* ========== INDEX ========== */
.index-page #exchange-rates {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
}

.index-page .exchange-rate {
    width: calc(50% - 12px);
    min-width: 140px;
    max-width: 200px;
    margin: 0;
    padding: 16px 12px;
}

.index-page .exchange-rate h3 {
    font-size: clamp(18px, 4vw, 24px);
}

.index-page .exchange-rate .rate {
    font-size: 15px;
    padding: 8px;
}

.index-page .update-time {
    text-align: center;
    padding: 0 15px 24px;
}

.index-page .blog-item {
    height: auto;
    min-height: 260px;
}

.index-page .blog__title {
    font-size: clamp(15px, 3vw, 18px);
}

.index-page .blog__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.index-page .ads-section,
.index-page .ads-section--fluid {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    height: clamp(180px, 42vw, 400px);
    margin-top: clamp(40px, 8vw, 150px);
}

.index-page .ads-section .ads-slider,
.index-page .ads-section--fluid .ads-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.index-page .ads-section .ads-slider img,
.index-page .ads-section--fluid .ads-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.index-page #clients .heading__title {
    font-size: clamp(22px, 4.5vw, 32px);
}

.index-page #clients .heading.mb-40 {
    margin-bottom: 24px;
}

.index-page .p-carousel-container {
    padding: 0 36px;
}

.index-page .p-carousel-item {
    flex: 0 0 var(--carousel-item-width, 16.666%) !important;
}

.index-page .p-carousel-item img {
    width: clamp(70px, 12vw, 150px);
    height: clamp(70px, 12vw, 150px);
}

.index-page .p-arrow {
    font-size: 14px;
    padding: 8px;
}

/* ========== SOBRE ========== */
.sobre-page {
    padding: clamp(16px, 3vw, 30px) 0 clamp(30px, 5vw, 60px);
}

.sobre-section {
    padding: clamp(16px, 3vw, 28px);
}

.sobre-section .section-title {
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.2;
    position: static !important;
    bottom: auto !important;
    margin-bottom: 16px;
}

.sobre-presidente__row {
    width: 100%;
}

.sobre-historia__subtitle {
    width: 100% !important;
}

.sobre-historia__image-wrap {
    position: static !important;
    top: auto !important;
    right: auto !important;
    justify-content: center !important;
    margin: 16px 0;
}

.sobre-historia__image-wrap .img-fluid {
    width: 100% !important;
    max-width: 420px;
}

.sobre-historia__text {
    position: static !important;
    top: auto !important;
    text-align: justify;
}

.sobre-organigrama__img {
    width: 100%;
    max-width: 650px;
    height: auto;
}

.sobre-page-footer {
    margin-top: clamp(32px, 6vw, 80px);
}

/* ========== ASSOCIADOS ========== */
.associados-page .associados-filters {
    padding-left: 12px;
    padding-right: 12px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Formulario de pesquisa --- */
.associados-search-card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(121, 140, 79, 0.12);
    overflow: hidden;
}

.associados-search-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #798C4F 0%, #8fa058 55%, #D9CF41 100%);
    color: #ffffff;
    font-family: "Work Sans", "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.associados-search-card__header i {
    font-size: 16px;
    opacity: 0.95;
}

.associados-search-card__body {
    padding: 22px 22px 18px;
}

.associados-search-form .row {
    margin-left: -10px;
    margin-right: -10px;
}

.associados-search-form .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.associados-field {
    margin-bottom: 18px;
}

.associados-field__label {
    display: block;
    margin-bottom: 7px;
    font-family: "Work Sans", "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3d3d3d;
    letter-spacing: 0.01em;
}

.associados-input-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.associados-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(121, 140, 79, 0.22);
}

.associados-input-group .input-group-text {
    background: #f4f6ef;
    border: 1px solid #dde3d0;
    border-right: none;
    color: #798C4F;
    min-width: 42px;
    justify-content: center;
    padding: 0 12px;
}

.associados-input-group .form-control {
    border: 1px solid #dde3d0;
    border-left: none;
    height: 44px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    padding: 10px 14px;
}

.associados-input-group .form-control:focus {
    border-color: #798C4F;
    box-shadow: none;
}

.associados-input-group select.form-control {
    cursor: pointer;
    appearance: auto;
}

/* Select2 (Provincia) */
.associados-page .associados-field .select2-container {
    flex: 1 1 auto;
    width: 1% !important;
    min-width: 0;
}

.associados-page .associados-input-group .select2-container--bootstrap4 .select2-selection {
    border: 1px solid #dde3d0;
    border-left: none;
    border-radius: 0 10px 10px 0;
    min-height: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.associados-page .associados-input-group .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    color: #333333;
}

.associados-page .associados-input-group .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.associados-page .associados-input-group .select2-container--bootstrap4.select2-container--focus .select2-selection,
.associados-page .associados-input-group .select2-container--bootstrap4.select2-container--open .select2-selection {
    border-color: #798C4F;
    box-shadow: none;
}

/* Checkboxes — pills (asp:CheckBox gera input + label) */
.associados-field--checkboxes {
    display: flex;
    flex-direction: column;
}

.associados-page .checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.associados-page .checkbox-container {
    display: inline-flex;
    align-items: center;
    margin: 0;
    font-size: 14px;
}

.associados-page .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.associados-page .checkbox-container label {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 16px;
    border: 1.5px solid #dde3d0;
    border-radius: 999px;
    background: #fafbf8;
    color: #444444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    user-select: none;
}

.associados-page .checkbox-container label:hover {
    border-color: #798C4F;
    background: #f4f6ef;
}

.associados-page .checkbox-container input[type="checkbox"]:checked + label {
    background: #798C4F;
    border-color: #798C4F;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(121, 140, 79, 0.35);
}

.associados-page .checkbox-container input[type="checkbox"]:focus + label {
    box-shadow: 0 0 0 3px rgba(121, 140, 79, 0.25);
}

/* Botoes asp:Button */
.associados-search-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #eef1e8;
}

.associados-page .associados-btn {
    min-width: 140px;
    height: 44px;
    padding: 0 28px;
    border-radius: 10px;
    font-family: "Work Sans", "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.associados-page .associados-btn--primary {
    background: #798C4F;
    border: 2px solid #798C4F;
    color: #ffffff;
}

.associados-page .associados-btn--primary:hover,
.associados-page .associados-btn--primary:focus {
    background: #6a7d45;
    border-color: #6a7d45;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(121, 140, 79, 0.35);
    transform: translateY(-1px);
}

.associados-page .associados-btn--secondary {
    background: #ffffff;
    border: 2px solid #798C4F;
    color: #798C4F;
}

.associados-page .associados-btn--secondary:hover,
.associados-page .associados-btn--secondary:focus {
    background: #f4f6ef;
    border-color: #6a7d45;
    color: #6a7d45;
}

/* Spinner de processamento */
body.associados-loading-active {
    overflow: hidden;
}

.associados-loading {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.associados-loading.d-none {
    display: none !important;
}

.associados-loading__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
}

.associados-loading__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 180px;
    padding: 28px 32px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(121, 140, 79, 0.18);
}

.associados-loading__spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e8ede0;
    border-top-color: #798C4F;
    border-radius: 50%;
    animation: associados-spin 0.75s linear infinite;
}

.associados-loading__text {
    margin: 0;
    font-family: "Work Sans", "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4a5a2f;
    letter-spacing: 0.02em;
}

@keyframes associados-spin {
    to {
        transform: rotate(360deg);
    }
}

.associados-page .btn {
    min-width: 120px;
    margin: 4px;
}

.associados-page #blogGrid5 {
    padding: clamp(24px, 4vw, 48px) 12px;
}

.associados-page #blogGrid5.associados-results {
    background: linear-gradient(180deg, #fafbf8 0%, #ffffff 100%);
}

.associados-results__grid {
    row-gap: 8px;
}

/* Cards de associados — moldura gradiente + animacoes */
.associado-card-col {
    margin-bottom: 18px;
    animation: associado-card-in 0.55s ease backwards;
}

.associados-results__grid .associado-card-col:nth-child(3n+1) {
    animation-delay: 0.04s;
}

.associados-results__grid .associado-card-col:nth-child(3n+2) {
    animation-delay: 0.1s;
}

.associados-results__grid .associado-card-col:nth-child(3n+3) {
    animation-delay: 0.16s;
}

@keyframes associado-card-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.associado-card {
    height: 100%;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #798C4F 0%, #D9CF41 45%, #8fa058 75%, #798C4F 100%);
    background-size: 200% 200%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 0.5s ease;
}

.associado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(121, 140, 79, 0.22);
    background-position: 100% 50%;
}

.associado-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0 !important;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.associado-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #f8faf5 0%, #ffffff 100%);
    border-bottom: 1px solid #eef1e8;
    overflow: hidden;
}

.associado-card__logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.associado-card__logo img {
    width: auto !important;
    max-width: 100%;
    height: 92px !important;
    max-height: 92px;
    object-fit: contain !important;
    float: none !important;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.35s ease;
}

.associado-card:hover .associado-card__logo img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 14px rgba(121, 140, 79, 0.18));
}

.associado-card__body {
    flex: 1;
    padding: 12px 16px 14px !important;
}

.associado-card__title {
    margin-bottom: 8px !important;
    font-size: clamp(15px, 2.2vw, 17px) !important;
    line-height: 1.25 !important;
}

.associado-card__title a {
    color: #2f2f2f !important;
    text-decoration: none;
    transition: color 0.25s ease;
}

.associado-card__title a:hover {
    color: #798C4F !important;
}

.associado-card__meta {
    font-size: 13px;
    color: #555555;
    line-height: 1.4;
}

.associado-card__row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 7px;
}

.associado-card__meta-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    color: #798C4F;
    background: rgba(121, 140, 79, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.associado-card:hover .associado-card__meta-icon {
    transform: scale(1.12) rotate(-4deg);
    background: #798C4F;
    color: #ffffff;
}

.associado-card__link {
    color: #4a5a2f;
    word-break: break-word;
    transition: color 0.2s ease;
}

.associado-card__link:hover {
    color: #798C4F;
    text-decoration: underline;
}

.associado-card__products {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0e6d4;
}

.associado-card__product {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 1px 6px 3px 0;
    padding: 2px 8px 2px 5px;
    border-radius: 999px;
    background: #f4f6ef;
    font-size: 12px;
    color: #444444;
    transition: background 0.25s ease, transform 0.25s ease;
}

.associado-card:hover .associado-card__product {
    background: rgba(217, 207, 65, 0.2);
}

.associado-card__tag-icon {
    color: #798C4F;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.associado-card__product:hover .associado-card__tag-icon {
    transform: scale(1.25) rotate(8deg);
    color: #6a7d45;
}

.associados-page .blog-item,
.noticias-page .blog-item {
    height: auto;
    min-height: 0;
    margin-bottom: 24px;
}

.associados-page .associado-card__inner {
    margin-bottom: 0;
}

.associados-page .blog__img:not(.associado-card__logo) img,
.noticias-page .blog__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.associados-page .modal-dialog {
    margin: 12px auto;
    max-width: calc(100% - 24px);
}

/* ========== DOCUMENTOS ========== */
.documentos-page .list-group-item {
    white-space: normal;
    word-break: break-word;
    font-size: clamp(14px, 3vw, 16px);
    padding: 14px 16px;
}

.documentos-page .category-body {
    overflow-x: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
}

.documentos-page .category-body table {
    min-width: 100%;
}

.documentos-page .btn-category {
    min-height: 48px;
    display: flex;
    align-items: center;
}

/* ========== NOTICIAS ========== */
.noticias-page .blog-grid-layout2 {
    padding-bottom: 40px;
}

.noticias-page .blog-grid-layout2 .blog-item {
    margin-bottom: 24px;
}

.noticias-page .blog-item .blog__title {
    font-size: clamp(16px, 3.5vw, 20px);
}

/* ========== CONTATO ========== */
.contato-page .contact-panels {
    padding: clamp(24px, 5vw, 40px) 0;
}

.contato-page .contact-panel {
    margin-bottom: 20px;
    height: auto;
}

.contato-page .google-map {
    min-height: 260px;
    height: clamp(260px, 50vh, 450px);
}

.contato-page .google-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: block;
    border: 0;
}

/* ========== FOOTER ========== */
/* Secção CTA legada — ocultar se ainda existir nalguma pagina */
#cta1.cta-1 {
    display: none !important;
}

.cta-1 .contact-panel-2 {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
}

.wrapper {
    padding-bottom: 0 !important;
}

footer.site-footer,
.footer-06.site-footer {
    margin-bottom: 0 !important;
}

.footer-06 .subscribe-form .form-group.d-flex,
.cta-1 .subscribe-form .form-group.d-flex {
    flex-wrap: wrap;
    gap: 10px;
}

.footer-06 .subscribe-form .form-control,
.cta-1 .subscribe-form .form-control {
    flex: 1 1 200px;
    min-width: 0;
    margin-right: 0 !important;
}

.footer-06 .subscribe-form .btn,
.footer-06 .subscribe-form .submit,
.cta-1 .subscribe-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .footer-06 .subscribe-form .form-group.d-flex,
    .cta-1 .subscribe-form .form-group.d-flex {
        flex-direction: column;
    }

    .footer-06 .subscribe-form .form-control,
    .footer-06 .subscribe-form .submit,
    .cta-1 .subscribe-form .form-control,
    .cta-1 .subscribe-form .btn {
        width: 100%;
    }

    .cta-1 .cta__title {
        font-size: clamp(20px, 5vw, 28px);
        text-align: left !important;
    }
}

/* ========== BREAKPOINTS ========== */
@media (max-width: 991.98px) {
    .index-page .exchange-rate {
        width: calc(33.333% - 12px);
    }

    .sobre-content {
        min-height: auto;
    }

    .sobre-presidente__title-col,
    .sobre-presidente__image-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sobre-presidente__image-col .about__img {
        text-align: center !important;
        margin-top: 16px;
    }

    .index-page .p-carousel-container {
        padding: 0 28px;
    }
}

@media (max-width: 767.98px) {
    .index-page .exchange-rate {
        width: calc(50% - 10px);
        min-width: 0;
    }

    .index-page .ads-section,
    .index-page .ads-section--fluid {
        height: 200px;
        margin-top: 32px;
    }

    .index-page .p-carousel-container {
        padding: 0 24px;
    }

    .associados-page .checkbox-row {
        gap: 8px;
    }

    .associados-page .associados-field--checkboxes {
        margin-top: 4px;
    }

    .associados-search-card__body {
        padding: 18px 16px 16px;
    }

    .associados-page .associados-btn {
        flex: 1 1 calc(50% - 12px);
        min-width: 120px;
    }

    .associados-page .col-md-3,
    .associados-page .col-md-6,
    .associados-page .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .documentos-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 575.98px) {
    .index-page .exchange-rate {
        width: 100%;
        max-width: 100%;
    }

    .index-page .exchange-rate .rate {
        font-size: 14px;
    }

    .sobre-section {
        padding: 14px 12px;
    }

    .sobre-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .index-page .p-carousel-container {
        padding: 0 20px;
    }
}
