﻿/* =========================================================
   DAY USE - BASE / HOME
   ========================================================= */

.dayuse-page {
    background: #f6f8fb;
    color: #1f2937;
}

.dayuse-hero {
    min-height: 540px;
    background-image: url('/images/dayuse/dayuse-hero.jpg');
    background-size: cover;
    background-position: center;
}

.dayuse-hero-overlay {
    min-height: 540px;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.92), rgba(0, 51, 102, 0.55), rgba(0, 0, 0, 0.12));
    display: flex;
    align-items: center;
}

.dayuse-hero-content {
    max-width: 720px;
    margin-left: clamp(24px, 8vw, 120px);
    color: #ffffff;
}

.dayuse-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.dayuse-hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.6rem);
    line-height: 1;
    margin-bottom: 18px;
    font-weight: 900;
}

.dayuse-hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 640px;
    margin-bottom: 30px;
}

.dayuse-primary-btn {
    border: none;
    border-radius: 999px;
    padding: 16px 30px;
    background: #facc15;
    color: #003366;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

    .dayuse-primary-btn.full {
        width: 100%;
    }

    .dayuse-primary-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.dayuse-secondary-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 900;
    cursor: pointer;
}

.dayuse-back-btn {
    border: none;
    background: #ffffff;
    color: #003366;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.dayuse-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 20px 70px;
}

.dayuse-intro {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

    .dayuse-intro h2,
    .dayuse-flow h2 {
        font-size: 2.25rem;
        color: #003366;
        font-weight: 900;
        margin-bottom: 12px;
    }

    .dayuse-intro p {
        color: #64748b;
        font-size: 1.08rem;
    }

.dayuse-produtos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.dayuse-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 26px;
    min-height: 280px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dayuse-card-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 0.72rem;
    font-weight: 800;
}

.dayuse-card h3 {
    color: #003366;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.dayuse-card p {
    color: #64748b;
    line-height: 1.45;
}

.dayuse-card-footer {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dayuse-card strong {
    color: #00793f;
    font-size: 1.35rem;
    font-weight: 900;
}

.dayuse-card button {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    background: #003366;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.dayuse-flow {
    margin-top: 76px;
}

.dayuse-steps {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

    .dayuse-steps div {
        background: #ffffff;
        border-radius: 22px;
        padding: 22px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    }

    .dayuse-steps span {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #00793f;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        margin-bottom: 14px;
    }

    .dayuse-steps h4 {
        color: #003366;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .dayuse-steps p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.4;
    }

.dayuse-loading,
.dayuse-alert {
    max-width: 1180px;
    margin: 24px auto;
    background: #ffffff;
    padding: 26px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.dayuse-alert {
    color: #b91c1c;
    font-weight: 700;
}

/* =========================================================
   DAY USE FLOW - CALENDÁRIO / INGRESSOS / PARTICIPANTES
   ========================================================= */

.du-flow-page {
    min-height: 100vh;
    background: #234b83;
    color: #ffffff;
    padding: 0 6px 28px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.du-stepbar {
    max-width: 1180px;
    margin: 0 auto;
    padding: 26px 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.du-step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .45;
    color: #b9ddf3;
}

    .du-step.active {
        opacity: 1;
        color: #ff8a00;
    }

    .du-step strong {
        font-size: 4.2rem;
        line-height: .85;
        font-weight: 900;
    }

    .du-step span {
        display: block;
        font-size: 1rem;
        font-weight: 500;
    }

    .du-step b {
        display: block;
        font-size: 1.7rem;
        font-weight: 900;
    }

.du-calendar-wrap,
.du-tickets-wrap,
.du-participants-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.du-month-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 24px;
}

    .du-month-header h2 {
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 900;
        text-transform: capitalize;
    }

.du-month-actions {
    display: flex;
    gap: 14px;
}

    .du-month-actions button {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, .72);
        color: #21436f;
        font-size: 2rem;
        line-height: 1;
        font-weight: 900;
        cursor: pointer;
    }

.du-weekdays,
.du-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 11px;
}

.du-weekdays {
    margin-bottom: 14px;
}

    .du-weekdays span {
        color: #22d3ee;
        text-align: center;
        font-size: .78rem;
        font-weight: 900;
    }

.du-day {
    min-height: 63px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .du-day strong {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .du-day small {
        font-size: .63rem;
        font-weight: 900;
    }

    .du-day.available {
        background: #2db3df;
    }

    .du-day.unavailable {
        background: #285f96;
        color: rgba(0, 0, 0, .45);
        cursor: not-allowed;
    }

    .du-day.selected {
        background: #82bc3b;
        color: #ffffff;
    }

.du-legends {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    align-items: center;
}

    .du-legends div {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
    }

    .du-legends span {
        width: 26px;
        height: 26px;
        border-radius: 4px;
        display: inline-block;
    }

    .du-legends .available {
        background: #2db3df;
    }

    .du-legends .unavailable {
        background: #285f96;
    }

    .du-legends .selected {
        background: #82bc3b;
    }

.du-footer-actions {
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.du-btn-next,
.du-btn-back {
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 900;
    color: #ffffff;
    cursor: pointer;
}

.du-btn-next {
    margin-left: auto;
    background: #82bc3b;
}

    .du-btn-next.full {
        width: 100%;
    }

    .du-btn-next:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.du-btn-back {
    background: #2db3df;
}

.du-summary-bar {
    background: #0969a5;
    margin-bottom: 28px;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    border-radius: 2px;
}

    .du-summary-bar span {
        display: block;
        color: #62c9ef;
        font-size: 1rem;
        font-weight: 700;
    }

    .du-summary-bar strong {
        display: block;
        color: #ffffff;
        font-size: 1.8rem;
        font-weight: 500;
    }

/* Cards de ingressos no modelo do anexo */
.du-ticket-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.du-ticket-card {
    max-width: 320px;
    border-radius: 4px;
    overflow: hidden;
    background: #1b3f72;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

    .du-ticket-card.active .du-ticket-body,
    .du-ticket-card.active .du-ticket-qty {
        background: #24acd8;
    }

.du-ticket-img {
    height: 118px;
    background: #0f2c55;
    overflow: hidden;
}

    .du-ticket-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.du-ticket-body {
    min-height: 130px;
    padding: 18px 14px 14px;
    text-align: center;
    background: #1e467c;
}

    .du-ticket-body h3 {
        color: #ffffff;
        font-size: 1rem;
        font-weight: 900;
        margin-bottom: 7px;
        text-transform: uppercase;
    }

    .du-ticket-body p {
        color: rgba(255, 255, 255, .68);
        font-size: .82rem;
        margin-bottom: 9px;
    }

    .du-ticket-body strong {
        display: block;
        color: #e3f200;
        font-size: 1rem;
        font-weight: 900;
    }

    .du-ticket-body small {
        display: block;
        color: rgba(255, 255, 255, .65);
        font-size: .65rem;
        margin-top: 5px;
    }

.du-ticket-qty {
    height: 56px;
    background: #173862;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

    .du-ticket-qty button {
        border: none;
        background: transparent;
        color: #ffffff;
        font-size: 2rem;
        line-height: 1;
        font-weight: 300;
        cursor: pointer;
        min-width: 52px;
        height: 56px;
    }

    .du-ticket-qty b {
        color: #ffffff;
        font-size: 2rem;
    }

    .du-ticket-qty .single {
        width: 100%;
    }

.du-participants-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 22px;
    align-items: start;
}

/* =========================================================
   BUY / ACCESS / PAYMENT / QRCODE SUPPORT
   ========================================================= */

.dayuse-buy-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
    color: #1f2937;
}

    .dayuse-buy-card h2 {
        color: #003366;
        font-weight: 900;
        font-size: 1.35rem;
        margin-bottom: 18px;
    }

    .dayuse-buy-card label {
        display: block;
        font-size: 0.86rem;
        color: #475569;
        font-weight: 800;
        margin-bottom: 6px;
    }

.dayuse-input {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 13px 14px;
    outline: none;
    margin-bottom: 14px;
    background: #ffffff;
}

.dayuse-participants-card {
    grid-column: auto;
}

.dayuse-participant-box {
    margin-top: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 18px;
}

    .dayuse-participant-box h3 {
        color: #003366;
        font-weight: 900;
        margin-bottom: 14px;
    }

.dayuse-checkout-card {
    position: sticky;
    top: 20px;
}

.dayuse-total-box {
    margin: 20px 0;
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
}

    .dayuse-total-box span {
        color: #64748b;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .dayuse-total-box strong {
        display: block;
        margin-top: 4px;
        color: #00793f;
        font-size: 1.45rem;
        font-weight: 900;
    }

.dayuse-message {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
}

/* ACCESS PAGE */
.dayuse-access-page,
.dayuse-payment-page,
.dayuse-qrcode-page {
    background: #f6f8fb;
    min-height: 100vh;
    padding: 36px 20px 70px;
}

.dayuse-access-header,
.dayuse-payment-header,
.dayuse-qrcode-header {
    max-width: 1180px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    gap: 22px;
}

    .dayuse-access-header span,
    .dayuse-payment-header span,
    .dayuse-qrcode-header span {
        font-size: 0.75rem;
        font-weight: 900;
        color: #00793f;
        letter-spacing: 0.12em;
    }

    .dayuse-access-header h1,
    .dayuse-payment-header h1,
    .dayuse-qrcode-header h1 {
        color: #003366;
        font-size: 2.35rem;
        font-weight: 900;
        margin: 4px 0;
    }

    .dayuse-access-header p,
    .dayuse-payment-header p,
    .dayuse-qrcode-header p {
        color: #64748b;
    }

.dayuse-access-grid,
.dayuse-payment-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.dayuse-reserva-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

    .dayuse-reserva-box div {
        background: #f8fafc;
        border-radius: 18px;
        padding: 16px;
    }

    .dayuse-reserva-box span {
        display: block;
        color: #64748b;
        font-size: 0.85rem;
        font-weight: 700;
    }

    .dayuse-reserva-box strong {
        display: block;
        color: #003366;
        font-size: 1.1rem;
        font-weight: 900;
        margin-top: 5px;
    }

.dayuse-participant-line,
.dayuse-payment-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.dayuse-success-box,
.dayuse-register-box,
.dayuse-pix-box,
.dayuse-test-box,
.dayuse-info-box {
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: #f8fafc;
}

.dayuse-success-box,
.dayuse-pix-box {
    background: #f0fdf4;
}

.dayuse-test-box {
    background: #fff7ed;
}

.dayuse-pix-textarea,
.dayuse-code-box textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 14px;
    font-size: 0.95rem;
    background: #ffffff;
    margin-bottom: 14px;
}

.dayuse-qrcode-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.dayuse-qrcode-card {
    text-align: center;
}

.dayuse-qrcode-box {
    display: flex;
    justify-content: center;
    margin: 22px 0;
}

.dayuse-qrcode-fake,
.dayuse-qrcode-img {
    width: 280px;
    height: 280px;
    background: #ffffff;
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1100px) {
    .dayuse-produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dayuse-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .du-stepbar {
        gap: 14px;
        overflow-x: auto;
    }

    .du-step strong {
        font-size: 3rem;
    }

    .du-ticket-grid,
    .du-participants-grid,
    .dayuse-access-grid,
    .dayuse-payment-grid,
    .dayuse-qrcode-grid {
        grid-template-columns: 1fr;
    }

    .dayuse-checkout-card {
        position: static;
    }

    .du-calendar-grid,
    .du-weekdays {
        gap: 7px;
    }

    .du-day {
        min-height: 54px;
    }

    .dayuse-access-header,
    .dayuse-payment-header,
    .dayuse-qrcode-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dayuse-reserva-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .dayuse-hero,
    .dayuse-hero-overlay {
        min-height: 460px;
    }

    .dayuse-hero-content {
        margin: 0 22px;
    }

    .dayuse-produtos,
    .dayuse-steps {
        grid-template-columns: 1fr;
    }

    .dayuse-container {
        padding: 42px 18px 56px;
    }

    .du-flow-page,
    .dayuse-access-page,
    .dayuse-payment-page,
    .dayuse-qrcode-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .du-stepbar {
        padding-top: 18px;
    }

    .du-ticket-grid {
        gap: 14px;
    }

    .du-ticket-card {
        max-width: none;
    }

    .dayuse-payment-item,
    .dayuse-participant-line {
        flex-direction: column;
        align-items: flex-start;
    }
}
