:root {
  --green: #3f6f61;
  --green-deep: #24463c;
  --green-ink: #1c2f29;
  --sage: #dfe6df;
  --ivory: #faf8f3;
  --sand: #f1ece2;
  --line: #e2dccf;
  --gold: #b59a6d;
  --text: #55615c;
  --whatsapp: #25d366;
  --whatsapp-deep: #128c7e;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-height: 88px;
  --cookie-height: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--green-ink); }
a { color: var(--green); }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; padding: 8px 16px; background: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
.anchor { position: absolute; top: calc(var(--header-height) * -1); }
.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--gold); }
.section-title { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.1; text-align: center; }
.section-title-left { text-align: left; }

/* Animações */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-in { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes settle { from { transform: scale(1.07); } }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  60%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* Botões */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  overflow: hidden;
  padding: 15px 28px;
  border: 0;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--green-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: #fff; box-shadow: 0 12px 28px rgba(36, 70, 60, .22); transform: translateY(-2px); }
.btn .icon { font-size: 1.2em; }
.btn-large { padding: 18px 34px; font-size: 15px; }
.btn-white { background: var(--ivory); color: var(--green-deep); }
.btn-white:hover, .btn-white:focus-visible { color: #fff; }
.btn-white::before { background: var(--green); }
.btn-whatsapp { width: 100%; background: var(--whatsapp-deep); }
.btn-whatsapp::before { background: #0e6f64; }

/* Topo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 248, 243, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(28, 47, 41, .06); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  height: var(--header-height);
  margin-inline: auto;
  padding-inline: 32px;
  transition: height .5s var(--ease);
}
.is-scrolled .header-inner { height: 68px; }
.header-logo { display: block; margin-right: auto; }
.header-logo img { width: 230px; }
.menu { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.menu a {
  position: relative;
  display: block;
  padding: 6px 0;
  color: var(--green-ink);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  text-decoration: none;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.menu a:hover::after, .menu a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 28px; height: 1px; background: var(--green-ink); transition: width .4s var(--ease); }
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle:hover span { width: 28px; }

/* Menu lateral */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(28, 47, 41, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(88vw, 400px);
  overflow-y: auto;
  padding: 24px 28px 28px;
  background: var(--ivory);
  box-shadow: -20px 0 60px rgba(28, 47, 41, .2);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .6s var(--ease), visibility .6s;
}
.drawer-open { overflow: hidden; }
.drawer-open .drawer-scrim { opacity: 1; visibility: visible; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drawer-head img { width: 180px; }
.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--green-ink);
  font-size: 18px;
  cursor: pointer;
  transition: transform .5s var(--ease);
}
.drawer-close:hover { transform: rotate(90deg); }
.drawer-menu { flex: 1 0 auto; margin: 40px 0; padding: 0; list-style: none; }
.drawer-menu li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.drawer-menu a { display: block; padding: 16px 0; color: var(--green-ink); font-family: var(--serif); font-size: 32px; line-height: 1.2; text-decoration: none; }
.drawer-menu a:active { color: var(--green); }
.drawer-foot {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.drawer-foot p { margin: 18px 0 0; font-size: 14px; line-height: 1.7; }
.drawer-open .drawer-menu li, .drawer-open .drawer-foot { opacity: 1; transform: none; }
.drawer-open .drawer-menu li:nth-child(1) { transition-delay: .12s; }
.drawer-open .drawer-menu li:nth-child(2) { transition-delay: .19s; }
.drawer-open .drawer-menu li:nth-child(3) { transition-delay: .26s; }
.drawer-open .drawer-foot { transition-delay: .34s; }
.drawer-open .wa-float { opacity: 0; pointer-events: none; }

/* Abertura */
.hero { position: relative; overflow: hidden; display: flex; min-height: calc(100vh - var(--header-height)); background: #e6e5e1; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; animation: settle 2.6s var(--ease) both; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 248, 243, .82) 0%, rgba(250, 248, 243, .55) 36%, rgba(250, 248, 243, 0) 60%);
}
.hero-inner { position: relative; display: flex; align-items: center; width: 100%; max-width: 1200px; margin-inline: auto; padding: 80px 32px; }
.hero-col { display: flex; flex-direction: column; align-items: flex-start; max-width: 540px; }
.hero-title { margin: 18px 0 20px; font-size: clamp(50px, 6.4vw, 86px); line-height: 1; letter-spacing: -.01em; }
.hero-sub { max-width: 420px; margin-bottom: 36px; color: var(--green-ink); font-size: 20px; line-height: 1.5; }
.hero-particular { margin: 16px 0 0; color: var(--green-ink); font-size: 16px; line-height: 1.5; }
.hero-particular strong { font-weight: 500; }
.hero-crp { margin-top: 20px; color: var(--green); font-size: 14px; font-weight: 400; letter-spacing: .08em; }

/* Sobre */
.sobre { position: relative; padding-block: 130px; background: var(--green-deep); color: #e9ece6; }
.sobre-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 90px; }
.sobre-photo { position: relative; max-width: 420px; justify-self: center; }
.sobre-photo img { position: relative; width: 100%; }
.sobre-title { margin: 14px 0 34px; color: #fff; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.sobre-body p:last-child { margin: 0; }

/* Processo terapêutico */
.servicos { position: relative; padding-block: 130px; }
.servicos-head { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 72px; text-align: center; }
.particular {
  margin: 0;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}
.particular strong { font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { position: relative; padding: 38px 30px 42px; background: var(--ivory); }
.js .card.reveal { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), background-color .5s; }
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.card:hover { background: #fff; }
.card:hover::before { transform: scaleX(1); }
.card-num { display: block; margin-bottom: 26px; color: var(--gold); font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1; }
.card-title { margin-bottom: 14px; font-size: 26px; font-weight: 500; line-height: 1.15; }
.card-text { margin: 0; font-size: 16px; line-height: 1.65; }

/* Contato */
.contato { position: relative; padding-block: 120px 130px; background: var(--sand); }
.contato-bg { position: absolute; top: 0; left: 0; right: 0; height: 480px; overflow: hidden; }
.contato-bg img { width: 100%; height: 100%; object-fit: cover; }
.contato-bg::after { content: ""; position: absolute; inset: 0; background: rgba(28, 47, 41, .68); }
.contato-inner { position: relative; }
.contato-title { margin-bottom: 60px; color: #fff; }
.contato-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); box-shadow: 0 30px 70px rgba(28, 47, 41, .18); }
.contato-info { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding: 48px; background: var(--green-deep); color: #dfe6df; }
.contato-info-title { color: #fff; font-size: 30px; line-height: 1.15; }
.contato-list { margin: 0; padding: 0; list-style: none; line-height: 1.5; }
.contato-list li { display: flex; align-items: center; gap: 12px; }
.contato-list li + li { margin-top: 14px; }
.contato-list a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; transition: color .3s; }
.contato-list a:hover { color: #fff; }
.contato-list .icon { color: var(--gold); width: 16px; height: 16px; }
.contato-map { display: block; width: 100%; flex: 1 1 auto; min-height: 220px; border: 0; filter: grayscale(.7); transition: filter .6s; }
.contato-map:hover { filter: none; }
.contato-form { padding: 48px 56px; background: #fff; }
.contato-form-title { font-size: 30px; line-height: 1.15; }
.contato-form-text { margin: 12px 0 28px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form input, .form textarea {
  display: block;
  width: 100%;
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid #cfc9bb;
  border-radius: 0;
  background: transparent;
  color: var(--green-ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  transition: border-color .4s, box-shadow .4s;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.form textarea { resize: vertical; }
.form ::placeholder { color: #7f8984; opacity: 1; }
.form .form-trap { display: none !important; }
.btn-submit { width: 100%; margin-top: 10px; }
.btn-submit:disabled { opacity: .6; cursor: progress; }
.form-msg { color: var(--green); font-weight: 400; }
.form-msg[data-error] { color: #b3402f; }

/* Artigos */
.artigos { padding-block: 120px; }
.artigos-all { display: block; width: fit-content; margin: 12px auto 56px; color: var(--green); font-weight: 400; letter-spacing: .04em; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(28, 47, 41, .06); }
.js .post-card.reveal { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), box-shadow .6s var(--ease); }
.post-card:hover { box-shadow: 0 24px 50px rgba(28, 47, 41, .13); }
.post-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-text { flex: 1 1 auto; padding: 28px 30px 8px; }
.post-title { margin: 12px 0 16px; font-size: 27px; font-weight: 500; line-height: 1.15; }
.post-title a { color: inherit; text-decoration: none; transition: color .3s; }
.post-title a:hover { color: var(--green); }
.post-more { color: var(--green); font-size: 14px; font-weight: 400; letter-spacing: .06em; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.post-meta { margin: 0; padding: 16px 30px 24px; font-size: 14px; }

/* Página de categoria */
.categoria { padding-block: 80px 120px; }
.categoria .section-title { margin: 8px 0 48px; }

/* Artigo */
.artigo-head { background: var(--sand); }
.artigo-head-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 64px; padding-block: 72px; }
.artigo-title { margin: 14px 0 20px; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06; }
.artigo-date { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; font-size: 15px; }
.artigo-date .icon { width: 13px; height: 13px; color: var(--gold); }
.artigo-image { aspect-ratio: 4 / 3; overflow: hidden; }
.artigo-image img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: var(--green);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color .4s, color .4s;
}
.share-btn:hover, .share-btn:focus-visible { background: var(--green); color: #fff; }
.artigo-body { max-width: 720px; margin-inline: auto; padding: 72px 32px 110px; font-size: 19px; line-height: 1.85; }
.artigo-body strong { color: var(--green-ink); font-weight: 500; }
.artigo-body > p:first-child::first-letter { float: left; margin: 8px 12px 0 0; color: var(--green); font-family: var(--serif); font-size: 72px; line-height: .8; }

/* Páginas de texto */
.simples { max-width: 760px; margin-inline: auto; padding: 80px 32px 110px; }
.simples h1 { margin-bottom: 32px; font-size: clamp(38px, 5vw, 54px); line-height: 1.1; }
.simples h2 { margin: 40px 0 12px; font-size: 28px; font-weight: 500; line-height: 1.2; }

/* Rodapé */
.site-footer { padding: 64px 32px; border-top: 1px solid var(--line); background: var(--ivory); font-size: 14px; text-align: center; }
.site-footer img { width: 240px; margin: 0 auto 20px; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: var(--green); text-underline-offset: 3px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  animation: ring 3.6s ease-out 2s infinite;
  transition: transform .5s var(--ease), bottom .5s var(--ease), opacity .3s;
}
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.08); color: #fff; }
.wa-float.above-cookie { bottom: calc(var(--cookie-height) + 32px); }

/* Aviso de cookies */
.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  width: 380px;
  max-width: calc(100% - 32px);
  padding: 24px 26px;
  background: var(--green-ink);
  color: #e9ece6;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 20px 50px rgba(28, 47, 41, .3);
  animation: rise .9s var(--ease) .8s both;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 16px; }
.cookie a { color: #fff; }
.cookie button { display: block; width: 100%; min-height: 44px; padding: 8px 13px; border: 0; border-radius: 2px; background: var(--ivory); color: var(--green-deep); font: inherit; font-weight: 500; cursor: pointer; transition: background-color .3s; }
.cookie button:hover { background: #fff; }

/* Tablet */
@media (max-width: 1024px) {
  :root { --header-height: 76px; }
  .container, .header-inner { padding-inline: 24px; }
  .header-nav { display: none; }
  .header-inner { gap: 16px; }
  .is-scrolled .header-inner { height: 64px; }
  .menu-toggle { display: flex; }
  .header-logo img { width: 200px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(250, 248, 243, .92) 0%, rgba(250, 248, 243, .68) 46%, rgba(250, 248, 243, 0) 76%); }
  .sobre-inner { gap: 56px; }
  .sobre, .servicos { padding-block: 100px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contato-form { padding: 40px; }
  .contato-info { padding: 40px 32px; }
}
@media (min-width: 1025px) {
  .drawer, .drawer-scrim, .menu-toggle { display: none; }
}

/* Celular */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .container, .header-inner { padding-inline: 20px; }
  .header-cta { display: none; }
  .header-logo img { width: 180px; }

  .hero { display: block; min-height: 0; background: var(--ivory); }
  .hero-media { position: relative; inset: auto; height: max(62vw, 260px); }
  .hero-media img { object-position: 82% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(250, 248, 243, 0) 70%, var(--ivory) 100%); }
  .hero-inner { padding: 20px 20px 64px; }
  .hero-col { max-width: none; }
  .hero-title { font-size: 50px; }
  .hero-sub { font-size: 18px; margin-bottom: 28px; }
  .hero-actions, .hero-actions .btn { width: 100%; }

  .sobre, .servicos { padding-block: 80px; }
  .sobre-inner { grid-template-columns: 1fr; gap: 64px; }
  .sobre-photo { max-width: 76%; }
  .servicos-head { margin-bottom: 48px; }
  .particular { border-radius: 4px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 30px 24px 32px; }

  .contato { padding-block: 80px; }
  .contato-bg { height: 360px; }
  .contato-title { margin-bottom: 40px; }
  .contato-row { grid-template-columns: 1fr; }
  .contato-info, .contato-form { padding: 32px 24px; }
  .contato-info .btn { width: 100%; }

  .artigos, .categoria { padding-block: 72px 88px; }
  .post-grid { grid-template-columns: 1fr; }
  .artigo-head-inner { grid-template-columns: 1fr; gap: 36px; padding-block: 48px; }
  .artigo-body { padding: 48px 20px 88px; font-size: 18px; }
  .simples { padding: 56px 20px 88px; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 30px; }
  .wa-float.above-cookie { bottom: calc(var(--cookie-height) + 16px); }
  .cookie { right: 0; bottom: 0; left: 0; width: auto; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
