/* --------------------- */
/*  BASE E GERAIS        */
/* --------------------- */

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #333;
}

h1, h2, h3, .navbar-brand {
  font-family: 'Playfair Display', serif;
}

.logo {
  height: 48px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.card-title {
  font-weight: 600;
  color: #4A5568;
}

.card-text {
  color: #444;
  font-size: 0.95rem;
}

/* --------------------- */
/* HERO SECTION          */
/* --------------------- */

.hero-img {
  background-image: url('../assets/imagens/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 90vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-img::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-img .container {
  position: relative;
  z-index: 2;
}

.titulo-hero {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: bold;
  color: #fff;
}

.subtitulo-hero {
  font-size: 1.3rem;
  color: #f1f1f1;
}

.btn-gold {
  background-color: #C9A06F;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
  border: none;
}

.btn-gold:hover {
  background-color: #a87d4c;
}

/* Responsivo para hero */
@media (max-width: 767px) {
  .titulo-hero {
    font-size: 2rem;
  }

  .subtitulo-hero {
    font-size: 1rem;
  }
  
  .hero {
  min-height: 85vh; /* Ocupa a altura inteira da tela */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}


  .hero-img {
    height: auto;
    padding: 80px 20px;
  }
}


/* --------------------- */
/* SOBRE A CLÍNICA       */
/* --------------------- */

.img-sobre {
  max-width: 400px;
  border: 4px solid #F2CAC2;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(242, 202, 194, 0.3);
  transition: transform 0.3s ease;
}

.img-sobre:hover {
  transform: scale(1.02);
}


/* --------------------- */
/* SEÇÃO SERVIÇOS        */
/* --------------------- */

.servicos {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.servicos h2 {
  color: #b87b6b;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
}

.categoria-titulo {
  color: #b87b6b;
  font-size: 1.7rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.card-servico {
  border: 2px solid #e3b8a6;
  border-radius: 12px;
  transition: transform 0.3s ease;
  background-color: #fff;
}

.card-servico:hover {
  transform: translateY(-5px);
}

.card-servico .card-body {
  padding: 20px;
}

.img-lateral,
.servicos img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.img-lateral {
  max-height: 450px;
  width: auto;
  object-fit: cover;
}


/* --------------------- */
/* RESPONSIVIDADE SERVIÇOS */
/* --------------------- */

@media (min-width: 768px) {
  .categoria-titulo {
    text-align: left;
  }

  .servicos .row.align-items-center .col-md-6,
  .servicos .row.align-items-center.flex-md-row-reverse .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .servicos .row.align-items-center .col-md-6:first-child,
  .servicos .row.align-items-center.flex-md-row-reverse .col-md-6:last-child {
    justify-content: flex-end;
    display: flex;
  }
}


/* --------------------- */
/* BLOG PREVIEW          */
/* --------------------- */

.blog-preview {
  background-color: #fff;
}

.blog-preview h2 {
  color: #b87b6b;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
}

.blog-preview p {
  color: #666;
}


/* --------------------- */
/* BLOG - LISTA COMPLETA */
/* --------------------- */

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.btn-outline-primary {
  border-color: #b87b6b;
  color: #b87b6b;
  transition: 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #b87b6b;
  color: #fff;
}


/* --------------------- */
/* WHATSAPP FLOAT        */
/* --------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

.footer h5 {
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #b87b6b;
}

.footer a:hover {
  color: #b87b6b !important;
  text-decoration: none;
}

.footer i {
  vertical-align: middle;
}

form .form-control:focus {
  border-color: #b87b6b;
  box-shadow: 0 0 0 0.2rem rgba(184, 123, 107, 0.25);
}


.conteudo-post img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}
