/* ==========================================================================
   HRQ — Site em HTML5/CSS3 puro. Mobile First. Dark mode + Glassmorphism.
   ========================================================================== */

:root {
  --bg-dark: #004651;
  --accent-emerald: #00a181;
  --action-lime: #a4e473;
  --text-cloud: #f4f4f4;
  --faixa-clientes-bg: #2d5f68;
  --faixa-clientes-bg-center: #356a73;
  --faixa-clientes-text-muted: rgba(244, 244, 244, 0.82);
  --radius: 20px;
  --glass-bg: rgba(0, 70, 81, 0.5);
  --glass-border: rgba(164, 228, 115, 0.25);
  --glass-border-lime-10: rgba(164, 228, 115, 0.1);
  --glass-bg-light: rgba(0, 70, 81, 0.35);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

/* ---- Reset e base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-cloud);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Animação Fade-in Up (ao carregar) ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-inner > * { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
.hero-inner .hero-title       { animation-delay: 0.1s; }
.hero-inner .hero-subtitle    { animation-delay: 0.25s; }
.hero-inner .cta-primary      { animation-delay: 0.4s; }

.section > .container { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
.section.reveal > .container,
.faixa-numeros.reveal .faixa-numeros-inner,
.faixa-clientes.reveal .faixa-clientes-inner,
.cta-final.reveal .cta-final-inner { animation: none; opacity: 0; }
.faixa-numeros-inner,
.faixa-clientes-inner,
#diferenciais .container { animation-delay: 0.05s; }
#como-trabalhamos .container { animation-delay: 0.1s; }
#servicos .container    { animation-delay: 0.1s; }
#cases .container       { animation-delay: 0.1s; }
#segmentos .container   { animation-delay: 0.1s; }
#clientes .faixa-clientes-inner { animation-delay: 0.1s; }
#contato .container     { animation-delay: 0.1s; }
.cta-final-inner        { opacity: 0; animation: fadeInUp 0.6s ease-out 0.1s forwards; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .section > .container,
  .faixa-numeros .faixa-numeros-inner,
  .cta-final-inner { animation: none; opacity: 1; }
  .section.reveal > .container,
  .faixa-numeros.reveal .faixa-numeros-inner,
  .faixa-clientes.reveal .faixa-clientes-inner,
  .cta-final.reveal .cta-final-inner { opacity: 1; }
}

/* ---- Layout containers ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 70, 81, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--action-lime);
  text-decoration: none;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.nav-main a {
  color: var(--text-cloud);
  text-decoration: none;
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--action-lime);
}

.cta-header {
  padding: 0.5rem 1rem;
  background: var(--action-lime);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-header:hover {
  color: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(164, 228, 115, 0.4);
}

/* ---- Reveal no scroll (Intersection Observer) ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.reveal.active > .container,
.reveal.active .faixa-numeros-inner,
.reveal.active .faixa-clientes-inner,
.reveal.active .cta-final-inner {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.active { transform: none; }
}

/* ---- Menu mobile: botão hamburger e painel ---- */
.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--action-lime);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(164, 228, 115, 0.15);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .cta-header { display: none; }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle span {
    display: block;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 4rem var(--space-lg) var(--space-lg);
    background: rgba(0, 70, 81, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 99;
  }

  .site-header.nav-open .nav-main {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-main a {
    padding: var(--space-sm) 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(164, 228, 115, 0.1);
  }

  .nav-main a:last-child {
    border-bottom: none;
  }
}

/* ---- Hero ---- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--bg-dark) url("https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 70, 81, 0.92) 0%, rgba(0, 70, 81, 0.85) 50%, rgba(0, 70, 81, 0.75) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.hero-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-cloud);
}

.hero-title-gradient {
  background: linear-gradient(135deg, #00a181 0%, #a4e473 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.hero-subtitle {
  margin: 0 0 var(--space-lg);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-cloud);
  opacity: 0.95;
}

.cta-primary {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: var(--action-lime);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(164, 228, 115, 0.3);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(164, 228, 115, 0.4);
}

.cta-primary:active {
  transform: translateY(0);
}

/* Ícone WhatsApp antes dos botões de contato e no rodapé */
.wa-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.4em;
  vertical-align: -0.3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004651'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.footer-wa .wa-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f4f4f4'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.footer-wa:hover .wa-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a4e473'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

.cta-with-wa {
  display: inline-flex;
  align-items: center;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(164, 228, 115, 0.3); }
  50%  { box-shadow: 0 4px 24px rgba(164, 228, 115, 0.5); }
}

.cta-pulse {
  animation: cta-pulse 2.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .cta-pulse { animation: none; }
}

/* ---- Faixa números (20 anos, +100 projetos) ---- */
.faixa-numeros {
  padding: var(--space-lg) var(--space-md);
  background: rgba(0, 161, 129, 0.15);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.faixa-numeros-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.faixa-numeros .faixa-numeros-inner {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.05s forwards;
}

.numero-item {
  text-align: center;
}

.numero-valor {
  display: block;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--action-lime);
  line-height: 1.1;
}

.numero-label {
  font-size: 0.95rem;
  color: var(--text-cloud);
  opacity: 0.9;
}

/* ---- Sections comuns ---- */
.section {
  padding: var(--space-xl) 0;
}

.section .container {
  text-align: center;
}

.section-title {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--text-cloud);
}

/* Título com faixa lime (estilo slides: Segmentos, Atuação) */
.section-title-bar {
  display: inline-flex;
  align-items: center;
  text-align: left;
  padding: 0.4rem 1rem;
  background: var(--action-lime);
  color: var(--bg-dark);
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.section-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--text-cloud);
  opacity: 0.9;
  font-size: 1rem;
}

/* ---- Como trabalhamos (timeline vertical) ---- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: calc(1.75rem - 1px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--action-lime), var(--accent-emerald));
  border-radius: 2px;
  opacity: 0.7;
}

.timeline-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-md);
  align-items: start;
  padding-bottom: var(--space-xl);
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.timeline-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 2px solid var(--action-lime);
  border-radius: 50%;
  color: var(--action-lime);
  flex-shrink: 0;
}

.timeline-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.timeline-numero {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--action-lime);
  opacity: 0.9;
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-content {
  border-color: rgba(164, 228, 115, 0.4);
  transform: translateY(-2px);
}

.timeline-titulo {
  margin: 0 0 var(--space-xs);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-cloud);
}

.timeline-texto {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-cloud);
  opacity: 0.9;
  line-height: 1.55;
}

/* Timeline horizontal em telas grandes (alternativa) */
@media (min-width: 900px) {
  .timeline {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 var(--space-sm);
    padding-top: 1.25rem;
  }

  .timeline::before {
    left: 0;
    right: 0;
    top: 2.5rem;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--action-lime), var(--accent-emerald));
  }

  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .timeline-node {
    margin-bottom: var(--space-md);
  }

  .timeline-content {
    text-align: left;
    flex: 1;
    min-height: 0;
  }

  .timeline-item:hover .timeline-content {
    transform: translateY(-4px);
  }
}

/* ---- Tech strip (marquee) ---- */
.tech-strip {
  overflow: hidden;
  padding: var(--space-lg) 0;
  background: rgba(0, 70, 81, 0.6);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.tech-strip-inner {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 3rem;
  padding: 0 1.5rem;
  animation: tech-scroll 35s linear infinite;
}

.tech-strip-inner span {
  color: var(--text-cloud);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.tech-strip-inner .tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  color: #fff;
}

.tech-strip-inner .tech-icon svg,
.tech-strip-inner .tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Ícones da stack em branco */
.tech-strip-inner .tech-icon img {
  filter: brightness(0) invert(1);
}

@keyframes tech-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tech-strip-inner {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---- Cases ---- */
.case-card .card-title {
  font-size: 1.05rem;
}

/* ---- Segmentos (cards estilo slide) ---- */
.segmentos-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.card-segmento {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
}

.card-segmento .card-title {
  margin: var(--space-xs) 0 0;
  font-size: 1rem;
}

.card-segmento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--action-lime);
  opacity: 0.95;
}

.card-segmento-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---- Faixa Clientes (tom mais claro + fade) ---- */
.faixa-clientes {
  position: relative;
  padding: 0;
}

.faixa-clientes-fade {
  height: 64px;
  pointer-events: none;
}

.faixa-clientes-fade-top {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--faixa-clientes-bg) 100%);
}

.faixa-clientes-fade-bottom {
  background: linear-gradient(0deg, var(--bg-dark) 0%, var(--faixa-clientes-bg) 100%);
}

.faixa-clientes-inner {
  width: 100%;
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(90deg, var(--bg-dark) 0%, var(--faixa-clientes-bg) 8%, var(--faixa-clientes-bg-center) 50%, var(--faixa-clientes-bg) 92%, var(--bg-dark) 100%);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 0.1s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faixa-clientes-titulo,
.faixa-clientes-intro,
.faixa-clientes .clientes-logos {
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

.faixa-clientes-titulo {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--text-cloud);
}

.faixa-clientes-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  font-size: 1rem;
  color: var(--faixa-clientes-text-muted);
}

/* Logos na faixa: visíveis em fundo claro (escuros) */
.faixa-clientes .clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

.faixa-clientes .cliente-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  min-height: 48px;
  background: none;
  border: none;
  border-radius: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faixa-clientes .cliente-logo:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.faixa-clientes .cliente-logo img {
  max-height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0);
}

/* Clientes em contexto escuro (se usado noutras páginas) */
.clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

.cliente-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-width: 120px;
  min-height: 64px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.cliente-logo:hover {
  border-color: rgba(164, 228, 115, 0.4);
  transform: translateY(-2px);
}

.cliente-logo img {
  max-height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(1.05);
}

/* ---- CTA final ---- */
.cta-final {
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(180deg, rgba(0, 161, 129, 0.25) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--glass-border);
}

.cta-final-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-final-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-cloud);
}

.cta-final-texto {
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
  color: var(--text-cloud);
  opacity: 0.9;
}

.cta-final-btn {
  display: inline-block;
}

/* ---- Cards (Glassmorphism) ---- */
.cards-grid {
  display: grid;
  gap: var(--space-md);
}

.cards-grid-3 {
  grid-template-columns: 1fr;
}

.cards-grid-4 {
  grid-template-columns: 1fr;
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
  border-color: rgba(164, 228, 115, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 161, 129, 0.15);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
  color: var(--action-lime);
}

.card-title {
  margin: 0 0 var(--space-xs);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-cloud);
}

.card-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-cloud);
  opacity: 0.9;
}

/* ---- Diferenciais ---- */
.diferenciais {
  background: var(--bg-dark);
}

/* ---- Serviços (glassmorphism premium nos cards) ---- */
.servicos {
  background: var(--bg-dark);
}

#servicos .card-glass {
  background: var(--glass-bg-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-lime-10);
}

/* ---- Formulário de contato ---- */
.contato {
  background: var(--bg-dark);
}

.form-contato {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 500;
  color: var(--text-cloud);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0;
  font: inherit;
  font-size: 1rem;
  color: var(--text-cloud);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--accent-emerald);
  border-radius: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(244, 244, 244, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--action-lime);
  box-shadow: 0 2px 0 0 var(--action-lime);
}

.form-contato .cta-primary {
  margin-top: var(--space-xs);
  width: 100%;
  text-align: center;
}

.form-feedback {
  margin: var(--space-sm) 0 0;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.form-feedback[data-state="success"] {
  color: var(--action-lime);
}

.form-feedback[data-state="error"] {
  color: #f0a0a0;
}

.form-contato {
  text-align: left;
}

/* ---- Footer ---- */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  border-top: 1px solid var(--glass-border);
  background: var(--bg-dark);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  color: var(--action-lime);
  font-size: 1.1rem;
}

.footer-contato {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xs) 0;
}

.footer-contato a {
  color: var(--text-cloud);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contato a:hover {
  color: var(--action-lime);
}

.footer-cnpj {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-cloud);
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-cloud);
  opacity: 0.8;
}

/* ==========================================================================
   Responsivo (Tablet e Desktop) — Mobile First
   ========================================================================== */

@media (min-width: 600px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .segmentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .segmentos-grid .card-segmento:last-child {
    grid-column: 2;
  }

  .section {
    padding: var(--space-xl) 0;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-lg);
  }
}
