:root {
  --navy: #03132f;
  --navy2: #071d47;
  --navy3: #0b2c68;
  --blue: #1557e6;
  --blue2: #123fb4;
  --cyan: #7df5ff;
  --soft: #f4f7fb;
  --line: #dbe3ee;
  --text: #101828;
  --muted: #5b6576;
  --white: #fff;
  --shadow: 0 18px 50px rgba(3, 19, 47, 0.12);
  --shadow-lg: 0 30px 90px rgba(3, 19, 47, 0.22);
  --r: 22px;
  --r2: 32px;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}
.skip-link:focus {
  transform: none;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar__inner > div {
  display: flex;
  gap: 10px;
}
.topbar a:hover {
  color: #fff;
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 29, 71, 0.08);
  transition: 0.25s;
}
.header.is-scrolled {
  box-shadow: 0 12px 32px rgba(3, 19, 47, 0.09);
}
.header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 50%;
}
.brand > span {
  display: grid;
  line-height: 1;
}
.brand strong {
  font-size: 1.16rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy2);
}
.brand small {
  margin-top: 6px;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav > a:not(.btn) {
  position: relative;
  color: #364152;
  font-size: 0.91rem;
  font-weight: 750;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: 0.25s;
}
.nav > a:hover::after,
.nav > a.active::after {
  transform: scaleX(1);
}
.nav > a.active {
  color: var(--blue2);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
}
.menu-toggle i {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy2);
  transition: 0.25s;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1;
  transition: 0.2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(21, 87, 230, 0.26);
}
.btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn--light {
  background: #fff;
  color: var(--navy2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.btn--lg {
  min-height: 52px;
  padding-inline: 24px;
}
.btn--sm {
  padding: 11px 16px;
  font-size: 0.88rem;
}
.btn--full {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero__bg,
.hero__shade {
  position: absolute;
  inset: 0;
}
.hero__bg {
  z-index: -3;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__shade {
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(3, 19, 47, 0.97),
    rgba(3, 19, 47, 0.91) 40%,
    rgba(3, 19, 47, 0.5) 68%,
    rgba(3, 19, 47, 0.28)
  );
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(0deg, rgba(3, 19, 47, 0.86), transparent);
}
.hero__layout {
  min-height: 590px;
  padding: 72px 0 46px;
  display: grid;
  grid-template-columns: 1.15fr 0.72fr;
  gap: 68px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue2);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow--light {
  color: var(--cyan);
}
.hero h1,
.section-head h2,
.section-copy h2,
.segments h2,
.contact h2,
.cta-strip h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 5vw, 5.1rem);
  line-height: 0.98;
}
.hero h1 span {
  color: var(--cyan);
}
.hero__copy > p {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 1.06rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}
.hero__checks span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__checks span:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.hero__logo-card {
  justify-self: end;
  width: min(100%, 420px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}
.hero__logo-box {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  overflow: hidden;
}
.hero__logo-box img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.hero__logo-text {
  display: grid;
  padding: 17px 5px 4px;
}
.hero__logo-text strong {
  font-size: 1.15rem;
}
.hero__logo-text span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.86rem;
}
.hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(3, 19, 47, 0.78);
  backdrop-filter: blur(16px);
}
.hero__features article {
  min-height: 108px;
  padding: 22px 26px;
  display: grid;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__features article:last-child {
  border-right: 0;
}
.hero__features b {
  font-size: 1rem;
}
.hero__features span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.81rem;
}

.section {
  padding: 104px 0;
}
.section--soft {
  background: var(--soft);
}
.section-head {
  margin-bottom: 42px;
}
.section-head--split {
  display: grid;
  grid-template-columns: 1.12fr 0.55fr;
  align-items: end;
  gap: 60px;
}
.section-head--split > p {
  margin: 0 0 4px;
  color: var(--muted);
}
.section-head--center {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-head--center p {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
}
.section-copy > p {
  color: var(--muted);
}
.about {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 86px;
  align-items: center;
}
.about__visual {
  position: relative;
  min-height: 590px;
}
.about__main {
  position: absolute;
  inset: 0 15% 7% 0;
  width: 85%;
  height: 93%;
  object-fit: cover;
  border-radius: var(--r2);
  box-shadow: var(--shadow-lg);
}
.about__detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 45%;
  object-fit: cover;
  border: 8px solid var(--soft);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.about__seal {
  position: absolute;
  left: -16px;
  bottom: 54px;
  min-width: 180px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--navy2);
  color: #fff;
  box-shadow: var(--shadow);
}
.about__seal strong,
.about__seal span {
  display: block;
}
.about__seal strong {
  letter-spacing: 0.11em;
}
.about__seal span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
}
.about__points {
  margin: 28px 0 24px;
  display: grid;
}
.about__points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.about__points article:last-child {
  border-bottom: 1px solid var(--line);
}
.about__points > article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--navy2);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 900;
}
.about__points b,
.about__points small {
  display: block;
}
.about__points small {
  margin-top: 2px;
  color: var(--muted);
}
.text-link {
  color: var(--blue2);
  font-weight: 900;
}
.text-link span {
  display: inline-block;
  transition: 0.2s;
}
.text-link:hover span {
  transform: translateX(5px);
}

/* =========================
   CARROSSEL DE SERVIÇOS
   ========================= */
.services-slider {
  position: relative;
}

.services-viewport {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(3, 19, 47, 0.14);
}

.services-track {
  display: flex;
  transition: transform 0.62s cubic-bezier(0.22, 0.75, 0.25, 1);
  will-change: transform;
}

.service-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(7, 29, 71, 0.1);
  border-radius: 28px;
  background: var(--navy);
  color: #fff;
}

.service-slide__media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #dfe7ef;
}

.service-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(3, 19, 47, 0.22));
  pointer-events: none;
}

.service-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-slide:hover .service-slide__media img {
  transform: scale(1.035);
}

.service-slide__content {
  min-width: 0;
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(38, 118, 255, 0.22),
      transparent 34%
    ),
    var(--navy);
}

.service-slide__number {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 245, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-slide h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-slide p {
  max-width: 520px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
}

.service-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 900;
}

.service-slide__link span {
  transition: transform 0.2s ease;
}

.service-slide__link:hover span {
  transform: translateX(5px);
}

.services-controls {
  min-height: 72px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.services-arrows {
  display: flex;
  gap: 10px;
}

.services-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy2);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(3, 19, 47, 0.08);
  transition: 0.2s ease;
}

.services-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 87, 230, 0.35);
  background: var(--navy2);
  color: #fff;
}

.services-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.services-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.services-dot.active {
  width: 30px;
  background: var(--blue);
}

.services-counter {
  min-width: 72px;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.services-counter strong {
  color: var(--navy2);
  font-size: 1.15rem;
}

.segments {
  padding: 88px 0;
  background:
    radial-gradient(
      circle at 95% 10%,
      rgba(38, 118, 255, 0.34),
      transparent 32%
    ),
    linear-gradient(135deg, var(--navy), var(--navy3));
  color: #fff;
}
.segments__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: center;
}
.segments h2 {
  color: #fff;
}
.segments p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.67);
}
.segments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}
.segments__grid article {
  min-height: 130px;
  padding: 23px;
  display: grid;
  align-content: center;
  background: rgba(3, 19, 47, 0.68);
}
.segments__grid b {
  font-size: 1.04rem;
}
.segments__grid span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.79rem;
}

.clients-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}
.clients-viewport {
  overflow: hidden;
  border-radius: 18px;
}
.clients-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.client-card {
  flex: 0 0 calc((100% - 48px) / 4);
  height: 138px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid #e4e9f0;
  border-radius: 18px;
  background: #fff;
}
.client-card img {
  max-height: 76px;
  max-width: 88%;
  filter: none;
  transition: 0.25s;
}
.client-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}
.carousel-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.cta-strip {
  padding: 74px 0;
  background: linear-gradient(135deg, var(--blue2), #2676ff);
  color: #fff;
}
.cta-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-strip h2 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}
.contact {
  background: var(--soft);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
}
.contact__info {
  padding: 48px;
  border-radius: var(--r2);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(38, 118, 255, 0.35),
      transparent 34%
    ),
    var(--navy);
  color: #fff;
}
.contact__info h2 {
  color: #fff;
}
.contact__info > p {
  color: rgba(255, 255, 255, 0.67);
}
.contact__list {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.contact__list > * {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.contact__list span,
.contact__list b {
  display: block;
}
.contact__list span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact__list b {
  margin-top: 3px;
  font-size: 0.94rem;
}
.contact__social-block {
  display: block;
}
.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: 0.2s;
}
.contact__social-link svg {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.contact__social-link:first-child svg circle:last-child {
  fill: currentColor;
  stroke: none;
}
.contact__social-link:last-child svg {
  fill: currentColor;
  stroke: none;
}
.contact__social-link b {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
}
.contact__social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 245, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: var(--cyan);
}
.form-card {
  padding: 48px;
  border-radius: var(--r2);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 2.15rem;
}
.form-card form {
  margin-top: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #344054;
  font-size: 0.81rem;
  font-weight: 800;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: 0.2s;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #2676ff;
  box-shadow: 0 0 0 4px rgba(38, 118, 255, 0.11);
}
.form-card small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.footer {
  padding-bottom: 24px;
  background: #020d22;
  color: rgba(255, 255, 255, 0.7);
}
.footer__banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(135deg, #0b2c68, #103f96);
  color: #fff;
}
.footer__banner span,
.footer__banner b {
  display: block;
}
.footer__banner span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__banner b {
  margin-top: 4px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 1fr 1fr;
  gap: 50px;
  padding: 62px 0 44px;
}
.footer__brand img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.footer__brand p {
  max-width: 360px;
  font-size: 0.87rem;
}
.footer__brand > div {
  display: flex;
  gap: 16px;
}
.footer__grid > div:not(.footer__brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer h3 {
  margin: 5px 0 10px;
  color: #fff;
  font-size: 0.87rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__grid a,
.footer__grid span {
  font-size: 0.84rem;
}
.footer a:hover {
  color: var(--cyan);
}
.footer__bottom {
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.77rem;
}
.footer__bottom p {
  margin: 0;
}
.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #21c063;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(33, 192, 99, 0.32);
  transition: 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .service-slide {
    max-height: 600px;
  }
  .nav {
    gap: 15px;
  }
  .hero__layout {
    grid-template-columns: 1fr 350px;
    gap: 36px;
  }
  .about {
    gap: 48px;
  }
  .segments__layout {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer__grid > div:last-child {
    grid-column: 2/4;
  }
}
@media (max-width: 900px) {
  .topbar {
    display: none;
  }
  .header__inner {
    min-height: 78px;
  }
  .brand img {
    width: 58px;
    height: 58px;
  }
  .brand > span {
    display: none;
  }
  .menu-toggle {
    display: block;
    z-index: 2;
  }
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100vh - 78px);
    overflow: auto;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(3, 19, 47, 0.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: 0.28s;
  }
  .nav.open {
    transform: none;
    visibility: visible;
  }
  .nav > a:not(.btn) {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
  }
  .nav > a:not(.btn)::after {
    display: none;
  }
  .nav .btn {
    margin-top: 14px;
  }
  .menu-toggle[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero {
    min-height: auto;
  }
  .hero__shade {
    background: linear-gradient(
      180deg,
      rgba(3, 19, 47, 0.96),
      rgba(3, 19, 47, 0.83) 52%,
      rgba(3, 19, 47, 0.88)
    );
  }
  .hero__layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 62px 0 32px;
  }
  .hero__logo-card {
    justify-self: stretch;
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    max-width: 620px;
  }
  .hero__logo-box {
    width: 190px;
  }
  .hero__logo-text {
    padding-left: 16px;
  }
  .hero__features {
    grid-template-columns: 1fr 1fr;
  }
  .hero__features article:nth-child(2) {
    border-right: 0;
  }
  .hero__features article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .section {
    padding: 82px 0;
  }
  .section-head--split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about__visual {
    max-width: 680px;
    min-height: 540px;
  }
  .service-slide {
    min-height: 390px;
    grid-template-columns: 1fr 1fr;
  }
  .service-slide__media {
    min-height: 390px;
  }
  .service-slide__content {
    padding: 38px;
  }
  .segments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-strip__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > div:last-child {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .hero__layout {
    padding-top: 44px;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.8rem);
  }
  .hero__copy > p {
    font-size: 0.97rem;
  }
  .hero__actions {
    display: grid;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__logo-card {
    grid-template-columns: 132px 1fr;
    border-radius: 22px;
  }
  .hero__logo-box {
    width: 132px;
    border-radius: 16px;
  }
  .hero__logo-text {
    padding: 8px 2px 8px 14px;
  }
  .hero__features {
    width: calc(100% + 28px);
    margin-left: -14px;
    border-inline: 0;
    border-radius: 0;
  }
  .hero__features article {
    min-height: 92px;
    padding: 17px 14px;
  }
  .section {
    padding: 66px 0;
  }
  .about__visual {
    min-height: 420px;
  }
  .about__main {
    right: 9%;
    width: 91%;
  }
  .about__detail {
    width: 43%;
    border-width: 5px;
  }
  .about__seal {
    left: 8px;
    bottom: 22px;
    min-width: 155px;
    padding: 14px 17px;
  }
  .services-viewport {
    border-radius: 22px;
  }
  .service-slide {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .service-slide__media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .service-slide__media::after {
    background: linear-gradient(0deg, rgba(3, 19, 47, 0.18), transparent 45%);
  }
  .service-slide__content {
    min-height: 330px;
    padding: 28px 24px 30px;
  }
  .service-slide__number {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
  }
  .service-slide h3 {
    font-size: 1.72rem;
  }
  .service-slide p {
    margin-bottom: 24px;
    font-size: 0.93rem;
    line-height: 1.65;
  }
  .services-controls {
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin-top: 16px;
  }
  .services-arrows {
    grid-column: 1;
    grid-row: 1;
  }
  .services-dots {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
  }
  .services-counter {
    display: none;
  }
  .services-arrow {
    width: 44px;
    height: 44px;
  }
  .segments {
    padding: 64px 0;
  }
  .segments__grid article {
    min-height: 108px;
    padding: 17px;
  }
  .clients-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
  .client-card {
    flex-basis: 100%;
  }
  .cta-strip {
    padding: 58px 0;
  }
  .contact__info,
  .form-card {
    padding: 30px 22px;
    border-radius: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 0 34px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
