/* ==========================================================================
   Dra. Mariah Mello — Site Instagram
   Variáveis, reset e estilos globais
   ========================================================================== */

:root {
  --cream: #FAF4EF;
  --wine: #6C262C;
  --rose: #9D5A55;
  --line: #E8B5B3;
  --display: 'Cinzel', serif;
  --body: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --ui: 'Arimo', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--wine);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
  }
}

.page {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(40px, 8vw, 96px) clamp(20px, 6vw, 60px) clamp(60px, 8vw, 100px);
}

/* ==========================================================================
   Topo: selo + cabeçalho
   ========================================================================== */

.top {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  flex: none;
  width: clamp(120px, 16vw, 150px);
  height: clamp(120px, 16vw, 150px);
  border-radius: 50%;
  overflow: hidden;
}

.badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.62);
}

.heading-block {
  flex: 1 1 380px;
  min-width: 260px;
  text-align: center;
}

.heading-block h1 {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.heading-block p {
  font-family: var(--body);
  color: var(--rose);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.55;
  margin: 0 0 4px;
}

.heading-block .crm {
  margin-top: 8px;
  font-size: clamp(13px, 1.6vw, 15px);
}

@media (min-width: 680px) {
  .top {
    justify-content: flex-start;
  }

  .heading-block {
    text-align: left;
  }
}

/* ==========================================================================
   Redes sociais
   ========================================================================== */

.social-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: clamp(28px, 5vw, 40px) 0 clamp(28px, 5vw, 44px);
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-row a:hover {
  background: var(--rose);
  color: #fff;
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==========================================================================
   Chamada "Agende sua consulta aqui"
   ========================================================================== */

.eyebrow {
  text-align: center;
  font-family: var(--ui);
  font-weight: 700;
  font-size: clamp(12px, 1.6vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 clamp(24px, 4vw, 36px);
}

.eyebrow svg {
  width: 12px;
  height: 12px;
  fill: var(--rose);
}

/* ==========================================================================
   Lista de locais de agendamento
   ========================================================================== */

.locais {
  max-width: 640px;
  margin-inline: auto;
}

.local-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: clamp(16px, 3vw, 22px) 4px;
  border-bottom: 1px solid var(--line);
}

.local-row:first-child {
  border-top: 1px solid var(--line);
}

.local-row .label {
  font-family: var(--body);
  color: var(--rose);
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.3;
}

.local-row .icons {
  display: flex;
  gap: 8px;
  flex: none;
  margin-left: auto;
}

.local-row .icons a {
  width: clamp(28px, 5vw, 34px);
  height: clamp(28px, 5vw, 34px);
  border-radius: 50%;
  border: 1.3px solid var(--rose);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
  flex: none;
}

.local-row .icons a:hover {
  background: var(--rose);
  color: #fff;
}

.local-row .icons svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .local-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .local-row .icons {
    margin-left: 0;
  }
}
