/*
Theme Name: Tema Prata Leiloes
Author: Prata Leiloes
Description: Tema para Leiloes Luento
Version: 1.0
*/
/* ============================================
   PRATA LEILÕES - Estilo principal
   Reproduzindo fielmente o design do Figma
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #0f1b26;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    min-height: 100vh;
}

/* Container central com a largura do design (1052px) */
.page {
    max-width: 1052px;
    margin: 0 auto;
    background: #0f1b26;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
    width: 100%;
    height: 110px;
    background: #0f1b26;
    display: flex;
    align-items: center;
    padding: 0 18px;
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 38px;
    padding-right: 25px;
}

.nav a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #ff5151;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 19px;
    height: 1px;
    background: #ffffff;
    display: block;
}

/* ============================================
   BANNER
   ============================================ */
.banner {
    margin: 5px 11px 0;
    height: 237px;
    background: #a69797;
    border-radius: 9px;
    position: relative;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-tag {
    position: absolute;
    top: 18px;
    left: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 520px;
    letter-spacing: 0.5px;
}

/* ============================================
   GRID DE LEILÕES + CALENDÁRIO
   ============================================ */
.grid {
    margin: 10px 11px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 12px 30px;
}

@media (max-width: 1100px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.grid-row {
    display: contents;
}

/* Card base */
.card {
    background: #ffffff;
    border-radius: 4px;
    height: 339px;
    padding: 14px 11px;
    display: flex;
    flex-direction: column;
    color: #0f1b26;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.card-top .hammer {
    width: 24px;
    height: 24px;
    color: #0f1b26;
    flex-shrink: 0;
}

.card-status {
    flex: 1;
    background: #ff5151;
    border-radius: 7px;
    padding: 4px 6px;
    text-align: center;
    color: #ffffff;
    font-size: 10.3px;
    font-weight: 500;
    line-height: 1.3;
}

.card-title {
    font-size: 8px;
    font-weight: 500;
    text-align: center;
    color: #0f1b26;
    line-height: 1.4;
    padding: 4px 4px 0;
    margin-bottom: 8px;
    min-height: 22px;
}

.card-image {
    background: #d9d9d9;
    height: 119px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-image-text {
    font-size: 13px;
    font-weight: 700;
    color: #bf0000;
    text-align: center;
    text-transform: uppercase;
}

.card-info {
    text-align: center;
    color: #09004e;
    margin-bottom: 4px;
}

.card-info-label {
    font-size: 8px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.card-realization {
    font-size: 8px;
    font-weight: 500;
    line-height: 1.4;
    color: #0f1b26;
    text-align: center;
    text-transform: uppercase;
    padding-top: 6px;
}

.card-countdown {
    text-align: center;
    color: #09004e;
    margin-bottom: 6px;
}

.card-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}

.card-time-labels {
    font-size: 5px;
    font-weight: 500;
    margin-top: 3px;
    letter-spacing: 0.2px;
}

.card-actions {
    display: flex;
    gap: 4px;
    margin-top: auto;
}

.btn-bid {
    flex: 1;
    background: #00a63e;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 5px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-bid:hover {
    background: #008c34;
}

.btn-bid.inactive {
    background: #09004e;
}

.btn-bid.inactive:hover {
    background: #1a0f70;
}

.btn-icon {
    width: 31px;
    height: 28px;
    background: #a69797;
    border: none;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: #0f1b26;
}

.btn-icon:hover {
    background: #8a7d7d;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   CALENDÁRIO (mesmo tamanho dos cards)
   ============================================ */
.calendar {
    background: #ffffff;
    border-radius: 6px;
    min-height: 420px;
    height: 100%;
    padding: 13px;
    display: flex;
    flex-direction: column;
    color: #0f1b26;
    border: 1px solid #ccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.calendar-title {
    background: #09004e;
    color: #ffffff;
    border-radius: 7px;
    padding: 4px 8px;
    text-align: center;
    font-size: 10.3px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.calendar-month {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.calendar-month-label {
    flex: 1;
    background: #09004e;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px;
    text-align: center;
    font-size: 10.3px;
    font-weight: 400;
    text-transform: uppercase;
}

.calendar-arrow {
    width: 23px;
    height: 24px;
    background: #09004e;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.calendar-arrow:hover {
    background: #1a0f70;
}

.calendar-arrow svg {
    width: 8px;
    height: 8px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 8.6px;
    color: #0f1b26;
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    flex: 1;
}

.calendar-day {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 10.3px;
    color: #09004e;
    padding: 2px 0;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s;
}

.calendar-day.muted {
    color: #a69797;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.today {
    background: #ff5151;
    color: #fff;
    font-weight: 700;
}

.btn-all-events {
    background: #09004e;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.3px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    display: block;
    margin-top: auto;
}

.btn-all-events:hover {
    background: #1a0f70;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(180deg, #0a131c 0%, #070e15 100%);
    margin-top: 40px;
    border-top: 1px solid #1a2735;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            #09004e 20%,
            #c0c0c0 50%,
            #09004e 80%,
            transparent 100%);
}

.footer-inner {
    padding: 36px 30px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.2fr;
    gap: 32px 40px;
    align-items: start;
}

.footer-col {
    min-width: 0;
}

.footer-brand-name {
    font-family: 'Maitree', serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #a69797;
    line-height: 1.5;
    max-width: 220px;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-contact a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #a69797;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    line-height: 1.4;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #a69797;
    line-height: 1.55;
    margin-bottom: 8px;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-address {
    margin-top: 4px;
    font-size: 11px !important;
    line-height: 1.65 !important;
    color: #8a7d7d !important;
}

.footer-bar {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #1a2735;
}

.footer-bar p {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #8a7d7d;
    text-align: center;
    letter-spacing: 0.2px;
}


/* ============================================
   PÁGINAS DE FORMULÁRIO (LOGIN, CADASTRO, LANCE)
   ============================================ */
.form-section {
    padding: 60px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 110px - 110px);
}

.form-card {
    background: #ffffff;
    border-radius: 9px;
    width: 100%;
    max-width: 460px;
    padding: 40px 38px;
    color: #0f1b26;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.form-card.wide {
    max-width: 620px;
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #09004e;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.form-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #0f1b26;
    text-align: center;
    margin-bottom: 28px;
    opacity: 0.7;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #09004e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #0f1b26;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #09004e;
    box-shadow: 0 0 0 2px rgba(9, 0, 78, 0.12);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #0f1b26;
}

.form-checkbox input {
    width: 14px;
    height: 14px;
    accent-color: #09004e;
}

.btn-primary {
    width: 100%;
    background: #09004e;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 14px;
}

.btn-primary:hover {
    background: #1a0f70;
    transform: translateY(-1px);
}

.btn-secondary {
    width: 100%;
    background: #ff5151;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    background: #e63a3a;
    transform: translateY(-1px);
}

.form-link {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #0f1b26;
    margin-top: 10px;
}

.form-link a {
    color: #09004e;
    font-weight: 600;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #a69797;
    text-transform: uppercase;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d9d9d9;
}

/* ============================================
   PÁGINA DE PRÉ-LANCE (detalhe do leilão)
   ============================================ */
.lance-section {
    padding: 30px;
    color: #ffffff;
}

.lance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lance-image {
    background: #d9d9d9;
    height: 380px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bf0000;
    font-weight: 700;
    font-size: 28px;
    text-transform: uppercase;
}

.lance-info {
    background: #ffffff;
    border-radius: 9px;
    padding: 28px 30px;
    color: #0f1b26;
    display: flex;
    flex-direction: column;
}

.lance-status {
    display: inline-block;
    background: #ff5151;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 12px;
    align-self: flex-start;
}

.lance-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #09004e;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.lance-realization {
    font-size: 12px;
    color: #0f1b26;
    margin-bottom: 18px;
    opacity: 0.7;
}

.lance-countdown-box {
    background: #f5f5f5;
    border-radius: 7px;
    padding: 16px;
    text-align: center;
    margin-bottom: 18px;
}

.lance-countdown-label {
    font-size: 10px;
    color: #09004e;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.lance-countdown-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #09004e;
    letter-spacing: 1px;
}

.lance-countdown-units {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 9px;
    color: #09004e;
    margin-top: 4px;
    text-transform: uppercase;
}

.lance-form {
    margin-bottom: 18px;
}

.lance-form label {
    display: block;
    font-size: 11px;
    color: #09004e;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

.lance-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.lance-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.lance-actions .btn-bid-large {
    flex: 1;
    background: #00a63e;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.lance-actions .btn-bid-large:hover {
    background: #008c34;
}

.lance-actions .btn-rules {
    background: #a69797;
    color: #0f1b26;
    border: none;
    border-radius: 7px;
    padding: 13px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.lance-actions .btn-rules:hover {
    background: #8a7d7d;
}

.lance-description {
    margin-top: 30px;
    background: #ffffff;
    border-radius: 9px;
    padding: 28px 30px;
    color: #0f1b26;
}

.lance-description h2 {
    font-size: 18px;
    color: #09004e;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.lance-description p {
    font-size: 13px;
    line-height: 1.7;
    color: #0f1b26;
    margin-bottom: 12px;
}

/* ============================================
   SUB-PÁGINA: DETALHES DO LEILÃO (sub-leilao)
   ============================================ */
.sub-leilao-section {
    padding: 10px 11px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sub-leilao-banner {
    background: #a69797;
    border-radius: 9px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.sub-leilao-title-bar {
    background: #e2e8f0;
    color: #0f1b26;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.sub-leilao-subtitle {
    color: #a69797;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    margin-top: -6px;
    margin-bottom: -6px;
}

.sub-leilao-date-bar {
    background: #e2e8f0;
    color: #0f1b26;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.sub-leilao-timer-label {
    color: #ffffff;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    margin-top: -6px;
    margin-bottom: -6px;
}

.sub-leilao-timer-box {
    background: #e2e8f0;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    color: #09004e;
    width: 250px;
    margin: 0 auto;
}

.sub-leilao-timer-box .time {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sub-leilao-timer-box .labels {
    font-size: 8px;
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
}

.sub-leilao-conditions {
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 20px 16px 16px;
    color: #ffffff;
    margin-top: 20px;
    position: relative;
}

.sub-leilao-conditions .conditions-title {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2e8f0;
    color: #0f1b26;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.sub-leilao-conditions .conditions-text {
    font-size: 11px;
    line-height: 1.4;
    text-align: justify;
}

.sub-leilao-conditions .conditions-text p {
    margin-bottom: 8px;
}

.sub-leilao-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 11px;
    margin-top: 20px;
}

.sub-card {
    background: #ffffff;
    border-radius: 4px;
    padding: 10px;
    color: #0f1b26;
    display: flex;
    flex-direction: column;
}

.sub-card-image {
    background: #e2e8f0;
    color: #bf0000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-align: center;
}

.sub-card-title {
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 8px;
}

.sub-card-info-row {
    font-size: 7px;
    color: #a69797;
    margin-bottom: 8px;
    line-height: 1.2;
}

.sub-card-seller,
.sub-card-bid {
    text-align: center;
    margin-bottom: 6px;
}

.sub-card-seller .seller-label,
.sub-card-bid .bid-label {
    font-size: 7px;
    font-weight: 700;
    color: #0f1b26;
    background: #e2e8f0;
    display: block;
    margin-bottom: 2px;
}

.sub-card-seller .seller-name {
    font-size: 8px;
    font-weight: 600;
}

.sub-card-bid .bid-value {
    font-size: 12px;
    font-weight: 800;
    color: #09004e;
}

.sub-card-timer-label {
    font-size: 7px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2px;
}

.sub-card-timer {
    text-align: center;
    margin-bottom: 8px;
}

.sub-card-timer .time {
    font-size: 10px;
    font-weight: 800;
    color: #09004e;
}

.sub-card-timer .labels {
    font-size: 5px;
    color: #0f1b26;
}

.btn-sub-card {
    width: 100%;
    padding: 6px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-sub-card.active {
    background: #00a63e;
}

.btn-sub-card.inactive {
    background: #bf0000;
}

/* ============================================
   PÁGINA DO LOTE (lote.html)
   ============================================ */
.lote-section {
    padding: 20px 11px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lote-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    align-items: start;
}

/* Esquerda */
.lote-left-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lote-photo {
    background: #a69797;
    height: 480px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.lote-bar-grey {
    background: #e2e8f0;
    color: #0f1b26;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.lote-bar-light {
    background: #d9d9d9;
    color: #0f1b26;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    width: max-content;
}

.lote-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 5px;
}

.lote-data-block {
    background: #ffffff;
    border-radius: 4px;
    padding: 20px;
    color: #0f1b26;
    margin-top: 10px;
}

.lote-data-header {
    font-size: 10px;
    font-weight: 800;
    color: #09004e;
    margin-bottom: 12px;
}

.lote-data-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.data-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.data-col .data-label {
    font-size: 8px;
    color: #09004e;
    text-transform: uppercase;
    font-weight: 600;
}

.data-col .data-value {
    font-size: 14px;
    font-weight: 800;
    color: #0f1b26;
    text-transform: uppercase;
}

.data-col .data-value.highlight {
    color: #00a63e;
}

.lote-desc {
    font-size: 11px;
    line-height: 1.5;
    color: #0f1b26;
}

/* Direita */
.lote-right-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lote-timer-block {
    background: #ffffff;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
}

.timer-title {
    font-size: 10px;
    font-weight: 600;
    color: #a69797;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timer-countdown {
    font-size: 26px;
    font-weight: 800;
    color: #bf0000;
    letter-spacing: 1px;
}

.timer-labels {
    font-size: 8px;
    font-weight: 600;
    color: #bf0000;
    margin-top: 4px;
}

.lote-current-bid-box {
    background: #003366;
    border-radius: 9px;
    padding: 16px;
    color: #ffffff;
}

.lote-current-bid-box .bid-label {
    font-size: 10px;
    font-weight: 500;
    margin-bottom: 8px;
}

.lote-current-bid-box .bid-amount {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
}

.lote-offer-block {
    background: #ffffff;
    border-radius: 4px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lote-offer-block .offer-label {
    font-size: 10px;
    color: #a69797;
    text-transform: uppercase;
}

.lote-offer-block .offer-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #0f1b26;
    border-radius: 4px;
    font-size: 16px;
    color: #a69797;
    font-family: 'Montserrat', sans-serif;
}

.btn-cover-bid {
    width: 100%;
    background: #00a63e;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-cover-bid:hover {
    background: #008c34;
}

.lote-bids-history {
    background: #ffffff;
    border-radius: 4px;
    padding: 16px;
}

.history-title {
    font-size: 10px;
    font-weight: 800;
    color: #09004e;
    margin-bottom: 12px;
}

.history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.history-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 10px;
    color: #a69797;
}

.history-list li:last-child {
    border-bottom: none;
}

.history-list li span:last-child {
    font-weight: 700;
    color: #0f1b26;
}

.btn-catalog {
    width: 100%;
    background: #d9d9d9;
    color: #0f1b26;
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn-catalog:hover {
    background: #c0c0c0;
}

/* Inferior */
.lote-conditions-box {
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 20px 16px 16px;
    color: #a69797;
    position: relative;
    margin-top: 10px;
}

.lote-cond-title {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e2e8f0;
    color: #09004e;
    padding: 2px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    text-transform: uppercase;
}

.lote-cond-text {
    font-size: 11px;
    line-height: 1.5;
    text-align: left;
}

.lote-cond-text p {
    margin-bottom: 8px;
}

.lote-period-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.period-label {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.period-value {
    width: 100%;
    background: #e2e8f0;
    color: #0f1b26;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

/* ============================================
   PÁGINA DE CADASTRO (Novo Layout)
   ============================================ */
.cadastro-layout {
    background: #0f1b26;
    min-height: 100vh;
    padding-bottom: 56px;
}

.cadastro-header {
    max-width: 980px;
    margin: 0 auto;
    padding: 26px 20px 8px;
}

.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-voltar:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.btn-voltar svg {
    width: 16px;
    height: 16px;
}

.cadastro-blocks {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0 20px;
}


.cadastro-main-title {
    background: linear-gradient(135deg, #09004e 0%, #1a0f70 100%);
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    padding: 18px;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cadastro-block {
    background: #f4f6fb;
    border-radius: 1px;
    padding: 28px;
    border: 1px solid #e2e8f0;
}

.cadastro-block-title {
    font-size: 13px;
    font-weight: 700;
    color: #09004e;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cadastro-termos-box {
    border: 1px solid #d6deea;
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    height: 220px;
    overflow-y: auto;
    font-size: 10px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 20px;
}

.cadastro-termos-box p {
    margin-bottom: 10px;
}

.cadastro-termos-check {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #0f1b26;
    font-size: 12px;
    font-weight: 600;
}

.cadastro-termos-check input {
    width: 16px;
    height: 16px;
    accent-color: #09004e;
}

.cadastro-row {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.cadastro-row:last-child {
    margin-bottom: 0;
}

.col-2 {
    grid-template-columns: 1fr 1fr;
}

.col-endereco-1 {
    grid-template-columns: 3fr 1fr;
}

.col-endereco-3 {
    grid-template-columns: 2fr 1fr 1fr;
}

.cadastro-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cadastro-input-group label {
    font-size: 10px;
    font-weight: 700;
    color: #09004e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-left: 2px;
}

.cadastro-input-group input {
    background: #ffffff;
    border: 1px solid #d6deea;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #0f1b26;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.cadastro-input-group input:focus {
    outline: none;
    border-color: #09004e;
    box-shadow: 0 0 0 3px rgba(9, 0, 78, 0.14);
    transform: translateY(-1px);
}

.cadastro-submit-area {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.btn-enviar-cadastro {
    background: linear-gradient(135deg, #09004e 0%, #1a0f70 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 26px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    min-width: 260px;
    box-shadow: 0 12px 24px rgba(9, 0, 78, 0.3);
}

.btn-enviar-cadastro:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(9, 0, 78, 0.4);
    filter: brightness(1.04);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sub-leilao-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lote-grid-layout {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 24px;
    }

    .lance-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sub-leilao-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header {
        padding: 0 14px;
        height: 90px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
    }

    .logo-icon svg {
        width: 30px;
        height: 30px;
    }

    .nav {
        gap: 14px;
        padding-right: 8px;
    }

    .nav a {
        font-size: 11px;
    }

    .banner-title {
        font-size: 20px;
    }

    .banner-tag {
        font-size: 18px;
    }

    .banner {
        height: 180px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 30px 22px;
    }

    .col-2,
    .col-endereco-1,
    .col-endereco-3 {
        grid-template-columns: 1fr;
    }

    .btn-enviar-cadastro {
        min-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-inner {
        padding: 28px 20px 20px;
    }

    .footer-brand-name {
        font-size: 18px;
    }

    .footer-tagline {
        max-width: none;
    }

    .footer-bar {
        margin-top: 22px;
        padding-top: 16px;
    }

    .footer-bar p {
        font-size: 10px;
    }

}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #0a131c;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        margin: 0;
    }

    .nav.mobile-open {
        right: 0;
    }

    .nav a {
        font-size: 16px;
        width: 100%;
    }

    .nav-logout {
        color: #ff5151 !important;
    }

    .header {
        justify-content: space-between;
        padding: 0 20px;
    }
}

@media (max-width: 460px) {
    .grid {
        grid-template-columns: 1fr;
        padding: 0 10px 20px;
    }

    .sub-leilao-grid {
        grid-template-columns: 1fr;
    }
}

/* Garantir que os cards nunca estourem a tela */
.luento-catalogo-card {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Countdown NUNCA quebra linha */
.card-time {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

@media (max-width: 550px) {
    .grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px 20px;
    }

    .luento-catalogo-card {
        max-width: 100% !important;
    }

    /* Countdown ajustado para mobile pelo JavaScript (removido !important conflituoso) */
    .card-time {
        justify-content: center;
    }
}

/* Lote cards no catálogo - responsividade */
.sub-leilao-grid {
    box-sizing: border-box;
}

@media (max-width: 550px) {
    .sub-leilao-grid {
        grid-template-columns: 1fr !important;
        padding: 0 5px;
    }

    .sub-leilao-section {
        padding: 10px 5px !important;
    }
}

/* Página de agradecimento — Prata Leilões (cores alinhadas ao style.css) */

.thank-section {
    padding: clamp(32px, 8vw, 72px) clamp(18px, 4vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 110px - 140px);
}

.thank-card {
    background: #ffffff;
    border-radius: 9px;
    width: 100%;
    max-width: 480px;
    padding: clamp(28px, 5vw, 44px) clamp(24px, 4vw, 40px);
    color: #0f1b26;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.thank-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: #09004e;
}

.thank-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.thank-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
    font-weight: 700;
    color: #09004e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    line-height: 1.25;
}

.thank-lead {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0f1b26;
    margin-bottom: 14px;
}

.thank-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #3d4a56;
    margin-bottom: 28px;
}

.thank-text strong {
    color: #0f1b26;
    font-weight: 600;
}

.thank-btn {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    background: #09004e;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 7px;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: background 0.2s, transform 0.2s;
}

.thank-btn:hover {
    background: #1a0f70;
    transform: translateY(-1px);
}

.thank-btn:focus-visible {
    outline: 2px solid #ff5151;
    outline-offset: 3px;
}

@media (max-width: 460px) {
    .thank-section {
        min-height: calc(100vh - 110px - 180px);
    }

    .thank-card {
        padding: 26px 20px;
    }

    .thank-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
}

/* Animação do hambúrguer (X) */
@media (max-width: 768px) {
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -2px);
    }
}

/* Calendar Event Highlights */
.calendar-day.has-event {
    background: #b70000;
    color: white;
    font-weight: bold;
    border-radius: 4px;
}

.calendar-day.selected {
    background: #ff5151;
    color: white;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(255, 81, 81, 0.5);
}

/* Custom Footer Premium Styling */
.footer {
    background-color: #0b1120;
    color: #a0aec0;
    font-family: 'Inter', sans-serif;
    border-top: 2px solid #1d335f;
    margin-top: 60px;
    position: relative;
}

/* Opcional: Efeito sutil de brilho no topo do footer */
.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    opacity: 0.5;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: 'Maitree', serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 14px;
    color: #a0aec0;
    margin: 0;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.footer-contact p {
    margin: 0;
}

.footer-contact a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-address {
    line-height: 1.6;
    color: #a0aec0;
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    text-align: center;
}

.footer-bar p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* Responsivo para o Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-inner {
        padding: 40px 20px 20px;
    }
    
    .footer-heading {
        margin-bottom: 15px;
    }
}