/* ============================================
   Sempre+ - CSS Customizado
   Fiel ao site original sempremais.com.br
   ============================================ */

/* Variáveis de cor */
:root {
    --color-primary: #087887;
    --color-secondary: #00AD98;
    --color-dark: #1a2a35;
    --color-light: #f4f9f9;
    --color-text: #444;
    --color-heading: #1c2b36;
}

html { scroll-behavior: smooth !important; }

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--color-text);
}

/* ---- Header ---- */
#dtr-header-global {
    background-color: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
}

.dtr-nav .nav-link {
    color: #087887 !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 14px !important;
    transition: color 0.3s;
}
.dtr-nav .nav-link:hover,
.dtr-nav-item.active .nav-link {
    color: #00AD98 !important;
}

/* ---- Seção Hero (Banner) ---- */
#section-1 {
    height: 600px;
    background: linear-gradient(0deg, rgba(28,164,111,1) 0%, rgba(0,173,152,1) 44%, rgba(8,120,135,1) 100%);
    background-position: center;
    background-size: cover;
    margin-top: 89px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

#section-1 img { max-height: 475px; }

@media (max-width: 1400px) {
    #section-1 { height: 600px !important; }
}

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

.faixa-1 {
    height: 5px;
    width: 80px;
    background-color: #087887;
    margin-bottom: 4px;
}
.faixa-2 {
    height: 5px;
    width: 80px;
    background-color: #00AD98;
    margin-bottom: 20px;
}

.section-label {
    font-size: 28px;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 5px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Ícones de missão/valores */
.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;
    overflow: hidden;
}
.icon-circle img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

/* ---- Seção Vantagens ---- */
.section-vantagens {
    padding: 80px 0;
    background: var(--color-light);
}

.card-vantagem {
    background: linear-gradient(135deg, #00AD98, #087887);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-vantagem:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,173,152,0.3);
}
.card-vantagem img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.card-vantagem h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}
.card-vantagem p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

/* ---- Seção CTA (Banner 2) ---- */
#section-3 {
    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;
    filter: brightness(0.85);
}
#section-3 a {
    margin: 0;
    width: fit-content;
}

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

.accordion-button {
    font-weight: 600;
    color: var(--color-heading);
    background-color: #f8f9fa;
}
.accordion-button:not(.collapsed) {
    background-color: #e8f7f5;
    color: var(--color-primary);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,173,152,0.25);
}
.accordion-button::after {
    filter: hue-rotate(160deg);
}

/* ---- Slider Owl Carousel ---- */
.owl-carousel .owl-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.owl-dots .owl-dot span {
    background: #00AD98 !important;
}
.owl-nav button {
    background: rgba(0,0,0,0.4) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
}

/* ---- Página Parceiros ---- */
.section-parceiros {
    padding: 80px 0;
}

.card-parceiro {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}
.card-parceiro:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.card-parceiro img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-parceiro .card-body {
    padding: 20px;
}
.card-parceiro h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 5px;
}
.card-parceiro p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ---- Página Produtos/Serviços ---- */
.section-produtos {
    padding: 80px 0;
}

.card-produto {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
    text-decoration: none;
    display: block;
    color: inherit;
}
.card-produto:hover {
    border-color: #00AD98;
    box-shadow: 0 8px 30px rgba(0,173,152,0.15);
    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: var(--color-heading);
    margin-bottom: 8px;
}
.preco-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.preco-atual {
    font-size: 20px;
    font-weight: 800;
    color: #00AD98;
}
.badge-categoria {
    background: linear-gradient(135deg, #087887, #00AD98);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- Páginas de Login / Formulários ---- */
.section-form {
    padding: 80px 0;
    min-height: calc(100vh - 89px - 300px);
    background: var(--color-light);
}

.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: var(--color-heading);
    margin-bottom: 30px;
    text-align: center;
}

.form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 15px;
    transition: border-color 0.3s;
}
.form-control:focus {
    border-color: #00AD98 !important;
    box-shadow: 0 0 0 3px rgba(0,173,152,0.15);
}

.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;
}
.btn-primary-custom:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,173,152,0.3);
}

/* ---- Page Header interno ---- */
.page-header-interno {
    background: linear-gradient(135deg, #087887, #00AD98);
    padding: 60px 0 40px;
    margin-top: 89px;
    color: white;
}
.page-header-interno .section-label {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}
.page-header-interno .section-title {
    color: white;
    font-size: 40px;
}
.page-header-interno p {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
}

/* ---- Filtro de busca ---- */
.filtro-busca {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.filtro-busca .form-select,
.filtro-busca .form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    padding: 12px 16px;
}
.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;
}
.btn-buscar:hover {
    opacity: 0.9;
}

/* ---- Responsivo ---- */
@media (max-width: 768px) {
    #section-1 {
        height: 450px;
        margin-top: 70px;
    }
    .section-title { font-size: 28px; }
    .owl-carousel .owl-item img { height: 300px; }
    .form-card { padding: 30px 20px; }
    .page-header-interno { padding: 40px 0 30px; }
    .page-header-interno .section-title { font-size: 28px; }
}

@media (max-width: 576px) {
    #section-1 { height: 350px; }
    .card-vantagem { margin-bottom: 15px; }
}

/* ---- Animações ---- */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Slicknav Mobile Menu ---- */
.slicknav_menu {
    background: white;
    padding: 10px 0;
}
.slicknav_nav .nav-link {
    color: #087887 !important;
    padding: 10px 20px;
    display: block;
    font-weight: 500;
}
.slicknav_nav .nav-link:hover,
.slicknav_nav .active {
    color: #00AD98 !important;
    background: rgba(0,173,152,0.05);
}

/* ---- Preloader ---- */
.dtr-preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: white;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
