/* =================================================_
   1. VARIÁVEIS E CONFIGURAÇÕES GLOBAIS
   ================================================= */
:root {
  --bg: #fcf9f9;
  --fg: #3a3333;
  --primary: #6e1f2b;
  --accent: #a8384a;
  --secondary: #f5ebeb;
  --muted: #f5f2f2;
  --muted-fg: #7a6f70;
  --border: #e8e2e2;
  --graphite: #3b3536;
  --wa: #25d366;
  --grad: linear-gradient(135deg, #5c1a24, #3b3536);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Manrope, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* =================================================_
   2. HEADER E NAVEGAÇÃO
   ================================================= */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: rgba(252, 249, 249, .8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.cro-sub {
  font-size: 0.75rem;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
}

.links {
  display: flex;
  gap: 2rem;
  font-size: .875rem;
  color: var(--muted-fg);
}

.links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* =================================================_
   3. BOTÕES E ÍCONES SOCIAIS
   ================================================= */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: .75rem 1.75rem;
  font-weight: 500;
  transition: .2s;
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
  background: var(--primary);
  color: #fff;
}

.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(110, 31, 43, .5);
}

.btn-grad:hover {
  transform: translateY(-2px);
}

.btn-out {
  border: 1px solid var(--border);
  color: var(--graphite);
}

.btn-out:hover {
  border-color: var(--primary);
}

.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: .2s;
}

.social-icon:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-wa-header svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}


/* =================================================_
   4. SEÇÃO HERO
   ================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: var(--graphite);
}

.hero h1 em {
  color: var(--primary);
}

.hero p.lead {
  margin-top: 1.5rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--muted-fg);
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.imgbox {
  position: relative;
}

.imgbox:before {
  content: "";
  position: absolute;
  inset: -1rem;
  background: var(--secondary);
  border-radius: 2rem;
  z-index: -1;
}

.imgbox img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  display: block;
}


/* =================================================_
   5. SEÇÃO SOBRE
   ================================================= */
.about {
  background: var(--grad);
  color: #fff;
  padding: 6rem 0;
}

.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  justify-items: start; /* Joga a foto para a esquerda da coluna */
}

.portrait {
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .4);
  margin: 0 auto;
  display: block;
}

.about-content-box h2 {
  font-size: 5rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.about-content-box p {
  font-size: 1.125rem;
  opacity: .85;
  line-height: 1.7;
}


/* =================================================_
   6. SEÇÃO TRATAMENTOS
   ================================================= */
section.treat {
  padding: 6rem 1.5rem;
}

.treat h2 {
  margin-top: .75rem;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--graphite);
}

.grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: .25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
}

.card .n {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.875rem;
  color: var(--accent);
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--graphite);
}

.card p {
  margin-top: .5rem;
  color: var(--muted-fg);
}


/* =================================================_
   7. SEÇÃO CONTATO E RODAPÉ
   ================================================= */
.contact {
  background: var(--muted);
  padding: 6rem 0;
}

.contact .wrap,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.contact h2 {
  font-size: 2.25rem;
  color: var(--graphite);
}

.contact h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.contact p {
  margin-top: .5rem;
  color: var(--muted-fg);
  white-space: pre-line;
}

footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, .7);
  text-align: center;
  padding: 2rem;
  font-size: .875rem;
}


/* =================================================_
   8. BOTÃO FLUTUANTE DO WHATSAPP
   ================================================= */
.wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
  transition: .2s;
}

.wa:hover {
  transform: scale(1.1);
}

.wa:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  opacity: .3;
  animation: ping 1.5s cubic-bezier(0, 0, .2, 1) infinite;
}

.wa svg {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

@keyframes ping {
  75%, 100% {
    transform: scale(1.8);
    opacity: 0;
  }
}


/* =================================================_
   9. ANIMAÇÕES E RESPONSIVIDADE
   ================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: .7s;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@media(max-width: 768px) {
  .links {
    display: none;
  }
  .hero, .about .wrap, .contact .wrap, .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media(min-width: 769px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}