/* ==========================================================================
   1. IMPORTAÇÃO DA FONTE VISBY CF
   ========================================================================== */
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-ThinOblique.otf') format('opentype'); font-weight: 100; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-LightOblique.otf') format('opentype'); font-weight: 300; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-RegularOblique.otf') format('opentype'); font-weight: 400; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-MediumOblique.otf') format('opentype'); font-weight: 500; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-DemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-DemiBoldOblique.otf') format('opentype'); font-weight: 600; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-BoldOblique.otf') format('opentype'); font-weight: 700; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-ExtraBoldOblique.otf') format('opentype'); font-weight: 800; font-style: oblique; }

@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-Heavy.otf') format('opentype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Visby'; src: url('./fontes/VisbyCF-HeavyOblique.otf') format('opentype'); font-weight: 900; font-style: oblique; }

/* ============= ABOUT ============= */
.about {
  position: relative;
  background: var(--white);
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

@media (min-width: 768px) { 
  .about { 
    padding-top: 100px;
    padding-bottom: 0; 
  } 
}

.about__watermark {
  display: none;
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateX(-50%);
  font-size: 120px;
  font-weight: 800;
  color: rgba(20, 31, 53, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
@media (min-width: 1400px) { 
  .about__watermark { display: block; } 
}
@media (min-width: 768px) { .about__watermark { font-size: 200px; } }
@media (min-width: 1280px) { .about__watermark { font-size: 357px; } }

.about__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about__columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: flex-end;
  width: 100%;
}
@media (min-width: 1400px) {
  .about__columns-grid { 
    grid-template-columns: 1.3fr 0.7fr; 
    gap: 64px; 
    align-items: center;
  }
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}

@media (min-width: 768px) { .about__text { font-size: 18px; } }
@media (min-width: 1280px) { .about__text { font-size: 18px; } }

.about__media img {
  width: 100%;
  aspect-ratio: 614 / 900;
  object-fit: contain;
  object-position: bottom;
}

/* --- CSS EXCLUSIVO DO CARROSSEL DE LOGOS --- */
.about__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  width: 100%;
  margin-bottom: 32px;
}

.about__logos-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}

.about__logos-title strong {
  font-weight: 700;
  color: var(--navy);
}

.about__carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.about__carousel::before,
.about__carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
}
.about__carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0));
}
.about__carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0));
}

.about__carousel-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: logo-scroll-static 30s linear infinite;
}
.about__carousel-track:hover {
  animation-play-state: paused;
}

@keyframes logo-scroll-js {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--scroll-distance))); }
}

@keyframes logo-scroll-static {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1800px); }
}

.about__carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px; 
  flex-shrink: 0;
}

.about__carousel-item img {
  max-height: 32px;
  width: auto;
  aspect-ratio: auto; 
}




/* ============= VARIABLES & RESET ============= */
:root {
  --navy: #141f35;
  --teal: #26A7A3;
  --muted: #b7b7b7;
  --white: #F7F7F7;
  --font: "Visby", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-pad: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container-xl {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

@media (min-width: 768px) {
  :root { --container-pad: 48px; }
}
@media (min-width: 1280px) {
  :root { --container-pad: 120px; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 32px 10px 32px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: filter 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  width: fit-content;
}
@media (min-width: 768px) {
  .btn { padding: 16px 44px 14px 44px; font-size: 22px; }
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn--primary { 
  background: var(--teal); 
  color: var(--white); 
  border: none;
}
.btn__icon { width: 26px; height: 26px; }

.btn--primary { background: var(--teal); color: var(--white); }

/* ADICIONE ESTAS DUAS LINHAS: */
.btn--secondary { background: transparent; color: var(--white); }
.btn--secondary:hover { background: rgba(255, 255, 255, 0.1); }


/* ============= TAGS ============= */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  padding-bottom: 8px;;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.tag--dark { background: var(--navy); color: var(--white); }
.tag--light {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ============= SECTION HEAD ============= */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.section-head--center { align-items: center; text-align: center; }
.section-head__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}
@media (min-width: 768px) { .section-head__title { font-size: 44px; } }
@media (min-width: 1280px) { .section-head__title { font-size:48px; } }
.section-head__title--dark { color: var(--navy); }
.section-head__title--light { color: var(--white); }

/* ============= NAVBAR ============= */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  background: var(--teal);
  z-index: 20;
}
@media (min-width: 768px) { .navbar { height: 100px; } }
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .navbar__logo img { height:48px; } }
.navbar__links {
  display: none;
  gap: 40px;
}
.navbar__links a {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
/* 1. Regra exclusiva para o tamanho da fonte em 1280px */
@media (min-width: 1280px) { 
  .navbar__links a { 
    font-size: 18px; 
  } 
} /* ← GARANTA QUE ESSA CHAVE ESTEJA FECHANDO AQUI! */

.navbar__links a:hover { 
  opacity: 0.8; 
}

/* 2. Regra para fazer o menu aparecer a partir de 768px */
@media (min-width: 768px) { 
  .navbar__links { 
    display: flex; 
  } 
}

/* Mobile toggle */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
@media (min-width: 768px) { .navbar__toggle { display: none; } }
.navbar__links.is-open {
  display: flex;
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 16px;
  background: var(--teal);
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============= HERO ============= */
.hero {
  position: relative;
  /* Substitua o background atual por este: */
  background: linear-gradient(to bottom, var(--navy) 0%, #2a3b5d 100%);
  padding-top: 88px;
  padding-bottom: 64px;
  overflow: hidden;
}

@media (min-width: 768px) { .hero { padding-top: 80px; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap; /* Faz os botões empilharem no celular se a tela for muito pequena */
  gap: 16px;
  align-self: flex-start; /* Mantém os botões abraçando o conteúdo (hug) à esquerda */
}

@media (max-width: 480px) {
  .hero__actions {
    width: 100%; /* Garante que o container pegue todo o espaço da hero */
    flex-direction: column; /* Força os botões a ficarem um embaixo do outro */
  }
  
  .hero__actions .btn {
    width: 100%; /* Faz o botão esticar de ponta a ponta */
  }
}

.hero__glow {
  position: absolute;
  right: -20%;
  top: 5%;
  width: 80%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(80, 180, 180, 0.35), rgba(20, 31, 53, 0) 70%);
  pointer-events: none;
}

.hero__text {
  display: flex;          /* Transforma a div em um container flexível */
  flex-direction: column;  
  gap: 8px;               
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding-top: 120px;
  padding-bottom: 0;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
  align-self: center;
}

.hero__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
}

.hero__title span {
 color: var(--teal)
}

@media (min-width: 768px) { .hero__title { font-size: 44px; } }
@media (min-width: 1280px) { .hero__title { font-size: 44px; } }

.hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 768px) { .hero__subtitle { font-size: 22px; } }
@media (min-width: 1280px) { .hero__subtitle { font-size: 22px; } }

.hero__media {
  position: relative;
  flex: 1.2;
  width: 100%;
}

.hero__photo {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.badge {
  position: absolute;
  display: none;
  align-items: center;
  padding: 12px 20px;
  padding-bottom: 12px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 768px) { .badge { display: flex; font-size: 18px; } }
.badge--left { left: -12%; top: 35%; }
.badge--right { right: -15%; top: 40%; }

/* ESTE É O BLOCO FINAL DO SEU ARQUIVO: */
@media (min-width: 1400px) {
  .hero__inner {
    flex-direction: row;
    gap: 0px;
    padding-top: 120px;
    padding-bottom: 0;
    align-items: center;
  }

  /* É AQUI QUE VOCÊ COLOCA: */
  .hero__content {
    margin-bottom: 100px; /* Troque esse 80px pelo número exato que você testou no Inspecionar! */
  }

  .hero__photo {
    transform: translateX(8%); 
  }
}

/* ============= ABOUT ============= */
.about {
  position: relative;
  background: var(--white);
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}
@media (min-width: 768px) { 
  .about { 
    padding-top: 120px;
    padding-bottom: 0; 
  } 
}

.about__watermark {
  display: none; /* ← Adicione esta linha */
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateX(-50%);
  font-size: 120px;
  font-weight: 800;
  color: rgba(20, 31, 53, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 1400px) { 
  .about__watermark { 
    display: block; /* Faz o texto voltar a aparecer */
  } 
}
@media (min-width: 768px) { .about__watermark { font-size: 200px; } }
@media (min-width: 1280px) { .about__watermark { font-size: 357px; } }

/* 1. Transformamos o inner em coluna para empilhar o carrossel e o conteúdo */
.about__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* 2. Suas regras antigas do inner vêm para cá, na nova div: */
.about__columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: flex-end;
  width: 100%;
}

@media (min-width: 1400px) {
  .about__columns-grid { 
    grid-template-columns: 1.3fr 0.7fr; 
    gap: 64px; 
    align-items: center;
  }
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}
@media (min-width: 768px) { .about__text { font-size: 18px; } }
@media (min-width: 1280px) { .about__text { font-size: 18px; } }

.about__media img {
  width: 100%;
  aspect-ratio: 614 / 900;
  object-fit: contain;
  object-position: bottom;
}


/* ============= SOLUTIONS ============= */
.solutions {
  background: var(--navy);
  padding: 80px 0;
  overflow: hidden;
}
@media (min-width: 768px) { .solutions { padding: 120px 0; } }

.solutions__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
}
@media (min-width: 820px) { .solutions__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1400px) { .solutions__grid { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid var(--teal);
  transition: transform 0.2s ease, background 0.2s ease;
}
.card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__icon img { width: 22px; height: 22px; }
.card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}
@media (min-width: 1024px) { .card__title { font-size: 32px; } }
.card__body {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}
@media (min-width: 1024px) { .card__body { font-size: 20px; } }

/* ============= METHOD ============= */
.method {
  background: var(--white);
  padding: 80px 0;
}
@media (min-width: 768px) { .method { padding: 100px 0; } }

.method__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.method__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 768px) { .method__steps { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1120px) {
  .method__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 32px;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .step__divider { display: block; min-width: 40px; }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.step__icon {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 100px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.step__number {
  position: absolute;
  bottom: -10px;
  left: 55%;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  background: var(--teal);
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 1024px) { .step__title { font-size: 32px; } }
.step__desc {
  font-size: 16px;
  color: rgba(20, 31, 53, 0.8);
}
@media (min-width: 1024px) { .step__desc { font-size: 18px; } }

.step__divider {
  display: none;
  height: 1px;
  background: var(--navy);
  align-self: center;
  width: 100%;
}
@media (min-width: 1120px) {
  .step__divider { 
    display: block; 
    min-width: 40px; 
  }
}

/* ============= CTA ============= */
.cta {
  background: var(--white);
  padding: 64px 0;
}
@media (min-width: 768px) { .cta { padding: 120px 0; } }

.cta__card {
  background: var(--navy);
  border-radius: 40px;
  padding: 48px 32px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .cta__card { flex-direction: row; justify-content: space-between; padding: 60px 64px; }
}
@media (min-width: 1024px) { .cta__card { padding: 100px; } }

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%; 
}

@media (max-width: 480px) {
  .cta__content .btn {
    width: 100%; /* Estica o botão de ponta a ponta no celular */
  }
}

.cta__title {
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
}

.cta__text {
  display: flex;           
  flex-direction: column;  
  gap: 8px;               
}

@media (min-width: 768px) { .cta__title { font-size: 44px; } }
@media (min-width: 1280px) { .cta__title { font-size:44px; } }

.cta__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 1280px) { .cta__subtitle { font-size: 24px; } }

@media (max-width: 819px) {
  .cta__media {
    display: none;
  }
}

.cta__media {
  flex-shrink: 0;
  width: 140px;
  height: 180px;
}
@media (min-width: 768px) {
  .cta__media { width: 188px; height: 250px; }
}

.cta__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============= FOOTER ============= */
.footer {
  background: var(--teal);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--white);
}
.footer__channels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .footer__channels { flex-direction: row; gap: 24px; }
}
.footer__channels a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
@media (min-width: 768px) { .footer__channels a { font-size: 22px; } }
.footer__channels a:hover { opacity: 0.8; }
.footer__channels img { width: 22px; height: 22px; }
.footer__copy {
  font-size: 16px;
  font-weight: 500;

  opacity: 1 !important;
  transform: none !important;
}
@media (min-width: 768px) { .footer__copy { font-size: 20px; } }

/* ============= REVEAL ON SCROLL ============= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

