/* ──────────────────────────────────────────────
   Thermas Light – Calendar (buy) page
   Scoped under .tc-calendar-page
   Enqueued only on the front page.
   ────────────────────────────────────────────── */

.tc-calendar-page {
    --tc-navy: #003E6F;
    --tc-navy-2: #005596;
    --tc-ink: #101828;
    --tc-gray: #667085;
    --tc-gray-soft: #98A2B3;
    --tc-line: #E4E7EC;
    --tc-surface-light: #F4F6F8;
    --tc-orange: #F97316;
    --tc-orange-soft: #FFF7ED;
    --tc-orange-line: #FED7AA;
    --tc-green: #079157;
    --tc-green-soft: #E7F6EF;
    --tc-red-soft: #FEF2F2;
    --tc-red: #B42318;
}

.tc-calendar-page body {
    background: var(--tc-bg, #F8F9FF);
}

/* ── Header (static, buy variant) ── */
.tc-calendar-page .thermas-header-buy {
    background: #ffffff;
    border-bottom: 1px solid var(--tc-line);
}

.tc-calendar-page .thermas-header-buy__logo {
    max-width: 170px !important;
    height: auto !important;
    width: auto !important;
}

@media (max-width: 640px) {
    .tc-calendar-page .thermas-header-buy__logo {
        max-width: 140px !important;
        height: auto !important;
    }
}

.tc-calendar-page .thermas-header-buy__whatsapp:hover {
    opacity: 0.9;
}

.tc-calendar-page .thermas-header-buy__whatsapp-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ── Layout ── */
.tc-calendar-page .thermas-buy {
    max-width: 100%;
}

/* ── Steps ── */
.tc-calendar-page .thermas-buy-steps {
    margin: 28px auto 0;
}

.tc-calendar-page .thermas-buy-steps__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 640px;
}

.tc-calendar-page .thermas-buy-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}

.tc-calendar-page .thermas-buy-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 17px;
    left: calc(50% + 26px);
    width: calc(100% - 52px);
    height: 2px;
    background: var(--tc-line);
    border-radius: 2px;
}

.tc-calendar-page .thermas-buy-step__index {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #E4E7EC;
    color: #667085;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    z-index: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.tc-calendar-page .thermas-buy-step__label {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--tc-gray);
    padding: 0 8px;
}

.tc-calendar-page .thermas-buy-step.is-active .thermas-buy-step__index {
    background: var(--tc-navy);
    color: #ffffff;
}

.tc-calendar-page .thermas-buy-step.is-active .thermas-buy-step__label {
    color: var(--tc-navy);
    font-weight: 600;
}

.tc-calendar-page .thermas-buy-step.is-done .thermas-buy-step__index {
    background: var(--tc-green);
    color: #ffffff;
}

.tc-calendar-page .thermas-buy-step.is-done .thermas-buy-step__label {
    color: var(--tc-green);
}

/* ── Intro ── */
.tc-calendar-page .thermas-buy-intro {
    text-align: center;
    margin: 32px auto 36px;
    max-width: 720px;
}

.tc-calendar-page .thermas-buy-intro__kicker {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-orange);
    margin: 0 0 10px;
}

.tc-calendar-page .thermas-buy-intro__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--tc-navy);
    margin: 0 0 12px;
    text-wrap: balance;
}

.tc-calendar-page .thermas-buy-intro__subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--tc-gray);
    margin: 0;
}

/* ── Buy cards (shared) ── */
.tc-calendar-page .thermas-buy-card {
    background: #ffffff;
    border: 1px solid var(--tc-line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

/* ── Calendar card ── */
.tc-calendar-page .thermas-calendar-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tc-calendar-page .thermas-calendar-card__kicker,
.tc-calendar-page .thermas-tickets-card__kicker {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-orange);
    margin: 0 0 6px;
}

.tc-calendar-page .thermas-calendar-card__title,
.tc-calendar-page .thermas-tickets-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--tc-navy);
    margin: 0;
    line-height: 1.2;
}

#thermas-calendar-title {
    text-align: center;
}

.tc-calendar-page .thermas-calendar-card .thermas-calendar-container {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

/* ── Flatpickr (calendar engine) under the buy page ── */
.tc-calendar-page .thermas-calendar-card .flatpickr-calendar {
    background: transparent;
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 12px;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-calendar.animate.open {
    animation: none;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-calendar .flatpickr-innerContainer,
.tc-calendar-page .thermas-calendar-card .flatpickr-calendar .flatpickr-rContainer {
    display: block;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-calendar .flatpickr-weekdays {
    padding: 0 0 10px;
    height: auto;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-weekday {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tc-gray-soft);
    background: transparent;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-months {
    margin-bottom: 14px;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-current-month {
    position: relative;
    padding: 0;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    color: var(--tc-navy);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-current-month .thermas-month-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--tc-navy);
    letter-spacing: -0.01em;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-monthDropdown-months,
.tc-calendar-page .thermas-calendar-card .numInputWrapper {
    display: none;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-prev-month,
.tc-calendar-page .thermas-calendar-card .flatpickr-next-month {
    top: 4px;
    padding: 0;
    color: var(--tc-navy);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-prev-month:hover svg,
.tc-calendar-page .thermas-calendar-card .flatpickr-next-month:hover svg {
    fill: var(--tc-orange);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-prev-month.flatpickr-disabled,
.tc-calendar-page .thermas-calendar-card .flatpickr-next-month.flatpickr-disabled {
    cursor: not-allowed;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-days {
    width: 100%;
}

.tc-calendar-page .thermas-calendar-card .dayContainer {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    gap: 4px;
    padding: 0;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day {
    width: calc((100% - 24px) / 7) !important;
    max-width: calc((100% - 24px) / 7) !important;
    flex: 0 0 calc((100% - 24px) / 7) !important;
    min-height: 76px;
    background: var(--tc-surface-light);
    color: var(--tc-ink);
    border: none !important;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    transition: background 0.15s ease, transform 0.1s ease, color 0.15s ease;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day .thermas-day-num {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tc-ink);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day .thermas-day-price {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #5B9BD5;
    white-space: nowrap;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day .thermas-day-promo-mini {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tc-orange);
    background: #FFEAD5;
    border-radius: 999px;
    padding: 2px 6px;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.thermas-has-price:hover,
.tc-calendar-page .thermas-calendar-card .flatpickr-day:hover:not(.disabled):not(.selected) {
    background: #FFEAD5;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.thermas-has-promotion {
    background: var(--tc-orange-soft);
    border: 1px solid var(--tc-orange-line) !important;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.today {
    border: 1px dashed var(--tc-navy-2) !important;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.today:hover {
    background: #FFEAD5;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.selected {
    background: #F97316 !important;
    color: #ffffff !important;
    font-weight: 700;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.selected .thermas-day-num,
.tc-calendar-page .thermas-calendar-card .flatpickr-day.selected .thermas-day-price {
    color: #ffffff;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.selected .thermas-day-promo-mini {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.thermas-no-price:not(.selected) {
    color: var(--tc-gray-soft);
    cursor: not-allowed;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.thermas-no-price:not(.selected):hover {
    background: var(--tc-surface-light);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.prevMonthDay,
.tc-calendar-page .thermas-calendar-card .flatpickr-day.nextMonthDay {
    visibility: hidden;
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.disabled,
.tc-calendar-page .thermas-calendar-card .flatpickr-day.disabled.thermas-has-price {
    color: var(--tc-gray-soft) !important;
    cursor: not-allowed !important;
    background: var(--tc-surface-light);
}

.tc-calendar-page .thermas-calendar-card .flatpickr-day.disabled:hover,
.tc-calendar-page .thermas-calendar-card .flatpickr-day.disabled.thermas-has-price:hover {
    background: var(--tc-surface-light);
}

/* ── Selected date display ── */
.tc-calendar-page .thermas-selected-date {
    min-height: 22px;
    margin: 16px 0 0;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-gray);
}

/* ── Calendar status (loading / error / empty) ── */
.tc-calendar-page .thermas-calendar-status {
    margin-top: 16px;
}

.tc-calendar-page .thermas-calendar-status__icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex: none;
}

.tc-calendar-page .thermas-calendar-status.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tc-gray);
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
}

.tc-calendar-page .thermas-calendar-status.is-loading .thermas-calendar-status__icon {
    border: 2px solid #D7DBE3;
    border-top-color: var(--tc-navy);
    animation: thermas-spin 0.8s linear infinite;
}

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

.tc-calendar-page .thermas-calendar-status.is-error,
.tc-calendar-page .thermas-calendar-status.is-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--tc-red-soft);
    border: 1px solid #FECACA;
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--tc-red);
}

.tc-calendar-page .thermas-calendar-status.is-empty {
    background: #F6F8FA;
    border-color: var(--tc-line);
    color: var(--tc-gray);
}

.tc-calendar-page .thermas-calendar-status__text {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.tc-calendar-page .thermas-calendar-status__retry {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-navy);
    background: #ffffff;
    border: 1px solid var(--tc-line);
    border-radius: 999px;
    padding: 6px 14px;
    cursor: pointer;
}

.tc-calendar-page .thermas-calendar-status__retry:hover {
    border-color: var(--tc-navy);
}

/* ── Promo box ── */
.tc-calendar-page .thermas-promo-box {
    margin-top: 20px;
    background: var(--tc-orange-soft);
    border: 1px solid var(--tc-orange-line);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tc-calendar-page .thermas-promo-box__icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tc-orange);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tc-calendar-page .thermas-promo-box__icon svg {
    width: 20px;
    height: 20px;
}

.tc-calendar-page .thermas-promo-box__content {
    min-width: 0;
}

.tc-calendar-page .thermas-promo-box__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--tc-navy);
    margin: 0 0 4px;
}

.tc-calendar-page .thermas-promo-box__text {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #7A2E0E;
    margin: 0;
}

/* ── Tickets card ── */
.tc-calendar-page .thermas-tickets-card__header {
    margin-bottom: 18px;
}

.tc-calendar-page .thermas-tickets-card__placeholder {
    text-align: center;
    padding: 36px 20px;
}

.tc-calendar-page .thermas-tickets-card__placeholder-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    color: #C1C7D2;
}

.tc-calendar-page .thermas-tickets-card__placeholder-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tc-gray);
    margin: 0;
}

/* ── Park card ── */
.tc-calendar-page .thermas-park-card {
    padding: 0;
    overflow: hidden;
}

.tc-calendar-page .thermas-park-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, #DBE5EF 0%, #C6D4E3 100%);
    overflow: hidden;
}

.tc-calendar-page .thermas-park-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tc-calendar-page .thermas-park-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: var(--tc-gray-soft);
}

.tc-calendar-page .thermas-park-card__kicker {
    position: absolute;
    left: 14px;
    bottom: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--tc-navy);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 5px 12px;
}

.tc-calendar-page .thermas-park-card__body {
    padding: 20px 22px 22px;
}

.tc-calendar-page .thermas-park-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--tc-navy);
    margin: 0 0 12px;
}

.tc-calendar-page .thermas-park-card__facts {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-calendar-page .thermas-park-card__facts li {
    position: relative;
    padding-left: 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--tc-gray);
}

.tc-calendar-page .thermas-park-card__facts li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(7, 145, 87, 0.28);
    border: 2px solid var(--tc-green);
}

.tc-calendar-page .thermas-park-card__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #05603A;
    margin: 0 0 16px;
}

.tc-calendar-page .thermas-park-card__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tc-green);
}

.tc-calendar-page .thermas-park-card__cta {
    width: 100%;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--tc-gray-soft);
    background: #E4E7EC;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: not-allowed;
}

.tc-calendar-page .thermas-park-card__hint {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #B3B9C4;
    text-align: center;
    margin: 10px 0 0;
}

/* ── Atendimento card ── */
.tc-calendar-page .thermas-help-card__kicker {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tc-orange);
    margin: 0 0 6px;
}

.tc-calendar-page .thermas-help-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--tc-navy);
    margin: 0 0 8px;
}

.tc-calendar-page .thermas-help-card__intro {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--tc-ink);
    margin: 0 0 14px;
}

.tc-calendar-page .thermas-help-card__hours {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-calendar-page .thermas-help-card__hours li,
.tc-calendar-page .thermas-help-card__address {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--tc-gray);
}

.tc-calendar-page .thermas-help-card__address {
    margin: 0 0 18px;
}

.tc-calendar-page .thermas-help-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: var(--tc-green);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.tc-calendar-page .thermas-help-card__cta:hover {
    opacity: 0.9;
}

/* ── Benefits ── */
.tc-calendar-page .thermas-benefits {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid var(--tc-line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

.tc-calendar-page .thermas-benefit {
    padding: 24px 22px;
}

.tc-calendar-page .thermas-benefit + .thermas-benefit {
    border-left: 1px solid var(--tc-line);
}

.tc-calendar-page .thermas-benefit__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--tc-orange-soft);
    color: var(--tc-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.tc-calendar-page .thermas-benefit__icon svg {
    width: 20px;
    height: 20px;
}

.tc-calendar-page .thermas-benefit__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--tc-ink);
    margin: 0 0 6px;
}

.tc-calendar-page .thermas-benefit__text {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--tc-gray);
    margin: 0;
}

/* ── Antes de comprar ── */
.tc-calendar-page .thermas-buy-precheck {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid var(--tc-line);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.tc-calendar-page .thermas-buy-precheck > h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--tc-navy);
    margin: 0 0 20px;
}

.tc-calendar-page .thermas-accordion {
    display: flex;
    flex-direction: column;
}

.tc-calendar-page .thermas-accordion__item {
    border-top: 1px solid var(--tc-line);
}

.tc-calendar-page .thermas-accordion__item:last-child {
    border-bottom: 1px solid var(--tc-line);
}

.tc-calendar-page .thermas-accordion__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
}

.tc-calendar-page .thermas-accordion__label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--tc-ink);
}

.tc-calendar-page .thermas-accordion__icon {
    flex: none;
    color: var(--tc-gray);
    transition: transform 0.2s ease;
}

.tc-calendar-page .thermas-accordion__item.is-open .thermas-accordion__icon {
    transform: rotate(180deg);
}

.tc-calendar-page .thermas-accordion__panel {
    padding: 0 0 18px;
}

.tc-calendar-page .thermas-accordion__panel p {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--tc-gray);
    margin: 0 0 10px;
}

.tc-calendar-page .thermas-accordion__panel p:last-child {
    margin-bottom: 0;
}

.tc-calendar-page .thermas-accordion__panel a {
    color: var(--tc-navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tc-calendar-page .thermas-buy-precheck__notes {
    margin-top: 20px;
    background: var(--tc-surface-light);
    border-radius: 10px;
    padding: 14px 16px;
}

.tc-calendar-page .thermas-buy-precheck__notes p {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    line-height: 1.55;
    color: var(--tc-gray);
    margin: 0 0 6px;
}

.tc-calendar-page .thermas-buy-precheck__notes p:last-child {
    margin-bottom: 0;
}

/* ── Footer (buy variant) ── */
.tc-calendar-page .thermas-footer-buy {
    background: #ffffff;
    border-top: 1px solid var(--tc-line);
    margin-top: 24px;
}

.tc-calendar-page .thermas-footer-buy__logo {
    max-width: 190px;
    height: auto;
}

.tc-calendar-page .thermas-footer-buy__payment-icon svg {
    display: block;
    width: 46px;
    height: auto;
    border-radius: 6px;
}

.tc-calendar-page .thermas-footer-buy__social {
    border: 1px solid var(--tc-line);
}

.tc-calendar-page .thermas-footer-buy__social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ── Responsive ── */
@media (max-width: 639px) {
    .tc-calendar-page .thermas-buy-card {
        padding: 18px;
    }

    .tc-calendar-page .thermas-calendar-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-calendar-page .thermas-buy-step__label {
        font-size: 11px;
    }

    .tc-calendar-page .thermas-benefits {
        grid-template-columns: 1fr;
    }

    .tc-calendar-page .thermas-benefit + .thermas-benefit {
        border-left: none;
        border-top: 1px solid var(--tc-line);
    }

    .tc-calendar-page .thermas-buy-precheck {
        padding: 20px;
    }
}

/* ──────────────────────────────────────────────
   Novas melhorias da tela de ingressos
   ────────────────────────────────────────────── */

/* 1. Faixa de informações essenciais */
.thermas-essential-strip {
    background: #FFFFFF;
    border: 1px solid #DCE6EE;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thermas-essential-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: center;
}

.thermas-essential-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.thermas-essential-item__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #EAF6FD;
    color: #087F8C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thermas-essential-item__icon svg {
    width: 18px;
    height: 18px;
}

.thermas-essential-item__text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #073B59;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

@media (max-width: 1023px) and (min-width: 640px) {
    .thermas-essential-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 20px;
    }
}

@media (max-width: 639px) {
    .thermas-essential-strip {
        padding: 12px 14px;
    }
    .thermas-essential-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 12px;
    }
    .thermas-essential-item {
        gap: 8px;
    }
    .thermas-essential-item__icon {
        width: 28px;
        height: 28px;
    }
    .thermas-essential-item__icon svg {
        width: 16px;
        height: 16px;
    }
    .thermas-essential-item__text {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .thermas-essential-strip__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* 2 & 3. Modal de regras da meia-entrada */
body.thermas-meia-modal-open {
    overflow: hidden !important;
}

.thermas-meia-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.thermas-meia-modal.is-open {
    display: flex;
}

.thermas-meia-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 43, 70, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.thermas-meia-modal-panel {
    position: relative;
    width: 100%;
    max-width: 660px;
    max-height: min(680px, 92vh);
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(7, 59, 89, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.thermas-meia-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #E8EFF5;
    background: #FFFFFF;
    flex-shrink: 0;
}

.thermas-meia-modal-header__title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.thermas-meia-modal-header__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EAF6FD;
    color: #087F8C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thermas-meia-modal-header__icon svg {
    width: 22px;
    height: 22px;
}

.thermas-meia-modal-header h2 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #073B59;
    letter-spacing: -0.01em;
}

.thermas-meia-modal-header p {
    margin: 2px 0 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: #667085;
}

.thermas-meia-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F4F8FB;
    border: 1px solid #DCE6EE;
    color: #526783;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.thermas-meia-modal-close:hover,
.thermas-meia-modal-close:focus {
    background: #E8EFF5;
    color: #073B59;
    outline: none;
}

.thermas-meia-modal-body {
    padding: 22px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
}

.thermas-meia-category-card {
    background: #F8FBFD;
    border: 1px solid #DCE6EE;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.thermas-meia-category-card.is-open {
    border-color: #087F8C;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(8, 127, 140, 0.08);
}

.thermas-meia-category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.thermas-meia-category-toggle:hover {
    background: #F1F7FB;
}

.thermas-meia-category-card.is-open .thermas-meia-category-toggle {
    background: #F4F9FC;
    border-bottom: 1px solid #E8EFF5;
}

.thermas-meia-category-toggle__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.thermas-meia-category-toggle__lead svg {
    flex-shrink: 0;
}

.thermas-meia-category-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #073B59;
    line-height: 1.35;
}

.thermas-meia-category-toggle__arrow {
    flex-shrink: 0;
    color: #526783;
    transition: transform 0.2s ease;
}

.thermas-meia-category-card.is-open .thermas-meia-category-toggle__arrow {
    transform: rotate(180deg);
    color: #087F8C;
}

.thermas-meia-category-panel {
    padding: 12px 14px 14px;
}

.thermas-meia-category-panel[hidden] {
    display: none !important;
}

.thermas-meia-category-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #F8FBFD;
    border: 1px solid #E8EFF5;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #475467;
}

.thermas-meia-category-meta strong {
    color: #073B59;
    font-weight: 700;
}

.thermas-meia-notice-card {
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.thermas-meia-notice-card.is-warning {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #7A3906;
}

.thermas-meia-notice-card.is-info {
    background: #EAF6FD;
    border: 1px solid #D0E7F6;
    color: #0E4870;
}

.thermas-meia-notice-card h4 {
    margin: 0 0 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.thermas-meia-notice-card ul {
    margin: 4px 0 0;
    padding-left: 18px;
    list-style-type: disc;
}

.thermas-meia-notice-card li {
    margin-bottom: 4px;
}

.thermas-meia-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #E8EFF5;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.thermas-meia-modal-btn {
    background: #087F8C;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.thermas-meia-modal-btn:hover,
.thermas-meia-modal-btn:focus {
    background: #06616B;
    outline: none;
}

@media (max-width: 639px) {
    .thermas-meia-modal {
        padding: 12px 10px calc(80px + env(safe-area-inset-bottom, 0px)) 10px;
        align-items: flex-end;
    }
    .thermas-meia-modal-panel {
        max-height: calc(100vh - 100px - env(safe-area-inset-bottom, 0px));
        border-radius: 16px;
        margin-bottom: 0;
    }
    .thermas-meia-modal-header {
        padding: 14px 16px;
    }
    .thermas-meia-modal-header h2 {
        font-size: 17px;
    }
    .thermas-meia-modal-body {
        padding: 14px 16px;
        gap: 12px;
    }
    .thermas-meia-modal-footer {
        padding: 12px 16px;
    }
    .thermas-meia-modal-btn {
        width: 100%;
        padding: 12px;
    }
}

/* 4. Bloco O que está incluído no ingresso */
.thermas-inclusion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.thermas-inclusion-box {
    border-radius: 8px;
    padding: 12px 14px;
}

.thermas-inclusion-box.is-included {
    background: #F0FBF5;
    border: 1px solid #A6E7C4;
}

.thermas-inclusion-box.is-excluded {
    background: #F8FBFD;
    border: 1px solid #DCE6EE;
}

.thermas-inclusion-box__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.thermas-inclusion-box.is-included .thermas-inclusion-box__title {
    color: #079157;
}

.thermas-inclusion-box.is-excluded .thermas-inclusion-box__title {
    color: #526783;
}

.thermas-inclusion-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.thermas-inclusion-item {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: #526783;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

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

/* 5. Reorganização de Retirada e documentos */
.thermas-retirada-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.thermas-retirada-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid #E8EFF5;
    border-radius: 8px;
    padding: 12px 14px;
}

.thermas-retirada-step__badge {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #EAF6FD;
    color: #087F8C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.thermas-retirada-step__content h4 {
    margin: 0 0 2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #073B59;
}

.thermas-retirada-step__content p {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: #526783;
    line-height: 1.45;
}

/* 7. Garantias de pagamento no resumo da compra */
.thermas-summary-guarantees {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.thermas-summary-guarantee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #526783;
    line-height: 1.3;
}

.thermas-summary-guarantee-item svg {
    color: #087F8C;
    flex-shrink: 0;
}

/* 8. Secao de atracoes com scroll-snap no mobile */
.thermas-atracoes-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.thermas-atracoes-track::-webkit-scrollbar {
    display: none;
}
.thermas-atracoes-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: start;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .thermas-atracoes-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        overflow-x: visible;
        padding-bottom: 0;
    }
    .thermas-atracoes-card {
        flex: auto;
        max-width: none;
        scroll-snap-align: none;
    }
}

/* 9. Botoes de quantidade (+ e -) dos cards de ingresso */
.thermas-tickets-section .thermas-qty-btn,
#thermas-tickets-grid .thermas-qty-btn {
    -webkit-appearance: none;
    appearance: none;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    outline: none;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.thermas-tickets-section .thermas-qty-btn[data-action="plus"],
#thermas-tickets-grid .thermas-qty-btn[data-action="plus"] {
    background-color: #087F8C !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
}

.thermas-tickets-section .thermas-qty-btn[data-action="plus"]:hover,
#thermas-tickets-grid .thermas-qty-btn[data-action="plus"]:hover {
    background-color: #06616B !important;
}

.thermas-tickets-section .thermas-qty-btn[data-action="minus"],
#thermas-tickets-grid .thermas-qty-btn[data-action="minus"] {
    background-color: transparent !important;
    border: 2px solid #DCE6EE !important;
    color: #DCE6EE !important;
}

.thermas-tickets-section .thermas-qty-btn[data-action="minus"]:not(.cursor-not-allowed),
#thermas-tickets-grid .thermas-qty-btn[data-action="minus"]:not(.cursor-not-allowed) {
    border-color: #087F8C !important;
    color: #087F8C !important;
    cursor: pointer !important;
}

.thermas-tickets-section .thermas-qty-btn[data-action="minus"]:not(.cursor-not-allowed):hover,
#thermas-tickets-grid .thermas-qty-btn[data-action="minus"]:not(.cursor-not-allowed):hover {
    background-color: #EAF6FD !important;
}