/* ==========================================================================
   Receita: Noite Serena — rose-plum
   Vinho como cor dominante, rosa como acento, densidade baixa.
   A prova vem de registro e formação, não de volume de avaliações.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--prp-header-h) + 12px); }

body {
  margin: 0; background: var(--prp-plum); color: #F4E7EA;
  font-family: var(--prp-font-body); font-size: var(--prp-body-size);
  line-height: var(--prp-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(--prp-rose); outline-offset: var(--ws2-focus-offset); border-radius: 6px; }

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

.wrap { width: min(var(--prp-container), calc(100% - 48px)); margin-inline: auto; }
.wrap.read { width: min(720px, calc(100% - 44px)); }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--prp-font-heading); font-weight: 600; }
.section-title { font-size: var(--prp-section-heading); line-height: 1.14; margin: 0 0 34px; }

.pill {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--prp-font-body); font-size: 16px; font-weight: 600;
  padding: 14px 26px; border-radius: var(--prp-radius-action); border: 0; cursor: pointer;
  transition: background var(--ws2-duration-fast) ease, transform var(--ws2-duration-fast) var(--prp-ease);
}
.pill .wa { width: 20px; height: 20px; flex: 0 0 20px; }
.pill:hover { transform: translateY(-2px); }
.pill-invite { background: var(--prp-action-invite); color: #fff; }
.pill-invite:hover { background: var(--prp-action-invite-hover); }
.pill-decide { background: var(--prp-action-decide); color: #F8EFF1; }
.pill-decide:hover { background: var(--prp-action-decide-hover); }
/* sobre faixa vinho a ação de decisão inverte para não sumir no fundo */
.band-plum .pill-decide, .decision-band .pill-decide { background: #FBF3F5; color: var(--prp-plum); }
.band-plum .pill-decide:hover, .decision-band .pill-decide:hover { background: #fff; }

/* Navbar · nav-symbol-left-cta ---------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--prp-header-h);
  display: flex; align-items: center; gap: 24px;
  padding-inline: clamp(20px, 4vw, 52px);
  background: rgba(62, 43, 48, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--ws2-duration-fast) ease;
}
.header.scrolled { border-bottom-color: rgba(199, 156, 169, .3); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-symbol { width: 44px; height: 44px; color: var(--prp-rose); }
.brand-symbol svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--prp-font-heading); font-weight: 500; font-size: 24px; color: #FBF3F5; }
.brand-copy small { font-size: 12px; letter-spacing: .22em; color: var(--prp-rose); }
.nav { display: flex; gap: clamp(14px, 2vw, 26px); }
.nav a { font-size: var(--prp-nav-size); color: rgba(244, 231, 234, .88); position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--prp-rose); transition: width var(--ws2-duration-fast) ease; }
.nav a:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; font-size: 15px; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1.6px; background: #F4E7EA; margin: 6px 0; transition: transform .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(--prp-header-h); z-index: 99; background: var(--prp-plum-soft); padding: 6px 24px 16px; }
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid rgba(244, 231, 234, .16); }
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile.open { display: flex; }

/* Hero · hero-cutout-centered ------------------------------------------------ */
.hero { background: var(--prp-plum); padding: clamp(52px, 7vw, 86px) 0 0; text-align: center; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: var(--prp-hero-heading); line-height: 1.1; margin: 0 0 16px; max-width: 20ch; color: #FBF3F5; }
.hero-specialty { font-family: var(--prp-font-heading); font-size: clamp(18px, 1.9vw, 24px); color: var(--prp-rose); margin: 0 0 20px; }
.hero-lead { max-width: 56ch; color: rgba(244, 231, 234, .82); margin: 0 0 30px; }

.hero-portrait { position: relative; margin-top: clamp(30px, 4vw, 54px); display: flex; justify-content: center; align-items: flex-end; width: min(100%, 520px); }
.shape { position: absolute; pointer-events: none; }
.shape-halo { bottom: 0; left: 50%; transform: translateX(-50%); width: 108%; height: 86%; background: var(--prp-rose-deep); border-radius: 50% 50% 0 0 / 60% 60% 0 0; opacity: .5; }
/* .cutout: em site real recebe o PNG sem fundo do cliente */
.cutout { position: relative; z-index: 2; width: min(92%, 430px); height: clamp(320px, 38vw, 470px); object-fit: cover; object-position: center 12%; border-radius: var(--prp-radius-arch) ; }

/* Faixas --------------------------------------------------------------------- */
.band { padding-block: var(--prp-band-y); position: relative; }
.band-plum { background: var(--prp-plum); color: #F4E7EA; }
.band-plum h2 { color: #FBF3F5; }
.band-paper { background: var(--prp-paper); color: var(--prp-text); }
.band-paper h2, .band-paper h3 { color: var(--prp-heading); }
.band-soft { background: var(--prp-rose-light); color: var(--prp-text); }
.band-soft h2, .band-soft h3 { color: var(--prp-heading); }

/* Challenges · challenges-question-list --------------------------------------- */
.question-list { list-style: none; margin: 0; padding: 0; }
.question-list li {
  font-family: var(--prp-font-heading); font-size: clamp(21px, 2.3vw, 30px); line-height: 1.3;
  padding: 22px 0; border-bottom: 1px solid rgba(199, 156, 169, .3); color: #FBF3F5;
}
.question-list li:last-child { border-bottom: 0; }
.question-close { margin: 34px 0 0; color: var(--prp-rose); font-style: italic; }

/* Offer · offer-stacked -------------------------------------------------------- */
.offer-lead { max-width: 58ch; margin: 0 auto 26px; color: var(--prp-text); }
.checklist { list-style: none; margin: 0 auto 30px; padding: 0; display: inline-grid; gap: 12px; text-align: left; }
.checklist li { position: relative; padding-left: 32px; color: var(--prp-text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 9px; border-left: 2px solid var(--prp-rose-deep); border-bottom: 2px solid var(--prp-rose-deep); transform: rotate(-45deg); }

/* About · about-portrait-split --------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-media { margin: 0; }
.about-media img { width: 100%; height: clamp(340px, 40vw, 470px); object-fit: cover; border-radius: var(--prp-radius-card); }
.about-copy h2 { font-size: var(--prp-section-heading); margin: 0 0 18px; }
.about-copy p { margin: 0 0 16px; max-width: 56ch; }
.credentials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; padding: 0; }
.credentials li { background: var(--prp-paper); border: var(--prp-border); border-radius: var(--prp-radius-action); padding: 8px 16px; font-size: 14px; color: var(--prp-plum); }
.proof-source { font-size: 14px; color: var(--prp-muted); }
.proof-source a { border-bottom: 1px solid var(--prp-rose-deep); color: var(--prp-rose-deep); }

/* Testimonials · testimonials-single-quiet ----------------------------------------- */
.single-quote {
  margin: 0 auto 14px; max-width: 54ch;
  font-family: var(--prp-font-heading); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.4vw, 30px); line-height: 1.45; color: var(--prp-plum);
}
.single-quote::before { content: "“"; color: var(--prp-rose); font-size: 1.8em; line-height: 0; vertical-align: -.22em; margin-right: .06em; }
cite { display: block; font-style: normal; font-size: 14px; color: var(--prp-muted); margin-bottom: 10px; }

/* Decision · decision-band-quiet ---------------------------------------------------- */
.decision { background: var(--prp-paper); padding-block: clamp(40px, 6vw, 72px); }
.decision-band {
  background: var(--prp-plum); color: #F4E7EA; border-radius: var(--prp-radius-band);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 62px); text-align: center;
}
.decision-band h2 { font-size: clamp(26px, 3.1vw, 42px); margin: 0 0 14px; color: #FBF3F5; }
.decision-band p { margin: 0 auto 26px; max-width: 48ch; color: rgba(244, 231, 234, .82); }

/* Faq · faq-pills ------------------------------------------------------------------- */
.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--prp-paper); border-radius: var(--prp-radius-action); overflow: hidden; }
.accordion summary { cursor: pointer; list-style: none; position: relative; padding: 17px 52px 17px 26px; color: var(--prp-plum); font-size: 17px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after, .accordion summary::before { content: ""; position: absolute; right: 24px; top: 50%; background: var(--prp-rose-deep); }
.accordion summary::after { width: 13px; height: 2px; margin-top: -1px; }
.accordion summary::before { width: 2px; height: 13px; margin-top: -6.5px; margin-right: 5.5px; transition: transform var(--ws2-duration-fast) ease; }
.accordion details[open] summary::before { transform: scaleY(0); }
.accordion details p { margin: 0; padding: 0 26px 20px; color: var(--prp-plum-soft); font-size: 16px; }

/* Footer · footer-columns ------------------------------------------------------------ */
.footer { background: #332226; color: rgba(244, 231, 234, .68); padding: 52px 0 22px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin: 0 0 8px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: #FBF3F5; }
.footer-brand { font-family: var(--prp-font-heading); font-size: 23px; color: #FBF3F5; }
.footer-title { color: var(--prp-rose); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(244, 231, 234, .14); font-size: 13px; }

/* Contato flutuante -------------------------------------------------------------------- */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: 58px; height: 58px; border-radius: 50%; background: #2E9E5B; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); transition: transform var(--ws2-duration-fast) var(--prp-ease); }
.floating svg { width: 30px; height: 30px; }
.floating:hover { transform: translateY(-3px); }

/* Revelação ---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .75s var(--prp-ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-media { opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .6s ease, clip-path 1s var(--prp-ease); }
.reveal-media.in { opacity: 1; clip-path: inset(0 0 0 0); }
.reveal-portrait .cutout { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s var(--prp-ease) .12s; }
.reveal-portrait .shape { opacity: 0; transform: translateX(-50%) scale(.94); transition: opacity .7s ease, transform .9s var(--prp-ease); }
.reveal-portrait.in .cutout { opacity: 1; transform: none; }
.reveal-portrait.in .shape { opacity: .5; transform: translateX(-50%) scale(1); }

/* Responsivo ----------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap.read { width: calc(100% - 32px); }
  .footer-grid { grid-template-columns: 1fr; }
  .credentials { gap: 8px; }
}

/* Movimento reduzido ---------------------------------------------------------------------- */
@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, html:not([data-ws2-motion="full"]) .reveal-portrait .cutout { transform: none !important; clip-path: none !important; transition: opacity .4s ease !important; }html:not([data-ws2-motion="full"]) .reveal-portrait .shape { transform: translateX(-50%) !important; transition: opacity .4s ease !important; }html:not([data-ws2-motion="full"]) .reveal.in, html:not([data-ws2-motion="full"]) .reveal-media.in, html:not([data-ws2-motion="full"]) .reveal-portrait.in .cutout { opacity: 1; }html:not([data-ws2-motion="full"]) .reveal-portrait.in .shape { opacity: .5; }html:not([data-ws2-motion="full"]) .pill:hover, html:not([data-ws2-motion="full"]) .floating:hover { transform: 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; }
}
