/* ========== BASE RESET ========== */
:root {
    --primary: #0e6577;
    --bg-page: #f4f5f7;
    --c-action: #1a7340;
    --c-action-hover: #155e34;
    --c-accent: #0e6577;
    --c-accent-soft: #f0fdf4;
    --c-accent-border: #a7f3d0;
    --c-info-bg: #eff6ff;
    --c-info-border: #bfdbfe;
    --c-info-text: #1e3a8a;
    --c-info-icon-bg: #1d4ed8;
    --c-help-bg: #fef3c7;
    --c-help-border: #fcd34d;
    --c-help-text: #92400e;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }
body { font-family: 'Inter', sans-serif; background: var(--bg-page); min-height: 100vh; -webkit-font-smoothing: antialiased }
a { text-decoration: none; color: inherit }

/* Modo iframe (Shopify embed): o parent ajusta a altura do iframe ao conteúdo,
   então não devemos forçar 100vh nem centralizar verticalmente — caso contrário
   o conteúdo "infla" para preencher a viewport herdada da página anterior e fica
   travado em altura grande, com espaço vazio acima/abaixo. */
html.iframe-embed,
html.iframe-embed body { min-height: 0 }

/* ========== PORTAL LAYOUT ========== */
.portal { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px }
html.iframe-embed .portal { min-height: 0; justify-content: flex-start; padding: 16px }
.portal-card { background: #fff; border-radius: 16px; width: 100%; max-width: 520px; padding: 40px 36px; box-shadow: 0 8px 40px rgba(0,0,0,.18) }
.portal-card.wide { max-width: 700px }

/* ========== BACK BUTTON (outside card) ========== */
.btn-back-outer { position: fixed; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #fff; color: var(--c-accent); border: 1.5px solid #d1d5db; border-radius: 100px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .2s, border-color .2s; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.btn-back-outer:hover { background: #f9fafb; border-color: var(--c-accent); color: var(--c-accent); }

/* ========== LOGO ========== */
.portal-logo { text-align: center; margin-bottom: 28px }
.logo-mark { display: inline-flex; align-items: center; gap: 6px; font-size: 26px; color: #1a7340 }
.logo-mark i { font-size: 32px }
.logo-text { font-size: 14px; font-weight: 500; color: #555; letter-spacing: .3px }
.logo-text strong { font-weight: 700; color: #1a1a2e }

/* ========== TYPOGRAPHY ========== */
.portal-title { font-size: 22px; font-weight: 700; color: #222; text-align: center; margin-bottom: 10px }
.portal-subtitle { font-size: 14px; color: #666; text-align: center; line-height: 1.65; margin-bottom: 28px }
.section-heading { font-size: 20px; font-weight: 700; color: #0e6577; margin-bottom: 4px }
.section-sub { font-size: 13px; color: #888; margin-bottom: 16px }
.greeting { color: #0e6577; font-size: 14px; margin-bottom: 2px }

/* ========== FORMS ========== */
.fg { margin-bottom: 18px }
.fg label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px }
.fg-required::after { content: ' *'; color: #c62828; font-weight: 400 }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 14px; font-family: inherit; color: #333; background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
    outline: none; border-color: #0e6577; box-shadow: 0 0 0 3px rgba(14,101,119,.12);
}
.fg input::placeholder, .fg textarea::placeholder { color: #aaa }
.fg textarea { resize: vertical; min-height: 80px }
.fg-row { display: flex; gap: 12px }
.fg-row .fg { flex: 1 }
.fg-hint { font-size: 12px; color: #999; margin-top: 4px }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: 8px; font-size: 15px; font-weight: 600;
    font-family: inherit; cursor: pointer; border: none; transition: all .2s;
}
.btn-primary { background: #1a7340; color: #fff; width: 100% }
.btn-primary:hover { background: #155e34 }
.btn-outline { background: #fff; color: #444; border: 1.5px solid #ddd }
.btn-outline:hover { background: #f7f7f7; border-color: #bbb }
.btn-icon-sq { width: 44px; height: 44px; padding: 0; border-radius: 8px; background: #0e6577; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0 }
.btn-icon-sq:hover { background: #0a5560 }
.btn-actions { display: flex; gap: 12px; margin-top: 28px }
.btn-actions .btn { flex: 1 }

/* ========== PRODUCT LIST ========== */
.product-item { border-bottom: 1px solid #eee; padding: 20px 0 }
.product-item:first-child { padding-top: 0 }
.product-item:last-child { border-bottom: none }
.product-row { display: flex; align-items: center; gap: 14px }
.product-img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0 }
.product-img-ph { width: 64px; height: 64px; border-radius: 8px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #ccc; flex-shrink: 0 }
.product-info { flex: 1; min-width: 0 }
.product-name { font-size: 14px; font-weight: 500; color: #333 }

/* ========== TOGGLE CIRCLE ========== */
.toggle-label { cursor: pointer; flex-shrink: 0 }
.toggle-chk { display: none }
.toggle-circle {
    width: 34px; height: 34px; border-radius: 50%; background: #ccc;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; transition: background .2s; cursor: pointer;
}
.toggle-chk:checked + .toggle-circle { background: #1a7340 }
.toggle-circle .icon-on { display: none }
.toggle-chk:checked + .toggle-circle .icon-off { display: none }
.toggle-chk:checked + .toggle-circle .icon-on { display: inline }

/* ========== PRODUCT FIELDS (EXPANDED) ========== */
.product-fields { display: none; padding: 16px 0 0; margin-top: 16px; border-top: 1px solid #f0f0f0 }
.product-item.active .product-fields { display: block }

/* ========== PHOTO UPLOAD ========== */
.photo-upload {
    width: 100px; height: 100px; border: 2px dashed #ddd; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; position: relative; overflow: hidden; background: #fafafa;
}
.photo-upload:hover { border-color: #bbb }
.photo-upload .photo-preview { width: 100%; height: 100%; object-fit: cover }
.photo-upload .photo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #bbb; font-size: 11px }
.photo-upload .photo-placeholder i { font-size: 28px }

/* ========== ERROR / ALERT BOXES ========== */
.error-box { background: #fef2f2; border: 1.5px solid #fecaca; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 13px; color: #b91c1c; display: flex; gap: 8px; align-items: flex-start }
.error-box i { font-size: 16px; flex-shrink: 0; margin-top: 1px }

/* ========== REVIEW SECTION ========== */
.review-item { display: flex; gap: 14px; padding: 14px; background: #f9f9f9; border-radius: 10px; margin-bottom: 8px }
.review-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0 }
.review-item-info { font-size: 13px; color: #555; line-height: 1.7 }
.review-item-info strong { color: #222; font-weight: 600 }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 }
.review-field { padding: 10px 0; border-bottom: 1px solid #f0f0f0 }
.review-label { font-size: 12px; font-weight: 600; color: #888; margin-bottom: 2px }
.review-value { font-size: 14px; color: #333 }

/* ========== SUCCESS PAGE ========== */
.success-title { font-size: 24px; font-weight: 700; text-align: center; color: #222; margin-bottom: 4px }
.success-badge { display: inline-block; padding: 6px 16px; background: #e8f5e9; color: #2e7d32; border-radius: 100px; font-size: 13px; font-weight: 600 }
.code-highlight { display: inline-block; background: #ecfdf5; color: #065f46; padding: 10px 24px; border-radius: 8px; font-size: 18px; font-weight: 700; letter-spacing: 1px; border: 1.5px solid #a7f3d0 }

/* ========== NPS ========== */
.nps-box { text-align: center; padding: 24px; background: #fff; border-radius: 12px; border: 1.5px solid #eee }
.nps-question { font-size: 14px; color: #333; line-height: 1.6; margin-bottom: 16px }
.nps-scale { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap }
.nps-btn {
    width: 36px; height: 36px; border-radius: 6px; background: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
    display: flex; align-items: center; justify-content: center;
}
.nps-btn.detractor { border: 1.5px solid #ef9a9a; color: #c62828 }
.nps-btn.passive { border: 1.5px solid #90caf9; color: #1565c0 }
.nps-btn.promoter { border: 1.5px solid #a5d6a7; color: #2e7d32 }
.nps-btn:hover { transform: scale(1.08) }
.nps-btn.selected { background: #1a7340 !important; color: #fff !important; border-color: #1a7340 !important; transform: scale(1.12) }

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 28px; margin: 16px 0 }
.timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: #e0e0e0 }
.tl-item { position: relative; padding-bottom: 18px }
.tl-item:last-child { padding-bottom: 0 }
.tl-dot { position: absolute; left: -28px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #e0e0e0; border: 3px solid #fff; box-shadow: 0 0 0 1px #ddd }
.tl-dot.active { background: #1a7340; box-shadow: 0 0 0 1px #1a7340 }
.tl-date { font-size: 11px; color: #999; margin-bottom: 2px }
.tl-title { font-size: 13px; font-weight: 600; color: #333 }
.tl-desc { font-size: 12px; color: #777 }

/* ========== LOADING OVERLAY ========== */
.loading { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; z-index: 1000; flex-direction: column; gap: 12px }
.loading.active { display: flex }
.loading-spinner { width: 40px; height: 40px; border: 4px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite }
.loading-text { color: #fff; font-size: 14px; font-family: 'Inter', sans-serif }
@keyframes spin { to { transform: rotate(360deg) } }

/* ========== ORDER RESULTS ========== */
.order-link { display: block; border: 1.5px solid #eee; border-radius: 10px; padding: 14px; margin-bottom: 8px; transition: border-color .2s }
.order-link:hover { border-color: #1a7340 }

/* ========== RETENTION ========== */
.retention-offer { background: linear-gradient(135deg, #1a7340, #22915a); color: #fff; border-radius: 14px; padding: 28px; text-align: center; margin-bottom: 20px }
.retention-offer h2 { font-size: 20px; margin-bottom: 8px }
.coupon-value { font-size: clamp(28px, 8vw, 40px); font-weight: 900; margin: 12px 0 4px }
.coupon-code { display: inline-block; background: rgba(255,255,255,.2); padding: 6px 20px; border-radius: 8px; font-weight: 700; font-size: 16px; margin-top: 12px; letter-spacing: 2px }

/* ========== EXCHANGE PRODUCT GRID ========== */
.exchange-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 }
.exchange-card { border: 1.5px solid #eee; border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s }
.exchange-card:hover { border-color: #1a7340; box-shadow: 0 2px 12px rgba(0,0,0,.08) }
.exchange-card.selected { border-color: #1a7340; box-shadow: 0 0 0 2px rgba(26,115,64,.2) }
.exchange-card img { width: 100%; height: 160px; object-fit: cover }
.exchange-card-body { padding: 10px }
.exchange-card-body h4 { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 4px; line-height: 1.4 }
.exchange-card-body .price { font-size: 14px; font-weight: 700; color: #1a7340 }

/* ========== PORTAL FOOTER ========== */
.portal-footer { text-align: center; padding: 28px 16px; width: 100% }
.portal-footer p { font-size: 13px; color: rgba(255,255,255,.5) }
.portal-footer p strong { color: rgba(255,255,255,.7) }
.portal-footer a { color: rgba(255,255,255,.45); text-decoration: underline; font-size: 12px }
.portal-footer a:hover { color: rgba(255,255,255,.75) }

/* ========== STEPS (LANDING) ========== */
.steps-container { text-align: left; margin: 24px 0; display: flex; flex-direction: column; gap: 0 }
.step-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f0f0f0 }
.step-item:last-child { border-bottom: none }
.step-number { width: 32px; height: 32px; border-radius: 50%; background: #0e6577; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0 }
.step-content strong { font-size: 14px; color: #222; display: block; margin-bottom: 2px }
.step-content p { font-size: 13px; color: #888; line-height: 1.5; margin: 0 }

/* ========== LANDING SECTIONS ========== */
.landing-section { text-align: left; margin-top: 28px }
.landing-section-title { font-size: 16px; font-weight: 700; color: #0e6577; margin-bottom: 6px; display: flex; align-items: center; gap: 8px }
.landing-section-title i { font-size: 20px }
.landing-section-desc { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; background: #f0fdf4; border-radius: 8px; padding: 10px 14px }

/* ========== INFO BLOCKS (LANDING POLICY) ========== */
.info-block { background: #f8fafb; border: 1px solid #eef1f4; border-radius: 12px; margin-bottom: 12px; overflow: hidden }
.info-block-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #eef1f4; background: #f1f5f8 }
.info-block-head i { font-size: 18px; color: #0e6577; flex-shrink: 0 }
.info-block-head strong { font-size: 14px; font-weight: 700; color: #333 }
.info-list-clean { list-style: none; padding: 14px 18px; margin: 0; display: flex; flex-direction: column; gap: 10px }
.info-list-clean li { font-size: 13px; color: #555; line-height: 1.65; padding-left: 16px; position: relative }
.info-list-clean li::before { content: '\2022'; position: absolute; left: 0; color: #0e6577; font-weight: 700 }
.info-list-clean li strong { color: #222; font-weight: 600 }

/* ========== CONDITIONS TWO COLUMNS ========== */
.info-two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 }
.info-col-accept, .info-col-reject { padding: 14px 18px }
.info-col-accept { border-right: 1px solid #eef1f4 }
.info-col-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px }
.info-col-accept .info-col-label { color: #15803d }
.info-col-reject .info-col-label { color: #b91c1c }
.info-col-accept ul, .info-col-reject ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px }
.info-col-accept li, .info-col-reject li { font-size: 12.5px; color: #555; line-height: 1.5; padding-left: 14px; position: relative }
.info-col-accept li::before { content: '\2713'; position: absolute; left: 0; color: #16a34a; font-weight: 700; font-size: 11px }
.info-col-reject li::before { content: '\2717'; position: absolute; left: 0; color: #dc2626; font-weight: 700; font-size: 11px }

/* ========== LANDING CONTACT ========== */
.landing-contact { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; text-align: center }
.landing-contact p { font-size: 14px; color: #333; margin-bottom: 10px }
.landing-contact-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap }
.landing-contact-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #0e6577; font-weight: 600 }
.landing-contact-links a:hover { text-decoration: underline }
.landing-contact-links i { font-size: 16px }

/* ========== INLINE RETENTION ========== */
.retention-inline { margin-bottom: 18px }
.retention-inline-box { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1.5px solid #a7f3d0; border-radius: 12px; padding: 18px; display: flex; gap: 14px; align-items: flex-start }
.retention-inline-icon { font-size: 28px; color: #1a7340; flex-shrink: 0; margin-top: 2px }
.retention-inline-content { flex: 1 }
.retention-inline-content strong { font-size: 14px; color: #1a7340; display: block; margin-bottom: 6px }
.retention-inline-content p { font-size: 13px; color: #555; line-height: 1.6; margin: 0 0 10px }
.retention-inline-content ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px }
.retention-inline-content ul li { font-size: 12px; color: #555; display: flex; align-items: center; gap: 6px }
.retention-inline-content ul li i { color: #16a34a; font-size: 14px }
.btn-switch-exchange { background: #1a7340; color: #fff; border: none; border-radius: 8px; padding: 10px 18px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; transition: background .2s }
.btn-switch-exchange:hover { background: #155e34 }

/* ========== RETENTION MODAL ========== */
.retention-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 1100; padding: 20px }
.retention-modal-overlay.active { display: flex }
.retention-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 440px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.25); animation: modalIn .25s ease-out }
@keyframes modalIn { from { opacity: 0; transform: scale(.92) translateY(16px) } to { opacity: 1; transform: scale(1) translateY(0) } }
.retention-modal-header { background: linear-gradient(135deg, #1a7340, #22915a); color: #fff; padding: 28px 28px 24px; text-align: center }
.retention-modal-header .modal-icon { font-size: 42px; margin-bottom: 8px; display: block }
.retention-modal-header h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px }
.retention-modal-header p { font-size: 14px; opacity: .9; line-height: 1.5 }
.retention-modal-coupon { font-size: 32px; font-weight: 900; margin: 8px 0 4px; display: block }
.retention-modal-coupon-note { font-size: 12px; opacity: .75 }
.retention-modal-body { padding: 24px 28px }
.retention-modal-benefits { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px }
.retention-modal-benefits li { font-size: 13px; color: #333; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5 }
.retention-modal-benefits li i { color: #16a34a; font-size: 16px; margin-top: 1px; flex-shrink: 0 }
.retention-modal-benefits li small { display: block; font-size: 11px; color: #888; margin-top: 1px }
.retention-modal-actions { display: flex; flex-direction: column; gap: 8px }
.btn-modal-exchange { background: #1a7340; color: #fff; border: none; border-radius: 10px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; transition: background .2s; width: 100% }
.btn-modal-exchange:hover { background: #155e34 }
.btn-modal-return { background: none; border: 1.5px solid #ddd; border-radius: 10px; padding: 12px; font-size: 13px; font-weight: 600; color: #888; cursor: pointer; font-family: inherit; transition: all .2s; width: 100% }
.btn-modal-return:hover { border-color: #bbb; color: #555 }

/* ========== SHARED REASON ========== */
.shared-reason-card { background: #f8fbfc; border: 1.5px solid #d1dde3; border-radius: 12px; padding: 24px; margin-top: 20px }
#sharedQuestion p { font-size: 15px; font-weight: 600; color: #333; margin: 0 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px }
#sharedQuestion p i { font-size: 22px; color: #0e6577 }
.shared-reason-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }
.btn-same-reason { background: #1a7340; color: #fff; border: none; border-radius: 8px; padding: 12px 22px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; transition: background .2s }
.btn-same-reason:hover { background: #155e34 }
.btn-diff-reason { background: #fff; color: #555; border: 1.5px solid #ccc; border-radius: 8px; padding: 12px 22px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; transition: all .2s }
.btn-diff-reason:hover { border-color: #999; color: #333 }
.shared-fields-label { font-size: 13px; color: #0e6577; font-weight: 700; margin: 20px 0 14px; display: flex; align-items: center; gap: 6px }

/* ========== LANDING REDESIGN 2026-04 ========== */
/* Selos de benefícios */
.badges-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px }
.badge-pill { display: inline-flex; align-items: center; gap: 5px; background: #f0fdf4; border: 1px solid #a7f3d0; border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: #065f46 }

/* Label de seção (passos e políticas) */
.section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: center; gap: 7px; margin-bottom: 14px }
.section-label.teal { color: #0e6577 }
.section-label.teal i { font-size: 16px }
.section-label.gray { color: #6b7280; margin-bottom: 12px }
.section-label.gray i { font-size: 16px; color: #0e6577 }

/* Pills de passos */
.steps-section { margin-bottom: 24px }
.steps-pills { display: flex; align-items: stretch }
.step-pill { flex: 1; background: #f0fdf4; border: 1.5px solid #a7f3d0; border-radius: 10px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; align-items: center }
.step-pill .num { width: 26px; height: 26px; background: #0e6577; color: #fff; border-radius: 50%; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 8px }
.step-pill .lbl { font-size: 12px; font-weight: 700; color: #065f46; line-height: 1.35 }
.step-pill .desc { font-size: 11px; color: #6b7280; margin-top: 4px; line-height: 1.4 }
.step-arrow { display: flex; align-items: center; padding: 0 6px; color: #6ee7b7; font-size: 18px; flex-shrink: 0 }

/* CTA principal e link secundário */
.btn-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 24px; background: #1a7340; color: #fff; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(26,115,64,.25); margin-bottom: 10px; transition: background .2s }
.btn-cta:hover { background: #155e34 }
.btn-cta i { font-size: 20px }
.cta-secondary { text-align: center; margin-bottom: 6px }
.cta-secondary a { font-size: 13px; color: #0e6577; text-decoration: underline; font-weight: 500 }

/* Nota de consentimento */
.consent-note { text-align: center; font-size: 11.5px; color: #9ca3af; line-height: 1.55; margin-bottom: 28px; padding: 0 8px }
.consent-note strong { color: #6b7280; font-weight: 600 }

/* Divisor antes das políticas */
.section-divider { border: none; border-top: 1px solid #f0f0f0; margin: 4px 0 24px }

/* Acordeão de políticas */
.policy-acc { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-bottom: 6px }
.policy-acc-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; cursor: pointer; gap: 10px; user-select: none; background: #f0fdf4 }
.policy-acc-head .left { display: flex; align-items: center; gap: 10px }
.policy-acc-head .left i { font-size: 18px; color: #1a7340; flex-shrink: 0 }
.policy-acc-head .left strong { font-size: 14px; font-weight: 700; color: #065f46 }
.policy-acc-head .arr { color: #1a7340; font-size: 12px; transition: transform .2s; flex-shrink: 0 }
.policy-acc-head.closed { background: #f8fafb }
.policy-acc-head.closed .left i { color: #0e6577 }
.policy-acc-head.closed .left strong { color: #333 }
.policy-acc-head.closed .arr { transform: rotate(-90deg); color: #9ca3af }
.policy-acc-body { padding: 16px 18px; border-top: 1px solid #e5e7eb; background: #fff }
.policy-acc-body.hidden { display: none }

/* Listas dentro das políticas */
.policy-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px }
.policy-list li { font-size: 13px; color: #555; line-height: 1.65; padding-left: 16px; position: relative }
.policy-list li::before { content: '\2022'; position: absolute; left: 0; color: #0e6577; font-weight: 700 }
.policy-list li strong { color: #222; font-weight: 600 }
.policy-list li small { display: block; font-size: 11.5px; color: #9ca3af; margin-top: 2px }

/* Duas colunas (aceito / não aceito) */
.two-cols { display: grid; grid-template-columns: 1fr 1fr }
.col-accept { border-right: 1px solid #e5e7eb; padding: 14px 16px }
.col-reject { padding: 14px 16px }
.col-label { font-size: 12px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 5px }
.col-accept .col-label { color: #15803d }
.col-reject .col-label { color: #b91c1c }
.col-accept ul, .col-reject ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px }
.col-accept li, .col-reject li { font-size: 12px; color: #555; padding-left: 14px; position: relative; line-height: 1.5 }
.col-accept li::before { content: '\2713'; position: absolute; left: 0; color: #16a34a; font-weight: 700; font-size: 11px }
.col-reject li::before { content: '\2717'; position: absolute; left: 0; color: #dc2626; font-weight: 700; font-size: 11px }

/* Logos no topo (3 marcas) */
.logo-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 24px }
.logo-row img { height: 52px; object-fit: contain; border-radius: 6px }

/* Bloco de contato (variante do landing-contact) */
.contact-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f0f0f0; text-align: center }
.contact-section p { font-size: 14px; color: #333; font-weight: 600; margin-bottom: 10px }
.contact-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap }
.contact-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #0e6577; font-weight: 600; text-decoration: none }
.contact-links a:hover { text-decoration: underline }
.contact-links i { font-size: 16px }

/* ========== LANDING REDESIGN 2026-04-30 ========== */

/* Hero top — duas pills nas extremidades */
.hero-top { display: flex; align-items: stretch; justify-content: space-between; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 100px; text-decoration: none; transition: background .15s, border-color .15s; cursor: pointer; font-family: inherit; border: 1px solid transparent; }
.hero-pill i { font-size: 14px; }
.hero-pill-track { background: #f9fafb; border-color: #d1d5db; color: var(--c-accent); }
.hero-pill-track:hover { background: #fff; border-color: var(--c-accent); }
.hero-pill-help { background: var(--c-help-bg); border-color: var(--c-help-border); color: var(--c-help-text); position: relative; }
.hero-pill-help:hover { background: #fde68a; }

/* Dropdown "Precisa de ajuda?" usando <details>/<summary> */
.help-details { position: relative; }
.help-details summary { list-style: none; cursor: pointer; }
.help-details summary::-webkit-details-marker { display: none; }
.help-details[open] summary .help-arrow { transform: rotate(180deg); }
.help-arrow { transition: transform .15s; font-size: 12px; }
.help-dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px; min-width: 240px; z-index: 50; }
.help-dropdown a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #1f2937; transition: background .12s; }
.help-dropdown a:hover { background: #f9fafb; }
.help-dropdown a i { font-size: 18px; color: var(--c-action); margin-top: 1px; flex-shrink: 0; }
.help-dropdown a strong { display: block; font-size: 13px; font-weight: 700; color: #111827; margin-bottom: 1px; }
.help-dropdown a span { display: block; font-size: 12px; color: #6b7280; }

/* Faixa de comunicação por e-mail */
.comm-bar { background: var(--c-info-bg); border: 1px solid var(--c-info-border); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.comm-bar-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--c-info-icon-bg); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.comm-bar-text { font-size: 12.5px; color: var(--c-info-text); line-height: 1.55; }
.comm-bar-text strong { color: var(--c-info-icon-bg); font-weight: 700; }
.comm-bar-text a { color: var(--c-info-icon-bg); text-decoration: underline; font-weight: 600; }

/* Bloco de prazos (substitui acordeão de Prazos) */
.prazos-preview { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border: 1.5px solid var(--c-accent-border); border-radius: 12px; padding: 18px 20px; margin-bottom: 24px; }
.prazos-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.prazos-head i { color: var(--c-action); font-size: 18px; }
.prazos-head strong { font-size: 14px; font-weight: 800; color: #065f46; }
.prazos-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prazos-list li { font-size: 13px; color: #374151; line-height: 1.45; padding-left: 14px; position: relative; }
.prazos-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--c-action); border-radius: 50%; }
.prazos-list li strong { color: #065f46; font-weight: 600; }
.prazos-list li .num { font-weight: 800; color: #065f46; }
.prazos-list li.full { grid-column: 1 / -1; color: #6b7280; font-size: 12.5px; border-top: 1px dashed var(--c-accent-border); padding-top: 10px; margin-top: 4px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .portal { padding: 16px 10px }
    .portal-card { padding: 28px 20px; border-radius: 12px }
    .fg-row { flex-direction: column; gap: 0 }
    .btn-actions { flex-direction: column }
    .review-grid { grid-template-columns: 1fr }
    .nps-scale { gap: 3px }
    .nps-btn { width: 30px; height: 30px; font-size: 11px }
    .exchange-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) }
    .info-two-cols { grid-template-columns: 1fr }
    .info-col-accept { border-right: none; border-bottom: 1px solid #eef1f4 }
    .retention-inline-box { flex-direction: column }
    .retention-modal { margin: 16px }
    /* Landing redesign mobile */
    .steps-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
    .step-arrow { display: none }
    .two-cols { grid-template-columns: 1fr }
    .col-accept { border-right: none; border-bottom: 1px solid #e5e7eb }
    .logo-row img { height: 42px }
    .logo-row { gap: 14px }
    /* Landing redesign 2026-04-30 mobile */
    .hero-top { gap: 8px; }
    .hero-pill { font-size: 11px; padding: 7px 12px; }
    .help-dropdown { left: -8px; right: auto; min-width: 220px; }
    .prazos-list { grid-template-columns: 1fr; }
}

/* ========== MOBILE GLOBAL OVERRIDES (Fase A) ========== */
/* Note: an existing @media (max-width: 600px) block earlier in this file already
   collapses some grids and sets .portal padding. The blocks below LAYER ON TOP:
   - A1 overrides .portal padding + adds back-button positioning
   - A3 (at 480px) tightens grids further and adds gap, building on top of the 600px rules
   Source order matters — these blocks win at their breakpoints because they appear after the existing block. */
@media (max-width: 600px) {
    .btn-back-outer {
        position: static;
        margin: 0 0 12px;
        align-self: flex-start;
        box-shadow: none;
    }
    .portal {
        padding: 16px;
        align-items: stretch;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .fg input,
    .fg select,
    .fg textarea {
        font-size: 16px;
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .fg-row,
    .review-grid,
    .track-grid,
    .prazos-list,
    .info-two-cols {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fg-row {
        flex-direction: column;
    }
    .info-col-accept {
        border-right: none;
        border-bottom: 1px solid #eef1f4;
    }
    .fg-row .fg[style*="max-width"] {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .portal-card {
        padding: 24px 20px;
        border-radius: 12px;
    }
    .portal-card.wide {
        padding: 24px 20px;
    }
}

/* ========== MOBILE OVERRIDES (Fase B) ========== */

/* B2 — NPS em grid 6 colunas */
@media (max-width: 420px) {
    .nps-scale {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    .nps-btn {
        width: 100%;
        height: 40px;
        font-size: 14px;
    }
    .nps-btn[data-score="10"] {
        grid-column: 5 / span 2;
    }
}

