/* ============================================================
   Eliana Baggio — Psicanalista · Sorocaba
   Sistema visual: papel quente + tinta + um accent (verde-sálvia)
   Tipos: Fraunces (títulos, serif editorial) + Source Sans 3 (corpo)
   ============================================================ */

:root {
  --paper: #f6f1e8;
  --surface: #fdfbf6;
  --ink: #272219;
  --muted: #6e6557;
  --line: #e3dac7;
  --accent: #55654a;
  --accent-deep: #46533a;
  --accent-soft: #eef0e6;
  --draft: #f2e3bd;
  --draft-ink: #6b5619;
  --maxw: 1060px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- faixa de rascunho (remover ao aprovar) ---------- */
.draft-banner {
  background: var(--draft);
  color: var(--draft-ink);
  font-size: .85rem;
  text-align: center;
  padding: .45rem 1rem;
  border-bottom: 1px solid #e0cf9a;
}

/* ---------- header / nav ---------- */
.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem 24px 1.2rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .98rem;
  padding: .35rem 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--accent); }

.site-nav .btn { margin-left: .4rem; }

/* ---------- estrutura ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 4.2rem 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }

.label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .9rem;
}

.lede { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 3.5rem 0 4.5rem; }

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }

.photo-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(120% 90% at 20% 10%, #fbf7ee 0%, transparent 60%),
    linear-gradient(160deg, #f1e9d8 0%, #e9dfc9 100%);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

img.photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 999px 999px 18px 18px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 46px;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: #f9f7f0;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-ghost { background: transparent; color: var(--accent-deep); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- passos (primeiro contato) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: passo; max-width: 640px; }
.steps li {
  counter-increment: passo;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.steps li:first-child { border-top: 0; padding-top: .4rem; }
.steps li::before {
  content: counter(passo, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.steps b { display: block; font-size: 1.08rem; margin-bottom: .15em; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- duas colunas genéricas ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* ---------- sobre / credenciais ---------- */
.creds { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.creds li { padding: .9rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.creds li:first-child { border-top: 0; }
.creds b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- cards de contato (usados com parcimônia) ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.contact-list li:first-child { border-top: 0; }
.contact-list .k { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- em breve (agendar) ---------- */
.soon {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 2.2rem;
  max-width: 620px;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  font-size: .92rem;
}
.site-footer .container { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: baseline; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* ---------- responsivo ---------- */
@media (max-width: 820px) {
  .hero, .cols-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 2rem; }
  .photo-placeholder { max-width: 340px; }
  .section { padding: 3.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
