/* VARIÁVEIS DE COR */
:root {
  --rosa-claro: #ffdfeb;
  --rosa-medio: #ffc0d9;
  --rosa-forte: #ff85a2;
  --lilas: #8a4f7d;
  --roxo-escuro: #5a3d4e;
  --branco: #ffffff;
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--branco-rosado);
  color: var(--roxo-escuro);
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-medio));
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#logo {
  width: 180px;
}

#logo img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

#logo img:hover {
  transform: scale(1.05);
}

/* NAVEGAÇÃO */
nav {
  margin-right: 200px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav li {
  background: var(--branco);
  padding: 0rem 1.5rem;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

nav li:hover {
  transform: translateY(-3px);
  background: var(--rosa-claro);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

nav a {
  text-decoration: none;
  color: var(--lilas);
  font-weight: 600;
  font-size: 1rem;
}

/* HERO SECTION */
.hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  color: var(--lilas);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content .subtitle {
  font-size: 1.2rem;
  color: var(--roxo-escuro);
  max-width: 600px;
  margin: 0 auto;
}

/* SEÇÕES */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  color: var(--lilas);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
}

/* BLOCOS DE CONTEÚDO */
.content-block {
  background: linear-gradient(
      rgba(252, 196, 196, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("./src/img/background.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.reverse {
  flex-direction: row-reverse;
}

.content-image {
  flex: 0.5;
  min-width: 100px;
  margin: 50px;
}

.content-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(138, 79, 125, 0.2);
  transition: transform 0.3s ease;
}

.content-image img:hover {
  transform: scale(1.03);
}

.content-text {
  flex: 1.5;
  margin-right: 50px;
  margin-left: 50px;
}

.content-text h3 {
  font-family: "Playfair Display", serif;
  color: var(--lilas);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.content-text p {
  margin-bottom: 1.5rem;
  margin-right: 60px;
  font-size: 1.1rem;
}

figcaption {
  text-align: center;
  margin-top: 0.8rem;
  color: var(--lilas);
  font-style: italic;
  font-size: 0.9rem;
}

/* SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  margin-right: 2rem;
  margin-left: 2rem;
}

.service-card {
  background: var(--branco);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card img {
  width: 100%;
  height: 555px;
  object-fit: cover;
}

.service-info {
  padding: 1.5rem;
}

.service-info h3 {
  color: var(--lilas);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

/* SEÇÃO DE COLABORADORAS */
.section-complete {
  max-width: 1200px;
  padding: 4rem 0;
}

.section-colab {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-colab h2 {
  font-family: "Playfair Display", serif;
  color: var(--lilas);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-colab h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--rosa-forte);
}

/* CONTAINER DAS COLABORADORAS */
#colaborators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* CARD DE CADA COLABORADORA */
#colaborators > div {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
}

#colaborators figure {
  margin-bottom: 1rem;
}

#colaborators img {
  width: 200px;
  height: 200px;
  border-radius: 50%; /* Imagem arredondada */
  object-fit: cover;
  border: 5px solid var(--rosa-medio);
  box-shadow: 0 4px 12px rgba(138, 79, 125, 0.2);
  transition: transform 0.3s ease;
}

#colaborators img:hover {
  transform: scale(1.05);
}

#colaborators h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem; /* Tamanho reduzido para os nomes */
  color: var(--roxo-escuro);
  margin-top: 0.5rem;
}

#colaborators a {
  text-decoration: none;
  color: var(--lilas);
  transition: color 0.3s ease;
}

#colaborators a:hover {
  color: var(--rosa-forte);
  text-decoration: underline;
}

/* SEÇÃO DE CLIENTES */
#client {
  background-color: var(--branco-rosado);
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  color: var(--lilas);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--rosa-forte);
}

/* CONTAINER PRINCIPAL - GRID 3 COLUNAS */
.client-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.client-container::-webkit-scrollbar {
  display: none;
}

/* CARD DE CLIENTE */
.client-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  aspect-ratio: 3/4; /* Proporção recomendada para fotos (ajuste conforme necessário) */
}

.client-card figure {
  margin: 0;
  height: 100%;
}

.client-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

/* EFEITOS DE HOVER */
.client-container:hover .client-card:not(:hover) img {
  filter: brightness(0.9); /* Escurece as outras imagens */
}

.client-card:hover {
  transform: scale(1.05);
  z-index: 2;
}

.client-card:hover img {
  transform: scale(1.05);
  filter: brightness(1); /* Mantém a imagem destacada com brilho normal */
}

/* RESPONSIVIDADE */
@media (max-width: 200px) {
  .client-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .client-container {
    grid-template-columns: 1fr;
  }

  .client-card img {
    height: 250px;
  }
}

.client-card::after {
  content: attr(data-client-name);
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(138, 79, 125, 0.8);
  color: white;
  padding: 1rem;
  text-align: center;
  transition: bottom 0.3s ease;
}

.client-card:hover::after {
  bottom: 0;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  #colaborators {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #colaborators > div {
    min-width: 100%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

#colaborators > div:hover img {
  animation: float 3s ease-in-out infinite;
}

#colaborators .fab {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* FOOTER CORRIGIDO - ESTRUTURA HIERÁRQUICA */
footer#contato {
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-medio));
  padding: 2.5rem 0;
  color: var(--roxo-escuro);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza todo o conteúdo */
}

/* TÍTULO CENTRALIZADO */
footer#contato address h3 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--lilas);
  margin-bottom: 1.5rem;
  width: 100%; /* Garante ocupar toda a largura */
  position: static; /* Remove posicionamento absoluto */
  transform: none; /* Remove transform anterior */
  left: auto;
  background: none; /* Remove o efeito de brilho para simplificar */
  animation: none;
  padding: 0;
}

/* CONTAINER DE CONTATOS */
footer#contato address {
  text-align: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

/* BOTÃO WHATSAPP ORGANIZADO */
footer#contato address a {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Centraliza o conteúdo do botão */
  gap: 0.8rem;
  background: var(--branco);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(138, 79, 125, 0.2);
  transition: all 0.3s ease;
  margin: 0.5rem auto; /* Centraliza horizontalmente */
  max-width: 250px; /* Largura máxima */
  width: 100%;
}

footer#contato address a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(138, 79, 125, 0.3);
  background: var(--rosa-claro);
}

/* ÍCONES */
footer#contato .fas {
  font-size: 1.2rem;
  color: var(--rosa-forte);
}

/* ENDEREÇO */
footer#contato address i.fa-map-marker-alt {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* COPYRIGHT */
.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(90, 61, 78, 0.2);
  width: 100%;
}
footer#contato address {
  text-align: center; /* Centraliza tudo agora */
}

footer#contato address a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--branco);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(138, 79, 125, 0.2);
  transition: all 0.3s ease;
  margin: 0.5rem 0;
}

footer#contato address a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(138, 79, 125, 0.3);
  background: var(--rosa-claro);
}

footer#contato .fas {
  font-size: 1.2rem;
  color: var(--rosa-forte);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer#contato address h3 {
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--lilas);
  margin-bottom: 2rem;
  padding: 0 2rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rosa-claro),
    transparent
  );
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

footer a {
  color: var(--roxo-escuro);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--rosa-forte);
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(90, 61, 78, 0.2);
}

/* EFEITO DE ONDA NA BASE DO FOOTER */
footer#contato::before {
  content: "";
  display: block;
  height: 20px;
  width: 100%;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffc0d9" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffc0d9" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffc0d9"/></svg>')
    repeat-x;
  position: absolute;
  top: -19px;
  left: 0;
}

footer#contato address a:hover .fab {
  animation: pulse 0.5s ease infinite alternate;
}

@keyframes pulse {
  to {
    transform: scale(1.2);
  }
}
/* ÍCONES */
.fab,
.fas {
  margin-right: 0.5rem;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .content-block,
  .reverse {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}
