/* =========================================================
   PRECISA | PROPRIEDADE INTELECTUAL
   Stylesheet único — Otimizado
   ========================================================= */

@font-face {
  font-family: 'Abel';
  src: url('fonts/Abel-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores */
  --color-navy-900: #050d1e;
  --color-navy-800: #0b1a46;
  --color-navy-700: #14285f;
  --color-navy-050: #eef1f7;
  --color-ink: #0d1220;
  --color-body: #3d4250;
  --color-muted: #6b7280;
  --color-line: rgba(11, 26, 70, 0.1);
  --color-line-strong: rgba(11, 26, 70, 0.16);
  --color-bg: #ffffff;
  --color-bg-subtle: #f7f8fb;
  --color-cta: #000000;
  --color-cta-hover: #1a1a1a;
  --color-focus: #4da3ff;

  /* Tipografia */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.1875rem;
  --text-lg: 1.5rem;
  --text-xl: 1.875rem;
  --text-2xl: 2.375rem;
  --text-3xl: 3rem;
  --text-4xl: 3.75rem;

  --font-base: 'Abel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Georgia', 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;

  /* Espaçamento */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Efeitos e Superfícies */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 32, 0.05), 0 1px 1px rgba(13, 20, 32, 0.04);
  --shadow-md: 0 12px 28px -12px rgba(13, 20, 32, 0.16);
  --shadow-lg: 0 30px 60px -20px rgba(5, 13, 30, 0.28);
  --container-max: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------
   RESET & BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  width: 100%;
  font-family: var(--font-base);
  font-size: var(--text-base);
  overflow-x: clip;
  background-color: var(--color-bg);
  color: var(--color-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  color: var(--color-ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

button, input, select, textarea {
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------
   ACESSIBILIDADE & ELEMENTOS GLOBAIS
   --------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 2000;
  background-color: var(--color-navy-800);
  color: #fff;
  padding: 14px 24px;
  font-size: var(--text-sm);
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-navy-800);
  margin-bottom: var(--space-2);
}

.eyebrow--on-dark { color: #fff; }
.eyebrow--on-dark::before { background-color: #fff; }

/* ---------------------------------------------------------
   SPA VIEWS
   --------------------------------------------------------- */
.page {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: opacity, transform;
}

.page.is-active { display: block; }
.page.is-active.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   MENUS DE NAVEGAÇÃO COMPARTILHADOS
   --------------------------------------------------------- */
.nav-menu ul,
.about-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-5);
}

.nav-menu a,
.about-nav a {
  position: relative;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  transition: opacity 0.25s ease;
}

.about-nav a {
  font-size: var(--text-lg);
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.nav-menu a::after,
.about-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:not(.active):hover::after,
.about-nav a:not(.active):hover::after {
  transform: scaleX(1);
}

.nav-menu a:hover,
.about-nav a:hover {
  opacity: 0.85;
}

.nav-menu a.active,
.about-nav a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav-menu a.active::after,
.about-nav a.active::after {
  display: none;
}

/* ===================================================
   SEÇÃO: HERO (HOME)
   =================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  background: radial-gradient(circle at 50% 30%, #0f2651 0%, #0b1c41 60%, #000206 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  flex: 1;
  min-height: 0;
  padding: var(--space-5) var(--space-3);
}

.hero-wave,
.clientes-wave {
  flex-shrink: 0;
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 190px;
  shape-rendering: geometricPrecision;
}

.logo-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  width: min(86vw, 860px);
  max-height: min(46dvh, 400px);
  height: auto;
  object-fit: contain;
}

/* ===================================================
   SEÇÃO: SOBRE NÓS (HOME)
   =================================================== */
.about-section {
  position: relative;
  background-color: var(--color-bg);
  padding: 0 0 var(--space-7) 0;
}

.container-about {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-5) var(--space-3) 0 var(--space-3) ;
}

.about-card {
  background-color: var(--color-navy-800);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.about-content {
  flex: 1;
  max-width: 650px;
}

.about-content h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.about-content p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: var(--space-4);
  font-weight: 300;
}

.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: var(--color-cta);
  color: #ffffff;
  text-align: center;
  padding: 14px 28px;
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-saiba-mais::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn-saiba-mais:hover::after { transform: translateX(4px); }
.btn-saiba-mais:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.45);
}

.about-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 30%;
  min-width: 200px;
}

.about-badge img {
  width: min(100%, 240px);
  height: auto;
  object-fit: contain;
}

/* ===================================================
   SEÇÃO: NOSSO TIME
   =================================================== */
.team-divider {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-divider::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #0b1a46 25%, #0b1a46 75%, transparent 100%);
}

.team-divider::after {
  content: '';
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  background-color: #0b1a46;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(11, 26, 70, 0.4);
}

.team-section {
  background-color: #f7f9fc;
  padding: var(--space-6) var(--space-3) var(--space-8) var(--space-3);
}

.container-team {
  max-width: 1100px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.team-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.team-header h2::after,
.services__title::after,
.clientes-section h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: var(--space-2) auto 0 auto;
  background-color: var(--color-navy-800);
  border-radius: 2px;
}

.team-header p,
.services__subtitle {
  font-size: var(--text-md);
  color: var(--color-muted);
  font-weight: 400;
}

.team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 380px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-2) var(--space-3) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.team-card::before,
.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-navy-800);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.team-card:hover::before,
.services__card:hover::before {
  transform: scaleX(1);
}

.team-card:hover,
.services__card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-line-strong);
}

.team-card:hover { transform: translateY(-6px); }
.services__card:hover { transform: translateY(-8px); }

.team-card.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s var(--ease), transform 0.48s var(--ease);
}

.team-card.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.team-img-wrapper {
  width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s var(--ease);
}

.team-card:hover .team-img-wrapper img { transform: scale(1.05); }

.team-card h3 {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-card span {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0b1a46;
  background-color: #e8eef8;
  padding: 6px 18px;
  border-radius: 999px;
  margin-top: 4px;
}

/* ===================================================
   PÁGINA: QUEM SOMOS
   =================================================== */
.about-hero {
  position: relative;
  width: 100%;
  height: 75vh;
  height: 75dvh;
  min-height: 560px;
  background: linear-gradient(rgba(5, 10, 25, 0.15), rgba(5, 10, 25, 0.25)),
              url('../img/vitoria.webp') center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 84%, 62% 78%, 32% 100%, 0 68%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 84%, 62% 78%, 32% 100%, 0 68%);
  transform: translateZ(0);
  will-change: clip-path, transform;
}

.about-header-container,
.clientes-header-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 var(--space-4);
}

.logo-badge {
  width: 600px;
  max-width: 46vw;
  background-color: #07194b;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.logo-badge img {
  height: 120px;
  width: auto;
}

.about-nav {
  padding-top: var(--space-4);
  align-self: center;
}

.qs-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.qs-intro-section {
  padding: var(--space-6) 0 var(--space-7) 0;
  background-color: var(--color-bg);
}

.qs-intro-section .qs-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
}

.qs-intro-text { width: 70%; }

.qs-intro-text h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-2);
}

.qs-intro-text h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 256px;
  height: 3px;
  background-color: var(--color-navy-800);
  border-radius: 2px;
}

.qs-intro-text p {
  font-size: var(--text-sm);
  line-height: 1.8;
  max-width: 62ch;
}

.qs-intro-img {
  width: 450px;
  max-width: 100%;
  aspect-ratio: 450 / 320;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qs-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qs-pillars-section {
  padding: var(--space-5) 0 var(--space-7) 0;
  background-color: var(--color-bg);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pillar-column {
  padding: 0 var(--space-4);
  border-left: 1px solid var(--color-line);
}

.pillar-column:first-child {
  border-left: none;
  padding-left: 0;
}

.pillar-column:last-child { padding-right: 0; }

.pillar-column h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.pillar-column p {
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* Diferenciais */
.pilares-section {
  background-color: var(--color-navy-800);
  color: #ffffff;
  padding: var(--space-6) var(--space-3);
}

.container-pilares {
  list-style: none;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.pilar-card {
  padding: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.pilar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.04);
}

.pilar-card i {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  display: block;
}

.pilar-card h4 {
  color: #ffffff;
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.pilar-card p {
  font-size: var(--text-sm);
  color: #c5cbdb;
  line-height: 1.6;
}

/* ===================================================
   SEÇÃO: ÁREAS DE ATUAÇÃO
   =================================================== */
.section--services {
  background-color: var(--color-bg);
  padding: var(--space-7) var(--space-3) var(--space-8) var(--space-3);
  overflow: hidden;
}

.services__intro {
  max-width: var(--container-max);
  margin: 0 auto var(--space-6) auto;
  text-align: center;
}

.services__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.services__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  list-style: none;
}

.services__card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.services__card img {
  height: 68px;
  max-width: 80px;
  object-fit: contain;
  margin-bottom: var(--space-3);
  transition: transform 0.3s var(--ease);
}

.services__card:hover img { transform: scale(1.06); }

.services__name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.services__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 320px;
}

/* ===================================================
   PÁGINA: CLIENTES
   =================================================== */
.clientes-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  height: 60dvh;
  min-height: 400px;
  background: linear-gradient(rgba(5, 10, 25, 0.10), rgba(5, 10, 25, 0.1)),
              url('../img/hero intelectual.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clientes-wave svg {
  display: block;
  width: 100%;
  height: 130px;
  shape-rendering: geometricPrecision;
}

.clientes-section {
  background-color: var(--color-bg);
  padding: var(--space-4) 0 var(--space-7) 0;
}

.container-clientes {
  max-width: 1250px;
  margin: 0 auto;
  text-align: center;
}

.clientes-section h1,
.clientes-section h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  position: relative;
}

.clientes-section h1 {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
}

.clientes-section h2 {
  margin-top: var(--space-5);
  padding: var(--space-3) 0;
}

.clientes-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: var(--color-navy-800);
  border-radius: 2px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  list-style: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 1;
  transform: translateY(0);
}

.clientes-grid.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.cliente-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  padding: var(--space-3);
  overflow: hidden;
}

.cliente-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cliente-card:hover img { transform: scale(1.05); }

/* ===================================================
   FOOTER (RODAPÉ)
   =================================================== */
.site-footer {
  background-color: #0b193e;
  color: #ffffff;
  padding: var(--space-5) var(--space-5) var(--space-3) var(--space-5);
  width: 100%;
  margin-top: -1px;
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: var(--space-3);
}

.footer-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-contact {
  align-items: flex-start;
  gap: var(--space-2);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.contact-item i {
  font-size: var(--text-lg);
  color: #ffffff;
  width: 32px;
  text-align: center;
}

.footer-address i {
  font-size: var(--text-lg); /* Mesmo tamanho dos outros dois */
  color: #ffffff;
  display: inline-block;
}

.contact-numbers {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-item a {
  text-decoration: none;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  transition: opacity 0.2s var(--ease);
}

.contact-item a:hover { opacity: 0.8; }

.footer-logo {
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
}

.footer-address {
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}

.footer-address p {
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 100%;
}

.footer-address .addr-line {
  display: block; /* Garante exatamente 2 linhas no PC e no celular */
  white-space: nowrap; /* Impede o travessão ou números de quebrarem sozinhos */
}

.footer-bottom {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright {
  grid-column: 2;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  text-align: center;
}

.social-links {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: var(--space-1);
}

.social-links a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-size: var(--text-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-links a:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
  color: var(--color-navy-800);
}

/* ===================================================
   BOTÃO FLUTUANTE — WHATSAPP
   =================================================== */
.whatsapp-float {
  display: none;
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-navy-800);
  color: #ffffff;
  border: 2px solid #ffffff;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  animation: whatsapp-pulse 2.6s ease-out infinite;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  background-color: var(--color-navy-700);
  transform: scale(1.05);
}

.whatsapp-float i { pointer-events: none; }

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 26, 70, 0.55), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 16px rgba(11, 26, 70, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(11, 26, 70, 0), var(--shadow-lg); }
}

/* =========================================================
   RESPONSIVIDADE (Cascata Decrescente Unificada)
   ========================================================= */

@media (max-width: 1090px) {

  .hero-section { 
    height: 55vh; 
  }

  .about-header-container,
  .clientes-header-container {
    flex-direction: column; 
    align-items: center;    
    gap: var(--space-3);
    padding: 0 var(--space-3) 0 var(--space-3);
    text-align: center;
  }

  .team-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .services__grid,
  .container-pilares { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid { grid-template-columns: repeat(3, 1fr); }
  .cliente-card { height: 160px; }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .pillar-column {
    border-left: none;
    padding: 0;
    border-top: 1px solid var(--color-line);
    padding-top: var(--space-4);
  }

  .pillar-column:first-child {
    border-top: none;
    padding-top: 0;
  }

  .qs-intro-section .qs-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .qs-intro-text h1::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .qs-intro-text { width: 100%; }
  .qs-intro-img { width: 280px; }
  .qs-intro-text p { max-width: 100%; }
  .logo-badge { max-width: 60vw; }

  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: var(--space-2);
  }
}

@media (max-width: 980px) {
  .about-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4);
  }

  .about-badge {
    order: -1;
    flex-basis: auto;
    min-width: 0;
    max-width: 200px;
  }

  .btn-saiba-mais {
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--space-4);
  }

  .footer-logo { order: -1; }
  .footer-contact,
  .footer-contact .contact-numbers {
    align-items: flex-start;
    text-align: left;
  }

  .footer-contact .contact-item { justify-content: flex-start; }
  .footer-address { justify-self: center; }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--space-2);
  }

  .copyright {
    grid-column: 1;
    justify-self: center;
    order: 2;
  }

  .social-links {
    grid-column: 1;
    justify-self: center;
    order: 1;
    margin-bottom: var(--space-1);
  }
.team-grid,
  .services__grid,
  .container-pilares {
    grid-template-columns: 1fr;
  }

  .about-hero,
  .clientes-hero {
    height: 70vh;
    min-height: 0;
  }

}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2.75rem;
    --text-3xl: 2.375rem;
    --text-2xl: 1.875rem;
    --text-xl: 1.5rem;
  }

  .hero-section { 
    min-height: auto;
    height: 40vh; 
  }

  .hero-content {
    padding: var(--space-4) var(--space-2);
    gap: var(--space-3);
  }

  .hero-wave svg,
  .clientes-wave svg {
    height: 130px;
  }

  .nav-menu ul {
    gap: var(--space-2);
  }

  .nav-menu a,
  .about-nav a {
    display: inline-block;
    padding: 10px 6px;
  }

  .nav-menu a { font-size: var(--text-md); }

  .nav-menu li:has([data-whatsapp-link]),
  .about-nav li:has([data-whatsapp-link]) {
    display: none;
  }

  .whatsapp-float { display: flex; }

  .about-hero {
    height: 55vh;
    min-height: 0;
  }

  .clientes-hero {
    height: 35vh; 
  }

  .hero-wave {
    display: none !important; /* Esconde a onda no mobile */
  }

  .about-hero { padding-bottom: var(--space-6); }
  .clientes-hero { padding-bottom: 0; }

  .logo-badge {
    width: auto;
    max-width: 90vw;
    padding: var(--space-2) var(--space-3);
  }

  .logo-badge img { height: 76px; }

  .about-nav,
  .about-nav ul {
    padding-top: 0;
  }

  .about-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-3);
  }

  .qs-intro-img {
    width: 220px;
    height: 220px;
  }

  .qs-intro-img img { height: 100%; }

  .about-badge { max-width: 180px; }
  .about-badge img { width: min(100%, 180px); }
  .btn-saiba-mais { max-width: 100%; }

  .services__grid,
  .container-pilares {
    grid-template-columns: 1fr;
  }

  .team-card { max-width: 400px; }
  .clientes-grid { grid-template-columns: repeat(2, 1fr); }
  .cliente-card { height: 130px; }
  .clientes-section h2 { margin-top: var(--space-3); }
}

@media (max-width: 480px) {
  .about-hero {
    height: 45vh; 
  }

  .clientes-section h1 {
    margin-bottom: var(--space-4);
  }

  .logo-box img {
    max-width: 92%;
    max-height: 42dvh;
  }

  .logo-badge img { height: 60px; }
  .hero-wave svg,
  .clientes-wave svg { height: 90px; }

  .team-divider {
    max-width: 260px;
    height: 20px;
  }

  .team-divider::after {
    width: 11px;
    height: 11px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    right: max(var(--space-2), env(safe-area-inset-right));
    bottom: max(var(--space-2), env(safe-area-inset-bottom));
  }

  .team-img-wrapper { height: 380px; }

  .about-content h2,
  .team-header h2,
  .qs-intro-text h1,
  .services__title,
  .clientes-section h1 {
    font-size: var(--text-xl);
  }

  .clientes-grid {
    gap: 20px 12px;
    padding: 0 var(--space-2);
  }

  .cliente-card { 
    height: 130px; 
    padding: var(--space-1);	
  }
  .social-links { gap: var(--space-3); }
}

@media (max-width: 400px) {
  .footer-address p {
    font-size: 0.8125rem; /* Ajuste milimétrico para caber 100% liso em 360px-380px */
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-content { padding: var(--space-3); }
  .logo-box img { max-height: 30dvh; }
  .hero-wave svg { height: 70px; }

  .about-hero,
  .clientes-hero {
    height:auto;
    min-height: 0;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
}