:root {
  --bg: #050914;
  --surface: #0a1020;
  --surface-2: #10192c;
  --line: rgba(133, 165, 214, 0.22);
  --text: #f6f9ff;
  --muted: #a9bad3;
  --accent: #168bff;
  --accent-2: #3bb9ff;
  --success: #24c783;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 0%, rgba(22, 139, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #050914 0%, #070d19 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(59, 185, 255, 0.42);
  outline-offset: 2px;
}

.topbar {
  align-items: center;
  background: rgba(5, 9, 20, 0.86);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px clamp(14px, 4vw, 44px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 13px;
}

.brand img {
  border: 1px solid rgba(59, 185, 255, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 0 28px rgba(22, 139, 255, 0.25);
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.brand strong {
  display: block;
  font-weight: 850;
  line-height: 1.1;
}

.brand small,
p,
small {
  color: var(--muted);
}

.topbar nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar nav a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.94rem;
  min-height: 40px;
  padding: 10px 13px;
}

main {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(16px, 4vw, 42px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.9fr);
  min-height: calc(100vh - 118px);
  --hero-scale: 1;
}

.hero-copy,
.system-shot,
.hero-visual::before {
  transition:
    transform 260ms ease,
    filter 260ms ease,
    box-shadow 260ms ease;
}

.hero:hover {
  --hero-scale: 1.04;
}

.hero:hover .hero-copy {
  transform: scale(1.015);
}

.hero:hover .system-shot {
  filter: brightness(1.08);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.42);
}

.hero:hover .hero-visual::before {
  transform: rotate(-2deg) scale(1.025);
}

.eyebrow {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.15rem, 4.8vw, 4.35rem);
  font-weight: 920;
  line-height: 1;
  margin: 12px 0 18px;
  max-width: 760px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  font-weight: 880;
  line-height: 1.06;
  margin: 8px 0 0;
}

h3 {
  font-size: 1.3rem;
  margin: 0;
}

p {
  font-size: 1rem;
  line-height: 1.58;
}

.hero-copy > p {
  max-width: 640px;
}

.impact-line {
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.25;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 40px rgba(22, 139, 255, 0.2);
  color: #fff;
}

#demoSubmitButton {
  background: linear-gradient(135deg, var(--chosen-demo-color, var(--accent)), color-mix(in srgb, var(--chosen-demo-color, var(--accent)) 72%, #3bb9ff));
  box-shadow: 0 14px 40px color-mix(in srgb, var(--chosen-demo-color, var(--accent)) 28%, transparent);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.button.primary:hover,
.button.secondary:hover {
  filter: brightness(1.08);
}

.hero-visual {
  height: min(560px, 58vw);
  min-height: 430px;
  position: relative;
}

.hero-visual::before {
  background:
    linear-gradient(135deg, rgba(59, 185, 255, 0.18), transparent),
    rgba(10, 16, 32, 0.72);
  border: 1px solid rgba(59, 185, 255, 0.2);
  border-radius: var(--radius);
  content: "";
  inset: 48px 22px 42px 42px;
  position: absolute;
  transform: rotate(-2deg);
}

.system-shot {
  background: #0f1728;
  border: 1px solid rgba(133, 165, 214, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  overflow: hidden;
  position: absolute;
  transform: rotate(var(--tilt, 0deg)) scale(var(--hero-scale));
  width: min(360px, 72%);
}

.system-shot img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.system-shot span {
  background: rgba(5, 9, 20, 0.94);
  border-top: 1px solid rgba(133, 165, 214, 0.22);
  color: var(--text);
  display: block;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 10px 12px;
}

.shot-restaurante {
  left: 36px;
  top: 24px;
  --tilt: -8deg;
  z-index: 4;
}

.shot-estoque {
  right: 10px;
  top: 118px;
  --tilt: 6deg;
  z-index: 3;
}

.shot-eventos {
  bottom: 58px;
  left: 76px;
  --tilt: 5deg;
  z-index: 2;
}

.shot-feedbacks {
  bottom: 10px;
  right: 48px;
  --tilt: -5deg;
  z-index: 5;
}

.organization-flow {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.14), rgba(10, 16, 32, 0.86)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 58px 190px 58px minmax(0, 1fr);
  margin-top: 16px;
  overflow: hidden;
  padding: clamp(18px, 4vw, 34px);
  position: relative;
}

.messy-side,
.organized-side {
  display: grid;
  gap: 10px;
}

.flow-arrow {
  align-items: center;
  animation: flow-reveal 500ms ease both;
  background: rgba(59, 185, 255, 0.12);
  border: 1px solid rgba(59, 185, 255, 0.28);
  border-radius: 999px;
  color: var(--accent-2);
  display: flex;
  font-size: 1.8rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  justify-self: center;
  rotate: 0deg;
  width: 46px;
}

.arrow-left {
  animation-delay: 4s;
}

.arrow-right {
  animation-delay: 6s;
}

.messy-side span,
.organized-side span {
  animation: flow-reveal 520ms ease both;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 820;
  min-height: 46px;
  padding: 12px 14px;
}

.messy-side .flow-item:nth-child(1) {
  animation-delay: 0s;
}

.messy-side .flow-item:nth-child(2) {
  animation-delay: 1s;
}

.messy-side .flow-item:nth-child(3) {
  animation-delay: 2s;
}

.messy-side .flow-item:nth-child(4) {
  animation-delay: 3s;
}

.organized-side .flow-item:nth-child(1) {
  animation-delay: 7s;
}

.organized-side .flow-item:nth-child(2) {
  animation-delay: 8s;
}

.organized-side .flow-item:nth-child(3) {
  animation-delay: 9s;
}

.organized-side .flow-item:nth-child(4) {
  animation-delay: 10s;
}

.organized-side .flow-item:nth-child(5) {
  animation-delay: 11s;
}

.messy-side span {
  color: #c5cedd;
}

.organized-side span {
  border-color: rgba(59, 185, 255, 0.28);
}

.organized-side strong {
  animation: flow-reveal 520ms ease both;
  animation-delay: 12s;
  color: var(--success);
  font-size: 1.45rem;
  line-height: 1.05;
  margin-top: 4px;
}

.flow-center {
  align-items: center;
  animation: flow-reveal 520ms ease both;
  animation-delay: 5s;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.flow-center img {
  border: 1px solid rgba(59, 185, 255, 0.34);
  border-radius: var(--radius);
  height: 82px;
  object-fit: cover;
  width: 82px;
}

.flow-center strong {
  font-size: 1.2rem;
}

.section,
.restaurant-section,
.contact-section {
  margin-top: 54px;
}

.section.intro,
.restaurant-section,
.contact-section {
  align-items: start;
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.intro-copy {
  display: grid;
  gap: 14px;
}

.demo-steps {
  counter-reset: demo-step;
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.demo-steps li {
  align-items: start;
  background: rgba(10, 16, 32, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 5px;
  padding: 13px 14px;
}

.demo-steps strong {
  color: var(--accent-2);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.demo-steps span {
  color: var(--muted);
  line-height: 1.45;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.demo-panel,
.steps article,
.contact-form {
  background: rgba(10, 16, 32, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.ecosystem-tabs {
  background: rgba(10, 16, 32, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 24px;
  padding: 12px;
}

.tab-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 12px;
}

.tab-button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  font-weight: 820;
  min-height: 44px;
  padding: 0 12px;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tab-button:hover {
  border-color: rgba(59, 185, 255, 0.42);
  color: var(--text);
  transform: translateY(-2px);
}

.tab-button.active {
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.24), rgba(59, 185, 255, 0.12));
  border-color: rgba(59, 185, 255, 0.52);
  box-shadow: inset 0 0 0 1px rgba(59, 185, 255, 0.1);
  color: var(--text);
}

.tab-button.locked {
  position: relative;
}

.tab-panel {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.1), rgba(10, 16, 32, 0.92)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 330px;
  padding: clamp(16px, 3vw, 28px);
}

.tab-panel.active {
  animation: ecosystem-panel-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  display: grid;
}

.tab-panel.active > div:first-child {
  animation: ecosystem-copy-in 420ms 45ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tab-panel.active .tab-preview {
  animation: ecosystem-preview-in 460ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tab-panel h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  margin: 6px 0 8px;
}

.tab-panel p {
  max-width: 740px;
}

.tab-panel ul {
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.45;
  margin: 16px 0 0;
  padding-left: 18px;
}

.tab-panel span,
.tab-preview span,
.demo-panel span,
.steps span {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions.compact {
  margin-top: 18px;
}

.tab-preview {
  align-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(59, 185, 255, 0.24), transparent 13rem),
    rgba(5, 9, 20, 0.72);
  border: 1px solid rgba(59, 185, 255, 0.24);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  min-height: 270px;
  padding: 20px;
}

.locked-button,
.locked-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(133, 165, 214, 0.26);
  box-shadow: none !important;
  color: #8d9bb2 !important;
  cursor: not-allowed;
  filter: none;
}

.locked-preview {
  opacity: 0.78;
}

.mini-lock {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-size: 1.5rem;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.mini-flow {
  display: grid;
  gap: 8px;
}

.mini-flow span {
  align-items: center;
  animation: mini-step 3s ease-in-out infinite;
  background: rgba(22, 139, 255, 0.12);
  border: 1px solid rgba(59, 185, 255, 0.26);
  border-radius: 999px;
  color: var(--text);
  display: flex;
  font-size: 0.76rem;
  min-height: 30px;
  padding: 7px 10px;
  width: fit-content;
}

.mini-flow span:nth-child(2) {
  animation-delay: 1s;
}

.mini-flow span:nth-child(3) {
  animation-delay: 2s;
}

.tab-preview strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.tab-preview small {
  line-height: 1.45;
}

.tab-preview b {
  color: var(--success);
  font-size: 1rem;
}

.restaurant-preview {
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.2), rgba(10, 16, 32, 0.84)),
    var(--surface);
}

.restaurant-preview span {
  background: rgba(22, 139, 255, 0.13);
  border: 1px solid rgba(59, 185, 255, 0.24);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.84rem;
  padding: 8px 11px;
  width: fit-content;
}

.restaurant-section.is-switching .restaurant-copy {
  animation: ecosystem-copy-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.restaurant-section.is-switching .restaurant-demo {
  animation: ecosystem-preview-in 440ms 55ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.restaurant-copy ul {
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.5;
  padding-left: 18px;
}

.restaurant-demo {
  display: grid;
  gap: 14px;
}

.demo-panel {
  display: grid;
  gap: 10px;
  min-height: 150px;
}

.demo-panel strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.demo-panel small {
  line-height: 1.5;
}

.demo-panel i {
  animation: panel-pulse 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(22, 139, 255, 0.16), rgba(59, 185, 255, 0.72), rgba(22, 139, 255, 0.16));
  border-radius: 999px;
  display: block;
  height: 4px;
  margin-top: auto;
  width: 46%;
}

.demo-panel:nth-child(2) i {
  animation-delay: 0.5s;
  width: 62%;
}

.demo-panel:nth-child(3) i {
  animation-delay: 1s;
  width: 78%;
}

.demo-panel.menu {
  background:
    linear-gradient(135deg, rgba(22, 139, 255, 0.18), rgba(10, 16, 32, 0.9)),
    var(--surface);
}

.steps article {
  display: grid;
  gap: 8px;
}

.steps span {
  align-items: center;
  background: rgba(22, 139, 255, 0.16);
  border-radius: var(--radius);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.contact-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.88rem;
  font-weight: 750;
  gap: 7px;
}

label.full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  min-height: 46px;
  padding: 10px 11px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  background: rgba(36, 199, 131, 0.12);
  border: 1px solid rgba(36, 199, 131, 0.28);
  border-radius: var(--radius);
  color: #b8f4da;
  display: none;
  margin: 0;
  padding: 12px;
}

.form-note.visible {
  display: block;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 30px auto 0;
  max-width: 1240px;
  padding: 22px clamp(16px, 4vw, 42px);
}

.footer-brand {
  color: var(--text);
  font-weight: 850;
  text-decoration: none;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  color: var(--accent-2);
}

.modal {
  align-items: center;
  background: rgba(5, 9, 20, 0.78);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  max-width: 520px;
  padding: 20px;
  position: relative;
  width: 100%;
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
  height: 32px;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
}

.demo-loading {
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--accent, #168bff) 24%, transparent), transparent 28rem),
    #000;
  color: var(--text);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  text-align: center;
  z-index: 80;
}

.demo-loading.is-leaving .loading-card {
  animation: loading-leave 760ms ease forwards;
}

.demo-loading.is-leaving .loading-card img {
  animation: loading-logo-zoom 900ms ease forwards;
}

.loading-card {
  display: grid;
  gap: 22px;
  justify-items: center;
  max-width: 620px;
}

.loading-card img {
  border-radius: var(--radius);
  filter: drop-shadow(0 0 34px color-mix(in srgb, var(--accent, #168bff) 48%, transparent));
  max-height: 210px;
  object-fit: contain;
  width: min(300px, 64vw);
}

.loading-card p {
  color: rgba(246, 249, 255, 0.88);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: 300;
  line-height: 1.18;
  margin: 0;
}

.loading-card p.is-fading {
  animation: loading-message-fade 2s ease both;
}

.motion-ready main > section,
.motion-ready main > aside,
.motion-ready footer {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready .organization-flow .flow-item,
.motion-ready .organization-flow .flow-arrow,
.motion-ready .organization-flow .flow-center {
  animation-play-state: paused;
}

.motion-ready main > section.is-visible,
.motion-ready main > aside.is-visible,
.motion-ready footer.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 560ms ease var(--reveal-delay, 0ms),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.motion-ready .organization-flow.is-visible .flow-item,
.motion-ready .organization-flow.is-visible .flow-arrow,
.motion-ready .organization-flow.is-visible .flow-center {
  animation-play-state: running;
}

.modal:not([hidden]) .modal-card {
  animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ecosystem-panel-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ecosystem-copy-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ecosystem-preview-in {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flow-reveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mini-step {
  0%,
  100% {
    opacity: 0.46;
    transform: translateX(0);
  }
  22%,
  46% {
    opacity: 1;
    transform: translateX(8px);
  }
}

@keyframes panel-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: scaleX(0.72);
    transform-origin: left;
  }
  45%,
  60% {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes loading-message-fade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  18%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes loading-leave {
  to {
    opacity: 0;
    transform: scale(0.985);
  }
}

@keyframes loading-logo-zoom {
  to {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (max-width: 980px) {
  .hero,
  .section.intro,
  .restaurant-section,
  .contact-section,
  .tab-panel,
  .organization-flow {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 520px;
    min-height: 520px;
  }

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

  .flow-arrow {
    rotate: 90deg;
  }

  .arrow-left,
  .arrow-right {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    position: static;
  }

  .topbar nav,
  .steps,
  .tab-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .topbar nav {
    display: grid;
  }

  main {
    padding: 14px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .steps {
    display: grid;
  }

  .hero-visual {
    height: auto;
    min-height: 0;
    padding-top: 10px;
  }

  .hero-visual::before {
    display: none;
  }

  .system-shot {
    margin: 0 0 12px;
    position: relative;
    transform: none;
    width: 100%;
  }

  .hero:hover .hero-copy,
  .hero:hover .system-shot,
  .hero:hover .hero-visual::before {
    transform: none;
  }

  .organization-flow {
    gap: 14px;
  }

  .shot-restaurante,
  .shot-estoque,
  .shot-eventos,
  .shot-feedbacks {
    inset: auto;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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