/* ==========================================================================
   Receita: Acompanhamento que Cabe — blush-grotesque
   Branco de base, rosa claro em painel, rosa forte na ação, vinho no itálico.
   Grotesca apertada nos títulos, com uma linha em serifada itálica.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
html, body { overflow-x: clip; }

body {
  margin: 0; background: var(--bg-surface); color: var(--bg-ink);
  font-family: var(--bg-font-body); font-size: var(--bg-body-size); line-height: var(--bg-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(--bg-rose-deep); outline-offset: var(--ws2-focus-offset); }

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

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

h1, h2, h3 { font-family: var(--bg-font-heading); font-weight: 600; letter-spacing: -.028em; line-height: 1.05; color: var(--bg-ink); margin: 0; }
h1 em, h2 em { font-family: var(--bg-font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--bg-accent); }
.section-title { font-size: var(--bg-section-heading); margin: 0 0 30px; }
.lead { font-size: 18px; color: var(--bg-muted); }
.note { font-size: 14px; color: var(--bg-muted); max-width: 70ch; }

/* rótulo com filete que cresce: assinatura de movimento da família */
.label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bg-muted); margin: 0 0 16px; }
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--bg-ease); }
.label.in::before, .in > .label::before, .reveal.in .label::before { transform: scaleX(1); }
.label-gold { color: var(--bg-gold); }
.label-light { color: rgba(255, 255, 255, .82); justify-content: center; }

/* Ação em pílula rosa ---------------------------------------------------------- */
.action {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg-action); color: #fff; font-size: 16px; font-weight: 500;
  padding: 16px 30px; border: 0; border-radius: var(--bg-radius-pill); cursor: pointer;
  font-family: var(--bg-font-body);
  transition: background var(--ws2-duration-fast) ease, transform var(--ws2-duration-fast) var(--bg-ease);
}
.action:hover { background: var(--bg-action-hover); transform: translateY(-2px); }
.action-sm { padding: 11px 20px; font-size: 14px; }
.action-dark { background: var(--bg-ink); }
.action-dark:hover { background: #000; }

/* Navbar · nav-capsule ---------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; padding: 14px clamp(12px, 3vw, 28px); }
.capsule {
  display: flex; align-items: center; gap: 18px; width: min(1180px, 100%); margin-inline: auto;
  background: var(--bg-paper-soft); border: 1px solid var(--bg-line); border-radius: var(--bg-radius-pill);
  padding: 10px 12px 10px 22px; transition: box-shadow var(--ws2-duration-fast) ease;
}
.header.scrolled .capsule { box-shadow: 0 10px 30px rgba(22, 17, 15, .08); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; color: var(--bg-gold); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--bg-font-accent); font-size: 21px; font-weight: 400; color: var(--bg-wine); }
.brand-copy small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-muted); }
.nav { display: flex; gap: clamp(12px, 1.8vw, 26px); }
.nav a { font-size: var(--bg-nav-size); color: var(--bg-muted); padding-block: 6px; border-bottom: 1px solid transparent; transition: color var(--ws2-duration-fast) ease, border-color var(--ws2-duration-fast) ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bg-ink); border-bottom-color: var(--bg-rose); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--bg-ink); margin: 5px 0; transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; width: min(1180px, calc(100% - 32px)); margin: 8px auto 0;
  background: var(--bg-paper-soft); border: 1px solid var(--bg-line); border-radius: var(--bg-radius-panel); padding: 8px 20px 14px; }
.nav-mobile a { padding: 12px 0; border-bottom: 1px solid var(--bg-line); }
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile.open { display: flex; }

/* Faixas ------------------------------------------------------------------------- */
.band { padding-block: var(--bg-band-y); }
.band-tight { padding-block: clamp(36px, 4.5vw, 64px); }
.band-soft { background: var(--bg-paper-soft); }

/* Hero · hero-split-arch ---------------------------------------------------------- */
.hero { padding-block: clamp(30px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--bg-hero-heading); margin-bottom: 24px; }
.hero .lead { margin: 0 0 20px; max-width: 52ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 26px; padding: 0; font-size: 14px; color: var(--bg-muted); }
.tags li { position: relative; padding-left: 14px; }
.tags li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--bg-rose); }
.reg { font-size: 13px; color: var(--bg-muted); margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--bg-line); }
/* retrato com topo em arco e base reta */
.hero-portrait, .about-portrait { margin: 0; overflow: hidden; background: var(--bg-blush);
  border-radius: 999px 999px var(--bg-radius-panel) var(--bg-radius-panel); }
.hero-portrait > img, .about-portrait > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }

/* LeadForm · form-split-card ------------------------------------------------------ */
.form-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 60px);
  background: var(--bg-paper-soft); border: 1px solid var(--bg-line); border-radius: var(--bg-radius-panel); padding: clamp(26px, 4vw, 54px); }
.form-copy h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 16px; }
.form-copy p { color: var(--bg-muted); margin: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label, .form legend { font-size: 14px; font-weight: 500; }
.field label small { font-weight: 400; color: var(--bg-muted); }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid var(--bg-line);
  border-radius: 14px; background: var(--bg-paper); color: var(--bg-ink); }
.field input:focus-visible { border-color: var(--bg-rose); }
.field input.invalid { border-color: var(--bg-rose-deep); background: #FFF6F7; }
fieldset.field { border: 1px solid var(--bg-line); border-radius: 14px; padding: 14px 16px; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
fieldset.field legend { padding-inline: 6px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--bg-muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--bg-muted); }
.consent a { text-decoration: underline; }
.consent input.invalid { outline: 2px solid var(--bg-rose-deep); outline-offset: 2px; }
.form-status { margin: 0; font-size: 14px; color: var(--bg-wine); min-height: 1.2em; }
.form-note { margin: 0; font-size: 13px; color: var(--bg-muted); }

/* Problem · problem-ruled-list ----------------------------------------------------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.problem-grid h2 { font-size: var(--bg-section-heading); margin: 0 0 18px; }
.problem-grid p { color: var(--bg-muted); }
.strong { font-weight: 500; color: var(--bg-ink); margin: 0 0 10px; }
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--bg-line); color: var(--bg-muted); }
.ruled li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--bg-rose); }

/* Statement · statement-blush-panel -------------------------------------------------- */
.statement { background: var(--bg-blush); border-radius: var(--bg-radius-panel); padding: clamp(36px, 6vw, 84px) clamp(24px, 4vw, 60px);
  text-align: center; font-family: var(--bg-font-accent); font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; margin: 0; color: var(--bg-ink); }
.statement em { font-style: italic; color: var(--bg-wine); }

/* Statement · statement-dark-band · uma vez por página -------------------------------- */
.dark-band { background: var(--bg-brown); color: #F6EDEA; padding-block: clamp(56px, 7vw, 96px); }
.dark-band h2 { color: #FFF8F5; font-size: var(--bg-section-heading); margin: 0 0 16px; }
.dark-band p { color: rgba(246, 237, 234, .8); margin: 0; }

/* Included · included-check-grid ------------------------------------------------------ */
.check-grid { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--bg-line); border-radius: var(--bg-radius-panel); overflow: hidden; background: var(--bg-paper-soft); }
.check-grid li { padding: 26px 22px 24px; border-right: 1px solid var(--bg-line); border-bottom: 1px solid var(--bg-line);
  display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.check-grid li:nth-child(4n) { border-right: 0; }
.check-grid li:nth-child(n+5) { border-bottom: 0; }
.check { width: 18px; height: 10px; border-left: 2px solid var(--bg-rose); border-bottom: 2px solid var(--bg-rose); transform: rotate(-45deg); }

/* About · about-arch-split --------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.about-grid h2 { font-size: var(--bg-section-heading); margin: 0 0 18px; }
.about-grid p { color: var(--bg-muted); margin: 0 0 14px; }
.credentials { list-style: none; margin: 22px 0; padding: 18px 0 0; border-top: 1px solid var(--bg-line); display: grid; gap: 8px; font-size: 15px; color: var(--bg-muted); }
.credentials strong { color: var(--bg-wine); }

/* Objections · objection-numbered-cards ---------------------------------------------- */
.objections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.objection { background: var(--bg-paper-soft); border: 1px solid var(--bg-line); border-radius: var(--bg-radius-card); padding: clamp(22px, 2.6vw, 34px); }
.objection .num { font-size: 13px; font-weight: 600; color: var(--bg-rose); margin: 0 0 14px; letter-spacing: .1em; }
.objection h3 { font-family: var(--bg-font-accent); font-weight: 400; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: 0; margin: 0 0 12px; }
.objection p { margin: 0; color: var(--bg-muted); font-size: 15px; }

/* Faq · faq-underlined ---------------------------------------------------------------- */
.accordion details { border-bottom: 1px solid var(--bg-line); }
.accordion summary { cursor: pointer; list-style: none; position: relative; padding: 20px 40px 20px 0; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--bg-rose); border-bottom: 2px solid var(--bg-rose); 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 20px; color: var(--bg-muted); font-size: 16px; }

/* CtaBand · cta-rose-band --------------------------------------------------------------- */
.cta-band { background: var(--bg-rose); color: #fff; padding-block: clamp(60px, 8vw, 110px); }
.cta-band h2 { color: #fff; font-size: var(--bg-band-heading); margin: 0 0 20px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0 0 28px; }

/* Footer · footer-light-columns ----------------------------------------------------------- */
.footer { background: var(--bg-paper-soft); border-top: 1px solid var(--bg-line); padding: clamp(48px, 6vw, 72px) 0 22px; font-size: 15px; color: var(--bg-muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer p { margin: 0 0 8px; }
.footer-brand { font-family: var(--bg-font-accent); font-size: 24px; color: var(--bg-wine); }
.footer-title { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bg-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--bg-line); font-size: 13px; }

/* Contato flutuante */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 120; width: 56px; height: 56px; background: var(--bg-action); color: #fff;
  display: grid; place-items: center; border-radius: 50%; transition: transform var(--ws2-duration-fast) var(--bg-ease); }
.floating:hover { transform: translateY(-3px); }

/* Revelação --------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--bg-ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-media { opacity: 0; transition: opacity .6s ease; }
.reveal-media.in { opacity: 1; }
/* o recorte vive no primeiro filho, nunca no elemento observado (R15) */
.reveal-media > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.22, 1, .36, 1); }
.reveal-media.in > :first-child { clip-path: inset(0 0 0 0); }

/* Responsivo ---------------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .capsule .action-sm { display: none; }
  .hero-grid, .form-card, .problem-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-portrait, .about-portrait { max-width: 460px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .check-grid li:nth-child(2n) { border-right: 0; }
  .check-grid li:nth-child(n+5) { border-bottom: 1px solid var(--bg-line); }
  .check-grid li:nth-child(n+7) { border-bottom: 0; }
  .objections { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap, .wrap.read { width: calc(100% - 32px); }
  .form { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid li { border-right: 0; border-bottom: 1px solid var(--bg-line); }
  .check-grid li:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .action { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* Movimento reduzido — escopado para o preview da WS2 ---------------------------------------------- */
@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; 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"]) .label::before { transform: scaleX(1); transition: none; }
  html:not([data-ws2-motion="full"]) .reveal-media > :first-child { clip-path: none; transition: none; }
  html:not([data-ws2-motion="full"]) .action:hover, html:not([data-ws2-motion="full"]) .floating:hover { transform: none; }
}
