



/* BANNER */



.banner {
  background: url("../img/banner.png") no-repeat center center;
  background-size: cover;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}



.banner-content {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.banner p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}




/* BANNER */


/* Sessão Sobre */
.sobre-profissional .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; /* espaço entre imagem e texto */
  padding: 60px 50px;
}

.sobre-left {
  flex: 1; /* ocupa metade da largura */
}

.sobre-left img.profissional-img {
  max-width: 100%;   /* imagem nunca passa da largura do container */
  width: 350px;      /* tamanho fixo mais controlado */
  height: auto;      /* mantém proporção */
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.sobre-right {
  flex: 2; /* ocupa mais espaço que a imagem */
  text-align: left;
}

.sobre-right h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.sobre-right p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Responsivo para celular */
@media (max-width: 768px) {
  .sobre-profissional .container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-left img.profissional-img {
    width: 250px; /* menor em telas pequenas */
    margin-bottom: 20px;
  }

  .sobre-right {
    text-align: center;
  }
}


/* Faixa inferior */
.sobre-info {
  background: #0b1a3c;
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.info-item {
  text-align: center;
  flex: 1 1 200px;
  margin: 10px;
}

.info-item img {
  height: 40px;
  margin-bottom: 10px;
}

.info-item h3 {
  color: #00aaff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.info-item p {
  font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .sobre-deputado .container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-info {
    flex-direction: column;
  }
}

/* SOBRE O DEPUTADO */



.projetos-destaque {
  background: #fff;
  padding: 80px 50px;
  text-align: center;
}

.projetos-destaque h2 {
  font-size: 2rem;
  color: #0b1a3c;
  margin-bottom: 10px;
  font-weight: 700;
}

.projetos-destaque .intro {
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
}

.cards-projetos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card-projeto {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-projeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card-projeto img {
  height: 50px;
  margin-bottom: 15px;
}

.card-projeto h3 {
  color: #007bff;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-projeto p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsividade */
@media (max-width: 768px) {
  .cards-projetos {
    grid-template-columns: 1fr;
  }
}





.areas-atuacao {
  text-align: center;
  padding: 80px 50px;
  background-color: #f9f9f9;
}

.areas-atuacao h4 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 10px;
}

.areas-atuacao h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0b1a3c;
}

.cards-atuacao {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-atuacao {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 250px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card-atuacao:hover {
  transform: translateY(-5px);
}

.card-atuacao img {
  max-width: 60px;
  margin-bottom: 20px;
}

.card-atuacao h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1c2f5d;
}

.card-atuacao p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.link-saiba {
  font-weight: bold;
  color: #e63946;
  text-decoration: none;
}




.projetos-noticias-grid {
  padding: 80px 50px;
  background-color: #f9f9f9;
  text-align: center;
}

.grid-projetos, .grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card-projeto, .card-noticia {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card-projeto:hover, .card-noticia:hover {
  transform: translateY(-5px);
}

.card-projeto img, .card-noticia img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card-noticia .data {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

.card-projeto h3, .card-noticia h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1c2f5d;
}

.card-projeto p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.link-saiba {
  font-weight: bold;
  color: #e63946;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  border: 2px solid #1c2f5d;
  color: #1c2f5d;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-outline:hover {
  background: #1c2f5d;
  color: #fff;
}





/* Corrige o corte causado pelo header fixo */
body {
  padding-top: 100px; /* ajuste conforme a altura real do seu header */
}

/* Galeria */
.galeria {
  padding: 60px 50px;
  text-align: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.galeria-grid figure {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.galeria-grid figure:hover {
  transform: translateY(-5px);
}

.galeria-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.galeria-grid figcaption {
  padding: 10px;
  font-size: 1rem;
  color: #333;
  background: #f9f9f9;
}







/* Popup */
.aviso-termos {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.9); /* fundo branco translúcido */
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  color: #333;
  z-index: 2000;
  display: none; /* começa oculto */
  max-width: 500px;
  text-align: center;
}

.aviso-termos a {
  color: #0b1a3c;
  font-weight: bold;
  text-decoration: none;
}

.aviso-termos a:hover {
  text-decoration: underline;
}

.botoes {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.botoes button {
  background: #0b1a3c;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.botoes button:hover {
  background: #e83e8c;
}







/* Responsividade */
@media (max-width: 768px) {
  .container-projetos-noticias {
    flex-direction: column;
  }

  .coluna {
    flex: 1 1 100%;
  }
}













































* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho fixo */
header {
  background: #0b1a3c;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

header .logo img {
  height: 60px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e83e8c;
}

.btn {
  background: #e83e8c;
  padding: 10px 20px;
  border-radius: 5px;
  color: #fff !important;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #c72d74;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 50px 80px; /* espaço extra por causa do header fixo */
  background: linear-gradient(135deg, #0b1a3c, #1c2f5d);
  color: #fff;
}

.hero-text {
  flex: 1;              /* ocupa metade do espaço */
  text-align: left;     /* garante alinhamento à esquerda */
  max-width: 50%;       /* limita largura para não ocupar toda a tela */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.hero-img {
  flex: 1;              /* ocupa a outra metade */
  display: flex;
  justify-content: center;
}

.hero-img img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text, .hero-img {
    max-width: 100%;
  }
}






/* Seções internas */
section {
  padding: 60px 30px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0b1a3c;
}

.card {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Notícias */
.noticias article {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid #e83e8c;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Galeria */
.galeria .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.galeria img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}

/* Formulário de contato */
.contato form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato input,
.contato textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contato button {
  background: #0b1a3c;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contato button:hover {
  background: #e83e8c;
}

/* Rodapé */
footer {
  background: #0b1a3c;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer .social a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .social a:hover {
  color: #e83e8c;
}

/* Menu responsivo com animação */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background: #0b1a3c;
    position: absolute;
    top: 80px;
    right: -220px;
    width: 200px;
    transition: right 0.4s ease;
    padding: 20px;
  }

  nav ul.show {
    right: 0;
  }

  nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  nav ul.show li {
    opacity: 1;
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img img {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}
