:root {
    --bg: #171614;
    --surface: #201e1b;
    --surface-soft: #28241f;
    --text: #f2ede5;
    --muted: #aaa399;
    --line: rgba(242, 237, 229, .14);
    --accent: #b98748;
    --accent-strong: #d09a59;
    --on-accent: #171614;
    --font-title: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .32);
    --max: 1240px;
}

body[data-theme="barbearia"] {
    --bg: #17130f;
    --surface: #201a14;
    --surface-soft: #2a2219;
    --text: #f2eae0;
    --muted: #b8a791;
    --line: rgba(242, 234, 224, .15);
    --accent: #c8862f;
    --accent-strong: #e09a3e;
    --on-accent: #17130f;
    --font-title: 'Instrument Serif', serif;
    --font-body: 'Karla', sans-serif;
    --radius: 6px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

body[data-theme="salao"] {
    --bg: #fbf7f5;
    --surface: #fff;
    --surface-soft: #f6eeea;
    --text: #2a211f;
    --muted: #806c66;
    --line: rgba(89, 53, 49, .14);
    --accent: #a0455c;
    --accent-strong: #813348;
    --on-accent: #fff;
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 14px;
    --shadow: 0 24px 70px rgba(92, 54, 57, .13);
}

body[data-theme="nail"] {
    --bg: #fcf8fa;
    --surface: #fff;
    --surface-soft: #f5e9ef;
    --text: #302128;
    --muted: #7b6870;
    --line: rgba(82, 45, 62, .13);
    --accent: #8e3c63;
    --accent-strong: #6f294b;
    --on-accent: #fff;
    --font-title: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --radius: 26px;
    --shadow: 0 24px 70px rgba(103, 53, 77, .13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html.segment-active { scroll-snap-type: y proximity; scroll-padding-top: 78px; }
body { min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font-body); transition: background .4s ease, color .4s ease; }
body:not([data-theme]) { height: 100dvh; overflow: hidden; }
body.modal-open { overflow: hidden; }
body::selection { background: var(--accent); color: var(--on-accent); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.preview-header { position: sticky; top: 0; z-index: 50; height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); transition: background .4s ease, border-color .4s ease; }
body:not([data-theme]) .preview-header { background: #0d0d0c; border-bottom-color: rgba(185, 135, 72, .22); }
.brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; font-size: 21px; font-weight: 600; letter-spacing: -.045em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand strong { color: var(--accent); font-weight: 700; }
.preview-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 700; }
.preview-nav a:hover { color: var(--text); }
body:not([data-theme]) .preview-nav { visibility: hidden; }
/* Na escolha inicial só aparece a assinatura institucional. O rodapé completo
   entra depois que o visitante escolhe um segmento. */
body:not([data-theme]) .gateway { height: calc(100dvh - 78px - 50px); }
body:not([data-theme]) .preview-footer-main { display: none; }
body:not([data-theme]) .preview-footer { height: 50px; border-top-color: rgba(185, 135, 72, .16); background: #17130f; color: #cdbb9d; }
body:not([data-theme]) .preview-footer-bottom { height: 50px; padding-block: 0; border-top: 0; }
body:not([data-theme]) .footer-credit { color: #f2eae0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.login-link { font-size: 14px; font-weight: 700; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: max(4px, calc(var(--radius) * .55)); cursor: pointer; font-weight: 800; font-size: 14px; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-solid { background: var(--accent); color: var(--on-accent); }
.button-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.button-outline { width: 100%; border-color: var(--line); background: transparent; color: var(--text); }
.button-light { background: var(--on-accent); color: var(--accent-strong); }
.header-cta { min-height: 44px; padding: 0 21px; font-size: 13px; }

/* A entrada usa neutralidade e apresenta os nichos como escolhas igualmente importantes. */
.gateway { height: calc(100dvh - 78px); min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 30px max(24px, calc((100vw - var(--max)) / 2)) 18px; overflow: hidden; background:
    radial-gradient(circle at 12% 12%, rgba(142, 60, 99, .15), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(47, 107, 84, .10), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(200, 134, 47, .17), transparent 29%), var(--bg); }
.gateway-copy { max-width: 900px; margin: 0 auto 22px; text-align: center; }
.gateway-eyebrow, .section-kicker, .niche-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gateway-eyebrow::before, .section-kicker::before, .niche-eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.gateway h1 { max-width: 880px; margin: 0 auto; font-family: 'Manrope', sans-serif; font-size: clamp(38px, 4.6vw, 68px); line-height: .98; letter-spacing: -.065em; }
.gateway h1 em { color: var(--accent); font-style: normal; }
.gateway-copy > p { max-width: 630px; margin: 16px auto 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.selection-label { display: block; margin-top: 18px; color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.segment-picker { width: 100%; height: min(100%, 272px); min-height: 0; align-self: center; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: var(--max); margin: 0 auto; }
.segment-card { position: relative; isolation: isolate; height: 100%; min-height: 220px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: #241f1a; color: #fff; cursor: pointer; text-align: left; box-shadow: 0 18px 45px rgba(30, 26, 21, .14); transition: border-color .3s ease, box-shadow .3s ease, filter .3s ease; }
.segment-photo, .segment-overlay { position: absolute; inset: 0; }
.segment-photo { z-index: -2; background-position: center; background-size: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.segment-overlay { z-index: -1; background: linear-gradient(180deg, rgba(12,10,9,.03) 28%, rgba(12,10,9,.88) 100%); transition: background .3s ease; }
.segment-card-barbearia .segment-photo { background-image: url('assets/gateway_barbearia_objetos.jpg'); background-position: center 34%; }
.segment-card-salao .segment-photo { background-image: url('assets/gateway_salao_vazio.jpg'); background-position: center 45%; }
.segment-card-nail .segment-photo { background-image: url('assets/gateway_nail_objetos.jpg'); background-position: center 42%; }
.segment-card:hover .segment-photo { transform: scale(1.045); }
.segment-card:hover .segment-overlay { background: linear-gradient(180deg, rgba(12,10,9,.02) 16%, rgba(12,10,9,.94) 100%); }
.segment-card:hover, .segment-card:focus-visible { border-color: rgba(200,134,47,.78); box-shadow: 0 22px 50px rgba(10,8,6,.28), 0 0 0 1px rgba(200,134,47,.12); filter: brightness(1.04); }
.segment-content { position: absolute; inset: auto 0 0; display: grid; padding: 28px; }
.segment-number { position: absolute; right: 26px; bottom: 25px; color: rgba(255,255,255,.45); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.segment-content strong { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
.segment-content small { margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13px; }
.segment-enter { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; color: #fff; font-size: 12px; font-weight: 800; transition: all .32s ease; }
.segment-enter b { margin-left: 8px; font-size: 16px; }
.segment-card:hover .segment-enter, .segment-card:focus-visible .segment-enter { max-height: 30px; margin-top: 18px; opacity: 1; }
.gateway-note { margin-top: 14px; color: var(--muted); font-size: 11px; text-align: center; }

/* A mesma estrutura recebe personalidade, cor e conteúdo de cada segmento. */
.segment-page { animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } }
.niche-hero { min-height: calc(100dvh - 182px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(450px, .92fr); gap: clamp(44px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 48px 24px 60px; }
.niche-hero-copy { position: relative; z-index: 2; }
.back-button { display: block; margin-bottom: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 700; }
.back-button:hover { color: var(--text); }
.niche-hero h1 { max-width: 690px; font-family: var(--font-title); font-size: clamp(56px, 6.2vw, 94px); font-weight: 600; line-height: .92; letter-spacing: -.055em; }
body[data-theme="barbearia"] .niche-hero h1, body[data-theme="barbearia"] .system-copy h2, body[data-theme="barbearia"] .booking-copy h2 { font-weight: 400; letter-spacing: -.025em; }
.niche-lead { max-width: 610px; margin-top: 28px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-row span::first-letter { color: var(--accent); }
.niche-hero-visual { position: relative; align-self: stretch; min-height: 500px; }
.niche-hero-visual::before { content: ''; position: absolute; inset: 7% -8% -4% 12%; border: 1px solid var(--line); border-radius: var(--radius); transform: rotate(3deg); }
.niche-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; border: 1px solid var(--line); border-radius: max(8px, calc(var(--radius) * .7)); background: color-mix(in srgb, var(--surface) 92%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.floating-card-top { top: 34px; left: -46px; width: 178px; display: grid; padding: 18px; }
.floating-card-top span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.floating-card-top strong { margin-top: 4px; font-family: var(--font-title); font-size: 32px; line-height: 1; }
.floating-card-top small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.floating-card-bottom { right: -28px; bottom: 34px; min-width: 285px; gap: 12px; padding: 15px 17px; }
.floating-card-bottom .status-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #2e7256; box-shadow: 0 0 0 5px rgba(46, 114, 86, .12); }
.floating-card-bottom div { display: grid; margin-right: auto; }
.floating-card-bottom strong { font-size: 13px; }
.floating-card-bottom small { color: var(--muted); font-size: 10px; }
.floating-card-bottom time { color: var(--accent); font-size: 13px; font-weight: 800; }

.value-strip { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; border-block: 1px solid var(--line); }
.value-strip div { display: grid; gap: 5px; padding: 28px 26px; border-right: 1px solid var(--line); }
.value-strip div:last-child { border-right: 0; }
.value-strip strong { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.value-strip span { color: var(--muted); font-size: 12px; }

.story-section, .pricing-section { max-width: var(--max); margin: 0 auto; padding: 88px 24px; }
.story-section, .system-section, .booking-section, .pricing-section, .trial-section { min-height: calc(100dvh - 90px); scroll-snap-align: start; scroll-margin-top: 90px; }
.story-section, .pricing-section { display: flex; flex-direction: column; justify-content: center; }
.section-heading { max-width: 710px; }
.section-heading h2, .system-copy h2, .booking-copy h2 { font-family: var(--font-title); font-size: clamp(42px, 5vw, 68px); line-height: .98; letter-spacing: -.05em; }
.section-heading > p, .system-copy > p, .booking-copy > p { max-width: 610px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.benefit-grid article { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.benefit-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.benefit-grid h3 { max-width: 270px; margin-top: 32px; font-family: var(--font-title); font-size: 25px; line-height: 1.12; }
.benefit-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.system-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(44px, 5vw, 72px); align-items: center; padding: 84px max(24px, calc((100vw - var(--max)) / 2)); background: var(--surface-soft); }
.system-copy h2 em, .booking-copy h2 em { color: var(--accent); font-style: normal; }
.system-copy ul { display: grid; gap: 14px; margin-top: 32px; list-style: none; }
.system-copy li { position: relative; padding-left: 27px; color: var(--text); font-size: 14px; font-weight: 700; }
.system-copy li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.app-window { overflow: hidden; border: 1px solid var(--line); border-radius: max(8px, var(--radius)); background: var(--surface); box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.app-topbar { height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mini-brand { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 800; }
.mini-brand img { width: 21px; height: 21px; object-fit: contain; }
.avatar { justify-self: end; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 800; }
.app-body { min-height: 420px; display: grid; grid-template-columns: 54px 1fr; }
.app-body aside { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 30px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--surface-soft) 55%, var(--surface)); }
.app-body aside i { width: 15px; height: 15px; border: 2px solid var(--muted); border-radius: 4px; opacity: .55; }
.app-body aside i:first-child { border-color: var(--accent); background: var(--accent); opacity: 1; }
.schedule { padding: 26px; }
.schedule-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.schedule-head div { display: grid; gap: 3px; }
.schedule-head small { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.schedule-head strong { font-family: var(--font-title); font-size: 22px; }
.schedule-head button { padding: 10px 13px; border: 0; border-radius: max(4px, calc(var(--radius) * .45)); background: var(--accent); color: var(--on-accent); font-size: 9px; font-weight: 800; }
.schedule-summary { display: flex; gap: 10px; margin: 24px 0 12px; }
.schedule-summary span { flex: 1; display: grid; gap: 4px; padding: 12px; border-radius: max(4px, calc(var(--radius) * .45)); background: var(--surface-soft); color: var(--muted); font-size: 9px; }
.schedule-summary b { color: var(--text); font-size: 17px; }
.schedule-row { display: grid; grid-template-columns: 44px 1.15fr 1.5fr .75fr 55px; gap: 8px; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); font-size: 9px; }
.schedule-row > span { color: var(--muted); }
.schedule-row > span:first-child { color: var(--accent); font-weight: 800; }
.schedule-row > span:last-child { color: var(--text); font-weight: 800; text-align: right; }
.schedule-row strong { font-size: 10px; }

.booking-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(56px, 7vw, 96px); align-items: center; max-width: 1080px; margin: 0 auto; padding: 90px 24px; }
.booking-phone { position: relative; width: min(100%, 340px); margin: 0 auto; padding: 30px 20px 22px; border: 8px solid var(--text); border-radius: 44px; background: var(--surface); box-shadow: var(--shadow); }
.phone-speaker { position: absolute; top: 11px; left: 50%; width: 70px; height: 5px; transform: translateX(-50%); border-radius: 20px; background: var(--text); }
.phone-brand { display: flex; align-items: center; gap: 11px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.phone-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.phone-brand div { display: grid; }
.phone-brand strong { font-size: 12px; }
.phone-brand small { color: var(--muted); font-size: 9px; }
.phone-copy { display: grid; gap: 5px; padding: 25px 0 18px; }
.phone-copy small { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.phone-copy strong { font-family: var(--font-title); font-size: 22px; }
.date-pills, .time-pills { display: grid; gap: 7px; }
.date-pills { grid-template-columns: repeat(4, 1fr); }
.date-pills span, .time-pills span { display: grid; place-items: center; border: 1px solid var(--line); border-radius: max(5px, calc(var(--radius) * .45)); color: var(--muted); font-size: 8px; font-weight: 800; }
.date-pills span { gap: 2px; padding: 10px 3px; }
.date-pills em { color: var(--text); font-size: 14px; font-style: normal; }
.time-pills { grid-template-columns: repeat(3, 1fr); margin-top: 9px; }
.time-pills span { padding: 10px 3px; }
.date-pills .selected, .time-pills .selected { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.date-pills .selected em { color: var(--on-accent); }
.booking-phone > button { width: 100%; margin-top: 18px; padding: 12px; border: 0; border-radius: max(5px, calc(var(--radius) * .45)); background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 800; }
.booking-points { display: grid; gap: 12px; margin-top: 30px; }
.booking-points span { padding: 15px 18px; border-left: 2px solid var(--accent); background: var(--surface); font-size: 13px; font-weight: 700; }

.centered { margin-inline: auto; text-align: center; }
.centered .section-kicker { justify-content: center; }
.centered > p { margin-inline: auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 38px; }
.price-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-10px); }
.price-card > span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.price-card h3 { margin-top: 14px; font-family: var(--font-title); font-size: 28px; }
.price { display: flex; align-items: flex-start; margin-top: 18px; }
.price small { margin: 10px 5px 0 0; font-size: 10px; }
.price strong { font-family: var(--font-title); font-size: 52px; line-height: 1; }
.price sup { margin-top: 4px; font-size: 16px; font-weight: 800; }
.price em { align-self: flex-end; margin: 0 0 7px 5px; color: var(--muted); font-size: 10px; font-style: normal; }
.price-card > p { min-height: 44px; margin-top: 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.price-card ul { display: grid; gap: 12px; margin: 26px 0 30px; list-style: none; color: var(--muted); font-size: 12px; }
.price-card li::before { content: '✓'; margin-right: 9px; color: var(--accent); font-weight: 800; }
.price-card .button { margin-top: auto; }

.trial-section { display: grid; align-content: center; justify-items: center; padding: 78px 24px; background: var(--accent); color: var(--on-accent); text-align: center; }
.trial-section .section-kicker { color: currentColor; opacity: .75; }
.trial-section h2 { max-width: 850px; font-family: var(--font-title); font-size: clamp(44px, 5.5vw, 72px); line-height: .98; letter-spacing: -.045em; }
.trial-section > p { max-width: 590px; margin-top: 20px; opacity: .78; line-height: 1.65; }
.trial-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.trial-actions span { font-size: 11px; font-weight: 700; opacity: .75; }
.preview-warning { max-width: 560px !important; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--on-accent) 35%, transparent); border-radius: 8px; font-size: 12px; }

.preview-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12px; }
.preview-footer-main { width: min(100%, var(--max)); display: grid; grid-template-columns: minmax(280px, 1.25fr) minmax(110px, .45fr) minmax(120px, .5fr) minmax(260px, 1fr); gap: clamp(28px, 3vw, 52px); margin: 0 auto; padding: 64px 24px 46px; }
.footer-brand-block { max-width: 370px; }
.footer-brand-block .brand { margin-bottom: 18px; }
.footer-brand-block p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 19px; color: var(--text); font-size: 11px; font-weight: 700; }
.footer-trust i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-style: normal; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-column > strong { margin-bottom: 4px; color: var(--text); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-column button { padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; line-height: 1.45; text-align: left; cursor: pointer; transition: color .2s ease; }
.footer-column a:hover, .footer-column button:hover { color: var(--accent); }
.footer-contact a:first-of-type { color: var(--text); font-weight: 700; white-space: nowrap; }
.footer-contact > span { margin-top: 3px; font-size: 10px; line-height: 1.5; }
.footer-socials { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.footer-socials a, .footer-socials > span { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 14px; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-socials > span { opacity: .42; cursor: default; }
.footer-socials svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-socials svg .social-fill, .footer-socials svg .social-dot { fill: currentColor; stroke: none; }
.preview-footer-bottom { width: min(100%, var(--max)); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 22px 24px 28px; border-top: 1px solid var(--line); font-size: 10px; }
.footer-credit { color: var(--text); font-weight: 700; transition: color .2s ease; }
.footer-credit:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.modal-overlay { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; overflow-y: auto; padding: 24px; background: rgba(8, 7, 6, .78); backdrop-filter: blur(10px); }
.modal-overlay.active { display: flex; }
.modal-card { position: relative; width: min(100%, 570px); max-height: calc(100dvh - 48px); overflow-y: auto; padding: 36px; border: 1px solid var(--line); border-radius: max(12px, var(--radius)); background: var(--surface); color: var(--text); box-shadow: 0 35px 90px rgba(0, 0, 0, .32); animation: modal-enter .24s ease both; }
@keyframes modal-enter { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); color: var(--text); cursor: pointer; font-size: 24px; line-height: 1; }
.modal-heading { margin-bottom: 26px; text-align: center; }
.modal-heading .section-kicker { margin-bottom: 10px; }
.modal-heading h2 { font-family: var(--font-title); font-size: 34px; line-height: 1.05; letter-spacing: -.04em; }
.modal-heading p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.form-control { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: max(7px, calc(var(--radius) * .45)); outline: none; background: var(--bg); color: var(--text); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.form-error { display: none; align-items: center; margin-bottom: 13px; padding: 10px 12px; border: 1px solid rgba(180, 70, 70, .3); border-radius: 8px; background: rgba(180, 70, 70, .1); color: #d66f6f; font-size: 12px; }
.form-note { margin-top: 11px; color: var(--muted); font-size: 10px; text-align: center; }
.button-full { width: 100%; }

.legal-card { width: min(100%, 680px); }
.legal-heading { padding-right: 34px; text-align: left; }
.legal-heading .section-kicker { justify-content: flex-start; }
.legal-content { display: grid; gap: 20px; }
.legal-content section { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content h3 { margin-bottom: 7px; color: var(--text); font-size: 14px; }
.legal-content p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.legal-content a { color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner { position: fixed; z-index: 1800; right: 22px; bottom: 22px; left: 22px; width: min(100% - 44px, 860px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-inline: auto; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--surface) 96%, transparent); color: var(--text); box-shadow: 0 20px 65px rgba(0, 0, 0, .28); backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-copy strong { display: block; margin-bottom: 5px; font-size: 14px; }
.cookie-copy p { max-width: 590px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.cookie-copy button { margin-top: 7px; padding: 0; border: 0; background: transparent; color: var(--accent-strong); font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cookie-actions { display: flex; gap: 9px; }
.cookie-actions button { min-height: 40px; padding: 0 18px; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; }
.cookie-reject { border: 1px solid var(--line); background: transparent; color: var(--text); }
.cookie-accept { border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); }

@media (max-width: 1000px) {
    .preview-nav { display: none; }
    .preview-header { grid-template-columns: 1fr auto; }
    .gateway { padding-top: 30px; }
    .segment-picker { gap: 12px; }
    .segment-content { padding: 22px; }
    .niche-hero { grid-template-columns: 1fr 1fr; gap: 42px; }
    .niche-hero-visual { min-height: 480px; }
    .floating-card-top { left: -22px; }
    .floating-card-bottom { right: -12px; }
    .system-section { gap: 42px; }
    .preview-footer-main { grid-template-columns: 1.35fr 1fr 1fr; }
    .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 780px) {
    html.segment-active { scroll-padding-top: 68px; }
    .preview-header { height: 68px; padding-inline: 18px; }
    .brand { gap: 10px; font-size: 17px; }
    .brand img { width: 36px; height: 36px; }
    .login-link { display: none; }
    .header-cta { min-height: 40px; padding-inline: 17px; }
    .gateway { height: calc(100dvh - 68px); padding: 22px 16px 12px; }
    body:not([data-theme]) .gateway { height: calc(100dvh - 68px - 58px); }
    body:not([data-theme]) .preview-footer, body:not([data-theme]) .preview-footer-bottom { height: 58px; }
    body:not([data-theme]) .preview-footer-bottom { flex-direction: row; align-items: center; padding-inline: 18px; }
    .gateway-copy { margin-bottom: 16px; }
    .gateway-eyebrow { margin-bottom: 10px; }
    .gateway h1 { font-size: clamp(34px, 9.5vw, 46px); }
    .gateway-copy > p { margin-top: 12px; font-size: 13px; line-height: 1.45; }
    .selection-label { margin-top: 12px; font-size: 10px; }
    .segment-picker { height: 100%; max-height: none; align-self: stretch; display: flex; max-width: none; margin-inline: -16px; padding-inline: 16px; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .segment-picker::-webkit-scrollbar { display: none; }
    .segment-card { flex: 0 0 min(78vw, 360px); min-height: 0; scroll-snap-align: center; }
    .segment-card .segment-photo { background-position: center 38%; }
    .segment-card-nail .segment-photo { background-position: center 44%; }
    .segment-enter { max-height: 30px; margin-top: 12px; opacity: 1; }
    .segment-number { right: 20px; bottom: 20px; }
    .niche-hero { min-height: calc(100dvh - 68px); grid-template-columns: 1fr; gap: 32px; padding: 28px 18px 48px; }
    .back-button { margin-bottom: 26px; }
    .niche-hero h1 { font-size: clamp(52px, 15vw, 76px); }
    .niche-hero-visual { min-height: 380px; margin: 6px 10px 0; }
    .floating-card-top { left: -10px; }
    .floating-card-bottom { right: -10px; min-width: 250px; }
    .value-strip { grid-template-columns: 1fr 1fr; margin-inline: 18px; }
    .value-strip div:nth-child(2) { border-right: 0; }
    .value-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .story-section, .pricing-section { padding: 64px 18px; }
    .story-section, .system-section, .booking-section, .pricing-section, .trial-section { min-height: calc(100dvh - 68px); scroll-margin-top: 68px; }
    .benefit-grid, .price-grid { display: flex; margin-inline: -18px; padding: 0 18px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .benefit-grid::-webkit-scrollbar, .price-grid::-webkit-scrollbar { display: none; }
    .benefit-grid { margin-top: 30px; }
    .benefit-grid article { flex: 0 0 calc(100vw - 36px); min-height: 180px; scroll-snap-align: center; }
    .benefit-grid h3 { margin-top: 24px; }
    .system-section { grid-template-columns: 1fr; padding: 64px 18px; }
    .app-window { transform: none; }
    .booking-section { grid-template-columns: 1fr; gap: 46px; padding: 68px 18px; }
    .booking-phone { order: 2; }
    .price-card { flex: 0 0 calc(100vw - 36px); scroll-snap-align: center; }
    .price-card.featured { transform: none; }
    .trial-actions { flex-direction: column; }
    .preview-footer-main { grid-template-columns: 1fr 1fr; gap: 38px 28px; padding: 48px 18px 34px; }
    .footer-brand-block { grid-column: 1 / -1; max-width: 480px; }
    .footer-contact { grid-column: 1 / -1; }
    .preview-footer-bottom { padding-inline: 18px; }
}

@media (max-width: 480px) {
    .header-actions { gap: 8px; }
    .header-cta { padding-inline: 13px; }
    .gateway-eyebrow { font-size: 9px; }
    .gateway h1 { font-size: 34px; }
    .selection-label { margin-top: 10px; }
    .segment-content strong { font-size: 27px; }
    .preview-footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand-block, .footer-contact { grid-column: auto; }
    .preview-footer-bottom { flex-direction: column; align-items: flex-start; gap: 9px; }
    body:not([data-theme]) .preview-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
    body:not([data-theme]) .preview-footer-bottom span, body:not([data-theme]) .footer-credit { max-width: 47%; font-size: 8px; line-height: 1.35; }
    .niche-hero h1 { font-size: 57px; }
    .hero-actions { display: grid; }
    .trust-row { display: grid; gap: 9px; }
    .niche-hero-visual { min-height: 330px; margin-inline: 4px; }
    .floating-card-top { top: 16px; width: 150px; }
    .floating-card-bottom { right: -4px; bottom: 18px; min-width: 235px; }
    .value-strip { margin-inline: 0; }
    .value-strip div { padding: 22px 18px; }
    .section-heading h2, .system-copy h2, .booking-copy h2 { font-size: 43px; }
    .app-body { grid-template-columns: 38px 1fr; min-height: 420px; }
    .schedule { padding: 18px 13px; }
    .schedule-head button { display: none; }
    .schedule-row { grid-template-columns: 38px 1fr .85fr 45px; }
    .schedule-row > span:nth-child(3) { display: none; }
    .booking-phone { width: min(100%, 315px); }
    .trial-section h2 { font-size: 46px; }
    .modal-overlay { padding: 12px; }
    .modal-card { max-height: calc(100dvh - 24px); padding: 30px 20px 22px; }
    .modal-heading h2 { font-size: 29px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .cookie-banner { right: 12px; bottom: 12px; left: 12px; width: auto; grid-template-columns: 1fr; gap: 15px; padding: 18px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
