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

:root {
  --color-white-moss: #e4e5d5;
  --color-beige-straw: #c8c2a0;
  --color-gray-olive: #adac95;
  --color-green-hay: #928f58;
  --color-green-olive: #726d2d;
  --color-brown-earth: #49453a;
  --color-white: #ffffff;

  --font-serif: "Crimson Text", serif;
  --font-sans: "Source Sans Pro", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-brown-earth);
  background-color: var(--color-white);
}

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

/* Navbar */
.navbar {
  background-color: var(--color-white);
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-white-moss);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.nav-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-brown-earth);
}

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

.nav-link {
  font-size: 14px;
  color: var(--color-green-olive);
  text-decoration: none;
  transition: color .3s ease;
}

.nav-link:hover {
  color: var(--color-brown-earth);
}

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

  .navbar {
    padding: 12px 14px;
  }
}

/* Hero */
.hero-section {
  position: relative;
  height: auto;
  /* evita corte fixo */
  min-height: calc(100vh - 70px);
  margin-top: 70px;
  /* compensa navbar fixa */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(28px, 8vh, 56px);
}

/* Usa svh/dvh quando suportado */
@supports (height: 1svh) {
  .hero-section {
    min-height: calc(100svh - 70px);
  }
}

@supports (height: 1dvh) {
  .hero-section {
    min-height: calc(100dvh - 70px);
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(73, 69, 58, 0.52), rgba(73, 69, 58, 0.82)), url("images/dra-giovanna-3.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 15%;
}

@media (max-width: 768px) {
  .hero-background {
    background-position: center 25%;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
}

/* Título com quebra controlada (não corta no mobile) */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 3.8rem);
  font-weight: 600;
  /* 80 era inválido */
  margin-bottom: 20px;
  line-height: 1.18;
  text-transform: none;
  text-wrap: balance;
  /* melhora a quebra (navegadores modernos) */
}

.hero-title br {
  display: none;
}

/* sem quebra forçada no mobile */
@media (min-width: 992px) {
  .hero-title br {
    display: inline;
  }
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: color .3s ease;
  padding: 8px;
}

.hero-nav-btn:hover {
  color: var(--color-beige-straw);
}

.hero-nav-left {
  left: 24px;
}

.hero-nav-right {
  right: 24px;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

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

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-brown-earth);
}

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

.btn-outline-green:hover {
  background: var(--color-green-olive);
  color: var(--color-white);
}

.btn-solid-dark {
  background: var(--color-brown-earth);
  color: var(--color-white);
}

.btn-solid-dark:hover {
  background: var(--color-green-olive);
}

/* Clínica */
.clinic-section {
  padding: clamp(56px, 8vw, 80px) 0;
  background-color: var(--color-white-moss);
}

.clinic-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-brown-earth);
  margin-bottom: 24px;
}

.clinic-intro {
  max-width: 800px;
  margin: 0 auto;
}

.clinic-description {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--color-green-olive);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.clinic-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
  object-fit: cover;
}

.clinic-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.clinic-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--color-brown-earth);
}

.clinic-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-green-olive);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .clinic-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Serviços */
.services-section {
  padding: clamp(56px, 8vw, 80px) 0;
  background-color: var(--color-white);
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-description {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--color-green-olive);
  line-height: 1.6;
  margin-top: 16px;
}

/* Pílulas */
.services-list {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 0 6px;
}

.service-pill {
  background: transparent;
  border: none;
}

.service-pill>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background-color: var(--color-green-olive);
  color: var(--color-white);
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: clamp(16px, 2.6vw, 18px);
  line-height: 1.4;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  word-break: normal;
  overflow-wrap: anywhere;
}

.service-pill>summary::-webkit-details-marker {
  display: none;
}

.service-pill>summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
  background-color: var(--color-green-hay);
}

.pill-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-white);
  flex: 0 0 8px;
}

.pill-caret {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
  opacity: .9;
  transition: transform .2s ease;
}

.service-pill[open]>summary .pill-caret {
  transform: rotate(45deg);
}

.pill-body {
  background: var(--color-white-moss);
  color: var(--color-brown-earth);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 10px;
  border: 1px solid var(--color-gray-olive);
  font-size: clamp(15px, 2.4vw, 16px);
  line-height: 1.6;
}

/* CTA de serviços */
.services-cta {
  text-align: center;
  margin-top: 36px;
}

@media (max-width: 480px) {
  .services-cta .btn {
    width: 100%;
    max-width: 360px;
  }
}

/* Horários/Local */
.schedule-section {
  padding: clamp(56px, 8vw, 80px) 0;
  background-color: var(--color-white);
}

.schedule-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.schedule-header {
  margin-bottom: 20px;
}

.section-title-dark {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--color-brown-earth);
  margin-bottom: 16px;
}

.schedule-subtitle {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--color-green-olive);
  margin-bottom: 12px;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.schedule-priority {
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--color-green-olive);
}

.schedule-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-days {
  color: var(--color-green-olive);
}

.schedule-time {
  color: var(--color-brown-earth);
  font-weight: 600;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-container {
  background-color: var(--color-white-moss);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.map-container iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 8px;
}

.location-text {
  padding: 12px;
  text-align: center;
  color: var(--color-green-olive);
  background-color: var(--color-white-moss);
  border-radius: 0 0 8px 8px;
  margin-top: -8px;
}

.location-text p {
  margin: 4px 0;
  font-weight: 500;
}

.clinic-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clinic-photos img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

@media (max-width: 1024px) {
  .schedule-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Contato (CTA) */
.contact-section {
  padding: clamp(56px, 8vw, 80px) 0;
  background-color: var(--color-beige-straw);
}

.cta-wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.btn-cta {
  display: inline-block;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: clamp(16px, 2.8vw, 18px);
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-brown-earth);
  color: var(--color-white);
  border: 2px solid transparent;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(73, 69, 58, .18);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-cta:hover {
  background: var(--color-green-olive);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(114, 109, 45, .22);
  color: var(--color-white);
}

@media (max-width: 480px) {
  .btn-cta {
    width: 100%;
    max-width: 360px;
  }
}

/* Footer */
.footer {
  background-color: var(--color-brown-earth);
  color: var(--color-white);
  padding: 40px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 24px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-subtitle {
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--color-beige-straw);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-beige-straw);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--color-green-olive);
  padding-top: 18px;
  text-align: center;
}

.footer-copyright {
  color: var(--color-beige-straw);
  font-size: 12px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Animação */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn .6s ease-out;
}