/* ==========================================================
   Lili Ferreira — layout baseado no protótipo Figma
   Paleta: Verde profundo · Creme · Terracota · Areia
   ========================================================== */

:root {
  --bg: #f7f4ee;
  --cream: #f6f1e8;
  --ink: #243229;
  --ink-deep: #1c2921;
  --sage: #26362c;
  --sage-hover: #36483d;
  --accent: #8b5f4c;
  --accent-soft: #c6a899;
  --sand: #d9c7b9;
  --muted: #59635c;
  --muted-light: #657069;
  --line: #c8c5bd;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: 100%; max-width: 1340px; margin-inline: auto; }
.wrap--wide { max-width: 1440px; }
.section { padding: 144px 48px; }
.section--tight { padding: 96px 48px; }

/* Tipografia */
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.6rem, 6.4vw, 7.2rem); line-height: .9; letter-spacing: -.05em; }
h2 { font-size: clamp(3.1rem, 5vw, 5.7rem); line-height: .9; letter-spacing: -.045em; }
h3 { font-size: 2rem; line-height: 1; }
p:last-child { margin-bottom: 0; }
em, .italic { font-style: italic; }
.text-accent { color: var(--accent); }
.text-accent-soft { color: var(--accent-soft); }
.lead { max-width: 350px; font-size: 15px; line-height: 28px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 24px; }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: 9px; font-weight: 700; letter-spacing: .23em;
  text-transform: uppercase; color: #79837c;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: #b9c0bb; }
.eyebrow--dark { color: rgba(255,255,255,.7); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border: 0; cursor: pointer; background: none; color: inherit;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--solid { background: var(--sage); color: #fff; padding: 16px 28px; }
.btn--solid:hover { background: var(--sage-hover); }
.btn--circle {
  width: 80px; height: 80px; flex: none; border-radius: 50%;
  background: var(--sage); color: #fff;
}
.btn--circle:hover { transform: scale(1.05); background: var(--sage-hover); }
.btn--circle svg { width: 24px; height: 24px; }
.btn--line { padding-bottom: 5px; border-bottom: 1px solid #617064; }
.btn--line:hover { color: var(--accent); border-color: var(--accent); }
.btn--ghost { border: 1px solid var(--line); padding: 14px 24px; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.45); padding: 14px 24px; color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }

/* ==========================================================
   Cabeçalho
   ========================================================== */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin-inline: auto; padding: 24px 48px;
}
.brand { display: inline-flex; align-items: baseline; line-height: 1; color: #213128; }
.brand__serif { font-family: var(--serif); font-style: italic; font-size: 31px; letter-spacing: -.05em; }
.brand__caps { margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.nav__links {
  display: none; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  display: block; padding-block: 8px; position: relative;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor; transition: width .3s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__cta { display: none; }
.menu-toggle {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: 0; background: none; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 1023px) {
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); padding: 12px 24px 24px;
    box-shadow: 0 20px 40px rgba(36,50,41,.1);
  }
  .nav__links.is-open a { border-bottom: 1px solid var(--line); }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; min-height: 760px; }
.hero__grid { display: grid; min-height: 760px; max-width: 1440px; margin-inline: auto; }
.hero__copy { position: relative; z-index: 10; display: flex; align-items: center; padding: 160px 24px 100px; }
.hero__copy-inner { width: 100%; max-width: 730px; }
.hero h1 { margin: 32px 0 0; font-size: clamp(4rem, 7.4vw, 8.7rem); line-height: .82; letter-spacing: -.055em; }
.hero h1 em { display: block; margin-left: 8%; font-weight: 400; color: var(--accent); }
.hero__lead-row { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; margin-top: 44px; }
.hero__media { position: relative; min-height: 580px; overflow: hidden; background: #ddd9d0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(38,54,44,.25), transparent 45%, rgba(247,244,238,.2));
}
.hero__caption {
  position: absolute; z-index: 2; right: 32px; bottom: 32px;
  border-left: 1px solid rgba(255,255,255,.6); padding-left: 20px;
  color: #fff; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
}
.hero__caption small {
  display: block; margin-top: 8px; color: rgba(255,255,255,.75);
  font-size: 12px; letter-spacing: normal; text-transform: none;
}
.hero__scroll {
  display: none; position: absolute; bottom: 32px; left: 48px;
  transform: rotate(-90deg); transform-origin: left center;
  font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: #6c776f;
}
@media (min-width: 640px) { .hero__lead-row { margin-left: 16%; flex-direction: row; align-items: center; gap: 48px; } }
@media (min-width: 1024px) {
  .hero, .hero__grid { min-height: 100vh; }
  .hero__grid { grid-template-columns: 1.06fr .94fr; }
  .hero__copy { padding: 176px 48px 96px; }
  .hero__media { min-height: 100vh; }
  .hero__scroll { display: block; }
}

/* ==========================================================
   Métodos (seção escura)
   ========================================================== */
.methods { background: var(--ink); color: var(--cream); }
.methods__head { display: grid; gap: 32px; margin-bottom: 64px; }
.methods h2 { color: var(--cream); }
.methods h2 em { display: block; color: var(--accent-soft); }
.methods__lead { max-width: 448px; font-size: 14px; line-height: 28px; color: #b9c0bb; }
.methods__grid { display: grid; gap: 1px; background: rgba(255,255,255,.15); }
.method-card { position: relative; display: flex; align-items: flex-end; min-height: 560px; overflow: hidden; background: var(--ink); }
.method-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.65);
  transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .6s;
}
.method-card:hover .method-image { transform: scale(1.035); filter: saturate(.9); }
.method-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(18,29,22,.15) 30%, rgba(18,29,22,.92)); }
.method-card__content { position: relative; z-index: 2; padding: 32px; }
.method-card__label {
  display: block; margin-bottom: 20px; color: rgba(255,255,255,.7);
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
}
.method-card h3 { max-width: 384px; color: var(--cream); font-size: clamp(2.2rem, 3.6vw, 3rem); }
.method-card p { max-width: 448px; margin: 20px 0 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 24px; }
@media (min-width: 1024px) {
  .methods__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .methods__lead { justify-self: end; }
  .methods__grid { grid-template-columns: repeat(2, 1fr); }
  .method-card__content { padding: 44px; }
}

/* ==========================================================
   Tratamentos
   ========================================================== */
.treatments__head { display: grid; gap: 32px; margin-bottom: 56px; }
.treatments h2 em { color: var(--accent); }
.filters {
  display: flex; flex-wrap: wrap; gap: 24px; align-self: end;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  border: 0; background: none; cursor: pointer; padding: 0 0 12px;
  color: #929991; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  transition: color .2s;
}
.filter-btn:hover, .filter-btn.is-active { color: var(--ink); }
.treatment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.treatment-card { position: relative; display: none; }
.treatment-card.is-visible { display: block; }
.treatment-card__media { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; background: #ddd9d0; }
.treatment-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.treatment-card:hover img { transform: scale(1.05); }
.treatment-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,34,25,.65), transparent 55%);
}
.treatment-card__num {
  position: absolute; z-index: 2; top: 16px; left: 16px;
  color: #fff; font-size: 9px; font-weight: 600; letter-spacing: .2em;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.treatment-card__body { padding: 20px 0; border-bottom: 1px solid #d4d0c7; }
.treatment-card__cat { display: block; margin-bottom: 8px; color: #9a7564; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.treatment-card h3 { margin: 0; color: var(--ink); font-size: 1.5rem; line-height: 1.1; }
.treatment-card__arrow {
  position: absolute; z-index: 3; right: 20px; bottom: 20px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--cream); color: var(--ink);
  opacity: 0; transform: translateY(12px); transition: .3s ease;
}
.treatment-card__arrow svg { width: 18px; height: 18px; }
.treatment-card:hover .treatment-card__arrow { opacity: 1; transform: none; }
.treatment-card__link { position: absolute; z-index: 4; inset: 0; }
.treatments__more { display: flex; justify-content: center; margin-top: 56px; }
@media (min-width: 768px) { .treatment-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .treatments__head { grid-template-columns: 1fr auto; align-items: end; }
  .treatment-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .treatment-card__arrow { opacity: 1; transform: none; width: 36px; height: 36px; }
}

/* ==========================================================
   Frase / Sobre
   ========================================================== */
.quote { position: relative; overflow: hidden; background: var(--sand); padding: 128px 48px; }
.quote__mark {
  position: absolute; top: -180px; right: -48px;
  font-family: var(--serif); font-style: italic; font-size: 480px; line-height: 1;
  color: rgba(255,255,255,.15); pointer-events: none;
}
.quote__grid { position: relative; display: grid; gap: 48px; max-width: 1200px; margin-inline: auto; }
.quote__text { color: #2b392f; font-family: var(--serif); font-size: clamp(3.2rem, 5.5vw, 6.5rem); line-height: .9; letter-spacing: -.045em; }
.quote__text em { display: block; color: var(--accent); }
.quote__side { max-width: 448px; }
.quote__side p { margin-bottom: 28px; color: #4d5a51; font-size: 14px; line-height: 28px; }
.quote__signature { margin-top: 18px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6b756d; }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .quote__side { justify-self: end; }
}

/* ==========================================================
   Journal / Conteúdos
   ========================================================== */
.journal__head { display: grid; gap: 24px; margin-bottom: 56px; }
.journal h2 em { color: var(--accent); }
.journal__lead { max-width: 320px; color: var(--muted-light); font-size: 14px; line-height: 24px; }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.post { display: block; color: inherit; }
.post__media { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd9d0; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post:hover .post__media img { transform: scale(1.04); }
.post__date { display: block; margin-top: 20px; color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.post h3 { margin: 12px 0 20px; font-size: 1.5rem; line-height: 1.05; transition: color .25s; }
.post:hover h3 { color: var(--accent); }
.post__more { display: inline-flex; align-items: center; gap: 12px; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.post__more svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .journal__head { grid-template-columns: 1fr auto; align-items: end; } }

/* ==========================================================
   Contato (faixa final, mantida para o painel)
   ========================================================== */
.contact-band { background: var(--ink); color: var(--cream); }
.contact-band__grid { display: grid; gap: 48px; align-items: center; }
.contact-band h2 { color: var(--cream); }
.contact-band p { max-width: 448px; color: #b9c0bb; font-size: 14px; line-height: 28px; }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
@media (min-width: 1024px) { .contact-band__grid { grid-template-columns: 1.1fr .9fr; } .contact-band__copy { justify-self: end; } }

/* ==========================================================
   Páginas internas
   ========================================================== */
.inner-hero { position: relative; padding: 200px 48px 120px; }
.breadcrumb { margin-bottom: 32px; color: #79837c; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--accent); }
.inner-hero h1 { margin: 24px 0; }
.inner-hero__grid { display: grid; gap: 48px; align-items: center; }
.inner-hero__media img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; }
.inner-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 40px; background: rgba(36,50,41,.15); }
.info-box { background: var(--bg); padding: 28px; }
.info-box h3 { margin-bottom: 10px; font-size: 1.8rem; }
.info-box p, .info-box a { color: var(--muted); font-size: 14px; line-height: 24px; }
.info-box a:hover { color: var(--accent); }
.prose { max-width: 70ch; color: var(--muted); font-size: 15px; line-height: 28px; }
.prose h2 { margin: 48px 0 16px; color: var(--ink); font-size: 2.6rem; }
.prose p { margin-bottom: 1em; }
.related { margin-top: 80px; }
.related .treatment-grid { margin-top: 32px; }
@media (min-width: 768px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .inner-hero__grid { grid-template-columns: 1.1fr .9fr; } }

/* Etapas e FAQ — mantidos no site, com a mesma linguagem visual */
.steps { background: var(--ink); color: var(--cream); }
.steps h2 { color: var(--cream); }
.steps__grid { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 48px; background: rgba(255,255,255,.15); }
.step { background: var(--ink); padding: 40px 32px; }
.step__num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--accent-soft); }
.step h3 { margin: 16px 0 10px; font-size: 1.9rem; }
.step p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 24px; }
.faq__grid { display: grid; gap: 48px; }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 0; border: 0; background: none; cursor: pointer;
  text-align: left; color: var(--ink); font-family: var(--serif); font-size: 1.6rem; line-height: 1.1;
}
.accordion__icon {
  display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px;
  border: 1px solid var(--accent); border-radius: 50%; color: var(--accent);
  font-family: var(--sans); font-size: 18px; line-height: 1; transition: transform .25s;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__panel p { margin: 0; padding: 0 44px 24px 0; color: var(--muted); font-size: 14px; line-height: 24px; }
@media (min-width: 768px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: .8fr 1.2fr; } }

/* ==========================================================
   Rodapé
   ========================================================== */
.site-footer { background: var(--ink-deep); color: #f5f0e8; padding: 80px 48px 32px; }
.footer__grid {
  display: grid; gap: 48px; max-width: 1340px; margin-inline: auto;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer__brand { font-family: var(--serif); font-style: italic; font-size: 3rem; letter-spacing: -.05em; }
.footer__intro { max-width: 320px; margin: 16px 0 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 24px; }
.footer-title {
  margin-bottom: 20px; color: rgba(255,255,255,.6);
  font-size: 9px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,.65); font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  max-width: 1340px; margin-inline: auto; padding-top: 24px;
  color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
}
.footer__bottom a:hover { color: #fff; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.2fr .8fr .8fr; } }

/* Elementos flutuantes */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--sage); color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.24); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }
.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 60;
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--ink);
  cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1023px) {
  .section { padding: 96px 24px; }
  .section--tight { padding: 72px 24px; }
  .site-header__inner { padding: 20px 24px; }
  .quote { padding: 96px 24px; }
  .inner-hero { padding: 160px 24px 96px; }
  .site-footer { padding: 64px 24px 28px; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 72px 20px; }
  .section--tight { padding: 56px 20px; }
  .site-header__inner { padding: 16px 20px; }
  .hero { min-height: auto; }
  .hero__grid { min-height: 0; }
  .hero__copy { padding: 132px 20px 64px; }
  .hero h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .hero__lead-row { margin-left: 0; }
  .hero__media { min-height: 440px; }
  .hero__caption { right: 20px; bottom: 20px; }
  .method-card { min-height: 440px; }
  .quote { padding: 72px 20px; }
  .quote__mark { font-size: 300px; top: -100px; }
  .inner-hero { padding: 140px 20px 72px; }
  .site-footer { padding: 56px 20px 24px; }
  .btn { width: 100%; }
  .btn--circle { width: 64px; height: 64px; }
  .hero__lead-row .btn--circle { width: 72px; height: 72px; }
  .contact-band__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
