/* ============================================================
   CarlosHPS Studio — styles.css
   Base: V6 aprovada
   Stack: CSS puro com custom properties
   ============================================================ */

/* -----------------------------------------------------------
   1. TOKENS / DESIGN SYSTEM
   ----------------------------------------------------------- */
:root {
  /* ── Paleta oficial ────────────────────────────────── */
  --color-bg:            #FFFFFF;
  --color-bg-soft:       #EBEBEB;
  --color-surface:       #FFFFFF;
  --color-surface-soft:  #C2E8EE;
  --color-surface-mist:  #8BD7E6;
  --color-brand-deep:    #040C5F;
  --color-brand:         #0073B0;
  --color-accent:        #00ADCF;
  --color-text:          #000000;
  --color-text-soft:     rgba(0,0,0,0.68);
  --color-heading:       #040C5F;
  --color-fg-light:      #FFFFFF;
  --color-border:        rgba(4,12,95,0.08);
  --color-border-strong: rgba(0,115,176,0.18);

  /* ── Tipografia ────────────────────────────────────── */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* ── Espaçamento ───────────────────────────────────── */
  --section-pad: 112px 0;

  /* ── Raios ─────────────────────────────────────────── */
  --radius-xs:   12px;
  --radius-sm:   16px;
  --radius-md:   24px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  /* ── Sombras ───────────────────────────────────────── */
  --shadow-soft: 0 8px 24px rgba(4, 12, 95, 0.05);
  --shadow-card: 0 16px 40px rgba(4, 12, 95, 0.06);
  --shadow-lift: 0 24px 50px rgba(4, 12, 95, 0.08);

  /* ── Transição ─────────────────────────────────────── */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  /* ── Aliases de transição (migrados sprint a sprint) ──
     Mantêm as seções ainda não rebrandadas funcionando.  */
  --color-surface:     var(--color-brand-deep);
  --color-surface-alt: #030a4e;
  --color-gold:        var(--color-brand);
  --color-gold-light:  var(--color-accent);
  --color-gold-pale:   var(--color-surface-mist);

  /* ── Escalas de cor ────────────────────────────────── */
  --blue-50:  #e8f4fb;
  --blue-100: #c2e8ee;
  --blue-200: #8bd7e6;
  --blue-300: #4dbdd8;
  --blue-400: #00adcf;
  --blue-500: #0073b0;
  --blue-600: #005c8f;
  --blue-700: #004570;
  --blue-800: #0d2d52;
  --blue-900: #040c5f;

  --grey-50:  #fafafa;
  --grey-100: #f4f4f5;
  --grey-200: #ebebeb;
  --grey-300: #d4d4d8;
  --grey-400: #a1a1aa;
  --grey-500: #71717a;
  --grey-600: #52525b;
  --grey-700: #3f3f46;
  --grey-800: #27272a;
  --grey-900: #18181b;

  /* ── Semânticos ────────────────────────────────────── */
  --color-success:      #16a34a;
  --color-success-soft: #dcfce7;
  --color-warning:      #d97706;
  --color-warning-soft: #fef3c7;
  --color-error:        #dc2626;
  --color-error-soft:   #fee2e2;
  --color-info:         #0073b0;
  --color-info-soft:    #c2e8ee;

  /* ── Tipografia — escala ───────────────────────────── */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* ── Peso de fonte ─────────────────────────────────── */
  --fw-light:     300;
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;

  /* ── Espaçamento granular ──────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

/* -----------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-heading);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  word-break: break-word;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }
svg { display: block; }

a { text-decoration: none; color: inherit; }

/* -----------------------------------------------------------
   3. UTILITÁRIOS TIPOGRÁFICOS
   ----------------------------------------------------------- */
.font-display { font-family: var(--font-display); }

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-brand);
  font-weight: 600;
}

/* -----------------------------------------------------------
   4. SCROLLBAR
   ----------------------------------------------------------- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-brand); border-radius: 3px; }

/* reveal — scroll-triggered (below fold) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity   0.9s var(--ease-smooth),
    transform 0.9s var(--ease-smooth);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.35s; }

/* reveal-init — above-fold: anima no carregamento, sem esperar scroll.
   Evita CLS e conteúdo invisível no LCP. */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  animation: revealIn 0.9s var(--ease-smooth) forwards;
}
.reveal-init.reveal-d1 { animation-delay: 0.10s; }
.reveal-init.reveal-d2 { animation-delay: 0.20s; }
.reveal-init.reveal-d3 { animation-delay: 0.30s; }
.reveal-init.reveal-d4 { animation-delay: 0.40s; }

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

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity  0.7s var(--ease-smooth),
    transform 0.7s var(--ease-smooth);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Line reveal — usa scaleX em vez de width (compositor-only, sem reflow) */
.line-reveal {
  height: 1px;
  background: linear-gradient(90deg, rgba(0,115,176,0.22), rgba(0,115,176,0.03));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s var(--ease-smooth);
}
.line-reveal.visible { transform: scaleX(1); }

/* -----------------------------------------------------------
   6. HOVER LIFT
   Usa pseudo-element para sombra em vez de box-shadow direto.
   Opacity transition é compositor-only — sem repaint.
   ----------------------------------------------------------- */
.hover-lift {
  position: relative;
  transition: transform 0.45s var(--ease-smooth);
}
.hover-lift::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
  pointer-events: none;
}
.hover-lift:hover {
  transform: translateY(-4px);
}
.hover-lift:hover::after {
  opacity: 1;
}

/* -----------------------------------------------------------
   7. BOTÕES / CTA
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform    0.3s var(--ease-smooth),
    box-shadow   0.3s var(--ease-smooth),
    background   0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 100%; }

.btn-primary {
  background: var(--color-brand);
  color: var(--color-fg-light);
}
.btn-primary:hover {
  background: var(--color-accent);
}
.btn-gold {
  background: var(--color-accent);
  color: var(--color-fg-light);
}
.btn-outline {
  background: transparent;
  color: var(--color-fg-light);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-border-strong);
}
.btn-outline-dark:hover {
  background: var(--color-surface-soft);
  border-color: var(--color-brand);
}

.btn .arrow-icon {
  transition: transform 0.3s var(--ease-smooth);
}
.btn:hover .arrow-icon { transform: translateX(3px); }

/* -----------------------------------------------------------
   8. NAVEGAÇÃO
   ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.90);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Grupo direito: CTA pill + toggle + hamburger */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brand-deep);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--color-brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--color-brand); }

/* Estado ativo — underline azul */
.nav-links a.active:not(.nav-cta) {
  color: var(--color-brand);
  opacity: 1;
}
.nav-links a.active:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--color-brand);
  border-radius: 1px;
}

/* Foco visível — acessibilidade teclado */
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible,
.back-top:focus-visible,
.nav-hamburger:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-brand);
  color: var(--color-fg-light) !important;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}
.nav-cta:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,115,176,0.25);
}
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  transition: left 0.5s ease;
}
.nav-cta:hover::after { left: 100%; }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-brand-deep);
}
.nav-hamburger svg { display: block; }

/* Toggle claro ↔ dark — visível na nav desktop */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text-soft);
  text-decoration: none;
  padding: 0;
  font-size: inherit;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 48px 24px;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--color-border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--color-brand); }
.nav-mobile a.btn-primary {
  display: inline-flex;
  margin-top: 12px;
  justify-content: center;
  border-bottom: none;
  padding: 13px 20px;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-brand);
  color: var(--color-fg-light) !important;
  border-radius: var(--radius-xs);
}

/* -----------------------------------------------------------
   9. CONTAINER
   ----------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* -----------------------------------------------------------
   10. HERO
   ----------------------------------------------------------- */
.hero {
  padding: 136px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-deco {
  position: absolute;
  top: 96px; right: 0;
  font-family: var(--font-display);
  font-size: 28vw;
  font-weight: 700;
  line-height: 0.85;
  color: var(--color-brand-deep);
  opacity: 0.025;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero-inner { max-width: 860px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-brand);
  background: rgba(0,115,176,0.06);
  border: 1px solid rgba(0,115,176,0.14);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-bottom: 28px;
  max-width: 860px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(125deg, var(--color-brand) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--color-text-soft);
  font-weight: 400;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 20px 28px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stat-num {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-brand-deep);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-soft);
  line-height: 1.35;
  font-weight: 400;
}
.hero-stat-divider {
  width: 1px; height: 28px;
  background: var(--color-border-strong);
  flex-shrink: 0;
}

/* Segmentos atendidos */
.hero-segments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.hero-segments-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  font-weight: 500;
  margin-right: 4px;
}
.hero-segment {
  font-size: 0.78rem;
  color: var(--color-brand);
  padding: 4px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
  background: rgba(0,115,176,0.04);
}

/* -----------------------------------------------------------
   11. DIVIDER
   ----------------------------------------------------------- */
.section-divider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* -----------------------------------------------------------
   12. VALUE PROPOSITION
   ----------------------------------------------------------- */
.value-section {
  padding: var(--section-pad);
  background: var(--color-bg);
}
.value-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}
.value-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.value-headline em {
  font-style: normal;
  color: var(--color-brand);
}
.value-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-soft);
  font-weight: 400;
}
.value-body p + p { margin-top: 20px; }

/* -----------------------------------------------------------
   13. SERVIÇOS
   ----------------------------------------------------------- */
.services-section {
  padding: var(--section-pad);
  background: var(--color-bg-soft);
}
.services-header { margin-bottom: 64px; }
.services-headline {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.services-headline em {
  font-style: normal;
  color: var(--color-brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  padding: 32px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color 0.35s var(--ease-smooth),
    box-shadow   0.35s var(--ease-smooth);
}
.service-card:hover {
  border-color: var(--color-border-strong);
}
.service-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,115,176,0.07);
  border-radius: var(--radius-xs);
  margin-bottom: 24px;
  color: var(--color-brand);
}
.service-icon svg { width: 20px; height: 20px; }
.service-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  line-height: 1.3;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* -----------------------------------------------------------
   14. PROCESSO
   ----------------------------------------------------------- */
.process-section {
  padding: var(--section-pad);
  background: var(--color-bg);
}
.process-header {
  text-align: center;
  margin-bottom: 64px;
}
.process-headline {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.process-headline em {
  font-style: normal;
  color: var(--color-brand);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { text-align: center; position: relative; }
/* Mobile override handled in media query */

/* Connector line between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -24px;
  width: 48px;
  height: 1px;
  background: var(--color-border-strong);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,115,176,0.07);
  border: 1px solid var(--color-border-strong);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand-deep);
  margin: 0 auto 20px;
}
.process-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  margin-bottom: 8px;
}
.process-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* -----------------------------------------------------------
   15. DIFERENCIAIS
   ----------------------------------------------------------- */
.diff-section {
  padding: var(--section-pad);
  background: var(--color-bg-soft);
}
.diff-header { margin-bottom: 56px; }
.diff-headline {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.diff-headline em {
  font-style: normal;
  color: var(--color-brand);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
}
.diff-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  color: var(--color-brand);
  margin-top: 2px;
}
.diff-icon svg { width: 20px; height: 20px; }
.diff-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  margin-bottom: 6px;
}
.diff-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* -----------------------------------------------------------
   16. PORTFÓLIO
   ----------------------------------------------------------- */
.portfolio-section {
  padding: var(--section-pad);
  overflow: hidden;
  background: var(--color-bg);
}
.portfolio-header {
  margin-bottom: 56px;
}
.portfolio-headline {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.portfolio-headline em {
  font-style: normal;
  color: var(--color-brand);
}

/* Marquee */
.marquee-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee-item img {
  height: 180px;
  width: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-smooth), border-color 0.3s ease;
}
.marquee-item:hover img {
  transform: scale(1.03);
  border-color: var(--color-border-strong);
}
.marquee-track:hover { animation-play-state: paused; }

/* ─── reveal direcional ─────────────────────────────────────── */
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── reveal com scale ──────────────────────────────────────── */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(16px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ─── processo: conector sequencial ────────────────────────── */
.process-step:not(:last-child)::after {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-smooth);
  transition-delay: 0.35s;
}
.process-step.visible:not(:last-child)::after {
  transform: scaleX(1);
}

/* ─── FAQ: acordeão suave ───────────────────────────────────── */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-smooth);
  overflow: hidden;
}
.faq-item.active .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer-wrap > * {
  min-height: 0;
}

/* ─── CTA pulse (one-shot) ──────────────────────────────────── */
@keyframes ctaAttention {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.035); }
  100% { transform: scale(1); }
}
.cta-btn--pulse {
  animation: ctaAttention 0.7s var(--ease-smooth) forwards;
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
    will-change: auto;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 24px;
    justify-content: flex-start;
  }
  .portfolio-card { width: calc(33.333% - 16px); }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .stagger > * {
    transition: none;
  }
  .process-step:not(:last-child)::after {
    transition: none;
    transform: scaleX(1);
  }
  .faq-answer-wrap {
    transition: none;
  }
  .cta-btn--pulse {
    animation: none;
  }
}

.portfolio-card {
  flex-shrink: 0;
  width: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-card-inner {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.portfolio-tag {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.portfolio-card-sub {
  font-size: 0.8rem;
  margin-top: 4px;
  opacity: 0.65;
}

/* Card themes — paleta brand */
.card-dark .portfolio-card-inner {
  background: linear-gradient(145deg, #040C5F 0%, #0a1880 100%);
}
.card-dark .portfolio-tag {
  color: var(--color-accent);
  border: 1px solid rgba(0,173,207,0.35);
}
.card-dark .portfolio-card-title { color: #ffffff; }
.card-dark .portfolio-card-sub   { color: rgba(255,255,255,0.55); }

.card-gold .portfolio-card-inner {
  background: linear-gradient(145deg, #C2E8EE 0%, #8BD7E6 100%);
}
.card-gold .portfolio-tag {
  color: var(--color-brand-deep);
  border: 1px solid rgba(4,12,95,0.18);
}
.card-gold .portfolio-card-title { color: var(--color-brand-deep); }
.card-gold .portfolio-card-sub   { color: rgba(4,12,95,0.6); }

.card-mid .portfolio-card-inner {
  background: linear-gradient(145deg, #0073B0 0%, #005a8a 100%);
}
.card-mid .portfolio-tag {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}
.card-mid .portfolio-card-title { color: #ffffff; }
.card-mid .portfolio-card-sub   { color: rgba(255,255,255,0.6); }

.card-light .portfolio-card-inner {
  background: linear-gradient(145deg, #EBEBEB 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
}
.card-light .portfolio-tag {
  color: var(--color-brand);
  border: 1px solid var(--color-border-strong);
}
.card-light .portfolio-card-title { color: var(--color-brand-deep); }
.card-light .portfolio-card-sub   { color: var(--color-text-soft); }

/* -----------------------------------------------------------
   17. FAQ / OBJECTIONS
   ----------------------------------------------------------- */
.faq-section {
  padding: var(--section-pad);
  background: var(--color-bg-soft);
}
.faq-header {
  margin-bottom: 56px;
  text-align: center;
}
.faq-headline {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.faq-headline em {
  font-style: normal;
  color: var(--color-brand);
}
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 20px;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  margin-bottom: 0;
  line-height: 1.4;
  -webkit-user-select: none;
  user-select: none;
}
.faq-answer-wrap > div {
  padding-top: 16px;
  padding-bottom: 4px;
}
.faq-answer {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* -----------------------------------------------------------
   18. CASES EM DESTAQUE
   ----------------------------------------------------------- */
.cases-section {
  padding: var(--section-pad);
  background: var(--color-bg-soft);
}
.cases-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.cases-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 8px 0 16px;
}
.cases-headline em {
  font-style: normal;
  color: var(--color-brand);
}
.cases-subhead {
  font-size: 1rem;
  color: var(--color-text-soft);
  line-height: 1.65;
  max-width: 560px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Case card ── */
.case-card {
  background: var(--color-fg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s var(--ease-smooth);
}
.case-card:hover {
  border-color: var(--color-brand);
}
.case-card--accent {
  background: var(--color-brand-deep);
  border-color: transparent;
}
.case-card--accent .case-tag,
.case-card--accent .case-sector,
.case-card--accent .case-teaser,
.case-card--accent .case-cta-link {
  color: rgba(255,255,255,0.7);
}
.case-card--accent .case-title {
  color: #ffffff;
}
.case-card--accent:hover {
  border-color: var(--color-accent);
}
.case-card--deep {
  background: var(--color-brand);
  border-color: transparent;
}
.case-card--deep .case-tag,
.case-card--deep .case-sector,
.case-card--deep .case-teaser,
.case-card--deep .case-cta-link {
  color: rgba(255,255,255,0.75);
}
.case-card--deep .case-title {
  color: #ffffff;
}
.case-card--deep:hover {
  border-color: var(--color-accent);
}
.case-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.case-tag {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  background: var(--color-surface-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.case-card--accent .case-tag,
.case-card--deep .case-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.case-sector {
  font-size: 0.78rem;
  color: var(--color-text-soft);
  font-weight: var(--fw-regular);
}
.case-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0;
}
.case-teaser {
  font-size: 0.92rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.case-cta-link {
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  transition: gap 0.2s ease;
}
.case-card:hover .case-cta-link {
  gap: 9px;
}

/* ── Case modal ── */
.csm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,12,95,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}
.csm-overlay.csm-open {
  opacity: 1;
  pointer-events: all;
}
.csm-box {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-smooth);
}
.csm-overlay.csm-open .csm-box {
  transform: translateY(0) scale(1);
}
.csm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
  transition: border-color 0.2s, color 0.2s;
}
.csm-close:hover { border-color: var(--color-accent); color: var(--color-heading); }
.csm-close:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; }
.csm-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}
.csm-scroll::-webkit-scrollbar { width: 4px; }
.csm-scroll::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }
.csm-header {
  padding: 48px 40px 32px;
  border-bottom: 1px solid var(--color-border);
}
.csm-tag {
  display: inline-block;
  margin-bottom: 12px;
}
.csm-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 6px;
}
.csm-sector {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin: 0;
}
.csm-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.csm-block-label {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 8px;
}
.csm-block-text {
  font-size: 0.97rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin: 0;
}
.csm-block-text strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}
.csm-resultado {
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.csm-resultado .csm-block-label { color: var(--color-brand-deep); }
.csm-resultado .csm-block-text { color: var(--color-brand-deep); }
.csm-footer {
  padding: 24px 40px 36px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.csm-footer-label {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .csm-header { padding: 40px 24px 24px; }
  .csm-body   { padding: 28px 24px; gap: 22px; }
  .csm-footer { padding: 20px 24px 32px; }
  .csm-overlay { padding: 0; align-items: flex-end; }
  .csm-box { max-height: 92dvh; border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .csm-overlay.csm-open .csm-box { transform: translateY(0); }
}

/* -----------------------------------------------------------
   19. SOBRE
   ----------------------------------------------------------- */
.about-section {
  padding: var(--section-pad);
  background: var(--color-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: start;
}
.about-headline {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  margin-top: 16px;
}
.about-avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.about-avatar-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-brand-deep);
  color: var(--color-fg-light);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-avatar-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-brand-deep);
}
.about-avatar-role {
  font-size: 0.8rem;
  color: var(--color-brand);
  margin-top: 2px;
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text-soft);
  font-weight: 400;
}
.about-body p + p { margin-top: 24px; }
.about-closing {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-style: italic;
  opacity: 0.75;
  margin-top: 28px !important;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.about-tag {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border: 1px solid var(--color-border-strong);
  color: var(--color-brand);
  background: rgba(0,115,176,0.05);
  border-radius: var(--radius-pill);
  font-weight: 500;
}

/* -----------------------------------------------------------
   18. CTA FINAL / CONTATO
   ----------------------------------------------------------- */
.cta-section {
  padding: 120px 0;
  background: var(--color-brand-deep);
  position: relative;
  overflow: hidden;
}
.cta-deco {
  position: absolute;
  bottom: 0; right: 0;
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 700;
  line-height: 0.8;
  color: #ffffff;
  opacity: 0.03;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transform: translate(10%, 20%);
}
.cta-inner {
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-top: 24px;
}
.cta-headline em {
  font-style: normal;
  color: var(--color-accent);
}
.cta-desc {
  max-width: 480px;
  margin: 24px auto 0;
  font-size: 1.05rem;
  line-height: 1.82;
  color: rgba(255,255,255,0.62);
  font-weight: 400;
}
.cta-promise {
  max-width: 420px;
  margin: 28px auto 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  font-style: italic;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* -----------------------------------------------------------
   19. FOOTER
   ----------------------------------------------------------- */
.footer {
  padding: 40px 0;
  background: var(--color-brand-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-links a {
  color: rgba(255,255,255,0.32);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-links svg { width: 18px; height: 18px; display: block; }

/* -----------------------------------------------------------
   20. BACK TO TOP
   ----------------------------------------------------------- */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 40;
  width: 44px; height: 44px;
  background: var(--color-brand);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth), background 0.25s ease;
  transform: translateY(8px);
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-card);
}
.back-top svg { width: 18px; height: 18px; }

/* -----------------------------------------------------------
   21. FORMATOS DE TRABALHO
   ----------------------------------------------------------- */

/* Seção wrapper */
.formatos-section {
  padding: 0;
  background: var(--color-bg);
}

/* ── Bloco introdutório ── */
.formatos-intro {
  padding: 100px 0 72px;
  max-width: 780px;
}
.formatos-headline {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--color-brand-deep);
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.formatos-headline em {
  font-style: normal;
  color: var(--color-brand);
}
.formatos-intro-body {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}
.formatos-intro-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* ── Grid de cards ── */
.formatos-grid-wrapper {
  background: var(--color-bg-soft);
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.formatos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Card base */
.formato-card {
  padding: 40px 36px 44px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.formato-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

/* Card destaque — Site de Marca */
.formato-card--featured {
  background: var(--color-brand-deep);
  border-color: var(--color-brand-deep);
}
.formato-card--featured:hover {
  background: #050e6b;
  border-color: #050e6b;
  box-shadow: 0 24px 48px rgba(4,12,95,0.25);
}
.formato-card--featured .formato-num,
.formato-card--featured .formato-title,
.formato-card--featured .formato-ideal,
.formato-card--featured .formato-body p {
  color: var(--color-fg-light);
}
.formato-card--featured .formato-num {
  color: var(--color-accent);
}
.formato-card--featured .formato-body p {
  color: rgba(255,255,255,0.65);
}
.formato-card--featured .formato-ideal {
  color: rgba(255,255,255,0.55);
}

/* Topo do card */
.formato-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.formato-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.formato-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand);
  border: 1px solid var(--color-border-strong);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.formato-tag--light {
  color: var(--color-accent);
  border-color: rgba(0,173,207,0.35);
}

/* Título */
.formato-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brand-deep);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* Linha ideal — tom mais suave */
.formato-ideal {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-soft);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Separador sutil */
.formato-body {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.formato-card--featured .formato-body {
  border-top-color: rgba(255,255,255,0.12);
}
.formato-body p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* Linha de preço e prazo */
.formato-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.01em;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.formato-card--featured .formato-price {
  color: var(--color-accent);
  border-top-color: rgba(255,255,255,0.12);
}

/* ── Bloco conceitual final ── */
.formatos-conceito {
  padding: 80px 0 64px;
  max-width: 720px;
}
.formatos-conceito-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-brand-deep);
  letter-spacing: -0.02em;
}
.formatos-conceito-title em {
  font-style: normal;
  color: var(--color-brand);
}
.formatos-conceito-body {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.formatos-conceito-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-soft);
  font-weight: 400;
}

/* ── Decos gráficos em #formatos (desktop-only) ── */
.fi-container, .fc-container { position: relative; }

.fi-deco, .fc-deco {
  display: none;
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}
.fi-deco         { width: 270px; height: 200px; }
.fc-deco         { width: 240px; height: 180px; right: -8px; }
.fi-deco.visible,
.fc-deco.visible { opacity: 1; }

/* SVG elementos — estado inicial */
.fi-path, .fc-line           { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fi-dot, .fi-arrow           { opacity: 0; }
.fc-node, .fc-center         { opacity: 0; }
.fc-ring                     { opacity: 0; }

/* Sequência de animação — formatos-intro */
.fi-deco.visible .fi-dot:nth-child(1) { animation: nodeAppear 0.4s var(--ease-smooth) 0.10s forwards; }
.fi-deco.visible .fi-dot:nth-child(2) { animation: nodeAppear 0.4s var(--ease-smooth) 0.15s forwards; }
.fi-deco.visible .fi-dot:nth-child(3) { animation: nodeAppear 0.4s var(--ease-smooth) 0.20s forwards; }
.fi-deco.visible .fi-path--1          { animation: pathDraw   1.1s var(--ease-smooth) 0.30s forwards; }
.fi-deco.visible .fi-path--2          { animation: pathDraw   1.1s var(--ease-smooth) 0.50s forwards; }
.fi-deco.visible .fi-path--3          { animation: pathDraw   1.1s var(--ease-smooth) 0.70s forwards; }
.fi-deco.visible .fi-arrow            { animation: nodeAppear 0.5s var(--ease-smooth) 0.90s forwards; }

/* Sequência de animação — formatos-conceito */
.fc-deco.visible .fc-node:nth-child(1)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.10s forwards; }
.fc-deco.visible .fc-node:nth-child(2)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.17s forwards; }
.fc-deco.visible .fc-node:nth-child(3)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.24s forwards; }
.fc-deco.visible .fc-node:nth-child(4)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.31s forwards; }
.fc-deco.visible .fc-node:nth-child(5)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.38s forwards; }
.fc-deco.visible .fc-node:nth-child(6)  { animation: nodeAppear 0.4s var(--ease-smooth) 0.45s forwards; }
.fc-deco.visible .fc-line:nth-child(7)  { animation: pathDraw   0.9s var(--ease-smooth) 0.50s forwards; }
.fc-deco.visible .fc-line:nth-child(8)  { animation: pathDraw   0.9s var(--ease-smooth) 0.57s forwards; }
.fc-deco.visible .fc-line:nth-child(9)  { animation: pathDraw   0.9s var(--ease-smooth) 0.64s forwards; }
.fc-deco.visible .fc-line:nth-child(10) { animation: pathDraw   0.9s var(--ease-smooth) 0.71s forwards; }
.fc-deco.visible .fc-line:nth-child(11) { animation: pathDraw   0.9s var(--ease-smooth) 0.78s forwards; }
.fc-deco.visible .fc-line:nth-child(12) { animation: pathDraw   0.9s var(--ease-smooth) 0.85s forwards; }
.fc-deco.visible .fc-center             { animation: nodeAppear 0.5s var(--ease-smooth) 0.95s forwards; }
.fc-deco.visible .fc-ring               { animation: nodeAppear 0.5s var(--ease-smooth) 1.05s forwards, hvPulse 2.5s ease-in-out 1.55s infinite; }

/* Ponto flutuante do intro */
.fi-float-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.35;
  top: 12px; right: 4px;
  animation: hvFloat 4.5s ease-in-out infinite;
}

/* Keyframes */
@keyframes pathDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes nodeAppear {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .fi-path, .fc-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .fi-dot, .fi-arrow, .fc-node, .fc-center, .fc-ring,
  .fi-float-dot      { opacity: 1 !important; animation: none !important; transform: none !important; }
}

@media (min-width: 1060px) {
  .fi-deco, .fc-deco { display: block; }
}

/* ── CTA da seção ── */
.formatos-cta {
  padding: 48px 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid var(--color-border);
}
.formatos-cta-text { flex: 1; min-width: 0; }
.formatos-cta-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-brand-deep);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.formatos-cta-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  font-weight: 400;
}
.formatos-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* -----------------------------------------------------------
   21A. EM DESENVOLVIMENTO
   ----------------------------------------------------------- */
.future-layer-section {
  padding: 0 0 96px;
  background: var(--color-bg);
}
.future-layer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 430px);
  gap: 36px 32px;
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(0, 173, 207, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(0, 115, 176, 0.03) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(194, 232, 238, 0.22) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.future-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 115, 176, 0.08), transparent 18%, transparent 82%, rgba(0, 173, 207, 0.08));
  pointer-events: none;
}
.future-layer-copy,
.future-layer-aside {
  position: relative;
  z-index: 1;
}
.future-layer-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}
.future-layer-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin: 0 0 18px;
}
.future-layer-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-brand-deep);
  max-width: 11ch;
  margin: 0 0 22px;
}
.future-layer-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  max-width: 62ch;
}
.future-layer-desc + .future-layer-desc {
  margin-top: 14px;
}
.future-layer-aside {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.future-layer-highlight,
.future-layer-point {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 115, 176, 0.10);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  min-height: 118px;
}
.future-layer-highlight {
  padding: 24px 24px 22px;
  box-shadow: 0 14px 34px rgba(4, 12, 95, 0.05);
}
.future-layer-highlight-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 14px;
}
.future-layer-highlight-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(0, 173, 207, 0.10);
}
.future-layer-highlight-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--color-brand-deep);
  margin-bottom: 10px;
}
.future-layer-highlight-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-soft);
}
.future-layer-points {
  display: contents;
}
.future-layer-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
}
.future-layer-point-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--color-brand);
  padding-top: 2px;
}
.future-layer-point p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--color-brand-deep);
  margin: 0;
}
.future-layer-point-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-text-soft);
  margin: 4px 0 0;
}
.future-layer-cta {
  margin-top: 28px;
}
.future-layer-headline em {
  font-style: normal;
  background: linear-gradient(125deg, var(--color-brand) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.future-layer > .fl-chat-visual {
  display: block;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: stretch;
  width: 100%;
  margin-top: 14px;
}

.future-layer-aside > .fl-chat-visual {
  display: none;
}

/* -----------------------------------------------------------
   Em Desenvolvimento — Chat visual animado
   ----------------------------------------------------------- */
@keyframes flMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes flTypingDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; }
  40%           { transform: scale(1);   opacity: 1; }
}
@keyframes flMsgSeq1 {
  0%, 2.5% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  5%, 96% { opacity: 1; transform: translateY(0); max-height: 160px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flTypingSeq2 {
  0%, 8.5% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  10%, 14% { opacity: 1; transform: translateY(0); max-height: 48px; padding-top: 9px; padding-bottom: 9px; margin-top: var(--fl-stack-gap, 10px); }
  15%, 100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq3 {
  0%, 13% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  15%, 96% { opacity: 1; transform: translateY(0); max-height: 160px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq4 {
  0%, 25% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  27%, 96% { opacity: 1; transform: translateY(0); max-height: 160px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flTypingSeq5 {
  0%, 31.5% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  33%, 37% { opacity: 1; transform: translateY(0); max-height: 48px; padding-top: 9px; padding-bottom: 9px; margin-top: var(--fl-stack-gap, 10px); }
  38%, 100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq6 {
  0%, 36% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  38%, 96% { opacity: 1; transform: translateY(0); max-height: 170px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq7 {
  0%, 50% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  52%, 96% { opacity: 1; transform: translateY(0); max-height: 160px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flTypingSeq8 {
  0%, 56.5% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  58%, 62% { opacity: 1; transform: translateY(0); max-height: 48px; padding-top: 9px; padding-bottom: 9px; margin-top: var(--fl-stack-gap, 10px); }
  63%, 100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq9 {
  0%, 61% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  63%, 96% { opacity: 1; transform: translateY(0); max-height: 250px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq10 {
  0%, 74% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  76%, 96% { opacity: 1; transform: translateY(0); max-height: 160px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flTypingSeq11 {
  0%, 80.5% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  82%, 86% { opacity: 1; transform: translateY(0); max-height: 48px; padding-top: 9px; padding-bottom: 9px; margin-top: var(--fl-stack-gap, 10px); }
  87%, 100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flMsgSeq12 {
  0%, 85% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
  87%, 96% { opacity: 1; transform: translateY(0); max-height: 170px; padding-top: 7px; padding-bottom: 7px; margin-top: var(--fl-stack-gap, 10px); }
  100% { opacity: 0; transform: translateY(8px); max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
}
@keyframes flBadgeLoop {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  12%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

.fl-chat-visual {
  --fl-loop-duration: 25s;
  position: relative;
  border-radius: 12px;
  overflow: visible;
  border: 1px solid rgba(0, 115, 176, 0.12);
  background: rgba(245, 250, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.fl-chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 115, 176, 0.07);
  border-bottom: 1px solid rgba(0, 115, 176, 0.10);
  border-radius: 12px 12px 0 0;
}
.fl-chat-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-brand) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 115, 176, 0.15);
  will-change: box-shadow;
  animation: hvPulse 3s ease-in-out 2s infinite;
}
.fl-chat-info { display: flex; flex-direction: column; gap: 1px; }
.fl-chat-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-brand-deep);
  line-height: 1.2;
}
.fl-chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  color: #1a9e35;
  letter-spacing: 0.01em;
}
.fl-chat-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 5px rgba(40, 200, 64, 0.5);
  will-change: opacity, transform;
  animation: hvPulse 2s ease-in-out 1.5s infinite;
}
.fl-chat-body {
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 510px;
  overflow: hidden;
}
.fl-msg {
  --fl-stack-gap: 10px;
  max-width: 82%;
  padding: 0 11px;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  animation-duration: var(--fl-loop-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.fl-msg--user {
  align-self: flex-end;
  background: var(--color-brand);
  color: #ffffff;
  border-bottom-right-radius: 3px;
}
.fl-msg--agent {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-brand-deep);
  border: 1px solid rgba(0, 115, 176, 0.10);
  border-bottom-left-radius: 3px;
}
.fl-msg--schedule {
  max-width: 88%;
}
.fl-schedule-label,
.fl-schedule-grid,
.fl-schedule-note {
  display: block;
}
.fl-schedule-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 8px;
}
.fl-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
.fl-schedule-slot {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(0, 173, 207, 0.08);
  border: 1px solid rgba(0, 115, 176, 0.10);
  text-align: center;
}
.fl-schedule-day {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand);
}
.fl-schedule-time {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-brand-deep);
}
.fl-schedule-note {
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--color-text-soft);
}
.fl-typing {
  --fl-stack-gap: 10px;
  align-self: flex-start;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 115, 176, 0.10);
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  animation-duration: var(--fl-loop-duration);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.fl-seq-1  { --fl-stack-gap: 0; animation-name: flMsgSeq1; }
.fl-seq-2  { animation-name: flTypingSeq2; }
.fl-seq-3  { animation-name: flMsgSeq3; }
.fl-seq-4  { animation-name: flMsgSeq4; }
.fl-seq-5  { animation-name: flTypingSeq5; }
.fl-seq-6  { animation-name: flMsgSeq6; }
.fl-seq-7  { animation-name: flMsgSeq7; }
.fl-seq-8  { animation-name: flTypingSeq8; }
.fl-seq-9  { animation-name: flMsgSeq9; }
.fl-seq-10 { animation-name: flMsgSeq10; }
.fl-seq-11 { animation-name: flTypingSeq11; }
.fl-seq-12 { animation-name: flMsgSeq12; }
.fl-typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-text-soft);
  animation: flTypingDot 1.3s ease-in-out infinite;
}
.fl-typing span:nth-child(2) { animation-delay: 0.2s; }
.fl-typing span:nth-child(3) { animation-delay: 0.4s; }
.fl-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-brand-deep);
  border-radius: 10px;
  padding: 8px 13px;
  box-shadow: var(--shadow-card);
  will-change: transform, opacity;
  opacity: 0;
  animation:
    flBadgeLoop var(--fl-loop-duration) linear infinite,
    hvFloat 4.5s ease-in-out infinite;
}
.fl-badge-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.fl-badge-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* -----------------------------------------------------------
   22. RESPONSIVIDADE
   Breakpoints:
     - 1024px: tablet landscape / desktop pequeno
     -  768px: tablet portrait / mobile grande
     -  480px: mobile médio
     -  360px: mobile pequeno
   ----------------------------------------------------------- */

/* ── 1024px — tablet landscape ─────────────────────────── */
@media (max-width: 1024px) {

  /* Container */
  .container      { padding: 0 40px; }
  .nav-inner      { padding: 0 40px; }
  .section-divider { padding: 0 40px; }

  /* Serviços: 2 colunas */
  .services-grid  { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Processo: 2 colunas, remove conectores */
  .process-grid   { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
  .process-step:not(:last-child)::after { display: none; }

  /* Diferenciais: 2 colunas */
  .diff-grid      { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* Sobre: proporção ajustada */
  .about-grid     { grid-template-columns: 5fr 7fr; gap: 48px; }

  /* ── Formatos: 2 colunas ── */
  .formatos-grid        { grid-template-columns: repeat(2, 1fr); }
  .formatos-intro-body  { grid-template-columns: 1fr; gap: 16px; }
  .formatos-cta         { flex-direction: column; align-items: flex-start; gap: 32px; }
  .formatos-cta-actions { flex-wrap: wrap; }
  .future-layer         { grid-template-columns: 1fr; gap: 24px; }
  .future-layer-headline { max-width: 100%; }
  .future-layer-aside   { grid-template-columns: 1fr; margin-top: 0; }
  .future-layer-points  { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .future-layer > .fl-chat-visual {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 430px);
    margin-top: 2px;
  }
  .fl-chat-body {
    min-height: 0;
  }
}

/* ── 768px — tablet portrait / mobile grande ────────────── */
@media (max-width: 768px) {

  /* Tokens */
  :root { --section-pad: 72px 0; }

  /* Container */
  .container       { padding: 0 24px; }
  .nav-inner       { padding: 0 24px; }
  .section-divider { padding: 0 24px; }

  /* ── Nav ── */
  .nav-links     { display: none; }
  .nav-cta       { display: none; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-mobile    { padding: 0 24px 24px; }

  /* ── Hero ── */
  .hero          { padding: 116px 0 64px; }
  .hero-deco     { display: none; }
  .hero-sub      { font-size: 1.05rem; }
  .hero-stats    { gap: 20px; }

  /* ── Proposta de valor ── */
  .value-grid    { grid-template-columns: 1fr; gap: 28px; }

  /* ── Serviços ── */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card  { padding: 28px 24px; }

  /* ── Processo ── */
  .process-grid  { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .process-step  { text-align: left; }
  .process-num   { margin: 0 0 16px 0; }

  /* ── Diferenciais ── */
  .diff-grid     { grid-template-columns: 1fr; gap: 24px; }

  /* ── Portfólio ── */
  .portfolio-card { width: 280px; }

  /* ── Sobre ── */
  .about-grid    { grid-template-columns: 1fr; gap: 36px; }

  /* ── CTA ── */
  .cta-section   { padding: 88px 0; }
  .cta-actions   { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer-inner  { flex-direction: column; gap: 20px; text-align: center; }

  /* ── Back to top ── */
  .back-top { bottom: 20px; right: 16px; }

  /* ── Formatos ── */
  .formatos-intro       { padding: 72px 0 48px; }
  .formatos-intro-body  { grid-template-columns: 1fr; gap: 14px; }
  .formatos-grid        { grid-template-columns: 1fr; gap: 0; }
  .formato-card         { padding: 32px 24px 36px; }
  .formatos-conceito    { padding: 56px 0 40px; }
  .formatos-cta         { flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 40px; padding-bottom: 72px; }
  .formatos-cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .formatos-cta-actions .btn { width: 100%; justify-content: center; }
  .future-layer-section { padding: 0 0 72px; }
  .future-layer         { padding: 28px 24px; border-radius: var(--radius-md); }
  .future-layer-kicker  { margin-bottom: 14px; }
  .future-layer-desc    { font-size: 0.98rem; line-height: 1.72; }
  .future-layer-highlight,
  .future-layer-point   { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── 480px — mobile médio ───────────────────────────────── */
@media (max-width: 480px) {

  /* Tokens */
  :root { --section-pad: 56px 0; }

  /* Container */
  .container       { padding: 0 20px; }
  .nav-inner       { padding: 0 20px; }
  .section-divider { padding: 0 20px; }
  .nav-mobile      { padding: 0 20px 20px; }

  /* ── Hero ── */
  .hero          { padding: 108px 0 56px; }
  .hero-badge    { font-size: 0.65rem; padding: 7px 12px; }
  .hero-sub      { font-size: 1rem; }
  .hero-actions  { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats    { flex-direction: column; gap: 14px; }
  .hero-stat-divider { display: none; }
  .hero-stat-item { justify-content: flex-start; }
  .hero-segments { gap: 6px; }
  .hero-segment  { font-size: 0.72rem; }

  /* ── Processo ── */
  .process-grid  { grid-template-columns: 1fr; gap: 28px; }

  /* ── Portfólio ── */
  .portfolio-card { width: 260px; }

  /* ── Sobre: tags ── */
  .about-tags    { gap: 8px; }
  .about-tag     { font-size: 0.72rem; padding: 6px 10px; }

  /* ── CTA ── */
  .cta-section   { padding: 72px 0; }
  .cta-deco      { display: none; }

  /* ── Formatos ── */
  .formato-card  { padding: 28px 20px 32px; }
  .formatos-conceito-title { font-size: 1.2rem; }
}

/* ── 360px — mobile pequeno ─────────────────────────────── */
@media (max-width: 360px) {

  /* Container */
  .container       { padding: 0 16px; }
  .nav-inner       { padding: 0 16px; }
  .nav-mobile      { padding: 0 16px 20px; }

  /* Hero */
  .hero { padding: 100px 0 48px; }

  /* Portfólio */
  .portfolio-card { width: 240px; }
}
