/* ==========================================================================
   byx — style.css
   ========================================================================== */

@font-face {
  font-family: 'Circular Air Pro';
  src: url('../font/CircularAirPro-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────── */
:root {
  --primary:  #4003fe;
  --purple:   #541dff;
  --soft:     #f1edff;
  --section:  #f5f2ff;
  --text:     #393939;
  --track:    -0.1504px;

  /* Grid — 12 colunas, 72px col, 32px gutter, 112px margem */
  --col:     72px;
  --gutter:  32px;
  --margin: 112px;
  --grid-max: 1440px;

  /* Seção vertical padding */
  --pad-xl:      160px;   /* seções principais */
  --pad-lg:      120px;   /* seções médias     */
  --pad-sm:       96px;   /* seções compactas  */
  --pad-section: 154px;   /* espaçamento universal entre seções (Figma) */
}

/* Escalonamento proporcional — JS define --page-scale = min(1, vw/1440).
   Todas as variáveis de espaçamento escalam juntas em desktops < 1440px.
   Abaixo de 1025px o layout responsivo assume; o scale não se aplica. */
@media (min-width: 1025px) {
  :root {
    --col:    calc(72px  * var(--page-scale, 1));
    --gutter: calc(32px  * var(--page-scale, 1));
    --margin: calc(112px * var(--page-scale, 1));
    --pad-xl:      calc(160px * var(--page-scale, 1));
    --pad-lg:      calc(120px * var(--page-scale, 1));
    --pad-sm:      calc( 96px * var(--page-scale, 1));
    --pad-section: calc(154px * var(--page-scale, 1));
  }
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Circular Air Pro', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul, ol { list-style: none; }

/* ── NAV ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 72px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.nav--light {
  background: rgba(255, 255, 255, 0.96);
  color: #374957;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
.nav--light .nav__brand { color: var(--primary); }
.nav--light .nav__link:hover,
.nav--light .nav__drop:hover { color: var(--primary); }

.nav__wrap {
  max-width: var(--grid-max);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

/* Col 1 — Logo */
.nav__brand {
  display: flex;
  align-items: center;
  padding-left: var(--margin);
  color: inherit;
}
.nav__logo {
  height: 32px;
  width: 86px;
  flex-shrink: 0;
  transition: color 0.35s ease;
}

/* Col 2 — Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 41px;
}
.nav__link,
.nav__drop {
  font-size: 14px;
  letter-spacing: var(--track);
  color: inherit;
  white-space: nowrap;
  transition: color .2s;
  line-height: 1;
}
.nav__link:hover { color: rgba(255, 255, 255, 0.7); }
.nav__drop {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__drop:hover { color: rgba(255, 255, 255, 0.7); }
.nav__drop svg { flex-shrink: 0; transition: transform 0.22s ease; }
.nav__drop[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ── Nav submenu ── */
.nav__drop-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 480px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  z-index: 10;
}
.nav__submenu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub-col {
  flex: 1;
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
}
.nav__sub-col--left  { background: #3402d2; }
.nav__sub-col--right { background: #4003fe; }
.nav__sub-chip {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: var(--track);
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 22px;
  white-space: nowrap;
}
.nav__sub-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav__sub-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  transition: opacity 0.15s;
}
.nav__sub-item:hover { opacity: 0.75; }
.nav__sub-title {
  font-size: 16px;
  letter-spacing: var(--track);
  line-height: 1;
}
.nav__sub-desc {
  font-size: 12px;
  letter-spacing: var(--track);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

/* Col 3 — CTA + Flag */
.nav__actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 280px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  letter-spacing: var(--track);
  transition: background .38s, color .38s;
  flex-shrink: 0;
}
.nav__cta:hover { background: #fff; color: var(--primary); }
.nav__cta svg,
.nav__cta .nav__icon { flex-shrink: 0; width: 21px; height: 18px; }
.nav__flag-wrap {
  width: 69px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav__flag {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  transition: box-shadow .2s;
}
.nav__flag:hover { box-shadow: 0 0 0 2px rgba(64,3,254,.35); }
.nav__flag img { width: 100%; height: 100%; object-fit: cover; }

/* Hamburger + menu mobile */
.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: inherit;
  position: relative;
  z-index: 101;
}
.nav__ham-close { display: none; }
.nav__hamburger[aria-expanded="true"] .nav__ham-open  { display: none; }
.nav__hamburger[aria-expanded="true"] .nav__ham-close { display: block; }

.nav__mobile-menu {
  position: fixed;
  top: 84px;
  left: 0;
  width: 100%;
  height: calc(100svh - 84px);
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 48px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}
.nav__mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile-links { display: flex; flex-direction: column; }
.nav__mobile-link {
  font-size: 22px;
  color: #0f0033;
  letter-spacing: var(--track);
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  line-height: 1;
}
.nav__mobile-links .nav__mobile-link:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.nav__mobile-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  letter-spacing: var(--track);
  flex-shrink: 0;
  transition: background .2s;
}
.nav__mobile-cta:hover { background: #3301d6; }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: #0c0035;
  min-height: 100svh;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding-top: clamp(220px, 20vw, 440px);
  padding-left: var(--margin);
}
.hero__title {
  font-size: clamp(43px, 3vw, 90px);
  color: #fff;
  letter-spacing: var(--track);
  line-height: 1.06;
  max-width: clamp(496px, 34.4vw, 960px);
  margin-bottom: clamp(20px, 1.9vw, 48px);
}
.hero__body {
  font-size: clamp(15px, 1.1vw, 26px);
  color: #fff;
  line-height: 1.45;
  letter-spacing: var(--track);
  max-width: clamp(490px, 34vw, 960px);
  margin-bottom: clamp(28px, 2.6vw, 64px);
}
.hero__btns { display: flex; gap: clamp(24px, 2.4vw, 56px); }

.btn-hero-solid,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 15.8vw, 340px);
  height: clamp(44px, 3.5vw, 76px);
  font-size: clamp(13px, 1vw, 20px);
  font-family: inherit;
  letter-spacing: var(--track);
  border: 2px solid #fff;
  border-radius: 4px;
  transition: background .38s, border-color .38s, color .38s;
}
.btn-hero-solid { background: #fff; color: var(--primary); }
.btn-hero-solid:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-hero-ghost { background: transparent; color: #fff; }
.btn-hero-ghost:hover { background: #fff; color: var(--primary); border-color: var(--primary); }

/* ── FLIP BUTTON — efeito 3D rotateX no hover ───────── */
.btn-flip > span { display: block; }

/* ── ABOUT ─────────────────────────────────────────── */
.about {
  position: relative;
  background: #fff;
}

.about__bg-img {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 55%;
  pointer-events: none;
}
.about__bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.about__inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 100px var(--margin) 120px;
  display: flex;
  align-items: flex-start;
  gap: 135px;
}

/* Coluna esquerda — foto + cards flutuantes */
.about__visual {
  position: sticky;
  top: 88px;
  flex: 0 0 595px;
  height: 750px;
  align-self: flex-start;
}

.about__man {
  position: absolute;
  left: 0; top: 0;
  width: 491px; height: 695px;
  border-radius: 30px;
  overflow: hidden;
}
.about__man img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__card {
  position: absolute;
  width: 280px; height: 109px;
  background: rgba(15, 10, 36, 0.6);
  border-radius: 26px;
  display: flex; align-items: center; gap: 17px; padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}
.about__card--ai {
  left: 315px; top: 443px;
  border: 1.714px solid rgba(171, 84, 255, 0.55);
  box-shadow:
    0 5.714px 17.143px rgba(0, 0, 0, 0.5),
    0 30.476px 40px   rgba(171, 84, 255, 0.45);
  animation: float-card 4s ease-in-out infinite;
}
.about__card--infra {
  left: 107px; top: 638px;
  border: 1.714px solid rgba(46, 229, 245, 0.55);
  box-shadow:
    0 5.714px 17.143px rgba(0, 0, 0, 0.5),
    0 22.131px 40px   rgba(46, 229, 245, 0.45);
  animation: float-card 4s ease-in-out infinite 0.9s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.about__card-icon {
  width: 63px; height: 63px; border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px; font-weight: 700;
  font-family: system-ui, sans-serif; line-height: 1;
}
.about__card-icon--ai {
  background: #1f0f2e;
  border: 2.143px solid rgba(171, 84, 255, 0.9);
  box-shadow: 0 0 22.857px rgba(171, 84, 255, 0.75);
  color: #ab54ff;
}
.about__card-icon--infra {
  background: #08292c;
  border: 2.143px solid rgba(46, 229, 245, 0.9);
  box-shadow: 0 0 22.857px rgba(46, 229, 245, 0.75);
  color: #2ee5f5;
}
.about__card-labels {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.about__card-name {
  font-family: 'Circular Air Pro', system-ui, sans-serif;
  font-size: 18.571px; color: #fff; white-space: nowrap; line-height: 1;
}
.about__card-sub { font-family: system-ui, sans-serif; font-size: 14.286px; line-height: 1; }
.about__card--ai    .about__card-sub { color: rgba(188, 118, 255, 0.7); }
.about__card--infra .about__card-sub { color: rgba(88, 235, 255, 0.7);  }

/* Coluna direita — texto com sticky */
.about__text {
  position: sticky;
  top: 88px;
  flex: 1;
  max-width: 435px;
  align-self: flex-start;
  padding-top: 48px;
}
.about__title {
  font-size: 43px; letter-spacing: var(--track);
  line-height: 1.06; color: #000; margin-bottom: 32px;
}
.about__title em { font-style: normal; color: var(--primary); }
.about__body {
  font-size: 16px; line-height: 1.54; letter-spacing: var(--track);
  color: #101010; max-width: 384px;
  display: flex; flex-direction: column; gap: 20px;
}
.about__body .c-primary { color: var(--primary); }
.about__body .c-purple  { color: var(--purple);  }

/* ── PARTNERS ──────────────────────────────────────── */
.partners {
  position: relative;
  padding: var(--pad-section) 0;
  text-align: center;
  overflow: hidden;
}
.partners::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--margin);
  right: var(--margin);
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--soft);
  color: var(--purple);
  font-size: 12px;
  letter-spacing: var(--track);
  padding: 7px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.chip--primary { color: var(--primary); }
.partners__title {
  font-size: 43px;
  letter-spacing: var(--track);
  line-height: 1.06;
  color: #000;
  margin-bottom: 48px;
}
.partners__title span { color: var(--primary); }

.marquee-wrap {
  overflow: hidden;
  width: calc(100% - 2 * var(--margin));
  max-width: calc(var(--grid-max) - 2 * var(--margin));
  margin: 0 auto;
  mask-image:         linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  padding: 0 60px;
  animation: marquee 30s linear infinite;
}
.marquee-track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
/* ── Scroll reveal ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(38px); }
.reveal.is-visible {
  animation: reveal-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Image reveal — clip-path wipe da esquerda ── */
.reveal-img {
  clip-path: inset(100% 0 0 0 round var(--reveal-radius, 0px));
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1) var(--d, 0ms);
  will-change: clip-path;
}
.reveal-img.is-visible {
  clip-path: inset(0 0 0 0 round var(--reveal-radius, 0px));
}
.about__man    { --reveal-radius: 30px; }
.news-card__img { --reveal-radius: 20px; }

/* ── Typewriter cursor ──────────────────────────── */
.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: tw-blink 0.65s step-end infinite;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── SOLUTIONS ─────────────────────────────────────── */
.solutions {
  padding-top: var(--pad-xl);
  padding-bottom: var(--pad-xl);
}

.solutions__sticky {
  overflow: hidden;
}

.solutions__header {
  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto 48px;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: 1fr calc(4 * var(--col) + 3 * var(--gutter));
  gap: var(--gutter);
  align-items: end;
}
.solutions__title {
  font-size: 43px;
  letter-spacing: var(--track);
  line-height: 1.07;
  color: #000;
}
.solutions__title span { color: var(--purple); display: block; }
.solutions__desc {
  font-size: 16px;
  line-height: 1.51;
  letter-spacing: var(--track);
  text-align: right;
  color: #000;
}

.solutions__track-wrap {
  overflow: hidden;
  width: calc(100% - 2 * var(--margin));
  max-width: calc(var(--grid-max) - 2 * var(--margin));
  margin: 0 auto;
}
.solutions__track {
  display: flex;
  gap: calc(var(--page-scale, 1) * 64px);
  width: max-content;
  will-change: transform;
}

/* Cards */
.sol-card {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 28px;
  aspect-ratio: 696/831;
  height: min(calc(var(--page-scale, 1) * 831px), calc(100svh - 260px - var(--page-scale, 1) * 160px));
  width: auto;
}
.sol-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.sol-card__glass {
  position: absolute;
  top: 73.3%;
  left: 7.2%;
  right: 7%;
  bottom: 6.7%;
  border-radius: 23px;
  backdrop-filter:         blur(6.4px);
  -webkit-backdrop-filter: blur(6.4px);
  background: rgba(15, 10, 36, 0.31);
  border: 1.7px solid #4003fe;
  box-shadow: 0 5px 16px rgba(0,0,0,.5), 0 8px 40px 3px rgba(64,3,254,.38);
  padding: 0 calc(var(--sol-card-scale, 1) * 40px) 0 calc(var(--sol-card-scale, 1) * 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--sol-card-scale, 1) * 20px);
  color: #fff;
}
.sol-card__info {}
.sol-card__name {
  font-size: calc(var(--sol-card-scale, 1) * 32px);
  letter-spacing: var(--track);
  line-height: 1.2;
}
.sol-card__sub {
  font-size: calc(var(--sol-card-scale, 1) * 16px);
  line-height: 1.2;
  margin-top: 4px;
  opacity: .75;
}
.sol-card__icon-wrap {
  width: calc(var(--sol-card-scale, 1) * 72px);
  height: calc(var(--sol-card-scale, 1) * 72px);
  flex-shrink: 0;
  position: relative;
}
.sol-card__icon {
  width: calc(var(--sol-card-scale, 1) * 100px);
  height: calc(var(--sol-card-scale, 1) * 100px);
  position: absolute;
  top: calc(var(--sol-card-scale, 1) * -14px);
  left: calc(var(--sol-card-scale, 1) * -14px);
  overflow: visible;
}

/* ── STATS ─────────────────────────────────────────── */
.stats {
  background: var(--primary);
  padding: clamp(120px, 12vw, 240px) 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.stats__wrap {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.stats__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 56px;
}
.stats__title {
  font-size: 43px;
  color: #fff;
  letter-spacing: var(--track);
  line-height: 1.06;
  max-width: 530px;
}
.stats__desc {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  letter-spacing: var(--track);
  max-width: 344px;
  text-align: right;
}
.stats__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.25);
  margin-bottom: 72px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
}
.stat { color: #fff; }
.stat__num {
  display: flex;
  align-items: flex-end;
  line-height: 1;
}
.stat__plus   { font-size: 64px; line-height: 1; }
.stat__prefix { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.stat__value  { font-size: 100px; line-height: 1; }
.stat__suffix { font-size: 36px;  line-height: 1; margin-bottom: 10px; margin-left: 6px; }
.stat__label  {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  letter-spacing: var(--track);
  line-height: 1.2;
  margin-top: 12px;
}

/* ── NEWS ──────────────────────────────────────────── */
.news {
  background: #fff;
  padding: var(--pad-sm) 0 var(--pad-xl) 0;
  position: relative;
  z-index: 11;
}
.news__wrap { max-width: var(--grid-max); margin: 0 auto; padding: 0 var(--margin); }
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 72px;
}
.news__title {
  font-size: 43px;
  letter-spacing: var(--track);
  line-height: .97;
  color: #000;
}
.news__title span { color: var(--primary); }
.news__header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}
.news__lead {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--track);
  max-width: 280px;
  text-align: right;
  color: #000;
}
.news__lead span { color: var(--primary); }

/* Outlined button — used in news cards "Ver mais" */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 50px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-family: inherit;
  letter-spacing: var(--track);
  background: transparent;
  transition: background .2s;
  flex-shrink: 0;
}
.btn-outline:hover { background: #fff; }

/* Filled button — used in news header "Ver todas notícias" */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: var(--track);
  border: 2px solid var(--primary);
  border-radius: 4px;
  transition: background .2s;
  flex-shrink: 0;
}
.btn-solid:hover { background: #3301d6; }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.news-card {}
.news-card__img {
  overflow: hidden;
  border-radius: 20px;
  height: 320px;
  margin-bottom: 36px;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card__title {
  font-size: 24px;
  letter-spacing: -0.1056px;
  line-height: 1;
  color: #000;
  margin-bottom: 14px;
}
.news-card__body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--track);
  color: #000;
  margin-bottom: 28px;
  max-width: calc(3 * var(--col) + 2 * var(--gutter));
}
.news-card__body span { color: var(--primary); }

/* ── FAQ ───────────────────────────────────────────── */
.faq {
  background: var(--section);
  padding: var(--pad-xl) 0;
  position: relative;
  z-index: 12;
}
.faq__wrap {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--margin);
  display: grid;
  grid-template-columns: calc(4 * var(--col) + 3 * var(--gutter)) 1fr;
  gap: var(--gutter);
  align-items: start;
}
.faq__aside {
  position: sticky;
  top: 88px;
}
.faq__title {
  font-size: 43px;
  letter-spacing: var(--track);
  line-height: 1.04;
  color: #000;
  margin-top: 12px;
}
.faq__title span { color: var(--primary); }
.faq__list { display: flex; flex-direction: column; gap: 41px; }

.faq-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 129px;
  padding: 0 43px 0 54px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: #373737;
  letter-spacing: -0.15px;
  cursor: pointer;
  list-style: none;
  gap: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 25px;
  height: 26px;
  color: var(--primary);
  transition: transform .3s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 54px 32px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #8c8c9a;
  letter-spacing: -0.15px;
  line-height: 1.6;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: #fff;
  position: relative;
  z-index: 13;
}
.footer__wrap {
  max-width: var(--grid-max);
  width: 100%;
  margin: 0 auto;
  padding: 100px var(--margin) 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: calc(3 * var(--col) + 2 * var(--gutter)) repeat(3, 1fr);
  gap: var(--gutter);
}
.footer__logo {
  display: flex;
  align-items: flex-start;
}
.footer__logo img {
  height: 44px;
  width: 118px;
  object-fit: contain;
  object-position: left;
}
.footer__col-title {
  font-size: 32px;
  letter-spacing: var(--track);
  line-height: 1.69;
  color: #fff;
  margin-bottom: 4px;
}
.footer__links li a {
  display: block;
  font-size: 16px;
  line-height: 2.31;
  letter-spacing: var(--track);
  color: rgba(255,255,255,.9);
  transition: opacity .2s;
}
.footer__links li a:hover { opacity: .7; }
.footer__email {
  display: block;
  font-size: 16px;
  line-height: 1.37;
  letter-spacing: var(--track);
  color: #fff;
  text-decoration: underline;
  margin-bottom: 16px;
  word-break: break-all;
  transition: opacity .2s;
}
.footer__email:hover { opacity: .8; }
.footer__addr {
  font-size: 16px;
  line-height: 1.37;
  letter-spacing: var(--track);
  color: rgba(255,255,255,.9);
}
.footer__abcd-text {
  font-size: 14px;
  line-height: 1.69;
  letter-spacing: var(--track);
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.footer__seal {
  height: 49px;
  width: auto;
  display: block;
}
.footer__bottom {
  max-width: var(--grid-max);
  width: 100%;
  margin: 0 auto;
  padding: 24px var(--margin) 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  letter-spacing: var(--track);
  border-top: 1px solid rgba(255,255,255,.2);
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.footer__social-label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  letter-spacing: var(--track);
  margin-right: 12px;
  white-space: nowrap;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  color: #fff;
  transition: opacity .2s;
}
.footer__social-link:hover { opacity: .65; }
.footer__social-link svg { width: 20px; height: 20px; display: block; }

/* ==========================================================================
   RESPONSIVE — tablet ≤ 1024px  /  mobile ≤ 768px
   ========================================================================== */

/* ── TABLET (≤ 1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
  /* About — desativa o scale, muda para coluna centrada */
  .about {
    height: auto;
  }
  .about__bg-img {
    top: auto;
    bottom: 0;
    height: 300px;
  }
  .about__inner {
    flex-direction: column;
    align-items: center;
    gap: 56px;
    padding: 60px var(--margin) 80px;
  }
  .about__visual {
    position: relative;
    width: 380px;
    height: 510px;
  }
  .about__man {
    position: relative;
    left: auto; top: auto;
    width: 380px; height: 510px;
  }
  .about__card--ai   { right: -10px; left: auto; top: auto; bottom: 130px; }
  .about__card--infra { left: -10px; right: auto; top: auto; bottom: 0; }
  .about__text {
    position: relative;
    top: auto;
    padding-top: 0;
    width: 100%; max-width: 560px;
  }

  /* Solutions */
  .solutions__header { margin-bottom: 24px; }
  .solutions__track { gap: 56px; }
  .sol-card { width: 360px; height: min(430px, calc(100svh - 212px - var(--page-scale, 1) * 160px)); }
  .sol-card__glass { padding: 0 28px 0 32px; gap: 16px; }
  .sol-card__name { font-size: 22px; }
  .sol-card__sub  { font-size: 13px; }
  .sol-card__icon-wrap { width: 40px; height: 40px; }
  .sol-card__icon { width: 70px; height: 70px; top: -15px; left: -15px; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* News */
  .news__grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ── MOBILE (≤ 768px) ──────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --pad-xl: 96px;
    --pad-lg: 80px;
    --pad-sm: 64px;
  }

  /* Body — remove clip que bloqueia scroll horizontal de filhos no iOS Safari */
  body { overflow-x: auto; }

  /* ── Nav ── */
  .nav { height: 84px; }
  .nav__links { display: none; }
  .nav__wrap { display: flex; align-items: center; padding: 0 20px; gap: 12px; max-width: 100%; }
  .nav__brand { padding-left: 0; flex-shrink: 0; }
  .nav__logo { width: 74px; height: 28px; }
  .nav__actions { flex: 1; align-items: center; padding-right: 0; justify-content: flex-end; gap: 8px; }
  .nav__cta { flex: 1; max-width: 180px; height: 44px; padding: 0 10px; font-size: 12px; gap: 0; border-radius: 10px; white-space: nowrap; }
  .nav__icon { display: none; }
  .nav__flag-wrap { width: 36px; flex-shrink: 0; }
  .nav__hamburger { display: flex; }

  /* ── Hero ── */
  .hero { min-height: 95svh; padding-bottom: 72px; }
  .hero__content { padding-top: 140px; padding-left: 24px; padding-right: 24px; max-width: 100%; }
  .hero__title  { font-size: 28px; max-width: 100%; }
  .hero__body   { font-size: 15px; max-width: 100%; }
  .hero__btns   { flex-direction: column; gap: 12px; }
  .btn-hero-solid,
  .btn-hero-ghost { width: 100%; max-width: 320px; }

  /* ── About ── */
  .about__inner  { padding: 40px 24px 64px; gap: 40px; flex-direction: column; }
  .about__visual { width: 100%; height: 420px; position: relative; top: auto; flex: none; align-self: auto; }
  .about__man    { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 16px; }
  .about__card   { width: 200px; height: 82px; gap: 10px; padding: 12px 14px; border-radius: 18px; }
  .about__card-icon { width: 46px; height: 46px; font-size: 14px; }
  .about__card--ai   { left: auto; right: -8px; top: auto; bottom: 60px; }
  .about__card--infra { right: auto; left: -8px; top: auto; bottom: 0; }
  .about__card-name { font-size: 14px; }
  .about__card-sub  { font-size: 11px; }
  .about__text  { position: static; top: auto; padding-top: 0; max-width: 100%; }
  .about__title { font-size: 28px; }
  .about__body  { max-width: 100%; font-size: 15px; gap: 16px; }

  /* ── Partners ── */
  .partners { padding: 56px 0; }
  .partners__title { font-size: 24px; padding: 0 24px; }
  .marquee-wrap { width: 100%; max-width: 100%; mask-image: none; -webkit-mask-image: none; }

  /* ── Solutions ── */
  .solutions__track-wrap { width: 100%; max-width: 100%; margin: 0; }
  .solutions__header { padding: 0 24px; grid-template-columns: 1fr; gap: 12px; }
  .solutions__title { font-size: 22px; }
  .solutions__desc { text-align: left; max-width: 100%; }
  .solutions__track { padding: 0 24px 4px; gap: 14px; }
  .sol-card { width: 232px; height: 280px; flex-shrink: 0; }
  .sol-card__glass { padding: 0 20px 0 22px; gap: 10px; }
  .sol-card__icon-wrap { width: 28px; height: 28px; }
  .sol-card__icon { width: 50px; height: 50px; top: -10px; left: -10px; }
  .sol-card__name { font-size: 17px; }
  .sol-card__sub { font-size: 12px; }

  /* ── Stats ── */
  .stats { padding: 72px 0; }
  .stats__wrap  { padding: 0 24px; }
  .stats__header { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .stats__title { font-size: 28px; max-width: 100%; }
  .stats__desc  { text-align: left; max-width: 100%; }
  .stats__divider { margin-bottom: 36px; }
  .stats__grid  { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat { text-align: center; }
  .stat__num  { justify-content: center; }
  .stat__value  { font-size: 52px; }
  .stat__plus   { font-size: 36px; }
  .stat__prefix { font-size: 26px; }
  .stat__suffix { font-size: 20px; }
  .stat__label  { font-size: 14px; margin-top: 8px; }

  /* ── News ── */
  .news__wrap   { padding: 0 24px; }
  .news__grid   { grid-template-columns: 1fr; gap: 32px; }
  .news__header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 32px; }
  .news__header-right { align-items: flex-start; }
  .news__lead   { text-align: left; }
  .news__title  { font-size: 28px; }
  .news-card__title { font-size: 17px; }
  .news-card__img { height: 200px; margin-bottom: 18px; }

  /* ── FAQ ── */
  .faq__wrap { padding: 0 24px; display: block; }
  .faq__aside { position: static; margin-bottom: 36px; }
  .faq__title { font-size: 28px; }
  .faq-item summary { min-height: auto; padding: 20px 16px; font-size: 15px; gap: 12px; }
  .faq-item__body { padding: 0 16px 20px; font-size: 14px; }

  /* ── Footer ── */
  .footer__col-title { font-size: 20px; }
  .footer__wrap { padding: 56px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    padding: 24px 24px 40px;
  }
  .footer__social { flex-wrap: nowrap; gap: 0; }
  .footer__social-link { width: 36px; height: 36px; flex-shrink: 0; }
  .footer__social-link svg { width: 18px; height: 18px; }
}
