:root {
  --ink: #122b47;
  --muted: #596779;
  --paper: #f4f7fa;
  --surface: #ffffff;
  --brand: #122b47;
  --brand-mid: #1f497c;
  --brand-bright: #003f88;
  --brand-soft: #e8eef5;
  --action: #36af46;
  --action-dark: #258735;
  --line: #d6dee7;
  --focus: #36af46;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #f5f7fa; }
body.modal-open { overflow: hidden; }
.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 { color: inherit; }
button, input, select { font: inherit; }

.site-header { position: relative; z-index: 2; width: 100%; min-height: 88px; padding: 0 24px; display: flex; align-items: center; background: linear-gradient(115deg, #0d233b 0%, var(--brand) 58%, #1a426e 100%); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 5px 20px rgba(8,25,43,.16); }
.header-inner { width: min(1160px, 100%); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; width: 230px; max-width: 48vw; height: auto; filter: brightness(0) invert(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-home { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 10px; color: rgba(255,255,255,.88); text-decoration: none; font: 600 13px Montserrat, sans-serif; transition: background .16s ease, color .16s ease; }
.header-home:hover { color: white; background: rgba(255,255,255,.1); }
.secure-label { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: white; background: rgba(255,255,255,.08); font: 600 12px Montserrat, sans-serif; white-space: nowrap; }
.secure-dot { width: 9px; height: 9px; border-radius: 50%; background: #52d265; box-shadow: 0 0 0 4px rgba(82,210,101,.13); }
.secure-short { display: none; }

main { flex: 1; width: 100%; display: grid; align-items: center; }
.home-shell { width: 100%; min-height: calc(100vh - 176px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); }
.hero-copy { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 78px max(32px, calc((100vw - 1160px) / 2)); padding-right: clamp(48px, 6vw, 96px); color: white; background: linear-gradient(145deg, #0e243d 0%, var(--brand) 55%, var(--brand-mid) 100%); }
.hero-copy::after { content: ""; position: absolute; right: -130px; bottom: -150px; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.choice-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px max(32px, calc((100vw - 1160px) / 2)); padding-left: clamp(40px, 6vw, 92px); background: linear-gradient(135deg, #fff 0%, #f3f6f9 100%); }
.eyebrow, .step-label { color: var(--brand-mid); font: 700 13px Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy .eyebrow { color: #a9c4e1; }
h1 { max-width: 880px; margin: 10px 0 18px; font-family: Montserrat, sans-serif; font-size: clamp(42px, 6vw, 66px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.hero-copy h1 { max-width: 600px; color: white; font-size: clamp(42px, 5vw, 68px); }
h2 { margin: 8px 0 22px; font-family: Montserrat, sans-serif; font-size: 34px; font-weight: 600; }
.intro { max-width: 650px; margin: 0 0 38px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-copy .intro { max-width: 560px; margin-bottom: 34px; color: rgba(255,255,255,.78); }
.choice-title { margin: 0 0 18px; color: var(--brand); font: 600 17px Montserrat, sans-serif; }

.choice-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.choice-card { min-height: 156px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 25px 26px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.98); text-decoration: none; box-shadow: 0 12px 32px rgba(18,43,71,.075); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.choice-card:hover { transform: translateY(-3px); border-color: var(--brand-mid); box-shadow: 0 18px 46px rgba(18,43,71,.16); }
.choice-card--primary { background: linear-gradient(145deg, var(--brand) 0%, var(--brand-mid) 100%); color: white; border-color: var(--brand); }
.choice-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.choice-card--primary .choice-icon { background: rgba(255,255,255,.18); color: white; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { margin: 0 0 8px; font: 600 clamp(20px, 2vw, 24px) Montserrat, sans-serif; }
.choice-card small { max-width: 390px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.choice-card--primary small { color: rgba(255,255,255,.82); }
.arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; font-size: 22px; }
.support-line { margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.support-line a { color: var(--brand-mid); font-weight: 600; }

.flow-panel { width: min(720px, calc(100% - 32px)); margin: 38px auto 80px; padding: clamp(24px, 5vw, 52px); background: rgba(255,255,255,.97); border: 1px solid var(--line); border-top: 6px solid var(--brand); border-radius: 8px; box-shadow: 0 22px 60px rgba(18,43,71,.1); }
.schedule-panel { width: min(900px, calc(100% - 32px)); }
.payment-panel { width: min(780px, calc(100% - 32px)); }
.payment-panel .back-link { margin-bottom: 22px; }
.payment-intro-block { text-align: center; }
.payment-intro-block .intro { margin: 0 auto 30px; }
.payment-step { max-width: 580px; margin: 0 auto; padding: clamp(22px, 5vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: #f8fafc; box-shadow: 0 12px 34px rgba(18,43,71,.06); }
.payment-step[data-payment-step="2"] { max-width: 640px; }
.payment-step label { display: block; margin-bottom: 10px; font-weight: 750; }
.payment-step input + label { margin-top: 18px; }
.payment-step-actions { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; margin-top: 22px; }
.payment-step-actions .primary-button { margin-top: 0; }
.payment-panel .primary-button { background: linear-gradient(135deg, var(--brand), var(--brand-mid)); box-shadow: 0 8px 20px rgba(18,43,71,.16); }
.payment-panel .primary-button:hover { background: linear-gradient(135deg, #0b2037, #285c97); }
#payment-brick-wrap { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
#payment-status { text-align: center; }
.pix-result { width: 100%; min-width: 0; max-width: 100%; margin-top: 22px; padding: 26px; overflow: hidden; border: 1px solid #b9dfd2; border-radius: 18px; background: #f3fbf8; text-align: center; }
.pix-result h3 { margin: 10px 0 8px; font-size: 24px; }
.pix-result > p { margin: 0 auto 18px; color: var(--muted); }
.pix-success-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto; border-radius: 50%; background: #197a5b; color: #fff; font-size: 25px; font-weight: 800; }
#pix-qr-image { display: block; width: min(260px, 100%); max-width: 100%; height: auto; margin: 18px auto; border: 10px solid #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(18,43,71,.12); }
.pix-copy-block { width: 100%; min-width: 0; max-width: 500px; margin: 0 auto; text-align: left; }
.pix-copy-block label { display: block; margin-bottom: 8px; font-weight: 750; }
#pix-copy-code { display: block; width: 100%; max-width: 100%; resize: none; overflow-wrap: anywhere; font: 13px/1.45 monospace; word-break: break-all; }
.pix-copy-block .primary-button { margin-top: 10px; }
.pix-help { margin-top: 16px !important; font-size: 14px; }
.pix-payment-state { max-width: 500px; margin: 16px auto 0 !important; padding: 12px 16px; border-radius: 12px; background: #fff; color: #31566d !important; font-weight: 750; }
.pix-payment-state.is-approved { background: #dff5e9; color: #126443 !important; }
.payment-success-card { max-width: 460px; text-align: center; }
.payment-success-icon { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #17664f, #2a8a6d); color: #fff; box-shadow: 0 12px 30px rgba(23,102,79,.24); font-size: 34px; font-weight: 800; }
.payment-success-card h2 { margin: 4px 0 8px; font-size: clamp(30px, 8vw, 42px); }
.payment-success-details { margin: 24px 0 12px; padding: 4px 20px; border: 1px solid #dbe6e2; border-radius: 16px; background: #f8fbfa; text-align: left; }
.payment-success-details div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid #e5eeeb; }
.payment-success-details div:last-child { border-bottom: 0; }
.payment-success-details dt { color: var(--muted); }
.payment-success-details dd { margin: 0; color: #163f34; font-weight: 750; text-align: right; }
.payment-success-reference { margin: 14px 0 20px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.payment-success-note { margin: 16px 0 0; color: #17664f; font-weight: 750; }
.payment-success-button { display: flex; width: 100%; justify-content: center; text-decoration: none; }
.schedule-panel .back-link { margin-bottom: 22px; }
.schedule-intro-block { max-width: 680px; margin: 0 auto; text-align: center; }
.schedule-intro-block h1 { margin-top: 8px; }
.schedule-intro-block .intro { margin: 0 auto 30px; }
.step-progress { max-width: 560px; margin: 0 auto 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.step-progress li { position: relative; display: grid; justify-items: center; gap: 7px; color: #8a96a5; font-weight: 600; }
.step-progress li:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: calc(50% + 23px); width: calc(100% - 46px); height: 2px; background: var(--line); }
.step-progress span { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: white; }
.step-progress small { font-size: 12px; }
.step-progress .is-current { color: var(--brand); }
.step-progress .is-current span { color: white; border-color: var(--brand-mid); background: linear-gradient(145deg, var(--brand), var(--brand-mid)); box-shadow: 0 5px 14px rgba(18,43,71,.2); }
.step-progress .is-complete span { color: transparent; border-color: var(--action); background: var(--action); }
.step-progress .is-complete span::after { content: "✓"; position: absolute; color: white; }
.step-progress .is-complete::after { background: var(--action); }
.form-step { animation: step-in .2s ease; }
.form-step[hidden] { display: none; }
.form-step[data-form-step="1"] { max-width: 520px; margin: 0 auto; padding: clamp(22px, 5vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: #f8fafc; box-shadow: 0 12px 34px rgba(18,43,71,.06); }
.form-step h2 { margin-bottom: 26px; }
.form-step label { display: block; margin-bottom: 10px; font-weight: 750; }
.form-step input + label { margin-top: 18px; }
.step-kicker { margin: 0 0 7px; color: var(--brand-mid); font: 700 12px Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.step-next { width: 100%; margin-top: 22px; }
.schedule-panel .primary-button { background: linear-gradient(135deg, var(--brand), var(--brand-mid)); box-shadow: 0 8px 20px rgba(18,43,71,.16); }
.schedule-panel .primary-button:hover { background: linear-gradient(135deg, #0b2037, #285c97); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.flow-panel h1 { font-size: clamp(38px, 7vw, 58px); }
.back-link { display: inline-block; margin-bottom: 38px; color: var(--brand-mid); font-weight: 700; text-decoration: none; }
.form-stack { display: grid; gap: 12px; }
.form-stack > label, legend { font-weight: 750; }
input:not([type="radio"]):not([type="checkbox"]) { width: 100%; min-height: 56px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 12px; background: white; font-size: 18px; color: var(--ink); }
input:not([type="radio"]):not([type="checkbox"]):focus { outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent); border-color: var(--focus); }
fieldset { min-width: 0; margin: 20px 0 10px; padding: 0; border: 0; }
legend { margin-bottom: 16px; }
.calendar-fieldset { margin-top: 24px; }
.recurrence-fieldset { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; }
.recurrence-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.recurrence-options input { position: absolute; opacity: 0; pointer-events: none; }
.recurrence-options span { min-height: 86px; display: grid; align-content: center; gap: 4px; padding: 13px; border: 2px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.recurrence-options strong, .recurrence-options small { display: block; }
.recurrence-options small { color: var(--muted); font-size: 12px; }
.recurrence-options input:checked + span { border-color: var(--brand-mid); background: var(--brand-soft); box-shadow: 0 5px 14px rgba(18,43,71,.1); }
.recurrence-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.occurrences-field { max-width: 260px; margin-top: 18px; }
.occurrences-field[hidden] { display: none; }
.occurrences-field select { width: 100%; min-height: 50px; margin-top: 8px; padding: 10px 42px 10px 13px; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); background: white; }
.calendar-picker { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #f7f9fc; box-shadow: inset 0 1px 0 white; }
.week-toolbar { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #edf3f9, #f8fafc); border-bottom: 1px solid var(--line); }
.week-toolbar p { margin: 0; text-align: center; color: var(--brand); font: 700 14px Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.week-scroll { overflow: visible; }
.week-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 16px; align-items: start; }
.day-column { min-width: 0; display: grid; align-content: start; gap: 12px; }
.date-card { min-height: 104px; padding: 12px 8px; display: grid; place-content: center; gap: 1px; border: 1px solid #dfe6ee; border-radius: 14px; color: var(--muted); background: white; cursor: pointer; scroll-snap-align: start; transition: .18s ease; }
.date-card span, .date-card small { font: 700 12px Montserrat, sans-serif; text-transform: uppercase; }
.date-card strong { color: var(--ink); font: 700 28px/1 Montserrat, sans-serif; }
.day-column:has(input:checked) .date-card { color: white; border-color: var(--brand-mid); background: linear-gradient(145deg, var(--brand), var(--brand-mid)); box-shadow: 0 8px 20px rgba(18,43,71,.22); }
.day-column:has(input:checked) .date-card strong { color: white; }
.date-arrow { width: 38px; height: 48px; padding: 0; border: 0; border-radius: 12px; color: white; background: var(--brand-mid); font-size: 30px; cursor: pointer; }
.date-arrow:hover { background: var(--brand); }
.date-arrow:disabled { opacity: .3; cursor: not-allowed; }
.day-times { display: grid; gap: 9px; max-height: none; overflow: visible; }
.time-option input, .payment-options input { position: absolute; opacity: 0; pointer-events: none; }
.time-option span { display: grid; place-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; font-weight: 750; transition: .15s ease; }
.time-option span:hover { border-color: var(--brand-mid); box-shadow: 0 5px 12px rgba(18,43,71,.1); }
.time-option input:checked + span { color: white; background: linear-gradient(145deg, var(--brand), var(--brand-mid)); border-color: var(--brand); box-shadow: 0 6px 16px rgba(18,43,71,.22); }
.schedule-footer { position: sticky; bottom: 0; z-index: 2; margin-top: 18px; padding: 16px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; background: linear-gradient(to bottom, rgba(255,255,255,0), white 22%); }
.schedule-footer p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.schedule-footer .primary-button { min-width: 190px; }
.schedule-actions { display: grid; grid-template-columns: auto minmax(190px, auto); align-items: center; gap: 10px; }
.schedule-actions .primary-button { margin-top: 0; }
.time-option input:focus-visible + span, .payment-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.payment-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.payment-options label span { display: block; padding: 16px 18px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.payment-options strong, .payment-options small { display: block; }
.payment-options small { margin-top: 5px; color: var(--muted); }
.payment-options input:checked + span { border-color: var(--brand-mid); background: var(--brand-soft); }
.money-input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.money-input:focus-within { outline: 3px solid color-mix(in srgb, var(--focus) 36%, transparent); border-color: var(--focus); }
.money-input span { padding-left: 16px; font-size: 18px; font-weight: 800; }
.money-input input { border: 0; outline: 0; }
.primary-button, .secondary-button { min-height: 56px; padding: 13px 20px; border-radius: 12px; border: 0; font-weight: 800; cursor: pointer; }
.primary-button { margin-top: 12px; color: white; background: var(--action); }
.primary-button:hover { background: var(--action-dark); }
.primary-button:disabled { opacity: .55; cursor: not-allowed; }
.secondary-button { background: var(--brand-soft); color: var(--brand); }
.privacy-note, .prototype-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.prototype-note { padding: 12px 14px; border-radius: 10px; background: #fff4df; color: #705325; }
.calendar-fallback { padding: 20px; border: 1px solid #dce7e3; border-radius: 15px; background: #f6faf8; color: var(--ink); }
.calendar-fallback strong { display: block; margin-bottom: 7px; font-size: 17px; }
.calendar-fallback p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.calendar-fallback-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 17px; }
.calendar-fallback-actions .primary-button, .calendar-fallback-actions .secondary-button { display: grid; place-items: center; min-width: 0; margin: 0; text-align: center; text-decoration: none; }
.schedule-message { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.schedule-message[hidden] { display: none; }
.confirmation dl { margin: 0; border-top: 1px solid var(--line); }
.confirmation dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.confirmation dt { color: var(--muted); }
.confirmation dd { margin: 0; font-weight: 750; }
.button-row { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10px; margin-top: 20px; }
.confirmation-modal[hidden], .modal[hidden] { display: none; }
.confirmation-modal, .modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,25,43,.68); backdrop-filter: blur(5px); }
.modal-card { position: relative; z-index: 1; width: min(560px, 100%); min-width: 0; max-width: 100%; max-height: calc(100vh - 36px); overflow-x: hidden; overflow-y: auto; padding: clamp(24px, 5vw, 42px); border-radius: 20px; background: white; box-shadow: 0 28px 90px rgba(0,0,0,.28); animation: modal-in .2s ease; }
.modal-card h2 { margin-bottom: 8px; }
.recurrence-modal-card .recurrence-options { grid-template-columns: 1fr; }
.recurrence-modal-card .schedule-footer { display: grid; gap: 16px; }
.recurrence-modal-card .schedule-actions { width: 100%; }
.recurrence-modal-card .schedule-actions button { flex: 1; }
.recurrence-modal-card .recurrence-fieldset { margin-top: 20px; }
.modal-intro { margin: 0 0 24px; color: var(--muted); }
.calendar-actions { display: grid; gap: 10px; margin-top: 18px; }
.calendar-actions[hidden] { display: none; }
.calendar-actions .primary-button { display: grid; place-items: center; margin: 0; text-decoration: none; text-align: center; }
.confirmation-success-icon { display: none; width: 68px; height: 68px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #1d765f, #174d69); color: #fff; font-size: 34px; font-weight: 800; box-shadow: 0 14px 32px rgba(24, 91, 94, .25); }
.modal-card.is-success { text-align: center; padding-top: clamp(30px, 7vw, 48px); }
.modal-card.is-success .confirmation-success-icon { display: grid; }
.modal-card.is-success .step-kicker,
.modal-card.is-success dl,
.modal-card.is-success .button-row { display: none; }
.modal-card.is-success .modal-intro { margin-bottom: 18px; }
.modal-card.is-success #schedule-message { margin: 0; padding: 16px 18px; border: 1px solid #dbe9e5; border-radius: 15px; background: #f2f8f6; color: #285c51; font-weight: 650; }
.modal-card.is-success .calendar-actions { margin-top: 22px; }
.confirmation-finish { width: 100%; min-height: 56px; padding: 13px 20px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--action), #2a9840); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 9px 22px rgba(37, 135, 53, .22); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.confirmation-finish:hover { background: linear-gradient(135deg, #2fa740, var(--action-dark)); box-shadow: 0 11px 26px rgba(37, 135, 53, .28); transform: translateY(-1px); }
.confirmation-finish:active { transform: translateY(0); box-shadow: 0 5px 14px rgba(37, 135, 53, .2); }
.confirmation-finish:focus-visible { outline: 3px solid rgba(54, 175, 70, .28); outline-offset: 3px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
footer { width: 100%; margin: 0; padding: 22px max(24px, calc((100vw - 1160px) / 2)); display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.72); background: #0c2036; font-size: 13px; }

@media (max-width: 900px) {
  .home-shell { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 32px 48px; }
  .choice-panel { padding: 42px 32px 58px; }
  .hero-copy h1 { font-size: clamp(40px, 9vw, 58px); }
}

@media (max-width: 600px) {
  .site-header { min-height: 72px; padding: 0 14px; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand img { width: 188px; max-width: 58vw; }
  .header-home { display: none; }
  .secure-label { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .secure-full { display: none; }
  .secure-short { display: inline; }
  .hero-copy { padding: 42px 20px 38px; }
  .hero-copy h1 { margin-top: 7px; font-size: clamp(34px, 10vw, 46px); line-height: 1.1; }
  .hero-copy .intro { margin-bottom: 24px; font-size: 16px; line-height: 1.55; }
  .choice-panel { padding: 32px 16px 46px; }
  .choice-title { margin-left: 4px; font-size: 15px; }
  .choice-card { min-height: 142px; grid-template-columns: 38px 1fr 32px; gap: 12px; padding: 20px 16px; border-radius: 9px; }
  .choice-icon { width: 36px; height: 36px; font-size: 13px; }
  .choice-card strong { font-size: 19px; }
  .choice-card small { font-size: 14px; line-height: 1.45; }
  .arrow { width: 32px; height: 32px; font-size: 18px; }
  .flow-panel { width: 100%; margin: 0; padding: 28px 12px 44px; border: 0; border-top: 5px solid var(--brand); border-radius: 0; box-shadow: none; }
  .flow-panel h1 { font-size: 34px; }
  .schedule-panel { padding-top: 22px; }
  .payment-panel { padding-top: 22px; }
  .payment-panel .back-link { margin-bottom: 18px; }
  .payment-intro-block h1 { font-size: 33px; }
  .payment-intro-block .intro { margin-bottom: 24px; }
  .payment-step { padding: 24px 18px; border-radius: 15px; }
  .schedule-panel .back-link { margin-bottom: 18px; }
  .schedule-intro-block h1 { font-size: 33px; }
  .schedule-intro-block .intro { margin-bottom: 24px; }
  .flow-panel .intro { font-size: 16px; margin-bottom: 28px; }
  .step-progress { margin-bottom: 28px; }
  .step-progress li:not(:last-child)::after { left: calc(50% + 20px); width: calc(100% - 40px); }
  .step-progress span { width: 34px; height: 34px; }
  .step-progress small { font-size: 10px; }
  .form-step[data-form-step="1"] { padding: 24px 18px; border-radius: 15px; }
  .form-step h2 { font-size: 25px; }
  input:not([type="radio"]):not([type="checkbox"]) { min-height: 58px; font-size: 17px; }
  .primary-button, .secondary-button { min-height: 58px; font-size: 16px; }
  .calendar-fieldset { margin-inline: 0; }
  .recurrence-fieldset { padding: 14px 10px; }
  .recurrence-options { grid-template-columns: 1fr; gap: 8px; }
  .recurrence-options span { min-height: 68px; }
  .occurrences-field { max-width: none; }
  .calendar-picker { border-radius: 14px; }
  .week-toolbar { grid-template-columns: 38px 1fr 38px; gap: 6px; padding: 9px 8px; }
  .week-toolbar p { font-size: 12px; letter-spacing: 0; }
  .week-scroll { overflow: visible; }
  .week-grid { min-width: 0; width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; padding: 8px 6px 12px; }
  .day-column { gap: 7px; }
  .date-card { min-height: 78px; padding: 8px 2px; border-radius: 10px; }
  .date-card span, .date-card small { font-size: 9px; }
  .date-card strong { font-size: 21px; }
  .date-arrow { width: 38px; height: 42px; font-size: 25px; }
  .day-times { max-height: none; gap: 6px; overflow: visible; mask-image: none; }
  .time-option span { min-height: 48px; padding: 4px 1px; border-radius: 9px; font-size: 13px; }
  .schedule-footer { grid-template-columns: 1fr; gap: 4px; padding-top: 18px; }
  .schedule-footer .primary-button { width: 100%; margin-top: 8px; }
  .schedule-actions { grid-template-columns: .7fr 1.3fr; }
  .schedule-actions .primary-button { min-width: 0; margin-top: 0; }
  .schedule-actions .secondary-button { padding-inline: 12px; }
  .modal-card { padding: 26px 18px; border-radius: 18px; }
  .pix-result { padding: 20px 14px; }
  #pix-qr-image { width: min(240px, 100%); border-width: 8px; }
  .button-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .payment-step-actions { grid-template-columns: .7fr 1.3fr; }
  .calendar-fallback-actions { grid-template-columns: 1fr; }
  footer { display: grid; padding: 22px 20px; font-size: 12px; }
}

@media (max-width: 380px) {
  .flow-panel { padding-inline: 9px; }
  .week-grid { gap: 4px; padding-inline: 5px; }
  .date-card strong { font-size: 19px; }
  .time-option span { min-height: 46px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
