:root {
  --cor-principal: #304848;
  --cor-secundaria: #ffffff;
  --cor-destaque: #9A641A;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--cor-principal);
  background-color: var(--cor-principal);
}

header {
  background-color: rgba(48, 72, 72, 0.95);
  color: var(--cor-secundaria);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease;
}

header img {
  height: 50px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--cor-secundaria);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.social {
  display: flex;
  gap: 16px;
}

.social img {
  width: 20px;
  filter: brightness(0) invert(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 70vw;
  max-width: 320px;
  height: 100vh;
  background: #304848;
  z-index: 2000;
  padding: 48px 32px 24px 32px;
  box-shadow: -2px 0 18px 0 rgba(0, 0, 0, 0.18);
  gap: 28px;
  animation: slideInMenu 0.22s;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile .close-mobile {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

.nav-mobile .nav-link {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.nav-mobile .nav-link:hover {
  color: #9A641A;
}

@keyframes slideInMenu {
  from {
    right: -100vw;
    opacity: 0;
  }

  to {
    right: 0;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  nav.nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 901px) {
  .nav-mobile {
    display: none !important;
  }

  .hamburger {
    display: none !important;
  }

  nav.nav-desktop {
    display: flex;
    gap: 30px;
  }
}



.hero-section-custom {
  position: relative;
  width: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 0;
  z-index: 0;
  overflow: hidden;
}

/* VIDEO DE FUNDO */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  background-attachment: fixed;
}

/* OVERLAY DEGRADE */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(212, 243, 255, 0.55), rgba(34, 51, 51, 1));
  z-index: 1;
  opacity: 1;
}

.hero-text-custom {
  background: rgba(34, 51, 51, 1);
  color: #fff;
  max-width: 650px;
  width: 90vw;
  padding: 48px 38px 36px 38px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 8px 32px 0 rgba(34, 51, 51, 0.22);
  text-align: left;
  letter-spacing: 1px;
  line-height: 1.18;
  margin: 5vw 0 5vw 7vw;
  position: relative;
  z-index: 2;
  border-radius: 11px 0 11px 11px;
}

.hero-marrom-detail {
  content: '';
  display: block;
  position: absolute;
  right: -18px;
  top: 0px;
  height: 70%;
  width: 18px;
  background: #9A641A;
  z-index: 2;
  border-radius: 0 11px 11px 0;
}

.hero-text-custom strong {
  font-weight: 700;
  color: #fff;
  font-size: 1.09em;
  display: block;
  margin-top: 8px;
}

.hero-arrow-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-30%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

.hero-arrow-down:hover {
  transform: translateX(-50%) scale(1.12);
}

/* Garante que não sobreponha o texto em telas pequenas */
@media (max-width: 900px) {
  .hero-arrow-down {
    bottom: 12px;
    width: 38px;
    height: 38px;
  }

  .hero-arrow-down svg {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 900px) {
  .hero-section-custom {
    min-height: 700px;
    justify-content: center;
  }

  .hero-text-custom {
    font-size: 1.35rem;
    padding: 25px 6vw 18px 6vw;
    border-radius: 8px;
    text-align: center;
    margin: 8vw auto 3vw 3vw;
  }

  .hero-marrom-detail {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-section-custom {
    min-height: 92vh;
  }

  .hero-text-custom {
    font-size: 1rem;
    padding: 18px 5vw 12px 5vw;
    margin: 5vw 0 5vw 2vw;
  }
}



.escritorio-real {
  position: relative;
  width: 100%;
  background: none;
  overflow: hidden;
  padding: 90px 0 70px 0;
  z-index: 1;
}

.escritorio-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(120deg, #e8f2f6 70%, #fff 100%);
  background-image: url('src/img/escritorio-bg.png');
  background-attachment: fixed;
  opacity: 0.2;
  z-index: 0;
}

.escritorio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  max-width: 1100px;
  margin: auto;
  box-shadow: 0 8px 44px 0 rgba(34, 51, 51, 0.13);
  border-radius: 14px;
  position: relative;
  z-index: 2;
}

.escritorio-info-box {
  padding: 35px 38px 35px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.escritorio-title {
  color: #304848;
  font-size: 2.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-align: left;
  letter-spacing: 1px;
  margin-bottom: 13px;
  width: 100%;
}

.escritorio-underline {
  display: block;
  margin: 7px 0 0 0;
  width: 70px;
  height: 4px;
  background: #9A641A;
  border-radius: 2px;
}

.escritorio-info-box p {
  color: #304848;
  font-size: 1.05rem;
  margin: 0 0 9px 0;
  text-align: left;
  line-height: 1.48;
  max-width: 430px;
}

.escritorio-info-box p strong {
  font-weight: 700;
  color: #223333;
  font-size: 1.09rem;
}

.escritorio-cta-row {
  margin-top: 10px;
}

.escritorio-btn {
  background: #304848;
  color: #fff;
  font-weight: 700;
  font-size: 1.07rem;
  padding: 10px 32px 8px 32px;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 14px 0 rgba(48, 72, 72, 0.09);
  letter-spacing: 1px;
  border: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  position: relative;
}

.escritorio-btn::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  background: #9A641A;
  border-radius: 2px;
  margin-top: 4px;
}

.escritorio-btn:hover {
  background: #223333;
  color: #fff;
}

.escritorio-img-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: rgba(48, 72, 72, 0.08);
  padding: 0 0 0 0;
}

.escritorio-img-box img {
  width: 100%;
  height: 605px;
  border-radius: 0 11px 11px 0;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.10);
  object-fit: cover;
}

@media (max-width: 950px) {
  .escritorio-grid {
    grid-template-columns: 1fr;
    max-width: 97vw;
  }

  .escritorio-img-box {
    padding: 28px 7vw;
    text-align: center;
  }

  .escritorio-title,
  .escritorio-info-box p {
    text-align: center;
  }

  .escritorio-underline {
    display: block;
    width: 40px;
    height: 4px;
    background: #9A641A;
    border-radius: 2px;
    margin: 0 auto;
  }

  .escritorio-bg {
    background-image: url('src/img/escritorio.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .escritorio-img-box {
    display: none;
  }

  .escritorio-img-box img {
    display: none;
  }


}

@media (max-width: 600px) {
  .escritorio-grid {
    background: rgba(255, 255, 255, 0.82);
    margin: auto 20px;
  }

  .escritorio-bg {
    background-image: url('src/img/escritorio.png');
    opacity: 100;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: unset;
  }

  .escritorio-real {
    padding: 60px 0 40px 0;
  }

  .escritorio-title {
    font-size: 1.22rem;
  }

  .escritorio-underline {
    display: block;
    width: 40px;
    height: 4px;
    background: #9A641A;
    border-radius: 2px;
    margin: 0 auto;
  }

  .escritorio-img-box {
    display: none;
  }

  .escritorio-img-box img {
    display: none;
  }
}

.area-atuacao-real {
  position: relative;
  background: transparent;
  padding: 80px 0 40px 0;
  /* diminua o padding-bottom (último valor) */
  min-height: 0;
  /* pode até remover min-height se não precisa */
  overflow: hidden;
  min-height: 900px;
}

.area-atuacao-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #304848 url('src/img/area-atuacao.avif') center/cover no-repeat;
  opacity: 0.95;
  z-index: 1;
  background-attachment: fixed;
}

.area-atuacao-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: auto;
  padding: 0 2vw;
}

.area-atuacao-title {
  text-align: center;
  color: #fff;
  font-size: 2vw;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  margin-bottom: 18px;
  position: relative;
  display: block;
  /* Altera para block para centralizar */
  letter-spacing: 1px;
  width: 100%;
  /* Garante que ocupe toda a largura do container */
}

.area-atuacao-underline {
  display: block;
  margin: 5px auto 0 auto;
  /* Centraliza horizontalmente */
  width: 85px;
  height: 5px;
  background: #9A641A;
  border-radius: 2px;
}

.area-atuacao-grid {
  display: grid;
  grid-template-columns: 636px 432px 432px;
  /* Aumentado 20% */
  grid-template-rows: 216px 216px 5px;
  /* Aumentado 20% */
  grid-gap: 22px;
  margin: 55px auto 46px auto;
  max-width: 1560px;
}

.area-atuacao-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 28px 0 rgba(0, 0, 0, 0.07);
  background: #ccc;
  display: flex;
  align-items: flex-end;
  border-radius: 11px;
}

.area-atuacao-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.area-atuacao-card:hover img {
  transform: scale(1.03);
}

.card-btn {
  position: absolute;
  background: #304848;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  padding: 15px 33px 13px 18px;
  border-radius: 0;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  border-radius: none;
  border-radius: 11px;
}

.card-btn span {
  color: #9A641A;
  margin-left: 7px;
  font-size: 1.28em;
  font-weight: bold;
}

.card-btn:hover {
  background: #223333;
  color: #fff;
}

/* GRID ESPECÍFICO */
.area-atuacao-card.trabalhista {
  grid-row: 1 / span 3;
  grid-column: 1 / 2;
  min-width: 636px;
  min-height: 530px;
  height: 655px;
}

.card-btn-grande {
  bottom: 40px;
  font-size: 1.18rem;
}

.card-btn card-btn-grande{
  bottom: 10px;
  font-size: 1.18rem;
}


.area-atuacao-card.civil {
  grid-row: 1;
  grid-column: 2;
  min-width: 360px;
  min-height: 180px;
}

.card-btn-pequeno.cima {
  left: 28px;
  bottom: 28px;
  font-size: 1.05rem;
}

.area-atuacao-card.tributario {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  min-width: 360px;
  min-height: 180px;
}

.card-btn-pequeno.baixo {
  left: 28px;
  bottom: 28px;
  font-size: 1.05rem;
}

.area-atuacao-card.societario {
  grid-row: 1 / 3;
  grid-column: 3 / 4;
  min-width: 300px;
  min-height: 530px;
  height: 655px;
  width: 330px;
}

.card-btn-grande {
  left: 28px;
  bottom: 32px;
  font-size: 1.12rem;
}

/* VEJA MAIS */
.veja-mais-cell {
  grid-row: 3;
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  /* Alinha ao topo */
  justify-content: left;
  /* Centraliza na horizontal */
  height: 100%;
  /* Garante que ocupe toda a célula */
}

.veja-mais-btn {
  color: #fff;
  font-weight: bold;
  font-size: 1.35rem;
  padding: 15px 15px;
  background: rgba(0, 0, 0, 0.15);
  /* preto transparente */
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
  border: none;
  display: inline-block;
  /* Opcional: efeito glass */
  backdrop-filter: blur(2px);
}

.veja-mais-btn:hover {
  background: rgba(0, 0, 0, 0.30);
  /* mais opaco ao passar o mouse */
  color: #9A641A;
  /* destaca a cor da paleta */
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.17);
}

/* RESPONSIVO */
@media (max-width: 1400px) {
  .area-atuacao-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
    max-width: 99vw;
  }
}

@media (max-width: 1100px) {
  .area-atuacao-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 180px 250px 250px;
    max-width: 96vw;
  }

  .area-atuacao-card.trabalhista,
  .area-atuacao-card.societario {
    min-width: 100%;
  }
}

@media (max-width: 800px) {
  .area-atuacao-title {
    font-size: 6vw;
    text-align: center;
  }

  .area-atuacao-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 99vw;
  }

  .area-atuacao-card {
    min-width: 100% !important;
    height: 180px !important;
    min-height: 130px !important;
  }

  .card-btn,
  .card-btn-grande,
  .card-btn-pequeno {
    font-size: 4vw;
    left: 14px !important;
    bottom: 20px !important;
    padding: 12px 20px 10px 14px;
  }
}

@media (max-width: 900px) {
  .area-atuacao-underline {
    margin: 5px auto 0 auto;
    /* Mantém centralizado em telas menores */
    width: 65px;
  }
}

/* Mobile: telas menores que 600px */
@media (max-width: 600px) {
  .area-atuacao-underline {
    margin: 5px auto 0 auto;
    width: 40px;
  }

  .area-atuacao-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: unset;
  }
}

.socios-title-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  margin-top: -18px;
  position: relative;
  z-index: 3;
}

.socios-title {
  color: #304848;
  font-size: 2vw;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  margin-bottom: 8px;
  display: inline-block;
  background-color: #fff;
  padding: 0 20px;
  width: 100%;
  margin-top: -100px;
}

.socios-underline {
  display: block;
  height: 5px;
  background: #9A641A;
  width: 7000vw;
  margin-left: -20px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .socios-title {
    font-size: 2.2rem;
  }

  .socios-underline {
    width: 65px;
  }
}

@media (max-width: 540px) {
  .socios-title {
    font-size: 1.4rem;
  }

  .socios-underline {
    width: 100vw;
  }
}

.socios-section {
  width: 100%;
  position: relative;
  padding: 90px 0 90px 0;
  overflow: hidden;
  min-height: 500px;
}

.socios-bg-img {
  position: absolute;
  top: 0px;
  width: 100vw;
  height: 100vh;
  background: url('src/img/socios1.png') bottom/cover no-repeat;
  z-index: 1;
  background-attachment: fixed;
  filter: blur(5px);
}

.socios-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  gap: 24px;
  padding: 0 15vw;
}

.socio-card {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 260px;
  max-width: 350px;
  transition: transform 0.2s;
  margin-bottom: 18px;
  position: relative;
}

.socio-card:hover {
  transform: translateY(-9px) scale(1.035);
}

.socio-foto {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: top;
  /* Foca no topo da imagem */
  box-shadow: 0 4px 28px 0 rgba(48, 72, 72, 0.90);
  margin-bottom: 0;
  background: #eee;
  transition: box-shadow 0.2s;
  border-radius: 11px 11px 0 0;
}

.socio-btn {
  background: #304848;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 58px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 0;
  box-shadow: 0 4px 28px 0 rgba(48, 72, 72, 0.90);
  border: none;
  z-index: 2;
  border-radius: 0 0 11px 11px;
}

.socio-nome {
  background: #304848;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 14px 20px;
  width: 100%;
  border-radius: 0 0 11px 11px;
  box-shadow: 0 4px 28px 0 rgba(48, 72, 72, 0.90);
  border-top: 3px solid #9A641A;
}

.socio-btn .btn-detalhe {
  display: none;
}

.socio-btn::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #9A641A;
  border-radius: 8px 8px 0 0;
  z-index: 1;
}

.socio-btn:hover,
.socio-card:hover .socio-btn {
  background: #223333;
  color: #fff;
  box-shadow: 0 8px 44px 0 rgba(154, 100, 26, 0.18);
}

.socio-btn:active {
  background: #223333;
}

/* MODAL */
.modal-socio {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(48, 72, 72, 0.48);
  animation: fadeInModal 0.25s;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-socio.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  max-width: 800px;
  width: 100vw;
  display: flex;
  align-items: center;
  /* Centraliza verticalmente a imagem */
  padding: 0;
  box-shadow: 0 12px 48px 0 rgba(48, 72, 72, 0.25);
  position: relative;
  animation: popInModal 0.23s;
  border-radius: 11px;
}

@keyframes popInModal {
  from {
    transform: scale(0.93);
  }

  to {
    transform: scale(1);
  }
}

.modal-foto {
  width: 330px;
  /* Aumenta o tamanho da imagem */
  height: 660px;
  object-fit: cover;
  background: #eee;
  align-self: center;
  box-shadow: 0 2px 18px 0 rgba(48, 72, 72, 0.11);
  border-radius: 11px 0 0 11px;
}

.modal-info {
  flex: 1 1 0;
  padding: 32px 32px 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h3 {
  font-family: 'Montserrat', sans-serif;
  color: #304848;
  margin: 0 0 16px 0;
  font-size: 1.65rem;
}

.modal-info p {
  color: #223333;
  font-size: 1.09rem;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 2.2rem;
  color: #9A641A;
  cursor: pointer;
  font-weight: bold;
  background: none;
  border: none;
  z-index: 2;
}

.modal-close:hover {
  color: #304848;
}

.modal-linkedin img {
  filter: grayscale(0%) brightness(0.7);
  transition: filter 0.2s;
}

.modal-linkedin img:hover {
  filter: grayscale(0%) brightness(1.1) drop-shadow(0 2px 6px #9A641A);
}

.modal-areas-marrom {
  color: #9A641A;
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: 1px;
  display: block;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .socios-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .socio-card {
    max-width: 700px;
    min-width: 220px;
  }
}

@media (max-width: 600px) {
  .modal-close {
    position: sticky;
    top: 0;
    right: 8px;
    left: auto;
    margin-top: 10px;
    margin-left: 380px;
    background: #fff;
    /* Opcional */
    padding: 2px 12px 2px 12px;
    border-radius: 5px;
    font-size: 2.4rem;
    z-index: 10;
    box-shadow: 0 2px 12px 0 rgba(48, 72, 72, 0.08);
  }

  .modal-content {
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 70vh;
    width: 90vw;
    height: 70vh;
    overflow-y: auto;
  }

  .modal-foto {
    width: 70vw;
    max-width: 200px;
    min-width: 90px;
    height: 200px;
    max-height: 200px;
    margin: 18px auto 0 auto;
    object-fit: cover;
    object-position: top;
    border-radius: 11px 11px 0 0;
    display: block;
    border-radius: 11px;
    box-shadow: #223333 0 2px 18px 0 rgba(48, 72, 72, 0.11);
  }

  .modal-info {
    padding: 14px 7px 10px 7px;
    text-align: center;
    align-items: center;
    max-height: none;
    overflow-y: visible;
    word-break: break-word;
  }

  .socios-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: unset;
    height: 1100px;
    width: 100vw;
  }
}



.contato-section {
  background: linear-gradient(#223333, #4d6969);
  padding: 80px 0 80px 0;
  width: 100%;
  /* Corrige overflow horizontal */
  min-height: 520px;
}

body,
html {
  overflow-x: hidden;
}

.contato-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 38px;
  padding: 0 2vw;
}

.contato-form-box {
  flex: 1 1 340px;
  max-width: 420px;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: 15px;
  padding: 44px 28px 38px 28px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.contato-title {
  color: #fff;
  font-size: 2.3rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.contato-underline {
  display: block;
  margin: 0 auto 18px auto;
  width: 85px;
  height: 5px;
  background: #9A641A;
  border-radius: 2px;
}

.contato-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 24px;
}

.contato-form input,
.contato-form textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: #223333;
  box-shadow: 0 1px 8px 0 rgba(34, 51, 51, 0.04);
  resize: none;
  transition: background 0.16s;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: 2px solid #9A641A;
  background: #fff;
}

.contato-form button {
  background: #9A641A;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 7px;
  font-size: 1.1rem;
  padding: 13px 0;
  margin-top: 6px;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.09);
  cursor: pointer;
  letter-spacing: 1px;
  transition: background 0.16s;
}

.contato-form button:hover {
  background: #6c4611;
  color: #fff;
}

.contato-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 8px 0;
}

.contato-info p {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.contato-info p i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 1.1rem;
  color: #9A641A;
}

.contato-info p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.contato-info p a:hover {
  color: #9A641A;
}

.contato-redes {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 16px;
}

.contato-icon-link svg {
  display: block;
  filter: brightness(1);
  transition: filter 0.22s;
}

.contato-icon-link:hover svg {
  filter: brightness(1.6) drop-shadow(0 0 6px #9A641A);
}

.contato-mapa-box {
  flex: 1 1 350px;
  min-width: 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  padding: 32px 18px 24px 18px;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.04);
}

.contato-mapa {
  width: 100%;
  min-height: 270px;
  height: 500px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.12);
  border: none;
}

.contato-endereco {
  color: #fff;
  font-size: 1.01rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  margin-top: 5px;
  opacity: 0.86;
}

/* Responsivo */
@media (max-width: 950px) {
  .contato-container {
    flex-direction: column;
    gap: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 2vw;
    max-width: 99vw;
  }

  .contato-form-box,
  .contato-mapa-box {
    width: 100%;
    max-width: 99vw;
    min-width: 0;
    padding: 22px 2vw 16px 2vw;
  }
}

@media (max-width: 600px) {

  .contato-form-box,
  .contato-mapa-box {
    padding: 22px 2vw 16px 2vw;
    border-radius: 8px;
  }

  .contato-title {
    font-size: 1.24rem;
  }

  .contato-underline {
    width: 40px;
    height: 4px;
  }

  .contato-mapa {
    height: 180px;
    border-radius: 7px;
    min-height: 120px;
  }
}



.footer-custom {
  background: #304848;
  color: #fff;
  padding: 24px 0 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.03rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-info p {
  margin: 0 0 4px 0;
  line-height: 1.5;
  font-size: 1.01rem;
}

.footer-info a {
  color: #9A641A;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  margin: 16px 0 0 0;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.footer-social svg {
  filter: brightness(1);
  transition: filter 0.18s;
}

.footer-social a:hover svg {
  filter: brightness(1.6) drop-shadow(0 0 6px #9A641A);
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #d2d2d2;
  letter-spacing: 0.2px;
  text-align: center;
}

@media (max-width: 650px) {
  .footer-content {
    padding: 0 4vw;
    font-size: 0.95rem;
  }

  .footer-info p {
    font-size: 0.97rem;
  }

  .footer-copy {
    font-size: 0.87rem;
  }
}



.modal-atuacao {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(48, 72, 72, 0.60);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.25s;
}

.modal-atuacao.active {
  display: flex;
}

.modal-atuacao-content {
  background: #fff;
  max-width: 850px;
  width: 92vw;
  max-height: 88vh;
  border-radius: 17px;
  box-shadow: 0 8px 48px 0 rgba(34, 51, 51, 0.25);
  padding: 40px 48px 24px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  animation: popInModal 0.18s;
}

@keyframes popInModal {
  from {
    transform: scale(0.93);
  }

  to {
    transform: scale(1);
  }
}

.modal-atuacao-close {
  position: absolute;
  top: 18px;
  right: 34px;
  font-size: 2.7rem;
  color: #9A641A;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
  line-height: 1;
  transition: color 0.19s;
}

.modal-atuacao-close:hover {
  color: #304848;
}

.modal-atuacao-titulo {
  font-size: 2.15rem;
  color: #304848;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
  letter-spacing: 1px;
  position: relative;
}

.modal-atuacao-underline {
  display: block;
  margin: 7px 0 18px 0;
  width: 85px;
  height: 5px;
  background: #9A641A;
  border-radius: 2px;
}

.modal-atuacao-scroll {
  width: 100%;
  overflow-y: auto;
  padding-right: 12px;
  font-size: 1.09rem;
  color: #223333;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.72;
  max-height: 59vh;
  margin-bottom: 26px;
}

.modal-atuacao-scroll p {
  margin-bottom: 18px;
}

.modal-atuacao-scroll ul,
.modal-atuacao-scroll ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

.modal-atuacao-responsaveis {
  margin-top: 8px;
  color: #304848;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  width: 100%;
  border-top: 1px solid #e9e9e9;
  padding-top: 13px;
  text-align: left;
}

/* Responsivo */
@media (max-width: 950px) {
  .modal-atuacao-content {
    max-width: 99vw;
    padding: 20px 10px 12px 10px;
  }

  .modal-atuacao-titulo {
    font-size: 1.24rem;
  }
}

@media (max-width: 650px) {
  .modal-atuacao-scroll {
    font-size: 0.97rem;
    max-height: 52vh;
  }
}

/* Estilos da seção do Instagram */
/* Padronização da área de NOSSAS PUBLICAÇÕES */
.instagram-feed-section {
  background-color: var(--cor-secundaria);
  padding: 60px 20px;
  text-align: center;
}

.instagram-feed-container {
  max-width: 1000px;
  margin: 0 auto;
}

.instagram-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: var(--cor-principal);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.instagram-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  color: #555;
  margin-bottom: 32px;
}

.instagram-frame-wrapper {
  display: flex;
  justify-content: center;
}

.instagram-embed-frame {
  width: 100%;
  max-width: 800px;
  height: 500px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(48,72,72,0.08);
  background: #fff;
}

/* Centralização 100% da seção do Instagram Feed */
.instagram-feed {
  background-color: #fff;
  padding: 60px 0;
}
.instagram-feed > div {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}
.instagram-feed h2 {
  font-size: 2rem;
  color: #005091;
  margin-bottom: 8px;
}
.instagram-feed p {
  color: #555;
  margin-bottom: 30px;
}
.instagram-feed .instagram-frame-wrapper {
  display: flex;
  justify-content: center;
}
.instagram-feed iframe {
  width: 100%;
  max-width: 800px;
  height: 500px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .instagram-feed iframe {
    max-width: 100vw;
    height: 350px;
  }
}
@media (max-width: 600px) {
  .instagram-title {
    font-size: 1.3rem;
  }
  .instagram-embed-frame {
    height: 320px;
  }
}