/* ==========================================================================
   Diária grátis de estação de trabalho — cadastro, calendário e confirmação.
   Usa os tokens do redesign.css (--gold, --dark, --fh, --r-md...).
   ========================================================================== */

/* ---------- etapas ---------- */
.dg-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 40px; max-width: 640px; list-style: none; padding: 0; }
.dg-step { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--g400); white-space: nowrap; }
.dg-step-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #fff; border: 1.5px solid var(--g200); color: var(--g400); transition: var(--tr); flex-shrink: 0; }
.dg-step.on { color: var(--dark); }
.dg-step.on .dg-step-n { background: var(--gold); border-color: var(--gold); color: var(--black); box-shadow: var(--sh-gd); }
.dg-step.ok { color: var(--gold-dk); }
.dg-step.ok .dg-step-n { background: var(--dark); border-color: var(--dark); color: var(--gold); }
.dg-step-line { flex: 1; height: 2px; min-width: 24px; margin: 0 14px; background: var(--g200); border-radius: 2px; }
.dg-step-line.ok { background: var(--gold); }
@media (max-width: 560px) {
    .dg-step-t { display: none; }
    .dg-step.on .dg-step-t { display: inline; }
    .dg-step-line { margin: 0 8px; }
}

/* ---------- grade principal ---------- */
.dg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .dg-grid { grid-template-columns: 1fr; } .dg-aside.topo { order: -1; } .dg-aside .so-desktop { display: none; } }

.dg-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-sm); border: 1px solid rgba(0,0,0,.04); padding: 40px; }
@media (max-width: 640px) { .dg-card { padding: 24px 18px; border-radius: var(--r-md); } }

.dg-sec + .dg-sec { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--g100); }
.dg-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.dg-sec-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(201,168,76,.12); color: var(--gold-dk); font-size: 16px; flex-shrink: 0; }
.dg-sec-h h2 { font-family: var(--fh); font-size: 21px; font-weight: 700; color: var(--dark); margin: 0; }
.dg-sec-h p { font-size: 13px; color: var(--g600); margin: 2px 0 0; }

/* ---------- campos ---------- */
.dg-row { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.dg-row + .dg-row { margin-top: 16px; }
.dg-col-12 { grid-column: span 12; } .dg-col-8 { grid-column: span 8; } .dg-col-6 { grid-column: span 6; }
.dg-col-5 { grid-column: span 5; } .dg-col-4 { grid-column: span 4; } .dg-col-3 { grid-column: span 3; } .dg-col-2 { grid-column: span 2; }
@media (max-width: 640px) {
    .dg-col-8, .dg-col-6, .dg-col-5 { grid-column: span 12; }
    .dg-col-4, .dg-col-3 { grid-column: span 6; }
    .dg-col-2 { grid-column: span 6; }
}

.dg-f { position: relative; }
.dg-f label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.dg-f label .opt { font-weight: 400; color: var(--g400); }
.dg-in { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--g200); border-radius: 12px; font-family: var(--fb); font-size: 15px; color: var(--dark); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.dg-in::placeholder { color: #B8BCC4; }
.dg-in:hover { border-color: #D4D4D4; }
.dg-in:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,.15); }
.dg-in[readonly] { background: var(--g100); }
.dg-in.input-validation-error, .dg-f.err .dg-in { border-color: #DC4C4C; }
.dg-in.input-validation-error:focus { box-shadow: 0 0 0 4px rgba(220,76,76,.12); }
.dg-in.auto { background: #FBF8F0; border-color: rgba(201,168,76,.45); }
.dg-err, .field-validation-error { display: block; font-size: 12px; color: #C43B3B; margin-top: 5px; }
.field-validation-valid { display: none; }
.dg-hint { font-size: 12px; color: var(--g400); margin-top: 5px; }
.dg-f-ico { position: absolute; right: 14px; top: 38px; color: var(--gold); font-size: 14px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.dg-f.loading .dg-f-ico { opacity: 1; }
.dg-f.loading .dg-f-ico i { animation: dg-spin 1s linear infinite; }

.dg-summary { background: #FDF2F2; border: 1px solid #F5CACA; color: #A12E2E; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 24px; display: flex; gap: 12px; }
.dg-summary ul { margin: 0; padding-left: 18px; }
.dg-summary.validation-summary-valid { display: none; }
.dg-alert { border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; }
.dg-alert[hidden] { display: none !important; }
#dg-pendencias { scroll-margin-block: 110px; }
#dg-pendencias:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
.dg-alert i { margin-top: 3px; }
.dg-alert.warn { background: #FBF6E9; border: 1px solid rgba(201,168,76,.4); color: #7A6222; }
.dg-alert.err { background: #FDF2F2; border: 1px solid #F5CACA; color: #A12E2E; }
.dg-alert.ok { background: #EEF8F1; border: 1px solid #BFE3CB; color: #1F6B3A; }

/* ---------- upload ---------- */
.dg-drops { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .dg-drops { grid-template-columns: 1fr; } }
.dg-drop { position: relative; border: 2px dashed #DDD7C8; border-radius: var(--r-md); background: #FCFBF8; padding: 26px 20px 22px; text-align: center; cursor: pointer; transition: var(--tr); min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dg-drop:hover, .dg-drop.over { border-color: var(--gold); background: #FBF6E9; }
.dg-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dg-drop-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--gold); font-size: 22px; box-shadow: var(--sh-sm); margin-bottom: 14px; transition: var(--tr); }
.dg-drop:hover .dg-drop-ico { transform: translateY(-3px); }
.dg-drop-t { font-weight: 700; font-size: 15px; color: var(--dark); margin: 0; }
.dg-drop-d { font-size: 12.5px; color: var(--g600); margin: 4px 0 12px; line-height: 1.5; }
.dg-drop-btn { position: relative; z-index: 2; order: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #725717; background: #F4ECD6; border: 1px solid #D8BE76; padding: 10px 18px; min-height: 42px; border-radius: 100px; cursor: pointer; transition: var(--tr); }
.dg-drop-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.dg-drop-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dg-drop-file { display: none; align-items: center; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--g200); border-radius: 12px; padding: 10px 12px; text-align: left; margin-top: 4px; }
.dg-drop-file img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.dg-drop-file .pdf { width: 44px; height: 44px; border-radius: 8px; background: #FDF2F2; color: #C43B3B; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.dg-drop-file .nm { font-size: 13px; font-weight: 600; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-drop-file .sz { font-size: 11.5px; color: var(--g400); }
.dg-drop.has { border-style: solid; border-color: var(--gold); background: #FBF8F0; }
.dg-drop.has .dg-drop-file { display: flex; }
.dg-drop.has .dg-drop-ico { background: var(--gold); color: var(--black); }
.dg-drop.bad { border-color: #E8A3A3; background: #FFF8F8; }
.dg-drop.good { border-style: solid; border-color: #9FD3B1; background: #F4FBF6; }
.dg-drop.good .dg-drop-ico { background: #2E9B57; color: #fff; }
.dg-drop-st { font-size: 12.5px; line-height: 1.45; border-radius: 10px; padding: 8px 12px; margin-top: 12px; text-align: left; width: 100%; position: relative; z-index: 1; }
.dg-drop-st.bad { background: #FDECEC; color: #A12E2E; }
.dg-drop-st.good { background: #E4F4EA; color: #1F6B3A; }
.dg-drop-st.warn { background: #FBF3DE; color: #7A6222; }
.dg-drop-st small { display: block; margin-top: 4px; opacity: .85; }
.dg-drop-st.dg-analisando { display: flex; align-items: center; gap: 13px; padding: 16px 14px 20px; overflow: hidden; background: linear-gradient(120deg, #FBF3DE, #FFF9EB); }
.dg-analise-texto { flex: 1; min-width: 0; }
.dg-analise-texto strong { display: block; font-size: 13px; color: #725717; }
.dg-analise-texto small { font-size: 12px; line-height: 1.5; margin-top: 3px; }
.dg-analise-spinner { position: relative; display: block; flex: 0 0 32px; width: 32px; height: 32px; }
.dg-analise-spinner::before { content: ''; position: absolute; inset: 0; border: 2px solid rgba(201,168,76,.22); border-top-color: var(--gold); border-right-color: var(--gold); border-radius: 50%; animation: dg-spin 1s linear infinite; }
.dg-analise-spinner::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,.12); animation: dg-analise-pulso 1.6s ease-in-out infinite; }
.dg-analise-trilho { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(201,168,76,.12); overflow: hidden; }
.dg-analise-trilho span { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: dg-analise-fluxo 1.8s ease-in-out infinite; }
@keyframes dg-analise-pulso { 0%, 100% { opacity: .5; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }
@keyframes dg-analise-fluxo { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
@media (prefers-reduced-motion: reduce) {
    .dg-analise-spinner::before, .dg-analise-spinner::after, .dg-analise-trilho span { animation: none; }
    .dg-analise-trilho span { width: 100%; opacity: .6; }
}

.dg-ai { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--off-wh); font-size: 12.5px; color: var(--g600); }
.dg-ai i { color: var(--gold); font-size: 18px; }

/* ---------- checkbox ---------- */
.dg-termo-aceite { margin-top: 22px; }
.dg-termo-leitura { border: 1px solid #E6D9B8; border-radius: 12px; background: #FFFCF5; overflow: hidden; margin-bottom: 8px; }
.dg-termo-leitura summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; cursor: pointer; color: #725717; font-size: 13px; font-weight: 700; list-style: none; }
.dg-termo-leitura summary::-webkit-details-marker { display: none; }
.dg-termo-leitura summary span { display: flex; align-items: center; gap: 10px; }
.dg-termo-leitura summary > i { transition: transform .2s ease; }
.dg-termo-leitura[open] summary > i { transform: rotate(180deg); }
.dg-termo-leitura summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.dg-termo-conteudo { padding: 0 18px 18px; border-top: 1px solid #EDE4D1; background: #fff; }
.dg-termo-texto { font-size: 13px; line-height: 1.7; color: var(--g600); overflow-wrap: anywhere; }
.dg-termo-texto h3 { color: var(--black); font-size: 20px; margin: 22px 0 10px; line-height: 1.35; }
.dg-termo-texto h4 { color: var(--black); font-family: var(--fb); font-size: 13px; font-weight: 700; margin: 20px 0 5px; }
.dg-termo-texto p { margin: 0 0 12px; }
.dg-termo-texto .dg-termo-versao { font-size: 12px; color: #8A6D1F; }
.dg-termo-aceite > .dg-hint { margin-bottom: 14px; }
.dg-termo-aceite > .dg-hint a { color: #8A6D1F; }
.dg-termo-aceite .dg-check { margin-bottom: 5px; }
.dg-termo-aceite + .dg-btn { margin-top: 18px; }
.dg-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--g600); cursor: pointer; line-height: 1.5; }
.dg-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.dg-check .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #D4D4D4; background: #fff; flex-shrink: 0; display: grid; place-items: center; transition: var(--tr); margin-top: 1px; }
.dg-check .box i { font-size: 11px; color: var(--black); opacity: 0; transform: scale(.4); transition: var(--tr); }
.dg-check input:checked + .box { background: var(--gold); border-color: var(--gold); }
.dg-check input:checked + .box i { opacity: 1; transform: none; }
.dg-check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(201,168,76,.25); }
.dg-check a { color: var(--gold-dk); }

/* ---------- botões ---------- */
.dg-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.dg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: var(--black); font-family: var(--fb); font-weight: 700; font-size: 15px; letter-spacing: .02em; border: none; border-radius: 100px; padding: 16px 34px; cursor: pointer; text-decoration: none; transition: var(--tr); box-shadow: var(--sh-gd); }
.dg-btn:hover { background: var(--gold-lt); transform: translateY(-2px); color: var(--black); }
.dg-btn:disabled, .dg-btn[aria-disabled="true"] { background: var(--g200); color: var(--g400); box-shadow: none; transform: none; cursor: not-allowed; }
.dg-btn.dark { background: var(--dark); color: #fff; box-shadow: var(--sh-md); }
.dg-btn.dark:hover { background: var(--black); color: var(--gold); }
.dg-btn.ghost { background: transparent; color: var(--dark); box-shadow: none; border: 1.5px solid var(--g200); }
.dg-btn.ghost:hover { border-color: var(--gold); color: var(--gold-dk); }
.dg-btn.block { width: 100%; }
.dg-secure { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--g400); }
.dg-secure i { color: #2E9B57; }
.dg-link-btn { background: none; border: none; color: var(--g600); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; font-family: var(--fb); }
.dg-link-btn:hover { color: #C43B3B; }

/* ---------- lateral ---------- */
.dg-aside { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .dg-aside { position: static; } }
.dg-offer { background: linear-gradient(150deg, var(--black) 0%, var(--dark-2) 100%); border-radius: var(--r-lg); padding: 32px 28px; color: #fff; position: relative; overflow: hidden; }
.dg-offer::before { content: ''; position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px); background-size: 28px 28px; }
.dg-offer::after { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,.28), transparent 70%); }
.dg-offer > * { position: relative; z-index: 1; }
.dg-offer .label { margin-bottom: 14px; }
.dg-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.dg-price strong { font-family: var(--fh); font-size: 48px; line-height: 1; color: var(--gold); }
.dg-price s { color: rgba(255,255,255,.4); font-size: 15px; }
.dg-offer h3 { font-family: var(--fh); font-weight: 700; font-size: 23px; line-height: 1.25; margin: 0 0 6px; color: #fff; }
.dg-offer p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0; }
.dg-perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.dg-perks li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: rgba(255,255,255,.85); }
.dg-perks i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(201,168,76,.14); color: var(--gold); font-size: 13px; flex-shrink: 0; }
.dg-slots { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; gap: 12px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); }
.dg-slots .dots { display: flex; gap: 5px; }
.dg-slots .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.2); }

.dg-mini { background: #fff; border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh-sm); border: 1px solid rgba(0,0,0,.04); }
.dg-mini h4 { font-family: var(--fh); font-size: 17px; margin: 0 0 14px; color: var(--dark); }
.dg-how { list-style: none; padding: 0; margin: 0; counter-reset: dg; display: grid; gap: 14px; }
.dg-how li { counter-increment: dg; display: flex; gap: 12px; font-size: 13.5px; color: var(--g600); line-height: 1.5; }
.dg-how li::before { content: counter(dg); width: 26px; height: 26px; border-radius: 50%; background: var(--off-wh); border: 1px solid var(--g200); color: var(--gold-dk); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.dg-how strong { color: var(--dark); display: block; font-size: 14px; }

/* ---------- overlay de análise ---------- */
.dg-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(8,8,8,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 24px; }
.dg-overlay.on { display: flex; animation: dg-fade .3s ease; }
.dg-ov-box { text-align: center; max-width: 380px; color: #fff; }
.dg-scan { width: 120px; height: 150px; margin: 0 auto 28px; border-radius: 14px; border: 2px solid rgba(201,168,76,.5); position: relative; overflow: hidden; background: rgba(255,255,255,.03); }
.dg-scan i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; color: rgba(201,168,76,.55); }
.dg-scan::after { content: ''; position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(201,168,76,.55), transparent); animation: dg-scan 1.8s ease-in-out infinite; }
.dg-ov-box h3 { font-size: 24px; color: #fff; margin: 0 0 10px; }
.dg-ov-msg { font-size: 14.5px; color: rgba(255,255,255,.65); min-height: 44px; transition: opacity .3s; }
.dg-ov-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin-top: 22px; overflow: hidden; }
.dg-ov-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt)); border-radius: 4px; transition: width 1s linear; }
@keyframes dg-scan { 0% { top: -40px; } 100% { top: 150px; } }
@keyframes dg-spin { to { transform: rotate(360deg); } }
@keyframes dg-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- calendário ---------- */
.dg-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.dg-cal-head h2 { font-family: var(--fh); font-weight: 700; font-size: 26px; margin: 0; text-transform: capitalize; color: var(--dark); }
.dg-cal-nav { display: flex; gap: 8px; }
.dg-cal-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--g200); background: #fff; color: var(--dark); cursor: pointer; transition: var(--tr); display: grid; place-items: center; }
.dg-cal-nav button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dk); }
.dg-cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.dg-cal-wk, .dg-cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.dg-cal-wk { margin-bottom: 8px; }
.dg-cal-wk span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); padding: 6px 0; }
.dg-day { position: relative; aspect-ratio: 1 / .92; border-radius: 14px; border: 1.5px solid transparent; background: transparent; font-family: var(--fb); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px; cursor: default; color: #C8CBD1; font-size: 15px; font-weight: 600; transition: var(--tr); }
.dg-day .n { line-height: 1; }
.dg-day .t { font-size: 10px; font-weight: 600; letter-spacing: .02em; line-height: 1.1; text-align: center; }
.dg-day.livre { background: #fff; border-color: var(--g200); color: var(--dark); cursor: pointer; }
.dg-day.livre .t { color: #2E9B57; }
.dg-day.livre.ultima .t { color: #C27C0E; }
.dg-day.livre:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.dg-day.livre.sel { background: var(--gold); border-color: var(--gold); color: var(--black); box-shadow: var(--sh-gd); transform: translateY(-2px); }
.dg-day.livre.sel .t { color: var(--black); }
.dg-day.lotado { background: repeating-linear-gradient(135deg, #F7F7F7 0 6px, #EFEFEF 6px 12px); color: #B5B9C0; }
.dg-day.lotado .t { color: #B05050; }
.dg-day.feriado { background: #FBF8F0; color: #C9B98D; }
.dg-day.feriado .t { color: var(--gold-dk); }
.dg-day.fds { color: #D3D6DB; }
.dg-day.hoje::after { content: ''; position: absolute; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.dg-day:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(201,168,76,.3); }
@media (max-width: 560px) {
    .dg-cal-wk, .dg-cal-days { gap: 4px; }
    .dg-day { border-radius: 10px; font-size: 14px; aspect-ratio: 1 / 1.05; }
    .dg-day .t { font-size: 8.5px; }
    .dg-cal-head h2 { font-size: 20px; }
}
.dg-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--g100); font-size: 12.5px; color: var(--g600); }
.dg-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dg-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dg-legend .l1 { background: #fff; border: 1.5px solid var(--g200); }
.dg-legend .l2 { background: var(--gold); }
.dg-legend .l3 { background: repeating-linear-gradient(135deg, #F2F2F2 0 3px, #E2E2E2 3px 6px); }
.dg-legend .l4 { background: #FBF8F0; border: 1px solid #EADFC0; }

.dg-pick { text-align: center; }
.dg-pick-empty { padding: 12px 0 4px; color: var(--g400); font-size: 14px; }
.dg-pick-empty i { display: block; font-size: 34px; color: var(--g200); margin-bottom: 12px; }
.dg-pick-date { display: none; }
.dg-pick.has .dg-pick-empty { display: none; }
.dg-pick.has .dg-pick-date { display: block; animation: dg-fade .3s ease; }
.dg-pick-wd { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.dg-pick-d { font-family: var(--fh); font-size: 64px; line-height: 1; color: var(--dark); margin: 6px 0 2px; }
.dg-pick-m { font-size: 15px; color: var(--g600); }
.dg-pick-v { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: #E4F4EA; color: #1F6B3A; }
.dg-pick-v.ultima { background: #FBF0DB; color: #94600B; }
.dg-pick-hr { border: none; border-top: 1px dashed var(--g200); margin: 22px 0; }
.dg-pick-info { display: grid; gap: 10px; text-align: left; font-size: 13.5px; color: var(--g600); margin-bottom: 22px; }
.dg-pick-info div { display: flex; gap: 10px; align-items: center; }
.dg-pick-info i { color: var(--gold); width: 16px; text-align: center; }

/* ---------- confirmação ---------- */
.dg-done { max-width: 720px; margin: 0 auto; text-align: center; }
.dg-done-ico { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(201,168,76,.15), var(--sh-gd); animation: dg-pop .6s cubic-bezier(.2,1.4,.4,1) both; }
.dg-done-ico svg { width: 42px; height: 42px; }
.dg-done-ico path { stroke: var(--black); stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dg-draw .5s .35s ease forwards; }
@keyframes dg-pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dg-draw { to { stroke-dashoffset: 0; } }
.dg-done h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(26px, 4vw, 36px); color: var(--dark); margin: 0 0 10px; }
.dg-done > p { color: var(--g600); font-size: 16px; margin: 0 auto 36px; max-width: 520px; }

.dg-ticket { display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; text-align: left; position: relative; }
.dg-ticket-l { background: linear-gradient(160deg, var(--black), var(--dark-2)); color: #fff; padding: 32px 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; position: relative; }
.dg-ticket-l::after { content: ''; position: absolute; right: -1px; top: 18px; bottom: 18px; border-right: 2px dashed rgba(255,255,255,.18); }
.dg-ticket-wd { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dg-ticket-d { font-family: var(--fh); font-size: 72px; line-height: 1; margin: 8px 0 4px; color: #fff; }
.dg-ticket-m { font-size: 14px; color: rgba(255,255,255,.6); }
.dg-ticket-r { padding: 30px 32px; display: grid; gap: 16px; }
.dg-ticket-row { display: flex; gap: 14px; align-items: flex-start; }
.dg-ticket-row > i { width: 36px; height: 36px; border-radius: 10px; background: rgba(201,168,76,.12); color: var(--gold-dk); display: grid; place-items: center; flex-shrink: 0; font-size: 14px; }
.dg-ticket-row b { display: block; font-size: 14px; color: var(--dark); }
.dg-ticket-row span, .dg-ticket-row a { font-size: 13.5px; color: var(--g600); text-decoration: none; }
.dg-ticket-row a:hover { color: var(--gold-dk); }
@media (max-width: 600px) {
    .dg-ticket { grid-template-columns: 1fr; }
    .dg-ticket-l { padding: 24px; }
    .dg-ticket-l::after { right: 18px; left: 18px; top: auto; bottom: -1px; border-right: none; border-bottom: 2px dashed rgba(255,255,255,.18); }
    .dg-ticket-r { padding: 24px 20px; }
}
.dg-done-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.dg-done-foot { margin-top: 28px; font-size: 13px; color: var(--g400); }

/* ---------- admin ---------- */
.dg-tbl-wrap { overflow-x: auto; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.dg-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 860px; }
.dg-tbl th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); padding: 14px 16px; border-bottom: 1px solid var(--g100); background: #FCFBF8; }
.dg-tbl td { padding: 14px 16px; border-bottom: 1px solid var(--g100); vertical-align: top; }
.dg-tbl tr.passado td { opacity: .55; }
.dg-tbl tr.cancel td { opacity: .45; text-decoration: line-through; }
.dg-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.dg-badge.ok { background: #E4F4EA; color: #1F6B3A; }
.dg-badge.rev { background: #FBF0DB; color: #94600B; }
.dg-badge.no { background: #FDECEC; color: #A12E2E; }
.dg-badge.pen { background: var(--g100); color: var(--g600); }
.dg-tbl a { color: var(--gold-dk); }

/* ---------- chamada na home ---------- */
.dg-promo { padding: 0 0 100px; background: var(--off-wh); }
.dg-promo-in { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--black) 0%, var(--dark-2) 60%, #2a2416 100%); padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #fff; box-shadow: var(--sh-lg); }
.dg-promo-in::before { content: ''; position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px); background-size: 32px 32px; }
.dg-promo-in::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,.3), transparent 65%); }
.dg-promo-in > * { position: relative; z-index: 1; }
.dg-promo h2 { font-family: var(--fh); font-weight: 700; line-height: 1.15; font-size: clamp(28px, 3.6vw, 42px); color: #fff; margin: 0 0 14px; }
.dg-promo h2 em { font-style: italic; color: var(--gold); }
.dg-promo p { color: rgba(255,255,255,.65); font-size: 16px; margin: 0 0 28px; max-width: 520px; }
.dg-promo-acts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.dg-promo-note { font-size: 13px; color: rgba(255,255,255,.5); display: inline-flex; gap: 8px; align-items: center; }
.dg-promo-note i { color: var(--gold); }
.dg-promo-card { background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.25); border-radius: var(--r-md); padding: 28px; backdrop-filter: blur(6px); }
.dg-promo-big { font-family: var(--fh); font-size: 64px; line-height: 1; color: var(--gold); }
.dg-promo-big small { font-family: var(--fb); font-size: 15px; color: rgba(255,255,255,.6); font-weight: 500; margin-left: 6px; }
.dg-promo-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.dg-promo-card li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255,255,255,.8); }
.dg-promo-card li i { color: var(--gold); width: 16px; text-align: center; }
@media (max-width: 860px) {
    .dg-promo { padding-bottom: 70px; }
    .dg-promo-in { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; }
}

/* ---------- calendário como página de entrada ---------- */
.dg-pick-card { padding: 32px 28px; text-align: center; }
.dg-intro { margin-bottom: 28px; }
.dg-intro .label { margin-bottom: 12px; }
.dg-intro h2 { font-family: var(--fh); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: var(--dark); margin: 0 0 8px; }
.dg-intro p { color: var(--g600); font-size: 15px; margin: 0; max-width: 560px; }
.dg-offer h3:first-child { margin-bottom: 0; }

/* ---------- dia escolhido (topo do cadastro) ---------- */
.dg-chosen { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin-bottom: 28px; border-radius: var(--r-md); background: linear-gradient(120deg, var(--black), var(--dark-2)); color: #fff; }
.dg-chosen-cal { width: 58px; flex-shrink: 0; border-radius: 12px; overflow: hidden; text-align: center; background: #fff; box-shadow: var(--sh-sm); }
.dg-chosen-cal span { display: block; background: var(--gold); color: var(--black); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 0; }
.dg-chosen-cal strong { display: block; font-family: var(--fh); font-size: 26px; line-height: 1.25; color: var(--dark); padding: 2px 0 4px; }
.dg-chosen-t { flex: 1; min-width: 0; }
.dg-chosen-t small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dg-chosen-t b { display: block; font-family: var(--fh); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.3; }
.dg-chosen-t span { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.dg-chosen-x { flex-shrink: 0; font-size: 12.5px; font-weight: 600; color: var(--gold); text-decoration: none; border: 1px solid rgba(201,168,76,.4); border-radius: 100px; padding: 7px 14px; }
.dg-chosen-x:hover { background: rgba(201,168,76,.12); color: var(--gold-lt); }
@media (max-width: 560px) {
    .dg-chosen { flex-wrap: wrap; gap: 12px; padding: 14px; }
    .dg-chosen-x { width: 100%; text-align: center; }
    .dg-chosen-t b { font-size: 17px; }
}

/* ---------- cadastro em etapas ---------- */
.dg-wz-prog { margin-bottom: 28px; }
.dg-wz-prog-t { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g400); margin-bottom: 10px; }
.dg-wz-prog-t #dg-wz-nome { color: var(--gold-dk); }
.dg-wz-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dg-wz-bar span { height: 5px; border-radius: 5px; background: var(--g100); transition: background .4s ease; }
.dg-wz-bar span.on { background: linear-gradient(90deg, var(--gold-dk), var(--gold)); }
.dg-wz-step { display: none; }
.dg-wz-step.on { display: block; animation: dg-wz-in .35s cubic-bezier(.4,0,.2,1); }
.dg-wz-step.on.back { animation-name: dg-wz-back; }
@keyframes dg-wz-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes dg-wz-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.dg-wz-nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--g100); }
.dg-wz-nav .dg-secure { margin-right: auto; }
.dg-wz-nav #dg-wz-voltar:not([hidden]) + .dg-secure { display: none; }
.dg-wz-nav #dg-wz-voltar:not([hidden]) { margin-right: auto; }
.dg-wz-nav [hidden] { display: none !important; }
@media (max-width: 560px) {
    .dg-wz-nav { flex-wrap: wrap; }
    .dg-wz-nav .dg-secure { width: 100%; justify-content: center; order: 3; margin: 0; }
    .dg-wz-nav #dg-wz-avancar, .dg-wz-nav #dg-wz-enviar { flex: 1; }
    .dg-wz-nav #dg-wz-voltar { padding: 16px 20px; }
}

/* Celular: a palavra não cabe na célula; vira um ponto colorido (a legenda explica). */
@media (max-width: 560px) {
    .dg-day .t { font-size: 0; width: 6px; height: 6px; border-radius: 50%; }
    .dg-day.livre .t { background: #2E9B57; }
    .dg-day.livre.sel .t { background: var(--black); }
    .dg-day.lotado .t { background: #D27A7A; }
    .dg-day.feriado .t { background: var(--gold); }
    .dg-day.hoje::after { display: none; }
    .dg-legend .l1 { background: #fff; position: relative; }
    .dg-legend .l1::after { content: ''; position: absolute; left: 4px; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #2E9B57; }
}
