:root{
      --azul: #003983;
      --azul-dark: #002a5d;
      --cinza: #6c757d;
    }
    html { scroll-behavior: smooth; }
    body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#222; }

    /* NAV */
    .navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
    .navbar-brand { color: var(--azul) !important; font-weight: 900; font-size:1.25rem; text-transform:uppercase; letter-spacing:1px; }
    .nav-link { color: var(--azul) !important; font-weight:700; text-transform:uppercase; margin:0 .5rem; }
    .nav-link:hover { color: var(--azul-dark) !important; border-bottom: 3px solid var(--azul); border-radius:2px; }

    /* HERO - full screen, centered logo + slogan */
header.hero {
  position: relative;
  background: var(--azul); /* fundo sólido, sem transparência */
  color: #fff;
  height: 100vh; /* ocupa a tela inteira */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  z-index: 1;
}

/* Remove qualquer camada transparente que possa ter ficado */
header.hero::before {
  content: none;
}

/* LOGO — controla tamanho */
header.hero img.logo {
  width: 600px;          /* aumenta aqui o tamanho base */
  max-width: 32vw;       /* ajusta automaticamente em telas pequenas */
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 2;
  opacity: 1 !important; /* força a opacidade total */
}

/* Título principal */
header.hero h1 {
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 3rem); /* escalável conforme tela */
  margin-top: 1rem;
  color: #fff;
  z-index: 2;
  opacity: 1 !important;
}

/* Subtítulo (se quiser adicionar no futuro) */
header.hero p {
  max-width: 600px;
  color: #f2f6ff;
  font-size: 1.15rem;
  margin: 0 auto;
  z-index: 2;
  opacity: 1 !important;
}

/* Animações suaves */
.fade-down, .fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


    /* Section titles align left and consistent */
    section { padding:4.5rem 0; }
    .section-wrap { max-width:1100px; margin:0 auto; }
    h2.section-title { color: var(--azul); font-weight:800; text-transform:uppercase; text-align:left; margin-bottom:.75rem; }
    .title-underline { width:70px; height:6px; background:var(--azul); border-radius:3px; margin-bottom:1.25rem; }


    /* ==========================
   SEÇÃO SOBRE NÓS
========================== */
#sobre {
  background: #fff;
  padding: 4rem 0;
}

/* Apenas alinhamento e espaçamento leve */
#sobre .sobre-row {
  align-items: center; /* centraliza verticalmente */
  row-gap: 2rem;       /* espaço entre linhas no mobile */
}

/* === SOBRE NÓS === */
#sobre {
  background-color: #f8f9fb; /* leve contraste */
  padding: 5rem 1rem;
}

#sobre .sobre-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}

/* === IMAGEM === */
#sobre img {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: transform .4s ease, box-shadow .4s ease;
}

#sobre img:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

/* === TEXTO === */
#sobre .text-col {
  flex: 1;
  min-width: 320px;
}

#sobre h2.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

#sobre .title-underline {
  width: 70px;
  height: 6px;
  background: var(--azul);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

#sobre p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

#sobre ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#sobre ul li {
  position: relative;
  margin-bottom: 0.7rem;
  color: var(--cinza);
  font-weight: 500;
  padding-left: 1.8rem;
}

#sobre ul li::before {
  content: "✔";
  color: var(--azul);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  line-height: 1.3;
}

/* === RESPONSIVIDADE === */
@media (max-width: 992px) {
  #sobre {
    text-align: center;
  }

  #sobre .sobre-row {
    flex-direction: column;
    align-items: center;
  }

  #sobre img {
    max-width: 360px;
  }

  #sobre .text-col {
    max-width: 600px;
  }

  #sobre h2.section-title {
    font-size: 1.75rem;
  }

  #sobre p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #sobre img {
    max-width: 300px;
  }

  #sobre h2.section-title {
    font-size: 1.5rem;
  }

  #sobre p {
    font-size: 0.95rem;
  }
}


/* Título */
#sobre .section-title {
  font-weight: 800;
  color: var(--azul);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* Linha abaixo do título */
#sobre .title-underline {
  width: 80px;
  height: 4px;
  background-color: var(--azul);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Texto */
#sobre p {
  color: var(--azul-dark);
  line-height: 1.7;
  font-size: 1rem;
}

/* Lista */
#sobre ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

#sobre ul li {
  margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 991px) {
  #sobre {
    text-align: center;
  }

  #sobre .title-underline {
    margin-left: auto;
    margin-right: auto;
  }
}


    /* Identidade - icons */
    #identidade .icon { font-size:2rem; color:var(--azul); margin-bottom:.5rem; }

    /* Services - banner and grid */
    #servicos .banner { width:100%; height:200px; object-fit:cover; border-radius:8px; margin-bottom:1.25rem; }

    /* Equipe - alternating cards like in image */
    #equipe .member {
      display:flex; flex-wrap:wrap; gap:0;
      background:#fff; border-radius:10px; overflow:hidden;
      box-shadow:0 6px 22px rgba(0,0,0,.08); margin-bottom:2.25rem;
    }
    #equipe .member .photo { width:100%; max-width:420px; flex:0 0 420px; }
    #equipe .member img { width:100%; height:100%; object-fit:cover; display:block; }
    #equipe .member .content { padding:2.2rem; flex:1; }
    #equipe .member .content h3 { color:var(--azul); font-weight:900; margin-bottom:.5rem; font-size:1.45rem; }
    #equipe .member .content h4 { background:var(--azul); color:#fff; display:inline-block; padding:.35rem .8rem; border-radius:4px; margin-top:.6rem; font-weight:700; }

    /* Solutions icons white-on-banner */
    #solucoes { position:relative; color:#fff; }
    #solucoes .card-item i { font-size:1.6rem; color:#fff; margin-right:.6rem; vertical-align:middle; }
    #manifesto, #solucoes { background-size:cover; background-position:center; }
    #manifesto::after, #solucoes::after { content:''; position:absolute; inset:0; background:rgba(0,57,131,.72); z-index:0; }
    #manifesto .section-wrap, #solucoes .section-wrap { position:relative; z-index:1; }

    /* Projects grid */
    #projetos .proj { border-radius:8px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.06); background:#fff; }
    #projetos .proj img { width:100%; height:190px; object-fit:cover; display:block; }

    /* Contact */
    #contactos {background: #f8f9fb;}
    #contactos .info-box, #contactos form {background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.1);} 
    #contactos button {background-color: var(--azul); border: none; font-weight: 600;}
    #contactos button:hover {background-color: #002a5d;}

    /* Footer */
    footer { background:var(--azul); color:#fff; padding:2.25rem 0; }

    /* Responsive tweaks */
    @media (max-width:992px){
      #equipe .member { flex-direction:column; }
      #equipe .member .photo, #equipe .member .content { max-width:100%; flex-basis:auto; }
      .navbar-brand { font-size:1.15rem; }
      .nav-link { font-size:.85rem; }
    }



  /* Mantém o banner como está */
  #servicos .banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.25rem;
  }

  /* Cartões de serviços */
  .servico-card {
    background: #f8f8f8;
    border: 1px solid #00a2ff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .servico-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(19,71,168,0.15);
    border-color: rgba(19,71,168,0.3);
  }

  .icon-servico {
    font-size: 2.2rem;
    color: rgba(19,71,168,1);
  }

  .section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #1347A8;
  }

  .title-underline {
    background: #1347A8;
  }

  /* Texto */
  #servicos p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Responsividade */
  @media (max-width: 768px) {
    .icon-servico {
      font-size: 2rem;
    }
  }



  /* Soluções: Mantém degradê apenas em Soluções */
  #solucoes::after, #solucoes .overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 41, 114, 0.7) 0%, rgba(224, 238, 248, 0.178) 100%);
    z-index: 0;
  }

  #manifesto .section-wrap,
  #solucoes .section-wrap {
    position: relative;
    z-index: 1;
  }

  #solucoes { color:#fff; margin-top:0; }

  #solucoes .card-item i {
    font-size:1.6rem;
    color:#fff;
    margin-right:.6rem;
    vertical-align:middle;
  }

  .section-title {
    font-weight:700;
    font-size:2.2rem;
    letter-spacing:1px;
    margin-bottom:1rem;
  }

  .lead {
    font-weight:400;
    letter-spacing:.5px;
  }

  /* Responsividade */
  @media (max-width: 768px) {
    #manifesto { flex-direction: column; }
    .manifesto-left, .manifesto-right {
      flex: 100%;
      padding: 2rem;
    }
  }



  #projetos .proj {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  #projetos .proj:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(19,71,168,0.15);
  }

  #projetos .proj img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  #projetos .proj:hover img {
    transform: scale(1.05);
  }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.85);
  }

  .lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }

  .close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
  }

  .close:hover {
    color: #ccc;
  }


  /* --- TÍTULOS --- */
.secao-titulo {
  color: #0d2a7a;
  font-weight: 700;
  margin-bottom: 1rem;
  border-left: 4px solid #0d2a7a;
  padding-left: 10px;
}

/* --- CARTÕES DE PROJETOS --- */
.proj-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(19, 71, 168, 0.2);
}

.proj-img {
  cursor: pointer;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.proj-info {
  padding: 1rem;
  color: #333;
  font-size: 0.95rem;
}

.proj-info h6 {
  font-weight: 700;
  color: #0d2a7a;
  margin-bottom: 0.5rem;
}

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

.close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: #ccc;
}

/* --- BANNER SUPERIOR --- */
.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.banner-img-top {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: brightness(70%);
  border-radius: 12px;
}

.banner-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.banner-title {
  font-weight: 700;
  font-size: 1.8rem;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* --- CORREÇÃO DE ALINHAMENTO (LAYOUT ESCADAS) --- */
.projeto-secao .row {
  margin-top: 1rem;
}

.projeto-secao {
  margin-bottom: 3rem;
}

.container {
  max-width: 1200px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .banner-title {
    font-size: 1.4rem;
  }
  .proj-img {
    height: 180px;
  }
}





/* Efeito suave de fade + blur */
body.fade-out {
  transition: opacity 0.3s ease, filter 0.3s ease;
  opacity: 0;
  filter: blur(4px);
}

body.fade-in {
  transition: opacity 0.3s ease, filter 0.3s ease;
  opacity: 1;
  filter: blur(0);
}

/* Botão ativo de idioma */
[data-lang].active {
  opacity: 1;
  font-weight: 600;
  border-bottom: 2px solid #0078ff;
}
[data-lang] {
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
[data-lang]:hover {
  opacity: 1;
}




/* Idioma Bt*/

.language-switcher {
  display: flex;
  gap: 8px;
}

.btn-lang {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-lang img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.btn-lang:hover {
  border-color: #0044cc;
  transform: scale(1.05);
}

.btn-lang.active {
  border-color: #0044cc;
  box-shadow: 0 0 5px rgba(0, 68, 204, 0.5);
}


/* Efeito de blur + fade */
.fade-out {
  transition: opacity 0.25s ease, filter 0.25s ease;
  opacity: 0.0;
  filter: blur(4px) saturate(.95);
}
.fade-in {
  transition: opacity 0.28s ease, filter 0.28s ease;
  opacity: 1;
  filter: blur(0) saturate(1);
}

/* Pisca rápido quando troca idioma (flash) */
.lang-flash {
  animation: langFlash 0.36s;
}
@keyframes langFlash {
  0%   { filter: brightness(1); }
  30%  { filter: brightness(1.45) saturate(1.1); }
  60%  { filter: brightness(0.95) saturate(.95); }
  100% { filter: brightness(1) saturate(1); }
}

/* Caso de erro: piscar vermelho discretamente */
.lang-error {
  animation: langError 0.9s;
}
@keyframes langError {
  0% { box-shadow: none; }
  25% { box-shadow: inset 0 0 0 9999px rgba(220,53,69,0.06); }
  100% { box-shadow: none; }
}

/* Estilo do botão ativo (opcional) */
.btn-lang.active {
  outline: 2px solid #0b3b91;
  box-shadow: 0 0 8px rgba(11,59,145,0.18);
}


