:root {
  --black: #0f0f10;
  --orange: #ff8304;
  --green: #8ecd00;
  --soft: #f7f8f5;
  --graphite: #1c1d20;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Nova Barra Superior (Tons CMYK adaptados sem o Azul/Ciano) */
.cmyk-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--orange) 0%, #EC008C 33%, #FFF200 66%, var(--green) 100%);
  background-size: 200% 100%;
  animation: shiftBar 8s linear infinite;
}

@keyframes shiftBar {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.loader-noise {
  background-image: radial-gradient(rgba(255,255,255,.08) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
}

.loader-bar {
  background: linear-gradient(90deg, var(--orange), #f5d547, var(--green));
  animation: loaderMove 1.8s ease-in-out infinite;
}

@keyframes loaderMove {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(350%); }
}

.rotate-slow {
  animation: rotateSlow 6s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.nav-link,
.mobile-link {
  position: relative;
  transition: .25s ease;
}

.nav-link::after,
.mobile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  transition: width .25s ease;
}

.nav-link:hover,
.mobile-link:hover {
  color: var(--orange);
}

.nav-link:hover::after,
.mobile-link:hover::after {
  width: 100%;
}

.hero-frame {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,131,4,.4), rgba(142,205,0,.22), rgba(255,255,255,.4));
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 42px;
  background: radial-gradient(circle at top left, rgba(255,131,4,.18), transparent 30%), radial-gradient(circle at bottom right, rgba(142,205,0,.22), transparent 30%);
  filter: blur(24px);
  z-index: -1;
}

.hero-slider {
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s ease, transform 1.2s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.58));
}

.slide-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 80px;
  z-index: 3;
  color: white;
}

.slide-overlay h3 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  max-width: 520px;
  letter-spacing: -0.04em;
}

.slide-kicker {
  display: inline-flex;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.slide-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  color: white;
  backdrop-filter: blur(10px);
  transition: .25s ease;
}

.slide-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.22);
}

.slide-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 0;
  transition: .25s ease;
}

.slide-dot.active {
  width: 30px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -0.05em;
}

.section-copy {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(28,29,32,.76);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Service Cards com Mockups Reais */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #fdfdfd);
  border: 1px solid rgba(15,15,16,.06);
  box-shadow: 0 18px 40px rgba(15,15,16,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #f4dc3c, var(--green));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(15,15,16,.1);
}

.service-card h3 {
  margin-top: 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card p {
  margin-top: 8px;
  color: rgba(28,29,32,.72);
  line-height: 1.65;
}

/* Testimonials Carousel Card */
.testimonial-card {
  flex: 0 0 85vw;
  scroll-snap-align: center;
  background: #ffffff;
  border: 1px solid rgba(15,15,16,.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 15px 45px rgba(15,15,16,.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 420px;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(255,131,4,.1);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* CORREÇÃO DEFINITIVA DO EFEITO DE CURVA (SEM BARRAS PERDIDAS) */
.section-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* Colado exatamente no fundo da seção */
  height: 130px;
  pointer-events: none;
  background: transparent !important; /* CRUCIAL: O container em si deve ser 100% invisível */
  z-index: 10;
}

.section-wave::before,
.section-wave::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 52%; /* 52% previne frestas ou cortes no meio */
  height: 100%;
}

.section-wave::before {
  left: -2%;
  border-top-right-radius: 100% 100%;
}

.section-wave::after {
  right: -2%;
  border-top-left-radius: 100% 100%;
}

/* Aqui as curvas assumem magicamente a cor do fundo da *PRÓXIMA SEÇÃO* */
.section-wave--hero::before, .section-wave--hero::after { background: #ffffff; } /* Próxima seção: Serviços (Branco) */
.section-wave--services::before, .section-wave--services::after { background: #ffffff; } /* Próxima: Brindes (Branco) */
.section-wave--brindes::before, .section-wave--brindes::after { background: var(--black); } /* Próxima: Essência (Preto) */
.section-wave--quote::before, .section-wave--quote::after { background: #ffffff; } /* Próxima: Depoimentos (Branco) */
.section-wave--depoimentos::before, .section-wave--depoimentos::after { background: #F4F6EF; } /* Próxima: Empresa (#F4F6EF) */
.section-wave--company::before, .section-wave--company::after { background: #ffffff; } /* Próxima: Parque (Branco) */
.section-wave--park::before, .section-wave--park::after { background: #8ECD00; } /* Próxima: Meio Ambiente (Preto) */
.section-wave--eco::before, .section-wave--eco::after { background: #FDF8F2; } /* Próxima: Logística (#FDF8F2) */


.image-stack,
.machine-gallery {
  position: relative;
  min-height: 520px;
}

.stack-main,
.gallery-main {
  width: min(100%, 560px);
  height: 520px;
  object-fit: cover;
  border-radius: 42px;
  box-shadow: 0 24px 60px rgba(15,15,16,.14);
}

.stack-float,
.gallery-float {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 52%;
  height: 230px;
  object-fit: cover;
  border-radius: 30px;
  border: 6px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 40px rgba(15,15,16,.12);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,131,4,.08), rgba(142,205,0,.08));
  border: 1px solid rgba(15,15,16,.06);
  font-weight: 700;
}

.feature-pill::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--green));
  flex: 0 0 auto;
}

.tag-chip {
  display: inline-flex;
  padding: .9rem 1.15rem;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15,15,16,.07);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15,15,16,.05);
}

.logistics-card {
  position: relative;
  border-radius: 36px;
  background: linear-gradient(180deg, #ffffff, #fff6ea);
  padding: 34px;
  box-shadow: 0 24px 60px rgba(15,15,16,.08);
  overflow: hidden;
}

.logistics-line {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(142,205,0,.22), transparent 60%);
}

.logistics-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.logistics-item + .logistics-item {
  margin-top: 24px;
}

.logistics-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange), var(--green));
  color: var(--black);
  font-weight: 900;
}

.logistics-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.logistics-item p {
  margin-top: 6px;
  color: rgba(28,29,32,.72);
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .section-wave,
  .section-wave::before,
  .section-wave::after {
    height: 92px;
  }

  .image-stack,
  .machine-gallery {
    min-height: 420px;
  }

  .stack-main,
  .gallery-main {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .slide-overlay {
    left: 18px;
    right: 18px;
    bottom: 74px;
  }

  .stack-float,
  .gallery-float {
    width: 58%;
    height: 180px;
  }

  .logistics-item {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .logistics-item span {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .section-wave,
  .section-wave::before,
  .section-wave::after {
    height: 70px;
  }

  .stack-main,
  .gallery-main {
    width: 100%;
    height: 320px;
    border-radius: 28px;
  }

  .stack-float,
  .gallery-float {
    right: 12px;
    bottom: -18px;
    width: 56%;
    height: 130px;
    border-radius: 22px;
  }

  .image-stack,
  .machine-gallery {
    min-height: 360px;
  }
}

.header-scrolled .nav-shell {
  background: rgba(15,15,16,.96);
  box-shadow: 0 20px 45px rgba(15,15,16,.18);
}

.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 22px;
  margin-top: 14px;
}

.section-divider::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(15,15,16,.85);
}

.crop-target {
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(15,15,16,.9);
  border-radius: 999px;
  background: #fff;
}

.crop-target::before,
.crop-target::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.crop-target::before {
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(15,15,16,.9);
  background: transparent;
}

.crop-target::after {
  width: 3px;
  height: 3px;
  background: rgba(15,15,16,.9);
}

.service-card-title-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 2px;
  padding: .55rem 1rem;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,131,4,.12), rgba(236,0,140,.08), rgba(255,255,255,.9));
  box-shadow: inset 0 0 0 1px rgba(15,15,16,.05);
}

.service-card-title-wrap::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #ec008c, #fff200);
}

.testimonial-card {
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 15px 45px rgba(15,15,16,.18);
}

.testimonial-card p.text-supreme-graphite,
.testimonial-card p.mt-5 {
  color: rgba(255,255,255,.9) !important;
}

.testimonial-card:hover {
  box-shadow: 0 24px 65px rgba(236,0,140,.15);
}

.logistics-item span {
  background: var(--orange);
  color: white;
}

.fact-ticker {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(.96);
  width: min(920px, calc(100vw - 28px));
  min-height: 120px;
  border-radius: 28px;
  overflow: hidden;
  z-index: 55;
  background: rgba(10,10,11,.94);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 80px rgba(15,15,16,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .45s ease;
}

.fact-ticker.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.fact-ticker__bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .95;
  animation: floatBlob 8s ease-in-out infinite;
}

.fact-ticker__bg--c { width: 190px; height: 190px; background: rgba(0,202,255,.22); top: -70px; left: -10px; }
.fact-ticker__bg--m { width: 220px; height: 220px; background: rgba(236,0,140,.18); right: 10%; top: -85px; animation-delay: -2s; }
.fact-ticker__bg--y { width: 180px; height: 180px; background: rgba(255,242,0,.22); right: -30px; bottom: -70px; animation-delay: -4s; }
.fact-ticker__bg--k { width: 180px; height: 180px; background: rgba(255,131,4,.2); left: 30%; bottom: -90px; animation-delay: -1s; }

.fact-ticker__content {
  position: relative;
  z-index: 2;
  padding: 22px 26px 24px;
}

.fact-ticker__kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.fact-ticker__kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00caff, #ec008c, #fff200, var(--orange));
}

#factTickerText {
  margin-top: 14px;
  color: rgba(255,255,255,.96);
  font-size: clamp(1rem, 1.9vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  max-width: 88%;
}

.fact-ticker__scale {
  position: absolute;
  inset: auto 22px 18px auto;
  width: 180px;
  height: 26px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, #00caff 0%, #ec008c 33%, #fff200 66%, var(--orange) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  animation: pulseScale 1.8s ease-in-out infinite;
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(10px) scale(1.08); }
}

@keyframes pulseScale {
  0%, 100% { transform: scaleX(1); opacity: .9; }
  50% { transform: scaleX(1.04); opacity: 1; }
}

@media (max-width: 768px) {
  .fact-ticker {
    top: 76px;
    min-height: 110px;
  }

  #factTickerText {
    max-width: 100%;
    padding-right: 0;
  }

  .fact-ticker__scale {
    position: relative;
    inset: auto;
    margin: 16px 0 0;
    width: 100%;
  }
}


.brindes-showcase {
  position: relative;
  min-height: 520px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255,131,4,.28), transparent 28%),
    radial-gradient(circle at top right, rgba(236,0,140,.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(142,205,0,.22), transparent 32%),
    linear-gradient(135deg, #0f0f10 0%, #1a1b1e 45%, #111214 100%);
  box-shadow: 0 24px 70px rgba(15,15,16,.16);
}

.brindes-showcase::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 48px);
}

.brindes-showcase__panel {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  color: white;
}

.brindes-showcase__badge {
  display: inline-flex;
  align-items: center;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.brindes-showcase__panel h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.brindes-showcase__panel p {
  margin-top: 14px;
  max-width: 620px;
  color: rgba(255,255,255,.82);
  font-size: 1.04rem;
  line-height: 1.75;
}

.brindes-showcase__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.brindes-showcase__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: .8rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.09);
  font-weight: 700;
}

.easter-egg-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.easter-egg-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.easter-egg-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 22px;
  border-radius: 30px;
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  box-sizing: border-box;
}

.easter-egg-modal img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(88vh - 44px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  object-fit: contain;
  box-sizing: border-box;
}

.easter-egg-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15,15,16,.72);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .brindes-showcase {
    min-height: 380px;
    border-radius: 28px;
  }

  .brindes-showcase::before {
    inset: 14px;
    border-radius: 22px;
  }

  .brindes-showcase__panel {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
    border-radius: 22px;
  }
}
