/*
Theme Name: X DOCCTOR
Description: Tema customizado para X DOCCTOR com integração RD Station
Version: 1.0
Author: X DOCCTOR Team
*/

:root {
    --primary-color: #008048;
    --secondary-color: #fabe03;
    --text-white: #f8f8f8;
    --text-black: #0000;
    --text-grey: #5b5c65;
}

/* Reset de margens e padding para elementos principais */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.bg-primary {
    background-color: var(--text-white) !important;
}

#divider-parceiros {
    display: none;
}

@media (max-width: 768px) {
  .btn-consultar {
    margin-top: 35px;
  }

  .with-divider {
    display: none;
  }
  #divider-parceiros {
    display: block;
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.8);
  }
}

#como-funciona {
    background-image: url(imgs/BG-01.png);
    color: white;
}

#cards {
    color: var(--text-grey);
    background-color: white;
}

.navbar-nav .nav-link {
    color: #5b5c65 !important;
    font-weight: 500;
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
    height: 80px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
}


.nav-item.with-divider {
    border-right: 2px solid #5b5c65;
    padding-right: 15px;
    margin-right: 15px;
}

.nav-item.with-divider:last-child {
    border-right: none;
    /* remove borda do último com divider */
}

body {
    padding-top: 80px;
    font-family: 'Montserrat', sans-serif;
    /* background-image: url(imgs/background.png); */
    background-color: white;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
}

/* Banner inicial */
#inicio {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -80px; /* Compensar o padding-top do body */
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    left: 0;
    right: 0;
}

.banner-section {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.banner-container {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.banner-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

/* Responsividade do banner */
@media (max-width: 768px) {
    .banner-image {
        display: none;
        /* opcionalmente manter os outros estilos, se necessário */
        /* min-height: 300px; */
        /* max-height: 50vh; */
    }

    #inicio {
        margin-left: calc(-50vw + 50%);
    }
}


.logo-img {
    height: 150px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


.navbar-nav .nav-link {
    position: relative;
    color: black;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    bottom: 0;
    right: 0;
    background-color: var(--secondary-color) !important;
    transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Item ativo: texto azul + barra fixa */
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    /* sobrescreve o Bootstrap */
}

.navbar-nav .nav-link.active::after {
    width: 100%;
    left: 0;
    right: auto;
}

.btn-consultar {
    /* display: inline-block; */
    background-color: var(--primary-color) !important;
    color: white;
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);

}





/* Levantada e sombra no hover */
.btn-consultar:hover,
.btn-consultar:focus {
    transform: translateY(-0.5px);

}

/* Efeito de brilho */
.btn-consultar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: none;
}

/* Animação do brilho da direita para esquerda */
.btn-consultar:hover::before,
.btn-consultar:focus::before {
    animation: shine 0.5s forwards;
}

@keyframes shine {
    from {
        left: 100%;
    }

    to {
        left: -75%;
    }
}



.hero-section {
    background-color: #f8f8f8;
    box-shadow: 0 20px 150px rgba(0, 0, 0, 0.2);
    color: var(--text-grey);


}


.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #008048;
}



@media (max-width: 991.98px) {

    /* lg breakpoint padrão do Bootstrap */
    .offcanvas .nav-link {
        display: inline-block;
        padding: 0;
        position: relative;
    }

    .offcanvas .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        background-color: white;
        /* Altere a cor conforme sua necessidade */
        width: 0;
        transition: width 0.3s ease;
    }

    .offcanvas .nav-link:hover::after {
        width: 100%;
    }

    .offcanvas .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        /* espaçamento vertical entre itens */
    }

    .offcanvas .nav-link {
        padding: 0;
        display: inline-block;
    }
}



/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}


.custom-card {
    background-color: #ffffff;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 12px;
    /* ↓ Diminuiu de 20px para 12px */
    transition: box-shadow 0.3s ease;
    font-size: 0.9rem;
    /* ↓ Texto um pouco menor */
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);





}

.custom-card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 40px;
    /* ↓ Antes 48px */
    height: 40px;
    /* ↓ Antes 48px */
    background: #eaf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    /* ↓ Antes 20px */
    color: var(--primary-color);
}

.discount-badge {
    background-color: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    /* ↓ Antes 0.875rem */
    font-weight: 500;
    padding: 2px 8px;
    /* ↓ Mais compacto */
    border-radius: 6px;
}

.custom-card h6 {
    font-size: 0.95rem;
    /* ↓ Título menor */
    margin-bottom: 4px;
}

.custom-card p {
    font-size: 0.8rem;
    /* ↓ Texto menor */
}

.square {
    width: 120px;
    height: 120px;
    font-weight: 1000;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    background-color: #fff;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    /* Added to center the text */
}

.icon {
    font-size: 2rem;
}

#boxes {
    background-image: url(imgs/BG-01.png);

}



.fa-solid {
    color: var(--primary-color);
    background-color: #98ffd2;
    border-radius: 50px;
}

.fas {
    color: var(--primary-color);
    background-color: #98ffd2;
    border-radius: 50px;
}

#sobre-nos {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0)),
        #fff;
    /* sua cor de fundo original */
}

.cards-section {
    background:
        linear-gradient(to left, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0)),
        #fff;
    color: #5b5c65;
}

.parceiros-section{
    background: linear-gradient(135deg, #005f54 0%, #009c8a 100%);
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);

}

.parceiros-card {
    padding: 3rem;
    /* equivalente ao p-5 do bootstrap */
    border-radius: 1.5rem;
    /* equivalente ao rounded-4 */
    /* background: linear-gradient(135deg, #023832 0%, #059383 100%); */
    /* box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); */
}






.assistente-card {
    background: #f8fdf8;
    border: 1px solid #c0c0c0;
    border-radius: 0.75rem;
    box-shadow: 0 6px 5px rgba(0, 0, 0, 0.05);
    justify-content: space-between;
}

.icon-circle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    width: 56px;
    height: 56px;
    background: #f3f3f3;
    border-radius: 50%;
    color: #059142;
}




.assistente-section {
    color: #5b5c65;
}