/* ─────────────────────────────────────────────────────────────────────────────
   Pede Já — home institucional
   Identidade do sistema: vermelho #E3000F, Bebas Neue (display) e Inter (texto).
   Regras: cor plana (sem gradiente), uma seção por tela, bordas de 1px,
   hierarquia por tipografia e espaço.
   ───────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BebasNeue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BebasNeue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #111110;
  --ink-2: #2b2b29;
  --muted: #45443f;
  --muted-dark: #c0bdb7;
  --line: #e2e0da;
  --line-dark: #2c2c2a;
  --paper: #ffffff;
  --surface: #f4f3f0;
  --red: #e3000f;
  --red-dark: #b8000c;
  --nav-h: 72px;
  --wrap: 1200px;
  --gutter: 48px;
  --radius: 10px;
  --font-display: 'Bebas Neue', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
}

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

img {
  max-width: 100%;
  height: auto;
}

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

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

.skip-link {
  position: absolute;
  top: calc(var(--nav-h) / 2 - 20px);
  left: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transform: translateY(-200%);
  transition: transform 0.15s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav__in {
  position: relative;
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  display: block;
  height: 46px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav__links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__links a[aria-current='true'] {
  color: var(--ink);
  font-weight: 600;
}

.nav__links a[aria-current='true']::after {
  height: 2px;
  background: var(--red);
  transform: scaleX(1);
}

.nav__cta {
  flex: none;
}

.nav__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav__toggle span {
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded='true'] span {
  background: transparent;
}

.nav__toggle[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  padding: 20px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.menu[hidden] {
  display: none;
}

.menu a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.menu .btn {
  margin-top: 20px;
  width: 100%;
}

/* ── Botões ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ── Estrutura das seções ────────────────────────────────────────────────── */

main {
  display: block;
}

.section,
.hero {
  height: calc(var(--h, 1) * 100svh);
  min-height: 640px;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  display: flex;
  align-items: flex-start;
}

.hero {
  align-items: stretch;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-dark);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.92;
}

h1 {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(44px, 4.6vw, 72px);
}

h2 {
  max-width: 20ch;
  margin-bottom: 16px;
  font-size: clamp(36px, 3.7vw, 58px);
}

.lead,
.sub {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead {
  max-width: 46ch;
  font-size: 17px;
}

.sub {
  max-width: 60ch;
  font-size: 16px;
}

.section--dark .eyebrow {
  color: var(--muted-dark);
}

.section--dark .sub {
  color: var(--muted-dark);
}

.shead {
  max-width: 760px;
  margin-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.split__text,
.split__art {
  min-width: 0;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero .wrap {
  display: flex;
  flex-direction: column;
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  height: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  flex: 1 1 auto;
}

.hero__text {
  padding-bottom: 8px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.hero__strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__strip span::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--red);
}

/* Painel de pedidos (UI real do produto, em HTML) */

.app {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}

.app__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.app__brand {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--red);
}

.app__tabs {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

.app__tabs .is-on {
  color: var(--ink);
  font-weight: 600;
}

.app__live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.app__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.8s ease-in-out infinite;
}

.app__body {
  padding: 8px;
}

.orders {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order {
  display: grid;
  gap: 6px;
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}

.order:last-child {
  border-bottom: 0;
}

.order__top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.order__id {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tag {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #efede8;
  color: var(--ink-2);
}

.tag--new {
  background: var(--red);
  color: #fff;
}

.chan {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

.order__items {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}

.order__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

.order__total {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Cartões de recurso ──────────────────────────────────────────────────── */

.recurso-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Cardápio no celular (mock de UI) */

.device {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.device__notch {
  width: 64px;
  height: 4px;
  margin: 2px auto 10px;
  border-radius: 99px;
  background: var(--line);
}

.device__head {
  padding: 2px 6px 10px;
  border-bottom: 1px solid var(--line);
}

.device__brand {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.device__meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}

.device__tabs {
  display: flex;
  gap: 6px;
  padding: 8px 0 4px;
}

.device__tabs span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 10px;
  color: var(--muted);
}

.device__tabs .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.item__pic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 6px;
  background: var(--surface);
  color: var(--red);
}

.item__pic svg {
  width: 20px;
  height: 20px;
}

.item__body {
  min-width: 0;
}

.item__body b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.item__body span {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.device__cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 6px 4px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.device__cart b {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.item__price {
  margin-left: auto;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 228px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #c6c3bb;
}

.card__icon {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Lista numerada (operação) ───────────────────────────────────────────── */

.rows {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rows li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.rows li:last-child {
  border-bottom: 1px solid var(--line);
}

.section--dark .rows li {
  border-color: var(--line-dark);
}

.rows strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
}

.rows p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.section--dark .rows p {
  color: var(--muted-dark);
}

/* ── Fila da cozinha (KDS) ───────────────────────────────────────────────── */

.kds {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.kds__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticket {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.ticket__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.ticket__top span:last-child {
  color: var(--muted);
  font-weight: 500;
}

.ticket ul {
  margin: 2px 0 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

.ticket__foot {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

/* ── Conversa de WhatsApp ────────────────────────────────────────────────── */

.chat {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.chat__head svg {
  width: 20px;
  height: 20px;
  color: #25d366;
}

.chat__head span {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.bubble--in {
  align-self: flex-start;
  background: var(--surface);
}

.bubble--out {
  align-self: flex-end;
  background: var(--red);
  color: #fff;
}

.chat__hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.chat__hint i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 3s ease-in-out infinite;
}

/* ── Diagrama de rede ────────────────────────────────────────────────────── */

.diagram {
  display: grid;
  justify-items: center;
  gap: 0;
}

.diagram__hub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.diagram__hub i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.diagram__stem {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.diagram__rule {
  width: 82%;
  height: 1px;
  background: var(--line);
}

.diagram__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  padding-top: 22px;
}

.node {
  position: relative;
  min-height: 110px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.node::before {
  content: '';
  position: absolute;
  top: -23px;
  left: 50%;
  width: 1px;
  height: 22px;
  background: var(--line);
}

.node b {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}

.node span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* ── Rodapé / fechamento ─────────────────────────────────────────────────── */

.closing {
  min-height: 100svh;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  background: var(--ink);
  color: #fff;
  display: flex;
}

.closing .wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
}

.close {
  position: relative;
}

.close__mark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 30vw;
  height: auto;
}

.close__title {
  max-width: 14ch;
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(52px, 7.2vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.005em;
}

.close__lead {
  max-width: 42ch;
  margin: 0 0 30px;
  font-size: 16px;
  color: var(--muted-dark);
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  font-size: 13px;
  color: var(--muted-dark);
}

.foot__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.foot p {
  margin: 0 0 6px;
}

.foot h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.foot a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.foot a:hover {
  border-bottom-color: #fff;
}

.foot__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  font-size: 12px;
  color: #a5a29c;
}

/* ── Movimento ───────────────────────────────────────────────────────────── */

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero [data-enter] {
    animation: rise 0.8s var(--ease) both;
  }

  .hero [data-enter='2'] {
    animation-delay: 0.07s;
  }

  .hero [data-enter='3'] {
    animation-delay: 0.14s;
  }

  .hero [data-enter='4'] {
    animation-delay: 0.21s;
  }

  .hero [data-enter='5'] {
    animation-delay: 0.3s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Tablet ──────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .section,
  .hero {
    height: auto;
    min-height: 100svh;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 64px;
  }

  .section,
  .hero {
    height: auto;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 40px) 0 56px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: grid;
  }

  .hero .wrap {
    height: auto;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero__art {
    width: 100%;
    max-width: 520px;
  }

  .hero__strip {
    margin-top: 32px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .recurso-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    min-height: 0;
  }

  .device {
    margin-inline: auto;
    max-width: 340px;
  }

  .chat {
    margin-left: 0;
    max-width: 520px;
  }

  .foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .closing {
    min-height: 100svh;
  }
}

/* ── Telefone ────────────────────────────────────────────────────────────── */

@media (max-width: 639px) {
  :root {
    --gutter: 20px;
  }

  .brand img {
    height: 28px;
  }

  .section,
  .hero {
    padding: calc(var(--nav-h) + 28px) 0 44px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.4vw, 56px);
    margin-bottom: 18px;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 44px);
  }

  .lead {
    font-size: 16px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .hero__strip {
    display: none;
  }

  .actions .btn,
  .close .btn {
    width: 100%;
  }

  .close {
    grid-template-columns: minmax(0, 1fr);
  }

  .close__mark {
    display: none;
  }

  .brand {
    min-height: 44px;
  }

  .menu a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .foot ul a,
  .foot p a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .grid,
  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 20px 18px;
  }

  .kds {
    padding: 12px;
  }

  .diagram {
    padding: 0;
  }

  .diagram__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 18px;
  }

  .node::before {
    top: -21px;
    height: 20px;
  }

  .diagram__rule {
    display: none;
  }

  .close__title {
    font-size: clamp(52px, 15vw, 76px);
  }

  .foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .foot__legal {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .foot__legal span:last-child {
    grid-column: 1;
  }

  .closing {
    min-height: 100svh;
    padding-bottom: 24px;
  }
}
