/* A demonstração é local: formulário, prévia e cópia, sem envio de dados. */
.hero{background:radial-gradient(ellipse at 85% 25%,rgba(251,191,36,.12),transparent 55%),#faf8f3}
.hero-grid{align-items:start}
.hero-grid>*{min-width:0}
#demo{scroll-margin-top:84px}
.demo-card{background:#fffdf9;border:1px solid #dfd5c5;border-radius:24px;box-shadow:0 24px 70px -35px rgba(100,55,12,.35);overflow:hidden}
.demo-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;color:#ffedd5;background:linear-gradient(115deg,#302319,#7c3c0d);font-size:.75rem;font-weight:600}
.demo-badge{padding:3px 9px;border:1px solid rgba(255,237,213,.35);border-radius:99px;white-space:nowrap;font-size:.67rem}
.demo-body{padding:23px 22px 18px}
.demo-body h2{font-size:clamp(1.45rem,2.5vw,1.85rem);line-height:1.12;margin-bottom:8px}
.demo-intro{font-size:.86rem;color:#655b4e;margin-bottom:10px}
.demo-example-note{padding:8px 10px;background:#f7efdf;border-radius:9px;color:#735025;font-size:.73rem;line-height:1.45;margin-bottom:16px}
.demo-fields{display:grid;grid-template-columns:1.1fr 1fr;gap:12px;border:0;min-width:0}
.demo-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.76rem;font-weight:600;color:#514332}
.demo-wide{grid-column:1/-1}
.demo-field input,.demo-field textarea,.demo-field select{display:block;width:100%;min-width:0;border:1px solid #d9ccba;border-radius:9px;background:#fff;color:#29241e;font-family:var(--text);font-size:16px;font-weight:400;line-height:1.45;padding:9px 10px}
.demo-field textarea{resize:vertical;min-height:66px;max-height:200px}
.demo-field input,.demo-field select{min-height:44px}
.demo-output-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin:17px 0 6px;font-size:.78rem;font-weight:600;color:#514332}
.demo-text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 3px;border:0;border-radius:5px;background:transparent;color:#92400e;font-family:var(--text);font-size:.74rem;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.demo-output-head .demo-text-button{margin:-9px 0}
.demo-output{display:block;width:100%;max-width:100%;min-height:126px;max-height:320px;padding:12px;border:1px solid #e2d7c6;border-radius:10px;background:#f6f1e7;color:#3c3429;font-family:var(--mono);font-size:.72rem;line-height:1.55;resize:vertical;overflow-wrap:anywhere}
.demo-help{font-size:.72rem;line-height:1.5;color:#706354;margin-top:7px}
.demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;margin-top:15px}
.demo-actions .btn{min-height:44px;padding:11px 19px;font-family:var(--text);font-size:.87rem;white-space:normal;flex:1}
.demo-card button:disabled{opacity:.55;cursor:default;transform:none}
.demo-status{min-height:1.5em;margin-top:5px;color:#684314;font-size:.74rem;line-height:1.5}
.demo-privacy{font-size:.69rem;line-height:1.5;color:#756653;margin-top:8px}
.demo-buy{display:block;padding:16px 22px;background:#f5e8d2;border-top:1px solid #e7d7bd;color:#783b10;font-size:.91rem;font-weight:700;line-height:1.4}
.demo-buy:hover{background:#eedbbb}
.demo-buy span{margin-left:5px}
.demo-buy small{display:block;font-size:.7rem;font-weight:400;margin-top:4px;color:#705538}
.demo-video{margin-top:24px;border:1px solid #dfd5c5;border-radius:16px;background:rgba(255,253,249,.8)}
.demo-video summary{position:relative;min-height:48px;padding:14px 45px 14px 17px;list-style:none;cursor:pointer;color:#783b10;font-size:.88rem;font-weight:600;line-height:1.45;border-radius:15px}
.demo-video summary::-webkit-details-marker{display:none}
.demo-video summary::after{content:'+';position:absolute;right:17px;top:50%;transform:translateY(-50%);font-size:1.4rem;font-weight:400}
.demo-video[open] summary::after{content:'−'}
.demo-video-body{padding:0 17px 18px}
.demo-video video{display:block;width:100%;max-width:280px;height:auto;aspect-ratio:9/16;margin:0 auto;border-radius:12px;background:#302319}
.demo-video-body p{margin-top:14px;color:#706354;font-size:.76rem;line-height:1.55}
.demo-video video:focus-visible{outline:3px solid #9a4c09;outline-offset:3px}
.demo-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9a4c09;outline-offset:3px}
.demo-buy:focus-visible{outline-offset:-5px}
@media(max-width:900px){.hero-visual{order:0}.hero-grid{gap:32px}.demo-card{max-width:560px;margin:0 auto}.hero{padding-top:42px}}
@media(max-width:420px){.demo-topline{padding:12px 16px}.demo-body{padding:20px 16px 16px}.demo-fields{grid-template-columns:1fr}.demo-buy{padding:15px 16px}.hero-ctas .btn{white-space:normal;text-align:center}.demo-actions{align-items:stretch}.demo-actions .btn{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
