:root{--ink:#171717;--paper:#f3f1eb;--white:#fff;--red:#df2530;--line:#d9d6cf;--muted:#706f6b;--green:#16745a;--shadow:0 20px 60px #17171712;font-family:Arial,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}.event-hero{height:min(31vw,420px);min-height:230px;background:#fff;overflow:hidden;border-bottom:1px solid var(--line)}.event-hero img{width:100%;height:100%;object-fit:cover;display:block}.public-shell{max-width:1180px;margin:auto;padding:70px 28px 90px}.intro{display:grid;grid-template-columns:1fr .85fr;gap:80px;align-items:end;margin-bottom:52px}.eyebrow,.intro>div>span{font-size:11px;letter-spacing:.08em;font-weight:800;color:var(--red)}.intro h1{font-size:clamp(42px,5.5vw,72px);line-height:.98;letter-spacing:-.055em;font-weight:500;margin:20px 0 0}.intro p{color:#64625d;line-height:1.75;font-size:16px;max-width:520px;margin:0 0 8px}.form-layout{display:grid;grid-template-columns:278px 1fr;gap:20px;align-items:start}.stepper{background:var(--ink);color:#fff;padding:30px 26px;position:sticky;top:16px;min-height:615px}.stepper>strong{font-size:10px;letter-spacing:.08em;color:#aaa}.stepper button{width:100%;display:flex;gap:14px;align-items:center;text-align:left;border:0;border-top:1px solid #343434;background:none;color:#696969;padding:20px 0;cursor:default}.stepper button:first-of-type{margin-top:22px}.stepper i{width:31px;height:31px;border:1px solid #3c3c3c;border-radius:50%;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:800;flex:0 0 auto}.stepper span{font-size:12px;font-weight:700}.stepper small{display:block;font-size:9px;font-weight:400;margin-top:5px;color:#555}.stepper button.active{color:#fff}.stepper button.active i{background:var(--red);border-color:var(--red)}.stepper button.active small{color:#aaa}.stepper button.done{color:#ddd}.stepper button.done i{background:#fff;color:var(--ink);border-color:#fff}.security-note{border-top:1px solid #343434;margin-top:20px;padding-top:22px}.security-note b,.security-note small{display:block}.security-note b{font-size:11px}.security-note small{font-size:9px;line-height:1.55;color:#777;margin-top:7px}.form-card{background:#fff;border:1px solid #ddd9d2;padding:44px 48px;box-shadow:var(--shadow);min-height:615px}.form-step{display:none}.form-step.active{display:block;animation:fade .25s ease}@keyframes fade{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}.step-head{display:grid;grid-template-columns:44px 1fr;gap:20px;padding-bottom:30px;border-bottom:1px solid var(--line);margin-bottom:30px}.step-head>span{font-family:Georgia,serif;font-style:italic;color:var(--red);font-size:15px;margin-top:8px}.step-head h2{font-size:36px;letter-spacing:-.045em;font-weight:500;margin:0}.step-head p{font-size:12px;color:#777;margin:7px 0 0}.type-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:28px}.type-option{position:relative;border:1px solid var(--line);padding:20px 20px 20px 50px;cursor:pointer}.type-option.selected{border:2px solid var(--ink);padding:19px 19px 19px 49px}.type-option input{position:absolute;left:18px;top:22px;accent-color:var(--red)}.type-option b,.type-option small{display:block}.type-option b{font-size:13px}.type-option small{font-size:9px;color:#777;margin-top:5px}.fields{display:grid;gap:22px 20px}.fields.two{grid-template-columns:1fr 1fr}.fields label,.install-card label{font-size:9px;font-weight:800;letter-spacing:.05em;color:#3d3b38}.fields input,.fields select,.fields textarea,.install-card input{width:100%;border:0;border-bottom:1px solid #bebbb4;background:transparent;padding:11px 2px 9px;color:var(--ink);outline:none;border-radius:0}.fields input:focus,.fields select:focus,.fields textarea:focus,.install-card input:focus{border-color:var(--red);box-shadow:0 1px 0 var(--red)}.fields textarea{min-height:64px;resize:vertical}.fields label>small{font-weight:500;color:#898681;letter-spacing:0}.hidden,.honeypot{display:none!important}.form-actions{display:flex;justify-content:space-between;align-items:center;margin-top:36px;padding-top:24px;border-top:1px solid var(--line);gap:12px}.form-actions.end{justify-content:flex-end}.button{border:0;padding:14px 20px;min-height:46px;font-weight:800;font-size:11px;letter-spacing:.02em;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{background:var(--ink);color:#fff}.button.primary:hover{background:var(--red)}.button.ghost{background:transparent;color:var(--ink)}.button.add{background:#f5f2ec;border:1px solid var(--line);width:100%;color:var(--ink);margin-top:12px}.button.full{width:100%;margin-top:18px}.info-box{padding:15px 18px;border-left:3px solid var(--red);background:#f6f3ed;color:#625f59;font-size:11px;line-height:1.6;margin-bottom:28px}.book-card{border:1px solid var(--line);padding:22px;margin-bottom:14px}.book-card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.book-card header div{display:flex;align-items:end;gap:9px}.book-card header small{font-size:8px;color:#777;font-weight:800}.book-card header b{font-family:Georgia,serif;font-style:italic;color:var(--red);font-size:18px}.remove-book{border:0;background:none;color:#a33;font-size:10px;font-weight:700;cursor:pointer}.money-field{display:flex;align-items:end}.money-field i{font-style:normal;color:#777;padding-bottom:10px;margin-right:8px}.field-help{display:block!important;margin-top:5px!important;font-size:9px!important}.books-count{text-align:center;color:#777;font-size:10px;margin-top:12px}.books-count b{color:var(--ink)}.review-block{border-bottom:1px solid var(--line);padding:0 0 22px;margin-bottom:22px}.review-block>small{font-size:9px;color:var(--red);font-weight:800}.review-block h3{font-size:22px;margin:8px 0}.review-block p{font-size:12px;color:#666;line-height:1.6;margin:0}.review-book{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #eee}.review-book b{font-size:11px}.review-book span{font-size:10px;color:#777;text-align:right}.accept{display:flex;gap:12px;align-items:flex-start;padding:17px;background:#f5f2ec;font-size:11px;line-height:1.55}.accept input{accent-color:var(--red);margin-top:2px}.alert{padding:14px 16px;font-size:12px;line-height:1.5;margin-top:18px}.alert.error{background:#ffe8e8;color:#8c1d26;border:1px solid #f2bfc3}.alert.success{background:#e8f7f1;color:#126348;border:1px solid #b9e4d4}.success-panel{text-align:center;padding:65px 20px}.success-check{display:grid;width:58px;height:58px;border-radius:50%;place-items:center;margin:0 auto 28px;background:var(--green);color:#fff;font-size:26px}.success-panel>small{color:var(--red);font-weight:800;font-size:9px}.success-panel h2{font-size:36px;margin:12px 0 24px;letter-spacing:-.04em}.success-panel p{color:#666;line-height:1.6}.success-panel>strong{display:block;font-size:23px;padding:15px;border:1px solid var(--line);margin:10px auto 20px;max-width:390px}.success-meta{font-size:11px;color:#777}.site-footer{background:var(--ink);color:#fff;padding:22px max(24px,calc((100vw - 1124px)/2));display:flex;justify-content:space-between;font-size:9px;letter-spacing:.08em;font-weight:800}.site-footer a{color:#fff;text-decoration:none}.install-body,.admin-body{min-height:100vh;background:#eeeae3;padding:28px}.install-wrap{max-width:760px;margin:auto}.install-hero{background:var(--ink);color:#fff;padding:36px}.install-hero span{color:var(--red);font-size:10px;font-weight:800}.install-hero h1{font-size:40px;margin:12px 0}.install-hero p{color:#bbb;margin:0}.install-card{background:#fff;padding:34px;box-shadow:var(--shadow)}.install-card h2{font-size:18px;margin:30px 0 18px}.install-card h2:first-child{margin-top:0}.install-card label{display:block;margin-bottom:18px}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:850px){.event-hero{height:260px}.public-shell{padding:42px 16px 60px}.intro{grid-template-columns:1fr;gap:22px}.intro h1{font-size:48px}.form-layout{grid-template-columns:1fr}.stepper{position:static;min-height:0;display:grid;grid-template-columns:repeat(4,1fr);padding:16px}.stepper>strong,.security-note{display:none}.stepper button,.stepper button:first-of-type{margin:0;border:0;padding:8px;gap:7px;justify-content:center}.stepper span{display:none}.form-card{padding:30px 24px}.step-head h2{font-size:28px}}@media(max-width:580px){.event-hero{height:auto;min-height:0}.event-hero img{height:auto;object-fit:contain}.public-shell{padding-top:32px}.intro h1{font-size:41px}.form-card{padding:25px 18px}.fields.two,.type-grid,.grid.two{grid-template-columns:1fr}.step-head{grid-template-columns:31px 1fr;gap:8px}.step-head h2{font-size:27px}.book-card{padding:18px 14px}.review-book{display:block}.review-book span{display:block;text-align:left;margin-top:6px}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.site-footer{padding:20px 16px}.install-body,.admin-body{padding:10px}.install-card{padding:24px 18px}}

/* v1.3.1 — banners oficiais responsivos */
.event-hero{
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:2048 / 499;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid #d9d6cf;
}
.event-hero picture,
.event-hero img{
  display:block;
  width:100%;
  height:100%;
}
.event-hero img{
  object-fit:cover;
  object-position:center;
}
.event-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:#df2530;
}
.intro{
  padding-bottom:46px;
  border-bottom:1px solid var(--line);
}
.form-layout{margin-top:0}
@media(max-width:680px){
  .event-hero{aspect-ratio:3 / 2}
  .event-hero img{height:100%;object-fit:cover;object-position:center}
  .intro{padding-bottom:34px}
}


/* v1.3.2 — máscaras de CPF/CNPJ e telefone + simplificação da identificação */
.fields input::placeholder{color:#a09a92;opacity:1}
@media(max-width:580px){.step-head p{max-width:100%}}


/* v1.3.3 — organização dos campos bancários */
.field-span-2{grid-column:1/-1}.payment-fields textarea{min-height:110px}.payment-fields .field-help{display:block!important;margin-top:6px!important;font-size:9px!important}.payment-fields input,.payment-fields textarea{font-weight:600}.payment-fields label{align-self:start}
@media(max-width:580px){.field-span-2{grid-column:auto}}


/* v1.3.4 — retenção padrão de 30% aplicada automaticamente */


/* v1.3.5 — identificação do titular e chave Pix orientada por tipo */
.payment-fields select:disabled,.payment-fields input:disabled{opacity:.62;cursor:not-allowed}.payment-fields #pix-key-help{min-height:14px}.payment-fields select{cursor:pointer}
