/* =========================================================
   PAUSE · Checkout e Login
   ========================================================= */
.co-body { background: var(--cream); min-height: 100vh; }
.co-header { padding: 20px 0; border-bottom: 1px solid var(--line); background: var(--cream); }
.co-header-inner { display: flex; justify-content: space-between; align-items: center; }
.co-header .logo-img { height: 42px; }
@media (max-width: 560px) { .co-header .logo-img { height: 34px; } }
.co-secure { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--moss); }
.co-secure svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.co-main { display: grid; grid-template-columns: 1.25fr .85fr; gap: 60px; padding-top: 56px; padding-bottom: 80px; align-items: start; }
.co-form h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 300; }
.co-form h1 em { font-style: italic; color: var(--clay); }
.co-sub { color: var(--ink-2); margin: 14px 0 36px; }

.co-step { border: 0; margin: 0 0 22px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 24px; margin-bottom: 20px; padding: 0; }
.co-step legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--cream); font-family: var(--font-body); font-size: 14px; font-weight: 800; }
.co-step legend + * { clear: both; }
.co-hint { font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: span 2; }
.field input { background: var(--cream); }
.field input:focus { background: #fff; }

.co-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

.co-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 8px 0 18px; cursor: pointer; }
.co-terms input { width: 18px; height: 18px; accent-color: var(--clay); margin-top: 2px; flex: none; }
.co-terms a { text-decoration: underline; }
.co-terms.invalid { color: var(--live); }
.co-error { padding: 14px 16px; border-radius: 12px; background: rgba(229, 72, 77, .1); color: #b3262b; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.co-guarantee-mini { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: center; }
.co-guarantee-mini svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.co-demo { margin-top: 18px; font-size: 12px; color: var(--ink-3); text-align: center; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; }
.co-demo:empty { display: none; }

.co-summary { position: sticky; top: 30px; display: grid; gap: 18px; }
.co-card { background: var(--forest); color: var(--cream); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.co-card-media { position: relative; display: flex; align-items: flex-end; min-height: 200px; padding: 24px; }
.co-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.co-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--forest) 5%, rgba(31, 58, 43, .2) 80%); }
.co-card-media > div { position: relative; z-index: 1; }
.co-tag { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.co-card-media h2 { font-size: 32px; margin: 4px 0; }
.co-card-media p { font-size: 14px; opacity: .8; }
.co-includes { padding: 6px 24px 18px; display: grid; gap: 10px; }
.co-includes li { display: flex; gap: 10px; font-size: 14px; }
.co-includes li::before { content: '✓'; color: var(--gold); font-weight: 800; }
.co-total { margin: 0 24px; padding: 18px 0; border-top: 1px solid var(--line-light); display: grid; gap: 8px; font-size: 14px; }
.co-total div { display: flex; justify-content: space-between; opacity: .85; }
.co-total-main { opacity: 1 !important; padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line-light); align-items: baseline; }
.co-total-main strong { font-family: var(--font-display); font-size: 32px; font-weight: 400; }
.co-guarantee { display: flex; gap: 16px; align-items: center; padding: 20px 24px; background: rgba(0, 0, 0, .2); font-size: 13px; }
.co-seal { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 1.5px dashed var(--gold); color: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.co-seal small { font-family: var(--font-body); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.co-quote { margin: 0; padding: 22px 24px; border-radius: 20px; background: var(--cream-2); }
.co-quote .stars { color: var(--gold); letter-spacing: 3px; }
.co-quote blockquote { margin: 8px 0; font-family: var(--font-display); font-size: 19px; line-height: 1.35; }
.co-quote figcaption { font-size: 13px; color: var(--ink-3); }

@media (max-width: 900px) {
  .co-main { grid-template-columns: 1fr; padding-top: 32px; gap: 30px; }
  .co-summary { position: static; order: -1; }
  .co-card-media { min-height: 150px; }
  .co-includes, .co-quote { display: none; }
}
@media (max-width: 560px) {
  .co-step { padding: 22px 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .co-secure { font-size: 0; gap: 0; }
  .co-secure svg { width: 20px; height: 20px; }
}

/* overlay */
.co-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(16, 21, 18, .92); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.co-overlay[hidden] { display: none; }
.co-overlay p { font-family: var(--font-display); font-size: 26px; }
.co-overlay small { opacity: .6; letter-spacing: .1em; }
.co-breathe { width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(245, 240, 232, .25); display: grid; place-items: center; margin-bottom: 14px; }
.co-breathe span { width: 60px; height: 60px; border-radius: 50%; background: var(--clay); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.7); opacity: .7; } 50% { transform: scale(1.7); opacity: 1; } }

/* tela de sucesso */
.co-result { position: fixed; inset: 0; z-index: 90; background: var(--cream); overflow-y: auto; display: flex; align-items: center; justify-content: center; padding: 30px 16px; }
.co-result[hidden] { display: none; }
.co-result-card { max-width: 520px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.co-result-card h2 { font-size: clamp(30px, 5vw, 42px); font-weight: 300; }
.co-result-card h2 em { font-style: italic; color: var(--clay); }
.co-result-card p { color: var(--ink-2); }
.success-mark { width: 84px; height: 84px; color: var(--moss); }
.success-mark path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- LOGIN ---------- */
.login-body { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.login-art { position: relative; overflow: hidden; background: var(--night); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.login-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.login-art > * { position: relative; }
.login-art blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.15; max-width: 480px; }
.login-art blockquote em { color: var(--gold); }
.login-art cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; opacity: .75; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.login-box { width: 100%; max-width: 400px; }
.login-box .logo { margin-bottom: 44px; display: none; }
.login-box h1 { font-size: 42px; font-weight: 300; }
.login-box h1 em { font-style: italic; color: var(--clay); }
.login-box > p { color: var(--ink-2); margin: 10px 0 30px; }
.login-box form { display: grid; gap: 16px; }
.login-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.login-row label { display: flex; gap: 8px; align-items: center; color: var(--ink-2); cursor: pointer; }
.login-row input { accent-color: var(--clay); }
.login-row a { color: var(--clay); font-weight: 700; }
.login-alt { text-align: center; margin-top: 26px; font-size: 14px; color: var(--ink-2); }
.login-alt a { color: var(--clay); font-weight: 700; }
.login-demo { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--cream-2); font-size: 13px; color: var(--ink-2); }
.login-demo button { color: var(--clay); font-weight: 700; text-decoration: underline; padding: 0; }
.login-msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.login-msg.err { background: rgba(229, 72, 77, .1); color: #b3262b; }
.login-msg.ok { background: rgba(110, 139, 104, .15); color: var(--forest); }
@media (max-width: 860px) {
  .login-body { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-box .logo { display: inline-flex; }
}

/* ---------- Telas grandes ---------- */
@media (min-width: 1440px) {
  .co-header .logo-img { height: 62px; }
  .co-main { gap: 80px; padding-top: 70px; }
  .co-form h1 { font-size: 58px; }
  .co-step legend { font-size: 27px; }
  .field label { font-size: 14px; }
  .field input, .field select { padding: 16px 18px; font-size: 17px; }
  .co-card-media h2 { font-size: 36px; }
  .co-includes li, .co-total { font-size: 15px; }
  .login-box { max-width: 460px; }
  .login-box h1 { font-size: 52px; }
  .login-art { padding: 56px; }
  .login-art .logo-img { height: 64px; }
}
.login-msg a, .m-footer a { text-decoration: underline; font-weight: 700; }

/* ---------- Cupom ---------- */
.co-coupon { margin: 0 24px; padding: 16px 0 14px; border-top: 1px solid var(--line-light); }
.co-coupon label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; opacity: .85; }
.co-coupon-row { display: flex; gap: 8px; }
.co-coupon-row input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.co-coupon-row input::placeholder { text-transform: none; letter-spacing: 0; opacity: .6; }
.co-coupon-row .btn { padding: 10px 16px; font-size: 13px; }
.co-coupon-msg { margin: 8px 0 0; font-size: 13px; }
.co-coupon-msg.ok { color: #9fd49a; }
.co-coupon-msg.err { color: #ff9b8f; }
.co-total .co-discount { color: #9fd49a; opacity: 1; }
.co-total .co-discount[hidden] { display: none; }
