/* Importando fontes */ 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Montserrat:wght@400;600&display=swap');

/* Paleta refinada */
:root {
  --azul-marinho: #0B2545;
  --dourado: #D4AF37;
  --branco-gelo: #F5F7FA;
  --cinza-claro: #E1E5EA;
  --cinza-escuro: #4A4A4A;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--branco-gelo);
  color: var(--cinza-escuro);
  line-height: 1.6;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Container padrão */
.container,
.container-header {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Cabeçalho */
header {
  position: fixed;
  width: 100%;
  background-color: var(--azul-marinho);
  padding: 20px 0;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.4);
  backdrop-filter: saturate(180%) blur(10px);
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 60px;
}

nav {
  position: relative;
}

/* Menu desktop */
.menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--dourado);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--dourado);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: var(--dourado);
}

/* Foco acessível para links do menu */
.menu a:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}

.img-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0; /* diminui o espaço superior */
  max-height: 500px;
  object-fit: cover;
}

/* Animação do WhatsApp */
@keyframes swing {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

.whatsapp-float {
  position: fixed;
  width: 100px;
  height: 100px;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  animation: swing 3s ease-in-out infinite;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Botão Fale Comigo */
.btn-dourado {
  padding: 8px 18px;
  border: 2px solid var(--dourado);
  border-radius: 5px;
  background-color: transparent;
  color: var(--dourado);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-dourado::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn-dourado:hover::before {
  left: 125%;
}

.btn-dourado:hover {
  background-color: #b38e2f; /* dourado mais escuro */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(179, 142, 47, 0.4);
}

/* Botão Menu Mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--dourado);
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: #f2d184;
  outline: none;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 3px;
}

/* Banner */
.banner {
  margin-top: 120px;
  height: 80vh;
  background-color: #162238;; /* Cor lateral da imagem (ajuste se necessário) */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 900px; /* Aumenta ou reduz conforme necessário */
  height: auto;
  transform: translate(-50%, -50%);
  background-image: url('../imagens/banner.png'); /* Caminho para sua imagem */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  aspect-ratio: 1 / 1; /* Mantém proporção quadrada */
}

.conteudo-banner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--dourado);
}

.conteudo-banner h1 {
  font-size: 3rem;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 15px;
  font-weight: 600;
}

.conteudo-banner p {
  font-size: 1.3rem;
  font-weight: 400;
  color: #f2d184;
}

/* Scroll fix para seções */
section {
  scroll-margin-top: 120px;
}

.linha-separadora {
  height: 5px;
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(to right, rgba(212, 175, 55, 0), #FFD700, rgba(212, 175, 55, 0));
  border-radius: 2px;
  position: relative;
  top: -10px;
  z-index: 1;
}

/* Seção Sobre */
.sobre {
  background-color: var(--branco-gelo);
  padding: 80px 20px;
  text-align: center;
}

.sobre h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--azul-marinho);
  margin-bottom: 25px;
}

.sobre p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1rem;
  color: var(--cinza-escuro);
  line-height: 1.5;
  hyphens: auto;
  text-align: justify;
  text-indent: 2em;
}

/* Quem sou eu */
.quem-sou {
  background-color: var(--cinza-claro);
  padding: 80px 20px;
}

.quem-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.quem-container .texto {
  flex: 1 1 450px;
  text-align: justify;
  text-indent: 2em;
}

.quem-container h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--azul-marinho);
  margin-bottom: 15px;
}

.quem-container h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: var(--dourado);
  margin-bottom: 20px;
}

.quem-container p {
  font-size: 1.1rem;
  color: var(--cinza-escuro);
  margin-bottom: 15px;
  line-height: 1.5;
}

.quem-container .imagem {
  flex: 1 1 350px;
  text-align: center;
}

.quem-container .imagem img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

/* Serviços */
.servicos {
  background-color: var(--branco-gelo);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Pseudo-elemento para a imagem da balança */
.servicos::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background-image: url('../imagens/balançafundo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0.15;
}

.servicos h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--azul-marinho);
  margin-bottom: 10px;
}

.servicos .descricao {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  color: var(--cinza-escuro);
  font-weight: 500;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 280px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card .icon {
  width: 50px;
  margin-bottom: 15px;
}

.card h3 {
  color: var(--azul-marinho);
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.card p {
  font-size: 1rem;
  color: var(--cinza-escuro);
  line-height: 1.4;
  text-align: justify;
  hyphens: auto;    
}

/* Propósito */
.proposito-section {
  position: relative;
  overflow: hidden;
  background-color: var(--azul-marinho);
  color: var(--dourado);
  padding: 70px 20px;
  text-align: center;
}

/* Plano de fundo do lado esquerdo */
.proposito-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 800px;
  height: 800px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  opacity: 0.80;
}

.proposito-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.proposito-text {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
}

.proposito-text p {
  margin-bottom: 20px;
}

.contato-section {
  background-color: var(--cinza-claro);
  padding: 80px 20px;
  text-align: center;
}

.contato-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--azul-marinho);
  margin-bottom: 20px;
}

.contato-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--cinza-escuro);
}

.form-contato {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-contato input,
.form-contato textarea {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  resize: none;
}

.form-contato input:focus,
.form-contato textarea:focus {
  outline: none;
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Rodapé */
footer {
  background-color: var(--azul-marinho);
  padding: 20px 0;
  text-align: center;
  color: var(--dourado);
  font-weight: 500;
  font-size: 1rem;
}

/* Responsividade */
@media (max-width: 991px) {
  .quem-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: var(--azul-marinho);
    position: absolute;
    top: 65px;
    right: 0;
    width: 100vw;
    padding: 20px 0;
    text-align: center;
    z-index: 1001;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 15px 0;
    font-size: 1.3rem;
    display: block;
    border-top: 1px solid var(--dourado);
  }

  .btn-dourado {
    margin: 15px auto 0 auto;
    width: 80%;
  }

  .menu-toggle {
    display: block;
  }

  .banner {
    height: 60vh;
  }

  .conteudo-banner h1 {
    font-size: 2.2rem;
  }

  .conteudo-banner p {
    font-size: 1.1rem;
  }

  .cards-container {
    flex-direction: column;
    gap: 25px;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .conteudo-banner h1 {
    font-size: 1.7rem;
  }

  .conteudo-banner p {
    font-size: 1rem;
  }

  .proposito-title {
    font-size: 2.2rem;
  }

  .proposito-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .proposito-section::before {
    display: none; /* Esconde as linhas no fundo */
  }

  .proposito-section::after {
    width: 200px;
    height: 200px;
    background-position: center top;
    opacity: 0.1;
    transform: none;
    top: 10px;
    right: 50%;
    transform: translateX(50%);
  }

  .proposito-text {
    font-size: 1rem;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .proposito-section::before {
    display: none;
  }
}