/* ==========================================================================
   Conexum — Landing Page
   styles.css
   ========================================================================== */

/* ----- Variáveis ---------------------------------------------------------- */
:root {
  /* Paleta institucional */
  --bg: #F3F5FF;
  --bg-soft: #FFFFFF;
  --ink: #1A1F71;
  --purple: #7C3AED;
  --blue: #2563FF;
  --white: #FFFFFF;

  /* Cinzas neutros */
  --gray-50: #F8F9FC;
  --gray-100: #EEF0F8;
  --gray-200: #E2E5F0;
  --gray-300: #C9CEDD;
  --gray-400: #9AA0B4;
  --gray-500: #6B7185;
  --gray-600: #4A4F65;
  --gray-700: #2F334A;
  --gray-800: #1F2333;

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, #2563FF 0%, #7C3AED 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(37, 99, 255, .12) 0%, rgba(124, 58, 237, .12) 100%);
  --grad-ink: linear-gradient(135deg, #1A1F71 0%, #2A2F8F 60%, #4338CA 100%);
  --grad-text: linear-gradient(120deg, #2563FF 0%, #7C3AED 100%);
  --grad-text-light: linear-gradient(120deg, #A5B4FC 0%, #C4B5FD 60%, #DDD6FE 100%);

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(26, 31, 113, .04);
  --shadow-sm: 0 2px 8px rgba(26, 31, 113, .05);
  --shadow-md: 0 8px 24px rgba(26, 31, 113, .08);
  --shadow-lg: 0 20px 48px -12px rgba(26, 31, 113, .15);
  --shadow-xl: 0 32px 80px -20px rgba(26, 31, 113, .22);
  --shadow-glow: 0 12px 40px -10px rgba(37, 99, 255, .35);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: 1200px;
  --header-h: 72px;

  /* Tipografia */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Transições */
  --t-fast: 150ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 240ms cubic-bezier(.4, 0, .2, 1);
  --t-slow: 400ms cubic-bezier(.4, 0, .2, 1);
}

/* ----- Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ----- Container --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ----- Tipografia helpers ------------------------------------------------ */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-gradient-light {
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--blue);
  background: rgba(37, 99, 255, .08);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(37, 99, 255, .18);
  margin-bottom: var(--space-4);
}
.eyebrow--muted {
  color: var(--gray-600);
  background: var(--white);
  border-color: var(--gray-200);
}
.eyebrow--light {
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 255, .15);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--t-base);
  border: 1px solid transparent;
  position: relative;
  isolation: isolate;
}

.btn--sm { padding: 10px 16px; font-size: 14px; }

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1E54E6 0%, #6D28D9 100%);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-base);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px -12px rgba(37, 99, 255, .55);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--gray-50);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
}

/* ----- Header ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 245, 255, .8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .85);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-5);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.header__logo:hover { opacity: .8; }
.header__logo img { height: 32px; width: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}
.nav__link:hover { color: var(--ink); background: var(--gray-100); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-xs);
}

.language-switcher__btn {
  width: 34px;
  height: 30px;
  border-radius: var(--r-pill);
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.language-switcher__btn:hover {
  color: var(--ink);
  background: var(--gray-100);
}

.language-switcher__btn.is-active {
  color: var(--white);
  background: var(--grad-brand);
  box-shadow: 0 8px 18px -10px rgba(37, 99, 255, .8);
}

.header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.header__toggle:hover { background: var(--gray-100); }
.header__toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
  opacity: 0;
}
.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Sections ---------------------------------------------------------- */
section { scroll-margin-top: calc(var(--header-h) + 16px); }

.section {
  padding: var(--space-9) 0;
  position: relative;
}
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%); }

.section__head {
  max-width: 760px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.section__head--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  max-width: var(--container);
  text-align: left;
  align-items: end;
}
.section__head--two-col .section__lead {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.7;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-4);
}
.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vh, 110px) 0 var(--space-9);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.hero__glow--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 255, .35), transparent 70%);
  top: -120px;
  left: -100px;
}
.hero__glow--2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, .3), transparent 70%);
  top: 100px;
  right: -120px;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 31, 113, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 31, 113, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: var(--space-5);
  color: var(--ink);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--gray-200);
}
.hero__trust li { display: flex; flex-direction: column; gap: 2px; }
.hero__trust strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
}
.hero__trust span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit__core {
  position: absolute;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px -12px rgba(37, 99, 255, .35), 0 0 0 1px var(--gray-200);
  animation: float 6s ease-in-out infinite;
}
.orbit__core::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  background: var(--grad-brand);
  z-index: -1;
  opacity: .6;
  filter: blur(16px);
}
.orbit__core img { width: 56px; height: 56px; }

.orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(26, 31, 113, .15);
  animation: rotate 40s linear infinite;
}
.orbit__ring--1 { width: 220px; height: 220px; }
.orbit__ring--2 { width: 320px; height: 320px; animation-direction: reverse; animation-duration: 60s; }
.orbit__ring--3 { width: 420px; height: 420px; animation-duration: 80s; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 210px;
  max-width: 240px;
  animation: float 6s ease-in-out infinite;
  transition:
    opacity var(--t-base),
    top var(--t-slow),
    right var(--t-slow),
    bottom var(--t-slow),
    left var(--t-slow),
    border-color var(--t-base),
    box-shadow var(--t-base);
}
.float-card--a { animation-delay: -2.5s; }
.float-card--b { animation-delay: -4.5s; }
.float-card--c { animation-delay: -6.5s; }
.float-card[data-slot] {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
.float-card[data-slot="top-left"] { top: 8%; left: -4%; }
.float-card[data-slot="top-right"] { top: 10%; right: -4%; }
.float-card[data-slot="mid-left"] { top: 40%; left: -8%; }
.float-card[data-slot="mid-right"] { top: 42%; right: -6%; }
.float-card[data-slot="bottom-left"] { bottom: 4%; left: 4%; }
.float-card[data-slot="bottom-right"] { right: -4%; bottom: 14%; }
.float-card.is-switching {
  opacity: 0;
  animation: none;
  transform: translateY(8px) scale(.98);
}

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-brand-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-card__icon svg { width: 20px; height: 20px; }
.float-card__icon[data-icon="chart"] { background: rgba(124, 58, 237, .12); color: var(--purple); }
.float-card__icon[data-icon="shield"] { background: rgba(37, 99, 255, .12); color: var(--blue); }
.float-card__icon[data-icon="integration"],
.float-card__icon[data-icon="payment"],
.float-card__icon[data-icon="ecommerce"] { background: rgba(37, 99, 255, .12); color: var(--blue); }
.float-card__icon[data-icon="automation"],
.float-card__icon[data-icon="ai"],
.float-card__icon[data-icon="landing"] { background: rgba(124, 58, 237, .12); color: var(--purple); }
.float-card__icon[data-icon="government"],
.float-card__icon[data-icon="dashboard"] { background: rgba(14, 165, 233, .12); color: #0284C7; }

.float-card__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.float-card__meta {
  font-size: 11.5px;
  color: var(--gray-500);
  line-height: 1.3;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ----- Stats ------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.stat {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 255, .25);
}
.stat__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.stat__icon svg { width: 24px; height: 24px; }
.stat__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.stat__text {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ----- Solution Cards ---------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.card {
  position: relative;
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--t-base);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 255, .3);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: transform var(--t-base);
}
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; }

.card__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-3);
}
.card__text {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ----- Products ---------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.product {
  position: relative;
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: all var(--t-base);
  overflow: hidden;
}
.product::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 255, .08), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
}
.product:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 255, .3);
  box-shadow: var(--shadow-lg);
}
.product:hover::after { opacity: 1; }

.product--financeiro::after { background: radial-gradient(circle, rgba(124, 58, 237, .1), transparent 70%); }
.product--oxleads::after { background: radial-gradient(circle, rgba(37, 99, 255, .1), transparent 70%); }
.product--transfer::after { background: radial-gradient(circle, rgba(124, 58, 237, .08), transparent 70%); }

.product__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.product__badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 24px -14px rgba(26, 31, 113, .45);
}
.product__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.product--quemtirei .product__badge,
.product--transfer .product__badge {
  padding: 0;
}

.product__tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

.product__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.product__text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.product__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: rgba(37, 99, 255, .08);
  transition: all var(--t-fast);
  position: relative;
  z-index: 1;
}
.product__link:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateX(2px);
}
.product__link svg { transition: transform var(--t-fast); }
.product__link:hover svg { transform: translate(2px, -2px); }

/* ----- Section Dark (Diferenciais) -------------------------------------- */
.section--dark {
  background: var(--grad-ink);
  color: var(--white);
  overflow: hidden;
  margin-top: var(--space-7);
  margin-bottom: var(--space-7);
}
.section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.section__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .35), transparent 70%);
  filter: blur(60px);
  top: -200px;
  right: -200px;
}
.section__bg-mark {
  position: absolute;
  width: 540px;
  height: auto;
  bottom: -160px;
  left: -120px;
  opacity: .04;
  filter: invert(1);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}

.feature {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  backdrop-filter: blur(8px);
  transition: all var(--t-base);
}
.feature:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
  transform: translateY(-2px);
}

.feature__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
  letter-spacing: .04em;
}

.feature__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-3);
  letter-spacing: -.02em;
}

.feature__text {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
}

/* ----- Timeline (Processo) ---------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--blue), var(--purple), var(--gray-200));
  z-index: 0;
}

.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--space-2);
}

.timeline__marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), var(--grad-brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base);
}
.timeline__step:hover .timeline__marker {
  transform: scale(1.1);
}
.timeline__marker span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.timeline__text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ----- CTA --------------------------------------------------------------- */
.cta { padding-top: var(--space-7); padding-bottom: var(--space-9); }

.cta__card {
  position: relative;
  background: var(--grad-ink);
  border-radius: var(--r-2xl);
  padding: clamp(48px, 7vw, 80px);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta__glow--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 255, .55), transparent 70%);
  top: -100px;
  left: -80px;
}
.cta__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, .5), transparent 70%);
  bottom: -100px;
  right: -80px;
}

.cta__title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  letter-spacing: -.025em;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta__text {
  font-size: 17px;
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
  margin: 0 auto var(--space-6);
  line-height: 1.65;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-7);
}

.cta__social {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}
.cta__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .8);
  transition: all var(--t-base);
}
.cta__social a:hover {
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .3);
}
.cta__social svg { width: 18px; height: 18px; }

/* ----- Footer ------------------------------------------------------------ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-8) 0 var(--space-5);
  color: var(--gray-600);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--gray-200);
}

.footer__brand img { height: 32px; margin-bottom: var(--space-4); }
.footer__tagline {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 320px;
}

.footer__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer__title--mt { margin-top: var(--space-5); }

.footer__nav ul,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__nav a,
.footer__contacts a {
  font-size: 14.5px;
  color: var(--gray-500);
  transition: color var(--t-fast);
}
.footer__nav a:hover,
.footer__contacts a:hover { color: var(--blue); }

.footer__social {
  display: flex;
  gap: var(--space-2);
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all var(--t-fast);
}
.footer__social a:hover {
  background: var(--grad-brand);
  color: var(--white);
  transform: translateY(-2px);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: 13.5px;
  color: var(--gray-500);
}

/* ----- WhatsApp Float --------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .55), 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.wa-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(37, 211, 102, .65);
}
.wa-float svg { width: 28px; height: 28px; }

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ----- Reveal animations ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

/* Tablet --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .hero__visual { height: 380px; order: -1; }

  .section__head--two-col {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: left;
  }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }

  .timeline {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--purple));
  }
  .timeline__step {
    text-align: left;
    padding-left: 64px;
    position: relative;
  }
  .timeline__marker {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Mobile -------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-8) 0; }

  /* Header */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform var(--t-base);
    overflow-y: auto;
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }
  .nav__link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
  }
  .nav__link:hover,
  .nav__link.is-active {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }
  .nav__link.is-active::after { display: none; }

  .header__toggle { display: flex; }
  .header__inner { gap: var(--space-3); }
  .header__actions { gap: var(--space-2); }
  .language-switcher { padding: 2px; }
  .language-switcher__btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .header__actions .btn--sm span { display: none; }
  .header__actions .btn--sm {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
  }

  /* Hero */
  .hero { padding-top: var(--space-7); }
  .hero__visual { height: 360px; }
  .orbit__core { width: 76px; height: 76px; border-radius: 22px; }
  .orbit__core img { width: 44px; height: 44px; }
  .orbit__ring--1 { width: 180px; height: 180px; }
  .orbit__ring--2 { width: 260px; height: 260px; }
  .orbit__ring--3 { width: 340px; height: 340px; }
  .float-card {
    width: min(44vw, 176px);
    max-width: calc(50% - 8px);
    min-width: 0;
    padding: 9px 10px;
    gap: 8px;
  }
  .float-card > div:not(.float-card__icon) { min-width: 0; }
  .float-card__title,
  .float-card__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .float-card__title { font-size: 12px; }
  .float-card__meta { font-size: 10.5px; }
  .float-card[data-slot="top-left"] {
    top: 4%;
    right: auto;
    bottom: auto;
    left: 0;
  }
  .float-card[data-slot="top-right"] {
    top: 4%;
    right: 0;
    bottom: auto;
    left: auto;
  }
  .float-card[data-slot="mid-left"] {
    top: auto;
    right: auto;
    bottom: 23%;
    left: 0;
  }
  .float-card[data-slot="mid-right"] {
    top: auto;
    right: 0;
    bottom: 23%;
    left: auto;
  }
  .float-card[data-slot="bottom-left"] {
    top: auto;
    right: auto;
    bottom: 3%;
    left: 0;
  }
  .float-card[data-slot="bottom-right"] {
    top: auto;
    right: 0;
    bottom: 3%;
    left: auto;
  }

  .hero__title { font-size: 2rem; }
  .hero__actions .btn { flex: 1; }
  .hero__trust {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    text-align: left;
  }
  .hero__trust li {
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-3);
  }
  .hero__trust strong { font-size: 22px; }

  /* Cards */
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }

  /* CTA */
  .cta__card { padding: var(--space-7) var(--space-5); }
  .cta__actions .btn { flex: 1; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__bottom { flex-direction: column; gap: var(--space-2); text-align: left; }

  /* WA float ajuste */
  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Mobile pequeno ------------------------------------------------------ */
@media (max-width: 420px) {
  .header__logo img { height: 28px; }
  .header__actions .btn--sm { display: none; }
  .hero__title { font-size: 1.75rem; }
  .section__title { font-size: 1.625rem; }
  .cta__title { font-size: 1.625rem; }
  .float-card { padding: 8px 10px; gap: 8px; }
  .float-card__icon { width: 28px; height: 28px; }
  .float-card__icon svg { width: 16px; height: 16px; }
}

/* ----- prefers-reduced-motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orbit__ring,
  .orbit__core,
  .float-card,
  .eyebrow__dot,
  .wa-float__pulse { animation: none !important; }
}

/* ----- Print ------------------------------------------------------------ */
@media print {
  .header, .wa-float, .hero__bg, .section__bg, .cta__bg { display: none; }
  body { background: #fff; color: #000; }
  .section--dark, .cta__card { background: #fff !important; color: #000 !important; }
}
