:root {
    color-scheme: light;
    --graphite: #151515;
    --canvas: #f6f7f9;
    --paper: #fff;
    --ink: #17202a;
    --muted: #475569;
    --line: #e2e8f0;
    --field: #a7b0bd;
    --red: #ba2424;
    --red-dark: #951a1a;
    --red-light: #fff0ef;
    --radius: 18px;
    --shadow: 0 8px 25px #17202a08;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--ink);
    background: var(--canvas);
    font: 1rem/1.5 system-ui, "Segoe UI", sans-serif;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.025em; }
h1 { font-size: clamp(1.95rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 760; }
h3 { font-size: 1.08rem; }
a { color: inherit; }
input, button { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #a51c1c; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.clean-list { list-style: none; padding: 0; }
.muted { color: var(--muted); }
.visually-hidden, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link:focus {
    position: absolute;
    z-index: 5;
    top: 8px;
    left: 8px;
    padding: 8px 14px;
    background: var(--paper);
}
.shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-main { flex: 1; padding-block: clamp(24px, 4vw, 48px) 54px; }

.site-header { color: white; background: var(--graphite); border-bottom: 3px solid var(--red); }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.marca { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 760; text-decoration: none; }
.marca img { width: 80px; height: 35px; display: block; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.site-nav a, .menu-button {
    display: flex;
    align-items: center;
    padding: 9px 13px;
    min-height: 44px;
    color: #f1eeee;
    text-decoration: none;
    font-weight: 650;
    font-size: .92rem;
    border-radius: 8px;
}
.site-nav a[aria-current], .site-nav a:hover { background: #343434; color: #fff; }
.site-nav .nav-action { margin-left: 5px; padding-inline: 19px; background: var(--red); color: white; }
.site-nav .nav-action:hover, .site-nav .nav-action[aria-current] { background: var(--red-dark); color: white; }
.menu-button { display: none; border: 1px solid #777; background: #262626; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: #ffc1be; }

.section-label { color: var(--red-dark); font-weight: 750; font-size: .875rem; letter-spacing: .02em; }
.page-intro { max-width: 850px; margin-bottom: 25px; }
.page-intro h1 { margin-block: 6px 10px; }
.page-intro > p:last-child { color: var(--muted); max-width: 66ch; }
.booking-intro h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); }
.panel { padding: clamp(17px, 2.6vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.compact-panel { max-width: 560px; }
.compact-panel > p { margin-top: 9px; }
.compact-panel > .actions { margin-top: 16px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 17px;
    text-decoration: none;
    text-align: center;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--field);
    border-radius: 9px;
    font-weight: 730;
    font-size: .94rem;
    line-height: 1.3;
}
.primary { background: var(--red); color: #fff; border-color: var(--red); }
.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.secondary:hover { background: var(--canvas); border-color: var(--muted); }
.danger { color: var(--red-dark); }
button:disabled { cursor: not-allowed; opacity: .65; }
.text-link { padding: 0; color: var(--red-dark); background: none; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover { color: #6b1212; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.actions form { margin: 0; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.hero-copy { padding-block: clamp(12px, 3vw, 34px); }
.hero-copy h1 { margin-block: 8px 15px; font-size: clamp(2.35rem, 6vw, 4.75rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.hero-copy > p:not(.section-label) { color: var(--muted); max-width: 48ch; font-size: 1.06rem; }
.hero-copy .actions { margin-top: 23px; }
.hero-brand {
    display: grid;
    place-items: center;
    padding: 36px;
    min-height: 210px;
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse at 70% 44%, #6d2020 0%, transparent 68%),
        repeating-linear-gradient(135deg, #ffffff08 0 1px, transparent 1px 20px),
        #171414;
}
.hero-brand img { display: block; width: min(100%, 380px); height: auto; }
.home-section { margin-top: clamp(28px, 5vw, 55px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-section .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card, .catalog-card { display: flex; flex-direction: column; gap: 9px; }
.category-card p, .catalog-card p { color: var(--muted); overflow-wrap: anywhere; }
.category-card .text-link { align-self: flex-start; margin-top: auto; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-grid h2 { margin-bottom: 10px; }
.info-grid p, .info-grid ol { color: var(--muted); margin-bottom: 11px; }
.passos { padding-left: 24px; }
.passos li { padding-left: 4px; margin-bottom: 4px; }
.faq h2 { margin-bottom: 13px; }
.faq details { padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.faq details + details { margin-top: 8px; }
.faq summary { padding-block: 4px; font-weight: 700; }
.faq details p { color: var(--muted); padding: 6px 0 5px; max-width: 74ch; }
.faq details a { color: var(--red-dark); }

.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 21px; }
.category-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
}
.category-nav a:hover { color: var(--red-dark); border-color: var(--red); }
.catalog-section + .catalog-section { margin-top: 30px; }
.catalog-section h2 { margin-bottom: 13px; }
.catalog-card { padding: clamp(14px, 2.2vw, 23px); }
.catalog-card h3 { overflow-wrap: anywhere; }
.catalog-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 5px 10px; flex-wrap: wrap; margin-top: auto; padding-top: 7px; }
.catalog-meta strong { color: var(--red-dark); font-size: 1.18rem; }
.catalog-meta span { color: var(--muted); }
.catalog-card .button { width: 100%; }

.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(258px, 325px); gap: 18px; align-items: start; }
.wizard { min-width: 0; }
.wizard h2 { margin-bottom: 5px; }
.wizard-nav { margin-bottom: 22px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.wizard-nav ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.wizard-nav button {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 5px 7px;
    border-radius: 7px;
    border: 0;
    background: transparent;
    color: var(--muted);
    text-align: left;
    font-size: .87rem;
    font-weight: 700;
    line-height: 1.15;
}
.wizard-nav button:disabled { opacity: 1; color: var(--muted); }
.wizard-nav button span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    min-width: 24px;
    height: 24px;
    background: var(--canvas);
    border-radius: 50%;
}
.wizard-nav button[aria-current] { color: var(--red-dark); background: var(--red-light); }
.wizard-nav button[aria-current] span { color: white; background: var(--red-dark); }
.wizard-nav button:not(:disabled):hover { background: var(--red-light); }
.wizard fieldset { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.booking-category + .booking-category { margin-top: 8px; }
.booking-category { border: 1px solid var(--line); border-radius: 10px; }
.booking-category summary, .summary-panel > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 47px;
    padding: 10px 12px;
    font-weight: 750;
    list-style: none;
}
.booking-category summary::-webkit-details-marker, .summary-panel summary::-webkit-details-marker { display: none; }
.booking-category summary::after, .summary-panel summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin: 0 3px 3px 0;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.booking-category[open] summary::after, .summary-panel[open] summary::after { transform: rotate(225deg); margin-top: 5px; }
.category-count { margin-left: auto; font-weight: 500; color: var(--muted); font-size: .84rem; white-space: nowrap; }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 9px 9px; }
.service-option {
    min-height: 68px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 10px;
    background: #f8f9fb;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.service-option:hover { border-color: var(--field); }
.service-option:has(:checked) { background: var(--red-light); border-color: var(--red); }
.service-option input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.option-copy { min-width: 0; display: grid; gap: 3px; overflow-wrap: anywhere; }
.option-copy > strong { line-height: 1.28; }
.option-description { color: var(--muted); font-size: .87rem; }
.option-meta { display: flex; flex-wrap: wrap; gap: 3px 11px; align-items: baseline; color: var(--muted); font-size: .88rem; }
.option-meta b { color: var(--red-dark); font-size: .96rem; white-space: nowrap; }
.option-meta span { white-space: nowrap; }
.wizard-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding-top: 15px; margin-top: 13px; border-top: 1px solid var(--line); }

.field-grid, .review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.form-stack { display: grid; gap: 13px; }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field > label { font-size: .91rem; font-weight: 700; }
.field small { color: var(--muted); font-size: .83rem; font-weight: 500; }
.field input {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 9px 10px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--field);
    border-radius: 8px;
}
.field input[aria-invalid="true"] { border-color: var(--red); }
.date-field { max-width: 235px; margin: 14px 0 12px; }
.field-error { font-size: .875rem; color: var(--red-dark); margin-top: 3px; }
.field-error:empty { display: none; }
.slot-status { color: var(--muted); font-size: .94rem; min-height: 1.4em; }
#horarios-acoes { margin-top: 8px; }
.slot-group h3 { margin-bottom: 6px; }
.slot-group + .slot-group { margin-top: 13px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 6px; }
.slot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 6px 5px;
    border: 1px solid var(--field);
    border-radius: 7px;
    font-weight: 690;
    cursor: pointer;
}
.slot input { width: 13px; height: 13px; margin: 0; accent-color: var(--red); }
.slot:has(:checked) { color: var(--red-dark); background: var(--red-light); border-color: var(--red); }
.slot:hover { background: var(--canvas); }
.slot:has(:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }

.notice { padding: 10px 13px; margin-bottom: 12px; border-radius: 8px; font-size: .94rem; }
.notice:empty { display: none; }
ul.notice { padding-left: 30px; }
.error { color: var(--red-dark); background: var(--red-light); }
.success { color: #115339; background: #e8f6ec; }
.neutral { color: var(--ink); background: #eef2f6; }
#recuperacao .button { margin-top: 8px; }
.review-item { padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.review-item > div:first-child { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.review-item h3 { margin-bottom: 4px; }
.review-item .text-link { font-size: .86rem; }
.review-item p, .review-item ul { color: var(--muted); overflow-wrap: anywhere; }
.review-total { display: flex; justify-content: space-between; gap: 10px; padding-block: 12px; }
.review-total strong, .summary-panel strong { color: var(--red-dark); }

.booking-summary { position: sticky; top: 14px; }
.summary-panel { padding: 0; }
.summary-panel > summary { padding: 13px 15px; }
.summary-panel > summary strong { margin-left: auto; white-space: nowrap; }
.summary-body { padding: 0 15px 15px; }
.summary-body ul { margin-bottom: 9px; color: var(--muted); overflow-wrap: anywhere; }
.summary-body dl { padding-block: 8px; border-block: 1px solid var(--line); font-size: .91rem; }
.summary-body dl > div { display: flex; justify-content: space-between; gap: 7px; }
.summary-body dd { text-align: right; font-weight: 650; }
.summary-location { color: var(--muted); margin: 8px 0; font-size: .89rem; }
@media (max-height: 690px) { .booking-summary { position: static; } }

.result-panel { max-width: 820px; }
.result-panel + .actions { margin-top: 12px; }
.reservation-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.reservation-code, .pix-key { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.reservation-code { font-size: 1.26rem; letter-spacing: .045em; }
.status-label { padding: 5px 9px; border-radius: 7px; background: #fff1d1; color: #664109; font-size: .875rem; font-weight: 700; }
.status-label.approved { background: #e8f7ed; color: #105538; }
.status-label.cancelled { background: var(--red-light); color: var(--red-dark); }
.reservation-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin-block: 13px; }
.reservation-data dt { color: var(--muted); font-size: .87rem; }
.reservation-data dd { font-weight: 650; overflow-wrap: anywhere; }
.payment-info { border-block: 1px solid var(--line); padding-block: 12px; margin-block: 10px; }
.payment-info h3 { margin-bottom: 5px; }
.payment-info > p { color: var(--muted); }
.pix-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; padding: 0; list-style: none; }
.pix-steps li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8f9fb; }
.pix-steps li > div { display: grid; align-content: start; gap: 7px; min-width: 0; }
.pix-steps strong { line-height: 1.25; }
.pix-steps p { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.pix-steps form { margin: 0; }
.pix-steps .button, .pix-send-button { width: 100%; margin-top: 2px; }
.pix-step-number { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; color: #fff; background: var(--red-dark); border-radius: 50%; font-weight: 800; }
.pix-send-button { max-width: 340px; margin-top: 10px; }
.reservation-actions { margin-top: 12px; }

.site-footer { color: white; background: var(--graphite); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr .75fr; gap: 16px; padding-block: 22px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 3px; }
.footer-inner a, .footer-inner span { color: #e1dedf; font-size: .9rem; }
.footer-inner a { align-self: flex-start; text-underline-offset: .2em; }
.footer-inner a:hover { color: #fff; }
.footer-credit { padding-block: 11px 15px; border-top: 1px solid #423e3e; color: #e1dedf; font-size: .875rem; }
.footer-credit a { color: inherit; text-underline-offset: .2em; }
.footer-credit a:hover { color: #fff; }

@media (max-width: 900px) {
    .shell { width: calc(100% - 36px); }
    .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(235px, 30%); gap: 13px; }
    .wizard-nav button { flex-direction: column; text-align: center; }
    .home-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .js .menu-button { display: flex; }
    .js .menu-button[aria-expanded="false"] + .site-nav { display: none; }
    .header-inner { min-height: 60px; padding-block: 6px; gap: 1px 8px; }
    .site-nav { width: 100%; padding-block: 6px; align-items: stretch; }
    .site-nav a { flex: 1 0 auto; padding-inline: 8px; }
    .site-nav .nav-action { margin-left: 0; }
    .booking-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
    .booking-summary { order: -1; position: static; }
    .home-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hero-copy { padding-block: 0; }
    .hero-brand { padding: 25px; min-height: 165px; }
    .hero-brand img { width: min(100%, 295px); }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pix-steps { grid-template-columns: minmax(0, 1fr); }
    .pix-steps li { padding: 13px; }
}
@media (max-width: 520px) {
    .shell { width: calc(100% - 24px); }
    .site-main { padding-bottom: 32px; }
    .site-nav a { flex: 1 1 calc(50% - 3px); }
    .marca { gap: 7px; font-size: .94rem; }
    .marca img { width: 64px; height: 30px; }
    .page-intro { margin-bottom: 17px; }
    .panel { padding: 14px; border-radius: 13px; }
    .summary-panel { padding: 0; }
    .wizard-nav { margin-bottom: 13px; padding-bottom: 8px; }
    .wizard-nav button { font-size: .81rem; padding-inline: 2px; }
    .service-options, .field-grid, .review-grid, .info-grid, .catalog-section .card-grid, .reservation-data { grid-template-columns: minmax(0, 1fr); }
    .wizard-actions { justify-content: flex-start; }
    .wizard-actions .primary { flex: 1 1 auto; }
    .pix-steps .button, .pix-send-button { min-height: 49px; }
    .slot { font-size: .9rem; }
    .slots { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); }
    .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 330px) {
    .marca img { width: 48px; }
    .marca span { max-width: 10ch; line-height: 1.25; }
    .home-section .card-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; }
}
