/*
Theme Name: JP&SXS Marketing
Theme URI: https://jpideafactory.com/
Description: Tema exclusivo da JP&SXS Marketing (Orlando e Miami). Cada seção da landing é um bloco Gutenberg; textos e contatos editáveis no painel; SEO/AEO com JSON-LD, hreflang e llms.txt.
Author: SXS Group
Author URI: https://sxsmkt.com.br
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jpsxs
*/

/* Base compartilhada: tokens, tipografia, botões, header, rodapé, lightbox e botão de
   mensagem. O CSS de cada seção fica em blocks/<nome>/style.css.
   Papéis de cor: índigo JP = fundo; azul SXS = blocos SXS (7X, SXS Group, rodapé);
   violeta = ações; lima = provas e destaques.
   Forma: botões, chips e nós são pílulas; cards e fotos 22px; campos 14px. */

:root {
  color-scheme: dark;
  --bg: #1C1542;
  --bg-2: #261D57;
  --navy: #0F2559;
  --ink: #F7F5FF;
  --muted: #BDB5DE;
  --dim: #948BBE;
  --line: rgb(255 255 255 / .10);
  --line-2: rgb(255 255 255 / .18);
  --glass: rgb(255 255 255 / .045);
  --glass-2: rgb(255 255 255 / .08);
  --purple: #8A3CF0;
  --purple-soft: #C5A0FF;
  --green: #C8D43F;
  --on-green: #1C1542;
  --green-text: #D3DE4C;
  --grad-a: #C5A0FF;
  --grad-b: #E2DCFF;
  --grad-c: #D3DE4C;
  --danger: #FF8A80;

  --display: "Outfit", "Geist", ui-sans-serif, system-ui, sans-serif;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r: 22px;
  --r-in: 14px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* Seções claras trazem o branco SXS; .on-dark mantém ilhas escuras dentro delas. */
.light {
  --bg: #FFFFFF; --bg-2: #F5F3FB; --ink: #201848; --muted: #504A78; --dim: #6C6694;
  --line: rgb(32 24 72 / .10); --line-2: rgb(32 24 72 / .2); --glass: #F6F4FB; --glass-2: rgb(32 24 72 / .06);
  --purple: #7A2EE6; --purple-soft: #6420C9; --green: #C8D43F; --green-text: #5C6600;
  --grad-a: #7A2EE6; --grad-b: #4B3BD6; --grad-c: #2F5BEA;
  background: var(--bg); color: var(--ink); color-scheme: light;
}
.on-dark {
  --bg: #1C1542; --bg-2: #261D57; --ink: #F7F5FF; --muted: #BDB5DE; --dim: #948BBE;
  --line: rgb(255 255 255 / .10); --line-2: rgb(255 255 255 / .18); --glass: rgb(255 255 255 / .045); --glass-2: rgb(255 255 255 / .08);
  --purple: #8A3CF0; --purple-soft: #C5A0FF; --green: #C8D43F; --green-text: #D3DE4C;
  --grad-a: #C5A0FF; --grad-b: #E2DCFF; --grad-c: #D3DE4C;
  color: var(--ink); color-scheme: dark;
}
/* Blocos SXS (7X, SXS Group, rodapé) no azul escuro SXS. */
.navy {
  --bg: #0B1838; --bg-2: #10244F;
  --muted: #AFBCDA; --dim: #8593B6;
  --grad-a: #9DB4FF; --grad-b: #E2E8FF; --grad-c: #D3DE4C;
  background-color: var(--bg); color: var(--ink);
}

/* ######
   Base
############ */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
/* Granulado sutil sobre a página inteira. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a, button, summary, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--purple-soft); outline-offset: 3px; border-radius: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; fill: currentColor; flex: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 95; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
/* Classe que o core e os blocos de texto usam em rótulos ocultos de acessibilidade. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ######
   Tipografia e componentes compartilhados
############ */

.display { font-family: var(--display); font-weight: 820; letter-spacing: -0.027em; line-height: .94; }
.h2 { font-family: var(--display); font-weight: 780; letter-spacing: -0.024em; line-height: 1; font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.4rem); }
.lede { color: var(--muted); font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); max-width: 52ch; }
.head { display: grid; gap: 24px; max-width: 920px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.grad { background: linear-gradient(92deg, var(--grad-a) 0%, var(--grad-b) 45%, var(--grad-c) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: .86rem; color: var(--muted); background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ic { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; margin-bottom: 10px; color: var(--ink); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(135deg, var(--purple), var(--green)) border-box; border: 1px solid transparent; flex: none; }
.mk { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; }
.mk .i { width: 16px; height: 16px; }

/* Botões */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding-inline: 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--purple); color: #fff; font: 600 1rem/1 var(--font); letter-spacing: -0.01em;
  white-space: nowrap; text-decoration: none;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .14) inset, 0 10px 30px -10px rgb(138 60 240 / .7);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s;
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); background: #9B55FF; box-shadow: 0 0 0 1px rgb(255 255 255 / .22) inset, 0 16px 40px -10px rgb(138 60 240 / .85); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: var(--glass); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { background: var(--glass-2); box-shadow: 0 0 0 1px rgb(255 255 255 / .3) inset; }
.btn-sm { min-height: 44px; padding-inline: 20px; font-size: .94rem; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn.btn-wa { background: #25D366; color: #06301A; box-shadow: 0 0 0 1px rgb(255 255 255 / .2) inset; }
.btn.btn-wa:hover { background: #3BE37E; box-shadow: 0 0 0 1px rgb(255 255 255 / .3) inset, 0 16px 40px -12px rgb(37 211 102 / .6); }
.btn.btn-wa .i, .btn.btn-sms .i { width: 20px; height: 20px; }
.btn.btn-sms { background: rgb(255 255 255 / .08); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn.btn-sms:hover { background: rgb(255 255 255 / .16); box-shadow: 0 0 0 1px var(--line-2) inset; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.text-link .i { width: 16px; height: 16px; color: var(--green-text); }
.text-link:hover { text-decoration-color: currentColor; }

/* Molduras de mídia: se a foto não carregar, um degradê da marca preenche o quadro. */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); aspect-ratio: var(--ar, auto); max-width: 100%; isolation: isolate; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img, .media.is-missing video { visibility: hidden; }
.media.is-missing::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 70% at 25% 30%, rgb(138 60 240 / .75), transparent 70%),
    radial-gradient(55% 60% at 80% 75%, rgb(196 64 255 / .42), transparent 70%),
    radial-gradient(80% 80% at 60% 10%, rgb(30 91 255 / .45), transparent 70%),
    linear-gradient(160deg, var(--navy), var(--bg));
}
.frame { box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgb(0 0 0 / .8); }
.light .frame { box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -30px rgb(32 24 72 / .35); }

/* Faixas lima (assinatura JP) — hero e formulário. */
.ribbons { position: absolute; z-index: -1; pointer-events: none; color: var(--green); }
.ribbons svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Ampliar foto (lightbox) */
.zoom-btn { position: absolute; inset: 0; z-index: 4; border: 0; padding: 0; margin: 0; background: transparent; cursor: zoom-in; border-radius: inherit; }
.zoom-btn .zi { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: rgb(14 10 36 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #FFFFFF; opacity: 0; transform: scale(.88); transition: opacity .2s, transform .2s; }
.zoom-btn .zi .i { width: 18px; height: 18px; }
.zoom-btn:hover .zi, .zoom-btn:focus-visible .zi { opacity: 1; transform: none; }
.zoom-btn:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
@media (hover: none) { .zoom-btn .zi { opacity: .92; transform: none; width: 34px; height: 34px; top: 10px; right: 10px; } }

/* ######
   Logo
############ */

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.lg-main { fill: var(--logo-fill, currentColor); }
.lg-acc { fill: var(--logo-accent, #E39C24); }
.logo { display: block; height: 34px; width: auto; aspect-ratio: 2374 / 499; color: #FFFFFF; --logo-fill: url(#logo-silver); --logo-accent: #A87F3F; }
img.logo { object-fit: contain; }
.logo-full { height: 48px; }
@media (max-width: 760px) { .logo-full { height: 42px; } }

/* ######
   Header
############ */

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-top: 14px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.nav {
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 10px 0 20px; border-radius: 999px;
  background: rgb(26 19 64 / .62); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px -24px rgb(0 0 0 / .8);
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .94rem; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: var(--glass-2); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; min-height: 44px; padding-inline: 18px; border-radius: 999px; border: 0; background: var(--glass-2); color: var(--ink); font: 500 .94rem/1 var(--font); cursor: pointer; box-shadow: 0 0 0 1px var(--line-2) inset; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; }
.lang a { display: grid; place-items: center; min-width: 38px; min-height: 36px; padding: 0 8px; border-radius: 999px; color: var(--muted); font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-decoration: none; transition: background-color .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--green); color: var(--on-green); }
.mobile-nav { margin-top: 8px; border-radius: var(--r); background: rgb(26 19 64 / .96); box-shadow: 0 0 0 1px var(--line) inset; }
.mobile-nav ul { list-style: none; margin: 0; padding: 10px 22px 6px; display: grid; }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 550; font-size: 1.05rem; }
.mobile-nav .btn { margin: 0 22px 18px; width: calc(100% - 44px); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
@media (max-width: 760px) { .site-header .nav .logo { height: 27px; } }
@media (max-width: 639px) {
  .nav { padding-left: 16px; }
  .nav-end .btn { display: none; }
}
@media (max-width: 430px) {
  .site-header .nav { gap: 10px; padding-left: 14px; }
  .site-header .nav .logo { height: 22px; }
  .site-header .lang a { min-width: 32px; padding: 0 6px; }
  .site-header .menu-btn { padding-inline: 14px; }
}
@media (max-width: 374px) { .site-header .nav .logo { height: 20px; } }

/* ######
   Rodapé
############ */

.site-footer { position: relative; overflow: hidden; padding-top: 72px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
.foot-grid p { color: var(--muted); font-size: .96rem; max-width: 36ch; margin-top: 14px; }
.foot-grid h2 { font-size: .8rem; font-weight: 500; color: var(--dim); margin-bottom: 14px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-contact { color: var(--muted); display: grid; gap: 8px; font-size: .96rem; }
.foot-contact span { overflow-wrap: anywhere; }
.foot-contact a { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.foot-contact a:hover { color: var(--ink); }
.foot-contact .wa-inline { display: inline-flex; align-items: center; gap: 8px; color: #4BE08A; font-weight: 600; }
.foot-contact .sms-inline { display: inline-flex; align-items: center; gap: 8px; color: #9DBBFF; font-weight: 600; }
.foot-contact .wa-inline .i, .foot-contact .sms-inline .i { width: 18px; height: 18px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.giant-logo { margin-top: 64px; padding-bottom: 40px; display: flex; justify-content: center; }
.giant-logo svg, .giant-logo img { display: block; width: min(100%, 980px); height: auto; color: #FFFFFF; --logo-fill: url(#logo-silver); --logo-accent: #A87F3F; }
.foot-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding-block: 8px 18px; font-size: .86rem; }
.foot-langs a { color: var(--dim); text-decoration: none; }
.foot-langs a:hover, .foot-langs a[aria-current="true"] { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px 96px; color: var(--dim); font-size: .86rem; border-top: 1px solid var(--line); }
.legal .credit { color: var(--muted); }
@media (max-width: 1023px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ######
   Botão flutuante de mensagem (WhatsApp / SMS)
############ */

.msg-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70; display: grid; justify-items: end; gap: 12px; }
.msg-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: #8A3CF0; color: #FFFFFF; font: 700 .98rem/1 var(--font); cursor: pointer; box-shadow: 0 0 0 1px rgb(255 255 255 / .22) inset, 0 16px 36px -12px rgb(0 0 0 / .6); transition: transform .2s, background-color .2s; }
.msg-btn .i { width: 24px; height: 24px; }
.msg-btn:hover { transform: translateY(-2px); background: #9B55FF; }
.msg-btn:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.msg-btn[aria-expanded="true"] { background: #2A1F66; }
.msg-pop { width: min(340px, calc(100vw - 36px)); padding: 16px; border-radius: 20px; background: #1E1650; color: #FFFFFF; box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 24px 60px -20px rgb(0 0 0 / .75); }
.msg-title { font-weight: 700; font-size: .98rem; margin: 2px 4px 12px; }
.msg-opts { display: grid; gap: 8px; }
.msg-opts.sms-first .opt-sms { order: -1; }
.msg-opt { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgb(255 255 255 / .06); color: #FFFFFF; text-decoration: none; transition: background-color .2s; }
.msg-opt:hover { background: rgb(255 255 255 / .12); }
.msg-opt:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.msg-opt > .i { width: 18px; height: 18px; color: rgb(255 255 255 / .55); }
.mo-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.mo-ic .i { width: 22px; height: 22px; }
.opt-wa .mo-ic { background: #25D366; color: #06301A; }
.opt-sms .mo-ic { background: #4F8BFF; color: #FFFFFF; }
.mo-txt b { display: block; font-weight: 700; }
.mo-txt small { display: block; margin-top: 3px; color: rgb(255 255 255 / .72); font-size: .82rem; line-height: 1.35; }
.nw { white-space: nowrap; }
@media (max-width: 560px) { .msg-btn { width: 56px; height: 56px; min-height: 0; padding: 0; justify-content: center; } .msg-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .msg-btn { transition: none; } }

/* ######
   Lightbox
############ */

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 72px 84px 28px; border: 0; background: rgb(9 7 26 / .96); color: #FFFFFF; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(9 7 26 / .6); }
.lb-stage { display: grid; justify-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.lb-media img { display: block; max-width: min(100%, 1400px); max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .9); }
.lb-cap { color: rgb(255 255 255 / .82); font-size: .95rem; text-align: center; max-width: 70ch; }
.lb-count { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; color: rgb(255 255 255 / .5); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 999px; border: 0; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: #FFFFFF; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgb(255 255 255 / .2); }
.lb-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-prev .i { transform: rotate(180deg); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
html.lb-lock { overflow: hidden; }
@media (max-width: 639px) {
  .lightbox { padding: 64px 12px 92px; }
  .lb-media img { max-height: calc(100dvh - 230px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}

/* ######
   Páginas internas (page.php / 404)
############ */

.page-main { padding-block: clamp(56px, 8vw, 112px) var(--section); }
.page-main .h2 { margin-bottom: 32px; }
.prose { max-width: 72ch; color: var(--muted); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); font-family: var(--display); letter-spacing: -0.015em; margin-top: 1.8em; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.not-found .btn { margin-top: 32px; }

/* ######
   Movimento
############ */

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
  .float { animation: float 9s ease-in-out infinite; animation-delay: var(--fd, 0s); }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes reveal { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* Janela "Contratar agora" (dados antes do pagamento) */
.buy-dlg { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 26px; color: var(--ink); background: radial-gradient(80% 60% at 100% 0%, rgb(138 60 240 / .35), transparent 70%), linear-gradient(170deg, #2A1D63, #1C1542 60%); box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 40px 100px -30px rgb(0 0 0 / .8); overflow: auto; overscroll-behavior: contain; }
.buy-dlg::backdrop { background: rgb(9 7 26 / .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.buy-dlg form { position: relative; display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); }
.buy-dlg .eyebrow { margin: 0; }
.buy-dlg h2 { font: 800 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.08 var(--display); letter-spacing: -0.02em; padding-right: 48px; }
.buy-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgb(255 255 255 / .08); color: var(--ink); cursor: pointer; }
.buy-x:hover { background: rgb(255 255 255 / .16); }
.buy-x .i { width: 18px; height: 18px; }
.buy-step { display: grid; gap: 16px; }
.buy-done { display: grid; gap: 12px; padding-block: 8px 4px; }
.buy-done[hidden], .buy-step[hidden] { display: none; }
.buy-item { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .06); box-shadow: 0 0 0 1px rgb(255 255 255 / .1) inset; }
.buy-item b { font: 750 1.08rem/1.25 var(--display); }
.buy-item span { color: var(--muted); font-size: .9rem; }
.buy-lede { color: var(--muted); font-size: .95rem; }
.buy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.buy-dlg .btn { width: 100%; }
.buy-dlg .btn[aria-busy="true"] { opacity: .8; pointer-events: none; }
.buy-alt { justify-self: center; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: 600 .95rem/1.3 var(--font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.buy-note { color: var(--dim); font-size: .84rem; text-align: center; }
@media (max-width: 560px) { .buy-grid { grid-template-columns: minmax(0, 1fr); } .buy-dlg { width: 100%; max-height: 100dvh; border-radius: 22px 22px 0 0; margin: auto 0 0; } }
