/* ==========================================================================
   Mycra — Landing pages (mycra.com.br)
   Design tokens follow kit-management-backend/design.md (same palette as the
   reseller and brand apps): terracotta primary, warm off-white surfaces,
   Inter for UI/text, Playfair Display only for editorial accents.
   ========================================================================== */

:root {
  /* Brand */
  --primary: #a13a00;
  --primary-hover: #822e00;
  --primary-50: #fff1ea;
  --primary-100: #ffdbce;
  --primary-200: #ffb598;
  --gold: #b8912e;
  --gold-50: #fbf5e4;

  /* Surfaces & text */
  --bg: #faf9f6;
  --bg-alt: #f4f1ec;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --line: #e7e5e4;
  --line-strong: #d6d3d1;

  /* Status */
  --ok: #2f7d4f;
  --ok-bg: #e8f4ec;
  --warn: #9a6a12;
  --warn-bg: #fbf1dc;

  /* Shape & depth (design.md: soft geometric, tonal layers) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-1: 0 4px 12px rgba(28, 25, 23, 0.05);
  --shadow-2: 0 18px 48px -16px rgba(28, 25, 23, 0.18);

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.accent { color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo span { font-size: 23px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; padding-bottom: 2px; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav a.nav-switch { color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-switch:hover { color: var(--primary-hover); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--card); border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -8px rgba(161,58,0,.6); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--primary-50); }

/* ---------- Eyebrow / chips ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-primary { background: var(--primary-50); color: var(--primary); }
.chip-neutral { background: var(--bg-alt); color: var(--muted); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 16px; letter-spacing: -0.035em; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; }
.hero::before {
  /* subtle "tech" dot grid, faded toward the edges */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(28,25,23,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.9vw, 58px); line-height: 1.02; letter-spacing: -0.045em; margin-top: 22px; }
.hero h1 .serif { font-size: 1.04em; }
.hero-sub { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

.hero-visual { position: relative; min-height: 560px; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 74%; height: 100%;
  border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(28,25,23,.25)); }

/* ---------- App UI mockups ---------- */
.ui-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 20px;
}
.hero-visual .ui-card { position: absolute; left: 0; bottom: 36px; width: min(400px, 82%); z-index: 2; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ui-title { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.ui-meta { font-size: 12.5px; color: var(--soft); margin-top: 2px; }
.ui-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.ui-row { display: flex; align-items: center; gap: 12px; }
.ui-divider { height: 1px; background: var(--line); margin: 16px 0; }

.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ui-stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.ui-stat b { display: block; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ui-stat span { font-size: 11.5px; color: var(--soft); }

.ui-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bg-alt); margin-top: 10px; }
.ui-bar i { display: block; height: 100%; }
.ui-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.ui-label b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.split-legend { display: grid; gap: 8px; margin-top: 12px; }
.split-legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.split-legend li b { margin-left: auto; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.split-legend .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-brand, .bar-brand { background: var(--primary); }
.sw-reseller, .bar-reseller { background: var(--primary-200); }
.sw-fee, .bar-fee { background: var(--line-strong); }
.sw-sold, .bar-sold { background: var(--primary); }
.sw-with, .bar-with { background: var(--primary-100); }
.sw-back, .bar-back { background: var(--line-strong); }

.floating-tag {
  position: absolute; right: 22px; top: 28px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  backdrop-filter: blur(8px);
}
.floating-tag .qr { width: 40px; height: 40px; flex: none; }
.floating-tag small { display: block; font-size: 11.5px; color: var(--soft); }
.floating-tag strong { font-size: 13.5px; font-weight: 650; }

/* ---------- Feature cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.feature {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature:hover { border-color: var(--primary-200); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--primary-50); color: var(--primary); margin-bottom: 22px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; letter-spacing: -0.02em; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.feature .tag-new { position: absolute; top: 28px; right: 28px; }
.feature-list { margin-top: 18px; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.feature-list svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 4px; }

/* ---------- Split / showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.showcase + .showcase { margin-top: 112px; }
.showcase.reverse .showcase-media { order: 2; }
.showcase-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--bg-alt); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-media .ui-card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 16px; box-shadow: var(--shadow-2); }
.showcase h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; margin-top: 16px; }
.showcase p.lead { margin-top: 16px; font-size: 17px; color: var(--muted); }

.steps { display: grid; gap: 0; margin-top: 28px; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-size: 13px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps h4 { font-size: 16.5px; letter-spacing: -0.015em; }
.steps p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Item list inside mockups */
.ui-items { display: grid; gap: 8px; }
.ui-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; font-size: 13px; }
.ui-item .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-alt); display: grid; place-items: center; color: var(--muted); }
.ui-item .ico svg { width: 16px; height: 16px; }
.ui-item .sku { color: var(--soft); font-size: 11.5px; display: block; }

/* ---------- Pricing ---------- */
.pricing-banner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: -24px auto 40px; max-width: 980px;
  padding: 14px 20px; border: 1px dashed var(--primary-200); border-radius: var(--r-md); background: var(--primary-50);
  font-size: 14.5px; color: var(--ink);
}
.pricing-banner span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-banner svg { width: 16px; height: 16px; color: var(--primary); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
}
.plan.featured { border: 1.5px solid var(--primary); box-shadow: var(--shadow-2); }
.plan .badge { position: absolute; top: -12px; left: 32px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-cap { margin-top: 4px; font-size: 14px; color: var(--soft); }
.plan-rate { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }
.plan-rate b { font-size: 60px; line-height: 1; letter-spacing: -0.05em; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-rate span { font-size: 14px; color: var(--muted); line-height: 1.3; }
.plan-fixed { margin-top: 18px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; }
.plan-fixed b { font-variant-numeric: tabular-nums; }
.plan .feature-list { margin: 22px 0 28px; }
.plan .btn { margin-top: auto; }
.pricing-note { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 13.5px; color: var(--soft); }

/* ---------- Simulator ---------- */
.sim {
  display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1);
}
.sim-controls { padding: 44px; display: grid; gap: 34px; align-content: start; }
.sim-result { padding: 44px; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.sim-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.sim-field output { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sim-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--soft); margin-top: 8px; font-variant-numeric: tabular-nums; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: 12px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--primary); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(161,58,0,.3); transition: transform .15s;
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: 0 2px 8px rgba(161,58,0,.3); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }

.sim-result small { font-size: 13px; color: rgba(255,255,255,.62); letter-spacing: .02em; }
.sim-big { font-size: clamp(44px, 6vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; }
.sim-big .cur { font-size: .45em; font-weight: 600; letter-spacing: -0.01em; margin-right: 6px; color: var(--primary-200); vertical-align: 0.6em; }
.sim-lines { margin-top: 28px; display: grid; gap: 0; }
.sim-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; color: rgba(255,255,255,.78); }
.sim-lines li b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.sim-lines li.hl b { color: var(--primary-200); }
.sim-result .btn { margin-top: auto; }
.sim-foot { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); }
.sim-plan { display: inline-flex; align-self: flex-start; margin-top: 10px; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.seg button { border: 0; background: transparent; border-radius: 7px; padding: 8px 6px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-1); }

/* ---------- Evolution track (revendedoras) ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.journey .feature { padding-top: 28px; }
.journey .step-n { font-size: 13px; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.journey h3 { margin-top: 14px; }
.journey .callout { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--primary-50); font-size: 14px; color: var(--ink); }
.journey .callout b { color: var(--primary); }

.evolution {
  margin-top: 28px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg);
}
.evolution h4 { font-size: 15px; letter-spacing: -0.01em; }
.evolution p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.track::before { content: ""; position: absolute; left: 12%; right: 12%; top: 19px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--primary)); }
.track li { position: relative; text-align: center; font-size: 13px; color: var(--muted); }
.track .pin { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--line-strong); color: var(--muted); position: relative; }
.track .pin svg { width: 18px; height: 18px; }
.track li:last-child .pin { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 6px var(--primary-50); }
.track b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0;
  list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); font-size: 15.5px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch;
}
.cta-band .cta-copy { padding: 64px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,.72); font-size: 17px; max-width: 480px; }
.cta-band .hero-ctas { margin-top: 30px; }
.cta-band .cta-media { position: relative; min-height: 280px; }
.cta-band .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink), transparent 45%); }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-secondary:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); margin-top: 112px; background: var(--card); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid p { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 300px; }
.footer-grid h5 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; font-size: 14.5px; color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.footer-bottom a { color: var(--soft); }

/* ---------- Modal / form ---------- */
dialog.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-xl);
  background: var(--card); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(28,25,23,.45); overflow: auto;
}
dialog.modal::backdrop { background: rgba(28,25,23,.5); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-inner { padding: 36px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-alt); cursor: pointer; display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 { font-size: 26px; letter-spacing: -0.03em; margin-top: 12px; padding-right: 32px; }
.modal .modal-sub { margin-top: 8px; font-size: 15px; color: var(--muted); }

.form { display: grid; gap: 16px; margin-top: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.city { grid-template-columns: 1fr 96px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--card);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.field.invalid input, .field.invalid select { border-color: #b42318; }
.field .err { display: none; margin-top: 6px; font-size: 12.5px; color: #b42318; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); flex: none; }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: var(--r-sm); display: none; }
.form-msg.error { display: block; background: #fef3f2; color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 20px 0 4px; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { margin-top: 18px; font-size: 22px; }
.form-success p { margin-top: 8px; color: var(--muted); }
.modal.is-done .form, .modal.is-done .modal-head { display: none; }
.modal.is-done .form-success { display: block; }

.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Reveal on scroll (very light) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: 0; }
  .site-header .container { gap: 12px; }
  .site-header.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .site-header.menu-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.menu-open .nav .nav-mobile-only { display: block; }

  .hero-grid, .showcase, .sim, .cta-band, .evolution { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .showcase { gap: 40px; }
  .showcase.reverse .showcase-media { order: 0; }
  .plans, .grid-3, .journey { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .cta-media { min-height: 220px; order: -1; }
  .cta-band .cta-media::before { background: linear-gradient(0deg, var(--ink), transparent 60%); }
}
.nav .nav-mobile-only { display: none; }
.header-actions .btn-primary .short { display: none; }

@media (max-width: 680px) {
  :root { --gutter: 16px; --header-h: 60px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 40px 0 72px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .header-actions .btn-primary { padding: 0 14px; font-size: 14px; min-height: 40px; }
  .header-actions .btn-primary .long { display: none; }
  .header-actions .btn-primary .short { display: inline; }
  .hero-visual { min-height: 0; display: grid; gap: 16px; }
  .hero-photo { position: relative; width: 100%; height: 340px; }
  .hero-visual .ui-card { position: relative; width: 100%; bottom: auto; margin-top: -96px; }
  .floating-tag { right: 12px; top: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
  .feature { padding: 26px; }
  .sim-controls, .sim-result { padding: 28px 22px; }
  .sim-result .btn { margin-top: 28px; }
  .cta-band .cta-copy { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-inner { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.city { grid-template-columns: 1fr 88px; }
  .faq .answer { padding-right: 0; }
  .track { grid-template-columns: repeat(3, 1fr); }
  .track li { font-size: 12px; }
  .evolution { padding: 24px 20px; gap: 28px; }
  .showcase-media { aspect-ratio: 4 / 4.6; }
  .site-footer { margin-top: 80px; }
}
