/* Beatriz Moraes - Pilates e Fisioterapia.
   Visual premium/editorial: fotografia full-bleed do estudio real, serifa
   (Playfair Display) nos titulos, sans leve (Jost) no corpo, muito respiro,
   paleta extraida do estudio (bege quente, marrom, dourado da logomarca).
   Sem framework: CSS proprio, zero dependencia visual externa. */
:root {
  --cream: #F7F2E9;
  --cream-deep: #EFE6D5;
  --ink: #241C12;
  --ink-soft: #6B5E4A;
  --gold: #A8803D;
  --line: #E2D6BC;
  --white: #FFFFFF;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1180px;
  --pad: clamp(24px, 6vw, 96px);
  --section-pad: clamp(64px, 10vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 90%; max-width: var(--maxw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 600; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 600; }
p { margin: 0 0 1.1em; }
.muted { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding: 16px 32px; border: 1px solid currentColor; border-radius: 2px; transition: background .25s ease, color .25s ease; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-ghost { color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }

/* ---------- header ---------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; background: rgba(247,242,233,.85); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(36,28,18,.08); transition: padding .3s ease, box-shadow .3s ease; }
header.is-scrolled { padding: 12px 0; box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.brand small { display: block; font-family: var(--font-sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: var(--ink); opacity: .7; margin-top: 3px; }
.nav-links { display: none; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--ink); opacity: .85; transition: opacity .2s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: none; }
.nav-toggle { background: none; border: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 9px; }
.nav-toggle::after { top: 18px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- hero: fundo escuro + retrato recortado encostado no rodape ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(ellipse 70% 65% at 76% 100%, #3B2E1C 0%, var(--ink) 55%, #1B140C 100%); }
.hero-row { position: relative; z-index: 2; display: grid; gap: 0; align-items: end; width: 100%; padding-top: 140px; }
.hero-content { padding-bottom: clamp(56px, 9vw, 120px); }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { color: var(--cream); max-width: 11ch; font-size: clamp(34px, 5vw, 58px); }
.hero-content p { max-width: 42ch; font-size: 18px; color: rgba(247,242,233,.72); }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions .btn-dark { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-actions .btn-dark:hover { background: transparent; color: var(--cream); border-color: var(--gold); }
.hero-actions .btn-line { color: var(--cream); border-color: rgba(247,242,233,.5); }
.hero-actions .btn-line:hover { background: rgba(247,242,233,.1); }
.hero-portrait { position: relative; justify-self: center; max-width: 300px; width: 72%; align-self: end; }
.hero-portrait img { width: 100%; height: auto; display: block; margin-bottom: -6px; }
@media (min-width: 860px) {
  .hero-row { grid-template-columns: 1.15fr .85fr; padding-top: 0; }
  .hero-portrait { width: 100%; max-width: 420px; justify-self: end; }
}

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- sections ---------- */
section { padding: var(--section-pad) 0; }
section.alt { background: var(--cream-deep); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* manifesto */
.manifesto { text-align: center; }
.manifesto .eyebrow { display: block; }
.manifesto p { font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.5; color: var(--ink); max-width: 20ch; margin: 0 auto; font-weight: 500; }

/* sobre */
.sobre-grid { display: grid; gap: 56px; align-items: center; }
.sobre-photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.sobre-facts strong { display: block; font-family: var(--font-serif); font-size: 15px; margin-bottom: 4px; }
.sobre-facts span { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: .85fr 1.15fr; }
}

/* especialidades: linhas alternadas foto/texto, editorial */
.esp-row { display: grid; gap: 32px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.esp-row:last-child { border-bottom: 1px solid var(--line); }
.esp-photo { aspect-ratio: 5/4; overflow: hidden; border-radius: 2px; }
.esp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.esp-row:hover .esp-photo img { transform: scale(1.04); }
.esp-index { font-family: var(--font-serif); font-size: 14px; color: var(--gold); letter-spacing: .08em; margin-bottom: 10px; display: block; }
@media (min-width: 900px) {
  .esp-row { grid-template-columns: .9fr 1.1fr; }
  .esp-row:nth-child(even) .esp-photo { order: 2; }
}

/* recursos: 3 colunas simples */
.recursos-grid { display: grid; gap: 40px; }
.recurso h3 { margin-bottom: 10px; }
.recurso .num { font-family: var(--font-serif); font-size: 13px; color: var(--gold); display: block; margin-bottom: 14px; }
@media (min-width: 760px) {
  .recursos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* como funciona */
.jornada-steps { display: grid; gap: 40px; counter-reset: step; }
.jornada-step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.jornada-step .step-n { font-family: var(--font-serif); font-size: 15px; color: var(--gold); border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (min-width: 760px) {
  .jornada-steps { grid-template-columns: repeat(3, 1fr); }
}

/* blog */
.blog-grid { display: grid; gap: 32px; margin-top: 48px; }
.blog-card { display: block; }
.blog-card-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; margin-bottom: 18px; background: var(--line); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card h3 { font-size: 19px; margin-bottom: 6px; }
.blog-card .cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.blog-card p { color: var(--ink-soft); font-size: 15px; }
.blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-more { font-size: 14px; letter-spacing: .04em; border-bottom: 1px solid var(--gold); color: var(--gold); padding-bottom: 2px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }

/* contato */
.contato { background: var(--ink); color: var(--cream); text-align: center; }
.contato .eyebrow { color: var(--gold); }
.contato h2 { color: var(--cream); max-width: 16ch; margin-inline: auto; }
.contato p { color: rgba(247,242,233,.75); max-width: 46ch; margin-inline: auto; }
.contato-actions { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* footer */
.foot { background: var(--cream-deep); padding: 64px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 40px; margin-bottom: 48px; }
.foot-brand { font-family: var(--font-serif); font-size: 22px; margin-bottom: 10px; }
.foot-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; font-weight: 500; }
.foot-col a, .foot-col p { display: block; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-soft); padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* whatsapp float */
.side-cta { position: fixed; right: 20px; bottom: 20px; z-index: 40; background: var(--ink); color: var(--cream); font-size: 13px; letter-spacing: .03em; padding: 14px 20px; border-radius: 40px; box-shadow: 0 8px 24px rgba(36,28,18,.25); transition: transform .2s ease; }
.side-cta:hover { transform: translateY(-2px); }

/* mobile nav drawer */
.nav-drawer { position: fixed; inset: 0; background: var(--cream); z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer a { font-family: var(--font-serif); font-size: 26px; }
.nav-drawer-close { position: absolute; top: 26px; right: 26px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--ink); }

/* blog listing / post article (templates/artigo.html, blog/index.html) */
.post-wrap { max-width: 740px; }
.post-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 2px; margin: 28px 0 40px; }
.post-body h2 { margin-top: 1.4em; }
.post-body img { border-radius: 2px; margin: 1.2em 0; }
.back-link { font-size: 14px; color: var(--gold); display: inline-block; margin-bottom: 28px; }
