/* ==========================================================================
   OnZap Page Refresh
   Section-level visual refresh kept separate from legacy section CSS.
   ========================================================================== */

.header-section,
.navbar-fixed-top.header-section {
  height: 76px !important;
}

.header-section {
  background: rgba(255, 255, 255, 0.72) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  box-shadow: 0 16px 45px rgba(8, 46, 99, 0.08) !important;
}

.navbar-fixed-top.header-section {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: var(--onzap-line) !important;
  box-shadow: 0 14px 35px rgba(8, 46, 99, 0.1) !important;
}

.header-section .container,
.navbar-fixed-top.header-section .container {
  max-width: var(--onzap-container-wide);
}

.logo-com-nome img {
  filter: drop-shadow(0 8px 16px rgba(29, 170, 97, 0.22));
}

.nome-logo {
  font-weight: 900 !important;
}

.header-section ul.nav > li > a {
  color: var(--onzap-green-dark) !important;
  text-shadow: none !important;
  border-radius: 999px;
}

.header-section ul.nav > li > a:hover,
.header-section ul.nav > li > a.active,
.header-section ul.nav > li.active > a,
.navbar-fixed-top.header-section ul.nav > li > a:hover,
.navbar-fixed-top.header-section ul.nav > li > a.active,
.navbar-fixed-top.header-section ul.nav > li.active > a {
  background: var(--onzap-green-soft) !important;
  color: var(--onzap-green) !important;
}

.initial-carousel {
  background: linear-gradient(180deg, #e7f8fb 0%, #f7fbf8 100%) !important;
  min-height: 620px;
}

.initial-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(247, 251, 248, 0), #ffffff);
  pointer-events: none;
  z-index: 1;
}

.initial-carousel-button {
  background: rgba(15, 97, 52, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: var(--onzap-shadow-sm);
}

.about-section,
section.card-section,
.container-flux-phone,
.price-section,
.faq-section {
  padding: var(--onzap-pad-y) var(--onzap-pad-x) !important;
}

.about-section .container-fluid,
.container-flux-phone > *,
.carousel-container,
.cards-price,
.faq-container,
.footer-section .container {
  max-width: var(--onzap-container);
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%) !important;
  min-height: auto !important;
}

.about-wrap {
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(34px, 6vw, 84px);
}

.about-heading-container {
  min-width: 0 !important;
  min-height: 480px !important;
  flex: 1 1 520px;
}

.about-heading {
  margin-bottom: 34px;
}

.about-heading h2 {
  max-width: 650px;
  margin: 0 auto;
  color: var(--onzap-ink) !important;
  font-size: clamp(38px, 4.6vw, 66px) !important;
  font-weight: 900;
  line-height: 1.03 !important;
}

.wrapper-audio {
  padding: 18px 22px;
  border: 1px solid var(--onzap-line);
  border-radius: var(--onzap-radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--onzap-shadow-md);
}

.phone-about {
  flex: 0 1 390px;
  width: auto !important;
  max-width: 430px;
}

section.card-section {
  background: #ffffff !important;
  min-height: auto !important;
}

.card-section .title {
  margin-bottom: 38px;
}

.card-section .title h2,
.faq-container h2,
.title-price h2 {
  color: var(--onzap-green-dark) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.08;
}

.card-grid {
  max-width: var(--onzap-container) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.card {
  min-height: 218px;
  padding: 28px 22px !important;
  border: 1px solid var(--onzap-line);
  border-radius: var(--onzap-radius-md) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
  box-shadow: var(--onzap-shadow-sm) !important;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--onzap-shadow-md) !important;
}

.card img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain;
}

.card p {
  margin: 0;
  color: var(--onzap-ink);
  font-size: 15px !important;
  line-height: 1.55 !important;
}

#experiencia {
  background: var(--onzap-green-dark);
}

.container-flux-phone {
  width: 100%;
  min-height: auto !important;
  background:
    linear-gradient(135deg, var(--onzap-green-dark) 0%, #123f34 54%, var(--onzap-blue-dark) 100%) !important;
  box-shadow: none !important;
}

.titulo-mensagem {
  max-width: 980px;
  margin: 0 auto 36px;
}

.linha-verde,
.linha-azul {
  color: #ffffff;
  letter-spacing: 0;
}

.linha-verde {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
}

.linha-azul {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.18;
}

.phones-container-flux {
  max-width: var(--onzap-container);
  margin-left: auto;
  margin-right: auto;
}

.container-flux-phone .whatsapp-message-button {
  margin: 34px auto 0;
  color: var(--onzap-green-dark) !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: var(--onzap-shadow-md);
}

.portal {
  background: #ffffff;
}

.portal-container {
  min-height: 760px !important;
  height: auto !important;
  overflow: hidden;
}

.portal-top {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  height: 68%;
  padding: var(--onzap-pad-y) var(--onzap-pad-x) 0;
  background: linear-gradient(180deg, var(--onzap-blue-soft) 0%, #f8fcfd 100%);
}

.portal-top h2 {
  max-width: 620px;
  padding: 0 !important;
  color: var(--onzap-blue-dark) !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  font-weight: 900;
  line-height: 1.06;
}

.portal-top-right {
  position: static !important;
  align-items: flex-start;
  justify-self: end;
  max-width: 410px;
}

.portal-top-right p {
  color: var(--onzap-muted);
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
}

.portal-button {
  color: #ffffff !important;
  background: var(--onzap-blue-dark) !important;
  box-shadow: var(--onzap-shadow-sm);
}

.portal-center {
  max-width: 860px;
  margin: -330px auto 0 !important;
  transform: translateX(-12%);
}

.portal-mockup {
  width: min(76vw, 780px);
  filter: drop-shadow(0 35px 60px rgba(8, 46, 99, 0.18));
}

#products {
  height: auto !important;
  min-height: auto;
  padding: var(--onzap-pad-y) var(--onzap-pad-x) !important;
  background: #ffffff !important;
  overflow: hidden;
}

.carousel-container {
  max-width: min(var(--onzap-container-wide), 100%);
  padding-left: 0 !important;
  overflow: visible;
}

.carousel-wrapper {
  width: 100%;
  justify-content: center;
  gap: 22px;
}

.carousel-item {
  flex: 1 1 0 !important;
  min-width: 0;
  max-width: 300px;
  height: auto !important;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 0.96;
  object-fit: cover;
  border-radius: var(--onzap-radius-lg) !important;
  box-shadow: var(--onzap-shadow-sm);
}

.carousel-item p {
  min-height: 48px;
  color: var(--onzap-ink);
  line-height: 1.45;
}

.carousel-arrow {
  width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  background: var(--onzap-green-dark) !important;
  box-shadow: var(--onzap-shadow-sm);
}

.colaboradores-section,
.colaboradores-section-mobile {
  background: var(--onzap-page);
}

.price-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--onzap-green-soft) 100%) !important;
  min-height: auto !important;
}

.title-price {
  max-width: 900px;
  margin: 0 auto 24px !important;
}

.cards-price {
  width: min(100%, var(--onzap-container));
  min-height: auto !important;
  padding: 32px 0 0 !important;
  gap: 36px;
  background: transparent !important;
}

.cards-price .content-wrapper {
  align-items: center;
}

.three-toggle {
  background: #ffffff !important;
  border: 1px solid var(--onzap-line);
  box-shadow: var(--onzap-shadow-sm);
}

.toggle-option {
  color: var(--onzap-muted);
}

.toggle-option.active {
  color: #ffffff;
  background: var(--onzap-green) !important;
}

.cards-part-mes,
.cards-part-tri,
.cards-part-ano {
  justify-content: center !important;
  gap: 22px !important;
}

.card-price {
  max-width: 330px;
  min-width: 280px;
  border: 1px solid rgba(40, 161, 197, 0.2) !important;
  border-radius: var(--onzap-radius-lg) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--onzap-shadow-sm);
}

.card-price:hover {
  transform: translateY(-5px);
  box-shadow: var(--onzap-shadow-md);
}

.title > h1,
.price > h1 {
  letter-spacing: 0;
}

.btn-choice button {
  background: var(--onzap-green) !important;
  box-shadow: 0 10px 22px rgba(29, 170, 97, 0.22);
}

.faq-section {
  background: #ffffff;
}

.faq-container {
  width: min(100%, 920px);
}

.faq-item {
  border: 1px solid var(--onzap-line);
  border-radius: var(--onzap-radius-md);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 46, 99, 0.06);
  overflow: hidden;
}

.faq-question {
  min-height: 64px;
  color: var(--onzap-ink);
  font-weight: 800;
}

.faq-answer {
  color: var(--onzap-muted);
}

.footer-section {
  background:
    linear-gradient(135deg, var(--onzap-green-dark) 0%, #123f34 52%, var(--onzap-blue-dark) 100%) !important;
}

.footer-content {
  gap: 28px;
}

.footer-content a,
.footer-content p,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.84) !important;
}

.contact-button,
.footer-section .contact-button {
  color: var(--onzap-green-dark) !important;
  background: #ffffff !important;
}

#cookie-banner {
  border: 1px solid var(--onzap-line);
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--onzap-shadow-md);
  backdrop-filter: blur(14px);
}

/* Portal Cloud needs a stable layout because the legacy CSS used absolute
   positioning. This block keeps the computer mockup and video visible. */
.portal-container {
  display: flex !important;
  flex-direction: column;
  min-height: 780px !important;
  height: auto !important;
  overflow: visible !important;
  background: #ffffff;
}

.portal-top {
  position: relative !important;
  min-height: 430px;
  height: auto !important;
  left: auto !important;
  top: auto !important;
  z-index: 1;
}

.portal-center {
  position: relative !important;
  z-index: 3;
  width: min(100% - 2 * var(--onzap-pad-x), 900px);
  max-width: 900px;
  margin: -245px auto 0 !important;
  transform: none !important;
}

.portal-mockup {
  width: min(100%, 820px) !important;
  max-width: 820px !important;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

.portal-video {
  top: 36% !important;
  left: 50.5% !important;
  width: 64% !important;
  height: 67% !important;
  z-index: 2 !important;
}

.portal-computer {
  display: block;
  width: 100% !important;
  height: auto;
  z-index: 3 !important;
}

.portal-bottom {
  position: relative !important;
  height: 160px !important;
  z-index: 0;
}

@media (max-width: 1120px) {
.header-section ul.nav > li > a,
.navbar-fixed-top.header-section ul.nav > li > a {
    padding: 0 6px !important;
    font-size: 10.5px !important;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991px) {
  .about-wrap {
    flex-direction: column;
  }

  .about-heading-container {
    min-height: auto !important;
  }

  .phone-about {
    margin-left: auto;
    margin-right: auto;
  }

  .portal-container {
    min-height: 720px !important;
  }

  .portal-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portal-top h2,
  .portal-top-right,
  .portal-top-right p {
    justify-self: center;
    text-align: center;
    align-items: center;
  }

  .portal-center {
    margin-top: -245px !important;
    transform: none;
  }

  .price-illustration {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-section,
  .navbar-fixed-top.header-section {
    height: 70px !important;
  }

  .initial-carousel {
    min-height: 420px;
    height: 62vh !important;
  }

  .about-section,
  section.card-section,
  .container-flux-phone,
  #products,
  .price-section,
  .faq-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .about-heading h2 {
    font-size: 32px !important;
  }

  .wrapper-audio {
    max-width: 100%;
    padding: 14px;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .card {
    min-height: auto;
  }

  .phones-container-flux {
    transform: scale(0.94);
    transform-origin: center top;
  }

  .portal-container {
    min-height: 650px !important;
  }

  .portal-top {
    height: 64%;
  }

  .portal-center {
    margin-top: -190px !important;
  }

  .carousel-container {
    overflow: hidden;
  }

  .carousel-wrapper {
    justify-content: flex-start;
  }

  .carousel-item {
    flex: 0 0 210px !important;
  }

  .three-toggle {
    width: min(100%, 360px);
  }

  .toggle-option {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ==========================================================================
   Section collision guards
   These rules intentionally live last so every menu target has enough space
   below the fixed header and each section owns its visual area.
   ========================================================================== */

#about,
#benefits,
#experiencia,
#portal,
#products,
#price-section,
#faq-section {
  isolation: isolate;
}

#about,
#benefits,
#experiencia,
#products,
#price-section,
#faq-section {
  min-height: max(760px, calc(100vh - var(--nav-scroll-offset))) !important;
}

#about,
#benefits,
#price-section,
#faq-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#experiencia .container-flux-phone {
  min-height: auto !important;
  justify-content: center;
}

#products {
  min-height: 640px !important;
}

.portal-container {
  min-height: max(900px, calc(100vh - var(--nav-scroll-offset))) !important;
  padding-bottom: 80px;
}

.portal-top {
  min-height: 520px;
}

.portal-center {
  margin-top: -245px !important;
}

.portal-bottom {
  min-height: 210px;
}

.cards-price {
  align-items: flex-start;
}

@media (max-width: 991px) {
  #about,
  #benefits,
  #experiencia,
  #products,
  #price-section,
  #faq-section {
    min-height: auto !important;
  }

  #experiencia .container-flux-phone {
    min-height: auto !important;
  }

  .portal-container {
    min-height: 820px !important;
    padding-bottom: 64px;
  }

  .portal-top {
    min-height: 470px;
  }

  .portal-center {
    margin-top: -185px !important;
  }
}

@media (max-width: 767px) {
  #experiencia .container-flux-phone {
    min-height: auto !important;
  }

  #products {
    min-height: 470px !important;
  }

  .portal-container {
    min-height: 760px !important;
    padding-bottom: 48px;
  }

  .portal-top {
    min-height: 440px;
  }

  .portal-center {
    margin-top: -145px !important;
  }
}

/* Usa tu voz: compact composition for the animated prompt. */
#about {
  padding-top: clamp(86px, 9vh, 118px) !important;
  padding-bottom: clamp(96px, 11vh, 142px) !important;
}

#about .about-wrap {
  align-items: center !important;
  gap: clamp(44px, 6vw, 96px);
}

#about .about-heading {
  margin-bottom: 0;
}

#about .about-heading h2 {
  font-size: clamp(36px, 3.8vw, 56px) !important;
  line-height: 1.08 !important;
}

#about .about-heading-container {
  justify-content: center;
  gap: 30px;
  min-height: 0 !important;
  padding-bottom: 0;
}

#about .about-content {
  width: min(100%, 700px);
  margin-left: auto;
  margin-right: auto;
}

#about .wrapper-audio {
  width: 100%;
  max-width: 700px;
  min-height: 0;
  align-items: center;
  gap: 20px;
  padding: 24px 30px;
}

#about .microphone-container {
  width: 62px;
  height: 62px;
}

#about .text-container {
  max-width: none;
  min-width: 0;
  align-items: center;
  overflow: visible;
}

#about .animated-text {
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 0;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.36;
  align-content: center;
}

#about .global-sound-waves {
  flex-shrink: 0;
  transform: scale(0.9);
  transform-origin: center;
}

@media (max-width: 991px) {
  #about {
    padding-top: 82px !important;
    padding-bottom: 104px !important;
  }

  #about .wrapper-audio {
    max-width: 640px;
  }

  #about .animated-text {
    font-size: clamp(23px, 3.6vw, 32px);
  }
}

@media (max-width: 767px) {
  #about {
    padding-bottom: 92px !important;
  }

  #about .wrapper-audio {
    gap: 12px;
    padding: 20px 18px;
  }

  #about .about-heading h2 {
    font-size: clamp(30px, 8.4vw, 36px) !important;
  }

  #about .microphone-container {
    width: 48px;
    height: 48px;
  }

  #about .animated-text {
    font-size: clamp(20px, 5.3vw, 27px);
    line-height: 1.32;
  }
}

/* Remove the hard divider line that appears under the fixed nav. */
.header-section,
.navbar-fixed-top.header-section {
  border-bottom: 0 !important;
}

.header-section::after,
.navbar-fixed-top.header-section::after,
#portal::before,
.portal::before,
.portal-top::before {
  display: none !important;
  content: none !important;
}

/* Hero/header final pass: the nav floats over the first carousel only, then
   returns to the solid white bar as soon as the sticky state is active. */
#home.initial-carousel {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #dff7fb !important;
}

#home.initial-carousel .initial-carousel-slide img,
#home.initial-carousel .initial-carousel-slide video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

#home.initial-carousel .initial-carousel-slide .carousel-final-video {
  object-fit: cover !important;
  object-position: center center !important;
  background: linear-gradient(180deg, #eef9fb 0%, #f7fbf8 100%) !important;
}

.header-section:not(.navbar-fixed-top) {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.header-section:not(.navbar-fixed-top) ul.nav > li > a {
  color: var(--onzap-green-dark) !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85) !important;
}

.header-section:not(.navbar-fixed-top) .nome-logo {
  color: #1d9fc1 !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.85) !important;
}

.navbar-fixed-top.header-section {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 14px 35px rgba(8, 46, 99, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
}

/* Benefits section - reference mockup */
#benefits.card-section {
  display: block !important;
  width: 100% !important;
  padding: 62px 24px 48px !important;
  background: #ffffff !important;
  text-align: center !important;
}

#benefits .benefits-meta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 28px;
  margin: 0 auto 34px;
  border: 1px solid #b7d6ff;
  border-radius: 28px;
  background: linear-gradient(90deg, #edf6ff 0%, #dbeafe 100%);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

#benefits .benefits-meta-badge img {
  width: 72px !important;
  height: 24px !important;
  object-fit: contain;
}

#benefits .benefits-meta-badge svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#benefits .title {
  display: block;
  width: 100%;
  margin: 0 0 46px !important;
  text-align: center;
}

#benefits .title h2 {
  color: #0f6134 !important;
  font-size: 48px !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

#benefits .card-grid {
  display: grid !important;
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

#benefits .card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 220px !important;
  padding: 34px 28px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  border: 1px solid #d8ebe0 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfffd 100%) !important;
  box-shadow: 0 20px 34px rgba(31, 80, 61, 0.07) !important;
  text-align: center !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#benefits .card:hover {
  transform: translateY(-4px) !important;
  border-color: #bfe4cc !important;
  box-shadow: 0 24px 42px rgba(31, 80, 61, 0.11) !important;
}

#benefits .card img {
  display: block;
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 24px !important;
  object-fit: contain;
}

#benefits .card p {
  width: 100%;
  max-width: 220px;
  margin: 0 auto !important;
  color: #26342f !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.58 !important;
}

#benefits .card strong {
  color: #1f2f29;
  font-weight: 900;
}

@media (max-width: 991px) {
  #benefits.card-section {
    padding: 56px 20px 44px !important;
  }

  #benefits .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575px) {
  #benefits.card-section {
    padding: 44px 16px 36px !important;
  }

  #benefits .benefits-meta-badge {
    width: min(100%, 284px);
    min-height: 54px;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
  }

  #benefits .benefits-meta-badge img {
    width: 66px !important;
  }

  #benefits .title {
    margin-bottom: 30px !important;
  }

  #benefits .title h2 {
    font-size: 38px !important;
  }

  #benefits .card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #benefits .card {
    min-height: 190px !important;
    padding: 28px 22px !important;
  }
}
