/* =========================================================
   Prospex Tecnologia — estilos do site institucional
   ========================================================= */

:root {
  --red: #e3262b;
  --red-600: #c81d22;
  --red-700: #a8161b;
  --ink: #0b0f19;
  --ink-2: #121828;
  --ink-3: #1c2336;
  --text: #1d2331;
  --muted: #5b6475;
  --muted-dark: #9aa3b5;
  --line: #e6e8ee;
  --line-dark: rgba(255, 255, 255, .09);
  --surface: #ffffff;
  --surface-alt: #f5f6f9;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 12px 32px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 15, 25, .45);

  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; color: inherit; }
p { margin: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(227, 38, 43, .55); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(227, 38, 43, .7); }
.btn-primary:hover { background: var(--red-600); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f2f5; }
.btn-link { padding-left: 4px; padding-right: 4px; color: var(--red-600); background: none; }
.btn-link:hover { color: var(--red-700); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Tipografia auxiliar ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-600);
}
.eyebrow--dark { color: #ffb3b5; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 43, .25); }

.text-gradient {
  background: linear-gradient(90deg, #ff5a5f, var(--red) 60%, #ff8a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; position: relative; }
.brand-logo { width: 150px; height: auto; }
.brand-logo--dark { display: none; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav ul a {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: color .2s ease;
}
.main-nav ul a:hover { color: #fff; }

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark { display: block; }
.site-header.is-scrolled .main-nav ul a { color: var(--muted); }
.site-header.is-scrolled .main-nav ul a:hover { color: var(--ink); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding: calc(var(--header-h) + 72px) 0 110px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 85% 15%, rgba(227, 38, 43, .35), transparent 70%),
    radial-gradient(520px 380px at 5% 100%, rgba(255, 138, 61, .14), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
          mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin: 20px 0 22px; letter-spacing: -.035em; }
.hero .lead { font-size: 18px; color: #c4cad6; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px;
  margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.hero-stats dt { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats dd { margin: 2px 0 0; color: var(--muted-dark); font-size: 14px; }

.hero-visual { position: relative; }
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
}
.browser-bar {
  display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: #1b2133; color: #8f98ab; font-size: 12px;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4258; }
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-visual .browser { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; }
.float-card span { color: var(--muted); }
.float-card img { width: 36px; height: auto; }
.float-card--a { left: -28px; bottom: -26px; }
.float-card--b { right: -14px; top: -22px; animation-delay: -3s; }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #22c55e;
  animation: ping 1.8s ease-out infinite;
}

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes ping { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }

/* ---------- Logos (marquee) ---------- */
.logos { padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: scroll 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 46px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1); opacity: .6; mix-blend-mode: multiply;
  transition: filter .25s ease, opacity .25s ease;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 40px 0 110px; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--ink); color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Produtos ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center;
}
.product + .product { margin-top: 120px; }
.product--reverse .product-copy { order: 2; }
.product--reverse .product-media { order: 1; }

.product-logo { width: 220px; margin-bottom: 22px; }
.product-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.product-brand img { width: 44px; }

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #fdecec; color: var(--red-700); font-size: 13px; font-weight: 600;
}
.product h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; margin: 18px 0 14px; }
.product-copy > p { color: var(--muted); font-size: 17px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 30px; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23c81d22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.product-media { position: relative; padding: 0 0 70px 0; }
.product-media .browser { box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.browser--light .browser-bar { background: #f1f2f6; color: var(--muted); }
.browser--offset { position: absolute; width: 62%; right: -24px; bottom: 0; }
.product-media--plain { padding: 0; }
.product-media--plain img { filter: drop-shadow(0 30px 40px rgba(16, 24, 40, .15)); }

/* ---------- Serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--red), #ff6b4a); box-shadow: 0 10px 20px -10px rgba(227, 38, 43, .8);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Metodologia ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 2%; right: 12%; top: 26px; height: 2px;
  background: linear-gradient(90deg, var(--red), #ffb3b5 50%, var(--line));
}
.step { position: relative; padding-top: 72px; }
.step-num {
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: #fff; color: var(--red-600); border: 2px solid var(--red);
  box-shadow: 0 0 0 8px #fff;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- A empresa ---------- */
.section--dark { position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px;
  background: radial-gradient(closest-side, rgba(227, 38, 43, .22), transparent); pointer-events: none;
}
.about-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 24px; }
.about-copy > p { color: #c4cad6; font-size: 17px; }
.about-copy > p + p { margin-top: 16px; }

.mvv { display: grid; gap: 12px; margin-top: 40px; }
.mvv > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
  padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
}
.mvv h3 { font-size: 14px; font-weight: 700; color: #ffb3b5; text-transform: uppercase; letter-spacing: .06em; }
.mvv p { color: #c4cad6; font-size: 14.5px; line-height: 1.55; }

.timeline { list-style: none; margin: 0; padding: 8px 0 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--red), rgba(255, 255, 255, .1)); }
.timeline li { position: relative; padding: 0 0 36px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--red);
}
.timeline .year { font-size: 13px; font-weight: 700; color: #ffb3b5; letter-spacing: .06em; text-transform: uppercase; }
.timeline h3 { font-size: 20px; font-weight: 700; margin: 6px 0 6px; }
.timeline p { color: var(--muted-dark); font-size: 15px; }

/* ---------- Depoimentos ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote {
  margin: 0; padding: 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px; position: relative;
}
.quote::before {
  content: ""; display: block; width: 34px; height: 26px; margin-bottom: -6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26'%3E%3Cpath fill='%23e3262b' d='M0 26V15C0 6.6 4.3 1.6 12.6 0l1.6 3.6C9.6 5 7.4 7.7 7.2 12H13v14H0Zm20.5 0V15C20.5 6.6 24.8 1.6 33 0l1 3.6C29.9 5 27.7 7.7 27.5 12H34v14H20.5Z'/%3E%3C/svg%3E") no-repeat;
  opacity: .9;
}
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text); position: relative; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 60px; border-radius: 28px; color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--red-700), var(--red) 55%, #ff6b4a);
  box-shadow: 0 30px 60px -30px rgba(227, 38, 43, .8);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
          mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 560px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 14px; }
.contact-info > p { color: var(--muted); font-size: 17px; }

.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 16px; line-height: 1.5; }
.contact-list a:hover { color: var(--red-600); }
.ci { width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; fill: none; stroke: var(--red-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-products { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.contact-products p { width: 100%; color: var(--muted); font-size: 14px; }
.contact-products a { font-weight: 700; color: var(--red-600); text-decoration: none; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form h3 { font-size: 22px; font-weight: 800; }
.form-note { color: var(--muted); font-size: 14px; margin: 6px 0 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font); color: var(--text);
  padding: 13px 14px; border-radius: 10px; border: 1px solid #d5d9e2; background: #fbfbfd;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(227, 38, 43, .12);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red-700); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.form-alt { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.form-alt a { color: var(--red-600); font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer nav a, .site-footer div > a, .site-footer div > span { display: block; text-decoration: none; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 13px;
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.07); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 16px 24px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a, .site-header.is-scrolled .main-nav ul a { display: block; padding: 14px 4px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 12px; }
  .nav-open .site-header { background: #fff; border-bottom-color: var(--line); }
  .nav-open .brand-logo--light { display: none; }
  .nav-open .brand-logo--dark { display: block; }
  .nav-open .nav-toggle span { background: var(--ink); }

  .hero { padding: calc(var(--header-h) + 48px) 0 90px; }
  .hero-grid, .product, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; }
  .hero-visual .browser { transform: none; }
  .product--reverse .product-copy, .product--reverse .product-media { order: initial; }
  .product + .product { margin-top: 96px; }
  .section { padding: 84px 0; }
  .section--tight { padding: 20px 0 84px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
  .float-card--a { left: 8px; bottom: -30px; }
  .float-card--b { right: 8px; top: -26px; }
  .cards, .quotes, .field-row { grid-template-columns: 1fr; }
  .mvv > div { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; }
  .browser--offset { right: -8px; width: 70%; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote { padding: 28px 24px; }
  .marquee-track { gap: 44px; }
  .marquee-track img { height: 38px; }
}

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

/* Evita que imagens largas estiquem as colunas do grid */
.hero-grid > *, .product > *, .about-grid > *, .contact-grid > *, .cards > *, .quotes > *, .footer-grid > * { min-width: 0; }
