:root {
    --showcase-font-display: "Sora", "Segoe UI", sans-serif;
    --showcase-font-body: "Manrope", "Segoe UI", sans-serif;
}

.front-showcase {
    --theme-bg: linear-gradient(140deg, #f2efe8 0%, #fffdf8 52%, #f5f0e5 100%);
    --theme-panel: rgba(255, 255, 255, 0.84);
    --theme-panel-strong: #fffaf1;
    --theme-line: rgba(49, 35, 24, 0.1);
    --theme-ink: #23170f;
    --theme-muted: #715d4c;
    --theme-accent: #c46f3a;
    --theme-accent-soft: #f6d4bf;
    --showcase-primary: var(--theme-accent);
    --showcase-secondary: var(--theme-accent-soft);
    --theme-shadow: 0 24px 55px rgba(46, 31, 19, 0.14);
    font-family: var(--showcase-font-body);
    color: var(--theme-ink);
}

.front-demo-watermark {
    position: fixed;
    right: 16px;
    bottom: 14px;
    z-index: 1200;
    pointer-events: none;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    color: #111827;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.88;
}

.front-showcase.theme-domicile {
    --theme-bg: linear-gradient(145deg, #eef7f5 0%, #fbfffd 48%, #e0f3ef 100%);
    --theme-panel: rgba(250, 255, 253, 0.86);
    --theme-panel-strong: #f5fffc;
    --theme-line: rgba(15, 75, 77, 0.12);
    --theme-ink: #0d2f31;
    --theme-muted: #4b6f71;
    --theme-accent: #0f8b8d;
    --theme-accent-soft: #bdecec;
    --theme-shadow: 0 24px 55px rgba(13, 69, 71, 0.12);
}

.front-showcase.theme-hybride {
    --theme-bg: linear-gradient(145deg, #f3f0f8 0%, #fffefd 48%, #ede7f7 100%);
    --theme-panel: rgba(255, 255, 255, 0.86);
    --theme-panel-strong: #faf6ff;
    --theme-line: rgba(47, 35, 79, 0.12);
    --theme-ink: #26183e;
    --theme-muted: #6b5a84;
    --theme-accent: #7b4ad1;
    --theme-accent-soft: #dbcdf7;
    --theme-shadow: 0 24px 55px rgba(54, 33, 98, 0.13);
}

.front-showcase .showcase-shell {
    background: var(--theme-bg);
    border: 1px solid var(--theme-line);
    border-radius: 32px;
    padding: 24px;
    display: grid;
    gap: 24px;
    box-shadow: var(--theme-shadow);
}

.showcase-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.showcase-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: inherit;
}

.showcase-brand-kicker,
.showcase-kicker {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--showcase-primary);
}

.showcase-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.showcase-links a,
.showcase-inline-link {
    color: var(--theme-ink);
    text-decoration: none;
    font-weight: 700;
}

.showcase-links a.is-current {
    color: var(--showcase-primary);
}

.showcase-hero,
.showcase-grid,
.showcase-kpis,
.showcase-cards,
.showcase-products {
    display: grid;
    gap: 18px;
}

.showcase-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
}

.showcase-hero-copy,
.showcase-panel,
.showcase-slide,
.showcase-price-card,
.showcase-mode-card,
.showcase-product-card,
.showcase-card,
.showcase-kpi {
    background: var(--theme-panel);
    backdrop-filter: blur(14px);
    border: 1px solid var(--theme-line);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.showcase-hero-copy,
.showcase-panel,
.showcase-subhero {
    padding: 28px;
}

.showcase-hero-copy::after,
.showcase-panel::after,
.showcase-price-card::after,
.showcase-mode-card::after,
.showcase-product-card::after,
.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 0%, var(--theme-accent-soft) 48%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.showcase-price-card:hover::after,
.showcase-mode-card:hover::after,
.showcase-product-card:hover::after,
.showcase-card:hover::after {
    opacity: 1;
}

.showcase-hero-copy h1,
.showcase-subhero h1 {
    font-family: var(--showcase-font-display);
    font-size: clamp(2.3rem, 3vw, 4.2rem);
    line-height: 1.02;
    margin: 10px 0 12px;
}

.showcase-hero-copy p,
.showcase-subhero p,
.showcase-panel p,
.showcase-slide p,
.showcase-price-card p,
.showcase-mode-card p,
.showcase-product-card p,
.showcase-card p {
    color: var(--theme-muted);
    line-height: 1.7;
}

.showcase-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    position: relative;
    z-index: 10;
}

.showcase-actions-carousel {
    margin-top: auto;
}

.showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--theme-line);
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.showcase-btn:hover,
.showcase-price-card:hover,
.showcase-mode-card:hover,
.showcase-product-card:hover,
.showcase-card:hover,
.showcase-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.showcase-btn-primary {
    background: linear-gradient(135deg, var(--showcase-primary) 0%, var(--showcase-secondary) 100%);
    color: #fff;
}

.showcase-btn-secondary {
    background: var(--theme-panel-strong);
    color: var(--theme-ink);
}

.showcase-carousel {
    position: relative;
    min-height: 100%;
}

.showcase-carousel-track {
    position: relative;
    min-height: 100%;
}

.showcase-slide {
    padding: 26px;
    display: none;
    min-height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.showcase-slide.is-active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-slide span,
.showcase-price-card span,
.showcase-mode-card span,
.showcase-product-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--showcase-primary);
    font-weight: 800;
}

.showcase-slide h2,
.showcase-price-card h3,
.showcase-mode-card h3,
.showcase-section-head h3,
.showcase-panel h3 {
    font-family: var(--showcase-font-display);
    margin: 0;
}

.showcase-dots {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
}

.showcase-dot.is-active {
    background: var(--theme-accent);
}

.showcase-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-kpi {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.showcase-kpi strong {
    font-size: clamp(2rem, 3vw, 3rem);
    font-family: var(--showcase-font-display);
    line-height: 1;
}

.showcase-kpi span {
    font-size: 14px;
    color: var(--theme-accent);
    font-weight: 800;
}

.showcase-kpi p {
    margin: 0;
}

.showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-stack {
    display: grid;
    gap: 12px;
}

.showcase-card,
.showcase-product-card,
.showcase-mode-card,
.showcase-price-card {
    padding: 22px;
}

.showcase-card-soft {
    background: var(--theme-panel-strong);
}

.showcase-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.showcase-badge.is-on {
    background: rgba(18, 184, 134, 0.12);
    color: #0f7a5c;
}

.showcase-badge.is-off {
    background: rgba(190, 24, 93, 0.12);
    color: #9d174d;
}

.showcase-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 12px;
}

.showcase-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-price-card.is-featured {
    background: linear-gradient(165deg, var(--theme-accent) 0%, #9f7ae0 100%);
    color: #fff;
}

.front-showcase.theme-domicile .showcase-price-card.is-featured {
    background: linear-gradient(165deg, var(--theme-accent) 0%, #39aeb0 100%);
}

.front-showcase.theme-salon .showcase-price-card.is-featured {
    background: linear-gradient(165deg, var(--theme-accent) 0%, #d68c5a 100%);
}

.showcase-price-card.is-featured p,
.showcase-price-card.is-featured span,
.showcase-price-card.is-featured strong {
    color: #fff;
}

.showcase-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: var(--theme-muted);
}

.sticky-booking-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    background: var(--theme-accent);
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 999px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
    transform: translateY(120%);
    transition: transform 0.24s ease;
}

.sticky-booking-cta.is-visible {
    transform: translateY(0);
}

.front-chat {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 25;
}

.front-chat-toggle {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--theme-line);
    border-radius: 999px;
    background: var(--theme-panel-strong);
    color: var(--theme-ink);
    font-weight: 800;
    box-shadow: var(--theme-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.front-chat-toggle:hover,
.front-chat.is-open .front-chat-toggle {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(17, 24, 39, 0.12);
}

.front-chat-panel {
    width: min(360px, calc(100vw - 36px));
    margin-top: 12px;
    background: var(--theme-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--theme-line);
    border-radius: 24px;
    box-shadow: var(--theme-shadow);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.front-chat.is-open .front-chat-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.front-chat-head,
.front-chat-form,
.front-chat-body {
    padding: 16px 18px;
}

.front-chat-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid var(--theme-line);
}

.front-chat-head strong {
    display: block;
    font-family: var(--showcase-font-display);
}

.front-chat-head p {
    margin: 6px 0 0;
    color: var(--theme-muted);
    font-size: 14px;
}

.front-chat-close,
.front-chat-send {
    border: 1px solid var(--theme-line);
    border-radius: 999px;
    background: var(--theme-panel-strong);
    color: var(--theme-ink);
    font-weight: 700;
}

.front-chat-close {
    width: 36px;
    height: 36px;
}

.front-chat-body {
    display: grid;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.front-chat-message {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid var(--theme-line);
    animation: chat-pop 0.2s ease;
}

.front-chat-message p {
    margin: 0;
}

.front-chat-message.is-user {
    justify-self: end;
    background: var(--theme-accent);
    color: #fff;
}

.front-chat-message.is-assistant {
    justify-self: start;
    background: var(--theme-panel-strong);
}

.front-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.front-chat-action {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.front-chat-warnings {
    margin: 10px 0 0;
    padding-left: 16px;
    color: var(--theme-muted);
    font-size: 12px;
}

.front-chat-typing {
    padding: 0 18px 8px;
    font-size: 13px;
    color: var(--theme-muted);
}

.front-chat-form {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--theme-line);
}

.front-chat-input {
    width: 100%;
    resize: vertical;
    min-height: 74px;
    border-radius: 16px;
    border: 1px solid var(--theme-line);
    background: rgba(255, 255, 255, 0.6);
    padding: 12px 14px;
    color: var(--theme-ink);
}

.front-chat-send {
    min-height: 42px;
}

@keyframes chat-pop {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .showcase-hero,
    .showcase-grid,
    .showcase-kpis,
    .showcase-cards,
    .showcase-cards-3 {
        grid-template-columns: 1fr;
    }

    .front-showcase .showcase-shell {
        padding: 18px;
        border-radius: 24px;
    }
}

@media (max-width: 640px) {
    .showcase-hero-copy,
    .showcase-panel,
    .showcase-subhero,
    .showcase-slide,
    .showcase-card,
    .showcase-product-card,
    .showcase-price-card,
    .showcase-mode-card,
    .showcase-kpi {
        padding: 18px;
        border-radius: 18px;
    }

    .sticky-booking-cta {
        left: 16px;
        right: 16px;
        text-align: center;
    }

    .front-chat {
        left: 16px;
        right: 16px;
        bottom: 82px;
    }

    .front-chat-panel {
        width: 100%;
    }

    .front-demo-watermark {
        right: 12px;
        bottom: 12px;
        padding: 7px 12px;
        font-size: 10px;
    }
}
