:root {
    /* ==================== Paleta de cores ==================== */
    --primary: #bf40bf; /* roxo principal */
    --primary-hover: #702963;
    --primary-dark: #800080;
    --light: #f5fffb;
    --dark: #101212;

    /* Complementos de cor */
    --primary-rgb: 191, 64, 191;
    --secondary: #da70d6;
    --secondary-rgb: 218, 112, 214;
    --white: #ffffff;
    --white-rgb: 255, 255, 255;

    /* Cinzas utilitários */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #dddddd;
    --gray-400: #94a3b8;
    --gray-500: #64748b;

    /* Cor de fundo escura suavizada (para substituir bg-dark do Bootstrap) */
    --dark: #2b2d2f;
    --dark-rgb: 43, 45, 47;
    --footer-bg: var(--dark);
    --footer-bg-rgb: var(--dark-rgb);

    /* Bordas, overlays e sombras */
    --border-soft: rgba(0, 0, 0, 0.1);
    --overlay-hero: rgba(9, 30, 62, 0.7);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 12px 50px rgba(0, 0, 0, 0.45);
}

html,
body {
    background: linear-gradient(
        180deg,
        rgba(191, 64, 191, 0.06),
        rgba(128, 0, 128, 0.08)
    ) !important;
}

/*** Spinner Start ***/
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-dark);
}
p {
    color: var(--dark);
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed !important;
    right: 30px !important;
    bottom: 50px !important;
    display: flex !important;
    width: 45px !important;
    height: 45px !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.5s;
    z-index: 9999 !important;
}

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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

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

.btn.btn-primary {
    background: var(--primary) !important;
    color: var(--light) !important;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--light) !important;
    color: var(--primary) !important;
}

.btn.btn-light {
    background: var(--light) !important;
    color: var(--primary) !important;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--primary) !important;
    color: var(--light) !important;
}

.RotateMoveLeft {
    position: relative;
    animation: RotateMoveLeft 10s linear infinite;
}

.RotateMoveRight {
    position: relative;
    animation: RotateMoveRight 10s linear infinite; /* ✅ corrigido */
}

@keyframes RotateMoveLeft {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(40px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes RotateMoveRight {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-40px);
    }
    100% {
        transform: translateX(0);
    }
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: var(--primary) !important;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-dark) !important;
}

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}
/* Após scroll */
.navbar.navbar-light.sticky-top .navbar-brand h1 {
    color: var(--primary-dark); /* ou outra cor */
}
/* =========================
   Logo + MKode — Mobile
   (quando vira hamburguer)
   ========================= */
@media (max-width: 991.98px) {
    .navbar-light .navbar-brand img {
        max-height: 40px; /* ~20% menor que 50px */
    }

    .navbar-light .navbar-brand h1 {
        font-size: 1.6rem; /* ajusta conforme o teu design */
    }

    /* Se estiver sticky no mobile */
    .sticky-top.navbar-light .navbar-brand img {
        max-height: 36px; /* ~20% menor que 45px */
    }
}

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

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: 0.5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--primary);
    color: var(--light);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--light) !important;
    transition: 0.5s;
    opacity: 1;
}

.collapse.navbar-collapse {
    transition: 0.5s;
}

/* garante topo */
.navbar.fixed-top {
    top: 0 !important;
    z-index: 2000 !important; /* acima de cards/hero/owls etc */
}

@media (max-width: 992px) {
    nav.bg-transparent {
        position: absolute;
        width: 100%;
        background: transparent !important;
    }

    .navbar.navbar-expand-lg button span {
        position: relative;
        z-index: 99;
    }

    .navbar {
        position: relative;
        background: var(--light);
        z-index: 2;
        color: var(--primary-dark);
    }
    .sticky-top.navbar-light {
        position: relative;
        background: var(--light) !important;
        padding: 0 20px 20px 20px !important;
    }

    nav.navbar {
        padding: 0 30px 30px 0;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--primary);
        color: var(--primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dddddd;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }

    .hero-header {
        margin-top: -100px !important;
    }
}

@media (min-width: 992px) {
    .navbar.navbar-light.fixed-top {
        position: fixed !important;
        width: 100%;
        top: 0;
        left: 0;
        background: transparent !important;
        z-index: 1050;
    }

    /* quando faz scroll (JS adiciona sticky-top) */
    .navbar.navbar-light.fixed-top.sticky-top {
        background: var(--light) !important;
    }
}

/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        rgba(102, 16, 242, 0.03),
        rgba(102, 16, 242, 0.03)
    );
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0 60px 0;
    margin-bottom: 6rem;
    transition: 0.5s;
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(244, 156, 250, 0.05);
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(203, 71, 247, 0.04);
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
    z-index: 2;
}

/* ✅ ÚNICO RotateMoveSingle (sem top/bottom/left/right => sem reflow) */
@keyframes RotateMoveSingle {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-10px, 10%, 0) rotate(180deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(360deg);
    }
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 100px !important;
    }
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--dark) !important;
}

.breadcrumb-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.breadcrumb-animation li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(102, 16, 242, 0.07);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.breadcrumb-animation li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.breadcrumb-animation li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.breadcrumb-animation li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.breadcrumb-animation li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.breadcrumb-animation li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.breadcrumb-animation li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.breadcrumb-animation li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.breadcrumb-animation li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}
/*** Single Page Hero Header End ***/

/*** Hearo Header Start ***/
.header::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--light);
    border-radius: 22% 78% 33% 67% / 32% 0% 100% 68%;
    animation: bgMove 5s linear infinite;
    z-index: -1;
}

/* ✅ transform-only */
@keyframes bgMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}

.header::before {
    content: "";
    position: absolute;
    bottom: -9%;
    left: -7%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 30px solid rgba(185, 71, 247, 0.05);
    background: transparent;
    animation: RotateMoveHeader 5s linear infinite;
    z-index: -1;
}

/* ✅ transform-only */
@keyframes RotateMoveHeader {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-10px, -18px, 0) rotate(180deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(360deg);
    }
}

.hero-header {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-header::after {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 58px;
    height: 50px;
    background: url(../img/sty-1.png) center center no-repeat;
    animation: RotateMoveSty-3 45s linear infinite;
    transition: 0.5s;
    z-index: -1;
}

/* ✅ transform-only (simula left/bottom) */
@keyframes RotateMoveSty-3 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    40% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(600px, 0, 0);
    }
    70% {
        transform: translate3d(0, -400px, 0);
    }
    80% {
        transform: translate3d(300px, 0, 0);
    }
    95% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hero-header::before {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 300px;
    height: 300px;
    border-radius: 150px;
    border: 30px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: RotateMoveSty-4 45s linear infinite;
    transition: 0.5s;
    z-index: -1;
}

/* ✅ transform-only */
@keyframes RotateMoveSty-4 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    40% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(600px, 0, 0);
    }
    70% {
        transform: translate3d(0, -400px, 0);
    }
    80% {
        transform: translate3d(300px, 0, 0);
    }
    95% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hero-header .rotate-img {
    position: absolute;
    top: 70px;
    left: 20px;
}

.hero-header .rotate-img .rotate-sty-2 {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 5px solid rgba(156, 71, 247, 0.1);
    background: transparent;
    animation: RotateMoveSty-2 45s linear infinite;
    transition: 0.5s;
}

/* ✅ transform-only (simula left/top) */
@keyframes RotateMoveSty-2 {
    0% {
        transform: translate3d(0, 0, 0);
    }
    40% {
        transform: translate3d(0, -130px, 0);
    }
    50% {
        transform: translate3d(450px, 0, 0);
    }
    70% {
        transform: translate3d(0, 100px, 0);
    }
    80% {
        transform: translate3d(50px, 0, 0);
    }
    95% {
        transform: translate3d(0, -130px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hero-header .rotate-img img {
    position: relative;
    animation: RotateMove 30s linear infinite;
    z-index: -1;
}

/* ✅ transform-only */
@keyframes RotateMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(200px);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 280px;
    }

    .hero-header .rotate-img img {
        margin-top: 100px;
    }
}
/*** Hero Header End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.service .service-item,
.service .service-item .service-icon,
.service .service-item a {
    transition: 0.5s;
}

.service .service-item:hover {
    background: rgba(102, 16, 242, 0.09);
    border: 1px;
}

.service .service-item:hover .service-icon,
.service .service-item:hover a {
    background: var(--white) !important;
}

.service .service-item:hover a:hover {
    background: var(--primary) !important;
    color: var(--light);
}
/*** Service End ***/

/*** Features Start ***/
.feature .feature-img {
    background: transparent;
    border-radius: 58% 42% 21% 79% / 30% 29% 71% 70%;
}
/*** Features End ***/

/*** Contact Start ***/
.contact {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    z-index: 1;
}

.contact::after {
    content: "";
    position: absolute;
    top: 10%;
    left: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveLeft 50s linear infinite;
    z-index: 1;
}

/* ✅ transform-only */
@keyframes ContactMoveLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(0, 100px, 0);
    }
    50% {
        transform: translate3d(90vw, 0, 0);
    }
    75% {
        transform: translate3d(0, 80vh, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.contact::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -1%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 60px solid rgba(102, 16, 242, 0.05);
    background: transparent;
    animation: ContactMoveRight 50s linear infinite;
    z-index: 1;
}

/* ✅ transform-only */
@keyframes ContactMoveRight {
    0% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(0, 100px, 0);
    }
    50% {
        transform: translate3d(-90vw, 0, 0);
    }
    75% {
        transform: translate3d(0, 80vh, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(
        rgba(102, 16, 242, 0.07),
        rgba(102, 16, 242, 0.07)
    );
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--primary);
    transition: 0.5s;
    font-weight: 500;
}

.footer .footer-item p {
    line-height: 35px;
    color: var(--primary);
    font-weight: 500;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--primary-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--dark) !important;
}
/*** copyright end ***/

/* Garante que o conteúdo do site fica acima */
.navbar,
main,
footer,
body
    > :not(.bg-anim):not(.modal):not(.modal-backdrop):not(.copyright):not(
        .mk-cookie-banner
    ) {
    position: relative;
}

/* ===========================
   MKode Modal (Bootstrap skin)
   =========================== */

.mk-modal .modal-content {
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.mk-modal .modal-header {
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.14);
    background: linear-gradient(
        180deg,
        rgba(var(--primary-rgb), 0.1),
        rgba(var(--primary-rgb), 0.03)
    );
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.mk-modal .modal-title {
    color: var(--primary-dark);
}

.mk-modal .mk-modal-subtitle {
    color: var(--dark);
    opacity: 0.75;
}

.mk-modal .form-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.mk-modal .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.mk-modal .form-control:focus {
    border-color: rgba(var(--primary-rgb), 0.55);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.18);
}

.mk-modal .btn.btn-primary {
    box-shadow: var(--shadow-sm);
}

.mk-modal .mk-btn-close {
    filter: grayscale(100%);
    opacity: 0.7;
}
.mk-modal .mk-btn-close:hover {
    opacity: 1;
}

#mkOrcamentoAlert.alert-success {
    border: 1px solid rgba(25, 135, 84, 0.2);
}
#mkOrcamentoAlert.alert-danger {
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.modal.mk-modal {
    z-index: 3000;
}
.modal-backdrop {
    z-index: 2990;
}

/* ===========================
   Animação de fundo com círculos
   =========================== */

.bg-anim {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: transparent;

    /* ✅ estabiliza no mobile (evita “mexer viewport”) */
    contain: strict;
    will-change: transform;
}

.bg-anim .circles {
    position: absolute;
    inset: 0;
}

.area {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    overflow: hidden;
}

.circles {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: transparent;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li i {
    font-size: 72px;
    color: rgba(191, 64, 191, 0.4);
}

.circles li {
    font-size: clamp(14px, 3vw, 54px);
}
.circles li i {
    font-size: 1em;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* ===========================
   MKode Cookie Banner
   =========================== */
.mk-cookie-banner {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 50px !important;
    z-index: 999999 !important;

    width: min(1100px, calc(100% - 32px)) !important;
    background: rgba(111, 66, 193, 0.95) !important;
    color: #fff !important;

    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
    padding: 14px 16px !important;

    pointer-events: auto !important;
}

.mk-cookie-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.mk-cookie-text {
    font-size: 14px;
    line-height: 1.4;
}

.mk-cookie-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.mk-cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 576px) {
    .mk-cookie-banner {
        bottom: 14px !important;
        width: calc(85% - 24px) !important;
    }
    .mk-cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ===========================
   MKode - FAQ
   =========================== */

.mk-faq .accordion-button {
    background: rgba(191, 64, 191, 0.05);
    border-radius: 12px;
    box-shadow: none;
    font-weight: 600;
    color: var(--primary-dark);
    transition: 0.5s;
}

.mk-faq .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--light);
}
.mk-faq .accordion-button:hover {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--primary-dark);
}
.mk-faq .accordion-body {
    color: var(--dark);
    font-weight: 500;
    background-color: rgba(var(--primary-rgb), 0.2);
    border-radius: 12px;
}
.mk-faq .accordion-item {
    background-color: transparent;
}

/* ===========================
   MKode - Language dropdown fixes
   =========================== */

/* 1) Remove o "círculo" (focus ring / active) do botão */
.mk-lang-switcher .mk-lang-btn:focus,
.mk-lang-switcher .mk-lang-btn:active,
.mk-lang-switcher .mk-lang-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    color: var(--primary-dark) !important;
}

.mk-lang-btn {
    color: var(--primary) !important;
}
/* Remove qualquer bg estranho no hover/active do btn-link */
.mk-lang-switcher .mk-lang-btn:hover,
.mk-lang-switcher .mk-lang-btn:active {
    background: transparent !important;
    text-decoration: none !important;
    color: var(--primary) !important;
}
.mk-lang-switcher .mk-lang-btn .mk-lang-btn__icon {
    font-size: 1.1rem;
    color: var(--primary) !important;
}

.mk-lang-switcher.dropdown:hover > .dropdown-menu {
    display: none;
}
.mk-lang-switcher.dropdown > .dropdown-menu.show {
    display: block;
}

@media (min-width: 992px) {
    .container-fluid.header {
        overflow: visible !important;
    }
}
@media (min-width: 992px) {
    .navbar .navbar-toggler {
        display: none !important;
    }
}

/* ===========================
   Language switcher - MOBILE dropdown fix
   =========================== */

.mk-lang-switcher--mobile {
    position: relative;
    z-index: 1055;
}

.mk-lang-switcher--mobile .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0;
    left: auto;
    margin-top: 0.5rem;
    z-index: 1060;
}

.navbar {
    overflow: visible;
}

.mk-lang-switcher--mobile .dropdown-menu {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* ============================
   FIX mobile: evitar scroll lateral + reduzir "jitter" de fixed
   Cole no FINAL do style.css
   ============================ */

/* 1) NUNCA permitir scroll horizontal (o teu sintoma de ir para o lado) */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
}

/* 2) Animações/pseudo-elementos do hero podem "vazar" e criar largura extra */
.header,
.hero-header,
.bg-breadcrumb,
.contact {
    overflow-x: hidden;
}

/* 3) Melhorias para fixed no mobile (reduz tremedeira) */
.copyright,
.mk-cookie-banner,
.back-to-top {
    transform: translateZ(0);
    will-change: transform;
}

/* 4) iOS/Android safe-area (evita "pular" e evita ficar colado demais) */
:root {
    --mk-safe-bottom: env(safe-area-inset-bottom, 0px);
    --mk-safe-right: env(safe-area-inset-right, 0px);
    --mk-safe-left: env(safe-area-inset-left, 0px);
}

/* 5) Ajusta bottoms com safe-area */
.back-to-top {
    right: calc(30px + var(--mk-safe-right)) !important;
    bottom: calc(50px + var(--mk-safe-bottom)) !important;
}

.mk-cookie-banner {
    left: 50% !important;
    /* mantém centrado mas respeita safe-area */
    bottom: calc(14px + var(--mk-safe-bottom)) !important;
    max-width: min(
        1100px,
        calc(100% - 24px - var(--mk-safe-left) - var(--mk-safe-right))
    ) !important;
}

/* 6) No mobile: copyright "sticky" em vez de fixed (isso remove o sobe/desce)
      Porque sticky depende do layout do documento, não do viewport que muda.
*/
@media (max-width: 992px) {
    .copyright {
        position: sticky !important;
        bottom: 0 !important;
    }

    /* garante espaço pra não ficar por cima do conteúdo */
    body {
        padding-bottom: 70px; /* ajusta se o teu copyright for maior */
    }
}

/* 7) Desktop/tablet mantém fixed como querias */
@media (min-width: 993px) {
    body {
        padding-bottom: 0;
    }
}
