/* custom.css – Integração do Bootstrap com os estilos originais - v4 */

/* 1. Fontes Modernas */
@font-face { 
  font-family: 'News Cycle'; 
  src: url('../fonts/NewsCycle-Regular.eot'); 
  src: local("News Cycle"), url('../fonts/NewsCycle-Regular.ttf'); 
}

/* 2. Reset básico e tipografia geral */
html, body {
  height: 100%;
  overflow-x: hidden; /* Prevenir scroll horizontal */
}
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333; /* Slightly softer black */
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3. Containers personalizados */
.container-custom {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* 4. Cabeçalho com Montserrat */
header {
  background: linear-gradient(#43A9FF, #0043A8);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  position: relative;
  z-index: 10;
  font-family: 'Montserrat', sans-serif;
}
#strapline-info p,
#strapline-info p a {
  word-break: break-word;
  color: #FFF !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 5px;
}

/* Ajustes de espaçamento e alinhamento no cabeçalho */
header .row.align-items-center {
  margin-bottom: 0;
}

header .col-md-6 {
  padding: 10px 15px;
}

header img.img-fluid {
  max-width: 300px;
  margin: 8px 0;
}

/* 5. Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #000;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  word-wrap: break-word;
  line-height: 1.3;
  font-weight: 600;
}
h1 { font-size: 1.75rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.5rem; }
h4, h5, h6 {
  font-size: 1.25rem;
  color: #000;
}
p {
  padding-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
  word-wrap: break-word;
  color: #555;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 6. Links */
a, a:hover {
  color: #0056b3; /* Adjusted link color */
  text-decoration: none; /* Remove underline by default */
}
a:hover {
  text-decoration: underline;
}
header a, header a:hover, footer a, footer a:hover, .navbar a, .navbar a:hover {
    color: #FFF !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}
header a:hover, footer a:hover, .navbar a:hover {
    text-decoration: underline;
}

/* 7. Menu de Navegação Bootstrap - Estilo Moderno com Montserrat */
.navbar {
  z-index: 1035 !important;
  position: sticky;
  top: 0;
  background-color: #0043A8 !important;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15); /* Sombra mais suave e ampla */
  font-family: 'Montserrat', sans-serif;
  padding: 0;
}
.navbar-nav {
  justify-content: space-between;
  width: 100%;
  max-width: 850px;
}
.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.9) !important;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  margin: 0 2px;
  white-space: nowrap;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .active > .nav-link {
  background: transparent;
  color: #fff !important;
  transform: none;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .active > .nav-link::after {
  width: 60%;
}
.navbar-nav .dropdown-toggle {
  padding-right: 2rem;
}
.navbar-nav .dropdown-toggle::before {
  content: '';
  position: absolute;
  right: 0.65rem;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 0.3rem solid transparent;
  border-right: 0.3rem solid transparent;
  border-top: 0.4rem solid currentColor;
  transform: translateY(-25%);
}
.navbar .dropdown-menu {
  z-index: 1060;
  min-width: 15rem;
  padding: 0.45rem;
  background-color: #003580;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.24);
}
.navbar .dropdown.is-open > .dropdown-menu {
  display: block;
}
.navbar button.nav-link {
  border: 0;
  background: transparent;
}
.navbar .dropdown-item {
  color: #fff !important;
  padding: 0.7rem 0.85rem;
  border-radius: 0.4rem;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: #003580 !important;
  background-color: #fff;
  text-decoration: none;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-collapse {
    background-color: #0043A8;
    border-radius: 0 0 10px 10px;
}

/* 8. Slideshow */
#slideshow {
  position: relative;
  z-index: 5;
  margin-bottom: 30px; /* Increased margin */
  width: 100%;
  overflow: hidden;
}
#slideshow_container {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-top: 0;
    aspect-ratio: 16 / 5; /* Adjusted aspect ratio */
}
ul.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
ul.slideshow li {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
ul.slideshow li.show {
    opacity: 1;
    z-index: 2;
}
ul.slideshow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 9. Área de Conteúdo e Sidebar - Estilo Terra Mobile */
#site_content {
  overflow: visible;
}

/* Estilo base para os containers de conteúdo */
.content_container_responsive, .sidebar_item_responsive {
  width: 100%; /* Ocupa toda a coluna do Bootstrap */
  background-color: #f8f9fa; /* Fundo leve */
  border: 1px solid #dee2e6; /* Borda sutil */
  border-radius: 8px; /* Bordas arredondadas */
  padding: 20px; /* Padding interno generoso */
  margin-bottom: 25px; /* Espaçamento entre blocos */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Sombra leve */
  height: auto !important; /* Remover altura fixa/minima */
  display: flex;
  flex-direction: column;
}

.content_container_responsive p, .sidebar_item_responsive p {
   font-size: 0.95rem;
   line-height: 1.6;
   margin-bottom: 15px; /* Espaçamento do parágrafo */
   color: #343a40; /* Cor de texto mais escura */
}

.content_container_responsive img, .sidebar_item_responsive img {
   max-width: 100px;
   height: auto;
   margin-bottom: 15px; /* Espaço abaixo da imagem */
   display: block; /* Para centralizar com margin auto se necessário */
   /* margin-left: auto; 
   margin-right: auto; */ /* Descomentar se quiser centralizar a imagem */
}

.content_container_responsive .mt-auto, .sidebar_item_responsive .mt-auto {
   margin-top: auto; /* Forçar botão para baixo */
   text-align: center; /* Centralizar botão */
}

/* Ajustes específicos para sidebar */
.sidebar_item_responsive h2, .sidebar_item_responsive h3 {
    font-size: 1.3rem; /* Ajustar tamanho título sidebar */
}

/* 10. Botões - Estilo Moderno */
.button_small, .btn-primary, .leia-mais {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 22px;
  background: #0056b3;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: inline-block;
  color: #FFF !important;
  text-decoration: none !important;
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* === FIXO: mantém o texto em <strong> branco dentro dos botões === */
.button_small strong,
.btn-primary strong,
.leia-mais strong {
  color: #ffffff !important;
}

.button_small:hover, .btn-primary:hover, .leia-mais:hover {
    background: #0062cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
}

/* 11. Formulários */
.form_settings input,
.form_settings textarea {
  width: 100%;
  padding: 10px; /* Aumentar padding */
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #FFF;
  color: #495057;
  margin-bottom: 15px;
}
.form_settings input[type="checkbox"] {
  width: auto;
  margin: 10px 5px 10px 0;
}

/* 12. Botão Flutuante WhatsApp */
#whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
#whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
#whatsapp-float img {
  width: 50px; /* Ajustar */
  margin-right: 8px;
}
#whatsapp-float span {
  color: #fff;
  font-size: 1rem; /* Ajustar */
  font-weight: bold;
  white-space: nowrap;
}

/* 13. Footer */
footer {
  padding: 30px 0 25px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px #000;
  color: #FFF;
  background: linear-gradient(#43A9FF, #0043A8);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}
footer a {
  color: #FFF;
  text-decoration: none;
  word-break: break-word;
}
footer a:hover {
  text-decoration: underline;
}

/* 14. Utilitários */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 10px;
    }
    .navbar .dropdown-menu {
        position: static;
        margin: 0 0.75rem 0.5rem;
        background-color: rgba(0, 31, 82, 0.72);
        box-shadow: none;
    }
    /* Centralizar blocos de conteúdo no tablet */
    #content.col-lg-8, aside.col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    aside {
        margin-top: 30px !important;
    }
}

@media (max-width: 767.98px) {
  #strapline-info {
    text-align: center !important;
    margin-top: 15px;
  }
  /* Ajustes para blocos de conteúdo no mobile */
  .content_container_responsive, .sidebar_item_responsive {
      padding: 15px; /* Reduzir padding no mobile */
      margin-left: auto; /* Centralizar */
      margin-right: auto; /* Centralizar */
      /* max-width: 95%; */ /* Opcional: limitar largura se necessário */
  }
  .content_container_responsive .d-flex {
      flex-direction: column;
      align-items: center !important;
      text-align: center;
  }
  .content_container_responsive img {
      margin-right: 0 !important;
      margin-bottom: 15px;
      max-width: 80px;
  }
  #whatsapp-float span {
      display: none;
  }
  #whatsapp-float {
      padding: 10px;
  }
   #whatsapp-float img {
      margin-right: 0;
      width: 45px;
  }
  #slideshow_container {
      aspect-ratio: 16 / 9;
  }
}

@media (max-width: 575.98px) {
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.2rem; }
    p { font-size: 0.9rem; }
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 8px 10px;
    }
    .container-custom {
        padding-left: 10px;
        padding-right: 10px;
    }
    .content_container_responsive, .sidebar_item_responsive {
        padding: 10px; /* Reduzir mais o padding */
    }
    #whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
}

/* Home SVG — identidade visual SuporteJD */
.site-logo{display:block;width:min(390px,100%);height:auto;margin:8px 0}
.home-hero{min-height:460px;display:grid;align-items:center;position:relative;isolation:isolate;color:#fff;background:#062c59 url('/images/hero-tech.svg') center/cover no-repeat;overflow:hidden}
.home-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(2,18,40,.92) 0%,rgba(3,39,78,.75) 45%,rgba(3,45,87,.08) 78%)}
.home-hero__content{padding-block:72px;position:relative}.home-hero__content>p{max-width:650px;font-size:clamp(1rem,2vw,1.25rem)}
.home-hero h1{max-width:760px;font-size:clamp(2.15rem,5vw,4.35rem);line-height:1.02;font-weight:800;letter-spacing:-.045em;text-wrap:balance}
.home-hero__eyebrow{color:#ffca3a;text-transform:uppercase;letter-spacing:.15em;font-weight:800;font-size:.82rem!important}
.home-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.content_item>.row .card{border:1px solid #dbe7f4!important;border-radius:18px;transition:transform .2s ease,box-shadow .2s ease;background:linear-gradient(145deg,#fff,#f7fbff)}
.content_item>.row .card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(5,72,137,.12)!important}
.service-svg{width:62px;height:62px;flex:0 0 62px;margin-right:14px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#e9f6ff,#d8ecff);color:#0877d1}
.service-svg svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.service-svg--windows svg{fill:currentColor;stroke:none}
.service-svg--shield,.service-svg--security{color:#0b8f74;background:linear-gradient(145deg,#e6fbf5,#d3f5ec)}.service-svg--backup{color:#7c55c7;background:#f0eaff}.service-svg--speed{color:#e27610;background:#fff1df}.service-svg--upgrade{color:#b56d00;background:#fff3d2}
.sidebar_item_responsive{border:1px solid #dbe7f4!important;border-radius:18px!important;background:#fff;box-shadow:0 10px 28px rgba(5,72,137,.07)}
.remote-support-cta{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;color:#fff;text-decoration:none;background:linear-gradient(135deg,#075eaf,#0b8ce0);box-shadow:0 8px 20px rgba(5,103,191,.24)}
.remote-support-cta:hover{color:#fff;transform:translateY(-2px)}.remote-support-cta svg{width:58px;height:58px;fill:none;stroke:#ffcf3e;stroke-width:5}.remote-support-cta span{display:flex;flex-direction:column}.remote-support-cta small{color:#dbefff}
.whatsapp-svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:767px){.site-logo{margin-inline:auto;width:min(310px,90%)}.home-hero{min-height:500px;background-position:62% center}.home-hero::after{background:linear-gradient(90deg,rgba(2,18,40,.95),rgba(3,39,78,.68))}.home-hero__content{padding-block:54px}.home-hero__actions .btn{width:100%}}
.instagram-panel{display:grid;grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);align-items:center;gap:38px;padding:clamp(24px,5vw,56px);border:1px solid #dbe7f4;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#eef7ff 100%);box-shadow:0 18px 50px rgba(4,66,126,.1)}
.instagram-copy h2{font-weight:800;letter-spacing:-.03em}.instagram-visual svg{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 22px rgba(14,62,112,.13))}
@media(max-width:850px){.instagram-panel{grid-template-columns:1fr}.instagram-visual{order:-1}}
