/* ========================================
   Thermas dos Laranjais - CSS
   ======================================== */

:root {
    --primary: #003e7f;
    --primary-light: #5ba3d9;
    --secondary: #f07d00;
    --secondary-dark: #d46d00;
    --accent: #f5a623;
    --success: #00a650;
    --error: #dc3545;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #ccc;
    --gray-400: #aaa;
    --gray-500: #888;
    --gray-600: #666;
    --gray-700: #4a4a4a;
    --gray-800: #333;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select { font-family: inherit; font-size: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; width: 100%; max-width: 100vw; }
.main-content { flex: 1; width: 100%; overflow-x: hidden; }

/* ========================================
   HEADER
   ======================================== */
.header {
    background: var(--white);
    padding: 10px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: 0.3s;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-duvidas {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.btn-duvidas:hover {
    background: var(--secondary-dark);
}

@media (max-width: 900px) {
    .header-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
    }
    .header-nav.active .nav-list {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========================================
   BANNER
   ======================================== */
.banner-section {
    width: 100%;
    max-width: 100vw;
    max-height: 300px;
    overflow: hidden;
    background: var(--gray-200);
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.banner-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .banner-section { max-height: 180px; }
    .banner-image { height: 180px; }
}

/* ========================================
   LAYOUT INGRESSOS - 2 COLUNAS
   ======================================== */
.ingressos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
    width: 100%;
}

@media (max-width: 900px) {
    .ingressos-layout { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
    .ingressos-layout { padding: 20px 0; gap: 15px; }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   CALENDARIO
   ======================================== */
.calendario-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.calendario {
    margin-bottom: 20px;
}

.calendario-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendario-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: 0.3s;
    background: var(--gray-100);
}

.calendario-nav:hover {
    background: var(--gray-200);
    color: var(--primary);
}

.calendario-mes-ano {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.calendario-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.calendario-weekdays span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    padding: 8px 0;
}

.calendario-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendario-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
    background: var(--primary-light);
    color: var(--white);
}

.calendario-day:hover:not(:disabled) {
    border-color: var(--primary);
    transform: scale(1.05);
}

.calendario-day.vazio {
    background: transparent;
    cursor: default;
}

.calendario-day.passado,
.calendario-day:disabled {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
}

.calendario-day.semana {
    background: var(--primary-light);
    color: var(--white);
}

.calendario-day.fds {
    background: var(--primary);
    color: var(--white);
}

.calendario-day.feriado {
    background: var(--secondary);
    color: var(--white);
}

.calendario-day.selecionado {
    background: var(--accent) !important;
    color: var(--white);
    border-color: var(--accent);
    transform: scale(1.1);
}

.calendario-day.esgotado {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Legenda */
.calendario-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.legenda-cor {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legenda-fds { background: var(--primary); }
.legenda-feriado { background: var(--secondary); }
.legenda-semana { background: var(--primary-light); }
.legenda-selecionado { background: var(--accent); }
.legenda-esgotado { background: var(--gray-200); }

/* ========================================
   PRODUTOS
   ======================================== */
.produtos-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.data-selecionada-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.selecione-data-msg {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
}

.selecione-data-msg p {
    margin-top: 15px;
    font-size: 0.95rem;
}

.produtos-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.produto-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: 0.3s;
}

.produto-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.produto-imagem-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.produto-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.produto-nome {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.produto-preco {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.produto-acoes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-detalhes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-detalhes:hover {
    color: var(--secondary);
}

.btn-adicionar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-adicionar:hover {
    background: var(--secondary-dark);
}

/* Quantidade inline */
.quantidade-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border-radius: 20px;
    padding: 4px;
}

.qtd-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-700);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
}

.qtd-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qtd-valor {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Footer dos produtos */
.produtos-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
}

.produtos-total {
    display: flex;
    align-items: center;
    gap: 10px;
}

.total-label {
    font-size: 1rem;
    color: var(--gray-600);
}

.total-valor {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-prosseguir {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-prosseguir:hover:not(:disabled) {
    background: var(--secondary-dark);
}

.btn-prosseguir:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--gray-500);
}

.modal-close:hover {
    color: var(--gray-800);
}

.modal-produto-imagem {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.modal-body h3 {
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.modal-body p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.modal-produto-preco {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 15px; }
}

.footer-col-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    font-size: 0.85rem;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    margin: 0;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-link:hover {
    background: var(--secondary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.payment-flags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-flags img {
    height: 24px;
    width: auto;
}

/* ========================================
   CHECKOUT
   ======================================== */
.checkout-page {
    padding-bottom: 40px;
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 0;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stepper-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-300);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.stepper-item.active .stepper-number,
.stepper-item.completed .stepper-number {
    background: var(--secondary);
}

.stepper-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.stepper-item.active .stepper-label {
    color: var(--gray-800);
    font-weight: 600;
}

.stepper-line {
    width: 80px;
    height: 3px;
    background: var(--gray-300);
    margin: 0 10px;
    margin-bottom: 25px;
}

@media (max-width: 480px) {
    .stepper { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .stepper-line { display: none; }
    .stepper-label { font-size: 0.75rem; }
    .stepper-item { flex: 0 0 auto; }
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-main {
    /* Container apenas, sem estilos visuais */
}

.checkout-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

/* Checkout steps - hidden by default, shown when active */
.checkout-step {
    display: none !important;
}

.checkout-step.active {
    display: block !important;
}

.checkout-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.checkout-section-desc {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Data da visita */
.data-visita {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 20px;
}

.data-visita-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    display: block;
    margin-bottom: 5px;
}

.data-visita-valor {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Ingressos lista */
.ingressos-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ingresso-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.ingresso-nome {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.ingresso-preco {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 600;
    margin: 0;
}

.quantidade-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantidade-selector .qtd-btn {
    width: 35px;
    height: 35px;
}

.quantidade-selector .qtd-valor {
    font-size: 1.1rem;
}

/* Formularios */
.form-checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,62,127,0.1);
}

.form-control.error {
    border-color: var(--error);
}

.form-error {
    font-size: 0.8rem;
    color: var(--error);
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .form-row > .form-group {
        max-width: 100%;
    }
}

.form-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--gray-200);
}

.form-group-cep { max-width: 150px; }
.form-group-numero { max-width: 100px; }
.form-group-uf { max-width: 80px; }

/* Pagamento opcoes */
.pagamento-opcoes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .pagamento-opcoes { grid-template-columns: 1fr; }
}

.pagamento-opcao {
    cursor: pointer;
}

.pagamento-opcao input {
    display: none;
}

.pagamento-opcao-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: 0.3s;
    text-align: center;
}

.pagamento-opcao.selected .pagamento-opcao-content {
    border-color: var(--primary);
    background: rgba(0,62,127,0.05);
}

.pagamento-opcao.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pagamento-icon {
    height: 40px;
    width: auto;
}

.pagamento-titulo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.pagamento-desconto {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
}

.pagamento-obs {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Resumo checkout */
.checkout-resumo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.resumo-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.resumo-data {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.resumo-itens {
    margin-bottom: 20px;
}

.resumo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
}

.resumo-item-qtd {
    color: var(--gray-500);
    min-width: 25px;
}

.resumo-item-nome {
    flex: 1;
    color: var(--gray-700);
}

.resumo-item-preco {
    font-weight: 600;
    color: var(--gray-800);
}

.resumo-vazio {
    color: var(--gray-500);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px 0;
}

.resumo-valores {
    border-top: 1px solid var(--gray-200);
    padding-top: 15px;
    margin-bottom: 20px;
}

.resumo-linha {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.resumo-linha.desconto {
    color: var(--success);
}

.resumo-linha.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--gray-200);
    padding-top: 15px;
    margin-top: 10px;
}

.resumo-acoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover:not(:disabled) {
    background: var(--secondary-dark);
}

.btn-primary:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--gray-500);
}

.btn-block {
    width: 100%;
}

.resumo-seguranca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   PAGAMENTO PIX
   ======================================== */
.pagamento-page {
    padding-bottom: 40px;
}

.pagamento-header {
    background: var(--secondary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
}

.pagamento-header h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pagamento-header p {
    opacity: 0.9;
}

.reserva-identificada {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e8f5e9;
    border: 1px solid var(--success);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 30px;
}

.reserva-icone {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.reserva-info h3 {
    font-size: 1rem;
    color: var(--success);
    margin-bottom: 5px;
}

.reserva-info p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: 0;
}

.pagamento-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

@media (max-width: 900px) {
    .pagamento-content { grid-template-columns: 1fr; }
}

.pix-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.pix-qrcode-container {
    max-width: 250px;
    margin: 0 auto 20px;
}

.pix-qrcode-img {
    width: 100%;
    border-radius: var(--radius);
}

.pix-qrcode-placeholder {
    width: 250px;
    height: 250px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pix-qrcode-placeholder p {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
}

.pix-titulo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.pix-codigo-box {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.pix-codigo {
    font-family: monospace;
    font-size: 0.75rem;
    word-break: break-all;
    color: var(--gray-700);
}

.btn-copiar {
    margin-bottom: 20px;
}

.btn-copiar.copiado {
    background: var(--success);
}

.pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pix-timer.expirado {
    color: var(--error);
}

.pix-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-600);
}

.pix-status-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pagamento-resumo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.resumo-info-pedido {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.resumo-info-pedido p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.resumo-info-pedido code {
    font-family: monospace;
    font-size: 0.75rem;
    background: var(--gray-100);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    word-break: break-all;
}

/* ========================================
   CONFIRMACAO
   ======================================== */
.confirmacao-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.confirmacao-icone {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirmacao-icone svg {
    width: 40px;
    height: 40px;
}

.confirmacao-titulo {
    font-size: 1.5rem;
    color: var(--success);
    margin-bottom: 15px;
}

.confirmacao-mensagem {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Utilitarios */
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    padding: 15px 20px;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: toastSlideIn 0.3s ease;
    max-width: 350px;
    pointer-events: auto;
}

.toast.error { background: var(--error); }
.toast.success { background: var(--success); }
.toast.warning { background: var(--secondary); }

.toast.hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    .toast {
        max-width: 100%;
    }
}

/* ========================================
   STEP ACTIONS MOBILE (Botoes dentro das etapas)
   ======================================== */
.step-actions-mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

/* Tablet portrait (768px) - Checkout layout stack */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-resumo {
        position: static;
        order: -1;
    }

    /* Esconder aside nas etapas 2 e 3 */
    .checkout-page.etapa-2 .checkout-resumo,
    .checkout-page.etapa-3 .checkout-resumo {
        display: none !important;
    }

    /* Mostrar botoes mobile nas etapas 2 e 3 */
    .checkout-page.etapa-2 .step-actions-mobile,
    .checkout-page.etapa-3 .step-actions-mobile {
        display: flex;
    }
}

/* Small tablets / Large phones (600px) */
@media (max-width: 600px) {
    /* Reduce card padding */
    .calendario-container,
    .produtos-container,
    .checkout-section,
    .checkout-resumo,
    .pix-box,
    .pagamento-resumo {
        padding: 15px;
    }

    .ingressos-layout {
        gap: 20px;
    }

    /* Form fields - remove fixed max-width */
    .form-group-cep,
    .form-group-numero,
    .form-group-uf {
        max-width: 100%;
    }

    /* Stepper adjustments */
    .stepper-line {
        width: 40px;
    }
    .stepper-label {
        font-size: 0.8rem;
    }
}

/* Phone (480px) */
@media (max-width: 480px) {
    /* Reduce container padding */
    .container {
        padding: 0 15px;
    }

    .header-container {
        padding: 0 15px;
    }

    /* Modal padding reduction */
    .modal-content {
        padding: 20px;
    }

    /* Products footer stack */
    .produtos-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .produtos-total {
        justify-content: center;
    }

    .btn-prosseguir {
        padding: 12px 20px;
        justify-content: center;
    }

    /* Resumo adjustments */
    .resumo-acoes {
        gap: 8px;
    }

    /* Pagamento header */
    .pagamento-header {
        padding: 20px 0;
    }
    .pagamento-header h1 {
        font-size: 1.25rem;
    }

    /* PIX box */
    .pix-box {
        padding: 20px 15px;
    }
    .pix-qrcode-placeholder {
        width: 200px;
        height: 200px;
    }

    /* Reserva identificada */
    .reserva-identificada {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}

/* Very small phones (400px) */
@media (max-width: 400px) {
    /* Ingresso item wrap */
    .ingresso-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ingresso-info {
        width: 100%;
    }
    .quantidade-selector {
        width: 100%;
        justify-content: center;
    }

    /* Produto card adjustments */
    .produto-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .produto-imagem-container {
        width: 100px;
        height: 100px;
    }
    .produto-acoes {
        flex-direction: column;
        width: 100%;
    }
    .btn-adicionar {
        width: 100%;
    }
    .quantidade-inline {
        justify-content: center;
    }

    /* Calendar day size */
    .calendario-day {
        font-size: 0.8rem;
    }

    /* Legenda wrap */
    .calendario-legenda {
        gap: 10px;
    }
    .legenda-item {
        font-size: 0.7rem;
    }
}

/* ========================================
   PIX PAYMENT - NOVOS ELEMENTOS
   ======================================== */

/* Botao Verificar Pagamento */
.pix-acoes {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.btn-verificar {
    background: var(--success);
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-verificar:hover {
    background: #00843d;
    transform: translateY(-2px);
}

.btn-verificar:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-success {
    background: var(--success);
    color: white;
}

/* Spinner pequeno para botoes */
.spinner-small {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal de Sucesso */
.modal-sucesso {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-sucesso.active {
    display: flex;
}

.modal-sucesso-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sucesso-icone {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-sucesso-content h2 {
    color: var(--success);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modal-sucesso-content p {
    color: var(--gray-700);
    margin-bottom: 10px;
    line-height: 1.6;
}

.sucesso-pedido {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.sucesso-pedido code {
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 5px;
}

.modal-sucesso-content .btn {
    margin-top: 25px;
    padding: 12px 30px;
}

/* Status Pago */
.status-pago {
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#pixStatus.pago {
    background: #e8f5e9;
    border-color: var(--success);
    color: var(--success);
}

#pixStatus.pago .pix-status-spinner {
    display: none;
}

/* Box de Erro PIX */
.pix-erro-box {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.pix-erro-box h3 {
    color: #dc3545;
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.pix-erro-box p {
    color: var(--gray-600);
    margin-bottom: 25px;
}

/* QR Code Image */
.pix-qrcode-img {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
}

/* Mobile adjustments para novos elementos */
@media (max-width: 480px) {
    .btn-verificar {
        width: 100%;
        padding: 14px 20px;
    }

    .modal-sucesso-content {
        padding: 30px 20px;
    }

    .sucesso-icone {
        width: 60px;
        height: 60px;
    }

    .sucesso-icone svg {
        width: 32px;
        height: 32px;
    }

    .modal-sucesso-content h2 {
        font-size: 1.25rem;
    }

    .pix-qrcode-img {
        width: 200px;
        height: 200px;
    }

    .pix-erro-box {
        padding: 30px 20px;
    }
}
