/********** Template CSS **********/

:root {
    /* Cores principais */
    --primary: #1B3563;
    /* Azul escuro */
    --secondary: #F3CC1F;
    /* Amarelo */

    /* Cores base */
    --light: #F8F2F0;
    --dark: #060315;

    /* Novas cores auxiliares */
    --blue-medium: #145A9C;
    /* Azul médio */
    --blue-light: #2A9BD3;
    /* Azul claro */
    --yellow-light: #FCED9B;
    /* Amarelo claro */
    --green-highlight: #3CB371;
    /* verde elegante (Medium Sea Green) */

    /* Tipografia */
    --font-primary: 'Quicksand', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Tipografia global */
body {
    font-family: var(--font-primary);
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

p,
span,
li,
a,
button,
input,
textarea {
    font-family: var(--font-secondary);
}

.fw-small {
    font-weight: 400;
}

.fw-medium {
    font-weight: 500;
}

.fw-bold {
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Spinner exclusivo para submit de formulários */
.form-spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.form-spinner-overlay.show {
    display: flex;
}

.form-spinner-box {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    max-width: 420px;
}

/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Icons ***/
.services-benefits span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.services-benefits i {
    font-size: 0.95rem;
    opacity: 0.9;
}

/*** Navbar ***/
.navbar-border-bottom {
    border-bottom: 4px solid var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;

    font-family: var(--font-primary);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    color: var(--dark);
    outline: none;
}

/*** HOVER → amarelo ***/
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary);
}

/*** ACTIVE → azul ***/
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

/*** Brand em texto ***/
.navbar-brand {
    background-color: var(--primary);
    height: 75px;
}

.brand-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: .5px;
}

.brand-accent {
    color: var(--secondary);
}

/*** Mobile ***/
@media (max-width: 575.98px) {
    .brand-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 3px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .4s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::before {
        width: 100%;
        left: 0;
        background: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
        background: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Seguir Envio ***/
.navbar-light .navbar-nav .nav-link.nav-track {
    color: var(--dark);
    font-weight: 700;
}

/* Hover */
.navbar-light .navbar-nav .nav-link.nav-track:hover {
    color: var(--secondary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link.nav-track::before {
        width: 100%;
        left: 0;
        background: var(--primary);
        /* linha azul */
    }
}

/*** Idioma do site ***/
.navbar .dropdown-toggle::after {
    margin-left: 6px;
}

.navbar .dropdown-menu {
    font-size: 15px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: rgba(244, 180, 0, 0.12);
}

.dropdown-menu img {
    border-radius: 2px;
}

/* Estado normal */
.navbar .nav-item.dropdown>.nav-link {
    color: var(--dark);
    font-weight: 700;
    text-transform: uppercase;
    padding: 25px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Seta igual ao texto */
.navbar .nav-item.dropdown>.nav-link::after {
    color: inherit;
}

/* Hover — texto amarelo */
.navbar .nav-item.dropdown>.nav-link:hover {
    color: var(--secondary);
}


.navbar .nav-item.dropdown:last-child .dropdown-menu {
    right: 0;
    left: auto;
}

@media (max-width: 991.98px) {
    .navbar .nav-item .nav-link img {
        border-radius: 2px;
    }

    .navbar .nav-item .nav-link.disabled {
        opacity: .6;
        cursor: default;
    }
}

/*** Header ***/
@media (max-width: 768px) {
    .carousel-title span {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

/*** Carousel Heading Colors ***/
.carousel-title {
    line-height: 1.2;
}

.carousel-title .text-green {
    color: var(--green-highlight);
}

.carousel-title .text-yellow {
    color: var(--secondary);
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/page-header.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}

/*** Botao produto Saber mais ***/
.btn-box-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 10px 22px;

    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-primary);

    color: #fff;
    background-color: var(--primary);
    border-radius: 30px;

    text-decoration: none;
    transition: all .25s ease;
}

/* Ícone */
.btn-box-action i {
    font-size: 14px;
    transition: transform .25s ease;
}

/* Hover */
.btn-box-action:hover {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(244, 180, 0, .35);
}

/* Micro movimento da seta */
.btn-box-action:hover i {
    transform: translateX(4px);
}

/*** FAQ ***/

/*** Botão base ***/
.accordion-button {
    background-color: #F8F2F0;
    /*#F8F2F0*/
    font-weight: 500;
    color: #1B3563;
}

/*** Estado aberto ***/
.accordion-button:not(.collapsed) {
    background-color: #1B3563;
    color: #ffffff;
    /*border-left: 4px solid #F4B400;*/
}

/*** Seta AMARELA ***/
.accordion-button:not(.collapsed)::after {
    background-image: none;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-right: 3px solid #F4B400;
    border-bottom: 3px solid #F4B400;
    transform: rotate(45deg);
    margin-left: auto;
}

/*** Estado fechado (opcional – seta azul) ***/
.accordion-button.collapsed::after {
    background-image: none;
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    border-right: 3px solid #1B3563;
    border-bottom: 3px solid #1B3563;
    transform: rotate(-45deg);
    margin-left: auto;
}

/*** Corpo ***/
.accordion-body {
    background-color: #1B3563;
    color: #fff;
    border-bottom: 4px solid #F4B400;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background-color: var(--primary) !important;
    border-top: 4px solid #F4B400;

    font-family: var(--font-secondary);
    /* Open Sans */
    font-size: 14px;
    /* TAMANHO BASE */
    font-weight: 400;
    color: var(--light);
}

/****************************************************
 * TÍTULOS DO FOOTER
 ****************************************************/
.footer h4 {
    font-family: var(--font-primary);
    /* Quicksand */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1rem;
    color: #fff;
}

/****************************************************
 * TEXTO NORMAL (contactos, endereço, newsletter)
 ****************************************************/
.footer p,
.footer span {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: .5rem;
}

/* Ícones */
.footer i {
    font-size: 13px;
    opacity: .85;
}

/****************************************************
 * LINKS RÁPIDOS (mantém hover atual)
 ****************************************************/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;

    font-size: 14px;
    /* IGUAL AO TEXTO */
    font-weight: 400;
    text-transform: capitalize;

    color: #FFFFFF;
    transition: all .3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #F4B400;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: #F4B400;
}

/*** Redes Sociais ***/
.footer .btn.btn-social {
    margin-right: 6px;
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 50%;

    line-height: 1;
    font-size: 15px;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer .btn.btn-social i {
    line-height: 1;
}

.footer .btn.btn-social:hover {
    background-color: #F4B400;
    color: var(--primary);
    border-color: #F4B400;
}


/*** Newletter ***/
.footer .btn-primary {
    background-color: #1B3563 !important;
    border-color: #1B3563 !important;
    color: #ffffff !important;
    transition: color .25s ease;
}

.footer .btn-primary:hover,
.footer .btn-primary:focus {
    background-color: #1B3563 !important;
    border-color: #1B3563 !important;
    color: #F4B400 !important;
}

/*** Copyright ***/
.footer .copyright {
    padding: 25px 0;
    font-size: 13.5px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer .copyright a {
    color: var(--light);
    transition: color .3s ease;
}

.footer .copyright a:hover {
    color: #F4B400;
}

/*** Override Bootstrap Colors !!! Important ***/

/*** Backgrounds ***/
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

/*** Text colors ***/
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

/*** Borders ***/
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/*** Buttons ***/
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--blue-medium) !important;
    border-color: var(--blue-medium) !important;
}

.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: #000;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--yellow-light) !important;
    border-color: var(--yellow-light) !important;
}

/* =========================================
   CAROUSEL FULL HEIGHT — MOBILE ONLY
========================================= */
@media (max-width: 768px) {

    .header-carousel,
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item,
    .header-carousel .owl-carousel-item {
        height: 100vh;
    }

    .header-carousel .owl-carousel-item {
        min-height: 100vh;
        /* substitui os 500px */
    }

    .header-carousel .owl-carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    /* Ajuste do conteúdo para não ficar colado ao topo */
    .header-carousel .owl-carousel-item .container {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    /* Texto mais equilibrado em full screen */
    .header-carousel .owl-carousel-item h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .header-carousel .owl-carousel-item h5 {
        font-size: 13px;
        letter-spacing: .5px;
    }
}

/*** FAQ / ACCORDION — REMOVER BORDA DE FOCO ***/
/* Remove outline e sombra ao clicar */
.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

/* Remove efeito "ativo" estranho */
.accordion-button:not(.collapsed) {
    background-color: rgba(27, 53, 99, 0.05);
    /* azul suave */
    color: var(--primary);
}

/* Garante que não aparece borda colorida */
.accordion-item {
    border: none;
}

/* Linha fina entre itens */
.accordion-item+.accordion-item {
    border-top: 1px solid rgba(27, 53, 99, 0.15);
}

/* Opcional: um pouco de respiro */
.accordion-item {
    padding-top: 2px;
}