/* ===== Fonts (self-hosted, latin subset, variable) ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../assets/fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../assets/fonts/sora-latin.woff2) format('woff2'); }

/* ===== Tokens ===== */
/* Dark-first: default (no data-theme) = dark. data-theme="light" overrides. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0a0a0a;
  --color-surface: #0c0f16;
  --color-surface-2: #11151f;
  --color-text: #f5f5f5;
  --color-text-muted: #9aa3b0;
  --color-border: #1c232f;
}

:root[data-theme="light"] {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #f1f1f1;
  --color-surface-2: #e8e8e8;
  --color-text: #0a0a0a;
  --color-text-muted: #64748b;
  --color-border: #e2e2e2;
}

:root {
  --color-accent: #ffb563;
  --color-success: #22c55e;
  --color-error: #ef4444;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 34px rgba(0, 0, 0, 0.35);
  --glow-accent: 0 0 18px color-mix(in srgb, var(--color-accent) 55%, transparent), 0 0 42px color-mix(in srgb, var(--color-accent) 25%, transparent);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip, not hidden: `hidden` on html/body turns them into a
   scroll container per spec, which silently breaks position:sticky for any
   descendant (it sticks relative to that box instead of the viewport). */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease;
}
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 var(--space-2); }
p { margin: 0 0 var(--space-2); color: var(--color-text-muted); }

/* Typography: tracking/leading tighten as text gets bigger (Apple optical-sizing discipline) */
h1 { letter-spacing: -0.02em; line-height: 1.05; }
h2 { letter-spacing: -0.015em; line-height: 1.15; }
h3 { letter-spacing: -0.01em; line-height: 1.25; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-accent); color: #0a0a0a;
  padding: var(--space-1) var(--space-2); z-index: 1000;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* padding-inline only: a shorthand `padding` here would zero out top/bottom
     (via higher class specificity) on every <section class="... container">,
     wiping out the vertical rhythm the plain `section` selector sets. */
  padding-inline: var(--space-2);
}

.accent { color: var(--color-accent); }

/* Glow on accent text: dark theme only, orange halo on white reads as smudge */
:root:not([data-theme="light"]) :is(.accent, .eyebrow, .hero__kicker, .price-card__tagline) { text-shadow: var(--glow-accent); }

.eyebrow {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--color-accent); margin-bottom: var(--space-1);
}

.section-title { font-size: 1.75rem; font-weight: 700; }
.section-title--center { text-align: center; }
.section-subtitle { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.section-subtitle--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--primary { background: var(--color-text); color: var(--color-bg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--secondary { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
.btn--secondary:hover { background: var(--color-surface-2); }
/* Instant feedback on press, not on release (Apple: respond on pointer-down) */
.btn:active { transform: scale(0.97); transition: transform 100ms ease-out; }
.btn--sm { padding: 8px 16px; font-size: .875rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { display: block; width: 100%; }

/* ===== Header (floating pill) ===== */
body { padding-top: 98px; }
.header {
  /* No transform/backdrop-filter/filter directly on .header: any of those make it
     the containing block for position:fixed descendants, which trapped the mobile
     .nav dropdown inside the header's own small box instead of the viewport.
     The frosted-glass look lives on .header__bg (a non-ancestor sibling) instead. */
  position: fixed; top: var(--space-2); left: 0; right: 0;
  margin: 0 auto;
  width: calc(100% - var(--space-4));
  max-width: 1100px;
  z-index: 100;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: border-color .25s ease, box-shadow .3s ease;
}
.header__bg {
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: color-mix(in srgb, var(--color-bg) 55%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: background-color .25s ease;
}
/* Depth/hierarchy: chrome solidifies once content actually sits behind it */
.header--scrolled .header__bg {
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
}
.header--scrolled { box-shadow: var(--shadow-card); }

/* Materials: frostier/solid when the user asks for less transparency or more contrast */
@media (prefers-reduced-transparency: reduce) {
  .header__bg { background: var(--color-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .header__bg { background: var(--color-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header { border-width: 2px; }
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--space-2) 10px var(--space-3);
}
.header__logo { display: block; }
.logo-img { height: 40px; width: auto; }
.logo-img--light { display: none; }
.logo-img--dark { display: block; }
:root[data-theme="light"] .logo-img--light { display: block; }
:root[data-theme="light"] .logo-img--dark { display: none; }

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

.theme-toggle {
  background: none; border: none; cursor: pointer; color: var(--color-text);
  display: flex; align-items: center; padding: 4px;
}
.theme-toggle:active, .nav-toggle:active { transform: scale(0.88); transition: transform 100ms ease-out; }
.icon { width: 22px; height: 22px; }
.icon--sun { display: none; }
.icon--moon { display: block; }
:root[data-theme="light"] .icon--sun { display: block; }
:root[data-theme="light"] .icon--moon { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text); }

.nav {
  position: fixed; inset: 84px 0 0 0;
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}
.nav.is-open { transform: translateX(0); }
.nav__list { display: flex; flex-direction: column; padding: var(--space-4) var(--space-2); gap: var(--space-3); }
.nav__list a { display: block; font-weight: 500; }

/* ===== Hero ===== */
.hero { position: relative; padding-top: var(--space-8); padding-bottom: var(--space-4); text-align: center; }
.hero__kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent); }
.hero h1 { font-size: 2.1rem; font-weight: 800; }
.hero__subtitle { font-size: 1.05rem; max-width: 560px; margin: 0 auto var(--space-4); }
.hero__ctas { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); }

/* Entrada do hero em CSS puro: não depende de GSAP/CDN carregar, então não atrasa o LCP */
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-in { animation: hero-in .7s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }

/* ===== Hero mockup (product preview panel) ===== */
.hero__mockup { position: relative; max-width: 940px; margin: 0 auto; }
.hero__mockup-inner {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mockup__topbar {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 12px var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.mockup__dots { display: flex; gap: 6px; }
.mockup__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border); }
.mockup__filename {
  font-family: var(--font-mono); font-size: .75rem; color: var(--color-text-muted);
  background: var(--color-surface-2); padding: 3px 10px; border-radius: 6px;
}
.mockup__body { padding: var(--space-4); min-height: 340px; font-family: var(--font-mono); font-size: .8rem; text-align: left; overflow-x: auto; }
.mockup__line { white-space: pre; color: var(--color-text-muted); padding: 2px 0; }
.tok-kw { color: #ff7ab6; }
.tok-fn { color: #7dd3fc; }
.tok-str { color: #a3e635; }
.tok-com { color: var(--color-text-muted); opacity: .7; }

/* ===== Logos marquee (auto-scrolling tech row) ===== */
.logos-marquee {
  margin: var(--space-4) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logos-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logos-marquee__group {
  display: flex;
  gap: var(--space-2);
  padding-right: var(--space-2);
}
.logos-marquee__group li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px var(--space-2);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}
.logos-marquee__group li img {
  width: 20px; height: 20px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-marquee__track { animation: none; }
  .logos-marquee { overflow-x: auto; }
}

/* ===== Cards grid ===== */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.card,
.hero__mockup-inner,
.features__card,
.price-card {
  background: color-mix(in srgb, var(--color-surface) 65%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.ia__item,
.direct-contact__card {
  background: color-mix(in srgb, var(--color-bg) 65%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
@media (prefers-reduced-transparency: reduce) {
  .card,
  .hero__mockup-inner,
  .features__card,
  .price-card { background: var(--color-surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ia__item,
  .direct-contact__card { background: var(--color-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.card--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.card__tag {
  display: inline-block; font-family: var(--font-mono); font-size: .75rem;
  color: var(--color-text-muted); margin-bottom: var(--space-2);
}
.card__icon { color: var(--color-accent); margin-bottom: var(--space-2); }
.card__icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 1.15rem; }

@media (prefers-contrast: more) {
  .card--outline { border-width: 2px; }
  .price-card { border-width: 2px; }
}

/* ===== IA section ===== */
.ia { background: var(--color-surface); }
.ia__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.ia__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.ia__step { font-family: var(--font-mono); font-size: .75rem; color: var(--color-accent); }
.ia__item h3 { font-size: 1.05rem; }

/* ===== Features (bento grid) ===== */
.features__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.features__card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}
.features__card h3 { font-size: 1.3rem; }
.features__card p { margin-bottom: var(--space-2); }
.features__card--big { justify-content: flex-end; }
.features__col { display: flex; flex-direction: column; gap: var(--space-3); }
.features__row { display: flex; flex-direction: column; gap: var(--space-3); }
.features__link { font-weight: 600; font-size: .9rem; color: var(--color-text); align-self: flex-start; }
.features__link:hover { color: var(--color-accent); }

.features__mock { border-radius: var(--radius-md); background: var(--color-surface-2); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); font-family: var(--font-mono); font-size: .75rem; }
.features__mock .mockup__line { padding: 3px 0; }

.features__lottie { width: 100%; max-width: 260px; margin: 0 auto var(--space-3); }
.features__lottie svg { display: block; }

.features__cta { text-align: center; margin-top: var(--space-4); }

/* ===== Pricing ===== */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.price-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card--featured { border-color: var(--color-accent); border-width: 2px; }
.price-card__badge {
  position: absolute; top: -12px; left: var(--space-2);
  background: var(--color-accent); color: #0a0a0a;
  font-size: .75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.price-card__tagline { font-size: .8rem; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: .04em; }
.price-card h3 { margin-bottom: 4px; }
.price-card__desc { font-size: .875rem; }
.price-card__price { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--color-text); }
.price-card__from { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--color-text-muted); }
.price-card__features { margin: var(--space-3) 0; flex-grow: 1; }
.price-card__features li { padding: 6px 0; border-top: 1px solid var(--color-border); font-size: .9rem; }
.price-card__features li:first-child { border-top: none; }

/* ===== FAQ ===== */
.faq__list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding-inline: var(--space-3);
}
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: .55rem; height: .55rem;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { color: var(--color-text-muted); padding-bottom: var(--space-3); margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq__item summary::after { transition: none; } }

/* ===== Contato / Form ===== */
.contato { background: var(--color-surface); }
.form-card { max-width: 640px; margin: var(--space-4) auto 0; }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
.form__field { margin-bottom: var(--space-2); display: flex; flex-direction: column; }
.form__field label { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.form__field input, .form__field textarea, .form__field select {
  font-family: var(--font-body);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px;
}
/* Select: seta própria (gradientes com vars do tema); a lista de opções segue color-scheme */
.form__field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 36px; cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
    linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.form__field select:has(option[value=""]:checked) { color: var(--color-text-muted); }
.form__field select option { color: var(--color-text); background: var(--color-bg); }
.form__error {
  display: none;
  color: var(--color-error);
  font-size: .8rem;
  margin-top: 4px;
}
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: var(--color-error); }
.form__field.is-invalid .form__error { display: block; }

.form__optional { font-weight: 400; color: var(--color-text-muted); font-size: .8rem; }

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ===== Switch (consent toggle) ===== */
.form__switch {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--space-3); cursor: pointer;
}
.switch { position: relative; display: inline-flex; width: 40px; height: 24px; flex-shrink: 0; }
.switch input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.switch__track {
  position: absolute; inset: 0;
  background: var(--color-border); border-radius: 999px;
  transition: background-color .2s ease;
  pointer-events: none;
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff;
  transition: transform .2s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}
.switch input:checked ~ .switch__track { background: var(--color-accent); }
.switch input:checked ~ .switch__thumb { transform: translateX(16px); }
.switch input:focus-visible ~ .switch__track { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.switch__text { font-size: .875rem; color: var(--color-text-muted); }

.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.form__success {
  display: none;
  color: var(--color-success);
  font-weight: 600;
  margin-top: var(--space-2);
}
.form__success.is-visible { display: block; }

/* ===== Contato direto ===== */
.direct-contact { margin-top: var(--space-8); text-align: center; }
.direct-contact__title { font-size: 1.15rem; }
.direct-contact__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-3);
  max-width: 640px; margin: var(--space-3) auto 0;
}
.direct-contact__card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: border-color .15s ease, transform .15s ease;
}
.direct-contact__card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.direct-contact__card:active { transform: scale(0.98); transition: transform 100ms ease-out; }
.direct-contact__icon { width: 26px; height: 26px; color: var(--color-accent); margin-bottom: 4px; }
.direct-contact__label { font-size: .8rem; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.direct-contact__value { font-weight: 600; color: var(--color-text); }

/* ===== 404 ===== */
.error-404 { padding: var(--space-12) var(--space-2); text-align: center; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-404__code { font-size: 5rem; font-weight: 800; color: var(--color-accent); margin: 0; }
.error-404__ctas { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 640px) {
  .error-404__code { font-size: 7rem; }
  .error-404__ctas { flex-direction: row; justify-content: center; }
}

/* ===== Footer ===== */
.footer { background: var(--color-bg); border-top: 1px solid var(--color-border); color: var(--color-text); padding: var(--space-6) 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; }
.footer__logo { height: 80px; width: auto; }
.footer p { color: var(--color-text-muted); margin: 0; }
.footer__links { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.footer__links a:hover { color: var(--color-accent); }

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: var(--space-4); right: var(--space-4);
  width: 46px; height: 46px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 200;
  transition: transform .15s ease;
}
.whatsapp-fab::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: fab-pulse 2.4s ease-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab:active { transform: scale(0.92); transition: transform 100ms ease-out; }

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

/* ===== Tablet ===== */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.75rem; }
  .hero__ctas { flex-direction: row; justify-content: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ia__grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .direct-contact__grid { grid-template-columns: repeat(2, 1fr); }
  .features__row { flex-direction: row; }
  .features__row .features__card { flex: 1; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  section { padding: var(--space-12) 0; }
  .hero h1 { font-size: 3.75rem; }
  .section-title { font-size: 2.5rem; }

  .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; transform: none; background: none; overflow: visible;
  }
  .nav__list { flex-direction: row; align-items: center; padding: 0; }

  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .ia__grid { grid-template-columns: repeat(4, 1fr); }
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }

  .features__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .features__grid > .features__card--big { grid-column: 1; grid-row: 1 / 3; }
  .features__grid > .features__card:not(.features__card--big):not(.features__row) { grid-column: 2; grid-row: 1; }
  .features__grid > .features__row { grid-column: 2; grid-row: 2; }
}
