/* ==========================================================================
   Receita: Acolhimento Guiado — warm-botanical
   Toda cor, tipografia e forma vem de tokens.css da família.
   A receita só decide composição.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pwb-header-h) + 16px); }

body {
  margin: 0;
  background: var(--pwb-bg);
  color: var(--pwb-text);
  font-family: var(--pwb-font-body);
  font-size: var(--pwb-body-size);
  line-height: var(--pwb-body-leading);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: var(--ws2-focus-width) solid var(--pwb-forest);
  outline-offset: var(--ws2-focus-offset);
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 300;
  background: var(--pwb-forest); color: #fff;
  padding: 10px 18px; border-radius: var(--pwb-radius-action);
}
.skip-link:focus { left: 16px; }

.wrap { width: min(var(--pwb-container), calc(100% - 48px)); margin-inline: auto; }
.wrap.narrow { width: min(860px, calc(100% - 48px)); }
.center { text-align: center; }

/* Tipografia de seção ----------------------------------------------------- */
.section-title {
  font-family: var(--pwb-font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: var(--pwb-section-heading);
  line-height: 1.08;
  color: var(--pwb-heading);
  text-align: center;
  margin: 0 auto 18px;
  max-width: 16ch;
}
.section-intro {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 54px;
  color: var(--pwb-text-muted);
}

/* Ação ------------------------------------------------------------------- */
.action {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--pwb-action); color: #FCF8F3;
  font-weight: 700; font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--pwb-radius-action);
  transition: background var(--ws2-duration-fast) ease, transform var(--ws2-duration-fast) var(--pwb-ease);
}
.action:hover { background: var(--pwb-action-hover); transform: translateY(-2px); }
.action .wa { width: 21px; height: 21px; flex: 0 0 21px; }
.action-light { background: #FCF8F3; color: var(--pwb-forest-deep); }
.action-light:hover { background: #fff; color: var(--pwb-forest-deep); }

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--pwb-header-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: clamp(20px, 4vw, 56px);
  background: rgba(252, 248, 243, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ws2-duration-fast) ease, background var(--ws2-duration-fast) ease;
}
.header.scrolled { border-bottom-color: var(--pwb-line); background: rgba(252, 248, 243, 0.96); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; color: var(--pwb-bronze); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong {
  font-family: var(--pwb-font-heading); font-style: italic;
  font-weight: 500; font-size: 22px; color: var(--pwb-bronze);
}
.brand-copy small { font-size: 11px; color: var(--pwb-text-muted); letter-spacing: 0.02em; }
.nav { display: flex; gap: clamp(14px, 2vw, 26px); }
.nav a { font-size: var(--pwb-nav-size); font-weight: 500; position: relative; padding-block: 6px; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--pwb-forest); transition: width var(--ws2-duration-fast) ease;
}
.nav a:hover::after { width: 100%; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.6px; background: var(--pwb-ink); margin: 6px 0; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  position: sticky; top: var(--pwb-header-h); z-index: 99;
  background: var(--pwb-shell); border-bottom: 1px solid var(--pwb-line);
  padding: 8px 24px 18px;
}
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--pwb-line); font-weight: 500; }
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile.open { display: flex; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--pwb-bg);
  padding: clamp(48px, 7vw, 86px) 0 clamp(90px, 10vw, 130px);
}
.botanical {
  position: absolute; inset: 0; color: var(--pwb-clay);
  opacity: .55; pointer-events: none;
}
.botanical svg { width: 100%; height: 100%; }
.hero-grid {
  position: relative; z-index: 1;
  width: min(var(--pwb-container), calc(100% - 48px)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .82fr);
  gap: clamp(36px, 6vw, 82px); align-items: center;
}
.hero-title {
  font-family: var(--pwb-font-heading); font-weight: 400;
  font-size: var(--pwb-hero-heading); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 22px; color: var(--pwb-ink);
}
.hero-title em { font-style: italic; color: var(--pwb-bronze); }
.hero-lead { max-width: 54ch; color: var(--pwb-text-muted); margin: 0 0 28px; }

.pills { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 10px; }
.pills li {
  background: var(--pwb-clay);
  color: var(--pwb-bronze-deep);
  font-size: 15px; font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--pwb-radius-action);
  max-width: 56ch;
}
.hero-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-notes { margin: 0; font-size: 14px; color: var(--pwb-text-muted); line-height: 1.6; }

.hero-portrait { margin: 0; position: relative; }
.hero-portrait img {
  width: 100%; height: clamp(420px, 52vw, 580px); object-fit: cover;
  border-radius: var(--pwb-radius-arch);
}
.hero-portrait figcaption {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  background: var(--pwb-shell); color: var(--pwb-bronze-deep);
  font-size: 13px; padding: 9px 18px; border-radius: var(--pwb-radius-action);
  box-shadow: var(--pwb-shadow-card); white-space: nowrap;
}

/* Divisor em onda --------------------------------------------------------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 5vw, 80px); fill: var(--pwb-shell); }
.wave-bottom { fill: var(--pwb-shell); }

/* Faixas ------------------------------------------------------------------ */
.band { padding-block: var(--pwb-band-y); position: relative; }
.band-shell { background: var(--pwb-shell); }
.band-clay { background: var(--pwb-band); }
.band-sand { background: var(--pwb-sand); }
.band-photo { background: var(--pwb-sand); position: relative; overflow: hidden; }
.backdrop {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(242, 233, 223, .88), rgba(242, 233, 223, .94)),
    var(--ws2-slot-image, none);
  background-size: cover; background-position: center;
}
.backdrop-faces {
  background-image: linear-gradient(rgba(252, 248, 243, .9), rgba(252, 248, 243, .94)),
    var(--ws2-slot-image, none);
}
.band-photo .wrap { position: relative; z-index: 1; }

/* Reconhecimento ---------------------------------------------------------- */
.recognition-list {
  list-style: none; padding: 0; margin: 40px auto 0;
  max-width: 900px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 44px;
}
.recognition-list li {
  position: relative; padding-left: 30px; color: var(--pwb-text);
}
.recognition-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--pwb-clay); border: 1.5px solid var(--pwb-bronze);
}
.recognition-close {
  max-width: 58ch; margin: 46px auto 34px; text-align: center;
  font-family: var(--pwb-font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: var(--pwb-bronze-deep);
}

/* Reasseguramento --------------------------------------------------------- */
.reassurance-text { text-align: center; margin: 0 auto; max-width: var(--pwb-measure); }
.reassurance-text strong { color: var(--pwb-bronze-deep); }
.cue {
  display: block; width: 26px; height: 26px; margin: 38px auto 0;
  border-right: 1.6px solid var(--pwb-bronze); border-bottom: 1.6px solid var(--pwb-bronze);
  transform: rotate(45deg);
  animation: cue-drift 2.6s var(--pwb-ease) infinite;
}
@keyframes cue-drift { 0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .55; } 50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; } }

/* Linha do tempo ---------------------------------------------------------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 940px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  transform: translateX(-50%) scaleY(0); transform-origin: top;
  background: var(--pwb-bronze); opacity: .38;
  transition: transform 1.4s var(--pwb-ease);
}
.timeline.drawn::before { transform: translateX(-50%) scaleY(1); }
.step {
  position: relative; display: grid; grid-template-columns: 1fr 64px 1fr;
  align-items: center; margin-bottom: 26px;
}
.step-index {
  grid-column: 2; justify-self: center;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--pwb-bronze); color: var(--pwb-shell);
  font-family: var(--pwb-font-heading); font-size: 19px; font-weight: 500;
  box-shadow: 0 0 0 7px var(--pwb-sand);
}
.step-box {
  background: var(--pwb-clay-soft);
  border-radius: var(--pwb-radius-card);
  padding: 22px 26px;
}
.step:nth-child(odd) .step-box { grid-column: 3; }
.step:nth-child(even) .step-box { grid-column: 1; text-align: right; }
.step-box h3 {
  font-family: var(--pwb-font-heading); font-style: italic; font-weight: 500;
  font-size: 22px; color: var(--pwb-bronze-deep); margin: 0 0 6px;
}
.step-box p { margin: 0; font-size: 16px; color: var(--pwb-text-muted); }

/* Cards de especialidade --------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--pwb-shell);
  border: var(--pwb-border);
  border-radius: var(--pwb-radius-card);
  padding: 30px 28px 32px;
  box-shadow: var(--pwb-shadow-card);
  border-top: 3px solid var(--pwb-clay);
  transition: border-top-color var(--ws2-duration-fast) ease, transform var(--ws2-duration-fast) var(--pwb-ease);
}
.card:hover { border-top-color: var(--pwb-forest); transform: translateY(-4px); }
.card h3 {
  font-family: var(--pwb-font-heading); font-weight: 500; font-style: italic;
  font-size: var(--pwb-card-heading); color: var(--pwb-bronze-deep); margin: 0 0 12px;
}
.card p { margin: 0; font-size: 16px; color: var(--pwb-text-muted); }

/* Atendimento -------------------------------------------------------------- */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 56px; max-width: 940px; margin-inline: auto; }
.point { border-left: 2px solid var(--pwb-clay); padding-left: 22px; }
.point h3 { font-size: 18px; margin: 0 0 6px; color: var(--pwb-bronze-deep); }
.point p { margin: 0; font-size: 16px; color: var(--pwb-text-muted); }

/* Depoimentos --------------------------------------------------------------- */
.carousel { position: relative; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; }
.car-viewport { overflow: hidden; }
.car-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .6s var(--pwb-ease); }
.quote {
  flex: 0 0 100%;
  background: var(--pwb-shell);
  border-radius: var(--pwb-radius-card);
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  box-shadow: var(--pwb-shadow-card);
}
.stars { color: var(--pwb-bronze); letter-spacing: .18em; font-size: 19px; }
.quote blockquote {
  margin: 20px auto 18px; max-width: 56ch;
  font-family: var(--pwb-font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(19px, 2.1vw, 24px); line-height: 1.55; color: var(--pwb-ink);
}
.quote cite { font-style: normal; font-size: 14px; color: var(--pwb-text-muted); }
.car-nav {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--pwb-shell); border: var(--pwb-border); color: var(--pwb-bronze);
  display: grid; place-items: center;
  transition: background var(--ws2-duration-fast) ease, color var(--ws2-duration-fast) ease;
}
.car-nav:hover { background: var(--pwb-forest); color: #FCF8F3; border-color: transparent; }
.car-nav svg { width: 20px; height: 20px; }
.dots { grid-column: 2; display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--pwb-bronze); background: transparent;
  transition: background var(--ws2-duration-fast) ease, transform var(--ws2-duration-fast) ease;
}
.dots button[aria-selected="true"] { background: var(--pwb-bronze); transform: scale(1.25); }

/* Artigos -------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post {
  background: var(--pwb-shell); border-radius: var(--pwb-radius-card); overflow: hidden;
  border: var(--pwb-border);
  transition: transform var(--ws2-duration-fast) var(--pwb-ease), box-shadow var(--ws2-duration-fast) ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--pwb-shadow-card); }
.post a { display: block; }
.post-media { display: block; overflow: hidden; height: 190px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--pwb-ease); }
.post:hover .post-media img { transform: scale(1.05); }
.post-meta { display: block; padding: 20px 24px 0; font-size: 13px; color: var(--pwb-text-muted); }
.post h3 {
  font-family: var(--pwb-font-heading); font-weight: 500; font-size: 21px; line-height: 1.22;
  color: var(--pwb-bronze-deep); margin: 8px 0 10px; padding-inline: 24px;
}
.post p { margin: 0; padding: 0 24px 26px; font-size: 15px; color: var(--pwb-text-muted); }

/* Dúvidas --------------------------------------------------------------------- */
.accordion { background: var(--pwb-band); border-radius: var(--pwb-radius-card); padding: 10px clamp(18px, 3vw, 34px); }
.accordion details { border-bottom: 1px solid rgba(110, 82, 48, .2); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  cursor: pointer; list-style: none;
  padding: 22px 34px 22px 0; position: relative;
  font-size: 17px; font-weight: 500; color: var(--pwb-bronze-deep);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.6px solid var(--pwb-bronze); border-bottom: 1.6px solid var(--pwb-bronze);
  transform: rotate(45deg); transition: transform var(--ws2-duration-fast) ease;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion details p { margin: 0 0 22px; max-width: 68ch; color: var(--pwb-text-muted); font-size: 16px; }
.accordion details[open] p { animation: reveal-answer var(--ws2-duration-fast) var(--pwb-ease) both; }
@keyframes reveal-answer { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* CTA final -------------------------------------------------------------------- */
.cta-final { background: var(--pwb-forest-deep); color: #F1EDE6; padding-block: clamp(80px, 9vw, 112px); }
.cta-final h2 {
  font-family: var(--pwb-font-heading); font-style: italic; font-weight: 400;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.12; margin: 0 0 16px; color: #FCF8F3;
}
.cta-final p { margin: 0 auto 30px; max-width: 52ch; color: rgba(252, 248, 243, .82); }
.cta-notes { font-size: 14px; margin-top: 24px !important; color: rgba(252, 248, 243, .68) !important; }

/* Footer ----------------------------------------------------------------------- */
.footer { background: var(--pwb-shell); padding: 58px 0 24px; font-size: 15px; color: var(--pwb-text-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid p { margin: 0 0 8px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--pwb-forest); }
.footer-brand {
  font-family: var(--pwb-font-heading); font-style: italic; font-weight: 500;
  font-size: 24px; color: var(--pwb-bronze);
}
.footer-title { color: var(--pwb-bronze-deep); font-weight: 700; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--pwb-line); font-size: 13px;
}

/* Contato flutuante ------------------------------------------------------------- */
.floating {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--pwb-forest); color: #FCF8F3;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(58, 85, 64, .34);
  transition: transform var(--ws2-duration-fast) var(--pwb-ease), background var(--ws2-duration-fast) ease;
}
.floating svg { width: 30px; height: 30px; }
.floating:hover { transform: translateY(-3px); background: var(--pwb-action-hover); }
.floating::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--pwb-forest); animation: pulse 3s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.45); opacity: 0; } 100% { opacity: 0; } }

/* Revelação --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .8s var(--pwb-ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-media { opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .6s ease, clip-path 1.1s var(--pwb-ease); }
.reveal-media.in { opacity: 1; clip-path: inset(0 0 0 0); }

/* Responsivo --------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 520px; margin-inline: auto; }
  .hero-portrait img { height: clamp(360px, 62vw, 470px); }
  .cards, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap, .wrap.narrow { width: calc(100% - 36px); }
  .section-title { max-width: 20ch; }
  .recognition-list { grid-template-columns: 1fr; gap: 14px; }
  .points { grid-template-columns: 1fr; gap: 24px; }
  .cards, .posts { grid-template-columns: 1fr; }
  .timeline::before { left: 21px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; margin-bottom: 18px; }
  .step-index { grid-column: 1; width: 38px; height: 38px; font-size: 17px; }
  .step:nth-child(odd) .step-box,
  .step:nth-child(even) .step-box { grid-column: 2; text-align: left; }
  .carousel { grid-template-columns: 1fr; }
  .car-nav { display: none; }
  .dots { grid-column: 1; }
  .hero-portrait figcaption { font-size: 12px; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Movimento reduzido: revela com fade curto, sem deslocamento nem laço infinito ----- */
@media (prefers-reduced-motion: reduce) {html:not([data-ws2-motion="full"]) { scroll-behavior: auto; }html:not([data-ws2-motion="full"]) .reveal, html:not([data-ws2-motion="full"]) .reveal-media {
    transform: none !important;
    clip-path: none !important;
    transition: opacity .4s ease !important;
  }html:not([data-ws2-motion="full"]) .reveal.in, html:not([data-ws2-motion="full"]) .reveal-media.in { opacity: 1; }html:not([data-ws2-motion="full"]) .timeline::before { transition: none; transform: translateX(-50%) scaleY(1); }html:not([data-ws2-motion="full"]) .car-track { transition: none; }html:not([data-ws2-motion="full"]) .cue, html:not([data-ws2-motion="full"]) .floating::after { animation: none; }html:not([data-ws2-motion="full"]) .floating::after { opacity: .4; }html:not([data-ws2-motion="full"]) .post:hover .post-media img, html:not([data-ws2-motion="full"]) .card:hover, html:not([data-ws2-motion="full"]) .action:hover, html:not([data-ws2-motion="full"]) .post:hover { transform: none; }html:not([data-ws2-motion="full"]) .accordion details[open] p { animation: none; }
}

/* --- v1.14 — clip-path fora do elemento observado ---
   O IntersectionObserver do Chrome calcula a área visível do alvo DEPOIS de aplicar o clip-path
   do próprio alvo. Com clip-path: inset(0 0 100% 0), a área visível é zero, o limiar nunca é
   atingido e a classe .in nunca chega: a imagem fica invisível para sempre.
   O recorte agora vive no primeiro filho (a imagem ou a moldura dela). O elemento observado
   nunca é recortado, então o observer sempre enxerga. */
.reveal-media, .reveal-media.in { clip-path: none !important; }
.reveal-media > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s cubic-bezier(.22, 1, .36, 1); }
.reveal-media.in > :first-child { clip-path: inset(-60px); }
@media (prefers-reduced-motion: reduce) {
  html:not([data-ws2-motion="full"]) .reveal-media > :first-child { clip-path: none; transition: none; }
}

/* card de texto sem imagem continua com respiro no topo */
.post:has(.post-media[data-ws2-empty]) .post-meta { padding-top: 26px; }
