/* ===========================================================
   NEXXUS · landing "+300 projetos"
   =========================================================== */

/* ----------- design tokens ----------- */
:root {
  --c-navy:        #1A112C;   /* texto principal */
  --c-navy-deep:   #111730;   /* footer / pílula */
  --c-navy-pill:   #111730;
  --c-blue:        #1A8BCB;
  --c-blue-dark:   #137097;
  --c-green:       #5ABE1B;
  --c-green-dark:  #479816;
  --c-teal:        #319D8D;   /* stat "5 segmentos" */
  --c-text:        #1A112C;
  --c-text-soft:   #5b6577;
  --c-text-mute:   #8a93a3;
  --c-bg:          #ffffff;
  --c-bg-soft:     #f5f7fa;

  --font: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1640px;
  --radius: 12px;
  --footer-h: clamp(100px, 10vw, 192px);
}

/* ----------- reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================================
   1. HERO
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-green) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/banner-bg.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero__person {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}
.hero__person img {
  height: clamp(340px, 46vw, 620px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
  will-change: transform, opacity;
}

/* ===========================================================
   2. IMPACTO
   =========================================================== */
.impact {
  padding: clamp(60px, 8vw, 110px) 0;
  background: #fff;
}
.impact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 18vw, 380px);
  align-items: center;
}
.impact__title {
  font-size: clamp(32px, 3vw, 58px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  justify-self: end;
  max-width: 420px;
}
.impact__title-light { display: block; font-weight: 300; }
.impact__title-bold {
  display: block;
  font-weight: 900;
  margin-top: 8px;
}
.impact__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(40px, 4.5vw, 80px);
  text-align: left;
  justify-self: start;
  max-width: clamp(300px, 23vw, 460px);
}
.impact__text {
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.65;
  color: var(--c-text-soft);
}
.impact__logo {
  height: 44px;
  width: auto;
}

/* ===========================================================
   3. NÚMEROS
   =========================================================== */
.numbers {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 7vw, 130px) 0;
  color: #fff;
  background: var(--c-navy-deep);
}
.numbers__bg {
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  height: 140%;
  background-image: url('../img/bloco02-bg.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.numbers__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26,17,44,0.55) 0%, rgba(26,17,44,0.40) 50%, rgba(26,17,44,0.55) 100%);
}
.numbers > .container {
  position: relative;
  z-index: 2;
}
.numbers__title {
  text-align: center;
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 900;
  color: #fff;
  margin-bottom: clamp(40px, 6vw, 110px);
}
.numbers__title span {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
}
.numbers__list {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 95px);
}
.stat {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: clamp(20px, 3vw, 60px);
  width: max-content;
  max-width: 100%;
}
.stat--blue,
.stat--green-bright {
  margin-left: clamp(20px, 12vw, 230px);
  margin-right: auto;
}
.stat--reverse {
  margin-left: auto;
  margin-right: clamp(20px, 12vw, 230px);
}
.stat--reverse .stat__text { order: 2; text-align: left; }
.stat--reverse .stat__illu { order: 1; }

.stat__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__digit {
  font-size: clamp(72px, 10.4vw, 200px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat--blue   .stat__digit { color: var(--c-blue); }
.stat--green  .stat__digit { color: var(--c-teal); }
.stat--green-bright .stat__digit { color: var(--c-green); }

.stat__label {
  font-size: clamp(17px, 1.55vw, 30px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: clamp(20px, 2vw, 42px);
}
.stat--blue  .stat__label { color: var(--c-blue); }
.stat--green .stat__label { color: var(--c-teal); }
.stat--green-bright .stat__label { color: var(--c-green); }

.stat__desc {
  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  max-width: 340px;
  line-height: 1.5;
  margin-top: clamp(12px, 1.5vw, 30px);
}
.stat__illu {
  width: clamp(140px, 18vw, 230px);
  height: auto;
  opacity: 0.95;
  will-change: transform, opacity;
}

/* ===========================================================
   4. CARDS
   =========================================================== */
.cards {
  padding: clamp(60px, 8vw, 110px) 0;
  background: #fff;
}
.cards__title {
  text-align: center;
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 900;
  color: var(--c-navy);
  margin-bottom: clamp(20px, 2.5vw, 36px);
}
.cards__title span {
  font-weight: 300;
  color: var(--c-navy);
}
.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: var(--radius);
  padding: clamp(28px, 2.6vw, 48px) clamp(24px, 2.2vw, 40px);
  text-align: left;
  box-shadow: 0 6px 30px rgba(26, 17, 44, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, opacity;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(26, 17, 44, 0.10);
}
.card__icon {
  display: flex;
  justify-content: flex-start;
  margin-bottom: clamp(20px, 2vw, 36px);
}
.card__icon img {
  height: clamp(48px, 3.6vw, 70px);
  width: auto;
  will-change: transform;
}
.card:nth-child(1) .card__digit { color: var(--c-blue); }
.card:nth-child(2) .card__digit { color: var(--c-teal); }
.card:nth-child(3) .card__digit { color: var(--c-green); }

.card__digit {
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: clamp(10px, 1vw, 20px);
  font-variant-numeric: tabular-nums;
}
.card__label {
  font-size: clamp(16px, 1.55vw, 30px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.25;
  margin-bottom: clamp(14px, 1.5vw, 28px);
}
.card__desc {
  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 400;
  color: var(--c-text-soft);
  line-height: 1.5;
}

/* ===========================================================
   5. INTEGRAÇÃO
   =========================================================== */
.integration {
  position: relative;
  padding-top: clamp(40px, 5vw, 70px);
  background: #fff;
}
.integration__pill {
  margin: 0 auto clamp(-26px, -2vw, -32px);
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: 100%;
  background: var(--c-navy-pill);
  color: #fff;
  border-radius: 999px;
  padding: clamp(16px, 1.4vw, 26px) clamp(28px, 4vw, 70px);
  font-size: clamp(18px, 1.9vw, 36px);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 30px rgba(17, 23, 48, 0.30);
}
.integration__pill span {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
}
.integration__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 43vw, 829px);
}
.integration__half {
  position: relative;
  padding: clamp(60px, 7vw, 100px) clamp(24px, 5vw, 80px) clamp(40px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: clip-path, opacity;
}
.integration__half::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/bloco04-bg.jpg');
  background-size: cover;
  z-index: 0;
}
.integration__half--blue::before  { background-position: left center; }
.integration__half--green::before { background-position: right center; }
.integration__half::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.integration__half--blue::after  { background: linear-gradient(135deg, rgba(26,139,203,0.55), rgba(19,112,151,0.72)); }
.integration__half--green::after { background: linear-gradient(135deg, rgba(90,190,27,0.55), rgba(71,152,22,0.72)); }

.integration__content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.integration__digit {
  font-size: clamp(72px, 10.4vw, 200px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.integration__label {
  font-size: clamp(17px, 1.55vw, 30px);
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.35;
}
.integration__desc {
  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  max-width: 420px;
  margin-top: 6px;
}

/* ===========================================================
   6. CTA
   =========================================================== */
.cta {
  padding: clamp(35px, 4.5vw, 65px) 0;
  background: #fff;
  position: relative;
  z-index: 2;
}
.cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: clamp(40px, 6vw, 80px);
  max-width: clamp(700px, 55vw, 1062px);
  margin: 0 auto;
}
.cta__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  align-self: center;
  justify-self: end;
}
.cta__title {
  font-size: clamp(32px, 3vw, 58px);
  font-weight: 400;
  color: var(--c-navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.cta__title strong { font-weight: 900; }
.cta__button {
  display: inline-block;
  background: var(--c-green);
  color: #fff;
  font-weight: 900;
  font-size: clamp(15px, 1vw, 18px);
  letter-spacing: 0.02em;
  padding: clamp(14px, 1.2vw, 22px) clamp(28px, 2.5vw, 48px);
  border-radius: 8px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(90, 190, 27, 0.35);
}
.cta__button:hover {
  background: var(--c-green-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(90, 190, 27, 0.45);
}
.cta__sub {
  font-size: clamp(14px, 0.95vw, 18px);
  color: var(--c-text-soft);
  line-height: 1.55;
}
.cta__woman {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: calc(-1 * clamp(35px, 4.5vw, 65px) - var(--footer-h));
  position: relative;
  z-index: 3;
  will-change: transform, opacity;
}
.cta__woman img {
  height: clamp(360px, 40vw, 778px);
  width: auto;
}

/* ===========================================================
   7. RODAPÉ
   =========================================================== */
.footer {
  background: var(--c-navy-deep);
  height: var(--footer-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer .container {
  width: 100%;
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer__logo {
  height: clamp(36px, 3.5vw, 64px);
  width: auto;
  filter: brightness(1.05);
}

/* ===========================================================
   ANIMAÇÃO HELPERS (estado inicial pra GSAP)
   =========================================================== */
.js-anim         { opacity: 0; }
.js-anim-up      { opacity: 0; transform: translateY(40px); }
.js-anim-right   { opacity: 0; transform: translateX(40px); }
.js-anim-left    { opacity: 0; transform: translateX(-40px); }
.js-anim-scale   { opacity: 0; transform: scale(0.85); }

/* ===========================================================
   RESPONSIVO
   =========================================================== */
@media (max-width: 900px) {
  .impact__grid,
  .cards__grid,
  .cta__grid,
  .integration__split {
    grid-template-columns: 1fr;
  }
  .impact__title {
    text-align: center;
    justify-self: auto;
    max-width: none;
  }
  .impact__body {
    justify-self: auto;
    max-width: none;
    align-items: center;
    text-align: center;
  }
  .stat,
  .stat--reverse,
  .stat--blue,
  .stat--green-bright {
    grid-template-columns: 1fr;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }
  .stat--reverse .stat__text { order: 0; text-align: center; }
  .stat--reverse .stat__illu { order: 0; }
  .stat__text { align-items: center; }
  .stat__desc { margin: 0 auto; }
  .stat__illu { margin: 0 auto; }
  .integration__half {
    padding-left: clamp(24px, 6vw, 40px);
    padding-right: clamp(24px, 6vw, 40px);
  }
  .integration__half--green .integration__content { margin-left: 0; }
  .integration__content {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .integration__label,
  .integration__desc {
    text-align: center;
  }
  .integration__desc { margin-left: auto; margin-right: auto; }
  .cta__text {
    align-items: center;
    text-align: center;
    margin-bottom: clamp(32px, 6vw, 50px);
    justify-self: stretch;
    align-self: auto;
  }
  .cta__woman {
    justify-content: flex-end;
    padding-right: 0;
  }
  .cta__woman img {
    height: clamp(260px, 50vw, 400px);
  }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero {
    min-height: 0;
    align-items: stretch;
  }
  .hero__person {
    width: 100%;
  }
  .hero__person img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .impact__logo { height: 36px; }
}

/* ===========================================================
   ACESSIBILIDADE: prefers-reduced-motion
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim, .js-anim-up, .js-anim-right, .js-anim-left, .js-anim-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
