﻿/* ==============================
   HERO COM VÃDEO
============================== */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      90deg,
      rgba(0, 38, 58, 0.82) 0%,
      rgba(0, 38, 58, 0.64) 34%,
      rgba(0, 38, 58, 0.34) 62%,
      rgba(0, 38, 58, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 38, 58, 0.22) 0%,
      rgba(0, 38, 58, 0.04) 42%,
      rgba(0, 38, 58, 0.36) 100%
    );

  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-video.is-active {
  z-index: 2;
  opacity: 1;
}

.hero-container {
  position: relative;
  z-index: 4;

  min-height: 100vh;

  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  padding-top: 56px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;

  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(240, 240, 240, 0.82);
}

.hero-content h1 {
  max-width: 680px;
  margin-bottom: 22px;

  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;

  color: var(--color-off);
}

.hero-content p {
  max-width: 560px;

  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.45;

  color: rgba(240, 240, 240, 0.9);
}

/* ==============================
   INTRO + DIFERENCIAIS
============================== */

.intro-diferenciais {
  scroll-margin-top: 60px;
  padding: 80px 0;
  background-color: var(--color-white);
}

.intro-content {
  max-width: 760px;
  margin-bottom: 72px;
}

.intro-content h2,
.diferenciais-content > h2 {
  margin-bottom: 10px;

  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;

  color: var(--color-text);
}

.diferenciais-content > .section-line-horizontal {
  margin-bottom: 28px;
}

.intro-content p {
  max-width: 720px;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--color-text);
}

.diferenciais-content {
  text-align: center;
}

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

.diferencial-card {
  min-height: 180px;
  padding: 24px;

  text-align: left;
  color: var(--color-white);

  border-radius: 12px;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.diferencial-card:hover,
.diferencial-card.is-visible:hover {
  transform: translateY(-6px) scale(1);
  box-shadow: 0 18px 36px rgba(7, 26, 40, 0.22);
}

.diferencial-card-title {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 16px;
}

.diferencial-card-title h4 {
  margin: 0;

  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;

  color: var(--color-white);
}

.diferencial-card p {
  margin: 0;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;

  color: rgba(255, 255, 255, 0.86);
}

.diferencial-icon {
  display: inline-block;
  flex: 0 0 auto;

  width: 14px;
  height: 14px;

  background-color: var(--color-secondary);
}

.diferencial-icon-circle {
  border-radius: 50%;
}

/* ==============================
   RECONHECIMENTOS + EQUIPE
============================== */

.reconhecimentos-equipe {
  padding: 80px 0;
  overflow:hidden;
  background-color: #eeeeee;
}

.reconhecimentos {
  margin: 20px 0 100px;
  text-align: center;
}

.reconhecimentos h2 {
  margin-bottom: 36px;

  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;

  color: #8f969c;
}

.premios-carousel {
  width: 100%;
  max-width: 100%;
  margin: -18px auto;
  padding: 18px 0;
  overflow: hidden;
}

.premios-track {
  display: flex;
  align-items: center;
  gap: 96px;

  width: max-content;

  animation: premiosMove 34s linear infinite;
}

.premios-carousel:hover .premios-track {
  animation-play-state: paused;
}

.premio-card {
  position: relative;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;
}

.premio-card img {
  max-width: 180px;
  max-height: 120px;

  object-fit: contain;
  filter: grayscale(0.2);

  transition:
    transform var(--transition),
    filter var(--transition);
}

.premio-card:hover img {
  position: relative;
  z-index: 2;
  transform: scale(1.08);
  filter: grayscale(0);
}


@keyframes premiosMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.equipe-chamada {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.equipe-image img {
  width: 100%;
  height: 310px;

  object-fit: cover;
  object-position: center;

  border-radius: 12px;
}

.equipe-content h2 {
  margin-bottom: 10px;

  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;

  color: var(--color-text);
}

.equipe-content p {
  max-width: 560px;
  margin-bottom: 30px;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--color-text);
}

/* ==============================
   TECNOLOGIA + ACORDOS
============================== */

.tecnologia-acordos {
  padding: 60px 0;
  background-color: var(--color-white);
}

.tecnologia-acordos-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 72px;
}

.tecnologia-acordos-content {
  display: flex;
  flex-direction: column;
}

.text-block h2 {
  margin-bottom: 24px;

  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;

  color: var(--color-text);
}

.text-block p {
  max-width: 100vw;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--color-text);
}

.tecnologia-acordos-image {
  width: 100%;
}

.tecnologia-acordos-image img {
  width: 100%;
  height: 520px;

  object-fit: cover;
  object-position: center;

  border-radius: 12px;
}

/* ==============================
   MÃ‰TODOS + CONTENCIOSO
============================== */

.metodos {
  padding: 60px 0;
  background-color: var(--color-white);
}

.metodos-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3px minmax(0, 1fr);
  align-items: stretch;
  gap: 48px;
}

.metodos .section-line-vertical {
  justify-self: center;
}

.metodos .text-block {
  width: 100%;
}

.metodos .text-block h2 {
  margin-bottom: 24px;

  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;

  color: var(--color-text);
}

.metodos .text-block p {
  max-width: none;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--color-text);
}

/* ==============================
   INFORMATIVOS HOME
============================== */

.informativos-home {
  padding: 80px 0 120px;
  background-color: #ececea;
}

.informativos-home-container {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 72px;
}

.informativos-home-image img {
  width: 100%;
  height: 260px;

  object-fit: cover;
  object-position: center;

  border-radius: 12px;
}

.informativos-home-content h2 {
  margin-bottom: 10px;

  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;

  color: var(--color-text);
}

.informativos-home-content p {
  max-width: 560px;
  margin-bottom: 28px;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: var(--color-text);
}

/* ==============================
   RESPONSIVO - HOME
============================== */

@media (max-width: 900px) {
  .hero,
  .hero-container {
    min-height: 100svh;
  }

  .hero-container {
    align-items: center;
  }

  .hero-content {
    max-width: 560px;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .hero-media::before {
    background:
      linear-gradient(
        180deg,
        rgba(0, 38, 58, 0.36) 0%,
        rgba(0, 38, 58, 0.48) 42%,
        rgba(0, 38, 58, 0.86) 100%
      );
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.1em;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1;
  }

  .hero-content p {
    max-width: 430px;
    font-size: 16px;
    line-height: 1.45;
  }

  .intro-diferenciais,
  .reconhecimentos-equipe,
  .tecnologia-acordos,
  .metodos,
  .informativos-home {
    padding: 56px 0 64px;
  }

  .intro-content {
    margin-bottom: 56px;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .diferencial-card {
    min-height: auto;
  }

  .equipe-chamada,
  .tecnologia-acordos-container,
  .informativos-home-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .metodos-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .equipe-image img,
  .informativos-home-image img {
    height: 300px;
  }

  .tecnologia-acordos-image img {
    height: 360px;
  }

  .premios-track {
    gap: 56px;
  }
}

@media (max-width: 560px) {
  .hero-container {
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 64px;
    padding-bottom: 0;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
    font-size: 10.5px;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }

  .hero-content h1 {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1;
  }

  .hero-content p {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-diferenciais,
  .reconhecimentos-equipe,
  .tecnologia-acordos,
  .metodos,
  .informativos-home {
    padding: 48px 0 56px;
  }

  .intro-content h2,
  .diferenciais-content > h2,
  .equipe-content h2,
  .text-block h2,
  .metodos .text-block h2,
  .informativos-home-content h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .intro-content p,
  .diferencial-card p,
  .equipe-content p,
  .text-block p,
  .metodos .text-block p,
  .informativos-home-content p {
    font-size: 15px;
  }

  .diferencial-card {
    padding: 20px;
  }

  .diferencial-card-title h4 {
    font-size: 18px;
  }

  .reconhecimentos {
    margin: 0 0 56px;
  }

  .premios-track {
    gap: 34px;
    animation-duration: 24s;
  }

  .premio-card img {
    max-width: 130px;
    max-height: 80px;
  }

  .equipe-image img {
    height: 240px;
  }

  .tecnologia-acordos-image img {
    height: 280px;
  }

  .informativos-home-image img {
    height: 220px;
  }
}

@media (max-width: 430px) {
  .hero-content {
    padding-top: 56px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    max-width: 300px;
    font-size: 14.5px;
  }
}

/* ==============================
   RESPONSIVO FINAL - HERO HOME
============================== */

@media (max-width: 560px) {
  .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-content h1,
  .hero-content p,
  .hero-eyebrow {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}
