/* SYSTETICA — Landing institucional. Tokens de marca de styles/_theme.scss (fonte da verdade). */

:root {
  /* Brand magenta scale */
  --magenta-100: #fce3ee;
  --magenta-200: #f7b9d4;
  --magenta-300: #f088b6;
  --magenta-400: #e85c99;
  --magenta-500: #d6336c;
  --magenta-600: #c02a5e;
  --magenta-700: #a21f4b;

  --brand-gradient: linear-gradient(135deg, #e85c99 0%, #a21f4b 100%);

  /* Semantic (do app) */
  --success: #2e8b57;
  --info: #3e7cb1;
  --warning: #e8a317;
  --danger: #c0392b;

  /* Text + surfaces */
  --text-strong: #16181d;
  --text-muted: #5a5f6a;
  --surface: #ffffff;
  --surface-alt: #fafafb;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --dark-surface-1: #1e2128;
  --dark-surface-2: #262a33;

  /* Shapes */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Soft, diffuse shadows (kinvo/mobills) */
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.04), 0 1px 3px rgba(22, 24, 29, 0.06);
  --shadow-md: 0 4px 12px rgba(22, 24, 29, 0.06), 0 2px 6px rgba(22, 24, 29, 0.04);
  --shadow-lg: 0 18px 40px rgba(22, 24, 29, 0.1), 0 6px 16px rgba(22, 24, 29, 0.06);
  --shadow-card-hover: 0 16px 32px rgba(214, 51, 108, 0.1), 0 4px 10px rgba(22, 24, 29, 0.05);

  /* Typography */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Tenor Sans", "Inter", serif;

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

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-strong);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--magenta-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -64px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--magenta-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 64px;
}

.section--tight {
  padding-block: 48px;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta-500);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section__subtitle {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--magenta-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(214, 51, 108, 0.28);
}

.btn--primary:hover {
  background: var(--magenta-600);
  box-shadow: 0 8px 22px rgba(214, 51, 108, 0.34);
}

.btn--outline {
  background: transparent;
  color: var(--magenta-600);
  border-color: var(--magenta-200);
}

.btn--outline:hover {
  border-color: var(--magenta-400);
  background: var(--magenta-100);
}

.btn--ghost {
  background: transparent;
  color: var(--text-strong);
  padding-inline: 14px;
}

.btn--ghost:hover {
  color: var(--magenta-600);
}

.btn--on-magenta {
  background: #fff;
  color: var(--magenta-600);
}

.btn--on-magenta:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
  background: rgba(255, 255, 255, 0.95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}

.brand__mark {
  width: auto;
  height: 36px;
  flex: none;
}

.brand__name {
  font-weight: 400;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text-strong);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-strong);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--surface);
  padding: 24px 20px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.28s ease,
    visibility 0s linear 0.28s;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.28s ease,
    visibility 0s;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-drawer a.drawer-link {
  display: block;
  padding: 14px 12px;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  color: var(--text-strong);
}

.mobile-drawer a.drawer-link:hover {
  background: var(--surface-alt);
}

.mobile-drawer .drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 64px;
}

.hero::before {
  /* Soft magenta radial glow behind the mockup, never a flat fill. */
  content: "";
  position: absolute;
  top: -10%;
  right: -20%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(232, 92, 153, 0.22) 0%, rgba(232, 92, 153, 0) 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.08;
}

.hero__subtitle {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
}

.hero__seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__seal svg {
  color: var(--success);
  flex: none;
}

/* ---------- Device frame / dashboard mockup ---------- */
.device {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 560px;
  margin-inline: auto;
}

.device__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.device__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d8dade;
}

.device__url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 12px;
}

.mock {
  padding: 18px;
  background: var(--surface-alt);
}

.mock__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mock__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.mock__pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--magenta-600);
  background: var(--magenta-100);
  padding: 4px 10px;
  border-radius: 999px;
}

.mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-kpi {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.mock-kpi__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.mock-kpi__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-top: 4px;
}

.mock-kpi__value--accent {
  color: var(--magenta-500);
}

.mock__agenda {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
}

.mock-appt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.mock-appt + .mock-appt {
  border-top: 1px solid var(--border-subtle);
}

.mock-appt__time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 42px;
  flex: none;
}

.mock-appt__bar {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  background: var(--magenta-400);
}

.mock-appt__bar--info {
  background: var(--info);
}

.mock-appt__bar--success {
  background: var(--success);
}

.mock-appt__body {
  flex: 1;
  min-width: 0;
}

.mock-appt__name {
  font-size: 0.8125rem;
  font-weight: 600;
}

.mock-appt__svc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-tag--success {
  color: var(--success);
  background: rgba(46, 139, 87, 0.12);
}

.mock-tag--warning {
  color: #9a6c00;
  background: rgba(232, 163, 23, 0.16);
}

.mock-tag--info {
  color: var(--info);
  background: rgba(62, 124, 177, 0.14);
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--surface-alt);
  border-block: 1px solid var(--border-subtle);
}

.trust__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.trust__lead {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-strong);
  max-width: 40ch;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  width: 100%;
  max-width: 640px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--magenta-500);
  line-height: 1;
}

.stat__label {
  margin-top: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--magenta-200);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--magenta-100);
  color: var(--magenta-500);
  margin-bottom: 18px;
}

.feature-card__title {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Alternating highlight (WhatsApp) ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split__media {
  display: flex;
  justify-content: center;
}

.split__title {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
}

.split__text {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}

.bullet-list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--magenta-100);
  color: var(--magenta-500);
  margin-top: 1px;
}

.split__cta {
  margin-top: 28px;
}

/* Phone mockup (WhatsApp) */
.phone {
  width: 280px;
  max-width: 78vw;
  background: #0b141a;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone__screen {
  background: #e5ddd5;
  border-radius: 24px;
  overflow: hidden;
}

.phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: #075e54;
  color: #fff;
}

.phone__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--magenta-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}

.phone__contact {
  line-height: 1.2;
}

.phone__contact strong {
  font-size: 0.875rem;
}

.phone__contact span {
  font-size: 0.6875rem;
  opacity: 0.85;
}

.phone__chat {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
}

.bubble {
  max-width: 82%;
  padding: 9px 12px;
  font-size: 0.8125rem;
  line-height: 1.4;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.bubble--in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 2px;
}

.bubble--out {
  align-self: flex-end;
  background: #d9fdd3;
  border-top-right-radius: 2px;
}

.bubble time {
  display: block;
  margin-top: 4px;
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: right;
}

.bubble .quick {
  display: inline-block;
  margin-top: 6px;
  margin-right: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--info);
  background: rgba(62, 124, 177, 0.12);
  border-radius: 999px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--magenta-200);
  color: var(--magenta-500);
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 18px;
}

.step__title {
  font-size: 1.1875rem;
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.testi-card__stars {
  color: var(--warning);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card__quote {
  font-size: 1rem;
  color: var(--text-strong);
}

.testi-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--magenta-100);
  color: var(--magenta-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex: none;
}

.testi-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.testi-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testi-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Demo (no prices) ---------- */
.demo {
  background: var(--surface-alt);
}

.demo__card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 44px 32px;
  text-align: center;
}

.demo__title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
}

.demo__text {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.demo__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 24px;
}

.demo__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-strong);
}

.demo__list svg {
  color: var(--magenta-500);
  flex: none;
}

.demo__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-strong);
}

.faq-item__trigger:hover {
  color: var(--magenta-600);
}

.faq-item__icon {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.25s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--magenta-500);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease;
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-item__panel-inner {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel,
  .faq-item__icon::after {
    transition: none;
  }
}

/* ---------- Final CTA (the only full magenta band) ---------- */
.final-cta {
  background: var(--brand-gradient);
  color: #fff;
  text-align: center;
}

.final-cta__title {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.final-cta__text {
  margin-top: 16px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
}

.final-cta__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.final-cta__note {
  margin-top: 18px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-surface-1);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .container {
  padding-block: 56px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer-brand .brand__name {
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9375rem;
  max-width: 34ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.footer-social a:hover {
  background: var(--magenta-500);
  color: #fff;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 88px;
  }

  .section--tight {
    padding-block: 64px;
  }

  .container {
    padding-inline: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 48px;
  }

  .trust__stats {
    grid-template-columns: repeat(4, 1fr);
    width: auto;
  }

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

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding-block: 80px 96px;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }

  .hero__title {
    font-size: clamp(2.75rem, 4.4vw, 3.75rem);
  }

  /* Keep the alternating layout: media on the left, text on the right. */
  .split--reverse .split__media {
    order: 2;
  }
}

/* Steps connector (desktop only, decorative) */
@media (min-width: 768px) {
  .steps {
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background-image: linear-gradient(to right, var(--magenta-200) 60%, transparent 60%);
    background-size: 14px 2px;
    background-repeat: repeat-x;
    z-index: 0;
  }

  .step {
    position: relative;
    z-index: 1;
  }
}
