/* ==========================================================================
   NORTEZA STUDIO — style.css (v2.0)
   1. Tokens  2. Base  3. Layout  4. Header  5. Botões  6. Hero + mockups
   7. Serviços  8. Benefícios  9. Projetos  10. Diferenciais  11. CTA + formulário
   12. Sobre  13. Rodapé  14. Movimento  15. Responsivo
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy: #132640;
  --navy-2: #1B3558;
  --blue: #397FCA;
  --blue-deep: #2B6AB3;   /* azul principal escurecido: contraste AA com texto branco */
  --blue-ink: #245A9C;    /* azul para texto/links sobre fundo claro (AA) */
  --sky: #91BDF2;
  --paper: #F7F9FC;
  --white: #FFFFFF;

  --ink: #132640;
  --ink-soft: #46566B;
  --line: #DCE4EF;
  --surface: #FFFFFF;
  --navy-line: rgba(145, 189, 242, .22);
  --wa: #1FA855;

  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(19, 38, 64, .06), 0 4px 14px rgba(19, 38, 64, .05);
  --shadow-m: 0 2px 4px rgba(19, 38, 64, .06), 0 14px 34px rgba(19, 38, 64, .10);
  --shadow-l: 0 4px 8px rgba(19, 38, 64, .06), 0 30px 70px rgba(19, 38, 64, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.12; font-weight: 600; overflow-wrap: break-word; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-panel :focus-visible { outline-color: var(--sky); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-s); text-decoration: none; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.eyebrow b { font-weight: 700; opacity: .65; }
.on-dark .eyebrow { color: var(--sky); }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-top: 14px; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
.on-dark .section-head p { color: #C3D4EA; }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(19, 38, 64, .05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--navy); }
.brand-name span { display: block; margin-top: 4px; font-size: .62rem; font-weight: 600; letter-spacing: .34em; color: var(--blue-ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; display: inline-block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--navy); background: rgba(57, 127, 202, .10); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue);
}

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line);
  border-radius: 14px; background: var(--white); color: var(--navy); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease), top .28s var(--ease);
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* 5. BOTÕES ----------------------------------------------------------------
   O texto pode quebrar em mais de uma linha (sem white-space: nowrap), o que
   evita que botões ultrapassem a largura de telas pequenas. */
.btn {
  --btn-hover: var(--navy-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  max-width: 100%; min-height: 50px; padding: 12px 26px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-size: .97rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.25; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover);
  transform: translateY(101%); transition: transform .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(19, 38, 64, .20); --btn-hover: var(--blue-deep); }
.btn--primary:hover { box-shadow: 0 12px 26px rgba(19, 38, 64, .26); }
.btn--accent { background: var(--blue-deep); color: var(--white); box-shadow: 0 8px 20px rgba(43, 106, 179, .30); --btn-hover: var(--navy); }
.btn--accent:hover { box-shadow: 0 12px 26px rgba(43, 106, 179, .36); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(19, 38, 64, .28); --btn-hover: rgba(57, 127, 202, .14); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: var(--sky); color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); --btn-hover: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); --btn-hover: rgba(255, 255, 255, .14); }
.btn--outline-light:hover { border-color: var(--white); }

/* 6. HERO + MOCKUPS -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 96px) 0 clamp(72px, 10vw, 128px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(19, 38, 64, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 38, 64, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; right: -160px; top: -140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(145, 189, 242, .5), rgba(145, 189, 242, 0));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.35rem, 5.6vw, 4.2rem); margin-top: 22px; letter-spacing: -.04em; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--blue-deep); box-shadow: inset 0 -.14em 0 rgba(145, 189, 242, .75); }
.hero-lead { margin-top: 24px; max-width: 540px; font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--ink-soft); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-notes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .93rem; }
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 18px; height: 18px; color: var(--blue-deep); flex: none; }

/* Composição: janela de navegador + celular. Pronta para receber capturas reais:
   troque o conteúdo de .browser-body / .phone-content por <img class="shot" src="assets/..." alt="..."> */
.stage { position: relative; min-height: 530px; min-width: 0; }
.browser {
  position: absolute; left: 0; top: 18px; right: 15%; bottom: 76px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-m); box-shadow: var(--shadow-l); overflow: hidden; display: flex; flex-direction: column;
  transform: rotate(-1.2deg) translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px), 0);
  transition: transform .35s ease-out;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #EEF3F9; border-bottom: 1px solid var(--line); flex: none; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C5D3E5; }
.browser-bar b { flex: 1; margin-left: 10px; height: 20px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.browser-body { flex: 1; padding: 18px 18px 0; display: grid; gap: 16px; align-content: start; min-height: 0; }
.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.mk-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-logo { width: 56px; height: 10px; border-radius: 6px; background: var(--navy); }
.mk-links { display: flex; align-items: center; gap: 8px; }
.mk-links i { width: 26px; height: 6px; border-radius: 4px; background: #C9D6E6; }
.mk-links b { width: 52px; height: 20px; border-radius: 10px; background: var(--blue); }
.mk-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; border-radius: 14px; padding: 22px 18px; background: linear-gradient(135deg, var(--navy), #21456F); overflow: hidden; }
.mk-copy { display: grid; gap: 9px; min-width: 0; }
.mk-copy span { display: block; height: 11px; border-radius: 6px; transform-origin: left; }
.mk-copy .b1 { width: 90%; background: var(--white); }
.mk-copy .b2 { width: 62%; background: var(--sky); }
.mk-copy .b3 { width: 80%; height: 6px; margin-top: 6px; background: rgba(255, 255, 255, .45); }
.mk-btns { display: flex; gap: 8px; margin-top: 8px; }
.mk-btns i { height: 24px; border-radius: 12px; }
.mk-btns i:first-child { width: 74px; background: var(--wa); }
.mk-btns i:last-child { width: 56px; border: 1.5px solid rgba(255, 255, 255, .45); }
.mk-art { position: relative; aspect-ratio: 1 / 1; border-radius: 50% 50% 50% 14px; background: linear-gradient(150deg, var(--sky), var(--blue)); }
.mk-art::before { content: ""; position: absolute; inset: 22% 20% 30% 26%; border-radius: 50%; background: rgba(255, 255, 255, .88); }
.mk-art::after { content: ""; position: absolute; left: 16%; bottom: 14%; width: 34%; height: 18%; border-radius: 12px; background: var(--navy); opacity: .85; }
.mk-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-cats div { height: 82px; border-radius: 12px; background: #F0F5FB; border: 1px solid var(--line); padding: 12px; display: grid; align-content: space-between; }
.mk-cats div::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--sky); }
.mk-cats div::after { content: ""; width: 68%; height: 6px; border-radius: 4px; background: #C9D6E6; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 37%; min-width: 150px; aspect-ratio: 9 / 18.2;
  background: var(--navy); border-radius: 32px; padding: 9px; box-shadow: 0 28px 56px rgba(19, 38, 64, .34);
  transform: rotate(3deg) translate3d(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 6px), 0);
  transition: transform .35s ease-out;
}
.phone-screen { height: 100%; background: var(--paper); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { width: 32%; height: 16px; margin: 8px auto 0; border-radius: 12px; background: var(--navy); flex: none; }
.phone-content { flex: 1; padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ph-title { width: 62%; height: 11px; border-radius: 6px; background: var(--navy); }
.ph-chips { display: flex; gap: 6px; }
.ph-chips i { height: 16px; width: 34px; border-radius: 8px; background: #DCE7F5; }
.ph-chips i:first-child { background: var(--blue); width: 42px; }
.ph-list { display: grid; gap: 8px; }
.ph-item { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; padding: 7px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.ph-item::before { content: ""; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--sky), var(--blue)); }
.ph-item span { display: grid; gap: 5px; }
.ph-item span::before, .ph-item span::after { content: ""; height: 6px; border-radius: 4px; background: #C9D6E6; }
.ph-item span::before { width: 80%; background: var(--navy); opacity: .8; }
.ph-item span::after { width: 55%; }
.ph-btn { margin-top: auto; height: 30px; border-radius: 15px; background: var(--wa); display: flex; align-items: center; justify-content: center; flex: none; }
.ph-btn i { width: 52%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .92); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; max-width: 70%;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 11px 15px;
  box-shadow: var(--shadow-m); font-family: var(--font-display); font-size: .84rem; font-weight: 600; color: var(--navy); line-height: 1.2;
}
.chip svg { width: 20px; height: 20px; color: var(--blue-deep); flex: none; }
.chip--a { left: -6px; bottom: 4%; }
.chip--b { right: 4%; top: 0; }

/* 7. SERVIÇOS -------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 28px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: #C3D4EA; }
.card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, #E6F0FC, #D3E5FA); color: var(--blue-ink);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card:hover .icon-box { background: var(--navy); color: var(--sky); }
.icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card-tag { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .86rem; color: var(--ink-soft); }
.card-tag b { display: block; font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 2px; }
.services-note { margin-top: 32px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; font-size: .98rem; }
.services-note svg { width: 20px; height: 20px; color: var(--blue-deep); flex: none; }

/* 8. BENEFÍCIOS ------------------------------------------------------------ */
.benefits { background: var(--white); border-block: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.benefits-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.benefit-list { border-top: 1px solid var(--line); counter-reset: b; }
.benefit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 18px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: transform .3s var(--ease); }
.benefit:hover { transform: translateX(6px); }
.benefit-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.2px var(--blue); transition: color .3s var(--ease); }
.benefit:hover .benefit-num { color: var(--blue); }
.benefit h3 { font-size: 1.28rem; }
.benefit p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.benefits-note { margin-top: 22px; font-size: .92rem; color: var(--ink-soft); }

/* 9. PROJETOS -------------------------------------------------------------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: #C3D4EA; }

/* Área de mídia. Para usar uma captura real, substitua o conteúdo de .project-media
   por: <img class="shot" src="assets/projeto-01.webp" alt="Descrição" loading="lazy" width="1280" height="800"> */
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.media--burger { background: radial-gradient(circle at 18% 18%, rgba(145, 189, 242, .35), transparent 55%), linear-gradient(135deg, #132640, #1E3C64); }
.media--office { background: radial-gradient(circle at 84% 16%, rgba(145, 189, 242, .38), transparent 55%), linear-gradient(135deg, #1B4272, #397FCA); }
.media-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--white);
  background: rgba(19, 38, 64, .62); border: 1px solid rgba(255, 255, 255, .22);
}
.mini {
  position: absolute; left: 10%; right: 10%; top: 13%; bottom: 0; background: var(--white);
  border-radius: 12px 12px 0 0; box-shadow: 0 -2px 0 rgba(255, 255, 255, .2), 0 24px 50px rgba(0, 0, 0, .28);
  overflow: hidden; transition: transform .6s var(--ease);
}
.project:hover .mini { transform: translateY(-8px); }
.mini-bar { display: flex; gap: 5px; padding: 8px 10px; background: #EEF3F9; border-bottom: 1px solid var(--line); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C5D3E5; }
.mini-body { padding: 12px 14px; display: grid; gap: 10px; }
.w-nav { display: flex; align-items: center; justify-content: space-between; }
.w-nav b { width: 44px; height: 8px; border-radius: 5px; background: var(--navy); }
.w-nav span { display: flex; gap: 6px; }
.w-nav i { width: 20px; height: 5px; border-radius: 4px; background: #C9D6E6; }
.w-hero { height: 58px; border-radius: 9px; background: linear-gradient(120deg, var(--navy), #2A5489); padding: 12px; display: grid; gap: 6px; align-content: center; }
.w-hero i { height: 7px; border-radius: 5px; background: #fff; width: 58%; }
.w-hero i + i { width: 36%; background: var(--sky); }
.w-rows { display: grid; gap: 7px; }
.w-row { display: grid; grid-template-columns: 24px 1fr 26px; gap: 9px; align-items: center; }
.w-row::before { content: ""; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, var(--sky), var(--blue)); }
.w-row span { height: 6px; border-radius: 4px; background: #C9D6E6; width: 70%; }
.w-row b { height: 12px; border-radius: 6px; background: var(--wa); }
.w-chips { display: flex; gap: 6px; }
.w-chips i { width: 40px; height: 14px; border-radius: 8px; background: #DCE7F5; }
.w-chips i:first-child { background: var(--blue); }
.w-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w-grid i { height: 50px; border-radius: 9px; background: #F0F5FB; border: 1px solid var(--line); position: relative; }
.w-grid i::before { content: ""; position: absolute; left: 8px; top: 8px; right: 8px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #DCE7F5, var(--sky)); }

.project-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.project-num { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--blue-ink); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: #FFF4D6; color: #6B4A00; border: 1px solid #F2DFA1; font-size: .78rem; font-weight: 600; line-height: 1.3;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #D99A00; flex: none; }
.project h3 { font-size: 1.5rem; }
.project p { color: var(--ink-soft); }
.project-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); }
.project-facts dt { font-family: var(--font-display); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.project-facts dd { margin-top: 3px; font-size: .94rem; color: var(--navy); font-weight: 500; line-height: 1.35; }
.project-plan { margin-top: auto; font-size: .94rem; }
.project-plan strong { color: var(--navy); font-weight: 600; }
.projects-note { margin-top: 28px; font-size: .95rem; color: var(--ink-soft); }

/* 10. DIFERENCIAIS --------------------------------------------------------- */
.on-dark { background: var(--navy); color: var(--paper); position: relative; overflow: hidden; }
.on-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(145, 189, 242, .14) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.on-dark > .container { position: relative; }
.on-dark h2, .on-dark h3 { color: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--navy-line); }
.feature { padding: 34px 28px 12px 28px; border-right: 1px solid var(--navy-line); min-width: 0; }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature .num { font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--sky); }
.feature svg { width: 30px; height: 30px; color: var(--sky); margin-top: 22px; transition: transform .35s var(--ease); }
.feature:hover svg { transform: translateY(-3px); }
.feature h3 { font-size: 1.2rem; margin-top: 16px; }
.feature p { margin-top: 10px; color: #C3D4EA; font-size: .98rem; }

/* 11. CTA + FORMULÁRIO ------------------------------------------------------
   Causa do defeito de 320/375 px (v1): colunas "1fr"/"auto" têm largura mínima
   igual ao conteúdo e o botão tinha white-space: nowrap, então a coluna crescia
   além da tela. Agora: colunas minmax(0, …), filhos com min-width: 0 e botões
   que quebram linha. */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-l);
  padding: clamp(32px, 6vw, 76px) clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, var(--navy) 0%, #1D4271 62%, var(--blue-deep) 140%);
  color: var(--white); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px clamp(28px, 5vw, 64px); align-items: center;
  box-shadow: 0 24px 60px rgba(19, 38, 64, .22);
}
.cta-panel::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -150px; border-radius: 50%;
  border: 1px solid rgba(145, 189, 242, .3); box-shadow: 0 0 0 46px rgba(145, 189, 242, .05), 0 0 0 92px rgba(145, 189, 242, .035);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; min-width: 0; }
.cta-panel h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.03em; }
.cta-panel p { margin-top: 16px; color: #D3E1F3; max-width: 540px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-actions small { color: #B7CBE6; font-size: .86rem; }
.cta-steps { margin-top: 26px; display: grid; gap: 12px; counter-reset: s; }
.cta-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; color: #D3E1F3; font-size: .95rem; counter-increment: s; }
.cta-steps li::before {
  content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--navy); background: var(--sky);
}

.lead-form { background: var(--white); color: var(--ink); border-radius: var(--radius-m); padding: clamp(20px, 3.4vw, 30px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); display: grid; gap: 14px; }
.lead-form h3 { font-size: 1.25rem; color: var(--navy); }
.lead-form .hint { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--navy); }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid #B9C7DA; border-radius: 12px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: #5C6C82; opacity: 1; }
.field input:hover { border-color: #8FA6C2; }
.field input:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(57, 127, 202, .22); }
.field input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
/* Seletores com .lead-form para vencer a regra ".cta-panel p" (texto claro, pensado para o fundo escuro). */
.lead-form .form-status { margin: 0; max-width: none; font-size: .9rem; color: var(--ink-soft); }
.lead-form .form-status:not(:empty) { margin-top: 8px; }
.lead-form .form-status.is-error { color: #B3261E; font-weight: 500; }
.lead-form .form-note { margin: 0; max-width: none; display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.lead-form .form-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--blue-deep); }
.field input::placeholder { text-overflow: ellipsis; }
.or-line { display: flex; align-items: center; gap: 14px; color: #B7CBE6; font-size: .86rem; margin-top: 18px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .22); }

/* 12. SOBRE ---------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(52px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.page-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(145, 189, 242, .5), rgba(145, 189, 242, 0));
}
.page-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); margin-top: 20px; letter-spacing: -.035em; }
.page-hero .lead { margin-top: 22px; color: var(--ink-soft); font-size: 1.12rem; max-width: 560px; }
.page-hero .lead + .lead { margin-top: 14px; }

.principles {
  background: var(--navy); color: var(--paper); border-radius: var(--radius-l); padding: 34px 30px;
  box-shadow: var(--shadow-m); display: grid; gap: 22px; min-width: 0;
}
.principles h2 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.principles ul { display: grid; gap: 22px; }
.principles li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; color: #DCE8F7; font-size: .98rem; }
.principles li strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.principles svg { width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; padding: 30px 24px 28px; background: var(--surface); border: 1px solid var(--line); min-width: 0;
  border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: #C3D4EA; }
.step:hover::after { transform: scaleX(1); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.step h3 { font-size: 1.18rem; margin-top: 18px; }
.step p { margin-top: 10px; color: var(--ink-soft); font-size: .98rem; }

.commit { background: var(--white); border-block: 1px solid var(--line); }
.commit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.commit h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 14px; letter-spacing: -.03em; }
.commit .lead { margin-top: 18px; color: var(--ink-soft); }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.checklist li:hover { transform: translateX(4px); border-color: #C3D4EA; }
.checklist .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.checklist .icon-box svg { width: 22px; height: 22px; }
.checklist strong { font-family: var(--font-display); font-weight: 600; display: block; }
.checklist span { color: var(--ink-soft); font-size: .96rem; }

/* 13. RODAPÉ --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #C3D4EA; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
.footer-grid > * { min-width: 0; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name span { color: var(--sky); }
.site-footer p { margin-top: 18px; max-width: 360px; font-size: .96rem; }
.site-footer h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.footer-list { margin-top: 18px; display: grid; gap: 12px; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #E4EDF9; transition: color .2s var(--ease), transform .2s var(--ease); overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--white); transform: translateX(3px); }
.footer-list svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.footer-bottom { padding-top: 24px; font-size: .88rem; color: #9FB6D4; }

/* 14. MOVIMENTO ------------------------------------------------------------
   Só transform/opacity. A hero usa animação CSS curta (funciona sem JavaScript
   e termina sozinha); as demais seções são reveladas por IntersectionObserver
   apenas quando o JS está ativo (classe .js). */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; translate: 0 26px; } }
@keyframes draw { from { transform: scaleX(0); } }

.rise { animation: rise .7s var(--ease) backwards; animation-delay: var(--d, 0ms); }
.stage .browser { animation: pop .9s var(--ease) backwards .15s; }
.stage .phone { animation: pop .9s var(--ease) backwards .45s; }
.stage .chip { animation: pop .7s var(--ease) backwards; }
.stage .chip--a { animation-delay: .8s; }
.stage .chip--b { animation-delay: 1s; }
.mk-copy span { animation: draw .8s var(--ease) backwards; }
.mk-copy .b1 { animation-delay: .55s; }
.mk-copy .b2 { animation-delay: .65s; }
.mk-copy .b3 { animation-delay: .75s; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* 15. RESPONSIVO ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:first-child { padding: 30px 28px 30px 0; border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .feature:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--navy-line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid, .page-hero .container, .commit-grid, .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid .section-head { position: static; margin-bottom: 0; }
  .stage { min-height: 480px; max-width: 600px; width: 100%; margin-inline: auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(19, 38, 64, .12);
    padding: 12px 20px 24px; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav-links { flex-direction: column; gap: 2px; }
  .js .nav-links a { display: block; padding: 16px 14px; font-size: 1.08rem; border-radius: 12px; }
  .js .nav-links a[aria-current="page"]::after { display: none; }
  .js .nav-links a[aria-current="page"] { background: rgba(57, 127, 202, .10); }
  .js .nav .btn { margin-top: 12px; min-height: 54px; }
  /* sem JavaScript: a navegação continua visível, em linha compacta */
  html:not(.js) .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(1180px, 100% - 32px); }
  .services-grid, .steps, .features-grid { grid-template-columns: 1fr; }
  .feature, .feature:first-child, .feature:nth-child(even) { padding: 28px 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .feature:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { align-items: stretch; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .stage { min-height: 410px; }
  .browser { right: 8%; bottom: 66px; }
  .mk-hero { grid-template-columns: 1fr; padding: 18px 14px; }
  .mk-art { display: none; }
  .mk-cats div { height: 64px; padding: 10px; }
  .mk-links i { display: none; }
  .phone { width: 44%; min-width: 128px; border-radius: 26px; padding: 7px; }
  .phone-screen { border-radius: 20px; }
  .ph-item { grid-template-columns: 26px 1fr; padding: 6px; }
  .ph-item::before { width: 26px; height: 26px; }
  .chip { font-size: .76rem; padding: 9px 11px; }
  .chip--a { left: 0; bottom: 3%; max-width: 52%; }
  .chip--b { display: none; }
  .project-body { padding: 24px 20px 26px; }
  .project-facts { grid-template-columns: 1fr 1fr; }
  .project-facts div:last-child { grid-column: 1 / -1; }
  .benefit { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; }
  .principles { padding: 28px 22px; }
  .checklist li { padding: 16px; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: .95rem; }
}

@media (max-width: 380px) {
  .cta-panel { padding: 28px 14px; }
  .lead-form { padding: 18px 14px; }
  .field input { padding: 0 12px; }
  .field input::placeholder { font-size: .92rem; } /* o campo mantém 16px para o iOS não ampliar a tela ao focar */
  .hero h1 { font-size: 2.1rem; }
  .btn { padding-inline: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { width: 44px; height: 44px; }
}
