/* ═══════════════════════════════════════════════════
   GRUPO FAIRES — Design System v2.0
   Clean Health · para C-level hospitalar
   ═══════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800;900&family=Karla:wght@300;400;500;600;700&display=swap');

/* ── Custom Properties ── */
:root {
  /* Brand — mantém base, adiciona gradientes */
  --primary:       #101828;
  --primary-2:     #000b41;
  --primary-light: #1a2540;
  --accent:        #444CE7;
  --accent-dark:   #3730a3;
  --accent-light:  #eef2ff;
  --accent-glow:   rgba(68, 76, 231, 0.25);

  /* Gradientes modernos */
  --grad-hero:     linear-gradient(135deg, #101828 0%, #0a1a3d 50%, #101828 100%);
  --grad-radial:   radial-gradient(ellipse 80% 60% at 60% -10%, rgba(68,76,231,.18) 0%, transparent 70%);
  --grad-card:     linear-gradient(145deg, #101828 0%, #151f35 100%);
  --grad-accent:   linear-gradient(135deg, #444CE7 0%, #6366f1 100%);

  /* Typography */
  --ink:    #101828;
  --slate:  #475467;
  --muted:  #98A2B3;
  --faint:  #D0D5DD;

  /* Surfaces */
  --white:   #ffffff;
  --surface: #F9FAFB;
  --surface2:#F3F4F6;
  --border:  #E4E7EC;

  /* Metrics / ROI — verde saúde */
  --metric:    #10B981;
  --metric-bg: #D1FAE5;
  --metric-dark:#065F46;

  /* Sombras layered (profundidade realista) */
  --sh-sm:  0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.06);
  --sh-md:  0 2px 4px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.08);
  --sh-lg:  0 4px 8px rgba(0,0,0,.04), 0 16px 48px rgba(0,0,0,.12);
  --sh-xl:  0 8px 16px rgba(0,0,0,.06), 0 24px 64px rgba(0,0,0,.16);

  /* Glow border para hover */
  --glow-accent: 0 0 0 1px rgba(68,76,231,.3), 0 0 20px rgba(68,76,231,.15);

  /* Border-radius contemporâneo */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;   /* cards */
  --r-xl: 28px;   /* containers grandes */
  --r-2xl: 32px;  /* form wrappers */

  /* Transitions */
  --t: .2s ease;

  /* Typography scale */
  --font-body: 'Karla', system-ui, sans-serif;
  --font-head: 'Open Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 760px; }

section { padding: 96px 0; }
section.section--sm { padding: 64px 0; }
section.section--lg { padding: 128px 0; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

.display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.08;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--slate);
}
.eyebrow {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

/* Metric display (big numbers) */
.metric-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}
.metric-number--green { color: var(--metric); }
.metric-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 6px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  transition: var(--t);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover { background: var(--accent-light); }

.btn--ghost {
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 54px; width: auto; }
.nav__logo span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav__cta { flex-shrink: 0; }
.nav__hamburger { display: none; }

/* mobile nav */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
  }
  .nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--t);
  }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0; right: 0;
    background: var(--primary);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    gap: 4px;
  }
  .nav--open .nav__links a {
    width: 100%;
    padding: 10px 12px;
  }
}

/* ── Hero (dark) ── */
.hero {
  background: var(--primary);
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(68,76,231,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.1;
  max-width: 720px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__case {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(16,184,129,.12);
  border: 1px solid rgba(16,184,129,.3);
  border-left: 4px solid var(--metric);
  border-radius: var(--r-md);
  max-width: 600px;
}
.hero__case-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--metric);
  margin-bottom: 6px;
}
.hero__case-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.hero__frame {
  margin-top: 16px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  font-style: italic;
  max-width: 560px;
}
.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── Metrics strip ── */
.metrics {
  background: var(--primary-2);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px 24px;
  text-align: center;
}
.metrics__item {}
.metrics__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.metrics__number--green { color: var(--metric); }
.metrics__label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  line-height: 1.3;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: var(--t);
  box-shadow: var(--sh-sm);
}
.card:hover { box-shadow: var(--glow-accent); transform: translateY(-4px); border-color: var(--accent-light); }

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; color: var(--accent); }
.card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.card__text { font-size: .95rem; color: var(--slate); line-height: 1.65; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
  transition: var(--t);
}
.card__link:hover { gap: 10px; }
.card__link::after { content: '→'; }

/* Ecosystem cards (dark) */
.card--dark {
  background: var(--grad-card);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}
.card--dark .card__title { color: var(--white); }
.card--dark .card__text { color: rgba(255,255,255,.65); }
.card--dark .card__link { color: var(--metric); }
.card--dark:hover { border-color: rgba(68,76,231,.5); box-shadow: var(--glow-accent); }

/* ── Grid helpers ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ── Section header ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header .eyebrow { margin-bottom: 12px; display: block; }
.section-header p { margin-top: 14px; font-size: 1.05rem; color: var(--slate); }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1140px;
  margin: 0 auto;
}

/* ── Client logos ── */
.logos__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 48px;
}
.logos__item {
  opacity: .45;
  filter: grayscale(1);
  transition: var(--t);
  height: 36px;
  display: flex;
  align-items: center;
}
.logos__item:hover { opacity: 1; filter: grayscale(0); }
.logos__item img { height: 100%; width: auto; }
/* Fallback text logo */
.logos__item span {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: .04em;
}

/* ── Differentiators ── */
.diff__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.diff__item {
  background: var(--white);
  padding: 40px 32px;
}
.diff__number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.diff__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.diff__text { font-size: .9rem; color: var(--slate); }
.diff__vs {
  display: inline-block;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface2);
  padding: 4px 10px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .diff__grid { grid-template-columns: 1fr; }
}

/* ── Form ── */
.form-section {
  background: var(--primary);
  padding: 96px 0;
}
.form-section h2 { color: var(--white); }
.form-section .lead { color: rgba(255,255,255,.65); }
.form-wrapper {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 48px 52px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--sh-xl);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t);
  outline: none;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2398A2B3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form__textarea { resize: vertical; min-height: 96px; }
.form__submit { width: 100%; margin-top: 8px; justify-content: center; }
.form__note {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Footer ── */
.footer {
  background: var(--primary-2);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer__brand {}
.footer__logo { margin-bottom: 16px; }
.footer__logo span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.footer__tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  max-width: 280px;
}
.footer__heading {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: var(--t);
}
.footer__links a:hover { color: var(--white); }
.footer__contact {}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.footer__contact-item svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: var(--accent); }
.footer__contact-item a { color: rgba(255,255,255,.65); transition: var(--t); }
.footer__contact-item a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer__group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--primary);
  padding: 96px 0 72px;
}
.page-hero .eyebrow { margin-bottom: 16px; display: block; }
.page-hero h1 { color: var(--white); max-width: 640px; }
.page-hero p { color: rgba(255,255,255,.65); margin-top: 16px; max-width: 600px; }

/* ── Case highlight ── */
.case-highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #0a1f3d 100%);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  color: var(--white);
}
.case-highlight__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--metric);
  margin-bottom: 12px;
}
.case-highlight__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 28px;
}
.case-highlight__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.case-metric {}
.case-metric__number {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--metric);
  line-height: 1;
}
.case-metric__label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
}

/* ── Services list ── */
.service__list { display: flex; flex-direction: column; gap: 12px; }
.service__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}
.service__item-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 800;
}
.service__item-body {}
.service__item-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.service__item-text { font-size: .88rem; color: var(--slate); }

/* ── CTA strip ── */
.cta-strip {
  background: var(--accent);
  padding: 56px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 28px; }

/* ── Pricing ── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: var(--sh-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-card__price {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.pricing-card__price small {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
}
.pricing-card__for {
  font-size: .85rem;
  color: var(--slate);
  margin: 12px 0 24px;
  line-height: 1.55;
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink);
}
.pricing-card__feature::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--metric);
  font-weight: 700;
  margin-top: 1px;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-muted  { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-metric { color: var(--metric); }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.gap-2 { gap: 8px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none; }

/* Contact page two-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .form-wrapper { padding: 32px 24px; }
  .case-highlight { padding: 36px 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════
   Design System v2.0 — Novos Componentes e Estilos
   ═══════════════════════════════════════════════════ */

/* ── Button gradient variant ── */
.btn--primary-grad {
  background: var(--grad-accent);
  color: var(--white);
}
.btn--primary-grad:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* ── Navigation scrolled state ── */
.nav--scrolled {
  background: rgba(16, 24, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .nav--scrolled {
    background: rgba(16, 24, 40, 0.98);
  }
}

/* ── Scroll-triggered animations ── */
.anim-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.anim-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.anim-scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for grids */
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-in,
  .anim-slide-up,
  .anim-scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Video embed component ── */
.video-embed {
  max-width: 720px;
  margin: 0 auto;
}
.video-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--primary);
}
.video-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__caption {
  margin-top: 16px;
  text-align: center;
}
.video-embed__author {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
}
.video-embed__desc {
  font-size: .85rem;
  color: var(--slate);
  margin-top: 4px;
}

/* Video embed dark variant (for dark sections) */
.video-embed--dark .video-embed__wrapper {
  border: 1px solid rgba(255,255,255,.1);
}
.video-embed--dark .video-embed__author { color: var(--white); }
.video-embed--dark .video-embed__desc { color: rgba(255,255,255,.5); }

/* ── IMGG Section ── */
.imgg {
  background: var(--surface);
}
.imgg__dimensions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.imgg__dim-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--t);
}
.imgg__dim-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.imgg__dim-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 800;
  color: var(--accent);
}
.imgg__dim-title {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* IMGG maturity levels */
.imgg__levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.imgg__level {
  padding: 24px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--border);
  background: var(--white);
}
.imgg__level--fragil {
  border-left-color: #EF4444;
}
.imgg__level--consistente {
  border-left-color: #F59E0B;
}
.imgg__level--madura {
  border-left-color: var(--metric);
}
.imgg__level-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.imgg__level-desc {
  font-size: .85rem;
  color: var(--slate);
  line-height: 1.55;
}

/* IMGG score (IIG) */
.imgg__score {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.imgg__score-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.imgg__score-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 8px;
}

/* IMGG metrics row */
.imgg__metrics {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.imgg__metric {
  text-align: center;
}
.imgg__metric-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.imgg__metric-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--slate);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .imgg__dimensions { grid-template-columns: repeat(2, 1fr); }
  .imgg__levels { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .imgg__dimensions { grid-template-columns: 1fr; }
}

/* ── Copy segmentada por papel (CEO, CFO, CIO) ── */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--t);
}
.role-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.role-card__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.role-card__badge--ceo {
  background: var(--accent-light);
  color: var(--accent);
}
.role-card__badge--cfo {
  background: var(--metric-bg);
  color: var(--metric-dark);
}
.role-card__badge--cio {
  background: #EDE9FE;
  color: #5B21B6;
}
.role-card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.role-card__text {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.65;
}
.role-card__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.role-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: var(--ink);
}
.role-card__list-item::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--metric);
  font-weight: 700;
}

/* Role tabs (alternative layout) */
.role-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.role-tab {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--t);
}
.role-tab:hover { color: var(--ink); }
.role-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.role-tab-content {
  display: none;
}
.role-tab-content.is-active {
  display: block;
}

@media (max-width: 900px) {
  .role-cards { grid-template-columns: 1fr; }
}

/* ── Blog placeholder ── */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.blog-category {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate);
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: var(--t);
  cursor: pointer;
}
.blog-category:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.blog-category.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.blog-empty {
  text-align: center;
  padding: 80px 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px dashed var(--border);
}
.blog-empty p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}
.blog-empty p + p {
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════════════════
   PREMIUM VISUAL OVERHAUL — Inspired by Clenia, Vaulta, Pipely
   Animated gradients, orbs, marquee, spotlight cards, large type
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Animated Gradient Hero Background ── */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 0%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

.hero--animated {
  background: linear-gradient(
    135deg,
    #101828 0%,
    #0a1a3d 20%,
    #151040 40%,
    #0d1f4a 60%,
    #101828 80%,
    #0a1a3d 100%
  );
  background-size: 400% 400%;
  animation: gradient-shift 20s ease infinite;
}

/* ── 2. Much Larger Typography ── */
.hero--animated .hero__title,
.hero__title--xl {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.section-title--xl {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ── 3. Animated Gradient Orbs ── */
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-40px, 30px) scale(1.08); }
  66%      { transform: translate(25px, -25px) scale(0.92); }
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.1); }
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.bg-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(68, 76, 231, 0.3) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation: orb-float-1 15s ease-in-out infinite;
}

.bg-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  animation: orb-float-2 18s ease-in-out infinite;
}

.bg-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orb-pulse 12s ease-in-out infinite;
}

/* Orbs for dark sections */
.bg-orb--dark-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(68, 76, 231, 0.12) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: orb-float-1 20s ease-in-out infinite;
}

.bg-orb--dark-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: orb-float-2 22s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb { animation: none; }
  .hero--animated { animation: none; }
}

/* ── 4. Cards with Spotlight Hover Effect ── */
.card--spotlight {
  position: relative;
  overflow: hidden;
}

.card--spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(68, 76, 231, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

.card--spotlight:hover::before {
  opacity: 1;
}

/* Dark variant spotlight */
.card--dark.card--spotlight::before {
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(68, 76, 231, 0.15) 0%,
    transparent 60%
  );
}

/* Ensure card content stays above spotlight */
.card--spotlight > * {
  position: relative;
  z-index: 2;
}

/* ── 5. Logo Carousel / Marquee ── */
@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 24px 0;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.marquee__item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.marquee__item img {
  height: 100%;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ── 6. Counter Animation Styles ── */
.counter {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
}

.counter--large {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

/* ── 7. More Generous Spacing ── */
section.section--spacious {
  padding: 120px 0;
}

section.section--spacious-lg {
  padding: 140px 0;
}

@media (max-width: 768px) {
  section.section--spacious { padding: 80px 0; }
  section.section--spacious-lg { padding: 96px 0; }
}

/* Increased gap helpers */
.gap-lg { gap: 40px; }
.gap-xl { gap: 56px; }

/* ── 8. Image Integration Styles ── */

/* Hero with background image + overlay */
.img-hero {
  position: relative;
  overflow: hidden;
}

.img-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.img-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 24, 40, 0.92) 0%,
    rgba(10, 26, 61, 0.85) 50%,
    rgba(16, 24, 40, 0.88) 100%
  );
  z-index: 1;
}

.img-hero > .container {
  position: relative;
  z-index: 2;
}

/* 50/50 Image + Text layout */
.img-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.img-section--reverse {
  direction: rtl;
}

.img-section--reverse > * {
  direction: ltr;
}

.img-section__media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.img-section__media img {
  width: 100%;
  height: auto;
  display: block;
}

.img-section__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .img-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .img-section--reverse {
    direction: ltr;
  }
}

/* Cards with images */
.img-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: var(--t);
}

.img-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.img-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.img-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-card:hover .img-card__media img {
  transform: scale(1.05);
}

.img-card__body {
  padding: 28px 24px;
}

.img-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.img-card__text {
  font-size: .9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ── 9. Testimonial Cards with Photos ── */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--sh-sm);
  transition: var(--t);
}

.testimonial:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.testimonial__quote {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-light);
  flex-shrink: 0;
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}

.testimonial__name {
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonial__role {
  font-size: .82rem;
  color: var(--slate);
  margin-top: 2px;
}

/* Dark variant */
.testimonial--dark {
  background: var(--grad-card);
  border-color: rgba(255, 255, 255, 0.08);
}

.testimonial--dark .testimonial__quote {
  color: rgba(255, 255, 255, 0.85);
  border-left-color: var(--accent);
}

.testimonial--dark .testimonial__name {
  color: var(--white);
}

.testimonial--dark .testimonial__role {
  color: rgba(255, 255, 255, 0.6);
}

/* ── 10. Smooth Page Transitions ── */
html {
  scroll-behavior: smooth;
}

/* Smoother transition timing */
.btn,
.card,
.nav__links a,
.testimonial,
.img-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 11. Gradient Text Effect ── */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #6366f1 40%, #818cf8 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.text-gradient--green {
  background: linear-gradient(135deg, var(--metric) 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ── 12. Floating Badge / Pill ── */
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: pill-float 4s ease-in-out infinite;
}

.pill--accent {
  background: rgba(68, 76, 231, 0.12);
  color: var(--accent);
  border: 1px solid rgba(68, 76, 231, 0.2);
}

.pill--green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--metric);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill--white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pill--static {
  animation: none;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pill { animation: none; }
}

/* ── 13. Hero Image Split Layout ── */
.hero__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.hero__split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}

.hero__split-media img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(16, 24, 40, 0.4) 100%
  );
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── 14. Enhanced Section Spacing Overrides ── */
.hero--animated {
  padding: 32px 0 48px;
}

@media (max-width: 768px) {
  .hero--animated { padding: 96px 0 80px; }
}

/* ── 15. Spotlight Card JS Helper ── */
/* Add this small inline script to enable mouse tracking:
   document.querySelectorAll('.card--spotlight').forEach(function(card) {
     card.addEventListener('mousemove', function(e) {
       var rect = card.getBoundingClientRect();
       card.style.setProperty('--mouse-x', ((e.clientX - rect.left) / rect.width * 100) + '%');
       card.style.setProperty('--mouse-y', ((e.clientY - rect.top) / rect.height * 100) + '%');
     });
   });
*/

/* ── 16. Additional Utility Classes ── */
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }

/* Larger section header for premium feel */
.section-header--lg {
  max-width: 760px;
  margin: 0 auto 72px;
}

.section-header--lg .section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
}

/* ── 17. Responsive Marquee ── */
@media (max-width: 480px) {
  .marquee__item { height: 44px; }
  .marquee__track { gap: 48px; }
}


/* ═══════════════════════════════════════════════════════════════════
   INTERMEDIATE VISUAL ELEMENTS — Inspired by Clenia, Vaulta, Pipely
   Gradient dividers, trust rows, integrations, CTA banners
   ═══════════════════════════════════════════════════════════════════ */

/* ── Gradient Divider ── */
.divider--gradient {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.3;
  max-width: 1140px;
  margin: 0 auto;
}
.divider--gradient-green {
  background: linear-gradient(90deg, transparent 0%, var(--metric) 50%, transparent 100%);
}

/* ── Testimonial Marquee ── */
.marquee--testimonials .marquee__track {
  gap: 24px;
  animation-duration: 45s;
}
.marquee--testimonials .marquee__item {
  opacity: 1;
  filter: none;
  height: auto;
  min-width: 320px;
  max-width: 380px;
}

/* ── Integration Grid ── */
.integrations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.integrations__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--t);
  min-height: 80px;
}
.integrations__item:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.integrations__item img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}
.integrations__item span {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--slate);
}

/* ── Enhanced CTA Banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
}
.cta-banner--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta-banner .btn--white {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
}
.cta-banner .btn--white:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ── Trust Badge Row ── */
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.trust-row__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--slate);
}
.trust-row__item svg {
  width: 18px;
  height: 18px;
  color: var(--metric);
}


/* ═══════════════════════════════════════════════════════════════════
   INTERMEDIATE VISUAL ELEMENTS v2 — Marquee Dividers, Steps,
   Stats Strip, Integration Grid, Testimonial Marquee
   Inspired by Clenia, Vaulta, Pipely
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Text Marquee Divider Strip (Pipely-inspired) ── */
.divider-marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.divider-marquee--accent { background: var(--accent); }
.divider-marquee--dark { background: var(--primary-2); }
.divider-marquee--metric { background: var(--metric); }
.divider-marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.divider-marquee__text {
  font-family: var(--font-head);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 24px;
  color: var(--white);
  opacity: .9;
}
.divider-marquee--metric .divider-marquee__text { color: var(--metric-dark); }

@media (prefers-reduced-motion: reduce) {
  .divider-marquee__track { animation: none; }
}

/* ── 2. Steps with Connector Line (Vaulta-inspired) ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 600px;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 72px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 900;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__number--green {
  background: var(--metric);
}
.step__content {}
.step__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.step__text {
  font-size: .9rem;
  color: var(--slate);
}

/* ── 3. Stats Strip (Pipely-inspired horizontal metrics) ── */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 48px 24px;
  flex-wrap: wrap;
}
.stats-strip--dark { background: var(--primary); }
.stats-strip--accent { background: var(--accent); }
.stats-strip__item { text-align: center; }
.stats-strip__number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stats-strip__label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .stats-strip {
    gap: 32px;
    padding: 36px 16px;
  }
  .stats-strip__item {
    flex: 0 0 calc(50% - 16px);
  }
}

/* ── 4. Integration Grid (Vaulta-inspired) ── */
.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.integration-item {
  width: 100px;
  height: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.integration-item:hover {
  border-color: rgba(68, 76, 231, .4);
  box-shadow: 0 0 20px rgba(68, 76, 231, .12);
  transform: translateY(-4px);
}
.integration-item__name {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
}

/* ── 5. Testimonial Marquee variant ── */
.testimonial-marquee .marquee__track { gap: 24px; }
.testimonial-marquee .marquee__item {
  opacity: 1;
  filter: none;
  height: auto;
  min-width: 320px;
  max-width: 380px;
}
