/* Interface mobile-first. O fluxo e as integrações permanecem em script.js. */
:root { --sky-paper: #faf8f3; --sky-ink: #173e43; --sky-muted: #596b66; }
html { background: var(--sky-paper); }
body { padding: 0; background: #e5eae5; }
.experience { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100svh; max-width: 600px; border-radius: 0; box-shadow: none; }
.brand-header { flex-shrink: 0; height: 230px; aspect-ratio: auto; padding: 22px; align-items: flex-start; justify-content: flex-start; overflow: hidden; }
.brand-header::after { background: linear-gradient(180deg, #092c3699, #092c3600 50%, #092c3670); }
.brand-photo { object-position: center 58%; }
.brand-logo { width: 139px; }
.brand-story { display: none; }
.brand-caption { position: absolute; bottom: 25px; left: 24px; color: #fff; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.form-container { position: relative; z-index: 1; flex: 1; padding: 26px 24px 24px; }
.experience:has(#branch.active) .form-container { margin-top: -12px; border-radius: 16px 16px 0 0; background: var(--sky-paper); }
.location-badge { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--sky-ink); }
.location-pin { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #d4ded6; border-radius: 50%; }
.location-pin svg { width: 14px; height: 14px; }
.location-text { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.location-text strong { font-weight: 600; }
.location-text > span { border-left: 1px solid #bdc9c1; padding-left: 8px; color: var(--sky-muted); }
.question-kicker { font-size: 10px; letter-spacing: .14em; margin-bottom: 9px; }
.question-title { font-size: clamp(27px, 7vw, 33px); line-height: 1.17; text-align: left; text-wrap: pretty; margin-bottom: 24px; }
.options { gap: 10px; }
.option-card, .options-compact .option-card { min-height: 72px; padding: 15px 16px; gap: 12px; border: 1px solid #c6d2c9; border-radius: 12px; background: #fff; color: var(--sky-ink); box-shadow: 0 2px 3px #173e4303; transition: background .15s, border-color .15s, transform .15s; }
.option-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: #eef3ed; color: var(--sky-ink); }
.option-icon svg { width: 21px; height: 21px; }
.option-text { font-size: 15px; font-weight: 500; line-height: 1.4; }
.option-card::after { font-size: 20px; color: #728b7d; }
.option-card.selected { background: var(--sky-ink); border-color: var(--sky-ink); color: #fff; }
.option-card.selected .option-icon { background: #ffffff1f; color: #fff; }
.option-card:active { transform: scale(.99); }
.flow-header { margin: 24px 24px 0; }
.flow-header-inner { align-items: center; padding-top: 10px; }
.flow-caption { font-size: 11px; color: var(--sky-muted); }
.step-label { font-size: 12px; font-weight: 600; color: var(--sky-ink); }
.step-nudge { font-size: 11px; }
.progress-track { height: 4px; background: #dce4dc; }
.progress-fill { height: 100%; border-radius: inherit; background: #326457; }
.flow-header:not([hidden]) ~ .form-container { padding-top: 26px; }
/* Nas perguntas, liberar espaço acima do teclado sem remover a marca. */
.experience:has(.flow-header:not([hidden])) .brand-header { height: 88px; padding: 20px 24px; background: var(--sky-ink); }
.experience:has(.flow-header:not([hidden])) .brand-photo { opacity: .15; }
.experience:has(.flow-header:not([hidden])) .brand-logo { width: 112px; }
.experience:has(.flow-header:not([hidden])) .brand-caption { display: none; }
.input-group { gap: 14px; }
.text-input, .ddi-prefix, .currency-field { min-height: 60px; border-radius: 12px; border-color: #8d9f94; }
.text-input { font-size: 16px; }
.phone-field { min-width: 0; }
.phone-row { gap: 8px; }
.phone-label { font-size: 11px; }
.ddi-prefix { padding-inline: 10px; }
.input-ddd { width: 4.5ch; }
.phone-field-number .text-input { padding-inline: 10px; }
.currency-field { min-height: 88px; padding-inline: 18px; }
.currency-input, .currency-input:focus { min-height: 0; font-size: 34px; border-radius: 0; }
.text-input:focus, .currency-field:focus-within { outline: none; box-shadow: 0 0 0 3px #173e431a; }
.btn, .btn-primary, .btn-whatsapp { min-height: 60px; border-radius: 12px; font-weight: 600; }
.btn-primary { margin-top: 6px; }
.offer-panel { padding: 17px 20px; margin-bottom: 26px; border-radius: 12px; box-shadow: none; background: #173e43; }
.offer-kicker { margin-bottom: 10px; font-size: 9px; }
.offer-highlight { color: #f3e6c9; font-family: var(--sky-serif); font-size: 28px; line-height: 1.2; text-align: center; }
.trust-note { font-size: 12px; }
.app-footer { display: flex; align-items: baseline; justify-content: center; gap: 7px; padding: 18px 24px max(22px, env(safe-area-inset-bottom)); color: #596b66; border-top: 1px solid #e5e8df; }
.app-footer > :first-child { font-size: 10px; letter-spacing: .14em; font-weight: 600; }
.app-footer > :last-child { font-size: 10px; }
.connect-overlay { padding: 20px; }
.connect-inner { width: 100%; padding: 32px 24px; border-radius: 20px; }
/* Sem brilhos ou movimentos contínuos sobre as escolhas. */
.screen.cascade-in .option-card { animation-duration: .2s; animation-delay: 0s; }
.portal-cover { background: var(--sky-ink); }
@media (hover: hover) {
  .option-card:hover { background: #edf3ec; border-color: #668573; color: var(--sky-ink); }
  .option-card.selected:hover { background: var(--sky-ink); color: #fff; }
}
@media (max-width: 360px) {
  .brand-header { height: 190px; }
  .form-container { padding-inline: 20px; }
  .flow-header { margin-inline: 20px; }
  .option-card { padding: 12px; gap: 9px; }
  .option-text { font-size: 14px; }
}
@media (min-width: 760px) {
  html { background: #e5eae5; }
  body { padding: 40px; }
  .experience { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr); grid-template-rows: auto 1fr auto; max-width: 1080px; min-height: 680px; border: 1px solid #fff; border-radius: 24px; box-shadow: 0 24px 80px #173e4312; }
  .brand-header, .experience:has(.flow-header:not([hidden])) .brand-header { grid-column: 1; grid-row: 1 / 4; height: auto; min-height: 100%; padding: 40px; border-radius: 0; }
  .brand-photo, .experience:has(.flow-header:not([hidden])) .brand-photo { opacity: 1; object-position: 58% center; }
  .brand-header::after { background: linear-gradient(180deg, #092c3650 0%, #092c3610 32%, #092c36dc 100%); }
  .brand-logo, .experience:has(.flow-header:not([hidden])) .brand-logo { width: 170px; }
  .brand-story { display: block; position: absolute; left: 40px; right: 30px; bottom: 82px; color: #fff; }
  .brand-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
  .brand-story p { margin: 18px 0 24px; font-family: var(--sky-serif); font-size: clamp(31px, 3vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
  .brand-story em { color: #ece2c9; font-weight: 400; }
  .brand-detail { font-size: 11px; color: #f4f2e9; }
  .brand-caption, .experience:has(.flow-header:not([hidden])) .brand-caption { display: block; left: 40px; bottom: 32px; font-size: 9px; }
  .form-container, .experience:has(#branch.active) .form-container { grid-column: 2; grid-row: 2; margin: 0; padding: 44px 40px; align-self: center; border-radius: 0; }
  .flow-header { grid-column: 2; grid-row: 1; margin: 32px 40px 0; }
  .flow-header:not([hidden]) ~ .form-container { align-self: start; padding-top: 36px; }
  .question-title { font-size: 34px; }
  .app-footer { grid-column: 2; grid-row: 3; padding: 23px; }
}
@media (max-height: 600px) and (max-width: 759px) {
  .brand-header { height: 150px; }
  .experience:has(.flow-header:not([hidden])) .brand-header { height: 64px; padding-block: 10px; }
  .form-container { padding-top: 20px; }
}
