/* =================================================================== */
/* RESET GERAL E VARIÁVEIS DE COR                                      */
/* =================================================================== */

:root {
  --cor-primaria: #0bd3c4;
  --cor-primaria-leve: #5ce1e6;
  --cor-primaria-escura: #0d7b8a;
  --cor-secundaria: #59429d;
  --cor-fundo-escuro: #050505;
  --cor-fundo-claro: #f8f9fa;
  --cor-texto-claro: #ffffff;
  --cor-texto-escuro: #212529;
  --cor-texto-cinza: #6c757d;
  --font-principal: "Segoe UI", system-ui, sans-serif;
  scroll-padding-top: 100px; /* Ajusta o scroll para seções com header fixo */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-principal);
  background-color: var(--cor-fundo-escuro);
  color: var(--cor-texto-escuro);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: hidden; /* Evita barras de rolagem de animações */
}

/* =================================================================== */
/* ESTILOS GERAIS E UTILITÁRIOS                                        */
/* =================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-subtitle {
  color: var(--cor-texto-cinza);
  font-size: 1.1rem;
  max-width: 600px;
  margin: -1rem auto 3rem auto;
}

.highlight {
  color: var(--cor-primaria);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 14px 32px;
  background-image: linear-gradient(
    90deg,
    var(--cor-primaria) 0%,
    var(--cor-primaria-escura) 100%
  );
  color: var(--cor-texto-claro);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background-size: 200% 100%;
  transition: all 0.4s ease-in-out;
}

.cta-button:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(11, 211, 198, 0.25);
}

/* =================================================================== */
/* ANIMAÇÕES DE SCROLL                                                 */
/* =================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Classe base que será adicionada via JS */
.animate-on-scroll {
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}
/* =================================================================== */
/* 1. HERO CAROUSEL (VERSÃO FINAL COM ALINHAMENTO CORRIGIDO)           */
/* =================================================================== */

.hero-section {
  background: linear-gradient(to bottom, #000, var(--cor-fundo-escuro) 80%);
  min-height: 70vh;
  padding: 120px 20px 0 20px; /* Padding removido do bottom para a imagem colar */
  border-radius: 0 0 120px 120px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  overflow: hidden; /* Garante que nada vaze da seção curvada */
}

.hero-carousel-content {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* MUDANÇA PRINCIPAL: Alinha a BASE dos itens (texto e imagem) ao final do container */
  align-items: flex-end;
}

.hero-text,
.hero-image {
  /* Ambos são flex-items que ocupam o espaço disponível */
  flex: 1;
  min-width: 0; /* Previne que itens flex encolham de forma indesejada */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-text.fade-out,
.hero-image.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.hero-text {
  color: var(--cor-texto-claro);
  /* Empurra o texto para cima para que não fique colado na base */
  padding-bottom: 6rem;
  z-index: 2; /* Garante que o texto fique na frente de qualquer elemento de fundo */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  /* Adicionamos uma largura máxima para forçar a quebra de linha antes de chegar na imagem */
  max-width: 90%;
}
.hero-text h2 {
  font-size: 1.5rem;
  color: var(--cor-primaria);
  margin-top: 0.5rem;
}
.hero-text p {
  font-size: 1.1rem;
  max-width: 500px;
  margin-top: 1.5rem;
  color: #b0b0b0;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand-color {
  color: #d90f81;
  font-weight: bold;
}
.hero-buttons .cta-button.btn-secondary {
  background: transparent;
  border: 2px solid var(--cor-texto-claro);
  background-image: none;
}
.hero-buttons .cta-button.btn-secondary:hover {
  background: var(--cor-texto-claro);
  color: var(--cor-texto-escuro);
  border-color: var(--cor-texto-claro);
}

/* A imagem agora está no fluxo normal, não mais absoluta */
.hero-image {
  text-align: right; /* Alinha a imagem à direita do seu container */
}

.hero-image img {
  max-width: 100%;
  width: 600px; /* Tamanho base da imagem */
  height: auto;
  display: block;
  margin-left: auto; /* Garante o alinhamento à direita */
}

/* Indicadores e barra de progresso */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s;
}
.indicator.active {
  background-color: var(--cor-primaria);
}

@keyframes progressBarAnimation {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.progress-bar-container {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
}
.progress-bar {
  height: 100%;
  background-color: var(--cor-primaria);
  animation: progressBarAnimation 8s linear infinite; /* A animação agora se repete com o JS */
}

/* --- RESPONSIVIDADE DO HERO --- */

/* Telas de Tablet */
@media (max-width: 992px) {
  .hero-section {
    padding-top: 100px;
    border-radius: 0 0 80px 80px;
  }

  .hero-carousel-content {
    flex-direction: column;
    /* No modo coluna, alinhamos ao centro */
    align-items: center;
    text-align: center;
  }

  .hero-text {
    padding-bottom: 0;
  }

  .hero-text h1 {
    max-width: 100%; /* O título pode ocupar toda a largura */
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-indicators {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Telas de Celular */
@media (max-width: 576px) {
  .hero-section {
    border-radius: 0 0 60px 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* =================================================================== */
/* 2. GALERIA DE LOGOS                                                 */
/* =================================================================== */
@keyframes infinite-scroll {
  to {
    transform: translateX(-50%);
  }
}

.galeria-section {
  background-color: var(--cor-primaria);
  padding: 3rem 0;
}

.galeria-container {
  text-align: center;
}
.galeria-container h2 {
  color: var(--cor-texto-claro);
  margin-bottom: 2rem;
  font-weight: 600;
}

.galeria-wrapper {
  overflow: hidden;
}
.galeria {
  display: flex;
  width: max-content;
  animation: infinite-scroll 40s linear infinite;
}
.galeria .item {
  height: 80px;
  width: 200px;
  margin: 0 40px;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: all 0.3s ease;
}
.galeria .item:hover {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.1);
}
.galeria .item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =================================================================== */
/* 3. SEÇÃO DE MIGRAÇÃO                                                */
/* =================================================================== */

.migracao-section {
  background-color: var(--cor-fundo-claro);
  padding: 100px 0;
  text-align: center;
}
.migracao-section h2 {
  color: var(--cor-texto-escuro);
  font-size: 2.5rem;
}
.migracao-section h2 strong {
  color: var(--cor-primaria);
  font-weight: 800;
}
.timeline-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 4rem 0;
}
.timeline-container::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 4px;
  background-color: #e9ecef;
  z-index: 1;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  position: relative;
  z-index: 3;
}
.timeline-icon-wrapper {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}
.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--cor-texto-escuro);
  color: var(--cor-texto-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 5px solid var(--cor-fundo-claro);
  transition: all 0.3s ease;
}
.timeline-icon.final-step {
  background-color: var(--cor-primaria);
  font-size: 1.5rem;
}
.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.timeline-content p {
  color: var(--cor-texto-cinza);
  font-size: 0.9rem;
  max-width: 220px;
}
.timeline-step:hover .timeline-icon-wrapper {
  transform: scale(1.15);
}
.timeline-step:hover .timeline-icon:not(.final-step) {
  background-color: var(--cor-primaria);
}
.timeline-step:hover .timeline-content h3 {
  color: var(--cor-primaria);
}

/* =================================================================== */
/* 4. SEÇÃO ESPECIALIDADES CARROSSEL                                   */
/* =================================================================== */

.setores-section {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
}
.setores-title {
  color: var(--cor-primaria);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.carousel-outer-wrapper {
  position: relative;
}
.carousel-wrapper {
  overflow: hidden;
  margin: 0 40px;
}
.setores-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.setor-card {
  width: 25%;
  padding: 0 10px;
  flex-shrink: 0;
}
.setor-card-inner {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.setor-card-inner:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.setor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.card-content p {
  color: var(--cor-texto-cinza);
  font-size: 0.9rem;
}
.carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--cor-primaria);
  border: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2rem;
}
.carousel-arrow:hover {
  background-color: var(--cor-primaria);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.carousel-arrow.prev {
  left: 0;
}
.carousel-arrow.next {
  right: 0;
}
.carousel-controls {
  margin-top: 2rem;
}
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}
.pagination-dot.active {
  background-color: var(--cor-primaria);
  transform: scale(1.3);
}
/* =================================================================== */
/* 4.1 ESTILOS PARA OS NOVOS CONTROLES DO CARROSSEL DE ESPECIALIDADES  */
/* =================================================================== */

.carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; /* Espaço entre os pontos e a barra */
  margin-top: 2rem;
}

.carousel-progress-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 400px; /* Largura máxima da barra de progresso */
}

.progress-text {
  color: var(--cor-texto-cinza);
  font-size: 14px;
  white-space: nowrap; /* Impede que o texto quebre a linha */
}

.progress-bar-wrapper {
  flex-grow: 1;
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--cor-primaria);
  border-radius: 3px;
  transition: width 0.5s ease-in-out;
}
/* =================================================================== */
/* 5. PLATAFORMA GERENCIE (VERSÃO FINAL E CORRIGIDA)                   */
/* =================================================================== */
.gerencie-section {
  padding: 100px 0;
  background-color: var(--cor-fundo-claro);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gerencie-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.deco-bubble {
  position: absolute;
  background-color: var(--cor-primaria);
  border-radius: 50%;
  opacity: 0.07;
  z-index: 1;
}
.bubble-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  right: 5%;
}
.bubble-2 {
  width: 40px;
  height: 40px;
  top: 20%;
  left: 10%;
}
.bubble-3 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 15%;
}

.gerencie-main-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.laptop-wrapper {
  position: relative;
  z-index: 2;
}

.gerencie-laptop {
  max-width: 550px;
  width: 100%;
}

.gerencie-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  background-color: var(--cor-primaria);
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.2;
  z-index: 1;
}

/* ===== LÓGICA DE DESKTOP CORRIGIDA ===== */
/* O container agora é uma "âncora" invisível no centro */
.features-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
}

.feature-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  transition: all 0.4s ease;
}

/* O transform move os cards para fora a partir da âncora central */
.features-grid .feature-card:nth-child(1) {
  transform: translate(-145%, -110%);
}
.features-grid .feature-card:nth-child(2) {
  transform: translate(45%, -110%);
}
.features-grid .feature-card:nth-child(3) {
  transform: translate(-145%, 10%);
}
.features-grid .feature-card:nth-child(4) {
  transform: translate(45%, 10%);
}

.feature-card:hover {
  transform: var(--transform-hover, translateY(-10px)) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.features-grid .feature-card:nth-child(1) {
  --transform-hover: translate(-145%, -110%);
}
.features-grid .feature-card:nth-child(2) {
  --transform-hover: translate(45%, -110%);
}
.features-grid .feature-card:nth-child(3) {
  --transform-hover: translate(-145%, 10%);
}
.features-grid .feature-card:nth-child(4) {
  --transform-hover: translate(45%, 10%);
}

.feature-icon {
  color: var(--cor-primaria);
  font-size: 1.8rem;
}

.feature-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--cor-texto-cinza);
  line-height: 1.5;
}

/* ===== RESPONSIVIDADE PARA TABLETS E CELULARES ===== */
/* Esta parte transforma o layout flutuante em um grid normal */

@media (max-width: 992px) {
  .gerencie-main-content {
    flex-direction: column;
    gap: 2rem;
  }
  .gerencie-laptop {
    max-width: 450px;
    order: -1; /* Coloca o notebook em cima */
  }
  .features-grid {
    position: static; /* ESSENCIAL: Volta ao fluxo normal */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
  }
  .feature-card {
    position: static; /* ESSENCIAL: Volta ao fluxo normal */
    width: auto;
    transform: none !important; /* Remove o posicionamento absoluto */
  }
  .feature-card:hover {
    transform: translateY(-10px) scale(1) !important; /* Hover simplificado */
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr; /* Uma coluna no celular */
  }
}
/* =================================================================== */
/* 6. SEÇÃO DE SERVIÇOS (COM FUNCIONALIDADE DE RESUMO)                 */
/* =================================================================== */
.servicos-section {
    padding: 100px 0;
    background-color: var(--cor-fundo-escuro);
    text-align: center;
}

.servicos-section h2 {
    color: var(--cor-texto-claro);
    font-size: 2.5rem;
    margin-bottom: 1rem; /* Margem ajustada */
}

/* Novo subtítulo para guiar o usuário */
#servicos .section-subtitle {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #999;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servicos-grid-wrapper {
    max-height: 680px; /* Altura para mostrar 2 fileiras de cards */
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
    margin-bottom: 2.5rem;
}

.servicos-grid-wrapper.expanded {
    max-height: 2200px; /* Altura grande o suficiente para mostrar todos */
}

.cta-button.btn-secondary {
    background: transparent;
    border: 2px solid var(--cor-primaria);
    color: var(--cor-primaria);
    background-image: none;
}

.cta-button.btn-secondary:hover {
    background: var(--cor-primaria);
    color: var(--cor-texto-claro);
    border-color: var(--cor-primaria);
}

.servico-card {
    background-color: #121212; /* Fundo do card um pouco mais claro que o geral */
    border: 1px solid #222;
    color: var(--cor-texto-claro);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Alinha o conteúdo ao topo */
    transition: all 0.4s ease;
    cursor: pointer; /* Indica que o card é clicável */
    min-height: 290px;
}

.servico-card:hover {
    transform: translateY(-8px);
    border-color: var(--cor-primaria);
    box-shadow: 0 10px 30px rgba(11, 211, 198, 0.1);
}

/* Container para o ícone e texto principal */
.servico-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.servico-card i {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--cor-primaria);
    transition: transform 0.3s ease;
}

.servico-texto {
    font-size: 1.1rem;
    line-height: 1.4;
}

.servico-texto p {
    margin: 0;
    padding: 0;
}

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

/* Div do resumo que ficará oculta por padrão */
.servico-resumo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin-top 0.4s ease-out;
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
    text-align: center;
    width: 100%;
    margin-top: 0;
}

/* Classe 'active' que será adicionada via JS para mostrar o resumo */
.servico-card.active {
    border-color: var(--cor-primaria);
    background-color: #1a1a1a;
}

.servico-card.active .servico-resumo {
    max-height: 200px; /* Altura suficiente para o texto */
    margin-top: 20px; /* Espaçamento entre o título e o resumo */
}

/* --- RESPONSIVIDADE PARA SERVIÇOS --- */
@media (max-width: 576px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    .servico-card {
        min-height: auto; /* Remove altura mínima no mobile */
    }
}
/* =================================================================== */
/* 7. SEÇÃO DE BENEFÍCIOS                                              */
/* =================================================================== */
.beneficios-section {
  padding: 100px 0;
  background-color: #fff;
  text-align: center;
}
.beneficios-section h2 {
  font-size: 2.5rem;
  color: var(--cor-texto-escuro);
  margin-bottom: 4rem;
}
.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 4rem;
}
.beneficio-card {
  padding: 40px;
  border-radius: 20px;
  color: var(--cor-texto-claro);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.beneficio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.card-light {
  background-color: var(--cor-primaria-leve);
}
.card-dark {
  background-color: var(--cor-primaria-escura);
}
.beneficio-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.beneficio-card ul {
  list-style: none;
  padding-left: 0;
}
.beneficio-card li {
  font-size: 1.1rem;
  padding-left: 25px;
  position: relative;
}
.beneficio-card li:not(:last-child) {
  margin-bottom: 1rem;
}
.beneficio-card li::before {
  content: "✓";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0px;
  color: var(--cor-texto-claro);
}
.card-decoration {
  position: absolute;
  width: 200px;
  height: 150px;
  background-color: var(--cor-secundaria);
  right: -40px;
  bottom: -80px;
  transform: rotate(-35deg);
  border-radius: 20px;
  opacity: 0.8;
  transition: transform 0.4s ease;
}
.beneficio-card:hover .card-decoration {
  transform: rotate(-25deg) scale(1.1);
}

/* =================================================================== */
/* 8. SEÇÃO DE CONTATO / MAPA                                          */
/* =================================================================== */
.contato-section {
  padding: 100px 0;
  background-color: var(--cor-fundo-escuro);
  text-align: center;
  color: var(--cor-texto-claro);
}
.contato-section h2 {
  font-size: 2.5rem;
  margin-bottom: 4rem;
}
.contato-section h2 strong {
  color: var(--cor-primaria);
}
.contato-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.map-container,
.contato-info {
  flex: 1;
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 16px;
  filter: grayscale(1) invert(0.9) contrast(0.9);
  transition: filter 0.4s ease;
}
.map-container iframe:hover {
  filter: grayscale(0);
}
.contato-info {
  text-align: left;
  padding-left: 2rem;
}
.contato-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contato-info p {
  font-size: 1.1rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}
.contato-info .cta-button {
  font-size: 1.1rem;
}

/* =================================================================== */
/* MEDIA QUERIES PARA RESPONSIVIDADE                                   */
/* =================================================================== */

/* Telas de Tablet */
@media (max-width: 992px) {
  .hero-carousel-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .timeline-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .timeline-step {
    width: 100%;
    max-width: 400px;
  }
  .timeline-container::before {
    display: none;
  }
  .carousel-wrapper {
    margin: 0;
  }
  .setor-card {
    width: 50%;
  } /* 2 por linha */
  .features-grid {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: -80px;
  }
  .feature-card {
    position: static;
    width: auto;
    transform: none !important;
  }
  .feature-card:hover {
    transform: translateY(-10px) scale(1) !important;
  }
  .gerencie-main-content {
    flex-direction: column;
    gap: 2rem;
  }
  .gerencie-laptop {
    max-width: 450px;
    order: -1;
  }
  .beneficios-grid {
    grid-template-columns: 1fr;
  }
  .contato-wrapper {
    flex-direction: column;
  }
  .contato-info {
    text-align: center;
    padding-left: 0;
  }
}

/* Telas de Celular */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text h2 {
    font-size: 1.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .setor-card {
    width: 100%;
  } /* 1 por linha */
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: -60px;
  }
  .servicos-grid {
    grid-template-columns: 1fr;
  }
  .servico-card {
    aspect-ratio: unset;
    min-height: 200px;
  }
}
