/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #5c5c5e; /* RGB: 92, 92, 94 - CMYK: 0, 0, 0, 80 */
  --secondary-color: #949699; /* RGB: 148, 150, 153 - CMYK: 0, 0, 0, 50 */
  --accent-color: #5c5c5e;
  --light-color: #f5f5f5;
  --dark-color: #333333;
  --white-color: #ffffff;
  --gray-color: #f8f9fa;
  --text-color: #444444;
}

@font-face {
  font-family: "Kiona";
  src: url("../fonts/kiona/kiona-regular.woff2") format("woff2"), url("../fonts/kiona/kiona-regular.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  background-color: var(--white-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kiona", "Playfair Display", serif;
  letter-spacing: 1px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  margin-bottom: 20px;
  color: var(--primary-color);
  padding-bottom: 15px;
  text-transform: uppercase;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--text-color);
}

/*--------------------------------------------------------------
# Preloader - Versão simplificada
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #5c5c5e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top i {
  font-size: 24px;
  color: var(--white-color);
}

.back-to-top:hover {
  background: var(--accent-color);
  color: var(--white-color);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# WhatsApp Button
--------------------------------------------------------------*/
.whatsapp-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 15px;
  background-color: #25d366;
  color: var(--white-color);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  color: var(--white-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  height: 60px;
}

.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-color);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--primary-color);
}

.navbar .btn-agendar {
  margin-left: 15px;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 8px 20px;
  border-radius: 50px;
  transition: 0.3s;
}

.navbar .btn-agendar:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.mobile-nav-toggle {
  color: var(--dark-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--white-color);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("../images/background.jpg")
    center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px; /* Aumentado para 100px conforme solicitado */
}

#hero .container {
  position: relative;
  z-index: 2;
  margin-top: 30px; /* Adicionando margem superior para mover o conteúdo para baixo */
}

#hero h1 {
  margin: 0 auto;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--primary-color);
  text-transform: uppercase;
  max-width: 800px;
}

#hero p {
  color: var(--text-color);
  margin: 15px auto 0;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
  max-width: 700px;
}

#hero .hero-btns {
  margin-top: 30px;
}

#hero .btn-primary {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--white-color);
  background: var(--primary-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

#hero .btn-primary:hover {
  background: var(--secondary-color);
}

#hero .btn-secondary {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--dark-color);
  background: transparent;
  border: 2px solid var(--primary-color);
  margin: 10px;
}

#hero .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero h1 {
    font-size: 36px;
    line-height: 42px;
  }
  #hero p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-height: 600px) {
  #hero {
    height: auto;
    padding: 120px 0;
  }
}

/*--------------------------------------------------------------
# Quem Somos
--------------------------------------------------------------*/
.content h3 {
  font-weight: 700;
  font-size: 28px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.content ul {
  list-style: none;
  padding: 0;
}

.content .features {
  margin-top: 30px;
}

.content .feature {
  padding-bottom: 15px;
}

.content .feature i {
  font-size: 20px;
  padding-right: 10px;
  color: var(--primary-color);
}

.team-member {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.team-member .member-img {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.team-member .member-img img {
  width: 100%;
  max-height: 400px; /* Altura máxima controlada */
  object-fit: cover; /* Mantém a proporção e preenche o espaço */
  object-position: center 10%; /* Foca um pouco acima do centro */
  transition: 0.3s;
}

.team-member .member-info {
  padding: 25px 15px;
}

.team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 22px;
  color: var(--primary-color);
}

.team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: var(--text-color);
}

.team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
}

.team-member .social a {
  transition: color 0.3s;
  color: var(--white-color);
  margin: 0 3px;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
}

.team-member .social a:hover {
  background: var(--secondary-color);
}

.team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

.team-member:hover .member-img img {
  transform: scale(1.03); /* Zoom suave no hover */
}

/* Responsive adjustments for team member images */
@media (max-width: 991px) {
  .team-member .member-img img {
    max-height: 320px;
  }
}

@media (max-width: 767px) {
  .team-member .member-img img {
    max-height: 280px;
  }
}

@media (max-width: 576px) {
  .team-member .member-img img {
    max-height: 240px;
  }
}

/*--------------------------------------------------------------
# Serviços
--------------------------------------------------------------*/
#servicos {
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("../images/background.jpg")
    center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

#servicos .container {
  position: relative;
  z-index: 2;
}

#servicos .section-title h2 {
  color: var(--primary-color);
}

.service-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white-color);
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  margin-bottom: 30px;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-icon {
  margin: 0 auto 20px auto;
  width: 64px;
  height: 64px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.service-icon i {
  color: var(--primary-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.service-box:hover .service-icon {
  background: var(--primary-color);
}

.service-box:hover .service-icon i {
  color: var(--white-color);
}

.service-box h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

.service-box h3 a {
  color: var(--primary-color);
  transition: ease-in-out 0.3s;
}

.service-box h3 a:hover {
  color: var(--secondary-color);
}

.service-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 20px;
}

.service-box .read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

.service-box .read-more i {
  margin-left: 5px;
  font-size: 14px;
  line-height: 0;
  transition: 0.3s;
}

.service-box .read-more:hover i {
  transform: translateX(5px);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--dark-color);
  padding: 0 0 30px 0;
  color: var(--white-color);
  font-size: 14px;
}

#footer .footer-top {
  background: #333333;
  padding: 60px 0 30px 0;
}

#footer .footer-logo {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

#footer .footer-info {
  margin-bottom: 30px;
}

#footer .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  color: var(--white-color);
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
}

#footer .footer-links {
  margin-bottom: 30px;
}

#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links ul i {
  padding-right: 5px;
  color: var(--primary-color);
  font-size: 12px;
  line-height: 1;
}

#footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-links ul a:hover {
  color: var(--white-color);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .team-member .member-img img {
    max-height: 300px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 16px;
  }

  .service-box {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .team-member .member-img img {
    max-height: 250px;
  }

  #hero h1 {
    font-size: 24px;
    line-height: 32px;
  }

  #hero p {
    font-size: 16px;
  }

  #hero .btn-primary,
  #hero .btn-secondary {
    padding: 10px 25px;
    font-size: 14px;
    margin-top: 20px;
  }

  .section {
    padding: 60px 0;
  }
}

