/* =====================================================================
   AVANÇO — Design System v2026
   Conceito: Editorial tech, produtividade visual, sofisticação B2B.
   ===================================================================== */

:root {
  /* ---- Brand ---- */
  --blue: #2C3D82;
  --blue-950: #243271;
  --blue-800: #2C3D82;
  --blue-700: #324592;
  --blue-600: #3B4FAE;
  --blue-300: #8F9DD6;
  --blue-100: #E5E9F6;

  --lime: #BFD554;
  --lime-dark: #96C43F;
  --lime-glow: #D9ED7D;

  --ink: #18191A;
  --graphite: #444444;
  --smoke: #898989;
  --silver: #CCCCCC;
  --alabaster: #F8F8F8;
  --paper: #FFFFFF;

  /* ---- Semantic ---- */
  --bg: #FFFFFF;
  --bg-alt: #F8F8F8;
  --bg-invert: #243271;
  --text: #18191A;
  --text-soft: #444444;
  --text-mute: #898989;
  --line: #ECECEC;
  --accent: #BFD554;

  /* ---- Type ---- */
  --f-display: "Titillium Web", system-ui, sans-serif;
  --f-body: "Open Sans", system-ui, sans-serif;

  /* ---- Scale ---- */
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  --step-3:  clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4.2rem);
  --step-5:  clamp(3rem, 2.1rem + 4.4vw, 5.8rem);
  --step-6:  clamp(3.6rem, 2.3rem + 6vw, 7.8rem);

  /* ---- Spacing ---- */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;

  /* ---- Radius ---- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-1: 220ms;
  --dur-2: 480ms;
  --dur-3: 900ms;

  /* ---- Shadow ---- */
  --sh-1: 0 1px 2px rgba(23,31,68,.06), 0 2px 8px rgba(23,31,68,.04);
  --sh-2: 0 8px 24px -8px rgba(23,31,68,.16), 0 2px 6px rgba(23,31,68,.05);
  --sh-3: 0 28px 60px -20px rgba(23,31,68,.35);
  --sh-glow: 0 0 0 1px rgba(191,213,84,.35), 0 12px 40px -10px rgba(191,213,84,.4);

  /* ---- Container ---- */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

/* =====================================================================
   Reset + base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "ss01","cv05","ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--lime); color: var(--blue-950); }

/* Focus — accessibility */
:focus-visible {
  outline: 2px solid var(--lime-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================================
   Typography
   ===================================================================== */
.display, h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.display-xxl {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--step-6);
  line-height: .95;
  letter-spacing: -0.03em;
}
.display-xl {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--step-5);
  line-height: .98;
  letter-spacing: -0.028em;
}
h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.028em; }
h2 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.024em; }
h3 { font-size: var(--step-3); font-weight: 600; }
h4 { font-size: var(--step-2); font-weight: 600; }
h5 { font-size: var(--step-1); font-weight: 600; }

p { max-width: 64ch; }
.lead {
  font-family: var(--f-body);
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-soft);
  max-width: 52ch;
}
.eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--lime-dark);
  display: inline-block;
}
.eyebrow.light { color: var(--lime); }
.eyebrow.light::before { background: var(--lime); }

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-feature-settings: "tnum","zero";
}

/* =====================================================================
   Layout helpers
   ===================================================================== */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container-wide {
  width: min(100% - var(--gutter) * 2, 1440px);
  margin-inline: auto;
}
section { padding: clamp(4rem, 8vw, 8rem) 0; position: relative; }
section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.grid { display: grid; gap: var(--space-3); }
.stack > * + * { margin-top: var(--space-3); }

.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--blue-950); color: var(--paper); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--paper); }
.bg-dark .lead, .bg-dark p { color: rgba(255,255,255,.8); }
.bg-dark .eyebrow { color: var(--lime); }
.bg-dark .eyebrow::before { background: var(--lime); }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.6rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur-1) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--lime);
  color: var(--blue-950);
  box-shadow: var(--sh-glow);
}
.btn-primary:hover {
  background: var(--lime-glow);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--lime), 0 20px 50px -12px rgba(191,213,84,.55);
}

.btn-dark {
  background: var(--blue-950);
  color: var(--paper);
}
.btn-dark:hover { background: var(--blue-800); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--blue-950);
  border: 1.5px solid currentColor;
}
.btn-ghost:hover { background: var(--blue-950); color: var(--paper); }

.bg-dark .btn-ghost { color: var(--paper); }
.bg-dark .btn-ghost:hover { background: var(--paper); color: var(--blue-950); }

/* White WhatsApp / ghost button on dark sections (hero, closing) */
.hero .btn-ghost,
.closing .btn-ghost,
.support-card .btn-ghost,
.page-hero .btn-ghost {
  background: #fff;
  color: var(--blue-950);
  border-color: #fff;
}
.hero .btn-ghost:hover,
.closing .btn-ghost:hover,
.support-card .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  background: var(--lime);
  color: var(--blue-950);
  border-color: var(--lime);
}

.btn-whats {
  background: #25D366;
  color: #fff;
}
.btn-whats:hover { background: #1ebe58; transform: translateY(-2px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--blue);
  position: relative;
  padding-bottom: 2px;
}
.btn-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--dur-1) var(--ease);
}
.btn-link:hover::after { transform: scaleX(1.08); }
.btn-link svg { width: 14px; height: 14px; transition: transform var(--dur-1) var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 1rem 0;
  transition: background var(--dur-2) var(--ease), backdrop-filter var(--dur-2) var(--ease), padding var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: .55rem 0;
  box-shadow: 0 1px 0 rgba(23,31,68,.06), 0 8px 24px -12px rgba(23,31,68,.12);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity var(--dur-1) var(--ease);
}
.brand-logo.is-light { display: none; }
.site-header:not(.scrolled) .brand-logo.is-dark { display: none; }
.site-header:not(.scrolled) .brand-logo.is-light { display: block; }

/* Menu colors switch based on scrolled state (header bg) */
.site-header:not(.scrolled) .nav-item > a,
.site-header:not(.scrolled) .nav-item > button,
.site-header:not(.scrolled) .login-link {
  color: #fff;
}
.site-header.scrolled .nav-item > a,
.site-header.scrolled .nav-item > button,
.site-header.scrolled .login-link {
  color: var(--blue-950);
}
.site-header:not(.scrolled) .nav-item > a:hover,
.site-header:not(.scrolled) .nav-item > button:hover { color: var(--lime); }
.site-header.scrolled .nav-item > a:hover,
.site-header.scrolled .nav-item > button:hover { color: var(--blue); }

/* Burger color switches with scroll state */
.site-header:not(.scrolled) .burger { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.site-header.scrolled .burger { background: var(--blue-950); color: var(--paper); border: 0; }

/* Login link hover */
.site-header:not(.scrolled) .login-link:hover { background: rgba(255,255,255,.12); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--blue-950);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 0;
  position: relative;
  transition: color var(--dur-1) var(--ease);
}
.nav-item > a:hover, .nav-item > button:hover { color: var(--blue); }
.nav-item .caret {
  width: 10px; height: 10px;
  transition: transform var(--dur-1) var(--ease);
}
.nav-item:hover .caret,
.nav-item:focus-within .caret { transform: rotate(180deg); }

/* Sub-menu signature: subtle underline on items that have a dropdown */
.nav-item.has-sub > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: currentColor;
  opacity: .25;
  border-radius: 2px;
  transform-origin: left;
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.nav-item.has-sub:hover > button::after,
.nav-item.has-sub:focus-within > button::after {
  opacity: .9;
  transform: scaleX(1.05);
}
.nav-item.has-sub > button::after { display: none; }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: .6rem;
  min-width: 230px;
  box-shadow: var(--sh-3);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), visibility var(--dur-1);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .7rem .9rem;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--blue-950);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.dropdown a:hover { background: var(--alabaster); color: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.login-link {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-950);
  padding: .5rem 1rem;
  border-radius: 999px;
  transition: background var(--dur-1) var(--ease);
}
.login-link:hover { background: var(--alabaster); }

.burger {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-950);
  color: var(--paper);
  display: none;
  place-items: center;
  position: relative;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform var(--dur-1) var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-1) var(--ease), top var(--dur-1) var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--blue-950);
  color: var(--paper);
  z-index: 70;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-2) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu .sub {
  padding-left: 1rem;
  border-left: 2px solid var(--lime);
  margin: .5rem 0 1rem;
}
.mobile-menu .sub a {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border: 0;
  padding: .4rem 0;
}
.mobile-menu .mobile-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* =====================================================================
   Hero — Home
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(7rem, 15vh, 10rem) 0 clamp(3rem, 8vw, 6rem);
  background: radial-gradient(ellipse at 20% 0%, #3B4FAE 0%, #2C3D82 55%, #243271 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(191,213,84,.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(59,79,174,.35), transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .25;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--lime); }
.hero-copy .eyebrow::before { background: var(--lime); }
.hero h1 {
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.6rem);
  color: var(--paper);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin-top: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  opacity: .6;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: var(--step-1);
  color: rgba(255,255,255,.85);
  font-weight: 300;
  line-height: 1.5;
  max-width: 52ch;
}
.hero-ctas {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-badges {
  margin-top: 2.4rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,.8);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .85rem;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-badges li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(191,213,84,.18);
}

/* Hero mockup */
.hero-visual {
  position: relative;
  perspective: 1400px;
}
.mock-frame {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, #E5E9F6, #fff);
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,.55),
    0 30px 50px -20px rgba(23,31,68,.6),
    inset 0 0 0 1px rgba(255,255,255,.6);
  padding: 14px;
  transform: rotateY(-8deg) rotateX(6deg) rotate(-1.5deg);
  transform-style: preserve-3d;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotateY(-8deg) rotateX(6deg) rotate(-1.5deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(6deg) rotate(-1.5deg) translateY(-12px); }
}
.mock-screen {
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.mock-topbar {
  height: 32px;
  background: linear-gradient(180deg, #F8F8F8, #ECEDF2);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #D9DCE5; }
.mock-dot.r { background: #ED6A5E; }
.mock-dot.y { background: #F5BE4F; }
.mock-dot.g { background: #61C554; }

.mock-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  height: calc(100% - 32px);
}
.mock-side {
  background: var(--blue-950);
  border-radius: 14px;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mock-side i {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: block;
}
.mock-side i.act { background: var(--lime); }

.mock-main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}
.mock-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-card {
  background: var(--alabaster);
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 62px;
  position: relative;
}
.mock-card::before {
  content: "";
  display: block;
  width: 36%;
  height: 7px;
  border-radius: 3px;
  background: rgba(23,31,68,.12);
}
.mock-card::after {
  content: "";
  display: block;
  margin-top: 8px;
  width: 70%;
  height: 14px;
  border-radius: 4px;
  background: var(--blue-950);
}
.mock-card.lime::after { background: var(--lime-dark); }
.mock-card.ghost::after { background: var(--silver); width: 55%; }
.mock-chart {
  background: linear-gradient(180deg, #fff, #F2F4FC);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.05);
  padding: 14px;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.mock-chart svg { width: 100%; height: 100%; display: block; }

/* Floating badges */
.float-badge {
  position: absolute;
  background: #fff;
  color: var(--blue-950);
  padding: .9rem 1.1rem;
  border-radius: 16px;
  box-shadow: var(--sh-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  animation: hover 6s ease-in-out infinite;
}
.float-badge .ico {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--lime); color: var(--blue-950);
  display: grid; place-items: center;
}
.float-badge small { display: block; font-size: .7rem; color: var(--smoke); font-weight: 500; letter-spacing: 0; }
.float-badge.tl { top: 12%; left: -4%; animation-delay: .3s; }
.float-badge.br { bottom: 10%; right: -6%; animation-delay: 1.1s; }
.float-badge.tr { top: 4%; right: -3%; animation-delay: .6s; }
.float-badge.ml { top: 48%; left: -8%; animation-delay: .9s; }
.float-badge.bl { bottom: 22%; left: -7%; animation-delay: 1.4s; }

/* Tag-style float badge (smaller, single-line) used for AI/cloud tags */
.float-tag {
  position: absolute;
  background: #fff;
  color: var(--blue-950);
  padding: .55rem .9rem;
  border-radius: 999px;
  box-shadow: 0 18px 40px -16px rgba(23,31,68,.45);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  animation: hover 6s ease-in-out infinite;
}
.float-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime-dark);
  box-shadow: 0 0 0 4px rgba(191,213,84,.25);
}
.float-tag.t1 { top: 4%; right: -2%; animation-delay: .4s; }
.float-tag.t2 { top: 32%; right: -8%; animation-delay: 1s; }
.float-tag.t3 { bottom: 32%; right: -6%; animation-delay: 1.5s; }
@keyframes hover {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-8px) rotate(-1.5deg); }
}
.float-badge.br { animation-name: hover2; }
@keyframes hover2 {
  0%,100% { transform: translateY(0) rotate(2deg); }
  50%     { transform: translateY(-6px) rotate(2.6deg); }
}

/* Marquee ticker under hero */
.ticker {
  background: var(--blue-950);
  color: rgba(255,255,255,.85);
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  animation: ticker 40s linear infinite;
  width: max-content;
  align-items: center;
}
.ticker-track span {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  white-space: nowrap;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  color: rgba(255,255,255,.85);
}
.ticker-track span::after {
  content: "✦";
  color: var(--lime);
  font-size: .9rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   Segments
   ===================================================================== */
.segments-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: var(--space-5);
}
.segments-head h2 { max-width: 20ch; }
.segments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.segment-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.6rem 1.3rem 4.6rem;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.segment-card::after {
  content: "→";
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-950);
  color: var(--paper);
  transition: transform var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
  font-size: 1rem;
}
.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: transparent;
}
.segment-card:hover::after { background: var(--lime); color: var(--blue-950); transform: translate(4px, -4px); }
.segment-card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--alabaster);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.segment-card h3 {
  font-size: 1.35rem;
  color: var(--blue-950);
  letter-spacing: -.02em;
}
.segment-card p {
  color: var(--text-mute);
  font-size: .92rem;
}

/* =====================================================================
   Features — killing features
   ===================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-top: 1px dashed var(--line);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature.reverse .feature-media { order: 2; }

.feature-media {
  position: relative;
  border-radius: var(--r-lg);
  aspect-ratio: 5/4;
  overflow: hidden;
  background: linear-gradient(135deg, #F2F4FC, #E8ECF6);
  box-shadow: var(--sh-2);
  display: grid;
  place-items: center;
}
.feature-media .placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(44,61,130,.06), rgba(191,213,84,.08)),
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(23,31,68,.04) 20px 21px);
  display: grid;
  place-items: center;
}
.feature-media .badge-live {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(23,31,68,.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.feature-media .badge-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.3); opacity: .6; }
}

.feature-copy .step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: var(--blue-950);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -10px rgba(150,196,63,.55);
  margin-bottom: .25rem;
}
.feature-copy .step-icon svg { width: 32px; height: 32px; }
.feature-copy h3 {
  margin-top: .8rem;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  color: var(--blue-950);
}
.feature-copy p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}
.feature-copy .btn-link { margin-top: 1.4rem; }

/* Feature demo illustrations (CSS-only substitute for GIFs) */
.demo {
  position: relative;
  width: 86%;
  aspect-ratio: 16/11;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px -22px rgba(23,31,68,.35);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-head { display:flex; gap:6px; align-items:center; padding-bottom:8px; border-bottom:1px solid var(--line); }
.demo-head .d { width:9px; height:9px; border-radius:50%; background:#D9DCE5; }
.demo-head .title { margin-left: auto; font-family: var(--f-display); font-weight: 700; font-size: .75rem; color: var(--smoke); }

.typing-line {
  height: 16px;
  border-radius: 5px;
  background: var(--alabaster);
  position: relative;
  overflow: hidden;
}
.typing-line::after {
  content:"";
  position: absolute;
  top:0; left:0; bottom:0;
  width: 0;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-600));
  animation: type 3.5s var(--ease-out) infinite;
}
@keyframes type {
  0% { width: 0; }
  45% { width: 100%; }
  55% { width: 100%; }
  100% { width: 0; }
}
.typing-line.short::after { animation-delay: .2s; }
.typing-line.lime::after { background: linear-gradient(90deg, var(--lime-dark), var(--lime)); }

.demo-chart {
  margin-top:auto;
  height: 72px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  align-items: end;
}
.demo-chart span {
  background: var(--blue-100);
  border-radius: 3px;
  animation: grow 3s var(--ease-out) infinite;
}
.demo-chart span:nth-child(3n) { background: var(--lime); }
@keyframes grow {
  0%,100% { height: 30%; }
  50%     { height: 100%; }
}
.demo-chart span:nth-child(1) { animation-delay: 0s }
.demo-chart span:nth-child(2) { animation-delay: .1s }
.demo-chart span:nth-child(3) { animation-delay: .2s }
.demo-chart span:nth-child(4) { animation-delay: .3s }
.demo-chart span:nth-child(5) { animation-delay: .4s }
.demo-chart span:nth-child(6) { animation-delay: .5s }
.demo-chart span:nth-child(7) { animation-delay: .6s }
.demo-chart span:nth-child(8) { animation-delay: .7s }
.demo-chart span:nth-child(9) { animation-delay: .8s }
.demo-chart span:nth-child(10) { animation-delay: .9s }
.demo-chart span:nth-child(11) { animation-delay: 1s }
.demo-chart span:nth-child(12) { animation-delay: 1.1s }

.demo-counter {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--blue-950);
  letter-spacing: -0.04em;
  line-height: 1;
}
.demo-sub { color: var(--text-mute); font-size:.8rem; }

.demo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.demo-badges span {
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-family: var(--f-display);
  font-weight: 700;
  background: var(--blue-100);
  color: var(--blue);
  animation: popin .45s var(--ease-out) both;
}
.demo-badges span:nth-child(1) { animation-delay: .1s; background: var(--lime); color: var(--blue-950); }
.demo-badges span:nth-child(2) { animation-delay: .35s; }
.demo-badges span:nth-child(3) { animation-delay: .6s; background: var(--lime); color: var(--blue-950); }
.demo-badges span:nth-child(4) { animation-delay: .8s; }
@keyframes popin {
  from { opacity: 0; transform: translateY(8px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

.demo-map {
  position: relative;
  height: 100%;
  background:
    radial-gradient(circle at 35% 50%, rgba(191,213,84,.3), transparent 40%),
    radial-gradient(circle at 60% 30%, rgba(44,61,130,.12), transparent 30%),
    repeating-linear-gradient(0deg, rgba(44,61,130,.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(44,61,130,.06) 0 1px, transparent 1px 22px);
  border-radius: 10px;
  overflow: hidden;
}
.demo-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime-dark);
  box-shadow: 0 0 0 5px rgba(191,213,84,.3);
  transform: translate(-50%, -50%);
}
.demo-pin::after {
  content:"";
  position: absolute; inset:-14px;
  border-radius:50%;
  border: 2px solid var(--lime-dark);
  animation: radar 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes radar {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =====================================================================
   Stats
   ===================================================================== */
.stats {
  background: var(--blue-950);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(191,213,84,.18), transparent 40%),
    radial-gradient(ellipse at 90% 90%, rgba(59,79,174,.3), transparent 35%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.stat {
  padding: 3rem 1.8rem;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 2rem + 2.5vw, 4rem);
  letter-spacing: -0.05em;
  color: var(--paper);
  line-height: 1;
}
.stat .num em {
  font-style: normal;
  color: var(--lime);
}
.stat .label {
  margin-top: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  max-width: 20ch;
}

/* =====================================================================
   Logos grid (clients)
   ===================================================================== */
.logos-bg {
  background: var(--alabaster);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}
.logos-head { margin-bottom: 2.5rem; }
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
}
.logo-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 3/2;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--graphite);
  font-size: .95rem;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 1.2rem;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
  filter: grayscale(1);
  opacity: .8;
}
.logo-cell img {
  max-width: 100%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-cell:hover {
  background: var(--alabaster);
  filter: none;
  opacity: 1;
}
.logos-bar {
  margin-top: 1.75rem;
  background: var(--blue-950);
  color: #fff;
  padding: 1.25rem 2rem;
  border-radius: var(--r-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logos-bar strong {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--lime);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

/* =====================================================================
   Testimonials / cases
   ===================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.case-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #3B4FAE 0%, #2C3D82 100%);
  color: #fff;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sh-2);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.case-card:nth-child(2) { background: linear-gradient(180deg, #2C3D82 0%, #243271 100%); }
.case-card:nth-child(3) { background: linear-gradient(180deg, #3B4FAE 0%, #2C3D82 100%); }
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(191,213,84,.3), transparent 55%);
  opacity: .7;
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px -25px rgba(23,31,68,.55);
}
.case-play {
  position: relative;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue-950);
  display: grid;
  place-items: center;
  margin-bottom: auto;
}
.case-play::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: .4;
  animation: radar 2.4s ease-out infinite;
}
.case-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  position: relative;
}
.case-logo {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 86px;
  height: 56px;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.4);
  z-index: 2;
}
.case-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.case-meta {
  position: relative;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-top: .4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.case-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.case-meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
}

/* =====================================================================
   Map — Regional units
   ===================================================================== */
.map-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.map-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #F2F4FC, #fff);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 2rem;
  display: grid;
  place-items: center;
}
.map-wrap svg { width: 100%; height: 100%; }
.map-wrap .map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(23,31,68,.08));
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
}
.map-pin .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime-dark);
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(23,31,68,.3);
  position: relative;
  z-index: 2;
}
.map-pin.matriz .dot { background: var(--blue-950); }
.map-pin .dot::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--lime-dark);
  opacity: .35;
  animation: radar 2.4s ease-out infinite;
}
.map-pin.matriz .dot::after { border-color: var(--blue-950); }
.map-pin .tag {
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .78rem;
  color: var(--blue-950);
  white-space: nowrap;
  box-shadow: var(--sh-1);
}

.units-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.unit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.unit-item:hover { border-color: var(--blue); background: #fff; box-shadow: var(--sh-1); }
.unit-item .pin-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blue-950);
  color: var(--lime);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.unit-item.featured .pin-ico { background: var(--lime); color: var(--blue-950); }
.unit-item h4 {
  font-size: 1.1rem;
  color: var(--blue-950);
  margin-bottom: .2rem;
}
.unit-item p { font-size: .9rem; color: var(--text-mute); }

/* =====================================================================
   Support / attendimento
   ===================================================================== */
.support-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.support-card::after {
  content: "";
  position: absolute;
  right: -20%; top: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(191,213,84,.3), transparent 60%);
}
.support-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.support-card h2 { color: #fff; max-width: 16ch; }
.support-list { display: grid; gap: 1rem; }
.support-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-weight: 600;
}
.support-list .ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--lime); color: var(--blue-950);
  display: grid; place-items: center; flex-shrink: 0;
}

/* =====================================================================
   Blog preview / cards
   ===================================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.post-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-100), #fff);
  position: relative;
  overflow: hidden;
}
.post-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 50%, rgba(44,61,130,.15) 100%),
    radial-gradient(circle at 30% 30%, rgba(191,213,84,.3), transparent 40%);
}
.post-thumb .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: #fff;
  color: var(--blue-950);
  padding: .3rem .75rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
}
.post-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex-grow: 1; }
.post-body h4 { font-size: 1.15rem; color: var(--blue-950); }
.post-body p { color: var(--text-mute); font-size: .9rem; }
.post-body .date { font-size: .8rem; color: var(--smoke); margin-top: auto; padding-top: .75rem; }

/* =====================================================================
   Closing CTA
   ===================================================================== */
.closing {
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(191,213,84,.25), transparent 60%),
    radial-gradient(ellipse at 0% 0%, rgba(59,79,174,.4), transparent 50%);
}
.closing .inner {
  position: relative;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.closing h2 {
  color: #fff;
  font-size: clamp(2.2rem, 1.6rem + 3.6vw, 4.8rem);
  letter-spacing: -0.038em;
  max-width: 22ch;
  margin: 0 auto;
}
.closing h2 em { font-style: normal; color: var(--lime); }
.closing .ctas {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: #FCFCFD;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { color: var(--blue); }
.footer-brand p { color: var(--text-mute); font-size: .92rem; margin-top: 1rem; max-width: 30ch; }
.footer-col h5 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-950);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col li {
  display: block;
  color: var(--text-soft);
  font-size: .92rem;
  padding: .3rem 0;
  transition: color var(--dur-1) var(--ease);
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-mute);
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.1rem; }
.footer-bottom .legal a:hover { color: var(--blue); }

.socials { display: flex; gap: .5rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--blue-950);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.socials a:hover { background: var(--blue-950); color: var(--lime); border-color: var(--blue-950); }
.socials svg { width: 18px; height: 18px; }

/* =====================================================================
   Floating WhatsApp
   ===================================================================== */
.float-whats {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid !important;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.float-whats:hover { transform: scale(1.08); box-shadow: 0 14px 40px -10px rgba(37,211,102,.7); }
.float-whats svg { width: 30px; height: 30px; }
.float-whats .pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulseBig 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulseBig {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* =====================================================================
   Modal
   ===================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,14,38,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.modal-backdrop::-webkit-scrollbar { display: none; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: min(560px, 100%);
  margin: auto 0;
  background: #fff;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.8rem);
  position: relative;
  transform: translateY(24px) scale(.98);
  transition: transform var(--dur-2) var(--ease-out);
  box-shadow: 0 60px 120px -30px rgba(10,14,38,.55);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--alabaster);
  display: grid; place-items: center;
  color: var(--blue-950);
  transition: background var(--dur-1) var(--ease);
}
.modal-close:hover { background: var(--blue-950); color: #fff; }
.modal h3 { color: var(--blue-950); font-size: 1.7rem; }
.modal .lead { font-size: 1rem; margin-top: .5rem; }

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.field { display: grid; gap: .35rem; }
.field label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8rem;
  color: var(--blue-950);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: .95rem;
  background: #fff;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(44,61,130,.12);
}
.field.two { grid-template-columns: 1fr 1fr; gap: .75rem; display: grid; }
.form .btn-primary { justify-self: stretch; justify-content: center; margin-top: .5rem; }
.form small { color: var(--text-mute); font-size: .78rem; }

.field.error input,
.field.error select {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.12);
}
.field-error-msg {
  color: #e53935;
  font-size: .78rem;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 1rem;
  gap: .75rem;
}
.form-success.visible {
  display: flex;
  animation: successIn .45s var(--ease-out) both;
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(14px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.form-success-icon { animation: successPop .5s .2s var(--ease-out) both; }
@keyframes successPop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
.form-success-title { color: var(--blue-950); font-size: 1.5rem; margin: .25rem 0 0; }
.form-success-text  { color: var(--text-mute); font-size: 1rem; margin: 0; }

/* =====================================================================
   Generic page hero (inner pages)
   ===================================================================== */
.page-hero {
  padding: clamp(8rem, 14vh, 11rem) 0 clamp(3rem, 5vw, 5rem);
  background: linear-gradient(180deg, #2C3D82 0%, #3B4FAE 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(191,213,84,.15), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(59,79,174,.3), transparent 40%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 55ch; margin-top: 1.25rem; font-size: var(--step-1); font-weight: 300; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
  font-family: var(--f-display);
  font-weight: 600;
}
.breadcrumb a { color: var(--lime); }
.breadcrumb a:hover { text-decoration: underline; }

/* =====================================================================
   Cycle / module wheel
   ===================================================================== */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.cycle-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  position: relative;
  cursor: default;
}
.cycle-step:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--sh-2); }
.cycle-step .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--lime-dark);
  letter-spacing: .05em;
}
.cycle-step h4 { font-size: 1.1rem; color: var(--blue-950); }
.cycle-step p { font-size: .88rem; color: var(--text-mute); }
.cycle-step .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: .6rem;
}

/* Module tabs */
.modules {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.module-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.module-nav button {
  text-align: left;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-soft);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.module-nav button:hover { background: var(--alabaster); color: var(--blue-950); }
.module-nav button.active {
  background: var(--blue-950);
  color: var(--lime);
}
.module-panel { padding: 1rem 1.5rem; }
.module-panel h3 { font-size: 1.5rem; color: var(--blue-950); }
.module-panel ul { margin-top: 1rem; display: grid; gap: .55rem; }
.module-panel li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  color: var(--text-soft);
}
.module-panel li::before {
  content: "";
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--lime); border-radius: 50%;
  margin-top: .15rem;
  position: relative;
}
.module-panel li strong { color: var(--blue-950); font-weight: 700; }

/* =====================================================================
   App preview (phones)
   ===================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.phone {
  width: 230px;
  aspect-ratio: 9/19;
  background: linear-gradient(145deg, #22306B, #0B0F2A);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 40px 80px -20px rgba(23,31,68,.5);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0B0F2A;
  border-radius: 999px;
  z-index: 2;
}
.phone .screen {
  background: #fff;
  border-radius: 28px;
  height: 100%;
  padding: 42px 14px 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone h6 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-950);
  letter-spacing: -0.02em;
}
.phone .card {
  background: linear-gradient(135deg, var(--lime), var(--lime-glow));
  border-radius: 14px;
  padding: 12px;
  color: var(--blue-950);
}
.phone .card .big { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.phone .card .lbl { font-size: .65rem; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.phone .list-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--alabaster);
  border-radius: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .75rem;
  color: var(--blue-950);
}
.phone.rear { transform: translateY(20px) rotate(4deg) scale(.9); opacity: .9; }
.phone.front { transform: translateY(-10px) rotate(-3deg); z-index: 2; }

/* =====================================================================
   Cloud / AWS section
   ===================================================================== */
.cloud-logos {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.cloud-logos div {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: -0.02em;
  aspect-ratio: 2/1;
  transition: all var(--dur-1) var(--ease);
}
.cloud-logos div:hover { background: rgba(191,213,84,.1); color: var(--lime); border-color: var(--lime); }

/* =====================================================================
   Cases page / big case grid
   ===================================================================== */
.case-big-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.case-big {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
  display: flex;
  flex-direction: column;
}
.case-big:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.case-big .media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-600));
  position: relative;
  overflow: hidden;
}
.case-big .media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(191,213,84,.35), transparent 50%);
}
.case-big .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--blue-950);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.case-big .badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: rgba(23,31,68,.7);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.case-big .body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex-grow: 1;
}
.case-big h3 { font-size: 1.35rem; color: var(--blue-950); letter-spacing: -0.02em; }
.case-big .meta { color: var(--text-mute); font-size: .88rem; display: flex; gap: .8rem; flex-wrap: wrap; margin-top:.3rem; }

/* Awards */
.awards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.award {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  position: relative;
}
.award .trophy {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: var(--blue-950);
  display: grid; place-items: center;
  margin-bottom: .4rem;
}
.award h4 { font-size: 1.1rem; color: var(--blue-950); }
.award p { color: var(--text-mute); font-size: .88rem; }

/* Jobs / contact form wrappers */
.form-wide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 680px;
  margin: 0 auto;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.legal-content h2 { margin-top: 2.5rem; font-size: 1.4rem; color: var(--blue-950); }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.1rem; color: var(--blue-950); }
.legal-content p, .legal-content li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: none;
}
.legal-content p { margin-top: .8rem; }
.legal-content ul { margin: .8rem 0 .8rem 1.5rem; list-style: disc; }
.legal-content li { margin-top: .4rem; }

/* Blog categories chips */
.chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.chip {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--blue-950);
  background: #fff;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  cursor: pointer;
}
.chip:hover, .chip.active { background: var(--blue-950); color: var(--lime); border-color: var(--blue-950); }

/* Partner logos grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.partner-card {
  aspect-ratio: 3/2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--graphite);
  padding: 1rem;
  text-align: center;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.partner-card:hover { background: var(--blue-950); color: var(--lime); transform: translateY(-3px); }

/* News magazine covers */
.magazines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.mag-cover {
  aspect-ratio: 2/3;
  border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--blue-950), var(--blue-600));
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--sh-2);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.mag-cover:hover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: var(--sh-3); }
.mag-cover::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(191,213,84,.45), transparent 45%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3) 100%);
}
.mag-cover .head {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.mag-cover .head span { color: var(--lime); }
.mag-cover .issue {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.mag-cover .big {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* Split info card for atendimento */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.split-card {
  padding: 1.8rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.split-card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-100); color: var(--blue);
  display: grid; place-items: center;
}
.split-card h4 { color: var(--blue-950); font-size: 1.2rem; }
.split-card p { color: var(--text-mute); font-size: .95rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .segments { grid-template-columns: repeat(3, 1fr); }
  .cycle-grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.1); }
  .cloud-logos { grid-template-columns: repeat(4, 1fr); }
  .case-big-grid { grid-template-columns: repeat(2, 1fr); }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .primary-nav, .nav-actions .login-link, .nav-actions .btn:not(.burger-only) { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .segments-head { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .feature.reverse .feature-media { order: 0; }
  .map-grid { grid-template-columns: 1fr; gap: 3rem; }
  .support-inner { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .module-nav { flex-direction: row; overflow-x: auto; }
  .module-nav button { white-space: nowrap; }
  .float-badge { display: none; }
}
@media (max-width: 640px) {
  .segments, .cycle-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 2rem 1.2rem; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:last-child { border-right: 0; }
  .cloud-logos { grid-template-columns: repeat(3, 1fr); }
  .field.two { grid-template-columns: 1fr; }
  .case-big-grid { grid-template-columns: 1fr; }
  .awards { grid-template-columns: 1fr; }

  /* Modal mobile */
  .modal-backdrop { padding: .75rem; }
  .modal { padding: 1.25rem 1.1rem; }
  .modal .eyebrow { display: none; }
  .modal h3 { font-size: 1.15rem; margin-top: 0; }
  .modal .lead { font-size: .85rem; margin-top: .25rem; }
  .form { gap: .65rem; margin-top: .9rem; }
  .field input, .field select { padding: .7rem .85rem; font-size: .9rem; }
  .form .btn-primary { margin-top: .25rem; }
}

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* Accessibility — reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; }
}

/* =====================================================================
   Print / no-js fallback
   ===================================================================== */
.no-js .reveal { opacity: 1; transform: none; }

/* =====================================================================
   V4 Additions — V5 list of changes
   ===================================================================== */

/* Feature media with real GIFs */
.feature-media.gif-media {
  background: linear-gradient(135deg, var(--blue-100), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 320px;
  box-shadow: var(--sh-2);
}
.feature-media.gif-media img {
  max-width: 100%;
  max-height: 460px;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
  object-fit: contain;
}
.feature-media.gif-media .badge-live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

/* Improved client logos grid (uniform size, colored, horizontally aligned) */
.logos-grid.uniform {
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  gap: 0;
  padding: 0;
}
.logos-grid.uniform .logo-cell {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  filter: none;
  opacity: 1;
  transition: background var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.logos-grid.uniform .logo-cell:hover {
  background: var(--alabaster);
  transform: translateY(-2px);
}
.logos-grid.uniform .logo-cell img {
  max-width: 75%;
  max-height: 65%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  display: block;
}
.cases-strip.uniform {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 1.5rem;
}
.cases-strip.uniform .logo-cell {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid var(--line);
  filter: none;
  opacity: 1;
}
.cases-strip.uniform .logo-cell:last-child { border-right: 0; }
.cases-strip.uniform .logo-cell img {
  max-width: 78%;
  max-height: 65%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (max-width: 1100px) {
  .logos-grid.uniform { grid-template-columns: repeat(4, 1fr); }
  .cases-strip.uniform { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .logos-grid.uniform { grid-template-columns: repeat(3, 1fr); }
  .cases-strip.uniform { grid-template-columns: repeat(3, 1fr); }
}

/* LGPD Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -16px rgba(23,31,68,.35);
  padding: 1.25rem 1.5rem;
  z-index: 9000;
  display: none;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.cookie-banner h4 {
  font-size: 1rem;
  color: var(--blue-950);
  margin-bottom: .35rem;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner .btn {
  padding: .55rem 1rem;
  font-size: .85rem;
  white-space: nowrap;
}
.cookie-banner .btn-primary {
  background: var(--blue);
  color: #fff;
}
.cookie-banner .btn-ghost-blue {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
@media (max-width: 720px) {
  .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; padding: 1rem 1.1rem; }
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner .btn { flex: 1; justify-content: center; }
  /* When cookie banner is visible on small screens, raise the WhatsApp button */
  body:has(.cookie-banner.is-visible) .float-whats { bottom: 12rem; }
}

/* =====================================================================
   V3 Additions — V4 list of changes
   ===================================================================== */

/* Map image (replaces stylized SVG) */
.map-wrap { overflow: hidden; }
.map-wrap.map-img {
  background: linear-gradient(135deg, #F2F4FC, #fff);
  padding: 2rem;
}
.map-wrap.map-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Logo cell with image */
.logo-cell.has-img { padding: .8rem; }
.logo-cell img {
  filter: grayscale(1);
  opacity: .85;
  transition: filter var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.logo-cell.has-img:hover img { filter: none; opacity: 1; }

/* Cases: client logo strip on top of video */
.cases-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.cases-strip .logo-cell {
  aspect-ratio: 5/3;
  border: 0;
  padding: .5rem;
}
.cases-strip .logo-cell img { max-height: 80%; }

/* YouTube video embed */
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Cases V3 grid with embedded videos */
.cases-v3-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.case-video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-video-card .video-embed { border-radius: 0; box-shadow: none; }
.case-video-card .body { padding: 1.5rem; }
.case-video-card h3 { color: var(--blue-950); font-size: 1.3rem; margin-bottom: .4rem; }
.case-video-card .meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: var(--text-mute);
}
@media (max-width: 760px) { .cases-v3-grid { grid-template-columns: 1fr; } }

/* Trophy image gallery */
.trofeus-img-wrap {
  background: linear-gradient(135deg, var(--blue-100), #fff);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
}
.trofeus-img-wrap img { width: 100%; max-width: 520px; margin: 0 auto; height: auto; }

/* Logo strips for AMIS and InfoVarejo */
.brand-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.brand-strip img { height: 38px; width: auto; }

/* InfoVarejo logo inline */
.iv-logo { height: 22px; width: auto; vertical-align: middle; }

/* Footer brand image */
.footer-brand .brand img { height: 38px; width: auto; display: block; }

/* Avanço News covers (real images) */
.issue-cover.has-img { background: var(--alabaster) !important; }
.issue-cover.has-img::after { display: none !important; content: none !important; }
.issue-cover.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.issue-cover.has-img .inner { display: none !important; }

.feature-cover.has-img { background: var(--alabaster) !important; }
.feature-cover.has-img::after { display: none !important; content: none !important; }
.feature-cover.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.feature-cover.has-img .inner { display: none !important; }

.cover.has-img,
.cover-1.has-img,
.cover-2.has-img,
.cover-3.has-img { background: #000 !important; }
.cover.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cover.has-img .inner { display: none !important; }
.cover.has-img::before,
.cover.has-img::after,
.cover-1.has-img::after,
.cover-2.has-img::after,
.cover-3.has-img::after { display: none !important; content: none !important; }

/* reCAPTCHA badge container */
.recaptcha-wrap {
  margin: .5rem 0;
}
.recaptcha-wrap .g-recaptcha {
  transform-origin: 0 0;
}
.field.recaptcha-note {
  font-size: .72rem;
  color: var(--text-mute);
  margin-top: .25rem;
}

/* Awards image variant */
.award-img {
  background: linear-gradient(135deg, var(--blue-100), #fff);
  border-radius: var(--r-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.award-img img { max-height: 80px; width: auto; }

