/* ===== Tecno7 — tokens ===== */
:root {
  --navy-950: #060A22;
  --navy-900: #0A1033;
  --navy-800: #121A4A;
  --brand: #1800AC;          /* azul do logo / posts */
  --blue: #3D5BFF;           /* azul de destaque */
  --blue-soft: #8FA2FF;
  --white: #FFFFFF;
  --gray-50: #F3F5FA;
  --gray-100: #E8EBF3;
  --gray-300: #C4CADB;
  --ink: #0B1130;
  --muted: #545D7A;
  --wa: #25D366;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ===== Rótulo técnico ===== */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow span {
  color: var(--muted);
  padding-right: 12px;
  border-right: 1px solid var(--gray-300);
}
.eyebrow--light { color: var(--blue-soft); }
.eyebrow--light span { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.25); }

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #2C47E6; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn--whatsapp { background: var(--wa); color: #06301A; }
.btn--whatsapp:hover { background: #1FBF5B; }
.btn--block { width: 100%; }
.i { width: 20px; height: 20px; flex: none; }

/* ===== Linhas de grade (motivo técnico) ===== */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143,162,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,162,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

/* ===== Cabeçalho ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header.is-solid { background: rgba(6,10,34,.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--blue); transition: right .25s;
}
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { right: 0; }
.nav__cta { min-height: 44px; padding: 0 18px; font-size: .98rem; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__img.is-active { opacity: 1; }
.hero__img.is-active:not(:first-child), .hero__img.is-cycled.is-active { animation: ken-burns 7s ease-out both; }
@keyframes ken-burns { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero__dots { position: relative; z-index: 2; display: flex; gap: 8px; padding-bottom: 20px; animation: fade-in 1s ease 1.6s both; }
.hero__dots button {
  position: relative; width: 44px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.25); overflow: hidden;
}
.hero__dots button::before { content: ""; position: absolute; inset: -10px 0; } /* área de toque maior */
.hero__dots button::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleX(0); transform-origin: left;
}
.hero__dots button.is-active::after { animation: dot-progress var(--slide-time, 6s) linear forwards; }
.hero.is-paused .hero__dots button.is-active::after { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,10,34,.95) 0%, rgba(6,10,34,.82) 38%, rgba(6,10,34,.35) 75%, rgba(6,10,34,.2) 100%),
    linear-gradient(0deg, rgba(6,10,34,.9) 0%, transparent 35%);
}
.hero__content { position: relative; padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; }
.hero h1 { max-width: 760px; }
.hero__sub { max-width: 600px; font-size: 1.18rem; color: rgba(255,255,255,.82); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(6,10,34,.6); backdrop-filter: blur(6px); }
.hero__facts-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 22px 24px 22px 0; display: flex; flex-direction: column; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.fact strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; }
.fact span { font-size: .92rem; color: rgba(255,255,255,.65); }

/* ===== Seções ===== */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--navy-900); color: var(--white); overflow: hidden; }
.section--dark p { color: rgba(255,255,255,.78); }
.section--brand { background: var(--brand); color: var(--white); overflow: hidden; }
.section--brand p { color: rgba(255,255,255,.85); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head--row h2 { max-width: 640px; margin-bottom: 0; }
.section__lead { max-width: 380px; color: var(--muted); margin: 0; }

/* ===== Split (texto + imagem) ===== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; position: relative; }
.split--reverse .split__text { order: 1; }
.split--reverse .split__media { order: 2; }
.split__text > p { color: var(--muted); max-width: 560px; }
.section--dark .split__text > p { color: rgba(255,255,255,.78); }
.split__media { margin: 0; position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__media figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem;
  padding: 12px 18px;
}
.split__media::before {
  content: ""; position: absolute; top: -14px; right: -14px; width: 120px; height: 120px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue);
}
.split__media--framed::before { border-color: var(--blue-soft); }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-family: var(--font-head); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; font-size: .9rem;
  padding: 8px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); color: var(--ink);
}

/* ===== Serviços ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--gray-100); border: 1px solid var(--gray-100); }
.service { background: var(--white); padding: 36px 32px 40px; transition: background .25s; position: relative; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); transition: width .3s; }
.service:hover::before { width: 100%; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.service__icon { width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service__num { font-family: var(--font-head); font-weight: 600; color: var(--gray-300); font-size: 1.1rem; letter-spacing: .08em; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { position: relative; padding-left: 18px; color: var(--muted); font-size: .98rem; margin-bottom: 8px; }
.service li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--blue); }

/* ===== Máquinas chinesas ===== */
.pillars { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
.pillar { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.pillar h3 { font-size: 1.2rem; margin: 0; color: var(--white); }
.pillar p { margin: 0; font-size: .98rem; }

/* ===== Segmentos ===== */
.segments-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.segments-wrap .section__head { margin-bottom: 40px; }
.segments { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--gray-100); }
.segments li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: default;
  outline: none;
  transition: padding .3s, background .3s;
}
.segments li::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--blue); transition: width .35s;
}
.segments__num { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .08em; color: var(--gray-300); transition: color .3s; }
.segments__name { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; transition: color .3s; }
.segments__desc { color: var(--muted); font-size: .95rem; text-align: right; }
.segments li:hover, .segments li:focus-visible, .segments li.is-active { padding-left: 12px; }
.segments li:hover::before, .segments li:focus-visible::before, .segments li.is-active::before { width: 100%; }
.segments li:hover .segments__num, .segments li:focus-visible .segments__num, .segments li.is-active .segments__num { color: var(--blue); }
.segments li:hover .segments__name, .segments li:focus-visible .segments__name, .segments li.is-active .segments__name { color: var(--brand); }

.segments__media { margin: 0; position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.segments__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.segments__media img.is-fading { opacity: 0; }
.segments__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(6,10,34,.35), transparent 40%);
}

/* ===== Projetos ===== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-900); aspect-ratio: 3 / 4; }
.project img, .project video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover img, .project:hover video { transform: scale(1.04); }
.project__play {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); padding: 4px 9px; border: 1px solid rgba(255,255,255,.45); border-radius: 2px; background: rgba(6,10,34,.4);
}
.project__play::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF4D4D; animation: pulse 1.6s ease-in-out infinite; }

/* vídeos nos blocos de mídia */
.split__media video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--navy-800); }
.segments__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.segments__media figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--navy-900); color: var(--white);
  font-family: var(--font-head); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem;
  padding: 12px 18px;
}
.project figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 22px 20px;
  background: linear-gradient(0deg, rgba(6,10,34,.92), transparent);
  color: var(--white);
  display: flex; flex-direction: column; gap: 6px;
}
.project strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 8px; background: var(--blue); border-radius: 2px;
}

/* ===== Brasil e América Latina ===== */
.section--brand .container { position: relative; }
.radar {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1;
}
.radar__dot { fill: var(--white); stroke: none; animation: pulse 2.4s ease-in-out infinite; transform-origin: 236px 236px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.motto {
  margin-top: 32px; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white) !important;
}

/* ===== Por que a Tecno7 ===== */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.why__big { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--ink); display: flex; align-items: center; gap: 20px; }
.why__big strong { font-family: var(--font-head); font-size: clamp(4.5rem, 9vw, 7rem); line-height: .9; color: var(--brand); }
.why__big span { max-width: 200px; color: var(--muted); }
.why__list { list-style: none; padding: 0; margin: 0; }
.why__list li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 1.1rem; font-weight: 500;
}
.why__list li::before {
  content: ""; flex: none; width: 10px; height: 10px; background: var(--blue);
  transform: translateY(-1px) rotate(45deg);
}

/* ===== Contato ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; position: relative; }
.contact__text .btn { margin-top: 12px; }
.contact__channels { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact__channels li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact__channels span { color: rgba(255,255,255,.55); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.contact__channels a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact__channels a:hover { color: var(--blue-soft); }

.form { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.form h3 { font-size: 1.6rem; margin-bottom: 4px; }
.form__note { color: var(--muted) !important; font-size: .95rem; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: var(--gray-50);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form textarea { resize: vertical; }
.form .is-invalid { border-color: #D93B3B; }
.form__error { color: #C02F2F !important; font-size: .92rem; font-weight: 600; }

/* ===== Rodapé ===== */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 340px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--white); }
.footer__bottom { padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.45); }

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== Animação de abertura (hero) ===== */
.hero__scan {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 1; pointer-events: none;
  background: var(--blue);
  box-shadow: 0 0 18px 4px rgba(61,91,255,.65), 0 0 60px 10px rgba(61,91,255,.25);
  opacity: 0;
  animation: scan 1.6s cubic-bezier(.65,0,.35,1) .15s forwards;
}
@keyframes scan {
  0%   { opacity: 0; transform: translateX(0); }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100vw); }
}
.hero__img:first-child:not(.is-cycled) { animation: hero-zoom 2.6s cubic-bezier(.22,1,.36,1) both; }
@keyframes hero-zoom { from { transform: scale(1.14); filter: brightness(.4); } to { transform: none; filter: none; } }
.hero .grid-lines { animation: fade-in 2s ease .4s both; }
.header { animation: header-in .8s cubic-bezier(.22,1,.36,1) .2s both; }
@keyframes header-in { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }

.hero__content > * { animation: rise .9s cubic-bezier(.22,1,.36,1) both; }
.hero__content .eyebrow  { animation-delay: .55s; }
.hero__content h1        { animation-delay: .7s; animation-name: rise-clip; animation-duration: 1.1s; }
.hero__content .hero__sub { animation-delay: .95s; }
.hero__content .hero__actions { animation-delay: 1.1s; }
.hero__facts { animation: fade-in 1s ease 1.2s both; }
.hero__facts .fact { animation: rise .8s cubic-bezier(.22,1,.36,1) both; }
.hero__facts .fact:nth-child(1) { animation-delay: 1.3s; }
.hero__facts .fact:nth-child(2) { animation-delay: 1.42s; }
.hero__facts .fact:nth-child(3) { animation-delay: 1.54s; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-clip {
  from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Animação de entrada ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar__dot { animation: none; }
  .hero__scan { display: none; }
  .hero__dots { display: none; }
  .hero__img, .hero .grid-lines, .header, .hero__content > *, .hero__facts, .hero__facts .fact { animation: none !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .segments__desc { display: none; }
  .segments li { grid-template-columns: 48px 1fr; }
  .pillar { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950); padding: 8px var(--gutter) 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; min-height: 52px; }
  .header.menu-open { background: var(--navy-950); }
  .header.menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .split, .why, .contact, .segments-wrap { grid-template-columns: 1fr; }
  .segments__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .segments__desc { display: block; grid-column: 2; text-align: left; margin-top: -10px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 4 / 3; }
  .split__media::before { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .projects { gap: 10px; }
  .split__media video { aspect-ratio: 4 / 3; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .radar { width: 480px; height: 480px; right: -220px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .header__logo img { height: 40px; }
  .hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; }
  .hero__sub { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  .hero__facts-inner { grid-template-columns: 1fr; }
  .fact { padding: 14px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .services { grid-template-columns: 1fr; }
  .service { padding: 28px 24px 32px; }
  .segments li { grid-template-columns: 36px 1fr; padding: 14px 0; }
  .segments li:hover, .segments li:focus-visible, .segments li.is-active { padding-left: 0; }
  .projects {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 78%; scroll-snap-align: start; }
  .split__media video { aspect-ratio: 4 / 5; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__text .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
