/* ==========================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
   ========================================== */
:root {
  --primary-color: #c68e8b;
  --secondary-color: #5e6d68;
  --complement-color: #efefee;
  --dark-text: #333333;
  --light-text: #ffffff;
  --transition: all 0.3s ease;
  --font-family: 'Poppins', sans-serif;
}

/* ==========================================
   RESET E ESTILOS BASE
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--complement-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================== */
#header {
  background-color: var(--light-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-space {
  display: flex;
  align-items: center;
}

.logo-text {
  margin-left: 10px;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px;
  transition: var(--transition);
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: 120px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-style: italic;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--light-text);
  color: var(--light-text);
}

.btn-outline:hover {
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* ==========================================
   SEÇÕES
   ========================================== */
main {
  padding-top: 80px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--dark-text);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   SERVIÇOS EM DESTAQUE
   ========================================== */
.featured-services {
  background-color: var(--light-text);
}

.featured-services h2 {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: var(--complement-color);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 30px;
}

.service-icon-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.service-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--dark-text);
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.service-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.service-link:hover::after {
  width: 100%;
}

/* ==========================================
   PROCEDIMENTOS
   ========================================== */
.procedures-list {
  background-color: var(--complement-color);
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.procedure-card {
  background-color: var(--light-text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.procedure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.procedure-image {
  height: 250px;
  overflow: hidden;
}

.procedure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.procedure-card:hover .procedure-image img {
  transform: scale(1.05);
}

.procedure-details {
  padding: 30px;
}

.procedure-details h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.procedure-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the top */
  margin-bottom: 15px;
  font-size: 1rem;
}

.price {
  font-weight: 700;
  color: var(--primary-color);
}

.price-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.maintenance-price {
  font-size: 0.9rem; /* Made it slightly larger */
  color: var(--secondary-color); /* Using theme color */
  font-weight: 400;
  margin-top: 4px; /* Add some space */
}

/* ==========================================
   SOBRE NÓS
   ========================================== */
.about-section {
  background-color: var(--light-text);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-text h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.story-text p {
  text-align: justify;
  margin-bottom: 20px;
}

.story-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-values h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: var(--complement-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  margin-bottom: 20px;
}

.value-icon .icon-placeholder {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto;
}

.value-icon i {
  font-size: 50px;
  color: var(--primary-color);
}

.value-card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.our-team h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
  height: 250px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-section {
  background-color: var(--complement-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-text);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 30px 30px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* ==========================================
   CTA
   ========================================== */
.cta-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--light-text);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-info p {
  color: #ddd;
  line-height: 1.7;
}

.footer-contact h3,
.footer-hours h3,
.footer-social h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--complement-color);
}

.footer-contact p,
.footer-hours p {
  margin-bottom: 10px;
  color: #ddd;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  color: var(--light-text);
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ddd;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */
@media screen and (max-width: 992px) {
  .story-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .procedures-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .categories-tabs {
    flex-direction: column;
    align-items: center;
  }

  .category-tab {
    width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}


/* ==========================================
   ANIMAÇÕES
   ========================================== */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rotate-down {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.fade-out {
  opacity: 0;
}

.rotate-up {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================
   FILTROS DE CATEGORIA
   ========================================== */
.procedures-categories {
  padding: 40px 0;
  background-color: var(--light-text);
}

.categories-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.category-tab {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.category-tab:hover,
.category-tab.active {
  background-color: var(--primary-color);
  color: var(--light-text);
}
