/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

:root {
  --cor-principal: #b8817d;
  --cor-secundaria: #ddbdae;
  --fundo-claro: #fcfafa;
  --fundo-nude: #f5efeb;
  --texto-escuro: #2c3539;
  --texto-claro: #737373;
  --branco: #ffffff;
}

body {
  background-color: var(--fundo-claro);
  color: var(--texto-escuro);
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--texto-escuro);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}

/* =========================================
   CLASSES UTILITÁRIAS (ACESSIBILIDADE)
========================================= */
/* MELHORIA: Esconde elementos visualmente, mas mantém para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================
   BOTÕES E TAGS
========================================= */
.btn-primario,
.btn-nav {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-primario {
  background-color: var(--cor-principal);
  color: var(--branco);
  border: 1px solid var(--cor-principal);
  box-shadow: 0 10px 20px rgba(184, 129, 125, 0.2);
}

.btn-primario:hover {
  background-color: var(--texto-escuro);
  border-color: var(--texto-escuro);
  color: var(--branco);
  transform: translateY(-2px);
}

.tag {
  display: inline-block;
  color: var(--cor-principal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* =========================================
   CABEÇALHO (HEADER) E LOGO
========================================= */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid #f0e6e1;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 5%;
}

.logo {
  display: flex;
  align-items: center;
  width: 280px;
  height: 100px;
  text-decoration: none;
}

.logo img {
  width: 420px;
  max-width: none;
  transform: translate(-20px, 15px);
  display: block;
}

.menu {
  display: flex;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: var(--texto-escuro);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 20px;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--cor-principal);
}

.btn-nav {
  background-color: transparent;
  border: 1px solid var(--cor-principal);
  color: var(--cor-principal);
  padding: 10px 20px;
  margin-left: 20px;
}

.btn-nav:hover {
  background-color: var(--cor-principal);
  color: var(--branco);
}

/* =========================================
   HERO SECTION (COM IMAGEM REAL)
========================================= */
.hero {
  position: relative;
  background-image: url("https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?q=80&w=1920&auto=format&fit=crop");
  background-size: cover;
  background-position: center 20%;
  padding: 240px 0 160px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--branco);
}

.hero-content h1 span {
  font-style: italic;
  color: var(--cor-secundaria);
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* =========================================
   SEÇÃO SOBRE (COM IMAGEM REAL)
========================================= */
.secao-clara {
  padding: 120px 0;
  background-color: var(--branco);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.img-destaque {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.sobre-texto h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  line-height: 1.2;
}

.lista-check {
  list-style: none;
  margin-top: 25px;
}

.lista-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--texto-escuro);
}

.lista-check li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--cor-secundaria);
  font-size: 1.2rem;
}

/* =========================================
   SEÇÃO TRATAMENTOS
========================================= */
.secao-nude {
  padding: 120px 0;
  background-color: var(--fundo-nude);
}

.titulo-secao {
  text-align: center;
  margin-bottom: 70px;
}

.titulo-secao h2 {
  font-size: 2.8rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--branco);
  padding: 50px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--cor-secundaria);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.icone {
  font-size: 2.5rem;
  margin-bottom: 25px;
  /* MELHORIA: Aplicando a cor principal aos novos ícones vetoriais */
  color: var(--cor-principal);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.card p {
  color: var(--texto-claro);
  font-size: 0.95rem;
}

/* =========================================
   GALERIA DE ANTES E DEPOIS
========================================= */
.grid-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.item-galeria {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.item-galeria img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item-galeria img:hover {
  transform: scale(1.05);
}

/* =========================================
   RODAPÉ E FORMULÁRIO
========================================= */
footer {
  background-color: var(--texto-escuro);
  color: var(--fundo-claro);
  padding: 100px 0 30px;
}

footer h2 {
  color: var(--fundo-claro);
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 70px;
}

.footer-info p {
  color: #a3a3a3;
  margin-bottom: 35px;
  font-size: 1.1rem;
}

.contato-direto p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--fundo-claro);
}

.footer-form form {
  display: flex;
  flex-direction: column;
  background-color: var(--branco);
  padding: 40px;
  border-radius: 8px;
}

/* MELHORIA: O select agora herda esse bloco naturalmente, sem precisar de CSS inline no HTML */
input,
select {
  width: 100%;
  padding: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 15px;
  font-family: "Lato", sans-serif;
  border-radius: 4px;
  /* Para garantir que a cor do select fique coerente quando as opções abrem */
  color: var(--texto-escuro);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--cor-principal);
}

.btn-form {
  width: 100%;
  border: none;
  margin-top: 10px;
}

.direitos {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: #737373;
  font-size: 0.9rem;
}

.direitos strong {
  color: var(--cor-principal);
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
========================================= */
@media (max-width: 992px) {
  .sobre-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .grid-galeria {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 15px 5%;
  }

  .logo {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    width: 100%;
    max-width: 300px;
    transform: translateY(10px);
    margin: 0 auto;
  }

  .menu {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .menu a,
  .btn-nav {
    margin-left: 0;
  }

  .btn-nav {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    padding: 300px 0 120px;
    background-position: center center;
  }

  .hero-content {
    display: block;
    text-align: center;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .hero-content p {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto 30px auto;
  }

  .hero .btn-primario {
    display: block;
    width: 90%;
    max-width: 320px;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
  }

  .sobre-texto h2,
  .titulo-secao h2,
  footer h2 {
    font-size: 1.8rem;
  }

  .img-destaque {
    height: 300px;
  }

  .card {
    padding: 30px 20px;
  }

  .footer-form {
    padding: 25px 15px;
    width: 100%;
  }
}
