/* Import da fonte Montserrat se necessário */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&display=swap');

/* Variáveis do loader */
:root {
  --loader-bg: #690269;    /* roxo All Tech */
  --loader-text: #ffffff;  /* texto branco */
}

/* Container geral */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--loader-bg);
  color: var(--loader-text);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

/* fade-out */
.loader.fade-out {
  opacity: 0;
}

/* área recortada para revelar */
.loader__logo {
  width: 320px;
  text-align: center;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}



/* “ALL TECH” */
.loader__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--loader-text);
}

/* linha abaixo do título */
.loader__line {
  width: 100px;
  height: 4px;
  background-color: var(--loader-text);
  margin: 0.5rem auto 1rem;
}

/* container das três palavras */
.loader-slogan {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* cada palavra */
.loader-slogan li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;          /* fonte mais fina */
  text-transform: uppercase;  /* INOVAR, INTEGRAR, EVOLUIR */
  letter-spacing: 0.05em;
  margin: 0.2em 0;
  opacity: 0;
  transform: translateY(20px);
  color: var(--loader-text);
}

/* dark-mode invertido, se você usar tema */
html[data-theme="dark"] .loader {
  background-color: var(--loader-text);
}
html[data-theme="dark"] .loader,
html[data-theme="dark"] .loader-slogan li {
  color: var(--loader-bg);
}



html {
    scroll-behavior: smooth;
  }
  

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
    --main-color: rgb(105, 2, 105);
    --black100: #f7f7f7;
    --black400: #555555;
    --black900: #000000;
    --white: #ffffff;

    --shadow-black100: 0 5px 15px rgba(0, 0, 0, .1);
    --shadow-black300: 0 5px 15px rgba(0, 0, 0, .3);
    --black-alpha100: 0 5px 15px rgba(0, 0, 0, .05);
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: normal;
    overflow-x: hidden;
    background-color: var(--white);
}

* {
    margin: 0;
    padding: 0;
    outline: none !important;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
ul {
    list-style: none;
}
a, a:hover {
    text-decoration: none;
}

/* BUTTONS */
.btn-1 {
    background-color: var(--main-color);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    color: var(--white);
    font-size: 16px;
    text-transform: capitalize;
    box-shadow: var(--shadow-black300);
    font-weight: 500;
    transition: all .5s ease;
}
.btn-1:hover {
    color: var(--main-color);
    background-color: var(--white);
}

.btn-2 {
    background-color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    color: var(--main-color);
    font-size: 16px;
    text-transform: capitalize;
    box-shadow: var(--shadow-black100);
    font-weight: 500;
    transition: all .5s ease;
}
.btn-2:hover {
    color: var(--white);
    background-color: var(--main-color);
}

/* SECTIONS */
.section-padding {
    padding: 80px 0;
}
.section-title {
    margin-bottom: 60px;
}
.section-title h4 {
    font-size: 25px;
    font-weight: 700;
    color: var(--black900);
    text-transform: capitalize;
    text-align: center;
}
.section-title h2 {
    font-size: 30px;
    color: var(--black900);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}
.section-title h2 span {
    color: var(--main-color);
}

/* OWL DOTS */
.owl-carousel .owl-dots {
    padding: 0 15px;
    text-align: center;
    margin-top: 20px;
}
.owl-carousel button.owl-dot {
    height: 6px;
    width: 24px;
    background-color: #dddddd;
    display: inline-block;
    margin: 0 4px;
    border-radius: 5px;
}
.owl-carousel button.owl-dot.active {
    background-color: var(--main-color);
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .08);
    transition: all .5s ease;
}
.navbar.navbar-shrink {
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
}
.navbar > .container {
    padding: 0 15px;
}
.navbar .navbar-brand {
    font-size: 30px;
    color: var(--main-color);
    font-weight: 500;
    text-transform: capitalize;
}
.navbar .nav-item {
    margin-left: 35px;
}
.navbar .nav-item .nav-link {
    color: var(--black400);
    text-transform: capitalize;
    font-size: 18px;
    font-weight: 400;
    padding: 5px 0;
    position: relative;
}
.navbar .nav-item .nav-link::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 0;
    background-color: var(--main-color);
    left: 50%;
    top: -45px;
    transform: translateX(-50%);
    transition: all .3s ease-out 0s;
}
.navbar .nav-item .nav-link.active,
.navbar .nav-item .nav-link:hover {
    color: var(--main-color);
}
.navbar .nav-item .nav-link.active::before,
.navbar .nav-item .nav-link:hover::before {
    height: 45px;
}

/* HEADER CONTENT */
.header-content {
    background-color: #fbfbfb;
    height: 800px;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
}
#parallax {
    position: absolute;
    height: 100%;
    width: 100%;
}

/* ===== Slider Home ===== */
.home-slider .slider-item {
    position: relative;
    height: 700px;
    background-size: cover;
    background-position: center;
}

.home-slider .slider-item .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(105,2,105,0.6),
        rgba(0,0,0,0.6)
    );
    z-index: 1;
}

.home-slider .slider-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.home-slider .slider-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-slider .slider-content p {
    font-size: 20px;
    line-height: 1.5;
}

/* Navegação do OwlCarousel sobre o slider */
.home-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    width: 45px; height: 45px;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
}
.home-slider .owl-nav .owl-prev { left: 15px; }
.home-slider .owl-nav .owl-next { right: 15px; }
.home-slider .owl-nav button:hover {
    background: var(--main-color) !important;
}
.home-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}
.home-slider .owl-dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
}
.home-slider .owl-dot.active {
    background: var(--main-color);
}


/* ABOUT SECTION */
.about-area {
    position: relative;
    overflow: hidden;
}
.about-content {
    padding-right: 30px;
}
.about-content .about-title {
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    padding-bottom: 15px;
}
.about-content .about-title span {
    color: var(--main-color);
}
.about-content p {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black400);
}

/* CARROSSEL DE AUTOMAÇÃO */
.automation-carousel {
  width: 100%;
  margin: 0 auto;
}
.automation-carousel .owl-stage-outer {
  overflow: hidden !important;
  padding: 10px 0;
}
.automation-carousel .owl-stage {
  display: flex;
  align-items: center;
}
.automation-carousel .owl-item {
  display: flex;
  justify-content: center;
  padding: 0 15px !important;
  width: auto  !important;  /* largura aumentada de 260px para 320px */
}
.automation-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}


/* CARDS */
.e-card {
    width: 260px;          /* largura aumentada */
    height: 300px;
    margin: 0 auto;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
    border-radius: 16px;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.e-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 30px -5px rgba(0,0,0,0.3);
}

/* NAV CONTROLS */
.automation-carousel .owl-nav button {
    pointer-events: all;
    background: rgba(168, 0, 168, 0.7) !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transform: none;
}
.automation-carousel .owl-nav .owl-prev { left: 0; }
.automation-carousel .owl-nav .owl-next { right: 0; }
.automation-carousel .owl-nav button:hover {
    background: var(--main-color) !important;
}

/* OWL DOTS (ABAIXO DOS CARDS) */
.automation-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}
.automation-carousel .owl-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    transition: background .3s;
}
.automation-carousel .owl-dot.active {
    background: var(--main-color);
}

/* SKILLS */
#skill-bar-wrapper {
    margin-top: 30px;
}
.skillbar-container {
    position: relative;
    width: 100%;
    background-color: rgba(187,23,23,.1);
    height: 5px;
    margin-top: 15px;
}
.skills {
    height: 6px;
    width: 0;
    background-color: var(--main-color);
}

/* ====================
   SEÇÃO DE SERVIÇOS
   ==================== */
   .services {
    background-color: var(--black100);
}

.service-item {
    box-shadow: var(--shadow-black100);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color .5s ease;
}

.service-item:hover {
    background-color: var(--main-color);
}

/* Ícone permanece sempre 60×60, só muda de cor no hover e ganhou margin-top extra */
.service-item .icon {
    height: 60px;
    width: 60px;
    margin: 20px auto 30px;
    text-align: center;
    font-size: 30px;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: color .5s ease;
}

.service-item:hover .icon {
    color: var(--black900);
}

/* Fundo do ícone cria o efeito de “estalo” no hover sem mexer no tamanho */
.service-item .icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1vh;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-color: var(--main-color);
    z-index: -1;
    transition: background-color .5s ease;
}

.service-item h3 {
    font-size: 22px;
    margin: 0 0 20px;
    color: var(--black900);
    font-weight: 500;
    text-transform: capitalize;
    transition: color .5s ease;
}

.service-item p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    color: var(--black400);
    margin: 0 0 15px;
    transition: color .5s ease;
}

.service-item:hover p {
    color: var(--black900);
}


/* ==============================
   PORTFOLIO GRID & PROJECT CARDS
   ============================== */

   .project-card {
    position: relative;
    z-index: 1;
    /* Make it fluid down to mobile, but cap at 260px */
    width: 100%;
    max-width: 260px;
    background: linear-gradient(744deg, #af40ff, #9542f3 60%, #220136);
    border-radius: 1rem;
    overflow: hidden;
    /* center each card in its column */
    margin: 1rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  }
  
  .project-card .card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: visible;
  }
  
  .project-card .card-image img {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 120%;
    height: calc(100% + 20px);
    object-fit: contain;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    margin-top: 10px;
  }
  
  .project-card .card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.25) 0%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 1;
  }
  
  .project-card .card-info {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: calc(100% - 2rem);
  }
  
  .project-card .card-info h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.4rem;
  }
  
  .btn-portfolio {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color .3s;
  }
  
  .btn-portfolio:hover:not(.disabled) {
    background-color: var(--black400);
  }
  

/* CALL TO ACTION */
.call-to-action {
    background: url('img/ideiaDigital.jpg') center top / cover fixed no-repeat;
    position: relative;
    z-index: 1;
}
.call-to-action::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgb(66, 2, 66);
    opacity: .8;
    z-index: -1;
}
.call-action-content .action-title {
    font-size: 45px;
    font-weight: 700;
    color: var(--white);
    padding-bottom: 30px;
}
.call-action-content p {
    color: var(--white);
    padding-bottom: 25px;
}
.call-action-content ul li {
    display: inline-block;
    margin: 10px 15px 0;
}

/* TESTIMONIALS */
.testimonials {
    background-color: var(--black100);
}
.testimonial-item {
    margin: 15px;
    padding: 30px;
    box-shadow: var(--shadow-black100);
    border-radius: 10px;
    text-align: center;
}
.testimonial-item .img-box {
    height: 100px; width: 100px;
    display: inline-block;
    margin-bottom: 30px;
    border: 4px solid var(--main-color);
    border-radius: 50%;
    position: relative;
}
.testimonial-item .img-box img {
    border-radius: 50%;
    width: 100%;
}
.testimonial-item .img-box i {
    position: absolute;
    height: 30px; width: 30px;
    background-color: var(--main-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    left: calc(100% - 15px);
    top: calc(50% - 15px);
}
.testimonial-item p {
    font-size: 16px;
    margin: 0 0 20px;
    color: var(--black400);
    line-height: 26px;
    font-weight: 300;
}
.testimonial-item h3 {
    font-size: 18px;
    color: var(--black900);
    font-weight: 500;
    margin: 0 0 5px;
    text-transform: capitalize;
}
.testimonial-item span {
    display: block;
    font-size: 16px;
    color: var(--black400);
    font-weight: 300;
}
.testimonial-item .rating {
    margin-top: 10px;
}
.testimonial-item .rating i {
    display: inline-block;
    font-size: 16px;
    color: rgb(255, 157, 0);
}

/* PRICING */  
.pricing-plan {
    box-shadow: var(--shadow-black100);
    border-radius: 10px;
}
.pricing-plan .pricing-header {
    padding: 20px 30px;
    background-color: var(--main-color);
}
.pricing-plan .pricing-header h3 {
    text-align: center;
    font-size: 30px;
    color: var(--white);
    font-weight: 500;
    text-transform: capitalize;
    margin: 0;
}
.pricing-plan .pricing-price {
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    line-height: 0.7;
}
.pricing-plan .pricing-price .currency {
    font-size: 16px;
    font-weight: 300;
    color: var(--black400);
    margin-right: 5px;
    align-self: flex-start;
}
.pricing-plan .pricing-price .price {
    font-size: 80px;
    font-weight: 700;
    color: var(--main-color);
}
.pricing-plan .pricing-price .period {
    font-size: 14px;
    font-weight: 300;
    color: var(--black400);
    margin-right: 5px;
    align-self: flex-end;
    text-transform: uppercase;
}
.pricing-plan .pricing-body {
    padding: 0 30px;
}
.pricing-plan .pricing-body ul li {
    font-size: 16px;
    font-weight: 300;
    color: var(--black400);
    padding: 10px 0 10px 30px;
    border-bottom: 1px solid var(--black-alpha100);
    line-height: 26px;
    position: relative;
}
.pricing-plan .pricing-body ul li:last-child {
    border-bottom: none;
}
.pricing-plan .pricing-body ul li i {
    color: var(--main-color);
    position: absolute;
    left: 0;
    top: 12px;
}
.pricing-plan .pricing-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

/* FAQ */
.faq .acoordion-item:not(:last-child) {
    margin-bottom: 20px;
}
.faq .accordion-header {
    box-shadow: var(--shadow-black100);
    padding: 20px 50px 20px 30px;
    position: relative;
    cursor: pointer;
    transition: all .3s ease;
}
.faq .accordion-header::before {
    content: '\f067';
    font-family: 'Font Awesome 5 Free';
    color: var(--black400);
    font-weight: 900;
    position: absolute;
    height: 30px; width: 30px;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    text-align: center;
    transition: all .3s ease;
}
.faq .accordion-header:not(.collapsed)::before {
    content: '\f068';
    color: var(--white);
}
.faq .accordion-header:not(.collapsed) {
    background-color: var(--main-color);
    box-shadow: none;
}
.faq .accordion-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black400);
    margin: 0;
    transition: all .3s ease;
}
.faq .accordion-header:not(.collapsed) h3 {
    color: var(--white);
}
.faq .accordion-body {
    padding: 20px 30px;
    background-color: var(--black100);
}
.faq .accordion-body p {
    font-weight: 300;
    font-size: 16px;
    color: var(--black400);
    line-height: 26px;
    margin: 0;
}

/* CONTACT */
.contact {
    background-color: var(--shadow-black100);
}
.contact-info h3 {
    font-size: 22px;
    color: var(--black900);
    font-weight: 500;
    margin: 0 0 40px;
}
.contact-info-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 30px;
}
.contact-info-item i {
    position: absolute;
    height: 40px; width: 40px;
    left: 0; top: 0;
    border-radius: 50%;
    font-size: 16px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    text-align: center;
    line-height: 38px;
}
.contact-info-item h4 {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--black900);
}
.contact-info-item p {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    line-height: 26px;
    color: var(--black400);
}
.contact-form .form-group {
    margin-bottom: 25px;
}
.contact-form .form-control {
    height: 52px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-black100);
    border-radius: 30px;
    padding: 0 24px;
    color: var(--black900);
    background-color: var(--white);
    transition: all .5s ease;
}
.contact-form textarea.form-control {
    height: 140px;
    padding: 12px;
    resize: none;
}
.contact-form .form-control:focus {
    border-color: var(--main-color);
}


/* MEDIA QUERIES */
@media(max-width: 991px) {
    .header-content { height: 640px; }
    .navbar-toggler {
        background-color: var(--main-color);
        height: 34px;
        width: 44px;
        padding: 0;
        font-size: 17px;
        color: var(--white);
    }
    .navbar-nav { background-color: var(--white); }
    .navbar .nav-item {
        margin: 0;
        padding: 5px 15px;
    }
    .navbar .nav-item .nav-link::before {
        display: none;
    }
    .pricing-plan { margin-bottom: 30px; }
}

@media(max-width: 670px) {
  .home-slider{
    margin-top: 10vh;
  }
  .home-slider .slider-content h2 {
    font-size: 35px;
   
}

.home-slider .slider-content p {
    font-size: 18px;
}
}

/* Ajustes para o slider em dispositivos menores */
@media (max-width: 767px) {
  .home-slider .slider-content {
    width: 90%;
    padding: 0 15px;
  }
  
  .home-slider .slider-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .home-slider .slider-content p {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .home-slider .slider-content h2 {
    font-size: 24px;
  }
  
  .home-slider .slider-content p {
    font-size: 14px;
  }
}

@media(max-width: 767px) {
    .header-shape.shape-one img { width: 40px; }
    .header-shape.shape-two img { width: 40px; }
    .header-shape.shape-three img { width: 100px; }
    .header-shape.shape-four img { width: 40px; }
    .header-shape.shape-five img {
        width: 40px;
        right: 25px !important;
        bottom: 50% !important;
    }
    .header-shape.shape-six img { width: 40px; }
    .header-shape.shape-seven img {
        width: 100px;
        left: 50px !important;
        bottom: 35px !important;
    }
    .header-shape.shape-eight img {
        width: 100px;
        left: 50px !important;
        bottom: 80px !important;
    }
    .header-shape.shape-nine img {
        width: 100px;
        left: 65% !important;
        bottom: 20px !important;
    }
    .header-shape.shape-ten img {
        width: 100px;
        right: 0 !important;
        bottom: 15% !important;
    }
    .home-text h4 { font-size: 24px; }
    .home-text h1 { font-size: 38px; }
    .about-content ul li {
        width: 100%;
        float: none;
    }
    .call-action-content .action-title {
        font-size: 30px;
    }
    .section-title h2 {
        font-size: 35px;
    }
    .contact-form { margin-top: 20px; }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .about-content ul li {
        width: 100%;
        float: none;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-content ul li {
        width: 50%;
        float: left;
    }
}

/* ============================
   Estilo dos Cards de Automação
   (MikeAndrewDesigner - Uiverse)
   ============================ */
.e-card {
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
    position: relative;
    width: 220px;
    height: 330px;
    border-radius: 16px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 540px;
    height: 700px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: -50%;
    margin-top: -70%;
    background: linear-gradient(744deg,#4e0185,#220131 60%,#8632f5);
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave:nth-child(1) { animation-duration: 3000ms; }
.playing .wave:nth-child(2) { animation-duration: 4000ms; }
.playing .wave:nth-child(3) { animation-duration: 5000ms; }

@keyframes wave {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon {
    width: 3.5em; /* Aumentado de 3em para 3.5em */
    margin-top: -1em;
    padding-bottom: 1em;
}

.infotop {
    text-align: center;
    font-size: 20px; /* Aumentado de 18px para 20px */
    position: absolute;
    top: 5em;
    left: 0;
    right: 0;
    color: #fff;
    font-weight: 600;
    padding: 0 15px; /* Adicionado padding para evitar que o texto encoste nas bordas */
}

.btn-card{
    color: rgb(64, 6, 158);
    background-color: white;
    border-radius: 1rem;
    font-size: 1rem;
    padding: 10px 10px 10px 10px;
    text-decoration: underline;
    margin-top: 2vh;
}

.tituloPortifolio{
    font-weight: bold;
}


/* ==== MODAL PREVIEW ==== */
.info-icon {
    position: absolute;
    top: 1rem;
    right: 3rem;
    font-size: 1.4rem;
    color: var(--main-color);
    cursor: pointer;
  }
  .preview-btn {
    font-weight: 600;
    letter-spacing: .5px;
  }
  .image-preview img {
    max-height: 400px;
  }
  
  /* ===== Estilos do Cartão do Modal ===== */
.cartao-modal {
    --branco: hsl(0, 0%, 100%);
    --preto: hsl(240, 15%, 9%);
    --principal: hsl(189, 92%, 58%);
  
    position: relative;       /* para os filhos posicionados */
    width: 19rem;
    height: 12rem;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--preto);
    background-image:
      radial-gradient(at 88% 40%, var(--preto) 0, transparent 85%),
      radial-gradient(at 49% 30%, var(--preto) 0, transparent 85%),
      radial-gradient(at 14% 26%, var(--preto) 0, transparent 85%),
      radial-gradient(at 0% 64%, var(--principal) 0, transparent 85%),
      radial-gradient(at 41% 94%, hsl(290, 97%, 15%) 0, transparent 85%),
      radial-gradient(at 100% 99%, hsl(290, 97%, 15%) 0, transparent 85%);
    border-radius: 1rem;
    box-shadow: inset 0 -16px 24px hsla(0,0%,100%,.25);
  
    /* remove o flex se não for mais necessário */
  }

  
  /* container do título: agora ocupa TODO o cartão */
  .cartao-modal__titulo-container {
    position: absolute;
    inset: 0;               /* top:0; right:0; bottom:0; left:0 */
    overflow: hidden;
    border-radius: .5rem;
  }
  
  /* 1) imagem de fundo: totalmente 100% */
  .cartao-modal__titulo-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg-img) center/cover no-repeat;
    z-index: 1;
  }
  
  /* 2) degradê azul por cima da imagem */
  .cartao-modal__titulo-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(33, 1, 54, 0.7) 0%,
      rgba(33, 1, 54, 0.7) 100%
    );
    z-index: 2;
  }
  
  /* 3) o texto sempre à frente, posicionado embaixo */
  .cartao-modal__titulo {
    position: absolute;
    /* substitua bottom por top */
    top: 3rem;          /* escalone esse valor até ficar na altura desejada */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    padding: 0 .5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
  }
  
/* Container do toggle, para alinhar na nav */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    margin-left: 1rem;
  }
  
  /* input escondido */
  .dark-mode-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* estilo da "caixinha" do switch */
  .dark-mode-toggle .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
  }
  
  /* trilho do switch */
  .dark-mode-toggle .switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: all .3s ease;
  }
  
  /* ícones dentro do slider - POSICIONAMENTO CORRIGIDO */
  .dark-mode-toggle .switch .slider i {
    position: absolute;
    font-size: 14px;
    color: #fff;
    transition: all .3s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2; /* Garante que fique acima do slider */
  }
  
  .dark-mode-toggle .switch .slider i.fa-sun {
    left: 8px;
    color: #ffd700; /* Amarelo para o sol */
  }
  
  .dark-mode-toggle .switch .slider i.fa-moon {
    right: 8px;
    color: #f0f0f0; /* Branco para a lua */
  }
  
  /* bolinha que desliza */
  .dark-mode-toggle .switch .slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform .3s ease;
    z-index: 3; /* Fica acima dos ícones */
  }
  
  /* estado "checked" muda cor do trilho */
  .dark-mode-toggle input:checked + .switch .slider {
    background-color: var(--main-color);
  }
  
  /* estado "checked" desloca a bolinha */
  .dark-mode-toggle input:checked + .switch .slider::before {
    transform: translateX(30px);
  }


  /* --- Fade+slide-up genérico --- */
@keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px) scale(0.95);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* estado inicial: invisível e deslocado */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity .3s ease-out, transform .3s ease-out;
  }
  
  /* quando entrou na viewport: dispara a keyframe */
  .animate-on-scroll.in-view {
    animation: fadeInUp .6s ease-out forwards;
  }
  
  html[data-theme="dark"] {
    --background: #121212;
    --white: #1e1e1e;
    --black100: #222;
    --black400: #aaa;
    --black900: #fff;
    --main-color: #a142f4;
    --shadow-black100: 0 5px 15px rgba(0, 0, 0, .2);
    --shadow-black300: 0 5px 15px rgba(0, 0, 0, .4);
  }
  
  /* Navbar em modo escuro */
  html[data-theme="dark"] .navbar {
    background-color: var(--white);
    box-shadow: none;
  }
  
  /* Links da navbar */
  html[data-theme="dark"] .navbar .nav-link {
    color: var(--black400);
  }
  
  html[data-theme="dark"] .navbar .nav-link:hover,
  html[data-theme="dark"] .navbar .nav-link.active {
    color: var(--main-color);
  }
  
  /* Dropdown */
  html[data-theme="dark"] .dropdown-menu {
    background-color: #2a2a2a;
    border: none;
  }
  html[data-theme="dark"] .dropdown-item {
    color: #ccc;
  }
  html[data-theme="dark"] .dropdown-item:hover {
    background-color: #3a3a3a;
    color: var(--main-color);
  }
  
  /* Botão de switch dark mode refinado */
  html[data-theme="dark"] .dark-mode-toggle .switch .slider {
    background-color: #444;
  }
  html[data-theme="dark"] .dark-mode-toggle input:checked + .switch .slider {
    background-color: var(--main-color);
  }
  html[data-theme="dark"] .dark-mode-toggle input:checked + .switch .slider::before {
    transform: translateX(30px);
  }
  
  html[data-theme="dark"] .about-title {
    color: #ddd;
  }
  
  html[data-theme="dark"] .about-title span {
    color: var(--main-color);
  }
  
  html[data-theme="dark"] .about-content p {
    color: #ccc;
  }
  
  html[data-theme="dark"] .pricing-plan {
    background-color: #1e1e1e;
    box-shadow: var(--shadow-black300);
  }
  
  html[data-theme="dark"] .pricing-plan .pricing-header {
    background-color: var(--main-color); /* mantém o roxo forte */
  }
  
  html[data-theme="dark"] .pricing-plan .pricing-price .price {
    color: var(--main-color);
  }
  
  html[data-theme="dark"] .pricing-plan .pricing-price .currency,
  html[data-theme="dark"] .pricing-plan .pricing-price .period {
    color: #ccc;
  }
  
  html[data-theme="dark"] .pricing-plan .pricing-body ul li {
    color: #ddd;
    border-bottom: 1px solid #333;
  }
  
  html[data-theme="dark"] .pricing-plan .pricing-body ul li i {
    color: var(--main-color);
  }
  
  [data-theme="dark"] .loader {
    background-color: #3d0066 !important; /* fundo escuro para o loader */
    color: #fff !important;
  }
  [data-theme="dark"] .loader-slogan li {
    color: #ffffff !important; /* ou outro tom claro como #f0f0f0 */
  }
  .chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #3d0066;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: background 0.3s;
}

.chatbot-toggle:hover {
  background-color: #530080;
}

.chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.chatbot-container.active {
  display: flex;
}

.chatbot-header {
  background: #3d0066;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chatbot-body {
  padding: 15px;
  background-color: #f5f5f5;
  font-size: 14px;
}

.chatbot-msg {
  margin-bottom: 10px;
  font-weight: 500;
}

.chatbot-btn {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  background: #3d0066;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  transition: background 0.2s;
}

.chatbot-btn:hover {
  background: #5b00a1;
}

.chatbot-resposta {
  margin-top: 12px;
  background: #eee;
  padding: 10px;
  border-radius: 8px;
  color: #333;
}

[data-theme="dark"] .chatbot-container {
  background: #222;
  color: white;
}

[data-theme="dark"] .chatbot-body {
  background: #111;
}

.chatbot-resposta {
    margin-top: 12px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    color: #222;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  [data-theme="dark"] .chatbot-resposta {
    background: #2a2a2a;
    color: #e0e0e0;
    box-shadow: 0 1px 4px rgba(255,255,255,0.05);
  }
  
  .navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px !important;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c084fc !important;
    text-shadow: 0 0 8px #c084fc4d;
  }
  
  
  [data-theme="dark"] .navbar-brand {
    color: #c084fc !important;
    text-shadow: 0 0 1px #c084fc;
  }
  .mensagem-email {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #5e0d80;
    color: white;
    padding: 16px 24px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    animation: fadeInOut 5s ease forwards;
  }
  
  @keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px); }
  }
  
  .alerta-email {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 9999;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  .alerta-email.erro {
    background-color: #e53935;
  }
  


.modal-content{
  background-color: white !important;
  border-radius: 1vh !important;
  border: solid 2px purple !important;
}

 /* DARK MODE – FOOTER */
[data-theme="dark"] footer.footer-section {
  background-color: #111 !important;
  color: #eee;
}

[data-theme="dark"] .footer-widget h3,
[data-theme="dark"] .footer-widget .footer-text p,
[data-theme="dark"] .footer-widget ul li a,
[data-theme="dark"] .cta-text h4,
[data-theme="dark"] .cta-text span {
  color: #ccc !important;
}

[data-theme="dark"] .whatsapp-btn a {
  background-color: #25d366;
  color: #fff !important;
  border: none;
}

[data-theme="dark"] .copyright-text p {
  color: #888 !important;
}

[data-theme="dark"] .footer-widget-heading h3 {
  border-bottom: 2px solid #6e00c9;
  padding-bottom: 5px;
}

[data-theme="dark"] .single-cta i {
  color: #9b59b6 !important;
}


  ul {
    margin: 0px;
    padding: 0px;
  }
  .footer-section {
    margin-top: 10vh !important;
    background: #f8f9fa; /* Fundo claro */
    position: relative;
    color: #333; /* Cor do texto escuro */
  }
  .footer-cta {
    border-bottom: 1px solid #ddd; /* Linha de separação mais clara */
  }
  .single-cta i {
    color: #ff5e14;
    font-size: 30px;
    float: left;
    margin-top: 8px;
  }
  .cta-text {
    padding-left: 15px;
    display: inline-block;
  }
  .cta-text h4 {
    color: #333; /* Texto escuro */
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .cta-text span {
    color: #555;
    font-size: 15px;
  }
  .footer-content {
    position: relative;
    z-index: 2;
  }
  .footer-pattern img {
    position: absolute;
    top: 0;
    left: 0;
    height: 330px;
    background-size: cover;
    background-position: 100% 100%;
  }
  .footer-logo {
    margin-bottom: 30px;
  }
  .footer-logo img {
    max-width: 200px;
  }
  .footer-text p {
    margin-bottom: 14px;
    font-size: 14px;
    color: #555; /* Texto escuro */
    line-height: 28px;
  }
  .footer-social-icon span {
    color: #333; /* Texto escuro */
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
  }
  .footer-social-icon a {
    color: #333; /* Ícones escuros */
    font-size: 16px;
    margin-right: 15px;
  }
  .footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
  }
  .facebook-bg {
    background: #3B5998;
  }
  .twitter-bg {
    background: #55ACEE;
  }
  .google-bg {
    background: #DD4B39;
  }
  .footer-widget-heading h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
  }
  .footer-widget-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    height: 2px;
    width: 50px;
    background: #ff5e14;
  }
  .footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-widget ul li {
    display: block; /* Garante que fique um abaixo do outro */
    margin-bottom: 8px;
  }
  
  .footer-widget ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }
  
  .footer-widget ul li a:hover {
    color: #ff5e14;
  }
  
  .subscribe-form {
    position: relative;
    overflow: hidden;
  }
  .subscribe-form input {
    width: 100%;
    padding: 14px 28px;
    background: #ffffff; /* Fundo branco */
    border: 1px solid #ccc;
    color: #333; /* Texto escuro */
  }
  .subscribe-form button {
    position: absolute;
    right: 0;
    background: #ff5e14;
    padding: 13px 20px;
    border: 1px solid #ff5e14;
    top: 0;
  }
  .subscribe-form button i {
    color: #fff;
    font-size: 22px;
    transform: rotate(-6deg);
  }
  
  .copyright-area {
    background: rgb(163, 162, 162); /* Cinza claro */
    padding: 20px 0; /* Espaçamento interno */
    text-align: center; /* Centraliza o texto */
    width: 100%; /* Garante que cubra toda a largura */
    position: relative; /* Mantém fixo na parte inferior */
    margin-top: 1vh;
    padding: 25px 0;
  }
  
  .copyright-text p {
    margin: 0;
    margin-left: 2%;
    font-size: 14px;
    color: rgb(33, 30, 30); 
    font-weight: 500;
  
  }
  
  .footer-menu li {
    display: inline-block;
    margin-left: 20px;
  }
  .footer-menu li:hover a {
    color: #ff5e14;
  }
  .footer-menu li a {
    font-size: 14px;
    color: #666;
  }
  
  .whatsapp-btn {
    text-align: center;
    margin-top: 10px;
  }
  
  .whatsapp-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
  }
  
  .whatsapp-btn a i {
    margin-right: 8px;
    font-size: 22px;
  }
  
  .whatsapp-btn a:hover {
    background-color: #1ebe5d;
  }
  
/* DARK MODE AJUSTES FINAIS – FOOTER */
[data-theme="dark"] .footer-section {
  background-color: #111 !important;
  color: #e0e0e0 !important;
}

[data-theme="dark"] .footer-widget h3,
[data-theme="dark"] .footer-widget .footer-text p,
[data-theme="dark"] .footer-widget ul li a,
[data-theme="dark"] .cta-text h4,
[data-theme="dark"] .cta-text span {
  color: #ccc !important;
}

[data-theme="dark"] .footer-widget ul li a:hover {
  color: #9b59b6 !important;
}

[data-theme="dark"] .footer-widget-heading h3 {
  border-bottom: 2px solid #9b59b6;
  padding-bottom: 5px;
}

[data-theme="dark"] .single-cta i {
  color: #9b59b6 !important;
}

[data-theme="dark"] .whatsapp-btn a {
  background-color: #25d366 !important;
  color: #fff !important;
  border-radius: 30px;
  padding: 10px 20px;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s;
}

[data-theme="dark"] .whatsapp-btn a:hover {
  background-color: #1ebc5c !important;
}

[data-theme="dark"] .copyright-text {
  background-color: #0e0e0e !important;
  color: #999 !important;
  padding: 10px;
  text-align: center;
}


.footer-section .copyright-text {
  margin: 0;
  text-align: center;
  color: #888;
  font-size: 14px;
}

[data-theme="dark"] .footer-section .copyright-text {
  color: #aaa !important;
}

.footer-section .copyright-area {
  background-color: #f8f8f8;
  padding: 20px 0;
}

.footer-section .copyright-text {
  text-align: center;
  font-size: 14px;
  color: #444;
  background-color: transparent;
}

/* Ajuste para modo escuro */
[data-theme="dark"] .footer-section .copyright-area {
  background-color: #111 !important;
}

[data-theme="dark"] .footer-section .copyright-text {
  color: #aaa !important;
}
