* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', serif;
  color: #2c2c2c;
  background-color: #2c3350; 
}

.navbar {
  background: #313C5D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  position: relative;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
}

.navbar a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff; 
  transition: all 0.3s ease;
}

.btn-contato:hover {
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; 
  transition: all 0.3s ease;
}

.btn-contato {
  position: absolute;
  right: 30px;
  background: #fff;
  color: #313C5D !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  transform: translateY(-50%);
  top: 25px;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar.active .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar.active ul {
  transform: translateX(0);
}

.hero {
  background: url("img/capa.png") center/cover no-repeat;
  height: 700px;
  position: relative;
}

.hero .overlay {
  background: rgba(255,255,255,0.1);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #2c3350;
}

.hero h1 {
  font-family: 'Style Script', cursive; 
  font-size: 100px;
  font-weight: 300;
  margin-bottom: 10px;
}

.hero p {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

.hero .linha {
  width: 300px;
  height: 3px;
  background: #2c3350;
  margin-top: 10px;
}

.servicos {
  background: #2c3350; 
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.servicos .container {
  max-width: 1200px;
  margin: 0 auto;
}

.servicos p {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 10px;
}

.servicos .linha-titulo {
  width: 294px;
  height: 2px; 
  background: #fff; 
  margin: 15px auto; 
}

.grid-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin-top: 50px;
}

.servico {
background: #fff; 
color: #2c3350; 
padding: 40px 40px;
border-radius: 3px;
font-size: 18px;
font-weight: 500;
cursor: default;
aspect-ratio: 0.5 / 0.5; 
display: flex;
flex-direction: column;
justify-content: flex-end; 
align-items: center;
padding-bottom: 30px; 
font-family: 'Playfair Display', serif;
font-size: 25px;
transition: transform 0.3s, box-shadow 0.3s; 
}

.servico:hover {
transform: scale(1.05); 
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.servico img {
  width: 200px;   
  height: 200px;  
  object-fit: contain;
  margin-bottom: 30px;
}

.duas-imagens {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: #2c3350;
  position: relative; 
  padding: 10px 20px;
}

.imagem-container {
  flex: 1 1 50%; 
  max-width: 650px; 
  position: relative;
}

.imagem-container img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 800px;
}

.retangulo-sobreposto {
  position: absolute;
  top: 80%; 
  left: 50%;
  transform: translateX(-50%); 
  background: #ffffff;
  padding: 30px 25px; 
  z-index: 10;
  max-width: 450px;
  width: 70%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
  font-family: 'Piazzolla', serif; 
  font-weight: 300; 
  color: #2c3350;

  display: flex;
  justify-content: center; 
  align-items: center;
}

.conteudo-retangulo {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  gap: 15px; 
}

.retangulo-sobreposto p {
  font-size: 20px; 
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.retangulo-sobreposto h1 {
  font-size: 24px;
  font-weight: 400; 
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.retangulo-sobreposto .btn-retangulo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #313C5D;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  width: 250px; 
  height: 70px; 
  transition: background 0.3s;
}

.retangulo-sobreposto .btn-retangulo:hover {
  background: #1f2a4a;
}

.experiencias {
  background: transparent;
  color: #ffffff;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 30px; 
  font-weight: 300;
  line-height: 1.3;
  padding: 80px 20px; 
  margin-top: 130px;
}

.linha-experiencias {
  width: 680px;       
  height: 2px;        
  background-color: white;  
  margin: 20px auto; 
  border-radius: 2px; 
}

.itens-experiencias {
  display: flex;            
  justify-content: center;  
  flex-wrap: wrap;          
  gap: 80px;               
  margin-top: 40px;
}

.item-container {
  display: flex;
  flex-direction: column;   
  align-items: center;
  gap: 20px;               
}

.item {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.item:hover {
  transform: scale(1.05);
}

.item-container p {
  font-size: 25px;
  font-weight: 400;
  color: #fff;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.acervo {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  line-height: 1.3;
  color: #fff;
  padding: 60px 20px;
  margin-top: -50px;
}

.acervo-subtitulo {
  font-size: 50px;
  font-weight: 300;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.linha-subtitulo {
  width: 280px;
  height: 2px;
  background-color: #fff;
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

.acervo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.acervo-texto {
  flex: 1;
  text-align: center;
  margin-top: -50px;
}

.acervo-texto p {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 35px;
  margin-top: 25px;
}

.acervo-texto h1{
  font-size: 40px;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
}

.acervo-texto h2{
  font-size: 30px;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
}

.acervo .linha-subtitulo{
  width: 450px;       
  height: 2px;        
  background-color: white;  
  margin: 20px auto; 
  border-radius: 2px;
}

.btn-acervo {
  margin-top: 25px;
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #2f3b5c;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 300px;
  font-weight: 300; 
  font-size: 23px; 
  font-family: 'Playfair Display', serif;
}

.btn-acervo:hover {
  background: #ddd;
}

.subtexto {
  display: block;
  margin-top: 15px;
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  font-weight: 300;
}

.acervo-imagem {
  flex: 1;
  text-align: center;
}

.acervo-imagem img {
  max-width: 100%;
}

.carrossel {
  text-align: center;
  margin-top: 5px;
  padding: 15px 100px 100px 100px;
}

.carrossel p {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 10px;
  color: white;
}

.carrossel .linha-carrossel {
  width: 580px;
  height: 2px; 
  background: #fff; 
  margin: 0 auto 40px auto;
  margin: 20px auto; 
}

.carrossel-viewport {
  width: 50%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.carrossel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carrossel-item {
  flex: 0 0 100%;
  background-color: #ffffff;
  padding: 40px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.carrossel-item .depoimento {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-style: italic;
  color: #313C5D;
}

.carrossel-item h4 {
  font-size: 1em;
  color: #313C5D;
  margin-top: 10px;
}

.rodape {
  background-color: #ffffff;
  color: #313C5D;
  padding: 50px 20px 20px 20px;
  font-family: 'Playfair Display', serif;
}

.rodape-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.rodape-logo h2 {
  font-family: 'Style Script', cursive;
  font-weight: 250px;
  font-size: 36px;
  margin-bottom: 20px;
}

.rodape-links h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.rodape-links ul {
  list-style: none;
  padding: 0;
}

.rodape-links li {
  margin-bottom: 10px;
}

.rodape-links a {
  color: #313C5D;
  text-decoration: none;
  transition: color 0.3s;
}

.rodape-links a:hover {
  color: #313C5D;
  text-decoration: underline;
}

.rodape-redes {
  text-align: center; 
}

.social-icons {
  display: flex;
  justify-content: center; 
  gap: 20px; 
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  text-decoration: none; 
}

.social-icons img {
  width: 40px;  
  height: 40px;
}
.rodape-contato p {
  margin: 5px 0;
  font-size: 16px;
}

.rodape-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #313C5D;
}

.rodape-credits {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;

}

.rodape-credits a {
  color: #313C5D;
  cursor: pointer;
  text-decoration: none;
}

.rodape-credits a:hover {
  color: #313C5D;
  text-decoration: underline;
}

.rodape-credits p {
  margin: 5px 0;
}

/* ------------------------------ */
/*   RESPONSIVIDADE PARA 768px    */
/* ------------------------------ */

@media (max-width: 768px) {

  .btn-contato {
    display: none;
  }

  /* Remove barra lateral */
  body, html {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Navbar */
  .navbar {
    padding: 15px 10px;
  }

  .navbar ul {
    gap: 15px;
  }

  .navbar a {
    font-size: 14px;
  }

  .btn-contato {
    right: 10px;
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Hero */
  .hero {
    height: 480px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero p {
    font-size: 20px;
  }

  .hero .linha {
    width: 180px;
  }

  /* Serviços */
  .grid-servicos {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px !important; 
  }

  .servicos {
    margin-bottom: 30px !important;  
    padding-bottom: 0 !important;
  }

  .servico {
    padding: 30px 20px;
    font-size: 20px;
    aspect-ratio: auto;
  }

  .servico img {
    width: 150px;
    height: 150px;
    margin-bottom: 50px; 
  }

  .servicos p{
    margin-top: -40px !important;
  }

  /* Duas imagens */
  .imagem-container {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .duas-imagens {
    margin-top: 40px !important;
  }

  .retangulo-sobreposto {
    width: 90%;
    max-width: 90%;
    padding: 20px;
    top: 90%;
  }

  .retangulo-sobreposto h1 {
    font-size: 18px;
  }

  .retangulo-sobreposto p {
    font-size: 16px;
  }

  .btn-retangulo {
    width: 200px;
    height: 55px;
    font-size: 17px;
  }

  /* Experiências */
  .experiencias {
    margin-top: 80px;
  }

  .experiencias p{
    margin-top: 20px !important;
  }

  .linha-experiencias {
    width: 90%;
  }

  .item {
    width: 160px;
    height: 160px;
    margin-bottom: -10px; 
    margin-top: -30px;
  }

  .item img {
    width: 90px;
    height: 90px;
  }

  .item-container p {
    font-size: 20px;
  }

  /* Acervo */
  .acervo-subtitulo {
    font-size: 32px;
  }

  .acervo-container {
    flex-direction: column;
    text-align: center;
  }

  .acervo .linha-subtitulo {
    width: 200px;
  }

  .btn-acervo {
    width: 230px;
    font-size: 20px;
  }

  /* Carrossel */
  .carrossel {
    padding: 20px;
  }

  .carrossel p {
    font-size: 22px;
    margin-top: -10px;
  }

  .carrossel .linha-carrossel {
    width: 200px;
  }

  .carrossel-viewport {
    width: 90%;
  }

  /* Rodapé */
  .rodape-container {
    flex-direction: column;
    text-align: center;
  }

  .rodape-logo h2 {
    font-size: 28px;
  }

  .rodape-links h3 {
    font-size: 18px;
  }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 25px;
  z-index: 1001;
}

.navbar.active .hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar.active .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu completo full-screen */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-left: auto;
  transition: transform 0.3s ease-in-out;
}

  .navbar ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #313C5D;
    gap: 32px;
    transform: translateY(-100%);
    z-index: 1000;
  }

  .navbar.active ul {
    transform: translateY(0);
  }

  /* Botão contato dentro do menu */
  .navbar ul li:last-child {
    margin-top: 20px;
  }

  .navbar ul li a {
    margin: 0;
  }

  .btn-contato {
    position: static;
    margin-top: 20px;
    background: #fff;
    color: #313C5D !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  /* Quando o menu estiver ativo */
  .navbar.active .btn-contato {
    display: inline-flex;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;

    background: #fff;
    color: #313C5D !important;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
  }

}
@media (min-width: 769px) and (max-width: 1220px) {

  /* ===== SERVIÇOS ===== */
  .grid-servicos {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .servico {
    aspect-ratio: auto; 
  }

  .servico img {
    width: 170px;
    height: 170px;
  }

  /* ===== HERO ===== */
  .hero h1 {
    font-size: 80px;
  }

  .hero p {
    font-size: 26px;
  }

  /* ===== EXPERIÊNCIAS ===== */

  .experiencias{
    margin-top: 30px;
  }
  .linha-experiencias {
    width: 90%;
  }

  .itens-experiencias {
    gap: 50px;
  }

  /* ===== CARROSSEL ===== */
  .carrossel-viewport {
    width: 75%;
  }

}
