:root {
  --primary-color: #2c3e37;
  --secondary-color: #a67c52;
  --accent-color: #c6a87d;
  --light-color: #f8f5f0;
  --dark-color: #2e2e2e;
  --white: #ffffff;
  --gray: #e5e5e5;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  color: var(--white);
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.social-links a {
  color: var(--white);
  margin-left: 15px;
  font-size: 1.1rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: var(--transition);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
  position: relative;
}

nav ul li a {
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(198, 168, 125, 0.1) 0%,
    rgba(166, 124, 82, 0.1) 100%
  );
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--dark-color);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: flex-start;
}

.cta-button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 2px solid var(--secondary-color);
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.whatsapp-button:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.consulta-particular {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 10px;
  padding-left: 25px;
  font-style: italic;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Specialties Section */
.specialties {
  padding: 80px 0;
  background-color: var(--light-color);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--dark-color);
  font-size: 1.1rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.specialty-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.specialty-card:hover {
  transform: translateY(-5px);
}

.specialty-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Novo ícone para tireoide - usando ícone de glândula */
.specialty-card:nth-child(3) .specialty-icon::before {
  content: "\f314"; /* Ícone de butterfly (borboleta) como representação visual */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.specialty-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.specialty-card p {
  color: var(--dark-color);
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 20px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 120px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 120px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transition: var(--transition);
  }

  nav ul.show {
    left: 0;
  }

  .hero-content, .about-content {
    flex-direction: column;
  }

  .hero-buttons {
    align-items: center;
  }

  .consulta-particular {
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }
}