/* ============================================
   Sempre+ - Correções e Melhorias Visuais
   ============================================ */

/* ---- Ocultar header mobile duplicado ---- */
.dtr-responsive-header {
    display: none !important;
}

/* ---- Header desktop fixo ---- */
#dtr-header-global {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: white !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
    height: 89px;
}

.dtr-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 89px;
    gap: 16px;
    padding: 0 15px;
}

.dtr-logo-wrapper a img {
    max-height: 50px;
    max-width: 160px;
    object-fit: contain;
}

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

.dtr-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.dtr-nav-item {
    display: flex;
    align-items: center;
}

.dtr-nav-item .nav-link {
    color: #087887 !important;
    font-weight: 500;
    font-size: 18px !important;
    padding: 10px 12px !important;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    line-height: 1.3;
}

.dtr-nav-item .nav-link:hover,
.dtr-nav-item.active .nav-link {
    color: #00AD98 !important;
    background: rgba(0,173,152,0.06);
}

/* Área do Associado - alinhada com os demais itens */
.dtr-nav-item.meu-cartao {
    display: flex;
    align-items: center;
}
.dtr-nav-item.meu-cartao .nav-link {
    font-size: 18px !important;
    padding: 10px 12px !important;
}

/* ---- Botões do header ---- */
.btn-header-primary {
    background: linear-gradient(135deg, #087887, #00AD98) !important;
    color: white !important;
    padding: 9px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap;
    transition: all 0.3s;
    border: none;
}
.btn-header-primary:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn-header-outline {
    border: 2px solid #087887 !important;
    color: #087887 !important;
    padding: 7px 18px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    white-space: nowrap;
    transition: all 0.3s;
    background: transparent;
}
.btn-header-outline:hover {
    background: #087887 !important;
    color: white !important;
}

/* ---- Menu mobile hamburger ---- */
.dtr-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.dtr-hamburger .dtr-hamburger-lines-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.dtr-hamburger .dtr-hamburger-lines {
    display: block;
    width: 25px;
    height: 3px;
    background: #087887;
    border-radius: 3px;
    transition: all 0.3s;
}
.dtr-hamburger .dtr-hamburger-lines::before,
.dtr-hamburger .dtr-hamburger-lines::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background: #087887;
    border-radius: 3px;
    margin-top: 5px;
}

/* ---- Owl Carousel - Banner ---- */
.banner-carousel .owl-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    background: rgba(0,0,0,0.4) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    line-height: 44px !important;
    text-align: center;
    transition: all 0.3s;
}
.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
    background: rgba(0,173,152,0.8) !important;
}
.owl-dots .owl-dot span {
    background: rgba(255,255,255,0.5) !important;
    width: 10px !important;
    height: 10px !important;
}
.owl-dots .owl-dot.active span {
    background: white !important;
}

/* ---- Seção CTA Banner 2 ---- */
#section-3 {
    position: relative;
    background-image: url('../img/banner_2.png');
    height: 450px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#section-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8,120,135,0.5);
}
#section-3 a {
    position: relative;
    z-index: 1;
}

/* ---- Cards de vantagens ---- */
.card-vantagem {
    background: linear-gradient(135deg, #00AD98, #087887);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    color: white;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.card-vantagem:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,173,152,0.3);
}
.card-vantagem img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}
.card-vantagem h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    line-height: 1.3;
}
.card-vantagem p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.88);
    margin: 0;
    line-height: 1.6;
}

/* ---- Faixas decorativas ---- */
.faixa-1 {
    height: 5px;
    width: 80px;
    background-color: #087887;
    margin-bottom: 4px;
    border-radius: 3px;
}
.faixa-2 {
    height: 5px;
    width: 80px;
    background-color: #00AD98;
    margin-bottom: 20px;
    border-radius: 3px;
}

/* ---- Accordion FAQ ---- */
.accordion-button {
    font-weight: 600;
    font-size: 15px;
    color: #1c2b36;
    background: #f8f9fa;
}
.accordion-button:not(.collapsed) {
    background: #e8f7f5;
    color: #087887;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,173,152,0.2);
}

/* ---- Formulários ---- */
.form-control,
.form-select {
    border-radius: 10px !important;
    border: 1.5px solid #e0e0e0 !important;
    padding: 12px 16px !important;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus,
.form-select:focus {
    border-color: #00AD98 !important;
    box-shadow: 0 0 0 3px rgba(0,173,152,0.12) !important;
}

/* ---- Botão principal ---- */
.dtr-btn {
    background-color: #1c4048 !important;
    border-color: transparent !important;
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}
.dtr-btn:hover {
    background-color: #00AD98 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,173,152,0.35);
}

/* ---- Botão primário customizado ---- */
.btn-primary-custom {
    background: linear-gradient(135deg, #087887, #00AD98);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}
.btn-primary-custom:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,173,152,0.3);
}

/* ---- Footer ---- */
.dtr-footer {
    background-color: #1a2a35 !important;
}
.dtr-footer a:hover {
    color: #00AD98 !important;
}

/* ---- WhatsApp Flutuante ---- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Page Header Interno ---- */
.page-header-interno {
    background: linear-gradient(135deg, #087887, #00AD98);
    padding: 60px 0 45px;
    margin-top: 89px;
    color: white;
}
.page-header-interno .section-label {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 5px;
}
.page-header-interno .section-title {
    color: white !important;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}
.page-header-interno .faixa-1 {
    background: rgba(255,255,255,0.5);
}
.page-header-interno .faixa-2 {
    background: rgba(255,255,255,0.85);
}

/* ---- Responsivo ---- */
@media (max-width: 991px) {
    .dtr-nav-wrapper,
    .dtr-header-buttons {
        display: none !important;
    }
    .dtr-hamburger {
        display: flex !important;
    }
    .banner-carousel .owl-item img {
        height: 350px;
    }
    #section-3 {
        height: 300px;
    }
    .page-header-interno {
        padding: 40px 0 30px;
    }
    .page-header-interno .section-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .banner-carousel .owl-item img {
        height: 250px;
    }
    #section-1 {
        margin-top: 70px;
    }
    .card-vantagem {
        margin-bottom: 10px;
    }
}

/* ---- Animação de entrada ---- */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Seção Quem Somos ---- */
.section-quem-somos {
    padding: 80px 0;
    background: #fff;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00AD98, #087887);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.icon-circle img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ---- Seção Vantagens ---- */
.section-vantagens {
    padding: 80px 0;
    background: #f4f9f9;
}

/* ---- Seção FAQ ---- */
.section-faq {
    padding: 80px 0;
    background: #fff;
}

/* ---- Seção Formulários ---- */
.section-form {
    padding: 70px 0;
    min-height: calc(100vh - 89px - 320px);
    background: #f4f9f9;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 480px;
    margin: 0 auto;
}

.form-card h4 {
    font-size: 26px;
    font-weight: 800;
    color: #1c2b36;
    margin-bottom: 30px;
    text-align: center;
}

/* ---- Parceiros ---- */
.card-parceiro {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}
.card-parceiro:hover {
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #00AD98;
}
.card-parceiro img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-parceiro .card-body {
    padding: 18px 20px;
}
.card-parceiro h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1c2b36;
    margin-bottom: 5px;
}
.card-parceiro p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ---- Produtos ---- */
.card-produto {
    border: 2px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
    height: 100%;
}
.card-produto:hover {
    border-color: #00AD98;
    box-shadow: 0 10px 35px rgba(0,173,152,0.12);
    transform: translateY(-5px);
    color: inherit;
}
.card-produto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-produto .card-body {
    padding: 20px;
}
.card-produto h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1c2b36;
    margin-bottom: 8px;
}
.preco-original {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 2px;
}
.preco-atual {
    font-size: 22px;
    font-weight: 800;
    color: #00AD98;
}
.badge-categoria {
    background: linear-gradient(135deg, #087887, #00AD98);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---- Filtro de busca ---- */
.filtro-busca {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 40px;
}
.btn-buscar {
    background: linear-gradient(135deg, #087887, #00AD98);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}
.btn-buscar:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- Seção label ---- */
.section-label {
    font-size: 26px;
    color: #ddd;
    font-weight: 300;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1c2b36;
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
