/* =========================================================
   CORMAX DEV — Estilos
   ========================================================= */

/* Fontes hospedadas no próprio site (licença SIL OFL — ver fonts/) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0A0A0A;
  --bg-alt: #0F0F11;
  --card: #1A1A1A;
  --border: #27272A;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #6D28D9;
  --text: #FFFFFF;
  --muted: #A1A1AA;
  --green: #25D366;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --glow: 0 0 24px rgba(139, 92, 246, .45), 0 0 64px rgba(139, 92, 246, .2);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; }

::selection { background: var(--purple); color: #fff; }

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

.text-neon {
  color: var(--purple);
  text-shadow: 0 0 18px rgba(139, 92, 246, .7), 0 0 48px rgba(139, 92, 246, .4);
}
.text-gradient {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .3) inset, 0 8px 30px rgba(139, 92, 246, .35);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(167, 139, 250, .5) inset, var(--glow); }

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: var(--purple); box-shadow: 0 0 24px rgba(139, 92, 246, .25); }

.btn--white { background: #fff; color: var(--purple-dark); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.btn--white:hover { box-shadow: 0 14px 50px rgba(0, 0, 0, .4), 0 0 30px rgba(255, 255, 255, .4); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s, background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: rgba(39, 39, 42, .7);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; }
.logo__mark {
  width: 40px; height: 40px;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, .45));
  transition: transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font-size: 19px; letter-spacing: .02em; }
.logo__text span { color: var(--purple-light); margin-left: 4px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--purple); box-shadow: 0 0 10px var(--purple); transition: width .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after,
.nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--text); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(26, 26, 26, .6);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(139, 92, 246, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); z-index: -1; pointer-events: none; }
.hero__glow--1 {
  width: 620px; height: 620px; top: -180px; left: 50%; transform: translateX(-50%);
  background: rgba(139, 92, 246, .38);
  animation: float 10s ease-in-out infinite;
}
.hero__glow--2 {
  width: 380px; height: 380px; bottom: -120px; right: -80px;
  background: rgba(167, 139, 250, .2);
  animation: float 13s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 30px 40px; }
}

.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, .35);
  background: rgba(139, 92, 246, .08);
  backdrop-filter: blur(10px);
  color: var(--purple-light);
  font-size: 14px; font-weight: 500;
  margin-bottom: 28px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 10px var(--purple); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero__title {
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 700;
  max-width: 920px;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 0; }

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 20%, var(--bg-alt) 80%, var(--bg) 100%); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-light);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, .1);
  border: 1px solid rgba(139, 92, 246, .25);
  margin-bottom: 20px;
}
.section__title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; margin-bottom: 18px; }
.section__subtitle { color: var(--muted); font-size: 17px; }

/* ---------- Card base (glass) ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 26, 26, .85), rgba(26, 26, 26, .55));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.card::before {
  /* brilho que segue o mouse */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .14), transparent 45%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .5); box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 40px rgba(139, 92, 246, .15); }
.card:hover::before { opacity: 1; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 32px 26px; display: flex; flex-direction: column; }
.service__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .3);
  color: var(--purple-light);
  margin-bottom: 24px;
  transition: box-shadow .3s, background .3s;
}
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { background: rgba(139, 92, 246, .22); box-shadow: 0 0 24px rgba(139, 92, 246, .45); }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.service__list { margin-top: auto; display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); }
.service__list li { font-size: 14px; color: #D4D4D8; display: flex; align-items: center; gap: 10px; }
.service__list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 8px var(--purple); flex-shrink: 0;
}
.service--featured { border-color: rgba(139, 92, 246, .45); box-shadow: 0 0 40px rgba(139, 92, 246, .12); }
.service__tag, .plan__tag {
  position: absolute; top: -12px; left: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600; font-family: var(--font-head);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 0 20px rgba(139, 92, 246, .5);
}

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute; top: 68px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--purple-light), var(--purple), transparent);
  box-shadow: 0 0 12px var(--purple);
  opacity: .6;
}
.step { text-align: center; padding: 0 16px; position: relative; }
.step__num {
  display: block;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  color: var(--purple-light);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.step__icon {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 28px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(139, 92, 246, .45);
  color: var(--purple-light);
  box-shadow: 0 0 0 8px var(--bg-alt), 0 0 40px rgba(139, 92, 246, .35);
  transition: transform .4s var(--ease);
}
.step:hover .step__icon { transform: translateY(-4px) rotate(-4deg); }
.step__icon svg { width: 34px; height: 34px; }
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; max-width: 300px; margin: 0 auto; }

/* ---------- Portfólio ---------- */
.portfolio { display: grid; gap: 112px; max-width: 1080px; margin: 0 auto; }
.project { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; }
.project--reverse { grid-template-columns: 1fr 1.5fr; }
.project--reverse .project__info { order: -1; justify-self: end; }

/* Janela de navegador (projetos desktop) */
.browser {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #151517;
  border: 1px solid #333338;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 60px rgba(139, 92, 246, .18);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.project:hover .browser { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(139, 92, 246, .35); }
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #27272A; }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #3f3f46; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1; max-width: 320px; margin: 0 auto;
  padding: 5px 14px; border-radius: 8px;
  background: #0d0d0f; color: var(--muted);
  font-size: 12px; text-align: center;
}
.browser img { width: 100%; height: auto; }
.project__cat { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--purple-light); font-weight: 600; }
.project h3 { font-size: 30px; margin: 8px 0 10px; }
.project p { color: var(--muted); font-size: 15px; }

.project__info { max-width: 360px; }
.project__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: var(--purple-light);
  transition: color .2s, gap .3s var(--ease);
}
.project__link:hover { color: var(--text); gap: 10px; }

/* ---------- Orçamento ---------- */
.offer {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  border-color: rgba(139, 92, 246, .6);
  background: linear-gradient(160deg, rgba(139, 92, 246, .16), rgba(26, 26, 26, .85) 55%);
  box-shadow: 0 0 60px rgba(139, 92, 246, .22);
}
.plan__name { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.plan__desc { color: var(--muted); font-size: 16px; margin-bottom: 32px; }
.offer__note { color: var(--muted); font-size: 14px; text-align: center; margin-top: 14px; }
.offer__side { padding-left: 48px; border-left: 1px solid var(--border); }
.offer__label {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 20px;
}
.plan__features { display: grid; gap: 14px; }
.plan__features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #E4E4E7; }
.plan__features li::before {
  content: "";
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan__tag { left: 50%; transform: translateX(-50%); }

/* ---------- Topo das subpáginas ---------- */
.page-hero {
  position: relative;
  padding: 168px 0 24px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero__glow--1 { top: -320px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 640px; margin: 0 auto; }
.page-hero + .section { padding-top: 72px; }

/* ---------- Modelos de sites ---------- */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 28px; }
.model { padding: 14px; display: flex; flex-direction: column; }
.model .browser { border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.model .browser__bar { padding: 10px 14px; }
.model .browser__url { font-size: 11px; }
.model .browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.model:hover .browser { transform: none; }
.model__body { padding: 22px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.model h3 { font-size: 22px; margin: 8px 0 8px; }
.model p { color: var(--muted); font-size: 15px; flex: 1; }
.model__actions { display: flex; gap: 10px; margin-top: 22px; }
.model__actions .btn { flex: 1; padding-left: 14px; padding-right: 14px; }
.models__note { text-align: center; color: var(--muted); margin-top: 48px; font-size: 15px; }
.models__note strong { color: var(--text); }

/* ---------- CTA ---------- */
.cta-section { padding-top: 40px; }
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 88px 32px;
  border-radius: 36px;
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 45%, #A78BFA 100%);
  box-shadow: 0 30px 100px rgba(139, 92, 246, .4);
}
.cta::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta__glow {
  position: absolute; z-index: -1;
  width: 500px; height: 500px; border-radius: 50%;
  top: -250px; left: 50%; transform: translateX(-50%);
  background: rgba(255, 255, 255, .25);
  filter: blur(90px);
}
.cta h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; margin-bottom: 18px; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__logo img { width: 240px; height: auto; }
.footer__brand p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--purple-light); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer__bottom p { color: #71717A; font-size: 14px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green); z-index: -1;
  animation: ripple 2.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes ripple {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Animações de scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal { transition: opacity .9s var(--ease), transform .6s var(--ease), border-color .35s, box-shadow .45s var(--ease); transition-delay: var(--delay, 0s); }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(320px, 85vw);
    flex-direction: column; align-items: flex-start;
    gap: 6px;
    padding: 96px 28px 28px;
    background: rgba(15, 15, 17, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav.is-open { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .6); }
  .nav a:not(.btn) { font-size: 18px; padding: 12px 0; width: 100%; color: var(--text); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; width: 100%; }
  .menu-toggle { display: flex; position: relative; z-index: 2; }

  .section { padding: 88px 0; }
  .section__head { margin-bottom: 48px; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--purple), transparent); opacity: .3; }
  .step { background: var(--bg-alt); padding: 8px 16px; }

  .portfolio { gap: 80px; }
  .project, .project--reverse { grid-template-columns: 1fr; gap: 32px; text-align: center; justify-items: center; }
  .project--reverse .project__info { order: 0; justify-self: center; }
  .project h3 { font-size: 24px; }
  .browser__url { max-width: 200px; }
  .offer { grid-template-columns: 1fr; gap: 36px; padding: 48px 32px; }
  .offer__side { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .services { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 72px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__glow--1 { width: 380px; height: 380px; }
  .offer { padding: 44px 22px 32px; }
  .cta { padding: 64px 22px; border-radius: 28px; }
  .cta .btn { width: 100%; }
  .hide-mobile { display: none; }
  .footer__inner { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---------- Página 404 ---------- */
.page-hero--404 { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: 80px; }
.page-hero--404 h1 { line-height: 1.05; }
.page-hero--404 .text-neon { font-size: 1.6em; }
.page-hero__actions { margin-top: 36px; }
