/* ==========================================
   DESIGN TOKENS
========================================== */
:root {
  --color-primary: #00a9c8;        /* ciano principal */
  --color-primary-strong: #0fc4e3; /* ciano claro (hover / glow) */
  --color-secondary: #0d3d4b;      /* azul-petróleo */
  --color-secondary-deep: #072430; /* azul-petróleo profundo */
  --color-accent: #7fe3f5;
  --color-dark: #050708;           /* preto profundo */
  --color-dark-2: #0b0f12;
  --color-dark-3: #131a1f;
  --color-light: #f4f6f8;          /* cinza extremamente claro */
  --color-white: #ffffff;
  --color-text: #1a2024;
  --color-text-muted: #5b6770;
  --color-text-on-dark: #f1f5f7;
  --color-text-on-dark-muted: #a9b6be;
  --color-border: rgba(255,255,255,0.10);
  --color-border-light: #e3e8ec;

  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --header-height: 68px;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-glow: 0 0 0 1px rgba(15,196,227,0.35), 0 8px 28px rgba(0,169,200,0.35);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 96px;

  --transition: 220ms cubic-bezier(.4,0,.2,1);

  /* z-index */
  --z-base: 1;
  --z-raised: 10;
  --z-header: 100;
  --z-menu: 110;
}

/* ==========================================
   RESET / BASE
========================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media all {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-strong); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--color-primary-strong); outline-offset: 3px; border-radius: var(--radius-sm); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}
.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.section-title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), color var(--transition);
}
.btn .icon { font-size: 1.35rem; }
.btn small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.9;
  margin-top: 2px;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-strong); border-color: var(--color-primary-strong); color: var(--color-white); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,0.03); color: var(--color-text-on-dark); border-color: rgba(255,255,255,0.22); }
.btn-outline:hover { color: var(--color-white); border-color: var(--color-primary-strong); box-shadow: 0 0 0 1px rgba(15,196,227,0.25); background: rgba(15,196,227,0.06); }
.btn-ghost-teal { background: rgba(0,169,200,0.16); color: var(--color-white); border-color: rgba(0,169,200,0.45); }
.btn-ghost-teal:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); box-shadow: var(--shadow-glow); }
.btn-lg { padding: 14px 22px; }

/* ==========================================
   HEADER
========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  min-height: var(--header-height);
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.45); }
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { width: auto; height: 48px; aspect-ratio: 3 / 1; object-fit: contain; }
.site-footer .brand img { height: 56px; }

.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  color: var(--color-white);
  cursor: pointer;
  border: 1px solid var(--color-border);
}
.nav-toggle-input:focus-visible + .nav-toggle { outline: 2px solid var(--color-primary-strong); outline-offset: 2px; }
.nav-toggle .bars { width: 20px; height: 14px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 6px; }
.nav-toggle .bars::after { bottom: 0; }
.nav-toggle-input:checked ~ .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle-input:checked ~ .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle-input:checked ~ .nav-toggle .bars span { opacity: 0; }

/* Off-canvas mobile: painel fixo à direita + backdrop.
   Funciona sem JS (checkbox); JS só adiciona scroll-lock, ESC e foco. */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(3,5,6,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 0s linear 280ms;
  cursor: pointer;
}
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-menu) + 1);
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: calc(var(--header-height) + var(--space-2)) var(--space-3) var(--space-4);
  background: var(--color-dark-2);
  border-left: 1px solid var(--color-border);
  box-shadow: -24px 0 48px rgba(0,0,0,0.45);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 320ms cubic-bezier(.32,.72,0,1), visibility 0s linear 320ms;
}
.nav-toggle-input:checked ~ .nav-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav-toggle-input:checked ~ .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
.nav-close {
  position: absolute;
  top: calc((var(--header-height) - 44px) / 2);
  right: var(--gutter);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-white);
  cursor: pointer;
}
.nav-close .icon { font-size: 1.25rem; stroke-width: 2; }
/* Hambúrguer fica por cima do painel para virar "X" e continuar clicável */
.nav-toggle { position: relative; z-index: calc(var(--z-menu) + 2); margin-left: auto; flex-shrink: 0; }
.brand { flex-shrink: 0; }
.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-list li { border-bottom: 1px solid var(--color-border); }
.nav-list a { min-height: 52px; font-size: 0.9375rem; }
html.nav-open { overflow: hidden; }
html.nav-open body { overflow: hidden; touch-action: none; }
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text-on-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.nav-list a:hover { color: var(--color-primary-strong); background: rgba(255,255,255,0.04); }
.nav-list a, .header-cta, .btn small { white-space: nowrap; }
.nav-list a.is-active { color: var(--color-primary-strong); }
.nav-cta-mobile { margin-top: auto; justify-content: center; }
.header-cta { display: none; }

/* ==========================================
   HERO
========================================== */
.hero {
  position: relative;
  background: var(--color-dark) url("./standalone/standalone-images/bg-hero.webp") center / cover no-repeat;
  color: var(--color-text-on-dark);
  overflow: hidden; /* justificado: corta os brilhos decorativos absolutos */
}
.hero-inner {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  padding-block: var(--space-5) var(--space-6);
  position: relative;
  z-index: var(--z-base);
}
.hero-content { width: 100%; max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-strong);
}
.hero-kicker::before { content: ""; width: 20px; height: 2px; background: var(--color-primary); }
.hero-title {
  margin-top: var(--space-2);
  font-size: clamp(2.75rem, 1.5rem + 6vw, 6rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--color-primary);
  text-shadow: 0 0 40px rgba(0,169,200,0.35);
}
.hero-subtitle {
  margin-top: var(--space-3);
  font-size: clamp(1.125rem, 0.9rem + 1.2vw, 1.5rem);
  margin-inline: auto;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-white);
  max-width: 22ch;
  text-wrap: pretty;
}
.hero-desc {
  margin-top: var(--space-3);
  margin-inline: auto;
  font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.0625rem);
  color: var(--color-text-on-dark-muted);
  max-width: 44ch;
  text-wrap: pretty;
}
/* CTAs: empilhados e centralizados por padrão; lado a lado só quando há espaço real (>= 560px) */
.hero-actions { margin-top: var(--space-4); width: 100%; max-width: 420px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.hero-actions .btn { text-align: left; width: 100%; justify-content: center; min-height: 56px; }
.hero-actions .btn > span { flex: 0 1 auto; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 70% 45%, rgba(0,169,200,0.28), transparent 70%),
    radial-gradient(45% 40% at 20% 85%, rgba(15,196,227,0.14), transparent 70%),
    linear-gradient(160deg, #0f1519 0%, #05080a 60%, #030405 100%);
  border: 1px solid var(--color-border);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
/* Fusão suave da foto com o fundo escuro */
.hero-visual .hero-fade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--color-dark) 0%, transparent 22%),
    linear-gradient(180deg, rgba(5,7,8,0.55) 0%, transparent 25%, transparent 75%, var(--color-dark) 100%);
}
/* Raios de luz (sensação de movimento) */
.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15,196,227,0.7), rgba(255,255,255,0.9), transparent);
  filter: blur(0.5px);
  transform: rotate(-8deg);
  pointer-events: none;
}
.hero-visual::before { top: 62%; opacity: 0.35; }
.hero-visual::after { top: 72%; opacity: 0.2; height: 1px; }

/* Brilhos decorativos do hero (partículas leves via gradients) */
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 85% 30%, rgba(0,169,200,0.18), transparent 70%),
    radial-gradient(2px 2px at 20% 30%, rgba(127,227,245,0.8), transparent 60%),
    radial-gradient(2px 2px at 35% 70%, rgba(127,227,245,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(2px 2px at 80% 80%, rgba(127,227,245,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 55%, rgba(255,255,255,0.6), transparent 60%);
}

/* ==========================================
   STATS (FAIXA DE INDICADORES)
========================================== */
.stats-section {
  background: var(--color-dark-2);
  color: var(--color-text-on-dark);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: var(--space-4);
}
.stat-item {
  display: flex;
  gap: 14px;
  padding: var(--space-2);
  min-width: 0;
}
.stat-icon { font-size: 2rem; color: var(--color-primary); stroke-width: 1.5; margin-top: 4px; }
.stat-value { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--color-white); }
.stat-label { margin-top: 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-white); text-wrap: balance; }
.stat-desc { margin-top: 6px; font-size: 0.8125rem; color: var(--color-text-on-dark-muted); line-height: 1.45; }

/* ==========================================
   SERVICES
========================================== */
.services-section { background: var(--color-white); padding-block: var(--space-6); }
.services-header { text-align: center; max-width: 60ch; margin-inline: auto; }
.services-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--space-2);
}
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  min-width: 0;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,169,200,0.35); }
.service-icon { font-size: 2.75rem; color: var(--color-primary); stroke-width: 1.4; }
.service-title {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
}
.service-desc { margin-top: 12px; font-size: 0.875rem; color: var(--color-text-muted); flex-grow: 1; text-wrap: pretty; }
.service-link {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}
.service-link .icon { transition: transform var(--transition); }
.service-link:hover { color: var(--color-primary); }
.service-link:hover .icon { transform: translateX(4px); }

/* ==========================================
   DIFERENCIAIS
========================================== */
.why-section { background: var(--color-dark); color: var(--color-text-on-dark); padding-block: var(--space-6); position: relative; }
.why-inner { display: grid; gap: var(--space-5); }
.why-title { color: var(--color-white); }
.why-title-bar { width: 56px; height: 3px; background: var(--color-primary); margin-top: var(--space-3); box-shadow: 0 0 14px rgba(15,196,227,0.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0;
}
.why-item {
  position: relative;
  padding: var(--space-3) var(--space-2);
  border-top: 1px solid var(--color-border);
  min-width: 0;
}
.why-icon { font-size: 2.25rem; color: var(--color-primary); stroke-width: 1.5; }
.why-item h3 { margin-top: var(--space-2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-white); text-wrap: balance; }
.why-item p { margin-top: 10px; font-size: 0.8125rem; color: var(--color-text-on-dark-muted); line-height: 1.55; }

/* ==========================================
   CLIENTES
========================================== */
.clients-section { background: var(--color-white); padding-block: var(--space-6); }
.clients-inner { display: grid; gap: var(--space-4); }
.clients-title { color: var(--color-text); }
.clients-copy .btn { margin-top: var(--space-4); }
.clients-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 12px; min-width: 0; }
.client-logo {
  aspect-ratio: 2 / 1; min-width: 0;
  display: grid; place-items: center; padding: 8px;
  border: 1px solid var(--color-border-light); border-radius: var(--radius); background: var(--color-white); box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.client-logo:hover { border-color: rgba(0,169,200,0.4); box-shadow: var(--shadow-md); }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.testimonial {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
}
.testimonial-quote-mark { font-size: 3.5rem; line-height: 0.6; font-weight: 900; color: var(--color-primary); font-family: Georgia, "Times New Roman", serif; }
.testimonial blockquote { margin: 0; font-size: 1rem; color: var(--color-text); text-wrap: pretty; max-width: 60ch; }
.testimonial figcaption { font-size: 0.8125rem; color: var(--color-text-muted); }
.testimonial figcaption strong { color: var(--color-text); font-weight: 700; }

/* ==========================================
   CTA FINAL
========================================== */
.cta-section {
  position: relative;
  color: var(--color-text-on-dark);
  background: var(--color-secondary-deep);
  padding-block: var(--space-6);
  overflow: hidden; /* justificado: brilhos decorativos absolutos */
}
.cta-parallax {
  position: absolute; inset: -12% 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(180deg, rgba(4,20,24,0.55), rgba(4,20,24,0.85)),
    url("./standalone/standalone-images/bg-cta-1600.webp") center / cover no-repeat;
  will-change: transform;
}
.cta-inner { display: grid; gap: var(--space-4); align-items: center; position: relative; z-index: var(--z-base); }
.cta-mockup { width: min(260px, 70%); margin-inline: auto; aspect-ratio: 2 / 3; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.55)); }
.cta-mockup img { width: 100%; height: 100%; object-fit: contain; }
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-4);
}
.cta-item { min-width: 0; }
.cta-icon { font-size: 2.75rem; color: var(--color-primary-strong); stroke-width: 1.4; }
.cta-item h3 { margin-top: var(--space-2); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.25rem); font-weight: 800; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-white); max-width: 16ch; }
.cta-item p { margin-top: 12px; font-size: 0.875rem; color: var(--color-text-on-dark-muted); max-width: 36ch; text-wrap: pretty; }
.cta-item .btn { margin-top: var(--space-3); }

/* ==========================================
   FOOTER
========================================== */
.site-footer { background: var(--color-dark); color: var(--color-text-on-dark-muted); border-top: 1px solid var(--color-border); padding-block: var(--space-5) var(--space-3); }
.footer-grid { display: grid; gap: var(--space-5) var(--space-4); grid-template-columns: minmax(0, 1fr); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; justify-content: center; }
.footer-heading { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-white); margin-bottom: var(--space-2); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-2); }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--color-text-on-dark-muted); font-size: 0.875rem; }
.footer-contact a[data-config-whatsapp target="_blank" rel="noopener noreferrer"], .footer-contact a[data-config-phone] { white-space: nowrap; }
.footer-contact a[data-config-email] { overflow-wrap: break-word; word-break: normal; }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-primary-strong); }
.footer-contact li { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 0.875rem; flex-wrap: wrap; }
.footer-contact .icon { color: var(--color-primary); font-size: 1.1rem; }
.footer-hours p { font-size: 0.875rem; line-height: 1.6; max-width: 36ch; }
.footer-units ul { display: grid; gap: 12px; }
.footer-units li { display: grid; gap: 2px; font-size: 0.8125rem; line-height: 1.5; max-width: 40ch; }
.footer-units strong { color: var(--color-white); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
[data-config-optional][hidden] { display: none !important; }
.footer-social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius);
  color: var(--color-text-on-dark);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}
.footer-social a:hover { color: var(--color-primary-strong); border-color: var(--color-primary); background: rgba(0,169,200,0.08); }
.footer-social .icon { font-size: 1.15rem; }
.footer-credit a { color: var(--color-text-on-dark); font-weight: 600; }
.footer-credit a:hover { color: var(--color-primary-strong); }
.footer-bottom { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: 0.75rem; display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between; }

/* ==========================================
   TABLET (>= 768px)
========================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item + .stat-item { border-left: 1px solid var(--color-border); }
  .stat-item:nth-child(4) { border-left: 0; }
  .testimonial { grid-template-columns: auto 1fr; align-items: start; }
  .testimonial figcaption { grid-column: 2; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; justify-content: flex-start; }
  .hero-inner { padding-block: var(--space-6); }
}
/* CTAs do hero lado a lado quando cabem confortavelmente */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; }
  .hero-actions .btn { width: auto; flex: 0 1 auto; }
}
/* Celular deitado: hero mais compacto */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-inner { padding-block: var(--space-4); gap: var(--space-3); }
  .hero-title { font-size: clamp(2.25rem, 8vh, 3.5rem); }
  .hero-visual { max-width: 420px; }
}

/* ==========================================
   DESKTOP (>= 1024px)
========================================== */
@media (min-width: 1024px) {
  :root { --header-height: 76px; }
}
/* Menu horizontal só quando há espaço real (>= 1200px); entre 1024 e 1199 mantém o menu compacto */
@media (min-width: 1200px) {
  .nav-toggle, .nav-backdrop, .nav-close, .nav-cta-mobile { display: none; }
  .header-cta { display: inline-flex; min-height: 52px; padding: 8px 18px; }
  .header-cta small { font-weight: 700; font-size: 0.8125rem; }
  .site-nav { position: static; width: auto; display: block; background: transparent; border: 0; box-shadow: none; padding: 0; overflow: visible; transform: none; visibility: visible; transition: none; }
  .nav-list { flex-direction: row; gap: 2px; }
  .nav-list li { border: 0; }
  .nav-list a { min-height: 44px; font-size: 0.75rem; }
  .nav-list a { min-height: 44px; padding: 0 10px; font-size: 0.75rem; }
  .nav-list a:hover { background: transparent; }
  .nav-list a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px;
    background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
  }
  .nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; justify-items: stretch; gap: var(--space-5); padding-block: var(--space-5) var(--space-6); }
  .hero-content { max-width: none; text-align: left; align-items: flex-start; }
  .hero-subtitle, .hero-desc { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; margin-inline: 0; }
  .hero-actions .btn { min-height: 52px; }
  .hero-visual { max-width: none; aspect-ratio: 5 / 4; min-height: 480px; }

  .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); padding-block: var(--space-3); }
  .stat-item { padding: var(--space-2) var(--space-3); }
  .stat-item:nth-child(4) { border-left: 1px solid var(--color-border); }

  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .service-card { padding: var(--space-4) 18px var(--space-3); }
  .service-title { font-size: 0.8125rem; letter-spacing: 0.04em; }
  .service-desc { font-size: 0.8125rem; }

  .clients-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); align-items: start; gap: var(--space-5); }
  .clients-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .clients-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .clients-logos, .testimonial { grid-column: 2; }
  .clients-copy { grid-row: 1 / span 2; }

  .cta-inner { grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-5); }
  .cta-mockup { width: 100%; margin: 0; }
  .cta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

/* ==========================================
   DESKTOP LARGO (>= 1280px)
========================================== */
@media (min-width: 1280px) {
  .footer-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-4); }
  .footer-hours { grid-column: 5; grid-row: 1; }
  .footer-social-block { grid-column: 5; grid-row: 2; }
  .footer-units { grid-row: 1 / span 2; }
  .footer-brand, .footer-grid > nav, .footer-grid > .footer-contact-block { grid-row: 1; }
  .services-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service-title { font-size: 0.75rem; }
  .why-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); align-items: start; gap: var(--space-5); }
  .why-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .why-item { border-top: 0; border-left: 1px solid var(--color-border); padding: 0 var(--space-3); }
  .why-item p { font-size: 0.75rem; }
  .clients-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 260px minmax(0, 1fr); }
  .cta-grid { gap: var(--space-5); }
}

/* ==========================================
   ANIMAÇÕES (progressive enhancement)
   Só ativam quando <html class="js"> e o
   usuário não pediu movimento reduzido.
========================================== */
/* Mockup entra deslizando junto com a seção */
@media all {
  html.js .cta-mockup.reveal { transform: translateY(32px); }
  html.js .cta-mockup.reveal.is-visible { transform: none; }
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
  html.js .reveal[data-delay="1"] { transition-delay: 80ms; }
  html.js .reveal[data-delay="2"] { transition-delay: 160ms; }
  html.js .reveal[data-delay="3"] { transition-delay: 240ms; }
  html.js .reveal[data-delay="4"] { transition-delay: 320ms; }
  html.js .reveal[data-delay="5"] { transition-delay: 400ms; }

  .hero-glow { animation: glow-drift 14s ease-in-out infinite alternate; }
  @keyframes glow-drift {
    from { transform: translate3d(0, 0, 0); opacity: 0.9; }
    to   { transform: translate3d(-14px, 10px, 0); opacity: 1; }
  }
  .hero-visual::before { animation: light-sweep 5s ease-in-out infinite; }
  @keyframes light-sweep {
    0%, 100% { transform: translateX(-6%) rotate(-8deg); opacity: 0.5; }
    50%      { transform: translateX(6%) rotate(-8deg); opacity: 0.95; }
  }
  .hero-visual { will-change: transform; }
}

/* ==========================================
   PREMIUM — ELEMENTOS FLUTUANTES
========================================== */
.float-whatsapp, .back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  z-index: var(--z-header);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), visibility var(--transition);
}
.float-whatsapp {
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 60px; height: 60px;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 0;
}
.float-whatsapp:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(37,211,102,0.45); color: var(--color-white); }
.float-whatsapp .icon { width: 30px; height: 30px; display: block; margin: 0; padding: 0; stroke: none; fill: currentColor; position: relative; flex: none; }
.float-whatsapp::before, .float-whatsapp::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: rgba(37,211,102,0.45); pointer-events: none; opacity: 0;
}
html.reduce-motion .float-whatsapp::before, html.reduce-motion .float-whatsapp::after { display: none; }
.float-whatsapp .float-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--color-dark-2); color: var(--color-white); border: 1px solid var(--color-border);
  padding: 8px 12px; border-radius: var(--radius); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
}
.float-whatsapp:hover .float-label, .float-whatsapp:focus-visible .float-label { opacity: 1; visibility: visible; }
.back-to-top {
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 76px);
  width: 44px; height: 44px;
  background: var(--color-dark-2); border: 1px solid var(--color-border);
}
.back-to-top .icon { font-size: 1.2rem; stroke-width: 2.2; }
.back-to-top:hover { color: var(--color-primary-strong); border-color: var(--color-primary); transform: translateY(-2px); }
html.js .back-to-top { opacity: 0; visibility: hidden; transform: translateY(12px); }
html.js .back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
html.nav-open .float-whatsapp, html.nav-open .back-to-top { opacity: 0; visibility: hidden; }

/* Partículas do hero: poucos elementos, só transform/opacity */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; left: var(--x); bottom: -10px;
  width: var(--s); height: var(--s); border-radius: 50%;
  background: var(--color-accent); opacity: 0;
  box-shadow: 0 0 calc(var(--s) * 2) var(--color-primary);
}
/* Linha de luz no topo das seções escuras */
.why-section::before, .stats-section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
  background-size: 50% 100%; background-repeat: no-repeat; opacity: 0.7;
}
.stats-section { position: relative; }
.why-item::before {
  content: ""; position: absolute; top: 0; left: var(--space-2); right: var(--space-2); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.why-item:hover::before { opacity: 1; }
/* Brilho varrendo os cards e o botão principal */
.service-card::after, .btn-primary::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
}
.btn-primary { position: relative; overflow: hidden; }

@media all {
  .float-whatsapp::before { animation: radar 2.6s ease-out infinite; }
  .float-whatsapp::after { animation: radar 2.6s ease-out 1.3s infinite; }
  @keyframes radar { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }

  .hero-particles span { animation: rise var(--d) linear var(--delay) infinite; }
  @keyframes rise {
    0%   { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
    10%  { opacity: 0.9; }
    90%  { opacity: 0.4; }
    100% { transform: translate3d(var(--drift), -110vh, 0) scale(1.1); opacity: 0; }
  }
  .hero-visual img { animation: kenburns 22s ease-in-out infinite alternate; transform-origin: 60% 50%; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

  /* Entrada do hero (CSS puro, não depende de JS) */
  .hero-kicker, .hero-title, .hero-subtitle, .hero-desc, .hero-actions { animation: hero-in 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-title { animation-delay: 0.1s; }
  .hero-subtitle { animation-delay: 0.22s; }
  .hero-desc { animation-delay: 0.32s; }
  .hero-actions { animation-delay: 0.42s; }
  .hero-visual { animation: hero-visual-in 1.2s cubic-bezier(.2,.7,.2,1) 0.2s both; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes hero-visual-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }

  .why-section::before, .stats-section::before { animation: line-scan 6s ease-in-out infinite alternate; }
  @keyframes line-scan { from { background-position: -50% 0; } to { background-position: 150% 0; } }

  .service-card:hover::after { animation: shine 0.9s ease-out forwards; }
  .btn-primary::after { animation: shine 3.2s ease-in-out 1.5s infinite; }
  @keyframes shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

  /* Reveal direcional */
  html.js .reveal[data-reveal="left"] { transform: translateX(-40px); }
  html.js .reveal[data-reveal="right"] { transform: translateX(40px); }
  html.js .reveal[data-reveal="zoom"] { transform: scale(0.94); }
  html.js .reveal.is-visible { transform: none; }
  html.js .reveal { transition-duration: 800ms; }

  .stat-value { transition: color var(--transition); }
  .stat-item:hover .stat-value { color: var(--color-primary-strong); }
    .cta-icon, .why-icon { transition: transform var(--transition), filter var(--transition); }
  .cta-item:hover .cta-icon, .why-item:hover .why-icon { transform: translateY(-3px); filter: drop-shadow(0 0 10px rgba(15,196,227,0.7)); }
}
@media (max-width: 767px) {
  .hero-particles span:nth-child(n+8) { display: none; }
  .float-whatsapp { width: 56px; height: 56px; }
  .float-whatsapp .float-label { display: none; }
}

/* ==========================================
   ACCESSIBILITY / REDUCED MOTION
========================================== */
/* Kill-switch de movimento: classe definida no <head> (sistema) e ajustável pelo config (theme.animations) */
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation: none !important; transition-duration: 0.01ms !important; }
html.reduce-motion .service-card:hover, html.reduce-motion .btn-primary:hover { transform: none; }
html.reduce-motion .reveal { opacity: 1 !important; transform: none !important; }
html.reduce-motion .hero-particles, html.reduce-motion .cta-parallax { display: none; }
html.reduce-motion .cta-section { background: linear-gradient(180deg, rgba(4,20,24,0.55), rgba(4,20,24,0.85)), var(--color-secondary-deep) url("./standalone/standalone-images/bg-cta-1600.webp") center / cover no-repeat; }
@media (hover: none) {
  .service-card:hover { transform: none; }
}
@media print {
  .site-header, .hero-glow, .cta-section .btn, .cta-mockup { display: none; }
  body { color: #000; background: #fff; }
}

/* Partículas: valores por elemento (inline style é bloqueado pela CSP do servidor) */
.hero-particles span:nth-child(1) { --x: 6%; --s: 2px; --d: 12.0s; --delay: 0.0s; --drift: -20px; }
.hero-particles span:nth-child(2) { --x: 14%; --s: 3px; --d: 13.7s; --delay: -1.3s; --drift: 27px; }
.hero-particles span:nth-child(3) { --x: 23%; --s: 4px; --d: 15.4s; --delay: -2.6s; --drift: -34px; }
.hero-particles span:nth-child(4) { --x: 31%; --s: 2px; --d: 17.1s; --delay: -3.9s; --drift: 41px; }
.hero-particles span:nth-child(5) { --x: 40%; --s: 3px; --d: 18.8s; --delay: -5.2s; --drift: -48px; }
.hero-particles span:nth-child(6) { --x: 48%; --s: 4px; --d: 20.5s; --delay: -6.5s; --drift: 55px; }
.hero-particles span:nth-child(7) { --x: 57%; --s: 2px; --d: 13.2s; --delay: -7.8s; --drift: -22px; }
.hero-particles span:nth-child(8) { --x: 66%; --s: 3px; --d: 14.9s; --delay: -9.1s; --drift: 29px; }
.hero-particles span:nth-child(9) { --x: 74%; --s: 4px; --d: 16.6s; --delay: -10.4s; --drift: -36px; }
.hero-particles span:nth-child(10) { --x: 83%; --s: 2px; --d: 18.3s; --delay: -11.7s; --drift: 43px; }
.hero-particles span:nth-child(11) { --x: 91%; --s: 3px; --d: 20.0s; --delay: -1.0s; --drift: -50px; }
.hero-particles span:nth-child(12) { --x: 96%; --s: 4px; --d: 12.7s; --delay: -2.3s; --drift: 57px; }
.hero-particles span:nth-child(13) { --x: 10%; --s: 2px; --d: 14.4s; --delay: -3.6s; --drift: -24px; }
.hero-particles span:nth-child(14) { --x: 52%; --s: 3px; --d: 16.1s; --delay: -4.9s; --drift: 31px; }
