/* =============================================================
   Atelier Sereno — design system de Ana Osorio, Fisioterapeuta
   Quiet luxury · light-first · papel marfim + verde sálvia
   ============================================================= */

/* --- Tokens --------------------------------------------------- */
:root {
  /* Cores */
  --paper:      #F4EFE5; /* fundo da página (marfim/papel quente) */
  --surface:    #FBF7EF; /* medalhão e hover dos botões secundários */
  --ink:        #2E2A23; /* texto principal (espresso, não preto) */
  --muted:      #6E6557; /* texto suave (eyebrow, subhead, rodapé) */
  --sage:       #5C6B57; /* verde sálvia de destaque */
  --sage-deep:  #4F5D4B; /* hover/active do CTA */
  --clay:       #9C6B45; /* terroso — SÓ decorativo, nunca em texto */
  --cream-text: #FBF8F2; /* texto/glifo sobre o CTA sálvia */
  --hairline:   #DED6C6; /* fios finíssimos */

  /* Tipografia */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Forma */
  --radius:     14px;
  --content-w:  420px;
}

/* --- Reset enxuto --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* --- Base ----------------------------------------------------- */
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 56px 24px 40px;
  background-color: var(--paper);
  /* textura de papel finíssima (3–4%), jamais perceptível como ruído */
  background-image: radial-gradient(rgba(46, 42, 35, 0.018) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --- Logo (monograma) ---------------------------------------- */
.brand {
  position: relative;
  margin-bottom: 30px;
}

.logo {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;                    /* monograma centralizado */
  box-shadow: 0 1px 2px rgba(46, 42, 35, 0.04);
}

/* --- Cabeçalho verbal ---------------------------------------- */
.name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.rule {
  width: 40px;
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 22px 0 0;
}

/* --- Manifesto + acolhimento --------------------------------- */
.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.28rem, 5vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink);
  margin-top: 26px;
  max-width: 30ch;
}

.subhead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 16px;
  max-width: 34ch;
}

/* --- Botões de link ------------------------------------------ */
.links {
  width: 100%;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
              transform 150ms ease, box-shadow 150ms ease;
}
.btn__icon { flex: 0 0 auto; width: 22px; height: 22px; }
.btn__icon svg { width: 100%; height: 100%; }
.btn__label { flex: 1 1 auto; text-align: left; }

/* primário — CTA WhatsApp */
.btn--primary {
  background: var(--sage);
  color: var(--cream-text);
  border: 1px solid var(--sage);
  box-shadow: 0 1px 2px rgba(46, 42, 35, 0.06);
}
.btn--primary svg { stroke: var(--cream-text); }
.btn--primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 42, 35, 0.10);
}

/* secundários — quase invisíveis */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn--ghost svg { stroke: var(--ink); }
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--sage);
}

/* foco sempre visível */
.btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* mapa — card com preview + endereço */
.btn--map {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}
.map__img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid var(--hairline);
  transition: transform 400ms ease;
}
.btn--map:hover .map__img { transform: scale(1.04); }
.map__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
}
.map__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.map__text strong { font-weight: 600; font-size: 0.98rem; color: var(--ink); line-height: 1.2; }
.map__text small  { font-weight: 400; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }

/* --- Áreas de atuação ---------------------------------------- */
.areas {
  width: 100%;
  margin-top: 40px;
}
.areas__label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.areas__label::before,
.areas__label::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--hairline);
}
.areas__list {
  margin-top: 14px;
}
.areas__list li {
  font-size: 0.95rem;
  color: var(--ink);
  padding: 11px 0;
}
.areas__list li + li {
  border-top: 1px solid var(--hairline);
}

/* --- Rodapé --------------------------------------------------- */
.footer {
  margin-top: 44px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 32ch;
}

/* =============================================================
   Movimento — sussurrado, só quando o usuário não pediu redução
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    animation: fade-up 600ms cubic-bezier(.2, .6, .2, 1) both;
    animation-delay: var(--d, 0ms);
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(9px); }
    to   { opacity: 1; transform: translateY(0); }
  }

}
