:root {
  --azulclaro:    #164351;
  --azulescuro:   #0e273d;
  --azulescurao:  #0d0f2c;
  --rosa-ta:      #b82770;
  --coral-tutorial: #cb5158;
  --textoclaro:   #f8f4d1;
  --fundocards:   #C9E2EC;
}

/* ==============================
   RESET E BASE
============================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh; /* Garante que o fundo cubra a tela toda */
  background-color: var(--azulescuro);
}

body {
  font-family: "cocomat pro", sans-serif;
  overflow-x: hidden; /* Evita barras de rolagem horizontal indesejadas */
}

/* ==============================
   FADE-IN
============================== */
.fade-in {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   NAVBAR (header fixo + menu responsivo)
   Antes havia regras conflitantes em `header`, `.navbar` e `nav`
   (seletor de elemento) competindo entre si, o que fazia o menu
   "fugir" do lugar e quebrar em telas pequenas. Agora existe uma
   única fonte de verdade: o header fica fixo no topo e o menu
   (.navbar) cuida de tudo, com um botão "hambúrguer" que aparece
   só no mobile.
============================== */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  z-index: 9999;
}

.navbar {
  width: 100%;
  background-color: var(--azulclaro);
  border-radius: 30px;
  padding: 12px 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 32px;
  flex-wrap: wrap;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--textoclaro);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  background: transparent;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar ul li a:hover {
  background: var(--azulescuro);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Botão "hambúrguer" — fica oculto no desktop, só aparece no mobile */
.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.navbar-toggle-bar {
  width: 24px;
  height: 3px;
  background-color: var(--textoclaro);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.is-open .navbar-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggle.is-open .navbar-toggle-bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.is-open .navbar-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==============================
   HERO (.inicialFundo)
   Antes a seção ficava com height:auto e nenhum conteúdo visível
   (o h1 é .visually-hidden), então no mobile ela "desaparecia"
   (ficava só com a altura do padding). Agora ela sempre tem uma
   altura mínima garantida, em qualquer tamanho de tela.
============================== */
.inicialFundo {
    position: relative;
    min-height: 100vh;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url("../IMG/imagem_logo_lume.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==============================
   IMG-WRAPPER (cards com foto, ex: card "IoT LUME")
   Antes a altura da imagem era controlada em dois lugares
   diferentes (.img-wrapper e .card_projetos img), que entravam
   em conflito no mobile e deixavam uma faixa vazia embaixo da
   foto. Agora só o wrapper define a altura, e a imagem sempre
   ocupa 100% dela.
============================== */
.img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 40px 40px 0 0;
}

.card-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==============================
   SEÇÃO SOBRE / CARROSSEL
============================== */
.sobre-sistema {
  background: var(--azulescuro);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  z-index: 3;
  margin-top: -20px;
}

.sobre_container {
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-sistema h2 {
  font-size: 2.2rem;
  color: var(--textoclaro);
  margin-bottom: 15px;
  font-weight: 700;
}

.sobre-sistema p {
  color: var(--textoclaro);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 50px;
}

.carousel-item {
  min-height: 640px; 
  padding: 10px 0;
}

/* Ícones */
.sobre_icones {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.icon_box {
  background: var(--azulclaro);
  color: var(--textoclaro);
  border-radius: 35px;
  width: 550px;
  padding: 30px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre_icones .icon_box.iframe-box {
  width: 100%;
  max-width: 850px;
}

.icon_box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.icon_box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
}

.icon_box h3 {
  font-size: 1.2rem;
  color: var(--textoclaro);
  margin-bottom: 12px;
  font-weight: 600;
}

.icon_box p {
  color: var(--textoclaro);
  font-size: 0.95rem;
  line-height: 1.5;
}

.botao-card {
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 25px;
  padding: 10px 25px;
  font-weight: 600;
  color: var(--textoclaro);
  text-decoration: none;
  border-radius: 20px;
  background-color: var(--azulescuro);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.botao-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Header dos slides de Projetos / Protótipo */
.cards_header h2 {
  font-size: 2.2rem;
  color: var(--textoclaro);
  margin-bottom: 15px;
}

.cards_header p {
  color: var(--textoclaro);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* ==============================
   CARDS DE PROJETOS
============================== */
.cards_container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.card_projetos {
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 500px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card_projetos:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.tag {
  display: inline-block;
  color: var(--textoclaro);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.card_info {
  padding: 20px;
  text-align: center;
  background-color: var(--azulclaro);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.card_info h3 {
  font-size: 1.5rem;
  color: var(--textoclaro);
  line-height: 1.5;
}

.card_info p {
  font-size: 15px;
  color: var(--textoclaro);
  line-height: 1.5;
}

.card_projetos .botao {
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 25px;
  padding: 10px 25px;
  font-weight: 600;
  color: var(--textoclaro);
  text-decoration: none;
  border-radius: 20px;
  background-color: var(--azulescuro);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.card_projetos .botao:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ==============================
   EQUIPE (.grupo)
============================== */
.grupo {
  background-color: var(--azulclaro);
  padding: 80px 40px;
  text-align: center;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.grupo_header h2 {
  font-size: 2.2rem;
  color: var(--textoclaro);
  margin-bottom: 15px;
}

.grupo_header p {
  color: var(--textoclaro);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.grupo_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.membro {
  background-color: var(--azulescuro);
  border-radius: 40px;
  width: 260px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membro:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.membro img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--azulescuro);
  margin-bottom: 25px;
}

.membro h3 {
  font-size: 1.2rem;
  color: var(--textoclaro);
  margin-bottom: 5px;
}

.membro p {
  color: var(--textoclaro);
  font-size: 0.95rem;
}

/* ==============================
   FOOTER (.rodape)
============================== */
.rodape {
  background-color: var(--azulescurao);
  color: #fff;
  text-align: center;
  padding: 60px 40px 30px;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.rodape-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  text-align: left;
  margin-bottom: 20px;
}

.rodape-esquerda {
  flex: 1;
  min-width: 300px;
}

.logo-footer {
  height: 50px;
  margin-bottom: 10px;
}

.emails {
  list-style: none;
  padding: 0;
  margin: 0;
}

.emails li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.emails img { width: 16px; height: 16px; }

.rodape-divisor {
  width: 2px;
  background-color: var(--textoclaro);
  height: 140px;
  align-self: center;
}

.rodape-direita {
  flex: 1;
  min-width: 300px;
}

.titulo-projeto {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.links-rodape {
  display: flex;
  align-items: center;
  gap: 40px;
}

.links-rodape a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.links-rodape a:hover { opacity: 0.8; }

.links-rodape img { width: 40px; height: auto; }

.linha-final {
  border: none;
  height: 2px;
  background-color: var(--textoclaro);
  margin: 20px 0;
}

.copy { font-size: 0.9rem; color: #fff; }

.if {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

/* ==============================
   OVERLAY DE TRANSIÇÃO
============================== */
#transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: var(--transition-color, #009F54);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1s ease-in-out;
  z-index: 10000;
}

/* ==============================
   RESPONSIVIDADE
============================== */
@media (max-width: 1200px) {
  header { width: 95%; }
  .navbar ul { gap: 20px; }
}

@media (max-width: 992px) {
  .inicialFundo {
    padding: 18px 18px 60px;
    flex-direction: column;
  }

  .navbar { padding: 10px 16px; }
  .navbar ul { gap: 12px; }
  .navbar ul li a { padding: 8px 14px; }

  .rodape { padding: 50px 35px 30px; text-align: center; }

  .rodape-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .rodape-esquerda { text-align: center; }

  .emails { align-items: center; text-align: center; margin-top: 20px; }
  .emails li { justify-content: center; }

  .rodape-direita { text-align: center; }

  .rodape-divisor { width: 100%; height: 2px; margin: 15px 0; }

  .links-rodape { justify-content: center; gap: 28px; }

  .grupo_container { gap: 30px; }

  .icon_box { width: 100%; max-width: 480px; }
}

@media (max-width: 768px) {
  .inicialFundo {
    height: auto;
    min-height: 60vh;
    padding-top: 0;
  }

  /* Header / menu mobile: a partir daqui o menu vira um
     dropdown vertical controlado pelo botão hambúrguer
     (ver header.php para o JS que alterna a classe .is-open) */
  header { top: 14px; width: 94%; }

  .navbar {
    border-radius: 24px;
    padding: 10px 18px;
    justify-content: flex-end;
  }

  .navbar-toggle { display: flex; }

  .navbar ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
  }

  .navbar ul.is-open { display: flex; }

  .navbar ul li a {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  /* Imagem do card "IoT LUME" — mesma lógica do .img-wrapper acima,
     só ajustando a altura para a tela menor */
  .img-wrapper { height: 180px; }

  .sobre-sistema { padding: 60px 25px; margin-top: 0; }
  .sobre-sistema p { font-size: 1rem; }

  .carousel-item { min-height: auto; padding: 30px 0 50px; }

  .cards_container { gap: 24px; }
  .card_projetos { width: 100%; max-width: 420px; }
  .icon_box { width: 100%; max-width: 400px; }

  .sobre_icones .icon_box.iframe-box { max-width: 100%; }

  .grupo { padding: 60px 25px; }
  .grupo_container { gap: 24px; flex-direction: column !important; align-items: center !important; }
  .membro { width: 90%; max-width: 300px; padding: 25px 18px; }
  .membro img { width: 140px; height: 140px; }

  .rodape-divisor { width: 100%; height: 2px; margin: 15px 0; }

  .rodape { padding: 40px 20px; }
  .rodape-container { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .links-rodape { flex-direction: column; gap: 10px; }

  .emails { align-items: center; text-align: center; }
  .emails li { justify-content: center; }
  .if { justify-content: center; }
}

@media (max-width: 480px) {
  .inicialFundo { min-height: 50vh; }

  .rodape-divisor { width: 100%; height: 2px; margin: 15px 0; }

  .navbar ul { gap: 6px; }
  .navbar ul li a { padding: 10px 14px; font-size: 0.9rem; }

  .cards_header h2 { font-size: 1.8rem; }
  .cards_header p { font-size: 0.95rem; }
  .copy { font-size: 0.78rem; }

  /* Imagem do card "IoT LUME" no menor breakpoint */
  .img-wrapper { height: 150px; }
  .inicialFundo p { font-size: 1rem; }

  .icon_box img { width: 60px; height: 60px; }
  .icon_box { padding: 25px 20px; }

  .emails { margin-top: 18px; }
  .emails li { font-size: 0.85rem; }

  .grupo_container { gap: 18px; }
  .membro { max-width: 100%; padding: 22px 16px; }
  .membro img { width: 120px; height: 120px; margin-bottom: 16px; }
  .membro h3 { font-size: 1.05rem; }
}

/* ==============================
   SOBRE NÓS — classes exclusivas (sn-*)
   Navbar, footer, fade-in e responsividade
   já estão definidos acima e são reutilizados.
============================== */

.sn-secao {
  padding: 60px 40px 80px;
  position: relative;
  z-index: 3;
}

.sn-secao + .sn-secao {
  margin-top: -50px;
}

.sn-escuro { background: var(--azulescuro); }
.sn-claro  { background: var(--azulclaro);  }

.sn-secao:first-of-type {
  padding-top: 140px !important;
}

.sn-container {
  max-width: 1100px;
  margin: 0 auto;
}

.sn-bloco h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--textoclaro);
  text-align: center;
  margin-bottom: 30px;
}

.sn-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sn-col-texto {
  flex: 0 0 65%;
  max-width: 65%;
}

.sn-col-img {
  flex: 0 0 30%;
  max-width: 60%;
}

.sn-col-texto p {
  color: var(--textoclaro);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify;
}

.sn-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
}

.sn-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9em;
}

.sn-verde   { background: #2ec4b6; color: #fff; }
.sn-amarelo { background: #ffbf00; color: #1f1f1f; }
.sn-vermelho{ background: #e71d36; color: #fff; }

@media (max-width: 768px) {
  .sn-secao {
    padding: 80px 25px 60px;
  }

  .sn-secao:first-of-type {
    padding-top: 130px;
  }

  .sn-row {
    flex-direction: column;
  }

  .sn-col-texto,
  .sn-col-img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .sn-col-texto p {
    text-align: left;
  }
}

/* ==============================
   TABELAS — classes exclusivas (tb-*)
============================== */
.ta-icone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 0;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.ta-icone-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.ta-icone-legenda {
  position: relative;
  z-index: 2;
  color: var(--textoclaro);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.tb-hero {
  padding: 140px 40px 80px;
  text-align: center;
}

.tb-titulo {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--textoclaro);
  margin-bottom: 16px;
}

.tb-subtitulo {
  color: var(--textoclaro);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 32px;
}

.tb-legenda {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tb-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: var(--textoclaro);
}

.tb-dual-container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.tb-coluna {
  flex: 1;
  min-width: 0;
}

.tb-coluna-titulo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--textoclaro);
  text-align: center;
  margin-bottom: 8px;
}

.tb-desc {
  color: var(--textoclaro);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 16px;
  opacity: 0.75;
}

.tb-wrapper {
  overflow-x: auto;
  border-radius: 16px;
}

.tb-tabela {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tb-tabela thead tr {
  background: var(--azulescurao);
}

.tb-tabela thead th {
  color: var(--textoclaro);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}

.tb-tabela thead th:first-child { border-radius: 12px 0 0 0; }
.tb-tabela thead th:last-child  { border-radius: 0 12px 0 0; }

.tb-tabela tbody tr {
  background: rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}

.tb-tabela tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.11);
}

.tb-tabela tbody tr:hover {
  background: rgba(255,255,255,0.2);
}

.tb-tabela tbody td {
  color: var(--textoclaro);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tb-tabela tbody tr:last-child td { border-bottom: none; }

@media (max-width: 900px) {
  .tb-dual-container {
    flex-direction: column;
    padding: 0 25px;
  }

  .tb-hero    { padding: 130px 25px 60px; }
  .tb-titulo  { font-size: 2rem; }
  .tb-legenda { gap: 12px; }
}

/* ==============================
   TECNOLOGIAS ASSISTIVAS — classes (ta-*)
============================== */
.ta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.ta-card {
  background: rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.ta-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.ta-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--textoclaro);
  margin-bottom: 14px;
}

.ta-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ta-card ul li {
  color: var(--textoclaro);
  font-size: 0.9rem;
  line-height: 1.4;
  padding-left: 14px;
  position: relative;
  opacity: 0.9;
}

.ta-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  opacity: 0.5;
}

.ta-icone-grande {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 14px;
}

.ta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ta-pill {
  background: rgba(255,255,255,0.12);
  color: var(--textoclaro);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}

.ta-lei-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.ta-lei {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 24px 28px;
}

.ta-lei-ano {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fundocards);
  white-space: nowrap;
  min-width: 52px;
  line-height: 1.2;
}

.ta-lei strong {
  display: block;
  color: var(--textoclaro);
  font-size: 1rem;
  margin-bottom: 8px;
}

.ta-lei p {
  color: var(--textoclaro);
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
}

@media (max-width: 768px) {
  .ta-grid {
    grid-template-columns: 1fr;
  }

  .ta-lei {
    flex-direction: column;
    gap: 10px;
  }

  .ta-lei-ano {
    font-size: 1.1rem;
  }
}

/* ==============================
   SOBRE O PROJETO — layout wide + carrossel
============================== */
.sn-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.sn-titulo-secao {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--textoclaro);
  text-align: center;
  margin-bottom: 36px;
}

.sn-col-texto-lg {
  flex: 1 1 0;
  min-width: 0;
}

.sn-col-texto-lg h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--textoclaro);
  margin-bottom: 24px;
}

.sn-col-texto-lg p {
  color: var(--textoclaro);
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify;
  margin: 0;
}

.sn-col-img-lg {
  flex: 0 0 38%;
  max-width: 38%;
  height: 340px;
  display: flex;
  align-items: stretch;
}

.sn-img-tall {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: block;
}

.sn-row-img-right {
  display: flex;
  align-items: center;
  gap: 48px;
}

.sn-row-img-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Carrossel Bootstrap usado na seção "Sobre o projeto" — isolado
   para não herdar o min-height:640px do .carousel-item global */
.sn-carousel {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  height: 340px;
  width: 100%;
}

.sn-carousel .carousel-item {
  height: 340px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.sn-carousel-inner {
  height: 100%;
}

.sn-carousel-img {
  height: 340px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .sn-container-wide {
    padding: 0 20px;
  }

  .sn-titulo-secao {
    font-size: 1.8rem;
    margin-bottom: 28px;
  }

  .sn-row-img-right,
  .sn-row-img-left {
    flex-direction: column;
    gap: 28px;
  }

  .sn-col-img-lg {
    flex: 0 0 100%;
    max-width: 100%;
    height: 260px;
  }

  .sn-carousel,
  .sn-carousel .carousel-item,
  .sn-carousel-img {
    height: 260px !important;
  }
}

/* ==============================
   LOGIN
============================== */
.login-page {
    min-height: 100vh;
    background-color: var(--azulescuro);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.login-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 900px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.login-painel {
    flex: 0 0 42%;
    background-color: var(--azulclaro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    gap: 20px;
}

.login-painel img.login-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.login-painel h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--textoclaro);
    letter-spacing: 0.12em;
    margin: 0;
}

.login-painel p {
    color: var(--textoclaro);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0.75;
    margin: 0;
}

.login-divisor-v {
    width: 48px;
    height: 2px;
    background: var(--textoclaro);
    opacity: 0.3;
    border-radius: 2px;
}

.login-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.login-form-area {
    flex: 1;
    background-color: var(--azulescurao);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 44px;
    gap: 28px;
}

.login-form-area h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--textoclaro);
    margin: 0;
}

.login-form-area p.login-sub {
    color: var(--textoclaro);
    font-size: 0.88rem;
    opacity: 0.6;
    margin: -16px 0 0;
}

.login-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-campo label {
    color: var(--textoclaro);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}

.login-campo input {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 13px 18px;
    color: var(--textoclaro);
    font-family: "cocomat pro", sans-serif;
    font-size: 0.97rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.login-campo input::placeholder {
    opacity: 0.35;
}

.login-campo input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.11);
}

.login-extras {
    display: flex;
    justify-content: flex-end;
    margin-top: -12px;
}

.login-extras a {
    color: var(--textoclaro);
    font-size: 0.82rem;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.login-extras a:hover {
    opacity: 0.9;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--azulclaro);
    color: var(--textoclaro);
    font-family: "cocomat pro", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background-color: #1d5568;
}

.login-btn:active {
    transform: translateY(0);
}

.login-sep {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-sep span {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-sep p {
    color: var(--textoclaro);
    font-size: 0.78rem;
    opacity: 0.4;
    margin: 0;
    white-space: nowrap;
}

.login-cadastro {
    text-align: center;
    color: var(--textoclaro);
    font-size: 0.85rem;
    opacity: 0.55;
}

.login-cadastro a {
    color: var(--textoclaro);
    opacity: 1;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(248, 244, 209, 0.4);
    transition: opacity 0.2s ease;
}

.login-cadastro a:hover {
    opacity: 0.75;
}

@media (max-width: 680px) {
    .login-wrapper {
        flex-direction: column;
        border-radius: 24px;
    }

    .login-painel {
        flex: 0 0 auto;
        padding: 36px 28px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .login-painel p,
    .login-divisor-v {
        display: none;
    }

    .login-form-area {
        padding: 36px 28px;
    }
}