html {
  scroll-behavior: smooth;
}

@media (max-width: 991px) {
    .final-cta-section {
        display: none;
    }
    .top-bar {
        padding: 10px 20px;
        height: auto;
    }
    .logo {
        margin-left: 20px;
        height: 35px;
        width: auto;
        flex-grow: 0;
    }
    .navbar-toggler {
        display: block; /* Mostra o botão toggler */
        font-size: 1.5rem;
        color: #555;
        border: none;
        background: transparent;
    }
    .btn-close-nav {
        display: block; /* Mostra o botão de fechar no mobile */
        background: linear-gradient(135deg, #0066ff, #0041aa);
        color: white;
        height: 50px;
        border: none;
        width: 100%; 
        
    }.btn-close-nav:hover {
        background: linear-gradient(135deg, #0066ff, #0041aa);

    }
    .navbar-toggler:focus { box-shadow: none; }

    .navbar-collapse {
        width: 40%;
        background-color: white;
        position: fixed;
        top: 0;
        right: -40%; /* Alterado de 'left' para 'right' */
        height: 100vh;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out; /* Alterado de 'left' para 'right' */
        z-index: 1040;
    }
    .navbar-collapse.show {
        right: 0; /* Alterado de 'left' para 'right' */
    }
    .main-nav {
        justify-content: flex-start;
        margin-right: 0;
        padding-top: 60px; /* Espaço para o botão de fechar */
    }
    .nav-list {
        flex-direction: column;
        align-items: center; /* Centraliza os itens */
        width: 100%;
        padding: 10px 20px;
    }
    .container-img {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .intro-container {
        padding-top: 80px;
        margin-bottom: 80px;
    }
    .main-title {
        font-size: 1.5em !important;
        margin-left: -60px !important;

    }
    .title2 {
        font-size: 1.8em;
    }
    .title3 {
        font-size: 2em;
    }
    .container {
        flex-direction: column;
    }
    .left-content, .right-content {
        max-width: 100%;
    }
    .why-deal-section {
        padding: 40px 20px;
        background-attachment: scroll; /* Melhora performance em mobile */
    }
    .why-deal-content {
        flex-direction: column;
    }
    .why-deal-title {
        font-size: 2em;
    }
    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-image {
        display: none;
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .included-item:nth-child(5) {
        grid-column-start: auto;
    }
    .skills-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
        .footer-content .footer-column:nth-child(2) {
        display: none;
    }
    .form-row {
        flex-direction: column;
    }
    .icon-links {
        margin-left: 20px;
        gap: 10px;
    }
    .header-sec {
        margin-left: 0;
    }
    .nav-button {
        margin-right: 0;
        width: 100%;
    } 

    .comparison-table {
        /* Override previous mobile styles from Crm.php inline <style> */
        grid-template-columns: 28% repeat(3, minmax(200px, 1fr)); /* Features column + 3 plan columns with min-width */
        min-width: 800px; /* Ensure table doesn't shrink too much, adjust as needed */
        max-width: none; /* Remove max-width constraint */
        margin: 0; /* Remove auto margin to allow wrapper to center */
        box-shadow: none; /* Remove shadow to avoid clipping issues with scroll */
        border: none; /* Remove border to avoid clipping issues with scroll */
        border-radius: 0; /* Remove border-radius */
    }
 

    .comparison-table-wrapper {
        overflow-x: auto; /* Enable horizontal scroll on the wrapper */
        margin: 0 -20px; /* Extend wrapper to screen edges, compensating for .section padding */
        padding: 0 20px; /* Add padding back inside */
        position: relative; /* Necessário para posicionar os botões filhos */
    }

    .features-column {
        display: flex; /* Ensure it's visible */
        position: sticky; /* Make it sticky */
        left: 0; /* Stick to the left */
        z-index: 10; /* Ensure it's above scrolling content */
        background-color: #ffffff; /* Add background to cover scrolling content */
        border-right: 1px solid #efefef; /* Add a border to separate it */
        /* Keep padding-top: 80px; */
        box-shadow: 2px 0 5px rgba(0,0,0,0.05); /* Subtle shadow for sticky effect */
    }

    /* Adjust padding for other columns to align with sticky features column */
    .column:not(.features-column) {
        padding-left: 15px; /* Adjust as needed */
        padding-right: 15px; /* Adjust as needed */
    }

    /* Ensure the featured column's tag and shadow are visible */
    .featured {
        transform: none; /* Remove transform to avoid issues with sticky/scroll */
    }
    .featured-tag {
        z-index: 11; /* Ensure tag is above sticky column */
    }

    /* Estilos para os botões de navegação do carrossel de planos */
    .plan-carousel-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: absolute; /* Posiciona os botões sobre a tabela */
        top: 50%; /* Centraliza verticalmente */
        transform: translateY(-50%); /* Ajusta para a própria altura dos botões */
        left: 0;
        right: 0;
        padding: 0 20px; /* Espaçamento das bordas, alinhado com o padding do wrapper */
        z-index: 15; /* Garante que fiquem acima da coluna sticky */
        pointer-events: none; /* Permite cliques "através" do container */
        max-width: 100%;
        margin: 0 auto;
    }

    .scroll-btn {
        background-color: #0056d6;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 16px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: opacity 0.3s ease, transform 0.2s ease;
        pointer-events: all; /* Habilita cliques nos botões */
    }

    .scroll-btn:hover {
        transform: scale(1.1);
    }
}
.top-bar {
        position: fixed;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        width: 100%;
        height: 100px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        background: transparent;
        z-index: 1000;
    }

    .top-bar.scrolled {
        background-color: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .logo {
        margin-left: 140px;
        height: 100%;
    } 
.top-bar.scrolled {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cont-dealtraining {
  user-select: none;
}
  .container-img {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    height: 700px;
    margin-bottom: 80px;
    display: flex;
    padding-top: 100px; /* Adicionado para não ficar atrás do header fixo */
    top: 0;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    min-height: 600px;
  }

  .hero-image-block {
    position: absolute;
    top: 0;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    will-change: transform, opacity;
  }

  .hero-image-left {
    left: 0;
    width: 30%;
    background-image: url('img/imagem_esquerda.png');
    background-position: left center;
    animation: heroSlideInLeft 1s ease-out 0.15s forwards;
  }

  .hero-image-right {
    right: 0;
    width: 70%;
    background-image: url('img/imagem_direita.png');
    background-position: right center;
    animation: heroSlideInRight 1s ease-out 0.3s forwards;
  }

  .intro-container {
    position: relative;
    z-index: 1;
  }


.container-img-2 {
  background-image: url("img/wave.png");
  background-size: cover;
  background-position: center;
  width: 100%; 
  height: auto;
  margin-bottom: 80px;
  display: flex;
  overflow: hidden;
  top: 0;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("red_wave.png");
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  z-index: -1;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:not(.red-button):hover { border-bottom: 2px solid #ea1f3f; }

.intro-container {
  text-align: center;
  padding-top: 160px;
  margin-bottom: 160px;
}

.red-button { 
  padding: 12px 24px;
  background-color: #ea1f3f;
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  transition: transform 0.2s, background-color 0.2s;
  border: none;
  cursor: pointer;
}
.intro-container .red-button {
  margin-top: 20px;
}

.red-button:hover {
  background-color: #ea1f3f;
  transform: scale(1.08);
  color: white;
}

.red-button i {
  font-size: 20px;
}

/* NOVO BLOCO: Ícones com texto ao passar o mouse */
.icon-links {
  display: flex;
}

.icon-link {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-link::after {
  content: attr(data-title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ea1f3f;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 14px;
}

.icon-link:hover::after {
  opacity: 1;
}

/* FORMAS ANIMADAS */
.shape {
  position: absolute;
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}

.triangle {
  width: 30px;
  height: 30px;
  background: #ea1f3f;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.6;
  animation: float 6s ease-in-out infinite alternate;
}

.lozangle {
  width: 30px;
  height: 30px;
  background: #000;
  clip-path: polygon(50% 0%, 100% 25%, 50% 50%, 0% 25%);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-block,
  .hero-image-left,
  .hero-image-right {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}


.main-title {
  text-align: left;
  font-size: 45px;
  margin-top: 180px !important;
   
  color: #ffffff;
}

.subtitle {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-top: 10px;
}

/* Container principal */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
}

/* Ajuste nas larguras internas */
.left-content,
.right-content {
  flex: 0 0 auto;
  max-width: 550px;
  width: 100%;
}

/* Conteúdo da esquerda */
.subtitle2 {
  font-size: 1.4em;
  color: #ea1f3f;
  margin-bottom: 5px;
}

.title2 {
  font-size: 2.2em;
  color: #ea1f3f;
  margin-bottom: 20px;
}

.description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.description2 {
  font-size: 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

ul li {
  font-size: 1.5em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #ea1f3f;
  border-radius: 50%;
}

ul li.plus::before {
  background-color: #fff;
  content: '+';
  font-weight: bold;
  color: #ea1f3f;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
ul li.minus::before {
  background-color: #fff;
  content: '-';
  font-weight: bold;
  color: #ea1f3f;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.call-to-action {
  display: inline-block;
  background-color: #ea1f3f;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

.call-to-action:hover {
  background-color: #ea1f3f;
  transform: scale(1.08); 
  color: #fff;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-bottom: 30px;
  cursor: pointer;
}

.video-container video {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 8px;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

#play-pause-btn {
  font-size: 4em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.conversion-text {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.conversion-percentage {
  font-size: 4em;
  color: #ea1f3f;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.conversion-description {
  font-size: 2em;
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
  color: #ea1f3f;
}

/* Estilos para Visão, Missão e Valores */
.vision-mission-values {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
  flex-wrap: wrap;
}

.v-m-v-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 20px;
  flex: 1;
  min-width: 280px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.vision-mission-values.visible .v-m-v-item {
  opacity: 1;
  transform: translateY(0);
}

.vision-mission-values.visible .v-m-v-item:nth-child(1) {
  transition-delay: 0.05s;
}

.vision-mission-values.visible .v-m-v-item:nth-child(2) {
  transition-delay: 0.2s;
}

.vision-mission-values.visible .v-m-v-item:nth-child(3) {
  transition-delay: 0.35s;
}

.v-m-v-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.v-m-v-icon {
  font-size: 2.5em;
  color: #ea1f3f;
  margin-bottom: 15px;
}

.v-m-v-item h3 {
  font-size: 1.4em;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.v-m-v-item p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .v-m-v-item,
  .vision-mission-values.visible .v-m-v-item {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.2s ease;
  }
}

/* Seção "Por que escolher a Deal" */
.why-deal-section {
  position: relative;
  padding: 80px 40px;
  background-image: url('Potencia_Vendas_Marcos_Alunos_1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.why-deal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(234, 31, 63, 0.85); /* Overlay vermelho com opacidade */
  z-index: 1;
}

.why-deal-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.why-deal-section.visible .why-deal-content {
  opacity: 1;
  transform: translateY(0);
}

.why-deal-left, .why-deal-right {
  flex: 1;
}

.why-deal-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 15px;
}

.why-deal-left h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

.why-deal-right h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.why-deal-left p {
  line-height: 1.7;
  font-size: 1.1em;
}

.filters-list {
  list-style: none;
  padding: 0;
}

.filters-list li {
  font-size: 1.1em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding-left: 0;
}

.filters-list li::before,
.deal-incl-item::before {
  content: none;
}

.filters-list li i {
  margin-right: 10px;
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .title {
    font-size: 1.8em;
  }
  .conversion-percentage {
    font-size: 3em;
  }
  .conversion-description {
    font-size: 1.5em;
  }
  .top-bar {
    padding: 0 20px;
    height: 80px;
  }
  .logo {
    height: 50% ;
  }
  /* Adicionar aqui estilos para menu hamburguer se necessário */
  .why-deal-content {
    flex-direction: column;
  }
}

/* Imagem direita */
.image-right {
  border-radius: 5px;
  width: 100%;
  max-width: 580px;
}

/* Container3 e cards */
.container3 {
  margin: 300px auto;
  padding: 20px;
  text-align: center;
  max-width: 1200px;
}

.title3 {
  font-size: 2.5em;
  color: #ea1f3f;
  margin-bottom: 60px;
  font-weight: 700;
}

.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Seção "Sobre o Projeto" */
.project-section {
  padding: 80px 20px;
  background-color: #fff;
}

.project-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.project-content .description {
  font-size: 1.2em;
  color: #555;
}

.included-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.included-list li {
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.included-list li i {
  color: #ea1f3f;
  font-size: 1.3em;
  margin-right: 15px;
  width: 25px; /* Alinha os ícones */
}

.included-list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-list-inline li {
  font-size: 1.1em;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.included-list-inline li i {
  color: #ea1f3f;
  font-size: 1.3em;
  margin-right: 15px;
}
.percentage {
  font-size: 3.5em;
  color: #ea1f3f;
  font-weight: 700;
  margin-bottom: 15px;
}

.progress-bar-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  height: 10px;
  margin-bottom: 25px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: #5cb85c;
  transition: width 1.5s ease-out;
  border-radius: 5px;
}

.card-description {
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

.source {
  margin-top: 50px;
  font-size: 0.9em;
  color: #777;
}

@media (max-width: 768px) {
  .title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .cards-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .card {
    max-width: 90%;
  }
  .percentage {
    font-size: 3em;
  }
}

/* Seções gerais */
.section {
  padding: 60px 20px;
  text-align: center;
  
}

.section-header {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
  
}
.header-sec{
    margin-left: 370px;
}

.section-title {
  font-size: 2.2em;
  color: #ea1f3f;
  margin-bottom: 40px;
}

/* Grid de Itens Inclusos */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 50px auto;
}

.included-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  font-weight: bold;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.included-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ea1f3f;
}

.included-item:nth-child(5) {
  grid-column-start: 2;
}

.included-icon {
  color: #ea1f3f;
  font-size: 1.5em;
}

/* Grid de habilidades */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.skill-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  font-weight: bold;
  color: #ea1f3f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.skill-icon {
  font-size: 2.5em;
  color: #ea1f3f;
  margin-bottom: 5px;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.call-to-action-button {
  display: inline-block;
  background-color: #ea1f3f;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 60px;
}

.call-to-action-button:hover {
  background-color: #00c96b;
}

/* Programas */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.program-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  opacity: 0;
  --spawn-x: 0px;
  --spawn-y: 0px;
  scale: 1;
  translate: 0 0;
  transform: translate(var(--spawn-x), var(--spawn-y)) scale(0.16);
  transition: scale 0.3s ease, translate 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.program-card:nth-child(1) { --spawn-x: 0px; --spawn-y: 0px; }
.program-card:nth-child(2) { --spawn-x: -140px; --spawn-y: 0px; }
.program-card:nth-child(3) { --spawn-x: -280px; --spawn-y: 0px; }
.program-card:nth-child(4) { --spawn-x: 120px; --spawn-y: -180px; }
.program-card:nth-child(5) { --spawn-x: -20px; --spawn-y: -180px; }
.program-card:nth-child(6) { --spawn-x: -160px; --spawn-y: -180px; }

#servicos.visible .program-card {
  animation: programCardSpawn 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#servicos.visible .program-card:nth-child(1) { animation-delay: 0.02s; }
#servicos.visible .program-card:nth-child(2) { animation-delay: 0.16s; }
#servicos.visible .program-card:nth-child(3) { animation-delay: 0.3s; }
#servicos.visible .program-card:nth-child(4) { animation-delay: 0.44s; }
#servicos.visible .program-card:nth-child(5) { animation-delay: 0.58s; }
#servicos.visible .program-card:nth-child(6) { animation-delay: 0.72s; }

.program-card:hover,
#servicos.visible .program-card:hover {
  scale: 1.05;
  translate: 0 -8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}


.program-icon {
  font-size: 2.5em;
  color: #ea1f3f;
  margin-bottom: 15px;
}

.program-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #ea1f3f;
  margin-bottom: 10px;
}

.program-description {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

@keyframes programCardSpawn {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.12);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  18% {
    opacity: 1;
    transform: translate(0, 0) scale(0.28);
  }
  62% {
    opacity: 1;
    transform: translate(var(--spawn-x), var(--spawn-y)) scale(1.04);
    box-shadow: 0 20px 36px rgba(234, 31, 63, 0.12);
  }
  100% {
    opacity: 1;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-card,
  #servicos.visible .program-card {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* CTA Final */
.final-cta-section { 
  padding: 80px 20px;
  text-align: center;
}

.final-cta-logo {
  margin-bottom: 20px;
}

.final-cta-logo img {
  height: 120px;
}

.final-cta-title {
  font-size: 2em;
  color: #333;
  margin-bottom: 30px;
  font-weight: 700;
}

/* Seção de Contato */
.contact-section {
  padding: 80px 20px; 
  text-align: center;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ea1f3f;
  box-shadow: 0 0 5px rgba(234, 31, 63, 0.2);
}

.contact-form .red-button {
  align-self: center;
  width: auto;
  margin-top: 10px;
}

/* FAQ */
.faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.8em;
  color: #ea1f3f;
  text-align: center;
  margin-bottom: 40px;
}

.accordion {
  background-color: #fff;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.1em;
  transition: 0.4s;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.accordion:hover {
  background-color: #f1f1f1;
}

.accordion:last-of-type {
  border-bottom: none;
}

.accordion.active {
  background-color: #f9f9f9;
  color: #ea1f3f;
}

.accordion-icon {
  font-size: 1.2em;
  color: #ea1f3f;
}

.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-bottom: 1px solid #eee;
}

.panel p {
  padding: 15px 0;
  margin: 0;
  color: #555;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8em;
  }

  .skills-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .program-card,
  .skill-item {
    margin: 0 auto;
    max-width: 90%;
  }

  .final-cta-title {
    font-size: 1.6em;
  }
  .form-row {
    flex-direction: column;
  }
}






.deal-footer {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #31353d 0%, #3f444d 100%);
  color: white;
  padding: 0;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 28vw, 320px);
  width: 100%;
  min-height: 320px;
}

.footer-panel {
  padding: 42px 48px 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(150px, 0.8fr) minmax(260px, 1fr);
  gap: 36px;
  align-items: start;
  max-width: 980px;
}

.footer-column {
  min-width: 0;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-nav-column {
  gap: 14px;
}

.footer-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.footer-address-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column p,
.footer-link-list a,
.footer-contact-item span {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.footer-logo {
  width: 170px;
  margin-bottom: 6px;
}

.footer-column h3 {
  font-size: 1.15em;
  margin-bottom: 0;
  font-weight: 700;
  color: #fff;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  width: fit-content;
}

.footer-link-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item i {
  color: #ea1f3f;
  margin-top: 6px;
  min-width: 18px;
}

.footer-column .contact-info {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-column .contact-info i {
  margin-top: 3px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9em;
  margin-bottom: 10px;
  display: block;
}

.footer-column ul li a:hover {
  color: #ea1f3f;
}

.map-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.map-button {
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.28);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
.map-button:hover {
  background-color: #ea1f3f;
  border-color: #ea1f3f;
  color: white;
  transform: translateY(-2px);
}

.footer-visual {
  position: relative;
  min-height: 100%;
  background-image:
    linear-gradient(180deg, rgba(31, 35, 43, 0.12) 0%, rgba(31, 35, 43, 0.12) 100%),
    url('img/predio.png');
  background-size: cover;
  background-position: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 48px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.68);
}

.social-links {
  display: flex;
  align-items: center;
}

.social-links a {
  color: rgba(255, 255, 255, 0.68);
  margin-left: 15px;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    padding: 36px 28px 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: none;
  }

  .footer-address-column {
    grid-column: 1 / -1;
  }

  .footer-visual {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .deal-footer {
    border-radius: 0;
  }

  .footer-panel {
    padding: 28px 20px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 18px 20px 22px;
  }

  .footer-contact-item {
    gap: 10px;
  }

  .footer-visual {
    min-height: 180px;
    background-position: center 28%;
  }

  .social-links a:first-child {
    margin-left: 0;
  }
}

/* Restaura a visibilidade do menu em telas de desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
        flex-grow: 1;
    }
}

/* ==========================================================================
   12. RESPONSIVIDADE MOBILE
   ========================================================================== */
.navbar-toggler {
    display: none; /* Escondido em telas grandes */
}


@media (max-width: 991px) {
    .top-bar {
        padding: 10px 20px;
        height: auto;
    }
    .logo {
        margin-left: 20px;
        height: 35px;
        width: auto;
        flex-grow: 0;
    }
    .navbar-toggler {
        display: block; /* Mostra o botão toggler */
        font-size: 1.5rem;
        color: #555;
        border: none;
        background: transparent;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-collapse {
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .main-nav {
        justify-content: flex-start;
        margin-right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 10px 20px;
    }
    .container-img {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .hero-image-left {
      width: 38%;
      background-size: contain;
    }
    .hero-image-right {
      width: 100%;
      background-size: cover;
      background-position: center right;
    }
    .intro-container {
        padding-top: 80px;
        margin-bottom: 80px;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .title2 {
        font-size: 1.8em;
    }
    .title3 {
        font-size: 2em;
    }
    .container {
        flex-direction: column;
    }
    .left-content, .right-content {
        max-width: 100%;
    }
    .why-deal-section {
        padding: 40px 20px;
        background-attachment: scroll; /* Melhora performance em mobile */
    }
    .why-deal-content {
        flex-direction: column;
    }
    .why-deal-title {
        font-size: 2em;
    }
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .included-item:nth-child(5) {
        grid-column-start: auto;
    }
    .skills-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }
    .icon-links {
        margin-left: 20px;
        gap: 10px;
    }
    .header-sec {
        margin-left: 0;
    }
    .nav-button {
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .logo {
        margin-left: 10px;
        height: 120px;
        width: auto; 
    }
    .main-title {
        font-size: 28px;
    }
    .intro-container {
        padding-top: 40px;
        margin-bottom: 40px;
    }
    .included-grid {
        grid-template-columns: 1fr;
    }
    .container3 {
        margin: 100px auto;
    }
}

.icon-links {
  display: flex;
  gap: 20px;
  margin-left: 80px;
}
.icon-tooltip:hover {
    transform: translateX(-10px);
}
.icon-tooltip {
  position: relative;
  display: inline-block;
  
}
.min_icon_1{
    display: flex;
    left: 980px;
}
.min_icon_2{
    display: flex;
    left: 970px;
}


.icon-tooltip .hover-img {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -42px;
  margin-top: 17px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  height: 40px;
}

.icon-tooltip:hover .hover-img {
  opacity: 1;
  transform: translateX(0);
}

.icon-tooltip .icon-img {
  height: 60px;
  transition: transform 0.3s ease;
}

/* Botão Voltar ao Topo */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ea1f3f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: scale(1.1);
  color: white;
}
/* ==========================================================================
   12. RESPONSIVIDADE MOBILE
   ========================================================================== */
.navbar-toggler {
    display: none; /* Escondido em telas grandes */
}


@media (max-width: 991px) {
    .top-bar {
        padding: 10px 20px;
        height: auto;
    }
    .logo {
        margin-left: 20px;
        height: 35px;
        width: auto;
        flex-grow: 0;
    }
    .navbar-toggler {
        display: block; /* Mostra o botão toggler */
        font-size: 1.5rem;
        color: #555;
        border: none;
        background: transparent;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-collapse {
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .main-nav {
        justify-content: flex-start;
        margin-right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 10px 20px;
    }
    .container-img {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 40px;
    }
    .hero-image-left {
      width: 38%;
      background-size: contain;
    }
    .hero-image-right {
      width: 100%;
      background-size: cover;
      background-position: center right;
    }
    .intro-container {
        padding-top: 80px;
        margin-bottom: 80px;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .title2 {
        font-size: 1.8em;
    }
    .title3 {
        font-size: 2em;
    }
    .container {
        flex-direction: column;
    }
    .left-content, .right-content {
        max-width: 100%;
    }
    .why-deal-section {
        padding: 40px 20px;
        background-attachment: scroll; /* Melhora performance em mobile */
    }
    .why-deal-content {
        flex-direction: column;
    }
    .why-deal-title {
        font-size: 2em;
    }
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .included-item:nth-child(5) {
        grid-column-start: auto;
    }
    .skills-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }
    .icon-links {
        margin-left: 20px;
        gap: 10px;
    }
    .header-sec {
        margin-left: 0;
    }
    .nav-button {
        margin-right: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .logo {
        margin-left: 10px;
        height: 120px;
        width: auto;    
    }
    .main-title {
        font-size: 28px;
    }
    .intro-container {
        padding-top: 40px;
        margin-bottom: 40px;
    }
    .included-grid {
        grid-template-columns: 1fr;
    }
    .container3 {
        margin: 100px auto;
    }
}

.icon-links {
  display: flex;
  gap: 20px;
  margin-left: 80px;
}
.icon-tooltip:hover {
    transform: translateX(-10px);
}
.icon-tooltip {
  position: relative;
  display: inline-block;
  
}
.min_icon_1{
    display: flex;
    left: 980px;
}
.min_icon_2{
    display: flex;
    left: 970px;
}


.icon-tooltip .hover-img {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -42px;
  margin-top: 17px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  height: 40px;
}

.icon-tooltip:hover .hover-img {
  opacity: 1;
  transform: translateX(0);
}

.icon-tooltip .icon-img {
  height: 60px;
  transition: transform 0.3s ease;
}
        .logo_class{
        width:180px !important;
        height:60px !important;
        margin-left:-20px !important;
    }
.container-img-2{
    margin-bottom: 0;
}
/* Botão Voltar ao Topo */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ea1f3f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: scale(1.1);
  color: white;
}