/* DM Corpo Terapia — nova versão do site
   Marca: #F09390 · neutros derivados do cacau da foto da equipe */

:root {
  --coral: #F09390;
  --coral-ink: #A64A4C;
  --cocoa: #35211F;
  --cocoa-soft: #5B3F3A;
  --blush: #FDF5F3;
  --blush-2: #F9E6E3;
  --petal: #F6CFCB;
  --line: rgba(53, 33, 31, .14);
  --line-light: rgba(253, 245, 243, .22);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--cocoa);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--coral); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--cocoa); color: var(--blush); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); }

/* ---------- Tipografia ---------- */
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.h1 { font-size: clamp(3.75rem, 10.5vw, 8.75rem); line-height: .9; letter-spacing: -.03em; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.02; }
.h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 46ch; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 56ch; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--coral); --fg: var(--cocoa);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); border-radius: 999px;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-2px); background: var(--cocoa); border-color: var(--cocoa); color: var(--blush); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); border-color: var(--cocoa); }
.btn--ghost:hover { background: var(--cocoa); color: var(--blush); }
.btn--dark { --bg: var(--cocoa); --fg: var(--blush); }
.btn--dark:hover { background: var(--blush); border-color: var(--blush); color: var(--cocoa); }
.on-dark .btn:hover { background: var(--blush); border-color: var(--blush); color: var(--cocoa); }

.link {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease), color .2s;
}
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled, .header.is-open { background: rgba(253, 245, 243, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: .95rem; font-weight: 500; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--coral-ink), var(--coral-ink)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.nav__link:hover { background-size: 100% 1.5px; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.header.is-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blush); padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .4s var(--ease), visibility 0s .4s;
  }
  .header.is-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease); }
  .nav__link { font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .header__cta .btn { display: none; }
  .brand__name { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__swoosh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__swoosh path { fill: none; stroke: var(--coral); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hero__swoosh path:nth-child(2) { stroke: var(--petal); stroke-width: 1.2; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title { margin-bottom: clamp(20px, 3vw, 32px); }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: clamp(0px, 5vw, 80px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; font-size: .95rem; color: var(--cocoa-soft); }
.hero__proof li { display: flex; align-items: center; gap: 10px; }
.hero__proof li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.stars { display: inline-flex; gap: 2px; color: var(--coral-ink); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

.hero__art { position: relative; isolation: isolate; justify-self: end; width: min(100%, 440px); }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--cocoa); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; }
.hero__art::before {
  content: ''; position: absolute; inset: -18px -18px 18px 18px;
  border: 1.5px solid var(--coral); border-bottom: 0; border-radius: 999px 999px 0 0; z-index: -1;
}
.hero__seal {
  position: absolute; left: -34px; bottom: 28px; width: 104px; height: 104px;
  border-radius: 50%; border: 5px solid var(--blush); box-shadow: 0 10px 30px rgba(53, 33, 31, .18); object-fit: cover;
}

.hero .h1 span, .hero__art, .hero__seal { will-change: transform, opacity; }
@media (prefers-reduced-motion: no-preference) {
  .hero__swoosh path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .1s forwards; }
  .hero__swoosh path:nth-child(2) { animation-delay: .35s; }
  .hero .h1 span { opacity: 0; transform: translateY(.35em); animation: rise .9s var(--ease) forwards; }
  .hero .h1 span:nth-child(1) { animation-delay: .25s; }
  .hero .h1 span:nth-child(2) { animation-delay: .4s; }
  .hero__art { clip-path: inset(100% 0 0 0); animation: unveil 1.2s var(--ease) .35s forwards; }
  .hero__seal { opacity: 0; animation: fade .6s ease 1.3s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unveil { to { clip-path: inset(-60px -60px 0 -60px); } }
@keyframes fade { to { opacity: 1; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { justify-self: center; width: min(86%, 400px); margin-top: 24px; }
  .hero__seal { left: -20px; width: 84px; height: 84px; }
  .hero__proof li + li { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
}

/* ---------- Valores ---------- */
.values { background: var(--blush-2); border-block: 1px solid var(--line); }
.values__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.values__item { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1; padding: clamp(22px, 3.4vw, 40px) 8px; text-align: center; }
.values__item + .values__item { border-left: 1px solid var(--line); }
@media (max-width: 640px) {
  .values__list { grid-template-columns: repeat(2, 1fr); }
  .values__item:nth-child(3) { border-left: 0; }
  .values__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Serviços ---------- */
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(24px, 6vw, 96px); }
@media (max-width: 800px) { .section-head--split { grid-template-columns: 1fr; } }

.services__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 3vw, 40px); }
.service { display: flex; flex-direction: column; gap: 22px; text-decoration: none; }
.service__media { display: grid; gap: 10px; height: clamp(280px, 38vw, 460px); border-radius: 28px; overflow: hidden; background: var(--blush-2); }
.service__media--duo { grid-template-columns: 1.15fr .85fr; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { display: grid; gap: 10px; justify-items: start; }
.service__body p { max-width: 44ch; color: var(--cocoa-soft); }
.service .link { color: var(--coral-ink); }
@media (max-width: 800px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Ofertas ---------- */
.offers { background: var(--cocoa); color: var(--blush); }
.offers .section-head p { color: rgba(253, 245, 243, .78); }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.offer { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-light); border-radius: 28px; transition: border-color .3s, background-color .3s; }
.offer:hover { border-color: var(--coral); background: rgba(253, 245, 243, .04); }
.offer__time { display: grid; gap: 10px; }
.offer__bar { height: 6px; border-radius: 6px; background: rgba(253, 245, 243, .14); overflow: hidden; }
.offer__bar i { display: block; height: 100%; width: var(--w); min-width: 6px; border-radius: 6px; background: var(--coral); transform-origin: left; }
.offer__len { font-size: .95rem; font-weight: 600; color: var(--coral); }
.offer__text { color: rgba(253, 245, 243, .8); flex: 1; }
.offer__price { font-size: .95rem; color: rgba(253, 245, 243, .6); }
.offer .btn { align-self: flex-start; }
.js .offer__bar i { transform: scaleX(0); }
.js .offers.is-seen .offer__bar i { transform: scaleX(1); transition: transform 1.3s var(--ease) .2s; }
.js .offers.is-seen .offer:nth-child(2) .offer__bar i { transition-delay: .35s; }
.js .offers.is-seen .offer:nth-child(3) .offer__bar i { transition-delay: .5s; }
@media (max-width: 900px) { .offers__grid { grid-template-columns: 1fr; } .offer { gap: 14px; } }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.about__art { position: relative; isolation: isolate; width: min(100%, 460px); }
.about__art .arch { background: var(--blush-2); }
.about__art .arch img { object-position: 50% 40%; }
.about__art::after { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 999px 999px 0 0; background: var(--petal); z-index: -1; }
.about__text { display: grid; gap: 28px; justify-items: start; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: 56ch; border-top: 1px solid var(--line); }
.about__facts li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.about__facts li:nth-child(odd) { padding-right: 16px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__art { margin-inline: auto; width: min(82%, 400px); } }

/* ---------- Avaliações ---------- */
.reviews { background: var(--blush-2); }
.reviews__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.rating { display: grid; gap: 4px; }
.rating__row { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rating .link { color: var(--coral-ink); font-size: .95rem; width: fit-content; }
.quote-lg { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: clamp(36px, 5vw, 64px); }
.quote-lg cite { display: block; margin-top: 18px; font: 500 .95rem/1.4 var(--sans); font-style: normal; color: var(--cocoa-soft); letter-spacing: 0; }
.reviews__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin-inline: calc(-1 * var(--gutter)); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 28px; background: var(--blush); border-radius: 24px; }
.review p { font-size: 1.02rem; }
.review footer { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--cocoa); display: grid; place-items: center; font-weight: 700; flex: none; }
.reviews__nav { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--cocoa); background: none; color: var(--cocoa); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s, opacity .25s; }
.icon-btn:hover { background: var(--cocoa); color: var(--blush); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reviews__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
@media (max-width: 640px) { .review { padding: 24px; } }

/* ---------- Localização ---------- */
.location__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: stretch; }
.location__info { display: grid; gap: 28px; align-content: start; justify-items: start; }
.address { font-style: normal; display: grid; gap: 4px; font-size: 1.15rem; }
.address strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { min-height: 380px; border-radius: 28px; overflow: hidden; background: var(--blush-2); box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.75) contrast(.98); }
@media (max-width: 860px) { .location__grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* ---------- Contato ---------- */
.contact { background: var(--coral); color: var(--cocoa); position: relative; overflow: hidden; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact__title { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: .95; }
.contact__lead { margin: 24px 0 32px; max-width: 40ch; font-size: 1.15rem; }
.contact__list { display: grid; gap: 0; border-top: 1.5px solid rgba(53, 33, 31, .3); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1.5px solid rgba(53, 33, 31, .3); align-items: baseline; }
.contact__label { font-size: .9rem; font-weight: 600; opacity: .8; }
.contact__list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.contact__list a:hover { background-size: 100% 1.5px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; align-items: start; } .contact__list li { grid-template-columns: 92px 1fr; } }
@media (max-width: 480px) { .contact .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--cocoa); color: rgba(253, 245, 243, .78); padding: 48px 0; font-size: .95rem; }
.footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { color: var(--blush); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--coral); }
.footer__copy { flex-basis: 100%; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .85rem; }

/* ---------- WhatsApp flutuante (mobile) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--coral); color: var(--cocoa); box-shadow: 0 10px 28px rgba(53, 33, 31, .28);
  transition: transform .25s var(--ease), opacity .3s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:active { transform: scale(.94); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 920px) { .wa-float { display: grid; } }

/* ---------- Páginas de serviço ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 80px)) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero__text { display: grid; gap: 24px; justify-items: start; }
.page-hero .h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
.crumb { font-size: .95rem; color: var(--cocoa-soft); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--coral-ink); text-decoration: underline; }
.page-hero__art { position: relative; isolation: isolate; justify-self: end; width: min(100%, 460px); }
.page-hero__art::before { content: ''; position: absolute; inset: -16px -16px 16px 16px; border: 1.5px solid var(--coral); border-bottom: 0; border-radius: 999px 999px 0 0; z-index: -1; }
.page-hero__art .arch img { object-position: 50% 45%; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { border-radius: 24px; overflow: hidden; aspect-ratio: 1; background: var(--blush-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery--one { grid-template-columns: minmax(0, 560px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1.5px solid var(--cocoa); counter-increment: step; }
.step::before { content: counter(step); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--coral-ink); }
.step p { color: var(--cocoa-soft); max-width: 34ch; }
.formats { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.formats li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.formats .h3 { flex: 1 1 240px; }
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--blush-2); }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { justify-self: center; width: min(86%, 400px); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
