:root {
  --hero-bg: #f7f9fc;
  --ink: #0f1217;
  --muted: #6b7280;
  --ring: #e5e7eb;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--hero-bg);
}

h1 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.1
}

/* ===== Modal ===== */
#z3Modal .modal-content {
  background: #f8f9fa;
  color: #212529;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

#z3Modal .modal-title {
  font-weight: 700;
  color: #000;
}

#z3Modal .modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

#z3Modal .modal-body strong {
  color: #000000;
}

#z3Modal .modal-footer .btn {
  font-weight: 600;
  transition: 0.3s;
}

#z3Modal .modal-footer .btn:hover {
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
.nav-drawer .nav-link.active {
  color: var(--bs-primary) !important;
}

.nav-drawer {
  width: 85vw;
  max-width: 360px;
  background: #fff;
  border-left: 1px solid #eef2f7;
}

.nav-drawer .offcanvas-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
}

.nav-drawer .offcanvas-body {
  padding: 1rem 1.25rem;
}

.nav-drawer .divider {
  height: 1px;
  background: #eef2f7;
  margin: .25rem 0 1rem;
}

.nav-drawer .navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 700;
  padding: .9rem .25rem;
  border-radius: 12px;
}

.nav-drawer .navbar-nav .nav-link:hover {
  background: #f3f6fb;
}

.nav-drawer .nav-external .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-backdrop.show {
  backdrop-filter: blur(2px);
  background: rgba(15, 18, 23, .45);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-lite .nav-link {
  color: #6b7280;
  font-weight: 600;
  padding: .5rem 1rem !important;
  transition: color .2s, background-color .2s, transform .2s;
}

.nav-lite .nav-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-lite .nav-link.active {
  color: var(--bs-dark);
}

/* ===== Botões ===== */
.btn {
  border-radius: 999px !important
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 6rem 0;
  margin-bottom: 0;
  background: url('../img/hero-background.svg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 18, 23, 0.88) 0%, rgba(20, 57, 99, 0.65) 100%);
  backdrop-filter: blur(2px);
}

.hero .badge {
  letter-spacing: .08em;
}

.hero h1 {
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
}

.hero .cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .cta-wrap .btn {
  min-width: 220px;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
}

.hero .btn-outline-light {
  border-width: 2px;
}

.glass-card {
  background: rgba(15, 18, 23, 0.55);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(10, 15, 30, 0.35);
  backdrop-filter: blur(12px);
}

.impact-numbers {
  background: #fff;
}

.number-tile {
  background: #f8fafc;
  border-radius: 20px;
  padding: 2rem 1rem;
  box-shadow: 0 18px 40px rgba(15, 18, 23, 0.08);
}

.number-tile .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--ink);
}

.number-tile .number.small {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.contact-highlight {
  background: #f7f9fc;
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 18, 23, 0.08);
  border: 1px solid rgba(15, 18, 23, 0.06);
}

/* Força scroll no conteúdo todo */
#registerModal .modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - var(--bs-modal-margin) * 2);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* iOS suave */
}

.btn-outline-dark {
  border: 2px solid var(--hero-bg);
  color: var(--muted);
  transition: color .2s, border .2s;
}

.btn-outline-dark:hover {
  border: 2px solid rgba(var(--bs-primary-rgb), .24);
  background: rgba(var(--bs-primary-rgb), .08);
  color: var(--ink);
  box-shadow: none;
}

@media (max-width:575.98px) {
  .hero .btn {
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.25rem
  }
}

/* ===== Ecosistema ===== */
.z3-ecosys {
  background: #0f1217;
  color: #fff;
  position: relative;
  background-image:
    radial-gradient(120% 80% at 0% -10%, rgba(255, 255, 255, .14) 0%, transparent 60%),
    radial-gradient(95% 70% at 100% 8%, rgba(99, 102, 241, .12) 0%, transparent 62%),
    radial-gradient(85% 65% at 50% 115%, rgba(255, 255, 255, .09) 0%, transparent 64%),
    radial-gradient(75% 60% at -12% 100%, rgba(56, 189, 248, .10) 0%, transparent 60%),
    radial-gradient(65% 55% at 92% 85%, rgba(255, 255, 255, .07) 0%, transparent 62%);
  overflow: hidden;
  padding-bottom: 24px;
}

.fw-800 {
  font-weight: 800;
}

.z3-ecosys .text-muted {
  color: #9aa3af !important;
}

/* Cards */
.zcard {
  background: #fff;
  color: #0b1324;
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
  transition: transform .18s, box-shadow .18s;
  position: relative;
  transform-origin: center;
}

.zcard:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 34px rgba(16, 24, 40, .16);
}

.zicon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0f1217;
  color: #fff;
  margin-bottom: .9rem;
}

.zicon i {
  font-size: 26px;
}

.ztitle {
  font-size: 1.05rem;
  font-weight: 800;
  margin: .25rem 0 .35rem;
  color: #0b1324;
}

.zdesc {
  color: #6b7280;
  font-size: .95rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* limite de linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.2rem;
  /* altura fixa pra alinhar todos */
}


.zlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  text-decoration: none;
  color: #1d4ed8;
  background: rgba(55, 108, 255, .10);
  padding: .5rem .9rem;
  border-radius: 999px;
  transition: background-color .18s, color .18s, transform .18s;
}

.zcard:hover .zlink {
  background: #1d4ed8;
  color: #fff;
  transform: translateX(1px);
}

/* Swiper */
.z3-container {
  position: relative !important;
}

.z3-swiper {
  position: relative !important;
  overflow: visible !important;
}

.intro-ecosys { max-width: 920px; }

/* CTA com contraste suave e compatível com seu visual */
.cta-ecosys {
  border: 0;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-radius: 1rem;
}
@media (prefers-color-scheme: dark) {
  .cta-ecosys {
    background: rgba(255,255,255,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
  }
}


.z3-swiper .swiper-wrapper {
  overflow: visible !important;
}

.z3-swiper .swiper-slide {
  overflow: visible !important;
  position: relative;
  z-index: 0;
  padding: 6px 0;
}

.z3-swiper .swiper-slide:hover {
  z-index: 5;
}

/* Setas */
.z3-nav {
  all: unset;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 40;
  background: #fff;
  color: #1d4ed8;
  cursor: pointer;
  opacity: .85;
  border: 2px solid rgba(55, 39, 147, .18);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transition: opacity .15s, transform .15s, background-color .15s, box-shadow .15s;
}

.z3-prev {
  left: 1%;
}

/* encostado no limite em telas grandes */
.z3-next {
  right: 1%;
}

.z3-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
  background: #1d4ed8;
  color: #fff;
}

.z3-nav i {
  pointer-events: none;
  font-size: 20px;
}

/* Paginação */
.z3-pagination {
  position: static !important;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin-top: 16px !important;
}

.z3-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #93a4b7;
  opacity: .35;
  transition: all .2s;
}

.z3-pagination .swiper-pagination-bullet-active {
  width: 22px;
  height: 6px;
  opacity: 1;
  background: #3b82f6;
}

/* Responsivo */
@media (max-width:1199.98px) {
  .z3-prev {
    left: 15px;
  }

  .z3-next {
    right: 15px;
  }
}

@media (max-width:991.98px) {
  .zcard {
    min-width: 82vw;
  }

  .z3-prev {
    left: 10px;
  }

  .z3-next {
    right: 10px;
  }
}

@media (max-width:575.98px) {
  .zicon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .ztitle {
    font-size: 1rem;
  }

  .zdesc {
    font-size: .95rem;
    min-height: auto;
  }

  .z3-nav {
    display: none;
  }

  /* mobile: swipe only */
}

@media (min-width: 992px) {
  .zdesc {
    -webkit-line-clamp: 3;
    /* em desktop mostra mais */
    min-height: 4.5rem;
  }
}

/* Modal estilizado */
#loginModal .modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

/* Floating labels */
/* Floating labels redondos */
#loginModal .form-floating {
  position: relative;
}

#loginModal .form-floating>.form-control {
  border-radius: 999px;
  padding: .8rem 1.25rem;
  border: 2px solid #e5e7eb;
  height: 52px;
  font-size: 0.95rem;
  box-shadow: none !important;
  /* remove glow azul */
}

#loginModal .form-floating>.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none !important;
  /* garante que não volta */
}

#loginModal .form-floating>label {
  left: 1.25rem;
  height: auto;
  padding: 1px !important;
  pointer-events: none;
  color: #6b7280;
  font-size: .95rem;
  transform: translateY(.35rem);
  transition: all .2s;
  background: #fff;
  /* usa o mesmo fundo do modal */
}

/* Label ativa */
#loginModal .form-floating>.form-control:focus~label,
#loginModal .form-floating>.form-control:not(:placeholder-shown)~label {
  transform: translateY(-.55rem) scale(.85);
  background: #fff;
  padding: 0 .4rem;
  border-radius: 6px;
  color: #0d6efd;
}


/* Botões sociais */
#loginModal .btn-outline-dark,
#registerModal .btn-outline-dark {
  border: 2px solid #e5e7eb;
  transition: background .2s, transform .2s;
}


#loginModal .btn-outline-dark:hover,
#registerModal .btn-outline-dark:hover {
  background: #0f1217;
  color: #fff;
  transform: translateY(-2px);
}

#registerModal .form-floating>.form-control {
  border-radius: 999px;
  padding: .8rem 1.25rem;
  border: 2px solid #e5e7eb;
  height: 52px;
  font-size: 0.95rem;
  box-shadow: none !important;
}

#registerModal .form-floating>.form-control:focus {
  border-color: #0d6efd;
  box-shadow: none !important;
}

#registerModal .form-floating>label {
  left: 1.25rem;
  height: auto;
  padding: .35rem .5rem;
  pointer-events: none;
  color: #6b7280;
  font-size: .95rem;
  transform: translateY(.35rem);
  transition: all .2s;
  background: #fff;
}

#registerModal .form-floating>.form-control:focus~label,
#registerModal .form-floating>.form-control:not(:placeholder-shown)~label {
  transform: translateY(-.55rem) scale(.85);
  background: #fff;
  padding: 0 .4rem;
  border-radius: 6px;
  color: #0d6efd;
}


/* === Depoimentos (Swiper) — sem overflow e com sombra intacta === */
.testi {
  background: #fff;
  padding: 2rem 0;
}

/* Contêiner do Swiper: segura a largura */
.testi .swiper {
  overflow: hidden;
  /* evita estourar a página */
  padding: 4px 16px 28px;
  /* respiro pros lados + bullets */
}

/* Wrapper padrão (sem overflow), mas estica altura dos slides */
.testi .swiper-wrapper {
  align-items: stretch;
}

/* Cada slide ganha respiro interno, sombra não encosta nas bordas */
.testi .swiper-slide {
  height: auto;
  /* altura do card manda */
  padding: 0 8px;
  /* respiro lateral do card */
}

/* Card */
.testi .tcard {
  background: #fff;
  border: 1px solid rgba(var(--bs-secondary-rgb), .08);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 6px 14px rgba(16, 24, 40, .06);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
  /* suaviza em iOS/Safari */
}

.testi .tcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, .10);
  border-color: rgba(var(--bs-secondary-rgb), .1);
}

/* Cabeçalho do card */
.thead {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}

.tavatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  background: #e5e7eb;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--ink);
}

.tavatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmeta {
  color: var(--muted);
  font-size: .9rem;
}

/* Texto do depoimento */
.tquote {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
  margin: .25rem 0 .5rem;
}

/* Navegação externa */
.tnav-prev,
.tnav-next {
  border: 1px solid #e5e7eb;
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
}

.tnav-prev:hover,
.tnav-next:hover {
  background: #f8fafc;
}

/* Bullets (mobile) */
.testi .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #93a4b7;
  opacity: .35;
  transition: all .2s;
}

.testi .swiper-pagination-bullet-active {
  width: 22px;
  height: 6px;
  opacity: 1;
  background: #3b82f6;
}

/* Mobile refinado */
@media (max-width:575.98px) {
  .testi .swiper {
    padding: 4px 12px 24px;
  }

  .testi .swiper-slide {
    padding: 0 6px;
  }

  .testi .tcard {
    border-radius: 16px;
  }
}

/* ===== Footer ===== */
/* Enhanced Footer */
.zfoot {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.zfoot .container {
    position: relative;
    z-index: 2;
}

.f-social {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.f-social:hover {
    background: rgba(255, 255, 255, 0);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.section-enhanced {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* responsivo & gutters menores no mobile */
@media (max-width:575.98px) {
  .zfoot {
    padding-bottom: .25rem;
  }

  .zfoot .row {
    --bs-gutter-x: 1rem;
  }

  /* reduz o espaço lateral das colunas */
}

.sobre .fw-800 {
  font-weight: 800;
}

.zcard-soft {
  background: var(--hero-bg) !important;
}

.zcard-soft p,
.zcard-soft li {
  color: #475569;
}

/* slate-600 */


.about-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .6rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  color: #000;
}

.about-chip:hover {
  background: #f8f9fa;
}