:root {
  --red: #f10a1b;
  --red-dark: #c90016;
  --green: #387d3d;
  --yellow: #ffcb34;
  --purple: #7040a7;
  --ink: #171317;
  --paper: #fffdf8;
  --muted: #746b73;
  --line: #e5dce3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
.page-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(430px, .9fr) minmax(600px, 1.1fr); }
.campaign-panel { position: sticky; top: 0; min-height: 100svh; overflow: hidden; background: var(--paper); color: white; }
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.13), transparent 44%, rgba(0,0,0,.22)); }
.campaign-content { min-height: 100svh; position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(30px, 4.3vw, 72px); }
.logo { width: min(440px, 82%); display: block; mix-blend-mode: screen; filter: contrast(1.08); }
.campaign-copy { position: relative; z-index: 2; width: min(560px, 88%); margin-top: clamp(60px, 8vh, 120px); }
.eyebrow { margin: 0 0 13px; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.campaign-copy h1 { margin: 0; font-size: clamp(52px, 6vw, 92px); line-height: .91; letter-spacing: -.065em; font-weight: 950; }
.campaign-copy > p:last-child { max-width: 520px; margin: 24px 0 0; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; }
.photo-stage { position: absolute; right: -10%; bottom: -8%; width: 76%; height: 52%; display: flex; align-items: flex-end; justify-content: flex-end; }
.photo-stage img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 18px 25px rgba(0,0,0,.16)); }
.form-panel { padding: clamp(40px, 5vw, 86px); background: var(--paper); }
.form-wrap { width: min(100%, 770px); margin: 0 auto; }
.invitation { display: flex; align-items: center; gap: 13px; margin: 0 0 32px; padding: 15px 18px; border-radius: 10px; background: var(--ink); color: white; box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.invitation img { width: 27px; height: 27px; object-fit: contain; mix-blend-mode: screen; }
.invitation p { margin: 0; font-size: 15px; }
.invitation strong { color: var(--yellow); }
.form-header { margin-bottom: 34px; }
.form-header .eyebrow { color: var(--red); }
.form-header h2 { margin: 0; font-size: clamp(42px, 4.5vw, 66px); line-height: .96; letter-spacing: -.055em; }
.form-header > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
form { display: grid; gap: 31px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field-full { grid-column: 1 / -1; }
.field > span, legend { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.field b, .consent b { color: var(--red); }
.field small, legend small { color: var(--muted); font-weight: 500; }
input[type="text"], input[type="tel"], select { width: 100%; min-height: 54px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 8px; outline: none; background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
select { cursor: pointer; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(56,125,61,.12); }
.field > small { display: block; margin-top: 7px; font-size: 11px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend small { margin-left: 5px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { min-height: 48px; height: 100%; display: flex; align-items: center; justify-content: center; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: white; color: #625860; text-align: center; font-size: 12px; line-height: 1.25; transition: .18s; }
.choice input:checked + span { border-color: var(--green); background: #eaf4e9; color: #245d29; font-weight: 800; box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + span { outline: 3px solid rgba(56,125,61,.18); outline-offset: 2px; }
.help-options { grid-template-columns: repeat(3, 1fr); }
.choice-long span { min-height: 76px; }
.consent { display: grid; grid-template-columns: 19px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.consent span { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.consent a, .form-footer a { color: var(--green); font-weight: 800; text-underline-offset: 2px; }
button { min-height: 60px; border: 0; border-radius: 8px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 0 24px; background: var(--red); color: white; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 26px rgba(201,0,22,.2); transition: transform .2s, background .2s; }
button:hover { background: var(--red-dark); transform: translateY(-2px); }
button:disabled { opacity: .68; cursor: wait; transform: none; }
button span { font-size: 23px; }
.form-footer { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 11px; }
.form-footer nav { display: flex; gap: 15px; }

/* Páginas legais */
.legal-page { background: #f7f3ed; }
.legal-header { min-height: 150px; display: flex; align-items: center; padding: 26px max(24px, calc((100vw - 980px) / 2)); background: var(--ink); overflow: hidden; position: relative; }
.legal-header::after { content: ""; position: absolute; right: -70px; top: -160px; width: 430px; height: 360px; background: var(--red); transform: rotate(35deg); }
.legal-brand { position: relative; z-index: 1; display: block; width: min(360px, 72vw); }
.legal-brand img { display: block; width: 100%; mix-blend-mode: screen; }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 85px; }
.legal-main > .eyebrow { margin-top: 30px; color: var(--red); }
.legal-main h1 { margin: 0; color: var(--ink); font-size: clamp(47px, 7vw, 76px); line-height: .96; letter-spacing: -.055em; }
.legal-updated { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.back-link { color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-intro { margin: 38px 0 42px; padding: 25px 28px; border-left: 6px solid var(--yellow); background: white; font-size: 17px; line-height: 1.7; box-shadow: 0 12px 32px rgba(23,19,23,.05); }
.legal-intro p { margin: 0; }
.legal-main section { padding: 29px 0; border-top: 1px solid #dfd6d8; }
.legal-main section h2 { margin: 0 0 13px; color: var(--green); font-size: clamp(22px, 3vw, 29px); letter-spacing: -.025em; }
.legal-main section p, .legal-main section li { color: #4e464c; font-size: 15.5px; line-height: 1.72; }
.legal-main section p { margin: 10px 0; }
.legal-main section ul { margin: 11px 0 0; padding-left: 23px; }
.legal-main section li { margin: 6px 0; padding-left: 4px; }
.legal-main section a { color: var(--green); font-weight: 800; }
.legal-note { padding: 12px 14px; border-radius: 6px; background: #fff1c8; color: #594509 !important; }
.legal-footer { min-height: 105px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 25px max(24px, calc((100vw - 900px) / 2)); background: var(--purple); color: white; font-size: 13px; }
.legal-footer p { margin: 0; font-weight: 800; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-footer a { color: white; font-weight: 700; text-underline-offset: 3px; }
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.scrolled {
  max-height: 100vh; overflow-y: scroll;
}
@media (max-width: 1060px) {
  .page-shell { grid-template-columns: 1fr; }
  .campaign-panel { position: relative; min-height: 690px; }
  .campaign-content { min-height: 690px; padding: 38px 26px; }
  .logo { width: min(390px, 78%); }
  .campaign-copy { margin-top: 58px; width: 67%; }
  .campaign-copy h1 { font-size: clamp(49px, 10vw, 76px); }
  .photo-stage { width: 54%; height: 61%; right: -6%; }
  .form-panel { padding: 55px 24px; }
}
@media (max-width: 650px) {
  .campaign-panel, .campaign-content { min-height: 680px; }
  .campaign-copy { width: 92%; }
  .campaign-copy h1 { font-size: 53px; max-width: 420px; }
  .campaign-copy > p:last-child { max-width: 90%; font-size: 16px; }
  .photo-stage { width: 66%; height: 42%; opacity: .88; }
  .field-grid, .choice-grid, .help-options { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .choice span { min-height: 44px; }
  .choice-long span { min-height: 57px; }
  legend small { display: block; margin: 4px 0 0; }
  .form-footer, .legal-footer { align-items: flex-start; flex-direction: column; }
  .form-footer nav { flex-direction: column; gap: 8px; }
  .legal-header { min-height: 120px; }
  .legal-main { width: min(100% - 30px, 900px); padding-top: 42px; }
  .legal-intro { padding: 20px; }
  .pattern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
  .scrolled {
    max-height: auto; overflow-y: unset;
  }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
