/**
* Theme Name: Strongway 2023
* Author: Strongway Webstudio
* Author URI: https://strongway.com.br/
* Template: spectra-one
* Text Domain: strongway
*/

/* =====================================================
   TOKENS DE CORES, ESPAÇOS E VARIÁVEIS (REFERÊNCIA)
   ===================================================== */

/* LIGHT
----------------------------------------------------- */
/* --wp--preset--color--custom-light: #ffffff; */

/* NEUTRAL
----------------------------------------------------- */
/* --wp--preset--color--custom-neutral-50:  #f8f8f8; */
/* --wp--preset--color--custom-neutral-100: #e5e5e5; */
/* --wp--preset--color--custom-neutral-200: #d1d1d1; */
/* --wp--preset--color--custom-neutral-300: #bebebe; */
/* --wp--preset--color--custom-neutral-400: #aaaaaa; */
/* --wp--preset--color--custom-neutral-500: #838383; */
/* --wp--preset--color--custom-neutral-600: #5c5c5c; */
/* --wp--preset--color--custom-neutral-700: #353535; */
/* --wp--preset--color--custom-neutral-800: #0e0e0e; */

/* NEUTRAL BASE (PRETO COM OPACIDADE)
----------------------------------------------------- */
/* --wp--preset--color--custom-neutral-base-0:   #0000001a; */
/* --wp--preset--color--custom-neutral-base-50:  #00000033; */
/* --wp--preset--color--custom-neutral-base-100: #0000004d; */
/* --wp--preset--color--custom-neutral-base-200: #00000066; */
/* --wp--preset--color--custom-neutral-base-300: #00000080; */
/* --wp--preset--color--custom-neutral-base-400: #00000099; */
/* --wp--preset--color--custom-neutral-base-500: #000000b3; */
/* --wp--preset--color--custom-neutral-base-600: #000000cc; */
/* --wp--preset--color--custom-neutral-base-700: #000000e6; */

/* NEUTRAL LIGHT (BRANCO COM OPACIDADE)
----------------------------------------------------- */
/* --wp--preset--color--custom-neutral-light-50:  #ffffff1a; */
/* --wp--preset--color--custom-neutral-light-100: #ffffff33; */
/* --wp--preset--color--custom-neutral-light-200: #ffffff4d; */
/* --wp--preset--color--custom-neutral-light-300: #ffffff66; */
/* --wp--preset--color--custom-neutral-light-400: #ffffff80; */
/* --wp--preset--color--custom-neutral-light-500: #ffffff99; */
/* --wp--preset--color--custom-neutral-light-600: #ffffffb3; */
/* --wp--preset--color--custom-neutral-light-700: #ffffffcc; */
/* --wp--preset--color--custom-neutral-light-800: #ffffffe6; */

/* CORES PRINCIPAIS
----------------------------------------------------- */
/* --wp--preset--color--custom-dark: #000; */
/* --wp--preset--color--custom-destaques: #da291c; */

/* BOTÕES
----------------------------------------------------- */
/* --wp--preset--color--custom-fundo-de-botoes-primarios: #000000; */
/* --wp--preset--color--custom-hover-de-botoes-primarios: #da291c; */
/* --wp--preset--color--custom-texto-de-botoes-primarios: #ffffff; */

html,
body {
    overflow-x: hidden;
}

.highlighted mark {
    position: relative;
}

.highlighted mark::after {
    content: "";
    width: calc(100% - 22px);
    height: 9px;
    background: var(--wp--preset--color--custom-destaques, #DA291C);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.32em;
    margin-inline: auto;
    z-index: -2;
}

@media (max-width: 767px) {
    .highlighted mark::after {
        left: 8px;
        right: 0;
         bottom: 0.32em;
        width: calc(100% - 5px);
        height: 5px;
    }
}

.divisor h1::before,
.divisor h2::before,
.divisor h3::before,
.divisor h4::before,
.divisor h5::before,
.divisor h6::before {
    content: "";
    background-image: url('assets/imgs/line-divisor.png');
    display: flex;
    width: 394px;
    height: 20px;
    background-size: contain;
}

.divisor--center h1::before,
.divisor--center h2::before,
.divisor--center h3::before,
.divisor--center h4::before,
.divisor--center h5::before,
.divisor--center h6::before {
    margin-inline: auto;
}

@media (max-width: 767px) {

    .divisor--full-on-mobile h1::before,
    .divisor--full-on-mobile h2::before,
    .divisor--full-on-mobile h3::before,
    .divisor--full-on-mobile h4::before,
    .divisor--full-on-mobile h5::before,
    .divisor--full-on-mobile h6::before {
        width: 140vw;
        transform: translateX(-20%);
        margin-bottom: var(--wp--preset--spacing--large, 26px);
    }
}

.mt-auto {
    margin-top: auto !important;
}

.button-whatsapp-icon a {
    width: 41px;
    height: 41px;
    min-height: 41px !important;
}

@media(min-width: 767px) {
    .button-whatsapp-icon a {
        width: 50px;
        height: 50px;
        min-height: 50px !important;
    }
}

.wp-element-button {
    transition: .3s;
}

.wp-element-button:hover {
    background-color: var(--wp--preset--color--custom-hover-de-botoes-primarios);
}

.recommended-plan {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-50%);
}

.plan-card__button-period--is-active .wp-block-button__link {
    background-color: var(--wp--preset--color--custom-fundo-de-botoes-primarios) !important;
}

.plan-card__button-period--is-active .wp-block-button__link .uagb-marketing-btn__title {
    color: var(--wp--preset--color--custom-texto-de-botoes-primarios) !important;
}

.addons-icon-add {
    position: absolute !important;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    width: auto !important;
}

:root :where(p a:where(:not(.wp-element-button))) {
    color: inherit;
}


a:where(:not(.wp-element-button)) {
    text-decoration: inherit;
}

@media (max-width: 767px) {
    .plan-card__button-period .wp-block-button__link {
        min-height: 28px;
        padding: 0;
        display: inline-flex;
        align-items: center;
    }
}

/* Plans Slider */

.plans__controls {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.plans__controls--is-active {
    display: flex;
}

.plans__arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plans__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.plans__arrow.swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

.plans__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plans__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    opacity: 1;
}

@media (min-width: 1025px) {
    .plans__controls {
        display: none !important;
    }
}

.wp-block-gutsliders-any-content .swiper-container-outer h1,
.wp-block-gutsliders-any-content .swiper-container-outer h2,
.wp-block-gutsliders-any-content .swiper-container-outer h3,
.wp-block-gutsliders-any-content .swiper-container-outer h4,
.wp-block-gutsliders-any-content .swiper-container-outer h5,
.wp-block-gutsliders-any-content .swiper-container-outer h6,
.wp-block-gutsliders-any-content .swiper-container-outer p {
    margin: 0;
}

@media (min-width: 1356px) {
    .plans {
        padding-right: var(--wp--preset--spacing--medium, 16px) !important;
    }
}

.plans__slider .swiper-container-outer {
    padding-top: 17px;
    height: auto;
}

.plans__slider .swiper-slide {
    height: auto;
    display: flex;
}

.plans__slider .gutslider-content-inner,
.plans__slider .plan-card {
    height: 100%;
}

.plans__slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 41px;
    margin-top: 25px;
    margin-right: var(--wp--preset--spacing--medium, 16px);
}

.plans__slider-controls .swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wp--preset--spacing--medium, 16px);
    width: auto;
    max-width: fit-content;
    margin: 0;
}

.plans__slider-controls .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    border: 2px solid var(--wp--preset--color--custom-neutral-base-100, #0000004d);
    border-radius: 90px;
    background: var(--wp--preset--color--custom-neutral-light-400, #ffffff80);
    opacity: 1;
    transition: all 0.2s ease;
}

.plans__slider-controls .swiper-pagination-bullet-active {
    width: 20px;
    height: 20px;
    border-color: var(--wp--preset--color--custom-neutral-base-50, #00000033);
    background: var(--wp--preset--color--custom-destaques, #da291c);
}

.plans__slider-controls .gutslider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.plans__slider-controls .gutslider-prev,
.plans__slider-controls .gutslider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--wp--preset--color--custom-neutral-base-0, #0000001a);
    ;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    position: static;
    margin: 0;
}

.plans__slider-controls .gutslider-prev:hover,
.plans__slider-controls .gutslider-next:hover {
    background: var(--wp--preset--color--custom-neutral-base-50, #00000033);
}

.plans__slider-controls .gutslider-prev svg,
.plans__slider-controls .gutslider-next svg {
    width: 16px;
    height: 16px;
    fill: var(--wp--preset--color--custom-neutral-700, #353535);
}

.plans__slider-controls .gutslider-prev.swiper-button-disabled,
.plans__slider-controls .gutslider-next.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.plans__slider .plans__slider-controls:has(.swiper-pagination-lock):has(.swiper-button-lock) {
    display: none;
}

header .wp-block-navigation-link {
    transition: .3s;
    border-bottom: 1px solid transparent;
    padding-block: 5px !important;
}

header .wp-block-navigation-link:hover {
    border-color: var(--wp--preset--color--custom-destaques, #da291c);
}

/* Responsividade e customizações da Header */
.header-wrapper {
    width: 100% !important;
}

@media (max-width: 800px) {
    header .wp-block-navigation {
        display: inline-block !important;
    }

    header .wp-block-navigation:not(.has-background) .wp-block-navigation__container {
        display: none;
        gap: 20px;
    }

    header .wp-block-navigation .wp-block-navigation__responsive-container-open {
        display: flex;
    }

    header .menu-section {
        flex-direction: row-reverse !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 800px) and (max-width: 1150px) {

    header .wp-block-navigation .wp-block-navigation__container,
    .menu-section {
        gap: 20px !important;
    }
}

@media (min-width: 800px) and (max-width: 1024px) {
    header .wp-block-navigation .wp-block-navigation__container .wp-block-navigation-item {
        font-size: var(--wp--preset--font-size--small, 14px) !important;
    }
}

@media(min-width: 767px) and (max-width: 840px) {
    header .wp-block-navigation .wp-block-navigation__container .wp-block-navigation-item {
        font-size: var(--wp--preset--font-size--x-small, 12px) !important;
    }
}

@media (max-width: 767px) {
    header .wp-block-navigation .wp-block-navigation__container {
        gap: 20px !important;
    }
}

.wp-block-navigation__responsive-container-close {
    right: 15px;
    top: 15px;
}

.header-wrapper.uagb-position__sticky {
    background-color: var(--wp--preset--color--custom-light, #fff);
}

.wp-block-navigation-link-active-anchor {
    border-color: var(--wp--preset--color--custom-destaques, #da291c);
}

@media(min-width: 700px) and (max-width: 976px) {
    .bussiness-image {
        background-size: 70% !important;
    }
}

/* Customizações do Footer */

@media(min-width: 977px) and (max-width: 1465px) {
    .footer__grid--text {
        padding-right: clamp(25px, 2vw, 70px) !important;
    }

    .footer__grid--infos,
    .footer__grid--menu {
        padding-inline: clamp(25px, 2vw, 70px) !important;
    }

    .footer__grid--logo {
        padding-inline: clamp(25px, 2vw, 44px) !important;
    }
}