:root {
    --acamps-ink: #120f36;
    --acamps-night: #201761;
    --acamps-teal: #007d75;
    --acamps-teal-bright: #00a893;
    --acamps-orange: #ff4b2f;
    --acamps-paper: #f7fbf7;
    --acamps-muted: #63706d;
    --acamps-line: rgba(18, 15, 54, 0.12);
    --event-banner-image: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f4f7f4;
    color: var(--acamps-ink);
    font-family: 'Poppins', Arial, sans-serif;
}

a {
    color: var(--acamps-teal);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding: 0.9rem clamp(1rem, 4vw, 2.8rem);
    color: #fff;
    background: rgba(18, 15, 54, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}

nav ul.menu {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.7rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul.menu a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
}

nav ul.menu a:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.acamps-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 16% 20%, rgba(0, 168, 147, 0.42), transparent 25%),
        radial-gradient(circle at 72% 16%, rgba(0, 125, 117, 0.36), transparent 26%),
        radial-gradient(circle at 45% 72%, rgba(255, 75, 47, 0.15), transparent 20%),
        linear-gradient(135deg, #0e0c2e 0%, #211867 48%, #005f61 100%);
}

.acamps-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 5px 5px;
    mix-blend-mode: screen;
    pointer-events: none;
}

.acamps-hero.has-event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image: var(--event-banner-image);
    background-position: center;
    background-size: cover;
    filter: blur(12px) saturate(1.2);
    transform: scale(1.04);
    pointer-events: none;
}

.acamps-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: calc(100svh - 70px);
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.event-eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #fff;
    background: var(--acamps-orange);
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-weight: 900;
    transform: rotate(-2deg);
    box-shadow: 0 12px 30px rgba(255, 75, 47, 0.24);
}

.event-title h1 {
    margin: 0;
    max-width: 680px;
    color: #fff;
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 6.8rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}

.event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.hero-actions,
.payment-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-acamps,
.btn-acamps-secondary,
.btn-acamps-outline {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.75rem 1.1rem;
    font-weight: 900;
    border: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-acamps {
    color: #fff;
    background: var(--acamps-orange);
    box-shadow: 0 12px 24px rgba(255, 75, 47, 0.26);
}

.btn-acamps:hover,
.btn-acamps-secondary:hover,
.btn-acamps-outline:hover {
    transform: translateY(-1px);
}

.btn-acamps-secondary {
    color: #fff;
    background: var(--acamps-teal);
    box-shadow: 0 12px 24px rgba(0, 125, 117, 0.22);
}

.btn-acamps-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.banner {
    width: 100%;
    min-height: clamp(260px, 43vw, 530px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 125, 117, 0.5), rgba(32, 23, 97, 0.75)),
        radial-gradient(circle at 22% 18%, rgba(0, 168, 147, 0.55), transparent 26%);
    background-position: center;
    background-size: cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
    cursor: pointer;
}

.banner.has-image {
    background-size: cover;
    background-position: center;
}

.content-band {
    background: var(--acamps-paper);
}

.page-shell {
    width: min(1040px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.event-details,
.ticket-option,
.formulario-ingresso,
.payment-panel,
.total-summary {
    background: #fff;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(18, 15, 54, 0.08);
}

.event-details,
.payment-panel {
    padding: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 1.2rem;
}

.payment-panel {
    text-align: center;
}

.coupon-panel {
    width: min(100%, 620px);
    padding: 0.95rem;
    margin: 1rem auto;
    background: #fff;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(18, 15, 54, 0.08);
    text-align: center;
}

.coupon-panel .input-group {
    align-items: stretch;
    margin-inline: auto;
    max-width: 560px;
    text-align: left;
}

.coupon-panel .form-control:disabled {
    background: #f7fbf8;
    color: var(--acamps-night);
    font-weight: 800;
    cursor: not-allowed;
}

.event-details h2,
.payment-panel h2,
.section-heading h2 {
    margin: 0 0 1rem;
    color: var(--acamps-night);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
}

#descricao-evento {
    color: #32413f;
    line-height: 1.75;
}

#localidade-evento {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--acamps-line);
    font-weight: 700;
}

.ticket-section,
.products-section {
    padding-top: 1rem;
}

.section-heading {
    margin: 2rem 0 1rem;
}

.ticket-section .section-heading {
    text-align: center;
}

.section-heading span,
.ticket-kicker,
.form-title span {
    color: var(--acamps-orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.container-ingressos,
.products-grid {
    display: grid;
    gap: 1rem;
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin-bottom: 2rem;
}

.perfil-ingresso-selector {
    width: min(100%, 900px);
    margin-inline: auto;
    padding: 0.5rem;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(18, 15, 54, 0.06);
}

.perfil-ingresso-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.perfil-ingresso-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f6f8fb;
    color: var(--acamps-night);
    font-weight: 900;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.perfil-ingresso-btn:hover,
.perfil-ingresso-btn.active {
    border-color: var(--acamps-orange);
    background: var(--acamps-night);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(18, 15, 54, 0.16);
}

.ticket-option,
.product-card {
    padding: clamp(1rem, 3vw, 1.4rem);
}

.ticket-option {
    width: min(100%, 900px);
    margin-inline: auto;
    scroll-margin-top: 96px;
}

.ticket-option.is-selected {
    border-color: rgba(255, 75, 47, 0.46);
    box-shadow: 0 18px 52px rgba(255, 75, 47, 0.12);
}

.ticket-option.is-sold-out {
    opacity: 0.72;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(18, 15, 54, 0.08);
}

.product-card.is-sold-out {
    opacity: 0.7;
}

.product-media {
    margin: calc(clamp(1rem, 3vw, 1.4rem) * -1) calc(clamp(1rem, 3vw, 1.4rem) * -1) 1rem;
    aspect-ratio: 16 / 10;
    background: #eef5f1;
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-body h3 {
    margin: 0.25rem 0 0.55rem;
    color: var(--acamps-night);
    font-size: 1.15rem;
    font-weight: 900;
}

.product-body p {
    margin: 0;
    color: var(--acamps-muted);
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1rem;
}

.product-footer strong {
    color: var(--acamps-teal);
    font-size: 1.35rem;
    line-height: 1;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    background: #eef8f5;
    color: var(--acamps-teal);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.product-stock.is-empty {
    background: #fff0ed;
    color: #b42318;
}

.ticket-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.ticket-main h5 {
    margin: 0.25rem 0 0.3rem;
    color: var(--acamps-night);
    font-weight: 900;
}

.id-ingresso {
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 1px;
}

.ticket-price {
    text-align: right;
}

.ticket-price strong {
    display: block;
    color: var(--acamps-teal);
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1;
}

.ticket-price span {
    display: block;
    margin-top: 0.35rem;
    color: var(--acamps-muted);
    font-size: 0.82rem;
}

.ticket-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-ticket {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--acamps-line);
    background: #f6faf7;
    color: var(--acamps-night);
    font-size: 1.2rem;
    font-weight: 900;
}

.btn-ticket:hover {
    color: #fff;
    background: var(--acamps-night);
}

.quantidade {
    width: 64px !important;
    height: 42px;
    min-height: 42px;
    padding: 0;
    text-align: center;
    border-radius: 8px;
    font-weight: 900;
    line-height: 42px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantidade::-webkit-outer-spin-button,
.quantidade::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    margin-top: 0.8rem;
    color: var(--acamps-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.ticket-status-danger {
    color: #b42318;
}

.total-summary {
    width: min(100%, 620px);
    padding: 0.95rem;
    margin: 1rem 0 0;
    text-align: center;
    box-shadow: none;
    background: #f7fbf8;
}

.total-summary h3,
.total-summary p {
    margin: 0.35rem 0;
}

.cart-breakdown {
    display: grid;
    gap: 0.45rem;
    max-width: 560px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--acamps-line);
    text-align: left;
}

.cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--acamps-muted);
    font-size: 0.95rem;
}

.cart-row strong {
    color: var(--acamps-night);
}

.cart-row.cart-total {
    margin-top: 0.25rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--acamps-line);
    color: var(--acamps-night);
    font-weight: 900;
}

.cart-breakdown ul {
    margin: 0.4rem 0 0;
    padding-left: 1rem;
    color: var(--acamps-muted);
    font-size: 0.86rem;
}

.forms-section {
    display: grid;
    gap: 1rem;
}

.formulario-ingresso {
    padding: clamp(1rem, 3vw, 1.4rem);
}

.form-title h5 {
    margin: 0.25rem 0 1rem;
    color: var(--acamps-night);
    font-weight: 900;
}

.participant-products {
    padding: 1rem;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    background: #f7fbf8;
}

.participant-products-heading {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}

.participant-products-heading span {
    color: var(--acamps-orange);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.participant-products-heading strong {
    color: var(--acamps-night);
}

.form-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.form-product-option {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: start;
    min-height: 152px;
    padding: 0.8rem;
    border: 1px solid rgba(18, 15, 54, 0.1);
    border-radius: 8px;
    background: #fff;
}

.form-product-option.is-selected {
    border-color: rgba(255, 75, 47, 0.42);
    box-shadow: 0 12px 28px rgba(255, 75, 47, 0.1);
}

.product-expand-toggle {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 20px;
    gap: 0.85rem;
    align-items: start;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.product-expand-toggle > img {
    width: 96px;
    height: 118px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef5f1;
}

.product-expand-toggle > i {
    margin-top: 0.35rem;
    color: var(--acamps-muted);
    transition: transform 0.18s ease;
}

.form-product-option.is-expanded .product-expand-toggle > i {
    transform: rotate(180deg);
}

.form-product-info {
    min-width: 0;
}

.form-product-info strong {
    display: block;
    margin: 0;
    color: var(--acamps-night);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
}

.form-product-info small {
    display: block;
    margin-top: 0.3rem;
    color: var(--acamps-teal);
    font-weight: 900;
}

.form-product-info em {
    display: inline-block;
    margin-top: 0.4rem;
    color: var(--acamps-muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.product-expanded-panel {
    display: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    background: #f6faf7;
}

.form-product-option.is-expanded .product-expanded-panel {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
}

.product-expanded-panel img {
    width: 150px;
    height: 170px;
    border-radius: 8px;
    object-fit: cover;
    background: #eef5f1;
}

.product-expanded-panel p {
    margin: 0;
    color: var(--acamps-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.produto-tamanho {
    width: 100%;
    min-height: 38px;
    font-size: 0.86rem;
}

.product-stepper {
    display: grid;
    grid-template-columns: 36px 48px 36px;
    gap: 0.35rem;
    align-items: center;
    width: max-content;
}

.produto-decrement,
.produto-increment {
    width: 36px;
    height: 36px;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    background: #f6faf7;
    color: var(--acamps-night);
    font-size: 1.15rem;
    font-weight: 900;
}

.produto-decrement:hover,
.produto-increment:hover {
    background: var(--acamps-night);
    color: #fff;
}

.produto-quantidade {
    width: 48px !important;
    min-height: 36px;
    text-align: center;
    font-weight: 900;
    padding-left: 0;
    padding-right: 0;
}

.product-size-row {
    display: grid;
    gap: 0.35rem;
    margin-top: -0.15rem;
    width: 100%;
}

.product-size-row label {
    margin: 0;
    color: var(--acamps-muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.form-control,
.form-select {
    min-height: 44px;
    border-radius: 8px;
    border-color: var(--acamps-line);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--acamps-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 125, 117, 0.14);
}

.form-check-input:checked {
    background-color: var(--acamps-orange);
    border-color: var(--acamps-orange);
}

.minor-term-alert {
    color: var(--acamps-night);
    border: 1px solid rgba(0, 125, 117, 0.22);
    border-left: 4px solid var(--acamps-orange);
    background: rgba(0, 125, 117, 0.09);
}

.minor-term-alert strong {
    color: var(--acamps-teal);
}

.minor-term-download-btn {
    color: #fff;
    background: var(--acamps-orange);
    box-shadow: 0 10px 22px rgba(255, 75, 47, 0.22);
}

.minor-term-download-btn:hover {
    color: #fff;
    background: #e63f27;
}

.payer-email {
    max-width: 440px;
}

.checkout-total {
    color: var(--acamps-night);
    font-size: 1.2rem;
    font-weight: 900;
}

.empty-state {
    margin: 0;
    padding: 1.2rem;
    border: 1px dashed rgba(18, 15, 54, 0.2);
    border-radius: 8px;
    color: var(--acamps-muted);
    text-align: center;
    background: #fff;
}

.empty-state.error {
    color: #b42318;
}

#pix-content img {
    max-width: min(100%, 250px);
    border-radius: 8px;
}

#pix-code-textarea {
    width: 100%;
    max-width: 520px;
    min-height: 110px;
    border: 1px solid var(--acamps-line);
    border-radius: 8px;
    padding: 1rem;
}

#whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

#whatsapp-widget img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    max-width: min(96vw, 1500px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 42px;
    line-height: 1;
}

@media (max-width: 900px) {
    .acamps-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .banner {
        min-height: 48vw;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 64px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav ul.menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.7rem 1rem 1rem;
        background: rgba(18, 15, 54, 0.98);
    }

    nav ul.menu.active {
        display: flex;
    }

    nav ul.menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav ul.menu li:last-child {
        border-bottom: 0;
    }

    nav ul.menu a {
        display: block;
        padding: 0.85rem 0;
    }

    .ticket-main {
        grid-template-columns: 1fr;
    }

    .perfil-ingresso-actions {
        grid-template-columns: 1fr;
    }

    .ticket-price {
        text-align: left;
    }

    .hero-actions,
    .payment-actions {
        flex-direction: column;
    }

    .btn-acamps,
    .btn-acamps-secondary,
    .btn-acamps-outline {
        width: 100%;
    }

    .form-products-grid {
        grid-template-columns: 1fr;
    }

    .product-expand-toggle {
        grid-template-columns: 88px minmax(0, 1fr) 20px;
    }

    .product-expand-toggle > img {
        width: 88px;
        height: 112px;
    }

    .form-product-option.is-expanded .product-expanded-panel {
        grid-template-columns: 1fr;
    }

    .product-expanded-panel img {
        width: 100%;
        height: auto;
        max-height: 280px;
    }
}
