:root {
  --padrao: #acb1b9;
  --destaque: #1c8ece;
  --destaque-alt: #ff5f13;
  --fundo: #15171d;
  --fundo-alt: #1c2939;
  --text-white: #ffffff;
  --max-width: 1200px;
  /* Limite de largura para leitura confortável */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}



body {
  font-family: 'Inter', sans-serif;
  /* Sugestão de fonte mais moderna */
  background-color: var(--fundo);
  color: var(--padrao);
  overflow-x: hidden;
}

/* Container Centralizador */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Navbar Responsiva */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(21, 23, 29, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(172, 177, 185, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav .nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--padrao);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 5px 0;
}

nav a i {
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effects */
nav a:hover {
  color: var(--text-white);
  transform: translateY(-2px);
}

nav a:hover i {
  color: var(--destaque);
  transform: scale(1.1);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--destaque);
  transition: all 0.3s ease;
}

nav a:hover::after {
  width: 100%;
  left: 0;
}


p {
  margin-bottom: 0.8rem;
}

p:last-child {
  margin-bottom: 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-md {
  font-size: 1.1rem;
}

.items-list ul {
  list-style-type: none;
  padding-left: 0;
}

.items-list ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.items-list ul li::before {
  content: "•";
  color: var(--destaque);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Botões Globais */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--destaque);
}

.btn-primary:hover {
  background: #157ab5;
  /* Darker shade of --destaque */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(28, 142, 206, 0.4);
}

.btn-alt {
  background: var(--destaque-alt);
  box-shadow: 0 5px 20px rgba(229, 94, 32, 0.4);
}

.btn-alt:hover {
  background: #e55e20;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 94, 32, 0.6);
}

/* Hero Section Ajustada */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 50%, var(--fundo-alt) 0%, var(--fundo) 100%);
  position: relative;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
  background: rgba(21, 23, 29, 0.4);
  /* Fundo transparente escuro */
  padding: 2rem;
  border-radius: 0;
  backdrop-filter: blur(5px);
  /* Efeito de desfoque no fundo */
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 2;
  /* Give text more space */
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  min-width: 250px;
  animation: floatLogo 6s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  opacity: 0;
  animation: fadeInLogo 1s ease-out 3s forwards;
  /* Removed floatLogo from here to allow transform animations */
}

@keyframes fadeInLogo {
  to {
    opacity: 1;
  }
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  /* Fonte fluida */
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--destaque-alt);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 200px;
}

#hex-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #000000;
}

/* Grid de Cards Responsivo */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--fundo);
  padding: 2.5rem;
}



.card h3 {
  color: var(--destaque);
  margin-bottom: 1rem;
}

.card p {
  text-align: left;
}

/* Seção Flex (Texto + Imagem/Forma) */
.flex-section {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  /* Quebra em telas menores */
}

.flex-item {
  flex: 1;
  min-width: 300px;
}

/* Formulário de Contato */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 1rem;
  background: var(--fundo);
  border: 1px solid var(--padrao);
  color: white;
  border-radius: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--destaque-alt);
  background-color: var(--fundo-alt);
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(21, 23, 29, 0.98);
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  nav.active {
    display: flex;
  }

  nav .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav li {
    width: 100%;
    text-align: center;
  }

  nav a {
    margin: 15px 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-content {
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  .flex-section {
    flex-direction: column;
    text-align: center;
  }
}

/* Utilitários de Espaçamento */
section {
  padding: 100px 0;
}


/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s all ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.section-alt {
  background-color: var(--fundo-alt);
}

/* --- SHARED CARD STYLES --- */
.card,
.card-feature,
.card-testimonial,
.card-stat,
.partner-card,
.sector-card,
.contact-box,
.detail-box,
.carousel-card,
.contact-info .contact-item {
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Shared Hover Lift Effect */
.card:hover,
.card-feature:hover,
.partner-card:hover,
.sector-card:hover,
.contact-info .contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--destaque);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- NOVOS ESTILOS DE CARDS --- */

/* Card Feature (Ícone + Texto) */
.card-feature {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.card-feature:hover {
  background: rgba(255, 255, 255, 0.06);
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--destaque);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-feature:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2rem;
  color: var(--destaque);
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(28, 142, 206, 0.1);
  padding: 15px;
  border-radius: 50%;
}

.card-feature p {
  margin-bottom: 0.8rem;
}

.card-feature p:last-child {
  margin-bottom: 0;
}

/* Card Testimonial (Depoimento) */
.card-testimonial {
  background: var(--fundo-alt);
  padding: 2.5rem;
  position: relative;
  border-left: 4px solid var(--destaque-alt);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--padrao);
  border-radius: 50%;
}

.author-info h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--padrao);
}

/* Card Image Overlay (Imagem de fundo com texto) */
.card-overlay {
  position: relative;
  height: 300px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.card-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 1;
}

.card-overlay-content {
  position: relative;
  z-index: 2;
}

.card-overlay:hover {
  transform: scale(1.02);
}

/* Card Stat (Estatística) */
.card-stat {
  text-align: center;
  padding: 2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  position: relative;
  /* Needed for tooltip positioning */
  cursor: help;
}

/* Tooltip styles (Desktop) */
@media (min-width: 769px) {
  .card-stat[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 14px;
    border-radius: 0;
    font-size: 1rem;
    white-space: normal;
    width: max-content;
    max-width: 250px;
    z-index: 10;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--destaque);
    pointer-events: none;
    opacity: 0;
    animation: fadeInTooltip 0.3s forwards;
  }
}

/* Tooltip styles (Mobile) */
@media (max-width: 768px) {
  .card-stat[data-tooltip]::after {
    content: attr(data-tooltip);
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
  }
}

@keyframes fadeInTooltip {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--destaque);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- TIMELINE / CRONOGRAMA --- */
.timeline-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 4rem;
  gap: 1rem;
}

/* Linha conectora */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 25px;
  /* Ajustar conforme o tamanho do marcador */
  left: 0;
  right: 0;
  height: 2px;
  background: var(--padrao);
  z-index: 0;
  opacity: 0.3;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--fundo-alt);
  border: 2px solid var(--destaque);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-white);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  background: var(--destaque);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(28, 142, 206, 0.5);
}

.timeline-date {
  display: block;
  color: var(--destaque-alt);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.timeline-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-container::before {
    display: none;
  }
}

/* --- PARCEIROS / INTEGRADORES --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: stretch;
  justify-items: center;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: var(--padrao);
  text-align: center;
  padding: 1rem;
  cursor: default;
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.partner-card:hover h3 {
  color: var(--text-white);
}

.partner-logo {
  width: auto;
  height: auto;
  max-width: 300px;
  max-height: 200px;
  padding: 0px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  transition: color 0.3s;
}

.partner-card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.partner-card p:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

/* --- CONTATO (NOVO) --- */
#contato {
  background: linear-gradient(to bottom, var(--fundo), var(--fundo-alt));
  padding: 80px 0;
  text-align: center;
}

.section-title {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-section-subtitle {
  color: var(--padrao);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Barra de informações de contato superior */
.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info .contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info .contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Caixas de Endereço e Perfis */
.contact-box {
  background: var(--fundo-alt);
  padding: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-box h3 {
  color: var(--destaque);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  color: var(--padrao);
}

.contact-item i {
  color: var(--destaque);
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}

.contact-item a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--destaque-alt);
}

/* Grid de Perfis */
.social-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.social-media-grid .contact-item {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 0;
  margin-bottom: 0;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-media-grid .contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Botão de Agendamento - Usando classe global .btn-alt agora, mas mantendo especificidade se necessário */
#contato .btn {
  margin-top: 3rem;
  font-size: 1.1rem;
}

/* --- SETORES ATENDIDOS --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.sector-card {
  background: var(--fundo);
  padding: 2rem 1rem;
  text-align: center;
  width: 100%;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sector-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sector-icon {
  font-size: 2.5rem;
  color: var(--destaque-alt);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.sector-card:hover .sector-icon {
  transform: scale(1.1);
}

.sector-card h3 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
}

/* --- SECTION ALT --- */
.section-alt {
  background-color: var(--fundo-alt);
}

/* --- PRODUTOS CAROUSEL --- */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  /* Mais espaço vertical para o scale */
}

.carousel-track {
  display: flex;
  align-items: center;
  /* Centralizar verticalmente */
  gap: 0;
  /* Gap controlado pelo padding/margin dos cards */
  width: max-content;
  /* Permitir que o track cresça */
}

.carousel-card {
  width: 600px;
  /* Card maior */
  max-width: 80vw;
  /* Responsivo */
  background: var(--fundo);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease, border-color 0.3s;
  flex-shrink: 0;
  opacity: 0.4;
  transform: scale(0.85);
  margin: 0 10px;
  /* Espaçamento entre cards */
  position: relative;
  z-index: 1;
}

.carousel-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  border-color: var(--destaque);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.carousel-card:hover {
  border-color: var(--destaque);
}

.carousel-card img {
  width: 100%;
  height: 300px;
  /* Imagem maior */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.carousel-card h3 {
  color: var(--text-white);
  margin-bottom: 15px;
  font-size: 1.8rem;
  /* Fonte maior */
}

.carousel-card p {
  font-size: 1.1rem;
  color: var(--padrao);
  line-height: 1.6;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 142, 206, 0.2);
  /* Cor destaque transparente */
  color: white;
  border: 1px solid var(--destaque);
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.carousel-nav:hover {
  background: var(--destaque);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--fundo-alt);
  padding: 0;
  /* Remove padding to allow full width image */
  border-radius: 0;
  max-width: 900px;
  /* Wider modal */
  width: 95%;
  max-height: 90vh;
  /* Limit height */
  overflow-y: auto;
  /* Scrollable */
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s;
  border: 1px solid var(--destaque);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--destaque);
  color: white;
}

/* New Modal Styles */
.modal-header-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
}

.modal-scroll-content {
  padding: 30px;
  color: var(--padrao);
}

.modal-title {
  color: var(--destaque);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 2rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.modal-text-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-text-content ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.modal-text-content ul li {
  margin-bottom: 0.5rem;
}

.modal-details-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.detail-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.detail-box h3 {
  color: var(--destaque-alt);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-box ul {
  list-style-type: none;
  padding-left: 0;
}

.detail-box ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.detail-box ul li::before {
  content: "•";
  color: var(--destaque);
  position: absolute;
  left: 0;
  font-weight: bold;
}


/* Scope Box Special Styling */
.scope-box {
  grid-column: 1 / -1;
  background: rgba(0, 0, 0, 0.2);
  /*linear-gradient(45deg, rgba(28, 142, 206, 0.1), rgba(21, 23, 29, 0.5));*/
  border-left: 4px solid var(--destaque-alt);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.scope-summary {
  flex: 1;
  min-width: 250px;
}

.scope-summary h4 {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.scope-meta {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.scope-meta div {
  margin-bottom: 10px;
}

.scope-meta ul li {
  margin-bottom: 0.2rem;
}

.modal-gallery-container {
  margin-top: 2rem;
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: 8px;
}

.modal-gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.modal-gallery-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
}

.modal-gallery-slide img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 4px;
  cursor: zoom-in;
}

.modal-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-dot.active {
  background-color: var(--destaque);
  transform: scale(1.2);
}

.modal-footer-text {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Scrollbar for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--destaque);
  border-radius: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
}

.whatsapp-float.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/* --- UTILITY CLASSES (Refactored from inline styles) --- */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.text-white {
  color: var(--text-white);
}

.text-destaque-alt {
  color: var(--destaque-alt);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-600 {
  max-width: 600px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-1 {
  flex: 1;
}

.self-stretch {
  align-self: stretch;
}

.icon-giant {
  font-size: clamp(5rem, 15vw, 12rem);
  color: var(--destaque);
  opacity: 0.15;
}

.placeholder-box {
  width: 250px;
  height: 250px;
  background: var(--fundo-alt);
  border: 1px solid var(--destaque);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  gap: 30px;
}

.project-card-title {
  color: var(--text-white);
}

.project-card-desc {
  color: #ddd;
}

.grid-cards-sm {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}

/* Print Styles */
@media print {

  /* Ensure all content is visible */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }


  section {
    page-break-inside: avoid !important;
  }

  /* Carousel Print Styles */
  .carousel-container,
  .carousel-track {
    display: block !important;
    width: 100% !important;
    transform: none !important;
    overflow: visible !important;
    height: auto !important;
  }

  .carousel-card {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
    transform: none !important;
    page-break-inside: avoid !important;
    border: 1px solid #ccc !important;
    color: black !important;
    background: transparent !important;
    box-shadow: none !important;
  }


  /*
  body {
    background-color: white !important;
    color: black !important;
    overflow: visible !important;
  }


  h1, h2, h3, h4, h5, h6, p, li, span, a, strong {
    color: black !important;
    text-shadow: none !important;
  }

  header, .mobile-menu-btn, .whatsapp-float, #hex-bg, .hero-cta, .carousel-nav {
    display: none !important;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  section {
    padding: 20px 0 !important;
    page-break-inside: avoid;
  }
  
  .grid-cards, .partners-grid, .sectors-grid {
    display: block !important;
  }
  
  .card, .card-feature, .partner-card, .sector-card {
    border: 1px solid #ccc !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid;
    color: black !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .card-feature::before {
    display: none !important;
  }
  
  a {
    text-decoration: none !important; 
    color: black !important;
  }
    */
}