/* ============================================================
   ESTILOS EXCLUSIVOS DA PÁGINA INICIAL
   A cor do sistema é recebida pela variável --jc-cor-sistema.
   ============================================================ */

/* ============================================================
   ESTILOS GERAIS E BLOCO COMERCIAL
   ============================================================ */
/* ================================
   AJUSTE VISUAL HOME - AZUL TOM SOBRE TOM
   Mantém a lógica PHP e altera somente leitura, contraste e alternância visual.
   ================================ */
#main {
  background: #f4f9ff;
}

#comercial,
#services,
#team,
#orcamento {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 157, 220, 0.15), transparent 30%),
    radial-gradient(circle at 88% 90%, rgba(15, 91, 143, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fcff 0%, #eaf6ff 100%) !important;
  color: #102940 !important;
}

#comercial:before,
#services:before,
#team:before,
#orcamento:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(216, 237, 250, 0.28)),
    repeating-linear-gradient(135deg, rgba(12, 90, 145, 0.035) 0, rgba(12, 90, 145, 0.035) 1px, transparent 1px, transparent 18px);
  pointer-events: none;
}

#comercial .container,
#services .container,
#team .container,
#orcamento .container {
  position: relative;
  z-index: 2;
}

#comercial h1,
#comercial h2,
#comercial h3,
#comercial h4,
#services h1,
#services h2,
#services h3,
#services h4,
#team h1,
#team h2,
#team h3,
#team h4,
#orcamento h1,
#orcamento h2,
#orcamento h3,
#orcamento h4 {
  color: #0b2742 !important;
  text-shadow: none !important;
}

#comercial p,
#services p,
#team p,
#orcamento p,
#comercial li,
#services li,
#team li,
#orcamento li {
  color: #31526f !important;
}

#comercial .jc-section-eyebrow,
#services .jc-section-eyebrow,
#team .jc-section-eyebrow,
#orcamento .jc-section-eyebrow {
  color: #0a7eb9 !important;
}

#comercial .heading-line,
#services .heading-line,
#team .heading-line,
#orcamento .heading-line {
  background: linear-gradient(90deg, rgba(12, 126, 185, 0.15), var(--jc-cor-sistema, #0a7eb9), rgba(12, 126, 185, 0.15)) !important;
}

#comercial .jc-lead-box,
#services .jc-service-card,
#team .box-team,
#orcamento .jc-lead-box {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(19, 112, 170, 0.16) !important;
  box-shadow: 0 18px 46px rgba(16, 73, 120, 0.12) !important;
  color: #102940 !important;
  backdrop-filter: none !important;
}

#comercial .jc-lead-box {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(233,246,255,0.88)) !important;
}

#comercial .jc-metric-number {
  color: #0b5f95 !important;
}

#comercial .jc-lead-box hr {
  border-color: rgba(19, 112, 170, 0.16) !important;
}

#services .section-heading {
  text-align: center;
}

#services .section-heading p,
#team .section-heading p {
  color: #42617d !important;
  opacity: 1 !important;
}

#services .jc-service-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#services .jc-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(12, 126, 185, 0.34) !important;
  box-shadow: 0 24px 58px rgba(16, 73, 120, 0.18) !important;
}

#services .jc-service-card-img {
  background: #dbeef9 !important;
  border-bottom: 1px solid rgba(19, 112, 170, 0.12);
}

#services .jc-service-card-body h4,
#services .jc-service-card-body h4 a {
  color: #0b2742 !important;
}

#services .jc-service-card-body p {
  color: #42617d !important;
}

#team .section-heading h4 {
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

#team .box-team {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(236,247,255,0.90)) !important;
  border-radius: 20px !important;
}

#team .box-team img {
  background: #ffffff !important;
  border: 1px solid rgba(19, 112, 170, 0.12) !important;
  box-shadow: 0 12px 26px rgba(16, 73, 120, 0.12) !important;
}

#team .box-team h4,
#team .box-team h4 a,
#team .box-team h4 a:visited,
#team .box-team h4 a:focus {
  color: #0b2742 !important;
  text-shadow: none !important;
}

#team .box-team h4 a:hover {
  color: #0a7eb9 !important;
}

#team .box-team p {
  color: #42617d !important;
}

#team .carousel-control,
#team .carousel-control-prev,
#team .carousel-control-next {
  background: rgba(10, 126, 185, 0.10) !important;
  border: 1px solid rgba(10, 126, 185, 0.22) !important;
  color: #0b5f95 !important;
  box-shadow: 0 10px 24px rgba(16, 73, 120, 0.12);
}

#team .carousel-control:hover,
#team .carousel-control-prev:hover,
#team .carousel-control-next:hover {
  background: rgba(10, 126, 185, 0.18) !important;
  color: #063c63 !important;
}

#team .carousel-control .fa,
#team .carousel-control-prev .fa,
#team .carousel-control-next .fa {
  color: #0b5f95 !important;
}

#comercial .jc-btn-outline,
#services .jc-btn-outline,
#team .jc-btn-outline,
#orcamento .jc-btn-outline {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(12, 126, 185, 0.28) !important;
  color: #0b2742 !important;
  box-shadow: 0 10px 24px rgba(16, 73, 120, 0.10);
}

#comercial .jc-btn-outline:hover,
#services .jc-btn-outline:hover,
#team .jc-btn-outline:hover,
#orcamento .jc-btn-outline:hover {
  background: rgba(10, 126, 185, 0.10) !important;
  border-color: rgba(12, 126, 185, 0.42) !important;
  color: #063c63 !important;
}

#resultados.jc-commercial-section,
#contact.jc-contact-section {
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 196, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(0, 126, 190, 0.18), transparent 34%),
    linear-gradient(135deg, #06111f 0%, #08233a 48%, #0b3f5c 100%) !important;
}

#resultados .jc-project-card {
  background: linear-gradient(145deg, rgba(6, 23, 42, 0.96), rgba(9, 54, 83, 0.86)) !important;
  border: 1px solid rgba(86, 201, 255, 0.20) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

#resultados .jc-project-card p {
  color: rgba(244,249,255,0.82) !important;
}

#orcamento .jc-lead-box {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(233,246,255,0.90)) !important;
}


/* Correção visual exclusiva da seção Clientes.
   Mantém o tom claro suave solicitado e neutraliza o degradê escuro global do cabeçalho. */
#team.home-section,
#team.home-section.bg-white {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(49, 157, 220, 0.10), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(15, 91, 143, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fcff 0%, #eaf6ff 100%) !important;
  color: #102940 !important;
  padding: 52px 0 58px !important;
}

#team.home-section:before,
#team.home-section.bg-white:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(224, 240, 251, 0.28)),
    repeating-linear-gradient(135deg, rgba(12, 90, 145, 0.022) 0, rgba(12, 90, 145, 0.022) 1px, transparent 1px, transparent 20px) !important;
  pointer-events: none;
}

#team.home-section .container,
#team.home-section.bg-white .container {
  position: relative;
  z-index: 2;
}

#team .section-heading {
  text-align: center !important;
  margin-bottom: 32px !important;
}

#team .section-heading h4 {
  color: #0b2742 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-shadow: none !important;
  margin: 0 0 12px !important;
  opacity: 1 !important;
}

#team .section-heading .heading-line {
  width: 86px !important;
  height: 2px !important;
  margin: 14px auto 18px !important;
  background: linear-gradient(90deg, rgba(12, 126, 185, 0.10), var(--jc-cor-sistema, #0a7eb9), rgba(12, 126, 185, 0.10)) !important;
}

#team .section-heading p {
  color: #42617d !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  opacity: 1 !important;
}

#team .box-team {
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(236,247,255,0.91)) !important;
  border: 1px solid rgba(19, 112, 170, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 46px rgba(16, 73, 120, 0.12) !important;
  padding: 24px 18px 22px !important;
  backdrop-filter: none !important;
  text-align: center !important;
}

#team .box-team img {
  width: 160px !important;
  height: 160px !important;
  object-fit: contain !important;
  padding: 10px !important;
  margin: 0 auto 18px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(19, 112, 170, 0.12) !important;
  box-shadow: 0 12px 26px rgba(16, 73, 120, 0.12) !important;
}

#team .box-team h4,
#team .box-team h4 a,
#team .box-team h4 a:visited,
#team .box-team h4 a:focus {
  color: #0b2742 !important;
  text-shadow: none !important;
}

#team .box-team h4 a:hover {
  color: #0a7eb9 !important;
  text-decoration: none !important;
}

#team .box-team p {
  color: #42617d !important;
  opacity: 1 !important;
}

#team .carousel-control,
#team .carousel-control-prev,
#team .carousel-control-next {
  background: rgba(10, 126, 185, 0.10) !important;
  border: 1px solid rgba(10, 126, 185, 0.22) !important;
  color: #0b5f95 !important;
  box-shadow: 0 10px 24px rgba(16, 73, 120, 0.12) !important;
}

#team .carousel-control:hover,
#team .carousel-control-prev:hover,
#team .carousel-control-next:hover {
  background: rgba(10, 126, 185, 0.18) !important;
  color: #063c63 !important;
}

#team .carousel-control .fa,
#team .carousel-control-prev .fa,
#team .carousel-control-next .fa {
  color: #0b5f95 !important;
}



/* ================================
   HOME - BLOCO COMERCIAL PRINCIPAL
   Mostra claramente o que Jacy Cordeiro faz e quais serviços o cliente pode contratar.
   Mantém a estrutura PHP original e usa apenas HTML/CSS da própria página.
   ================================ */
#comercial .jc-home-title {
  max-width: 760px;
  margin: 0;
  color: #0b2742 !important;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.6px;
}

#comercial .jc-home-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #31526f !important;
  font-size: 17px;
  line-height: 1.78;
}

#comercial .jc-home-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#comercial .jc-home-checks li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #173b5a !important;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  overflow-wrap: anywhere;
}

#comercial .jc-home-checks i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jc-cor-sistema, #0a7eb9), #25cfff);
  font-size: 11px;
  margin-top: 1px;
}

#comercial .jc-home-offer-panel {
  height: 100%;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(233,246,255,0.92)) !important;
  border: 1px solid rgba(19, 112, 170, 0.18) !important;
  box-shadow: 0 18px 46px rgba(16, 73, 120, 0.13) !important;
  color: #102940 !important;
}

#comercial .jc-home-offer-panel h3 {
  margin: 0;
  color: #0b2742 !important;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

#comercial .jc-home-offer-panel p {
  margin: 9px 0 0;
  color: #42617d !important;
  font-size: 14px;
  line-height: 1.6;
}

#comercial .jc-home-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

#comercial .jc-home-offer-card,
#comercial .jc-home-offer-card:visited {
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  border-radius: 17px;
  color: #0b2742 !important;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(19, 112, 170, 0.13);
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(16, 73, 120, 0.08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

#comercial .jc-home-offer-card:hover,
#comercial .jc-home-offer-card:focus {
  transform: translateY(-2px);
  border-color: rgba(37, 207, 255, 0.42);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(16, 73, 120, 0.14);
  text-decoration: none !important;
}

#comercial .jc-home-offer-card i {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b5f95, #25cfff);
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(0, 166, 230, 0.20);
}

#comercial .jc-home-offer-card strong,
#comercial .jc-home-offer-card small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

#comercial .jc-home-offer-card strong {
  color: #0b2742 !important;
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 900;
}

#comercial .jc-home-offer-card small {
  margin-top: 3px;
  color: #53677b !important;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 700;
}

#comercial .jc-home-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 112, 170, 0.14);
  color: #31526f !important;
  font-size: 13px;
  line-height: 1.5;
}

#comercial .jc-home-panel-footer strong {
  color: #0b2742 !important;
  font-weight: 900;
}

@media (max-width: 767px) {
  #comercial,
  #services,
  #team,
  #orcamento,
  #resultados {
    padding-top: 44px !important;
    padding-bottom: 48px !important;
  }

  #comercial h2,
  #services .section-heading h4,
  #team .section-heading h4,
  #orcamento h3 {
    font-size: 25px !important;
    line-height: 1.24 !important;
  }


  #comercial .jc-home-checks,
  #comercial .jc-home-offer-grid {
    grid-template-columns: 1fr;
  }

  #comercial .jc-home-offer-panel {
    margin-top: 24px;
    padding: 22px;
  }

  #comercial .jc-home-panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  #comercial .jc-home-title {
    font-size: 28px !important;
  }

  #comercial .jc-home-subtitle {
    font-size: 15.5px;
  }
}

/* ============================================================
   SEÇÃO SOBRE
   ============================================================ */
#about.jc-about-soft {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06111f 0%, #08213a 45%, #0b3f5c 100%) !important;
  color: #f4f9ff !important;
}
#about.jc-about-soft:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 188, 255, 0.18), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(0, 124, 190, 0.18), transparent 34%);
  pointer-events: none;
}
#about.jc-about-soft .container {
  position: relative;
  z-index: 2;
}
#about.jc-about-soft .section-heading {
  text-align: center;
  margin-bottom: 18px;
}
#about.jc-about-soft .section-heading h4 {
  color: #ffffff !important;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 10px;
  text-align: center;
}
#about.jc-about-soft .heading-line {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), var(--jc-cor-sistema, #0a7eb9), rgba(255,255,255,0.15));
}
#about.jc-about-soft .section-heading p {
  color: rgba(244,249,255,0.78) !important;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#about.jc-about-soft .about-img {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}
#about.jc-about-soft .jc-about-media-box {
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7,21,39,0.96), rgba(8,39,65,0.90));
  border: 1px solid rgba(86,201,255,0.22);
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  overflow: visible;
}
#about.jc-about-soft .about-img iframe,
#about.jc-about-soft .about-img img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  background: #071527;
}
#about.jc-about-soft .content {
  background: linear-gradient(145deg, rgba(9,35,61,0.92), rgba(11,63,92,0.76));
  border: 1px solid rgba(86,201,255,0.18);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.22);
}
#about.jc-about-soft .content,
#about.jc-about-soft .content p,
#about.jc-about-soft .content li,
#about.jc-about-soft .content strong,
#about.jc-about-soft .content b {
  color: #f4f9ff !important;
}
#about.jc-about-soft .content p {
  font-size: 15px;
  line-height: 1.62;
  margin-bottom: 12px;
}
#about.jc-about-soft .content p:last-child {
  margin-bottom: 0;
}
.jc-about-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding: 0;
  position: relative;
  z-index: 5;
  overflow: visible;
}
.jc-about-mini-card {
  min-height: 96px;
  padding: 13px 12px;
  border-radius: 15px;
  background: linear-gradient(145deg, #1679a8 0%, #0f5f8e 48%, #0b446c 100%);
  border: 1px solid rgba(126,228,255,0.82);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.20);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.jc-about-mini-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #25cfff, var(--jc-cor-sistema, #0a7eb9), #8bedff);
}
.jc-about-mini-card:after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(90,214,255,0.12);
}
.jc-about-mini-card i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jc-cor-sistema, #0a7eb9), #19c7ff);
  box-shadow: 0 8px 18px rgba(0,188,255,0.22);
  margin-bottom: 7px;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.jc-about-mini-card h5 {
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 4px;
  position: relative;
  z-index: 2;
}
.jc-about-mini-card p {
  color: rgba(244,249,255,0.96) !important;
  font-size: 12px;
  line-height: 1.32;
  margin: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  #about.jc-about-soft .about-img {
    margin-bottom: 18px;
  }
  #about.jc-about-soft .about-img iframe,
  #about.jc-about-soft .about-img img {
    height: 230px;
  }
  .jc-about-mini-cards {
    grid-template-columns: 1fr;
    margin-top: 12px;
    padding: 0;
  }
  #about.jc-about-soft .content {
    padding: 22px 20px;
  }
}

/* ============================================================
   SEÇÃO PORTFÓLIO
   ============================================================ */
#portfolio.jc-portfolio-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06111f 0%, #08233a 48%, #0b3f5c 100%) !important;
  color: #f4f9ff;
}
#portfolio.jc-portfolio-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 196, 255, 0.18), transparent 32%),
    radial-gradient(circle at 84% 84%, rgba(0, 126, 190, 0.18), transparent 34%);
  pointer-events: none;
}
#portfolio.jc-portfolio-section .container {
  position: relative;
  z-index: 2;
}
#portfolio .section-heading {
  text-align: center;
  margin-bottom: 34px;
}
#portfolio .section-heading h4 {
  color: #ffffff !important;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 12px;
  text-align: center;
}
#portfolio .section-heading p {
  color: rgba(244,249,255,0.82) !important;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;
}
#portfolio .heading-line {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), var(--jc-cor-sistema, #0a7eb9), rgba(37,207,255,0.95));
}
.jc-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jc-portfolio-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(6, 23, 42, 0.96), rgba(9, 54, 83, 0.86));
  border: 1px solid rgba(86, 201, 255, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.jc-portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 207, 255, 0.58);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36);
}
.jc-portfolio-media {
  position: relative;
  height: 230px;
  background: #071527;
  overflow: hidden;
  cursor: pointer;
}
.jc-portfolio-media img,
.jc-portfolio-media iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  transition: transform .28s ease;
}
.jc-portfolio-card:hover .jc-portfolio-media img {
  transform: scale(1.04);
}
.jc-portfolio-media:after {
  content: "Ver detalhes";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  background: linear-gradient(135deg, var(--jc-cor-sistema, #0a7eb9), #25cfff);
  box-shadow: 0 12px 24px rgba(0, 188, 255, 0.24);
}
.jc-portfolio-body {
  padding: 20px 20px 22px;
}
.jc-portfolio-body h4 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 900;
}
.jc-portfolio-title-link {
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer;
}
.jc-portfolio-title-link:hover {
  color: #25cfff !important;
}
.jc-portfolio-body p {
  min-height: 68px;
  margin: 0 0 18px;
  color: rgba(244,249,255,0.82) !important;
  font-size: 14px;
  line-height: 1.62;
}
.jc-portfolio-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.jc-portfolio-detail-btn {
  border: 1px solid rgba(86, 201, 255, 0.32);
  border-radius: 999px;
  color: #ffffff !important;
  background: rgba(4, 18, 34, 0.42);
  padding: 9px 14px;
  font-weight: 800;
  text-decoration: none !important;
}
.jc-portfolio-detail-btn:hover {
  border-color: #25cfff;
  background: rgba(37, 207, 255, 0.10);
}
.jc-portfolio-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 86px 18px 26px;
  background: rgba(2, 8, 18, 0.82);
  overflow-y: auto;
}
.jc-portfolio-modal-overlay.active {
  display: flex !important;
}
.jc-portfolio-modal {
  width: 100%;
  max-width: 1080px;
  max-height: calc(100vh - 112px);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #071527, #0b3f5c);
  border: 1px solid rgba(86, 201, 255, 0.26);
  box-shadow: 0 28px 80px rgba(0,0,0,0.48);
}
.jc-portfolio-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(86, 201, 255, 0.18);
  background: rgba(4, 18, 34, 0.52);
}
.jc-portfolio-modal-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 900;
}
.jc-portfolio-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255,255,255,0.12);
  font-size: 26px;
  line-height: 1;
}
.jc-portfolio-modal-close:hover {
  background: rgba(255,255,255,0.20);
}
.jc-portfolio-modal-body {
  max-height: calc(100vh - 192px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
}
.jc-portfolio-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 24px;
  align-items: start;
}
.jc-portfolio-modal-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(86, 201, 255, 0.20);
  background: #06111f;
}
.jc-portfolio-modal-media img,
.jc-portfolio-modal-media iframe {
  width: 100%;
  min-height: 420px;
  display: block;
  object-fit: contain;
  border: 0;
  background: #06111f;
}
.jc-portfolio-modal-info {
  border-radius: 20px;
  padding: 22px;
  background: rgba(4, 18, 34, 0.54);
  border: 1px solid rgba(86, 201, 255, 0.16);
  color: rgba(244,249,255,0.88);
}
.jc-portfolio-modal-info h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}
.jc-portfolio-modal-description,
.jc-portfolio-modal-description p,
.jc-portfolio-modal-description li,
.jc-portfolio-modal-description span {
  color: rgba(244,249,255,0.88) !important;
  font-size: 15px;
  line-height: 1.72;
}
.jc-portfolio-modal-description img {
  max-width: 100%;
  height: auto;
}
.jc-portfolio-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.jc-portfolio-hidden-content {
  display: none;
}
#modalWhatsapp {
  z-index: 1000015 !important;
}
.modal-backdrop {
  z-index: 1000010 !important;
}
@media (max-width: 991px) {
  .jc-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jc-portfolio-modal-grid {
    grid-template-columns: 1fr;
  }
  .jc-portfolio-modal-media img,
  .jc-portfolio-modal-media iframe {
    min-height: 300px;
  }
}
@media (max-width: 575px) {
  #portfolio.jc-portfolio-section {
    padding: 46px 0 50px;
  }
  #portfolio .section-heading h4 {
    font-size: 28px;
  }
  .jc-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .jc-portfolio-media {
    height: 210px;
  }
  .jc-portfolio-modal-overlay {
    padding: 76px 10px 16px;
  }
  .jc-portfolio-modal {
    max-height: calc(100vh - 92px);
    border-radius: 18px;
  }
  .jc-portfolio-modal-header {
    padding: 15px;
  }
  .jc-portfolio-modal-header h3 {
    font-size: 19px;
  }
  .jc-portfolio-modal-body {
    max-height: calc(100vh - 166px);
    padding: 16px;
  }
  .jc-portfolio-modal-media img,
  .jc-portfolio-modal-media iframe {
    min-height: 230px;
  }
}

/* ============================================================
   SEÇÃO CLIENTES
   ============================================================ */
#team.jc-clientes-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(49, 157, 220, 0.10), transparent 28%),
    radial-gradient(circle at 88% 84%, rgba(15, 91, 143, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fcff 0%, #eaf6ff 100%) !important;
  color: #102940 !important;
}

#team.jc-clientes-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(224, 240, 251, 0.28)),
    repeating-linear-gradient(135deg, rgba(12, 90, 145, 0.022) 0, rgba(12, 90, 145, 0.022) 1px, transparent 1px, transparent 20px) !important;
  pointer-events: none;
}

#team.jc-clientes-section .container {
  position: relative;
  z-index: 2;
}

#team.jc-clientes-section .section-heading {
  text-align: center !important;
  margin-bottom: 34px !important;
}

#team.jc-clientes-section .section-heading h4 {
  color: #0b2742 !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-shadow: none !important;
  margin: 0 0 12px !important;
  opacity: 1 !important;
}

#team.jc-clientes-section .section-heading .heading-line {
  width: 86px !important;
  height: 2px !important;
  margin: 14px auto 18px !important;
  background: linear-gradient(90deg, rgba(12, 126, 185, 0.10), var(--jc-cor-sistema, #0a7eb9), rgba(12, 126, 185, 0.10)) !important;
}

#team.jc-clientes-section .section-heading p {
  color: #42617d !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  opacity: 1 !important;
}

.jc-clientes-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0 4px;
}

.jc-clientes-marquee:before,
.jc-clientes-marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 3;
  pointer-events: none;
}

.jc-clientes-marquee:before {
  left: 0;
  background: linear-gradient(90deg, #eaf6ff 0%, rgba(234, 246, 255, 0) 100%);
}

.jc-clientes-marquee:after {
  right: 0;
  background: linear-gradient(270deg, #eaf6ff 0%, rgba(234, 246, 255, 0) 100%);
}

.jc-clientes-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
  animation: jcClientesScroll 36s linear infinite;
  will-change: transform;
}

.jc-clientes-marquee:hover .jc-clientes-track {
  animation-play-state: paused;
}

.jc-clientes-card {
  width: 268px;
  min-width: 268px;
  min-height: 296px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 24px 18px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 255, 0.93)) !important;
  border: 1px solid rgba(19, 112, 170, 0.15) !important;
  box-shadow: 0 18px 46px rgba(16, 73, 120, 0.12) !important;
  color: #102940 !important;
  overflow: hidden;
}

.jc-clientes-card a,
.jc-clientes-card a:visited,
.jc-clientes-card a:focus {
  color: #0b2742 !important;
  text-decoration: none !important;
}

.jc-clientes-card a:hover {
  color: #0a7eb9 !important;
  text-decoration: none !important;
}

.jc-clientes-logo {
  width: 154px;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff !important;
  border: 1px solid rgba(19, 112, 170, 0.12) !important;
  box-shadow: 0 12px 26px rgba(16, 73, 120, 0.12) !important;
  overflow: hidden;
}

.jc-clientes-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.jc-clientes-card h4 {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px !important;
  color: #0b2742 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  overflow-wrap: anywhere;
}

.jc-clientes-card p {
  width: 100%;
  margin: 0 !important;
  color: #42617d !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  opacity: 1 !important;
  overflow-wrap: anywhere;
}

.jc-clientes-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 26px auto 0;
  padding: 10px 16px;
  border-radius: 999px;
  color: #0b5f95;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 112, 170, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.jc-clientes-status i {
  color: #0a7eb9;
}

@keyframes jcClientesScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-33.3333%, 0, 0);
  }
}

@media (max-width: 991px) {
  #team.jc-clientes-section {
    padding: 44px 0 52px !important;
  }

  #team.jc-clientes-section .section-heading h4 {
    font-size: 26px !important;
  }

  .jc-clientes-track {
    gap: 16px;
    animation-duration: 30s;
  }

  .jc-clientes-card {
    width: 238px;
    min-width: 238px;
    min-height: 276px;
    padding: 22px 16px 20px;
  }

  .jc-clientes-logo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 575px) {
  .jc-clientes-marquee:before,
  .jc-clientes-marquee:after {
    width: 36px;
  }

  .jc-clientes-track {
    gap: 14px;
    animation-duration: 26s;
  }

  .jc-clientes-card {
    width: 224px;
    min-width: 224px;
  }
}

/* ============================================================
   SEÇÃO CONTATO
   ============================================================ */
#contact.jc-contact-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  background: linear-gradient(135deg, #06111f 0%, #08233a 48%, #0b3f5c 100%) !important;
  color: #f4f9ff;
}
#contact.jc-contact-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 196, 255, 0.18), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(0, 126, 190, 0.18), transparent 34%);
  pointer-events: none;
}
#contact.jc-contact-section .container {
  position: relative;
  z-index: 2;
}
#contact .jc-contact-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}
#contact .jc-contact-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #25cfff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#contact .jc-contact-heading h4 {
  margin: 0;
  color: #ffffff !important;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}
#contact .jc-contact-heading .heading-line {
  width: 86px;
  height: 3px;
  margin: 16px auto 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), var(--jc-cor-sistema, #0a7eb9), rgba(37,207,255,0.95));
  border-radius: 999px;
}
#contact .jc-contact-heading p {
  margin: 0;
  color: rgba(244,249,255,0.84);
  font-size: 16px;
  line-height: 1.7;
}
#contact .jc-contact-card,
#contact .jc-contact-form-card {
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(6, 23, 42, 0.96), rgba(9, 54, 83, 0.86));
  border: 1px solid rgba(86, 201, 255, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}
#contact .jc-contact-card {
  padding: 28px;
}
#contact .jc-contact-form-card {
  padding: 30px;
}
#contact .jc-contact-card h5,
#contact .jc-contact-form-card h5 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}
#contact .jc-contact-card p,
#contact .jc-contact-form-card p {
  color: rgba(244,249,255,0.82);
  line-height: 1.7;
}
#contact .jc-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(4, 18, 34, 0.54);
  border: 1px solid rgba(86, 201, 255, 0.16);
}
#contact .jc-contact-item i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jc-cor-sistema, #0a7eb9), #25cfff);
  box-shadow: 0 10px 22px rgba(0, 188, 255, 0.22);
}
#contact .jc-contact-item strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-weight: 800;
}
#contact .jc-contact-item span,
#contact .jc-contact-item a {
  color: rgba(244,249,255,0.82);
  word-break: break-word;
}
#contact .jc-contact-item a:hover {
  color: #25cfff;
}
#contact .jc-map-placeholder {
  margin-top: 20px;
  min-height: 230px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(86, 201, 255, 0.18);
  background: rgba(4, 18, 34, 0.62);
}
#contact .jc-map-placeholder-inner {
  min-height: 230px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(244,249,255,0.84);
}
#contact .jc-map-placeholder-inner i {
  color: #25cfff;
  font-size: 34px;
  margin-bottom: 10px;
}
#contact .jc-map-placeholder-inner strong {
  color: #ffffff;
  font-weight: 900;
}
#contact .jc-map-placeholder-inner span {
  margin: 8px 0 14px;
}
#contact .jc-contact-form-card .form-control {
  height: auto;
  min-height: 50px;
  padding: 13px 15px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(3, 14, 28, 0.58);
  border: 1px solid rgba(134, 210, 255, 0.20);
  box-shadow: none;
}
#contact .jc-contact-form-card textarea.form-control {
  min-height: 138px;
  resize: vertical;
}
#contact .jc-contact-form-card .form-control::placeholder {
  color: rgba(244,249,255,0.58);
}
#contact .jc-contact-form-card .form-control:focus {
  border-color: #25cfff;
  box-shadow: 0 0 0 3px rgba(37,207,255,0.12);
}
#contact .jc-contact-form-card .form-group {
  margin-bottom: 16px;
}
#contact .jc-form-privacy {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  color: rgba(244,249,255,0.86);
  background: rgba(4, 18, 34, 0.58);
  border: 1px solid rgba(86, 201, 255, 0.16);
}
#contact .jc-form-privacy label {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}
#contact .jc-form-privacy input {
  margin-right: 8px;
  transform: translateY(1px);
}
#contact .jc-form-privacy a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
}
#contact .jc-contact-submit {
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  color: #ffffff !important;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0ca8e8, var(--jc-cor-sistema, #0a7eb9));
  box-shadow: 0 14px 28px rgba(0, 166, 230, 0.24);
  transition: all .2s ease;
}
#contact .jc-contact-submit:hover,
#contact .jc-contact-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 166, 230, 0.32);
}
#contact .jc-contact-submit[disabled] {
  opacity: .68;
  cursor: not-allowed;
  transform: none;
}
#contact .validation,
#contact #sendmessage,
#contact #errormessage {
  display: none !important;
}
@media (max-width: 991px) {
  #contact.jc-contact-section {
    padding: 48px 0;
  }
  #contact .jc-contact-form-card {
    margin-top: 24px;
  }
}
@media (max-width: 575px) {
  #contact .jc-contact-heading h4 {
    font-size: 28px;
  }
  #contact .jc-contact-card,
  #contact .jc-contact-form-card {
    padding: 22px;
  }
}
