/* ====================================================
   ZAZO — style.css  |  Versão definitiva
   Auditado para zero overflow horizontal em mobile
   Paleta: navy · ciano · magenta · amarelo · laranja
   Font: Montserrat + Inter  |  Mobile-first
   ==================================================== */

/* ══════════════════════════════════════════
   1. TOKENS
══════════════════════════════════════════ */
:root {
  --navy: #0d2040;
  --navy-2: #162d58;
  --cyan: #00b8d9;
  --magenta: #9b1f7a;
  --yellow: #f2c200;
  --orange: #f47920;
  --green-wa: #25d366;

  --white: #ffffff;
  --off: #f8fafc;
  --g100: #eef2f7;
  --g200: #dde3ec;
  --g400: #94a3b8;
  --g600: #475569;
  --g900: #0f172a;

  --fd: "Montserrat", sans-serif;
  --fb: "Inter", sans-serif;

  --hdr-h: 64px;

  --max: 1220px;
  --pad: clamp(
    1rem,
    5vw,
    2rem
  ); /* reduzido de 2.5rem para evitar ch overflow */

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-f: 9999px;

  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --sh-md: 0 6px 24px rgba(0, 0, 0, 0.09);
  --sh-lg: 0 12px 48px rgba(0, 0, 0, 0.13);
  --sh-xl: 0 24px 64px rgba(0, 0, 0, 0.17);

  --ti: 150ms ease;
  --tb: 270ms ease;
  --ts: 460ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════════════
   2. RESET  — proteção global contra overflow
══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* overflow-x: hidden no html garante que o browser
     nunca expanda a viewport por causa de elementos internos */
  overflow-x: hidden;
  /* max-width: 100% limita o html ao tamanho real da viewport */
  max-width: 100%;
}

body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--g600);
  background: var(--white);
  /* Dupla proteção: html + body */
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Regra universal: nenhum elemento estrutural ultrapassa 100% da largura */
*:not(script):not(style) {
  max-width: 100%;
}

/* Imagens sempre responsivas */
img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Links e texto longo não causam overflow horizontal */
a,
p,
span,
li,
td,
th,
label,
button,
input,
textarea {
  overflow-wrap: break-word;
  word-break: break-word;
  /* NÃO definir max-width aqui — deixar para o contexto */
}

a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   3. LAYOUT — .container é a única fonte de padding lateral
══════════════════════════════════════════ */
.container {
  /* width: 100% garante que o container nunca seja mais largo
     do que seu pai — fundamental para evitar overflow */
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ══════════════════════════════════════════
   4. TIPOGRAFIA
   Usando clamp() — o valor máximo é sempre relativo
   ao viewport, nunca a um valor absoluto fixo
══════════════════════════════════════════ */
h1 {
  font-family: var(--fd);
  /* clamp: mínimo seguro para mobile, máximo para desktop */
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  /* Garante quebra de palavra em títulos muito longos */
  word-break: break-word;
  overflow-wrap: break-word;
}
h2 {
  font-family: var(--fd);
  font-size: clamp(1.65rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-top: 0.4rem;
  word-break: break-word;
}
h3 {
  font-family: var(--fd);
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  word-break: break-word;
}
p {
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   5. COMPONENTES COMUNS
══════════════════════════════════════════ */

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--fd);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  /* inline-flex pode ultrapassar container — limitar */
  max-width: 100%;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cyan);
  border-radius: var(--r-f);
  flex-shrink: 0;
}
.eyebrow-navy {
  color: var(--navy);
}
.eyebrow-navy::before {
  background: var(--navy);
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.65);
}
.eyebrow-light::before {
  background: rgba(255, 255, 255, 0.45);
}

/* Cabeçalho de seção */
.sec-hdr {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.sec-hdr p {
  margin-top: 0.65rem;
  color: var(--g400);
  font-size: 1rem;
  /* max-width em ch pode ultrapassar o container em fontes largas.
     min() garante que nunca ultrapasse 100% do pai */
  max-width: min(54ch, 100%);
  margin-inline: auto;
}

/* Scroll reveal
   CRÍTICO: NUNCA usar translateX em estados iniciais.
   translateX(Xpx) desloca horizontalmente → browser android
   computa como overflow → ignora viewport meta → page zooms out.
   Usar apenas translateY (vertical) em ambas as classes. */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0s),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0s);
}
.rv-right {
  opacity: 0;
  /* ← era translateX(28px) — CAUSA DE OVERFLOW */
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0s),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0s);
}
.rv.on,
.rv-right.on {
  opacity: 1;
  transform: translateY(0);
}

/* Botões */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-f);
  transition: transform var(--ti), box-shadow var(--tb), background var(--ti);
  white-space: nowrap;
  cursor: pointer;
  /* Botão não pode ser mais largo que o seu container */
  max-width: 100%;
}
.btn-main:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 32, 64, 0.3);
}
.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 0.7rem 1.35rem;
  border-radius: var(--r-f);
  transition: color var(--ti), border-color var(--ti), background var(--ti),
    transform var(--ti);
  max-width: 100%;
}
.btn-sec:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

/* Destaque de cor */
.txt-cyan {
  color: var(--cyan);
}
.txt-magenta {
  color: var(--magenta);
}
.txt-yellow {
  color: var(--yellow);
}
.txt-orange {
  color: var(--orange);
}
em {
  font-style: normal;
  color: var(--cyan);
}
strong {
  color: var(--navy);
  font-weight: 700;
}

/* ══════════════════════════════════════════
   6. HEADER
══════════════════════════════════════════ */
.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  /* Logo não pode vazar além do header */
  max-width: 70%;
}
.logo-img {
  max-width: 140px;
  height: auto;
  width: auto;
  transition: height 270ms ease;
}

.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--hdr-h);
  background: var(--white);
  border-bottom: 1px solid var(--g200);
  transition: box-shadow var(--tb), height var(--tb), margin var(--tb),
    border-radius var(--tb);
  /* Garante que o header nunca seja mais largo que a viewport */
  max-width: 100% !important;
  overflow: hidden;
}
.hdr.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1);
  height: 58px;
}

/* CORREÇÃO CRÍTICA: .hdr-row tem class="container hdr-row" no HTML.
   O padding-inline vem do .container — NÃO repetir aqui.
   Repetir causa padding duplo, reduzindo área útil e criando
   assimetria visual entre esquerda e direita. */
.hdr-row {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0.75rem;
  /* REMOVIDO: padding-inline: var(--pad) ← estava duplicando o padding do .container */
}

/* Nav desktop (oculta em mobile) */
.nav-desk {
  display: none;
  flex: 1;
  min-width: 0; /* flex child */
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.nd-link {
  font-family: var(--fd);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g600);
  transition: color var(--ti);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nd-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: var(--r-f);
  transition: width var(--tb);
}
.nd-link:hover,
.nd-link.active {
  color: var(--navy);
}
.nd-link:hover::after,
.nd-link.active::after {
  width: 100%;
}

/* CTA do header (oculto em mobile) */
.hdr-cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.78rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--r-f);
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background var(--ti), transform var(--ti);
}
.hdr-cta:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

/* Hamburger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 902;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: var(--r-f);
  transition: transform var(--tb), opacity var(--ti), width var(--tb);
  transform-origin: center;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile — SEM transform: translateX
   Qualquer translateX em position:fixed pode fazer o browser
   android calcular conteúdo fora da viewport e ignorar o
   viewport meta tag, causando zoom-out automático.
   Solução: apenas opacity + visibility (sem deslocamento horizontal). */
.mob-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  z-index: 901;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Transição apenas em opacity e visibility — sem transform */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mob-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mob-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.mm-link {
  font-family: var(--fd);
  font-size: clamp(1.2rem, 6vw, 1.6rem);
  font-weight: 800;
  color: var(--navy);
  transition: color var(--ti);
}
.mm-link:hover {
  color: var(--cyan);
}
.mm-cta {
  display: inline-block;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: var(--r-f);
  margin-top: 0.5rem;
  transition: background var(--ti);
}
.mm-cta:hover {
  background: var(--navy-2);
}

/* ══════════════════════════════════════════
   7. HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--hdr-h);
  /* overflow: hidden contém todos os decorativos absolutos */
  overflow: hidden;
}

/* Ribbons decorativos — dupla proteção: overflow:hidden no pai
   + clip-path no container dos ribbons */
.hero-ribbons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0); /* garante clipping real em todo browser */
}
.ribbon {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  /* Ribbons são puramente decorativos — não podem causar overflow */
  pointer-events: none;
}
/* Tamanhos reduzidos para nunca exceder a viewport em mobile */
.ribbon-cyan {
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  background: var(--cyan);
  top: -150px;
  right: -80px;
}
.ribbon-magenta {
  width: min(300px, 60vw);
  height: min(300px, 60vw);
  background: var(--magenta);
  bottom: 5%;
  left: -80px;
  opacity: 0.1;
}
.ribbon-yellow {
  width: min(240px, 50vw);
  height: min(240px, 50vw);
  background: var(--yellow);
  bottom: 20%;
  right: 5%;
  opacity: 0.08;
}
.ribbon-orange {
  width: min(180px, 40vw);
  height: min(180px, 40vw);
  background: var(--orange);
  top: 40%;
  left: 20%;
  opacity: 0.07;
}

/* Grade sutil */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* hero-inner tem class="container hero-inner" no HTML.
   padding-inline vem do .container. Aqui apenas layout. */
.hero-inner {
  flex: 1;
  min-width: 0; /* flex child — crítico */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding-block: 2.5rem 2rem;
}

/* .hero-text é flex child em coluna — deve ter min-width:0
   e não pode ultrapassar o pai */
.hero-text {
  min-width: 0;
  max-width: 100%;
  /* Não definir width explícito — flex-direction:column já estica */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 184, 217, 0.1);
  border: 1px solid rgba(0, 184, 217, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-f);
  padding: 0.28rem 0.85rem;
  margin-bottom: 0.85rem;
  /* fit-content mas nunca maior que o container */
  max-width: 100%;
  animation: fdUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: var(--r-f);
  animation: blinkDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.62);
  /* min() garante que o max-width nunca ultrapasse 100% do pai,
     independente do valor em ch */
  max-width: min(48ch, 100%);
  line-height: 1.75;
  animation: fdUp 0.9s ease 0.15s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  animation: fdUp 0.9s ease 0.28s both;
  /* flex container — children precisam de flex-shrink por padrão */
  min-width: 0;
}

/* Cards flutuantes — ocultos em mobile */
.hero-panel {
  display: none;
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* Todos os elementos internos do hero-panel */
.hp-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  color: var(--white);
  min-width: 0;
}
.hp-card-main {
  margin-bottom: 1rem;
}
.hp-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  min-width: 0;
}
.hp-avatar {
  width: 38px;
  height: 38px;
  background: rgba(0, 184, 217, 0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.hp-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 0;
}
.hp-name {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 0;
}
.hp-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--r-f);
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.hp-live span {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: blinkDot 1.4s ease-in-out infinite;
}
.hp-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  min-width: 0;
}
.hp-progress-label strong {
  color: var(--cyan);
}
.hp-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-f);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.hp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #3dd5ed);
  border-radius: var(--r-f);
}
.hp-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.hp-dot-green {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blinkDot 1.5s ease-in-out infinite;
}
.hp-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.hp-stat {
  padding: 0.85rem 0.65rem;
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}
.hp-stat-cyan {
  background: rgba(0, 184, 217, 0.12);
}
.hp-stat-magenta {
  background: rgba(155, 31, 122, 0.12);
}
.hp-stat-yellow {
  background: rgba(242, 194, 0, 0.1);
}
.hp-stat-num {
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1;
}
.hp-stat-cap {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.2rem;
}
.hp-stat-cyan .hp-stat-num {
  color: var(--cyan);
}
.hp-stat-magenta .hp-stat-num {
  color: #c96ab8;
}
.hp-stat-yellow .hp-stat-num {
  color: var(--yellow);
}
.hp-tag-result {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--r-f);
  padding: 0.4rem 0.9rem;
  max-width: 100%;
}

/* Stats bar — class="container statsbar-inner" no HTML
   padding-inline vem do .container — não repetir aqui */
.hero-statsbar {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
}
.statsbar-inner {
  /* Mobile: grid 2x2 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 0.5rem;
  justify-items: center;
  align-items: start;
  /* SEM padding-inline próprio — padding já vem do .container no HTML */
}
.sbar-sep {
  display: none;
}
.sbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}
.sbar-num {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 5vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.sbar-suf {
  font-family: var(--fd);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--cyan);
}
.sbar-label {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ══════════════════════════════════════════
   8. SOBRE
══════════════════════════════════════════ */
.sobre {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--white);
  overflow: hidden; /* contém decorativos absolutos */
}

/* class="container sobre-grid" no HTML
   Mobile: flex column | Desktop: grid 2 cols */
.sobre-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Mobile: texto (order 1) antes de visual (order 2) */
.sobre-content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* CRÍTICO em flex */
  max-width: 100%;
}
.sobre-visual {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* CRÍTICO em flex */
  max-width: 100%;
}
.sobre-content > p {
  color: var(--g600);
}

/* Imagem */
.sobre-logo-box {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--off);
  border: 1.5px solid var(--g200);
  /* overflow:hidden garante que filhos absolutos não vazem */
}
.sobre-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
}
/* Ribbons contidos dentro de sobre-logo-box (já tem overflow:hidden) */
.slb-ribbons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 2;
}
.slb-r {
  position: absolute;
  border-radius: var(--r-f);
  transform: rotate(-35deg);
  opacity: 0.12;
}
.slb-r1 {
  width: 120px;
  height: 18px;
  background: var(--cyan);
  top: -8px;
  right: -20px;
}
.slb-r2 {
  width: 100px;
  height: 14px;
  background: var(--magenta);
  bottom: 8px;
  left: -12px;
}
.slb-r3 {
  width: 80px;
  height: 12px;
  background: var(--yellow);
  bottom: 25px;
  right: -8px;
}

/* Fallbacks */
.sobre-logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  z-index: 1;
}
.slf-zazo {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}
.slf-exc {
  color: var(--cyan);
}
.slf-sub {
  font-family: var(--fd);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--navy);
}

/* Diferenciais */
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.dif-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: transform var(--tb), box-shadow var(--tb);
  min-width: 0; /* grid child */
}
.dif-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.dif-tile strong {
  font-family: var(--fd);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
}
.dif-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dif-tile-cyan {
  background: rgba(0, 184, 217, 0.07);
  border-color: rgba(0, 184, 217, 0.18);
}
.dif-tile-magenta {
  background: rgba(155, 31, 122, 0.07);
  border-color: rgba(155, 31, 122, 0.18);
}
.dif-tile-yellow {
  background: rgba(242, 194, 0, 0.08);
  border-color: rgba(242, 194, 0, 0.22);
}
.dif-tile-orange {
  background: rgba(244, 121, 32, 0.07);
  border-color: rgba(244, 121, 32, 0.18);
}
.dif-tile-cyan .dif-icon {
  background: rgba(0, 184, 217, 0.15);
  color: var(--cyan);
}
.dif-tile-magenta .dif-icon {
  background: rgba(155, 31, 122, 0.15);
  color: var(--magenta);
}
.dif-tile-yellow .dif-icon {
  background: rgba(242, 194, 0, 0.15);
  color: #c49e00;
}
.dif-tile-orange .dif-icon {
  background: rgba(244, 121, 32, 0.15);
  color: var(--orange);
}
.dif-tile-cyan strong {
  color: #006d82;
  font-size: 10px;
}
.dif-tile-magenta strong {
  color: var(--magenta);
  font-size: 10px;
}
.dif-tile-yellow strong {
  color: #7d6700;
  font-size: 10px;
}
.dif-tile-orange strong {
  color: #b85300;
  font-size: 10px;
}

/* Feature items */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-block: 0.25rem;
}
.feat-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem;
  background: var(--off);
  border-radius: var(--r-md);
  border-left: 3px solid;
  transition: box-shadow var(--tb), transform var(--tb);
  min-width: 0;
}
.feat-item:hover {
  box-shadow: var(--sh-md);
  transform: translateX(3px);
}
.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fi-cyan {
  background: rgba(0, 184, 217, 0.12);
  color: var(--cyan);
}
.fi-magenta {
  background: rgba(155, 31, 122, 0.1);
  color: var(--magenta);
}
.feat-item:nth-child(1) {
  border-color: var(--cyan);
}
.feat-item:nth-child(2) {
  border-color: var(--magenta);
}
.feat-item > div {
  min-width: 0;
  flex: 1;
}
.feat-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.12rem;
}
.feat-item p {
  font-size: 0.83rem;
  color: var(--g400);
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════════════
   9. SERVIÇOS (timeline)
══════════════════════════════════════════ */
.servicos {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--off);
}

.srv-tl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
}

.stl-card {
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--ts), box-shadow var(--ts), border-color var(--tb);
  position: relative;
  /* grid child */
  min-width: 0;
  max-width: 100%;
}
.stl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(0, 184, 217, 0.2);
}
.stl-num {
  font-family: var(--fd);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.stl-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}
.stl-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
  min-width: 0;
}
.stl-card p {
  font-size: 0.84rem;
  color: var(--g400);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.stl-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-f);
  align-self: flex-start;
  margin-top: 0.2rem;
  max-width: 100%;
}

/* ══════════════════════════════════════════
   10. PROCESSO
══════════════════════════════════════════ */
.processo {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--white);
}
.proc-wrap {
  position: relative;
}
.proc-line {
  display: none;
  position: absolute;
  left: 26px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--cyan),
    var(--magenta),
    var(--yellow),
    var(--orange)
  );
  border-radius: var(--r-f);
}
.proc-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pstep {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  min-width: 0;
}
.pstep-num {
  width: 52px;
  height: 52px;
  border-radius: var(--r-f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0; /* NUNCA encolhe — tamanho fixo intencional */
  box-shadow: var(--sh-md);
}
.pstep-num-cyan {
  background: var(--cyan);
}
.pstep-num-magenta {
  background: var(--magenta);
}
.pstep-num-yellow {
  background: var(--yellow);
  color: #5a4700;
}
.pstep-num-orange {
  background: var(--orange);
}
.pstep-card {
  flex: 1;
  /* CRÍTICO: flex:1 sem min-width:0 pode forçar o elemento
     a ser tão largo quanto o conteúdo, causando overflow */
  min-width: 0;
  background: var(--off);
  border: 1.5px solid var(--g200);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  transition: box-shadow var(--tb), border-color var(--tb);
}
.pstep-card:hover {
  box-shadow: var(--sh-lg);
}
.pstep:nth-child(1) .pstep-card:hover {
  border-color: rgba(0, 184, 217, 0.3);
}
.pstep:nth-child(2) .pstep-card:hover {
  border-color: rgba(155, 31, 122, 0.25);
}
.pstep:nth-child(3) .pstep-card:hover {
  border-color: rgba(242, 194, 0, 0.3);
}
.pstep:nth-child(4) .pstep-card:hover {
  border-color: rgba(244, 121, 32, 0.3);
}
.pstep-tag {
  display: inline-block;
  padding: 0.16rem 0.6rem;
  border-radius: var(--r-f);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  max-width: 100%;
}
.pstep:nth-child(1) .pstep-tag {
  background: rgba(0, 184, 217, 0.1);
  color: #006d82;
  border: 1px solid rgba(0, 184, 217, 0.2);
}
.pstep:nth-child(2) .pstep-tag {
  background: rgba(155, 31, 122, 0.1);
  color: var(--magenta);
  border: 1px solid rgba(155, 31, 122, 0.2);
}
.pstep:nth-child(3) .pstep-tag {
  background: rgba(242, 194, 0, 0.12);
  color: #7d6700;
  border: 1px solid rgba(242, 194, 0, 0.25);
}
.pstep:nth-child(4) .pstep-tag {
  background: rgba(244, 121, 32, 0.1);
  color: #b85300;
  border: 1px solid rgba(244, 121, 32, 0.2);
}
.pstep-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  min-width: 0;
}
.pstep-card p {
  font-size: 0.85rem;
  color: var(--g400);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  min-width: 0;
}
.pstep-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pstep-flags span {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--g600);
  background: var(--g100);
  border-radius: var(--r-sm);
  padding: 0.18rem 0.55rem;
}

/* ══════════════════════════════════════════
   11. PORTFÓLIO
══════════════════════════════════════════ */
.portfolio {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--off);
}
.port-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.port-item {
  border-radius: var(--r-lg);
  overflow: hidden; /* clips hover overlay */
  background: var(--white);
  border: 1.5px solid var(--g200);
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  transition: transform var(--ts), box-shadow var(--ts);
  min-width: 0; /* grid child */
  max-width: 100%;
}
.port-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.port-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1203 / 1500;
  overflow: hidden;
  background-color: var(--ph, var(--navy));
  flex-shrink: 0;
}
.port-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s ease;
}
.port-item:hover .port-img-wrap img {
  transform: scale(1.04);
}
.port-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 32, 64, 0.88) 0%,
    rgba(13, 32, 64, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--tb);
}
.port-item:hover .port-hover {
  opacity: 1;
}
.port-badge {
  font-family: var(--fd);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--cyan);
  padding: 0.18rem 0.65rem;
  border-radius: var(--r-f);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.port-loc {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.port-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.85rem 0.75rem;
  background: var(--white);
  flex: 1;
  min-width: 0;
}
.port-cat {
  font-family: var(--fd);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.port-desc {
  font-size: 0.8rem;
  color: var(--g600);
}

/* CTA Instagram */
.port-cta {
  cursor: pointer;
  border: none;
  min-width: 0;
  max-width: 100%;
}
.port-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  aspect-ratio: 1203 / 1500;
  width: 100%;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  /* overflow:hidden contém os ribbons decorativos */
  overflow: hidden;
  transition: opacity var(--tb);
}
.port-cta-inner:hover {
  opacity: 0.9;
}
/* Ribbons do CTA — contidos pelo overflow:hidden do pai */
.pcta-r {
  position: absolute;
  border-radius: var(--r-f);
  transform: rotate(-40deg);
  pointer-events: none;
}
.pcta-r1 {
  width: 140px;
  height: 16px;
  background: var(--cyan);
  opacity: 0.14;
  top: -6px;
  right: -15px;
}
.pcta-r2 {
  width: 110px;
  height: 13px;
  background: var(--magenta);
  opacity: 0.1;
  bottom: 8px;
  left: -8px;
}
.pcta-r3 {
  width: 80px;
  height: 11px;
  background: var(--yellow);
  opacity: 0.1;
  bottom: 28px;
  right: 15px;
}
.pcta-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 184, 217, 0.15);
  border: 1.5px solid rgba(0, 184, 217, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.port-cta-inner strong {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
  min-width: 0;
}
.port-cta-inner > span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}
.pcta-btn {
  margin-top: 0.4rem;
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--fd);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.5rem 1.35rem;
  border-radius: var(--r-f);
  position: relative;
  z-index: 1;
  transition: background var(--ti), transform var(--ti);
}
.port-cta-inner:hover .pcta-btn {
  background: #00d4f5;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   12. CTA FINAL
══════════════════════════════════════════ */
.cta-sec {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--navy);
  position: relative;
  overflow: hidden; /* contém ribbons decorativos */
}
/* Ribbons — clip-path reforça o overflow:hidden do pai */
.cta-ribbons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0);
}
.ctar {
  position: absolute;
  border-radius: 999px;
  transform: rotate(-30deg);
  filter: blur(2px);
  opacity: 0.15;
}
.ctar-1 {
  width: min(300px, 70vw);
  height: 40px;
  background: var(--cyan);
  top: -15px;
  right: 5%;
}
.ctar-2 {
  width: min(250px, 60vw);
  height: 32px;
  background: var(--magenta);
  top: 8px;
  right: 3%;
}
.ctar-3 {
  width: min(200px, 50vw);
  height: 28px;
  background: var(--yellow);
  bottom: -10px;
  left: 3%;
}
.ctar-4 {
  width: min(180px, 45vw);
  height: 24px;
  background: var(--orange);
  bottom: 10px;
  left: 6%;
}

/* class="container cta-wrap rv" no HTML */
.cta-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.cta-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0; /* grid child */
}
.cta-left h2 {
  color: var(--white);
}
.cta-left h2 em {
  color: var(--cyan);
}
.cta-left > p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: min(46ch, 100%); /* min() evita overflow por ch em fontes largas */
}
.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: color var(--ti);
  text-decoration: none;
  min-width: 0;
}
.cta-contact:hover {
  color: var(--cyan);
}
.cta-ci {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: background var(--ti);
}
.cta-contact:hover .cta-ci {
  background: rgba(0, 184, 217, 0.12);
  border-color: rgba(0, 184, 217, 0.3);
}
.cta-contact > div {
  min-width: 0;
}
.cta-contact small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.cta-contact strong {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 500;
  display: block;
  min-width: 0;
}
.cta-right {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0; /* grid child */
}
.cta-wpp-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #25d366;
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  color: var(--white);
  /* width:100% relativo ao container, max-width como limite */
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--ti), box-shadow var(--tb);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  min-width: 0;
}
.cta-wpp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}
.cta-wpp-btn > div {
  min-width: 0;
  flex: 1;
}
.cta-wpp-btn span {
  font-family: var(--fd);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.cta-wpp-btn strong {
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
}
.cta-wpp-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(37, 211, 102, 0.35);
  border-radius: inherit;
  animation: wppP 2.5s ease-in-out infinite;
}
.cta-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════════════
   13. FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--g900);
  color: var(--white);
}
/* class="container footer-grid" no HTML */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0; /* grid child */
}
.footer-logo {
  height: 38px;
  width: auto;
}
.footer-logo-fb {
  display: flex;
  flex-direction: column;
}
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: min(28ch, 100%); /* min() evita overflow */
  line-height: 1.65;
  margin: 0;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.fsoc {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: background var(--ti), color var(--ti), transform var(--ti);
  flex-shrink: 0;
}
.fsoc:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}
.footer-nav {
  min-width: 0; /* grid child */
}
.footer-addr {
  min-width: 0; /* grid child */
}
.footer-nav h4,
.footer-addr h4 {
  font-family: var(--fd);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a,
.footer-addr a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--ti);
}
.footer-nav a:hover,
.footer-addr a:hover {
  color: var(--cyan);
}
.footer-addr ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-addr li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  min-width: 0;
}
.footer-addr li > span,
.footer-addr li > a {
  min-width: 0;
}
.footer-addr svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 1rem;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.footer-bottom-inner p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer-bottom-inner a {
  color: var(--cyan);
  transition: color var(--ti);
}
.footer-bottom-inner a:hover {
  color: rgba(0, 184, 217, 0.8);
}

/* ══════════════════════════════════════════
   14. FLUTUANTES
══════════════════════════════════════════ */
.wpp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 888;
  width: 54px;
  height: 54px;
  background: var(--green-wa);
  border-radius: var(--r-f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--ti), box-shadow var(--tb);
  text-decoration: none;
}
.wpp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.wpp-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(37, 211, 102, 0.45);
  border-radius: var(--r-f);
  /* Apenas opacity — sem scale() que expande além dos limites do fixed parent */
  animation: wppFade 2.5s ease-in-out infinite;
  pointer-events: none;
}
.btt {
  position: fixed;
  bottom: 1.25rem;
  right: 5rem;
  z-index: 887;
  width: 42px;
  height: 42px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--sh-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--tb), transform var(--tb), background var(--ti);
}
.btt.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.btt:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   15. KEYFRAMES
══════════════════════════════════════════ */
@keyframes fdUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blinkDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
/* wppP removido — substituído por wppFade sem scale() */
@keyframes wppFade {
  0% {
    opacity: 0.7;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ══════════════════════════════════════════
   16. RESPONSIVE — mobile first
══════════════════════════════════════════ */

/* ── 480px: stats em linha, portfolio 2 colunas ── */
@media (min-width: 480px) {
  .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .statsbar-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    align-items: center;
  }
  .statsbar-inner .sbar-item {
    flex: 1;
    max-width: 110px;
    min-width: 0;
  }
  .sbar-sep {
    display: block;
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-inline: 0.85rem;
  }
}

/* ── 540px: serviços 2 colunas ── */
@media (min-width: 540px) {
  .srv-tl-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ── 768px: layouts de 2 colunas ── */
@media (min-width: 768px) {
  /* Sobre: grid 2 cols — visual esquerda, texto direita */
  .sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
  .sobre-visual {
    order: 1;
    gap: 1.25rem;
    min-width: 0;
  }
  .sobre-content {
    order: 2;
    min-width: 0;
  }

  /* Tiles: layout horizontal no desktop */
  .dif-tile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
  }
  .dif-tile strong {
    font-size: 0.78rem;
  }
  .dif-icon {
    width: 36px;
    height: 36px;
  }

  /* Processo */
  .proc-line {
    display: block;
  }

  /* Portfólio */
  .port-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  /* CTA */
  .cta-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .cta-wpp-btn {
    max-width: 320px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-nav {
    min-width: 0;
  }
  .footer-addr {
    min-width: 0;
  }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── 900px: serviços timeline ── */
@media (min-width: 900px) {
  .srv-tl-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 56px auto;
    gap: 0 1.25rem;
    align-items: start;
  }
  .stl-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .stl-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .stl-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .stl-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }
  .stl-card:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }
  .stl-card:nth-child(6) {
    grid-column: 3;
    grid-row: 3;
  }
  .srv-tl-grid::before {
    content: "";
    grid-column: 1/-1;
    grid-row: 2;
    align-self: center;
    height: 2px;
    margin-inline: 2rem;
    border-radius: var(--r-f);
    opacity: 0.4;
    background: repeating-linear-gradient(
      to right,
      var(--cyan) 0,
      var(--cyan) 8px,
      transparent 8px,
      transparent 18px
    );
  }
  .stl-card:nth-child(1)::after,
  .stl-card:nth-child(2)::after,
  .stl-card:nth-child(3)::after {
    content: "";
    position: absolute;
    bottom: -56px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 56px;
    opacity: 0.45;
    pointer-events: none;
    background: repeating-linear-gradient(
      to bottom,
      var(--cyan) 0,
      var(--cyan) 5px,
      transparent 5px,
      transparent 11px
    );
    box-shadow: 0 56px 0 -1px var(--white), 0 56px 0 3px var(--cyan);
  }
  .stl-card:nth-child(4)::before,
  .stl-card:nth-child(5)::before,
  .stl-card:nth-child(6)::before {
    content: "";
    position: absolute;
    top: -56px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 56px;
    opacity: 0.45;
    pointer-events: none;
    background: repeating-linear-gradient(
      to bottom,
      var(--cyan) 0,
      var(--cyan) 5px,
      transparent 5px,
      transparent 11px
    );
    box-shadow: 0 -1px 0 3px var(--cyan);
  }
  .stl-card:nth-child(1):hover,
  .stl-card:nth-child(2):hover,
  .stl-card:nth-child(3):hover {
    transform: translateY(-5px);
  }
  .stl-card:nth-child(4):hover,
  .stl-card:nth-child(5):hover,
  .stl-card:nth-child(6):hover {
    transform: translateY(5px);
  }
}

/* ── 1024px: desktop completo ── */
@media (min-width: 1024px) {
  :root {
    --hdr-h: 72px;
    --pad: clamp(1.5rem, 3vw, 2.75rem);
  }

  /* Header flutuante no desktop */
  .hdr {
    margin: 10px;
    border-radius: 12px;
    height: var(--hdr-h);
  }
  .hdr.scrolled {
    margin: 0;
    border-radius: 0;
    height: 60px;
  }
  .hdr.scrolled .logo-img {
    height: 38px;
  }

  /* Compensa margem do header flutuante */
  .hero {
    padding-top: calc(var(--hdr-h) + 14px);
  }
  .logo-img {
    height: 50px;
  }

  /* Nav e CTA desktop */
  .nav-desk {
    display: flex;
  }
  .hdr-cta {
    display: flex;
  }
  .burger {
    display: none;
  }
  .mob-menu {
    display: none;
  }

  /* Hero: texto + painel */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding-block: 4rem 2.5rem;
  }
  .hero-text {
    max-width: 580px;
    flex-shrink: 0;
  }
  .hero-panel {
    display: block;
    flex: 1;
    max-width: 380px;
  }

  /* Sobre */
  .sobre-visual {
    position: sticky;
    top: 5.5rem;
  }

  /* CTA */
  .cta-wpp-btn {
    max-width: 340px;
    padding: 1.5rem 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  }
}

/* ── 1280px ── */
@media (min-width: 1280px) {
  :root {
    --pad: 3rem;
  }
}

/* ── Print ── */
@media print {
  .hdr,
  .wpp-float,
  .btt,
  .burger,
  .mob-menu {
    display: none !important;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
