/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #EDEDEE url('/images/background-pessanha.jpg') no-repeat center top;
}

a {
    color: #374151;
    text-decoration: none;
}

a:hover {
    color: #009FAE;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 3rem;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  font-family: "Tahoma", "Roboto", "Varela Round", sans-serif;
}

.nav-link:hover {
  color: #009FAE;
}

.nav-mobile {
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

/* Conteúdo principal */
.treatment-detalhe {
  padding: 4rem 1rem;
  margin-top: 3rem;
}

/* Layout para páginas de tratamento */
.treatment-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.treatment-content.transparente {
  background: transparent;
  padding: 1rem;
  border-radius: 12px;
}

.treatment-title {
  font-size: 2rem;
  color: #009FAE;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.treatment-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

/* Imagem abaixo do texto */
.treatment-image-bottom {
  margin-top: 2rem;
  text-align: center;
}

.treatment-image-bottom img {
  width: 70%;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Sidebar */
.treatment-sidebar {
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid #009FAE;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

.treatment-sidebar h2 {
  font-size: 1.3rem;
  color: #111827;
  margin-bottom: 1rem;
}

.treatment-sidebar ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.treatment-sidebar li {
  margin-bottom: 0.8rem;
}

.treatment-sidebar a {
  color: #009FAE;
  text-decoration: none;
  font-weight: 500;
}

.treatment-sidebar a:hover {
  text-decoration: underline;
}

.doctor-info {
  text-align: center;
}

.doctor-info img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.doctor-info p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* Treatments Section */
.treatments-section {
  padding: 4rem 0;
  background: #fff;
}

.treatments-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #111827;
  margin-bottom: 3rem;
}

/* Botão */
.btn {
  background-color: #009FAE;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

.btn:hover {
  background-color: #717070;
}

/* Footer */
.footer {
  background: #F3F4F6;
  color: #000;
  padding: 3rem 0;
  text-align: center;
}

.footer-logo img {
  max-width: 200px;
  margin-bottom: 2rem;
}

.footer-divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 2rem auto;
  width: 80%;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-section:first-child {
  text-align: left;
}

.footer-section:nth-child(2) {
  text-align: center;
  flex: 1;
}

.footer-section:last-child {
  text-align: left;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
}

.social-links a {
  font-size: 2rem;
  color: #000000;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #009FAE;
}

/* Copyright */
.copyright {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  background: #333641;
  color: #fff;
}

.copyright p {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .treatment-layout {
    grid-template-columns: 1fr;
  }
  
  .treatment-sidebar {
    margin-top: 2rem;
  }
  
  .doctor-info img {
    width: 120px;
    height: 120px;
  }
  
  .treatment-image-bottom img {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-mobile {
    display: block;
  }
  
  /* Footer Mobile */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-section:first-child,
  .footer-section:nth-child(2),
  .footer-section:last-child {
    text-align: center;
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }
  
  .treatments-title {
    font-size: 1.5rem;
  }
  
  .treatment-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 553px) {
  .treatment-detalhe {
    padding: 3rem 1rem;
    margin-top: 2rem;
  }
  
  .treatments-section {
    padding: 3rem 0;
  }
  
  .treatment-image-bottom img {
    width: 100%;
  }
  
  .treatment-title {
    font-size: 1.5rem;
  }
}