:root {
    --brand: #e9411c;
    --brand-dark: #c73514;
    --white: #ffffff;
    --text: #e8e8e6;
    --muted: #9b9b98;
    --faint: #5f5f5c;
    --black: #0b0b0b;
    --graphite: #121212;
    --surface: #181818;
    --line: #262626;
    --line-strong: #353535;
    --header-h: 92px;
    --font-title: 'Space Grotesk', system-ui, sans-serif;
    --font-text: 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.65;
    background: var(--black);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--white);
}

h1 {
    font-size: clamp(2.6rem, 5.6vw, 5rem);
}

h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

p + p {
    margin-top: 14px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.eyebrow,
.section-label {
    font-family: var(--font-title);
    font-size: .78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--muted);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 560px;
}

/* ---------- Linhas da logomarca ---------- */
.rule {
    display: inline-grid;
    gap: 3px;
    width: 28px;
    flex-shrink: 0;
}

.rule::before,
.rule::after {
    content: '';
    background: var(--brand);
}

.rule::before {
    height: 1px;
}

.rule::after {
    height: 3px;
}

.rule-wide {
    width: 64px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: var(--brand);
    color: var(--white);
    font-family: var(--font-title);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, opacity .2s;
}

.btn:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--muted);
}

.btn-sm {
    padding: 9px 18px;
    font-size: .88rem;
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    gap: 10px;
    margin-top: 40px;
    background: none;
    border: 0;
    font-family: var(--font-title);
    font-size: .95rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
    transition: color .2s;
}

.link-arrow:hover {
    color: var(--brand);
}

.link-small {
    margin-top: 20px;
    font-size: .85rem;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    transition: background-color .3s, height .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    --header-h: 72px;
    background-color: rgba(11, 11, 11, .9);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--line);
}

.logo img {
    width: 148px;
    height: auto;
    transition: width .3s;
}

.site-header.is-scrolled .logo img {
    width: 124px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-nav a:not(.btn) {
    font-family: var(--font-title);
    font-size: .82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--text);
    text-decoration: none;
    transition: color .2s;
}

.site-nav a:not(.btn):hover {
    color: var(--white);
}

.site-nav a.active {
    position: relative;
    color: var(--white);
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: .14em;
    bottom: -8px;
    height: 2px;
    background: var(--brand);
}

/* Menu do usuário logado */
.nav-user {
    position: relative;
}

.nav-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: .82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--text);
    transition: color .2s;
}

.nav-user-toggle:hover,
.nav-user-toggle.is-current,
.nav-user.is-open .nav-user-toggle {
    color: var(--white);
}

.nav-user-toggle svg {
    transition: transform .2s;
}

.nav-user.is-open .nav-user-toggle svg {
    transform: rotate(180deg);
}

.nav-user-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
}

.nav-user.is-open .nav-user-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.site-nav .nav-user-menu a,
.nav-user-menu button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    text-align: left;
    font-family: var(--font-text);
    font-size: .9rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    cursor: pointer;
}

.site-nav .nav-user-menu a:hover,
.nav-user-menu button:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--white);
}

.nav-cta {
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .8rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-h) + 40px) 0 80px;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(11, 11, 11, .6) 0%, rgba(11, 11, 11, .35) 70%),
        linear-gradient(to top, var(--black) 0%, rgba(11, 11, 11, 0) 35%);
}

.hero-content {
    position: relative;
}

.hero h1 {
    margin: 22px 0 22px;
}

.hero .lead {
    margin: 0 auto;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    color: var(--text);
}

/* ---------- Hero das páginas internas ---------- */
.page-hero {
    padding: calc(var(--header-h) + 100px) 0 72px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    max-width: 900px;
}

.page-hero .lead {
    margin-top: 24px;
}

/* ---------- Seções ---------- */
.section {
    padding: 128px 0;
}

.section-tight {
    padding: 96px 0;
}

.section-flush-top {
    padding-top: 0;
}

.section-alt {
    background: var(--graphite);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    margin-bottom: 64px;
}

.section-head-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
}

.section-head-split .lead {
    justify-self: end;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 96px;
    align-items: center;
}

.split-text h2 {
    margin-bottom: 24px;
}

.split-text p {
    color: var(--muted);
}

/* ---------- Passos ---------- */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.steps li {
    padding: 36px 40px 0 0;
}

.steps li + li {
    padding-left: 40px;
    border-left: 1px solid var(--line);
}

.step-num {
    display: inline-block;
    font-family: var(--font-title);
    font-size: .85rem;
    color: var(--brand);
    margin-bottom: 20px;
}

.steps h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.steps p {
    color: var(--muted);
}

/* ---------- Planos ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
    background: var(--black);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.plan.is-featured {
    border-color: var(--line-strong);
    box-shadow: inset 0 3px 0 var(--brand);
}

.plan-name {
    font-family: var(--font-title);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--muted);
}

.plan-title {
    font-size: 2.2rem;
    margin: 14px 0 12px;
}

.plan-desc {
    color: var(--muted);
    min-height: 3.3em;
}

.plan-price {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
    margin: 32px 0 0 !important;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.plan-price small {
    font-size: .9rem;
    color: var(--muted);
}

.plan-tiers {
    margin-top: 6px !important;
    font-size: .85rem;
    color: var(--muted);
}

.plans-packages {
    margin-top: 20px;
}

.plans-note {
    margin-top: 24px;
}

.plan-features {
    list-style: none;
    margin: 24px 0 36px;
    flex-grow: 1;
}

.plan-features li {
    padding: 7px 0 7px 26px;
    position: relative;
    font-size: .95rem;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(7px + .8em);
    width: 12px;
    height: 1px;
    background: var(--brand);
}

/* ---------- Fotos ---------- */
.photo {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    min-height: 320px;
    border-radius: 4px;
}

.photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-media {
    min-height: 540px;
}

.photo-banner {
    min-height: 0;
    aspect-ratio: 21 / 9;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--line-strong);
}

.photo-hint {
    text-align: center;
    font-family: var(--font-title);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--faint);
}

.photo-hint strong {
    color: var(--muted);
    font-weight: 500;
}

/* ---------- Serviços ---------- */
.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}

.service-list li {
    padding: 36px 32px 0 0;
}

.service-list li + li {
    padding-left: 32px;
    border-left: 1px solid var(--line);
}

.service-list h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-list p {
    color: var(--muted);
    font-size: .95rem;
}

.service-rows {
    display: grid;
    gap: 96px;
}

.service-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-row:nth-child(even) .photo {
    order: 2;
}

.service-row .photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.service-row h2 {
    margin-bottom: 20px;
}

/* ---------- Studio ---------- */
.facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.facts h3 {
    margin-bottom: 10px;
}

.facts p {
    color: var(--muted);
    font-size: .95rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 12px;
}

.gallery .photo {
    min-height: 0;
}

.g-wide {
    grid-column: span 2;
}

/* ---------- Contato ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: stretch;
}

.contact-item {
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.contact-item:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-label {
    font-family: var(--font-title);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--muted);
    margin-bottom: 12px;
}

.contact-value {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color .2s;
}

a.contact-value:hover {
    color: var(--brand);
}

.contact-address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 20px;
}

.contact-map {
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    background: var(--surface);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(1) invert(.92) contrast(.85);
}

/* ---------- Agendamento ---------- */
.booking {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.segmented {
    display: inline-flex;
    padding: 4px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 48px;
}

.segmented button {
    padding: 10px 22px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-title);
    font-size: .95rem;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.segmented button[aria-selected="true"] {
    background: var(--surface);
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.booking-step + .booking-step {
    margin-top: 48px;
}

.booking-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 20px;
}

.booking-step-title span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--brand);
    color: var(--brand);
    font-size: .8rem;
}

.booking-hint {
    color: var(--muted);
}

.calendar {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px;
    background: var(--graphite);
}

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

.calendar-head p {
    font-family: var(--font-title);
    color: var(--white);
}

.calendar-nav {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}

.calendar-nav:disabled {
    opacity: .3;
    cursor: default;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekdays {
    margin-bottom: 8px;
    text-align: center;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--faint);
}

.cal-day {
    height: 48px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--surface);
    font-size: .95rem;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.cal-day:hover:not(:disabled) {
    border-color: var(--muted);
}

.cal-day:disabled {
    background: transparent;
    color: var(--faint);
    cursor: default;
}

.cal-day.is-today {
    box-shadow: inset 0 -2px 0 var(--muted);
}

.cal-day.is-selected {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}

.slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 16px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: transparent;
    font-family: var(--font-title);
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.slot small {
    font-family: var(--font-text);
    font-size: .72rem;
    color: var(--muted);
}

.slot:hover:not(:disabled) {
    border-color: var(--white);
}

.slot:disabled {
    opacity: .35;
    text-decoration: line-through;
    cursor: not-allowed;
}

.slot.is-selected {
    background: var(--brand);
    border-color: var(--brand);
}

.slot.is-selected small {
    color: var(--white);
}

.package-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.package-option input {
    position: absolute;
    opacity: 0;
}

.package-option-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .15s;
}

.package-option-body strong {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
}

.package-option-body span {
    color: var(--muted);
    font-size: .95rem;
}

.package-option-body em {
    margin-top: auto;
    padding-top: 12px;
    font-family: var(--font-title);
    font-style: normal;
    font-size: 1.2rem;
    color: var(--white);
}

.package-option-body small {
    font-size: .8rem;
    color: var(--muted);
}

.package-option input:checked + .package-option-body {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.package-option input:focus-visible + .package-option-body {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.booking-summary {
    position: sticky;
    top: 96px;
    padding: 32px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.summary-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 20px;
}

.summary-list {
    margin-bottom: 28px;
}

.summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    text-align: right;
    color: var(--white);
}

.summary-total {
    border-bottom: 0 !important;
    padding-top: 20px !important;
}

.summary-total dd {
    font-family: var(--font-title);
    font-size: 1.4rem;
}

.summary-note {
    margin-top: 16px;
    font-size: .82rem;
    color: var(--muted);
}

.pix-qr {
    width: 200px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
}

.pix-amount {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--white);
}

.pix-copy {
    display: block;
    margin-top: 20px;
    font-size: .8rem;
    color: var(--muted);
}

.pix-copy input {
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    background: var(--black);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    color: var(--text);
    font-family: ui-monospace, monospace;
    font-size: .78rem;
}

.demo-flag {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
    font-size: .75rem;
    color: var(--faint);
}

/* ---------- CTA final ---------- */
.cta-final {
    padding: 112px 0;
    border-top: 1px solid var(--line);
}

.cta-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-final h2 {
    margin-bottom: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--graphite);
    border-top: 1px solid var(--line);
    padding: 80px 0 36px;
    font-size: .92rem;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    width: 270px;
    max-width: 100%;
}

.footer-logo {
    width: 100%;
}

.footer-tagline {
    margin-top: 16px;
    font-family: var(--font-title);
    font-size: 1rem;
    line-height: 1.35;
    color: var(--text);
}

.footer-title {
    font-family: var(--font-title);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    line-height: 2.1;
}

.footer-links a {
    text-decoration: none;
    transition: color .2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: var(--faint);
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
    .site-nav {
        gap: 28px;
    }

    .service-list {
        grid-template-columns: 1fr 1fr;
    }

    .service-list li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .service-list li:nth-child(n + 3) {
        margin-top: 40px;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }

    .booking {
        grid-template-columns: 1fr;
    }

    .booking-summary {
        position: static;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }

    .site-header {
        padding: 0 16px;
    }

    .logo img,
    .site-header.is-scrolled .logo img {
        width: 116px;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--black);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s;
    }

    .site-nav.is-open {
        max-height: 640px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:not(.btn) {
        padding: 16px 20px;
        border-top: 1px solid var(--line);
    }

    .site-nav a.active {
        box-shadow: inset 3px 0 0 var(--brand);
    }

    .site-nav a.active::after {
        display: none;
    }

    .site-nav .nav-cta {
        margin: 16px 20px 20px;
    }

    /* No celular o menu do usuário fica aberto, como itens do menu */
    .nav-user-toggle {
        width: 100%;
        padding: 16px 20px;
        border-top: 1px solid var(--line);
        pointer-events: none;
        color: var(--muted);
    }

    .nav-user-toggle svg {
        display: none;
    }

    .nav-user-menu {
        position: static;
        min-width: 0;
        padding: 0 0 8px;
        background: none;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav .nav-user-menu a,
    .nav-user-menu button {
        padding: 12px 20px 12px 32px;
        border-top: 0;
        border-radius: 0;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 88px 0;
    }

    .section-tight {
        padding: 72px 0;
    }

    .section-flush-top {
        padding-top: 0;
    }

    .page-hero {
        padding: calc(var(--header-h) + 56px) 0 48px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head-split,
    .split,
    .service-row,
    .plans,
    .package-options,
    .footer-grid,
    .contact {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-head-split .lead {
        justify-self: start;
    }

    .split {
        gap: 40px;
    }

    .split-media {
        min-height: 320px;
    }

    .steps,
    .service-list {
        grid-template-columns: 1fr;
    }

    .steps li,
    .steps li + li,
    .service-list li,
    .service-list li + li {
        padding: 28px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
        margin-top: 0;
    }

    .service-rows {
        gap: 64px;
    }

    .service-row:nth-child(even) .photo {
        order: 0;
    }

    .service-row .photo {
        aspect-ratio: 4 / 3;
    }

    .facts {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .photo-banner {
        aspect-ratio: 4 / 3;
    }

    .plan-desc {
        min-height: 0;
    }

    .calendar {
        padding: 14px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .cal-day {
        height: 40px;
    }

    .slots {
        grid-template-columns: 1fr 1fr;
    }

    .booking-summary {
        padding: 24px 20px;
    }

    .cta-final {
        padding: 80px 0;
    }

    .cta-final-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

/* ======================================================================
   Área do cliente, autenticação e pagamento
   ====================================================================== */

/* ---------- Mensagens ---------- */
.flash {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(560px, calc(100% - 32px));
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
    font-size: .95rem;
}

.flash p {
    flex: 1;
}

.flash button {
    background: none;
    border: 0;
    font-size: 1.3rem;
    color: var(--muted);
    cursor: pointer;
}

.flash.is-error {
    border-color: rgba(233, 65, 28, .6);
}

.flash.is-success {
    border-color: rgba(80, 200, 120, .5);
}

/* ---------- Cartão de autenticação ---------- */
.auth {
    display: flex;
    justify-content: center;
    padding: calc(var(--header-h) + 72px) 16px 112px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
}

.auth-card h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.auth-card .lead {
    margin-bottom: 36px;
}

.auth-card .summary-list {
    margin: 0 0 28px;
}

.auth-alt {
    margin-top: 28px;
    font-size: .95rem;
    color: var(--muted);
}

.auth-alt a,
.form-link,
.empty a {
    color: var(--white);
    text-underline-offset: 3px;
}

/* ---------- Formulários ---------- */
.form {
    display: grid;
    gap: 20px;
}

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

.field {
    display: grid;
    gap: 8px;
}

.field-label {
    font-size: .85rem;
    color: var(--text);
}

.field-input {
    width: 100%;
    padding: 13px 14px;
    background: var(--graphite);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--white);
    font: inherit;
    transition: border-color .15s;
}

.field-input:focus {
    outline: none;
    border-color: var(--muted);
}

.field-input.is-invalid {
    border-color: var(--brand);
}

.field-error {
    font-size: .82rem;
    color: #ff7a5c;
}

.field-hint {
    font-size: .8rem;
    color: var(--faint);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: .9rem;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

.check input {
    accent-color: var(--brand);
}

/* ---------- Agenda: salas e estados ---------- */
.room-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.room-option input {
    position: absolute;
    opacity: 0;
}

.room-option > span {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    cursor: pointer;
}

.room-option strong {
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--white);
}

.room-option small {
    color: var(--muted);
    font-size: .85rem;
}

.room-option input:checked + span {
    border-color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.mode-options {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.mode-options .mode-room {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mode-options .mode-price {
    font-family: var(--font-title);
    font-style: normal;
    font-size: 1.25rem;
    color: var(--white);
}

.mode-options .mode-price small {
    font-family: var(--font-text);
    font-size: .8rem;
}

.mode-details {
    margin-top: 14px;
}

.hours-options {
    grid-template-columns: repeat(6, 1fr);
}

.package-saving {
    display: block;
    margin-top: 4px;
    text-decoration: line-through;
}

.calendar-grid.is-loading {
    opacity: .4;
    pointer-events: none;
}

.cal-day.is-free:not(.is-selected) {
    box-shadow: inset 0 -2px 0 var(--brand);
}

.cal-day.is-full {
    text-decoration: line-through;
}

/* ---------- Pagamento ---------- */
.pay {
    max-width: 680px;
}

.pay-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: center;
    padding: 28px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pay .pix-qr {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
}

.pay .pix-qr img,
.pay .pix-qr svg {
    display: block;
    width: 100%;
    height: auto;
}

.pay .pix-amount {
    text-align: left;
    margin: 0;
    font-size: 2rem;
}

.pay-meta {
    color: var(--muted);
    font-size: .92rem;
}

.pay-timer {
    margin-top: 8px !important;
    font-size: .9rem;
    color: var(--muted);
}

.pay-timer strong {
    font-family: var(--font-title);
    color: var(--white);
}

.pix-copy-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.pix-copy-row input {
    margin-top: 0;
    min-width: 0;
}

.pay-waiting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: var(--muted);
    font-size: .95rem;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 65, 28, .6); }
    70% { box-shadow: 0 0 0 10px rgba(233, 65, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 65, 28, 0); }
}

.dev-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding: 14px 16px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    font-size: .85rem;
    color: var(--faint);
}

.actions-left {
    justify-content: flex-start;
    margin-top: 32px;
}

/* ---------- Minha conta ---------- */
.account {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
}

.account-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.account h2 {
    font-size: 1.6rem;
}

.account-subtitle {
    margin: 56px 0 20px;
}

.booking-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.booking-row:last-of-type {
    border-bottom: 1px solid var(--line);
}

.booking-row.is-past {
    opacity: .7;
}

.booking-row-date {
    font-family: var(--font-title);
    color: var(--white);
}

.booking-row-meta {
    margin-top: 2px !important;
    font-size: .88rem;
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    border: 1px solid var(--line-strong);
    color: var(--muted);
    white-space: nowrap;
}

.badge.is-success {
    border-color: rgba(80, 200, 120, .5);
    color: #7fdc9f;
}

.badge.is-warning {
    border-color: rgba(233, 65, 28, .6);
    color: #ff8a6b;
}

.badge.is-danger {
    color: #ff7a5c;
}

.empty {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.account-card {
    padding: 28px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 6px;
}

@media (max-width: 900px) {
    .hours-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-grid,
    .pay-grid,
    .account {
        grid-template-columns: 1fr;
    }

    .pay-grid {
        padding: 20px;
    }

    .pay .pix-qr {
        max-width: 240px;
        margin: 0 auto;
    }

    .booking-row {
        grid-template-columns: 1fr auto;
    }

    .booking-row .btn {
        grid-column: 1 / -1;
    }

    .auth {
        padding-top: calc(var(--header-h) + 40px);
    }
}

/* ---------- Pacotes ---------- */
.month-options,
.pay-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pay-options {
    grid-template-columns: 1fr;
}

.credit-note {
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(233, 65, 28, .4);
    border-radius: 6px;
    font-size: .85rem;
    color: var(--text);
}

.credit-note .link-arrow {
    margin-top: 10px;
    color: var(--white);
}

.credit-note + .summary-note {
    margin-top: 16px;
}

/* Dias em que o crédito do pacote vale */
.cal-day.is-package {
    position: relative;
}

.cal-day.is-package:disabled::after {
    display: none;
}

.cal-day.is-package::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7fdc9f;
}

.confirm-info {
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: .9rem;
    color: var(--text);
}

.confirm-info a {
    color: var(--white);
}

.package-card {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}

.package-card:last-of-type {
    border-bottom: 1px solid var(--line);
}

.credits-bar {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

.credits-bar span {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--line-strong);
}

.credits-bar span.is-used {
    background: var(--brand);
}

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

.account-packages {
    margin-bottom: 20px;
}

.account-logout {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* ---------- Horário fixo do pacote ---------- */
.fixed-box {
    display: grid;
    gap: 16px;
    padding: 20px;
    background: var(--graphite);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.fixed-slot {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding-right: 32px;
}

.fixed-slot + .fixed-slot {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.fixed-remove {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.fixed-box .link-arrow {
    margin-top: 0;
    justify-self: start;
}

select.field-input {
    appearance: auto;
}

.fixed-dates {
    list-style: none;
    display: grid;
    gap: 4px;
}

.fixed-dates li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: .92rem;
}

.fixed-dates li span {
    width: 14px;
    font-weight: 700;
}

.fixed-dates li small {
    margin-left: auto;
    font-size: .78rem;
    color: var(--muted);
}

.fixed-dates li.is-reserved span {
    color: #7fdc9f;
}

.fixed-dates li.is-taken {
    color: var(--muted);
    text-decoration: line-through;
}

.fixed-dates li.is-taken span,
.fixed-dates li.is-taken small {
    color: #ff8a6b;
    text-decoration: none;
}

.fixed-dates li.is-extra {
    color: var(--faint);
}

.fixed-note {
    margin-top: 12px !important;
    font-size: .85rem;
    color: var(--text);
}

.held-list {
    list-style: none;
    margin: 0 0 20px;
    display: grid;
    gap: 4px;
    font-size: .92rem;
}

.held-list li.is-skipped {
    color: #ff8a6b;
}

/* Botão aguardando resposta (ex.: gerando Pix) */
.btn.is-loading {
    opacity: .8;
    cursor: progress;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

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

/* ---------- Pagamento com cartão (alternativa ao Pix) ---------- */
.pay-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.pay-card-title {
    margin: 0;
    font-weight: 600;
}

.pay-card-note {
    margin: 4px 0 0;
    font-size: .85rem;
    color: var(--muted);
}

.pay-card .btn {
    flex-shrink: 0;
}

.pay-notice {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--brand);
    background: var(--graphite);
    border-radius: 6px;
    font-size: .92rem;
}

@media (max-width: 640px) {
    .pay-card {
        flex-direction: column;
        align-items: stretch;
    }
}
