/* ==================== Imports ==================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=STIX+Two+Text:ital,wght@0,400..700;1,400..700&display=swap');

/* ==================== Variáveis Globais ==================== */
:root {
  --nav-h: 64px;
}

/* ==================== Base / Reset ==================== */
body {
  margin: 0;
  background: linear-gradient(100deg, #0A113D, #6e92c4);
  color: #fff;
  min-height: 300vh;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  padding-bottom: 0 !important;
}

a {
  color: #FF4C09;
  font-weight: 600;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  transform: scale(1.04);
  transition: .3s;
}

strong {
  font-weight: 700;
  color: #fff8f5;
}

/* ==================== Navegação (Sticky) ==================== */
.nav-sticky {
  position: sticky;
  top: 0;
  height: calc(var(--nav-h) + 10px);
  background: transparent;
  color: #111;
  padding: 12px 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: .4s ease-in;
}

.nav-sticky.scrolled {
  background: linear-gradient(100deg, #0A113D, #6e92c4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: 0.7s;
  height: var(--nav-h);
}

.nav-sticky > a > .bi-whatsapp {
  font-size: 40px;
  color: #3de65c;
  transition: .2s;
}

.nav-sticky > a > .bi-whatsapp:hover {
  font-size: 40px;
  transform: scale(1.04);
  color: #60e778;
  transition: .2s;
}

.nav-sticky > a > img,
.nav-sticky > a > i {
  height: 60px;
}

.nav-sticky > a:first-child { margin-right: auto; }
.nav-sticky > a:last-child { margin-left: auto; }

.href-nav-group {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

/* ==================== Hero 3D ==================== */
.hero-3d {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  position: relative;
}

.hero-3d > canvas.obj3d {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: calc(100dvh - var(--nav-h));
  object-fit: cover;
  pointer-events: none;
  background: transparent;
  z-index: 10;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  max-width: 900px;
  padding: 20px;
  z-index: 20;
  margin-right: 10vw;
  margin-bottom: 90px;
}

.hero-copy p{
  text-indent: 20px;
}

/* ==================== Seção de Métricas ==================== */
/* ==================== Seção de Métricas ==================== */
.container-metrics-section {
  background: #050920;
  display: grid;
  grid-template-columns: minmax(450px, 40%) 1fr; /* Texto | Canvas */
  grid-template-rows: auto auto; /* linha extra pro slider */
  gap: 24px;
  align-items: center;
  padding: 70px 70px;
  width: 100%;
  margin: 50px auto 0;
}

/* texto à esquerda */
.container-metrics-copy {
  grid-column: 1;
  grid-row: 1 / span 2; /* ocupa as duas linhas */
  margin-left: 10vw;
  width: 30vw;
}

/* ==================== Canvas ==================== */

canvas.obj3d-2 {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 50vh;
  display: block;
  pointer-events: none;
  background: transparent;
}

canvas.obj3d {
  width: 100%;
  height: 100dvh;
  display: block;
  pointer-events: none;
  background: transparent;
  z-index: 10;
}

/* ==================== Cards / Applications ==================== */

.applications {
  display: flex;
  height: 100px;
  justify-content: space-around;
  align-items: center;
  background: transparent;
  transition: .2s;
}

.applications:hover { transform: scale(1.06); transition: .2s; }

.card-applications { transition: .2s; }
.card-applications:hover { transform: scale(1.04); transition: .2s; }

.applications > div { text-align: start; width: 70%; }
.applications > i { margin-top: 15px; align-self: center; width: 10%; }

/* ==================== Divisores ==================== */
.division-line {
  width: 1px;
  height: 100%;
  background: #FF4C09;
}

#division-line-hr {
  margin: 0 9vw;
  color: #FF4C09;
  opacity: 100%;
  border-radius: 20px;
  border: 2px solid #FF4C09;
}

/* ==================== Seção de Vantagens ==================== */
.advantages-section {
  background: #050920;
  align-items: center;
  padding: 0 70px;
  width: 100%;
  margin: auto;
}

.card-compare{
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgba(0,0,0,0.2) !important;
  transition: .5s;
}

.card-compare:hover {
  transform: scale(1.04);
  transition: .5s;
}

.compare-cards h5{
  color: #ff4c09;
  margin-bottom: 0 !important;
}

.compare-cards{
  display: flex;
  justify-content: center;
  align-items: center;
}

.compare-cards ul{
  color: #212529;
}

.compare-correct{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-correct i{
  font-size: 30px;
  color: #08b417;
}


.card-advantages,
.card-advantages div { transition: .5s; }

.card-advantages:hover { transform: scale(1.05); transition: .5s; }

.card-advantages:hover div { transform: scale(0.85); transition: .5s; }

.advantages-section > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantages-section > ul > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.advantages-section > ul > li::before {
  font-family: "bootstrap-icons";
  content: "\F4FE";
  position: absolute;
  left: 0;
  top: 0;
  color: #FF4C09;
  font-size: 18px;
  font-weight: normal;
}

.container { margin-bottom: 5vh; }

/* ==================== Formulários ==================== */
#contato_email:focus,
#contato_mensagem:focus {
  border: 1px solid #FF4C09;
  outline: none;
  box-shadow: 1px 1px 5px #FF4C09;
}

#contato_email,
#contato_mensagem {
  border: 1px solid #eeeeee;
}

/* ==================== Nav Mobile (Hambúrguer) ==================== */
.nav-sticky .nav-inner {
  height: var(--nav-h, 64px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-sticky .brand img {
  height: 48px;
  display: block;
}

.nav-sticky .nav-phone {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #FF4C09;
  cursor: pointer;
  position: relative;
  transition: 1s;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s, top .25s;
}

.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ==================== Painel Mobile ==================== */
#mobile-menu,
.mobile-panel,
.mobile-drawer {
  position: absolute;
  right: 0;
  top: var(--nav-h, 64px);
  background: #050920;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
  width: 30vw;
}

#mobile-menu[data-open="true"],
.mobile-panel[data-open="true"],
.mobile-drawer[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  margin-top: 0;
  transition: .5s;
}

.mobile-list,
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.mobile-list a,
.mobile-drawer__nav a {
  color: #FF4C09;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .4px;
  margin-top: 30px;
}

/* ==================== Utilitários ==================== */
.text-orange { color: #FF4C09; }

.btn-orange {
  background: #FF4C09;
  color: #fff;
  border: none;
  transition: .3s;
}

.btn-orange:hover {
  background: #fff;
  color: #FF4C09;
  transition: .3s;
}

.btn-dark {
  background: #0A113D;
  color: #fff;
  border: none;
  transition: .3s;
}

.btn-dark:hover {
  background: #0A113D;
  color: #FF4C09;
  transition: .3s;
}


/* ==================== Rodapé ==================== */
.site-footer {
  background: #050920;
  color: #e6edf3;
  margin-top: auto; /* gruda no final */
  padding: 2rem 0;
}

.site-footer .text-muted { color: #e6edf3 !important; }
.site-footer h5 { color: #fff; }

.footer-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: #ff4c09; }

/* ==================== Comportamento de Scroll ==================== */
section { scroll-margin-top: var(--nav-h); }

/* ==================== Fallbacks de Altura ==================== */
@supports not (height: 100dvh) {
  .hero-3d { height: calc(100vh - var(--nav-h)); }
  canvas.obj3d { height: 100vh; }
}

/* ==================== Breakpoint ≤ 1280px ==================== */
@media (max-width: 1280px) {
  .href-nav-group { display: none; }
  .nav-toggle { display: inline-block; margin-left: 20px; }

  .container-metrics-section {
    grid-template-columns: 1fr;
    padding: 50px 50px;
    justify-items: center;
  }

  .container-metrics-copy {
    margin: 80px 0 0 0;
    width: clamp(320px, 65vw, 50%);
    justify-self: center;
    text-align: center;
  }

  canvas.obj3d-2 {
    width: min(100%, 900px);
    scale: 0.9;
    height: 55vh;
    margin-bottom: 40px;
  }

  .hero-copy {
    top: 5%;
    right: 16px;
    padding: 40px;
    transform: translateY(0);
  }
}

/* ==================== Breakpoint ≤ 980px ==================== */
@media (max-width: 980px) {

  .href-nav-group {
    gap: 12px;
    white-space: normal;
  }

  .hero-3d {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    text-align: center;
    max-width: none;
    font-size: 2.5vw;
    margin-bottom: 0;
    margin-right: 0;
  }

  .hero-3d > canvas.obj3d {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    top: -50px;
    height: 55vh;
  }

  .row { flex-direction: column; }

  .card-applications { width: 80vw;  margin-left: 15%;}

  .container-metrics-section {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }

  .container-metrics-copy {
    margin: 0;
    font-size: 1em !important ;
    width: clamp(320px, 90vw, 800px);
    text-align: center;
  }

  canvas.obj3d-2 {
    width: min(100%, 980px);
    height: 55vh;
    margin: 20px 0;
  }

  .slider-wrapper {
    margin-left: 25%;
    margin-top: 10px;
  }
  
}

/* ==================== Breakpoint ≤ 767px ==================== */
@media (max-width: 767px) {
  .row { flex-direction: row; }

  .card-applications { width: inherit;  margin-left: 0;}

  .container-metrics-copy {
    font-size: 0.7em;
  }

  .container-metrics-copy h1{
    width: auto;
    font-size: 3em;
  }

  .text-muted { font-size: 0.7em !important; }

  /* .nav-sticky { 
    position: sticky;
    top: 0;
    height: calc(var(--nav-h) + 10px);
    background: transparent;
    color: #111;
    padding: 12px 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: .4s ease-in;
  }

  .hero-3d {
    height: calc(93vh - var(--nav-h));
  } */

  .slider-wrapper {
    margin-left: 15%
  }
}

/* ====== Container do slider ====== */
.slider-wrapper {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: start;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* ====== Slider principal ====== */
#epsRange {
  width: clamp(260px, 45vw, 520px);
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff7300 0%, #ffa200 100%);
  outline: none;
  transition: background 0.3s ease;
}

/* trilha */
#epsRange::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 10px;
  background: #FF4C09;
  box-shadow: 0 0 0 2px #FF4C09;
}
#epsRange::-moz-range-track {
  height: 8px;
  border-radius: 10px;
  background: #FF4C09;
}

/* bolinha (thumb) */
#epsRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FF4C09;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px #FF4C09;
  cursor: pointer;
  margin-top: -10px;
  transition: 0.3s ease;
}
#epsRange::-webkit-slider-thumb {
  transition: transform 0.15s ease;
}
#epsRange:active::-webkit-slider-thumb {
  transform: scale(1.2);
}
#epsRange::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FF4C09;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px #FF4C09;
  cursor: pointer;
}

/* ====== Labels abaixo ====== */
.range-labels {
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  width: clamp(260px, calc(45vw + 10px), 520px);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  opacity: 0.85;
  pointer-events: none;
}
.range-labels span {
  text-align: center;
}



/* ==================== Breakpoint ≤ 700px ==================== */
@media (max-width: 700px) {
  .hero-copy { font-size: 3.3vw; }

  #mobile-menu,
  .mobile-panel,
  .mobile-drawer {
    display: flex;
    width: 100vw;
    justify-content: center;
  }

  .mobile-drawer__nav {
    width: 70%;
    height: 100vh;
    text-align: center;
  }

  .mobile-drawer__nav a:hover {
    background: #2c2c2c;
    padding: 10px;
    border-radius: 10px;
  }

}

.scroll-down-indicator {
  position: absolute;
  bottom: 15vh; /* altura acima do CTA */
  left: 10%;
  transform: translateX(-50%);
  display: none; /* escondido por padrão */
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 50;
}

.scroll-down-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  animation: scrollIndicator 1.5s infinite;
  opacity: 0.7;
}

.scroll-down-indicator span:nth-child(2) {
  animation-delay: .2s;
}
.scroll-down-indicator span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes scrollIndicator {
  0%   { opacity: 0; transform: rotate(45deg) translate(-5px,-5px); }
  50%  { opacity: 1; transform: rotate(45deg) translate(0,0); }
  100% { opacity: 0; transform: rotate(45deg) translate(5px,5px); }
}

/* Só exibe em mobile */
@media (max-width: 767px) {
  .scroll-down-indicator { display: flex; }
}

