:root {
    /* BRAND */
    --primary: #D8A7B1;
    --primary-dark: #8B5E66;
    --primary-light: #F7E6EA;

    /* ACCENT */
    --gold: #C9A96A;

    /* NEUTRALS */
    --text-dark: #2B2B2B;
    --text-muted: #6B6B6B;
    --bg-soft: #FFF7F9;
    --white: #ffffff;

    /* SHADOW */
    --shadow-soft: rgba(139, 94, 102, 0.15);
}

.container {
    max-width: 1140px;
}

main.container {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #FFF7F9;
}

a, button {
    transition: all 0.2s ease;
}

.dashboard-metric-card {
    background: #ffffff;
    border: 1px solid #ead7dc;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(43, 43, 43, 0.05);
}

.dashboard-metric-card span {
    display: block;
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dashboard-metric-card strong {
    display: block;
    color: #2b2b2b;
    font-size: 2rem;
    font-weight: 800;
}

.dashboard-metric-card small {
    color: #6b6b6b;
}

.dashboard-today-list {
    display: grid;
    gap: 12px;
}

.dashboard-today-item {
    background: #faf7f8;
    border: 1px solid #ead7dc;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.dashboard-today-item strong {
    color: #8b5e66;
    font-size: 1.1rem;
    margin-right: 10px;
}

.dashboard-today-item span {
    color: #2b2b2b;
    font-weight: 700;
}

.dashboard-today-item small {
    display: block;
    color: #6b6b6b;
    margin-top: 4px;
}  

/* ======================
   PREMIUM UI BASE
====================== */
/* Containers */
.soft-container {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(139, 94, 102, 0.08);
}

/* Seções */
.section-spacing {
    margin-bottom: 64px;
}

/* Títulos principais */
h1, h2, h3, .hero-title, .section-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

/* Subtítulos */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
}

/* Assinatura / destaque */
.signature-font {
    font-family: 'Allura', cursive;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1d5db;
}

.nav-link {
    font-weight: 500;
    color: #2B2B2B;
}

.nav-link:hover {
    color: #8B5E66;
}

/* Public homepage styles */

.hero-section {
    background: linear-gradient(135deg,#FFF7F9 0%,#F7E6EA 50%,#F2D6DC 100%);
    border-radius: 32px;
    padding: 72px 32px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 720px;
    margin: 0 auto;
}

.gold-accent {
    color: #C9A96A;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background: #C9A96A;
    margin: 12px 0;
}

.hero-section {
    background: linear-gradient(
        135deg,
        #FFF7F9 0%,
        #F7E6EA 100%
    );
    border-radius: 32px;
    padding: 80px 32px;
    box-shadow: 0 12px 40px rgba(139, 94, 102, 0.08);
}

.section-title {
    color: var(--text-dark);
    position: relative;
    font-size: 1.8rem;
    font-weight: 600;
}

.section-title::after {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--gold);
    display: block;
    margin-top: 8px;
}

.premium-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #f1d5db;
    box-shadow: 0 12px 30px rgba(139, 94, 102, 0.08);
    transition: all 0.25s ease;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(139, 94, 102, 0.12);
}

.public-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.section-title {
    color: #111827;
    font-weight: 700;
}

.soft-panel {
    background-color: #ffffff;
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(31, 41, 55, 0.06);
}

/* Logo styles */

/* ======================
   LOGO HEADER
====================== */

.site-logo {
    height: 120px;
    width: auto;
    transition: transform 0.25s ease;
}

.site-logo:hover {
    transform: scale(1.04);
}

/* mobile */
@media (max-width: 768px) {
    .site-logo {
        height: 72px;
    }
}

.home-logo {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(120, 72, 72, 0.16);
}

.navbar-brand img {
    border-radius: 10px;
}

/* Floating WhatsApp button */

.whatsapp-floating-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-floating-button:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

@media (max-width: 576px) {
    .whatsapp-floating-button {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
    }
}

/* Public visual schedule */

.public-agenda-hero {
    background: linear-gradient(135deg, #fff7fb 0%, #f8e7ef 45%, #f3e8ff 100%);
    border-radius: 32px;
    padding: 48px 24px;
    box-shadow: 0 12px 32px rgba(120, 72, 72, 0.08);
}

.public-slot-card {
    border: 1px solid #f1d5db;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.25s ease;
}

.public-slot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(139, 94, 102, 0.12);
}

.public-slot-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #8B5E66;
}

.public-slot-status {
    margin-top: 8px;
    color: #198754;
    font-size: 0.9rem;
    font-weight: 600;
}

.public-slot-action {
    margin-top: 12px;
    background: linear-gradient(135deg, #d8a7b1 0%, #8b5e66 100%);
    color: #ffffff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.public-empty-state {
    background: #fff7fb;
    border: 1px dashed #d8a7b1;
    border-radius: 28px;
}

@media (max-width: 576px) {
    .public-agenda-hero {
        padding: 36px 18px;
        border-radius: 24px;
    }

    .public-slot-card {
        padding: 16px 10px;
        border-radius: 18px;
    }

    .public-slot-time {
        font-size: 1.25rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #D8A7B1, #8B5E66);
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 94, 102, 0.25);
}

.btn-outline-secondary {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-outline-secondary:hover {
    background-color: var(--primary);
    color: #fff;
}

/* ======================
   LUXURY HOME REDESIGN
====================== */

.luxury-hero {
    background:
        radial-gradient(circle at top right, rgba(201, 169, 106, 0.16), transparent 34%),
        linear-gradient(135deg, #fff7f9 0%, #f7e6ea 52%, #ffffff 100%);
    border: 1px solid #f1d5db;
    border-radius: 36px;
    padding: 72px 48px;
    box-shadow: 0 24px 60px rgba(139, 94, 102, 0.12);
}

.luxury-eyebrow {
    display: inline-block;
    color: #8b5e66;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.luxury-title {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: clamp(2.1rem, 5vw, 4.1rem);
    line-height: 1.05;
    font-weight: 600;
}

.luxury-subtitle {
    color: #6b6b6b;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 580px;
}

.signature-font {
    font-family: 'Allura', cursive;
    color: #8b5e66;
    font-size: 1.35em;
    font-weight: 400;
}

.luxury-logo-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.12);
}

.luxury-logo {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.luxury-card {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 14px 36px rgba(139, 94, 102, 0.08);
    transition: all 0.25s ease;
}

.luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(139, 94, 102, 0.14);
}

.luxury-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f7e6ea;
    color: #8b5e66;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 22px;
}

.luxury-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: #2b2b2b;
    margin-bottom: 12px;
}

.luxury-card p {
    color: #6b6b6b;
    line-height: 1.7;
}

.luxury-link {
    color: #8b5e66;
    font-weight: 600;
    text-decoration: none;
}

.luxury-link:hover {
    color: #c9a96a;
}

.luxury-info-panel {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 16px 42px rgba(139, 94, 102, 0.08);
}

.luxury-code-box {
    background: linear-gradient(135deg, #fff7f9, #f7e6ea);
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
}

.luxury-code-box span {
    display: block;
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.luxury-code-box strong {
    color: #2b2b2b;
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.luxury-final-cta {
    background: #fff7f9;
    border-radius: 32px;
    padding: 56px 24px;
    border: 1px solid #f1d5db;
}

@media (max-width: 768px) {
    .luxury-hero {
        padding: 48px 24px;
        border-radius: 28px;
    }

    .luxury-logo-card {
        padding: 24px;
    }

    .luxury-info-panel {
        padding: 32px 24px;
    }
}

/* ======================
   APP STYLE AGENDA
====================== */

.app-agenda-page {
    max-width: 1180px;
    margin: 0 auto;
}

.app-agenda-header {
    text-align: center;
}

.app-agenda-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    margin: 8px 0 12px;
}

.app-agenda-header p {
    color: #6b6b6b;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.app-agenda-shell {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}

.app-agenda-filter,
.app-agenda-results {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.08);
}

.app-agenda-filter {
    padding: 28px;
    position: sticky;
    top: 96px;
}

.app-agenda-filter .form-label {
    color: #2b2b2b;
    font-weight: 600;
}

.app-agenda-filter .form-select,
.app-agenda-filter .form-control {
    border-radius: 18px;
    border-color: #f1d5db;
    padding: 14px 16px;
}

.app-agenda-filter .form-select:focus,
.app-agenda-filter .form-control:focus {
    border-color: #d8a7b1;
    box-shadow: 0 0 0 0.2rem rgba(216, 167, 177, 0.18);
}

.app-service-summary {
    background: linear-gradient(135deg, #fff7f9, #f7e6ea);
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 22px;
}

.app-service-summary span {
    display: block;
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.app-service-summary strong {
    display: block;
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.2;
}

.app-service-summary small {
    display: block;
    color: #6b6b6b;
    margin-top: 6px;
}

.app-agenda-results {
    padding: 32px;
}

.app-results-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.app-results-top h2 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: 2rem;
    font-weight: 600;
    margin: 6px 0 0;
}

.app-duration-pill {
    background: #f7e6ea;
    color: #8b5e66;
    border: 1px solid #f1d5db;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    white-space: nowrap;
}

.app-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.app-slot-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff7f9;
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 20px;
    text-decoration: none;
    color: #2b2b2b;
    transition: all 0.22s ease;
}

.app-slot-card:hover {
    background: #ffffff;
    border-color: #d8a7b1;
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(139, 94, 102, 0.14);
}

.app-slot-time {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #8b5e66;
}

.app-slot-status {
    color: #198754;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-slot-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #d8a7b1, #8b5e66);
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    text-align: center;
    font-weight: 700;
}

.app-empty-state {
    background: #fff7f9;
    border: 1px dashed #d8a7b1;
    border-radius: 28px;
    padding: 56px 24px;
    text-align: center;
}

.app-empty-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.app-empty-state h3 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: 1.5rem;
}

.app-empty-state p {
    color: #6b6b6b;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .app-agenda-shell {
        grid-template-columns: 1fr;
    }

    .app-agenda-filter {
        position: static;
    }
}

@media (max-width: 576px) {
    .app-agenda-filter,
    .app-agenda-results {
        border-radius: 24px;
        padding: 22px;
    }

    .app-results-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .app-slot-card {
        padding: 16px;
        border-radius: 20px;
    }

    .app-slot-time {
        font-size: 1.45rem;
    }
}

/* ======================
   PREMIUM FORMS
====================== */

.card form {
    text-align: left;
}

.form-label {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.form-control,
.form-select,
textarea.form-control {
    border: 1px solid #f1d5db;
    border-radius: 18px;
    background-color: #fffafa;
    color: #2b2b2b;
    padding: 14px 16px;
    font-size: 0.98rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #d8a7b1;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.22rem rgba(216, 167, 177, 0.18);
}

.form-control::placeholder {
    color: #b89ca2;
}

.form-text {
    color: #8b5e66;
    font-size: 0.85rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-check-input {
    border-color: #d8a7b1;
}

.form-check-input:checked {
    background-color: #8b5e66;
    border-color: #8b5e66;
}

.invalid-feedback,
.text-danger,
.errorlist {
    color: #b4233c !important;
    font-size: 0.88rem;
    margin-top: 6px;
}

.is-invalid,
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #d96b7c;
    background-image: none;
}

.card.shadow-sm.border-0 {
    border: 1px solid #f1d5db !important;
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.08) !important;
}

.card-body {
    border-radius: 30px;
}

.card-body h1,
.card-body h2 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-weight: 600;
}

.card-body > p.text-muted {
    color: #6b6b6b !important;
}

form .btn {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
}

.btn-outline-secondary {
    border-color: #d8a7b1;
    color: #8b5e66;
}

.btn-outline-secondary:hover {
    background-color: #8b5e66;
    border-color: #8b5e66;
    color: #ffffff;
}

.alert-info {
    background: #fff7f9;
    border-color: #f1d5db;
    color: #8b5e66;
    border-radius: 18px;
}

.alert-warning {
    background: #fff8e7;
    border-color: #ead7a3;
    color: #8a6a22;
    border-radius: 18px;
}

.premium-form-card {
    background:
        radial-gradient(circle at top right, rgba(201, 169, 106, 0.12), transparent 32%),
        #ffffff;
}

.premium-form-card .card-body {
    padding: 40px !important;
}

@media (max-width: 576px) {
    .premium-form-card .card-body {
        padding: 28px 22px !important;
    }
}

.booking-summary {
    background: linear-gradient(135deg, #fff7f9, #f7e6ea);
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 20px;
}

.booking-summary span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #8b5e66;
    font-weight: 700;
    margin-bottom: 10px;
}

.booking-summary-content {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.booking-summary-content strong {
    font-size: 0.8rem;
    color: #6b6b6b;
}

.booking-summary-content p {
    margin: 0;
    font-weight: 600;
    color: #2b2b2b;
}

.success-box {
    padding: 40px;
}

.success-code {
    background: #2b2b2b;
    color: #fff;
    font-size: 1.6rem;
    padding: 16px;
    border-radius: 16px;
    letter-spacing: 2px;
    font-weight: 700;
}

.app-slot-card:active {
    transform: scale(0.96);
}

.success-reference-code {
    background: #2b2b2b;
    color: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* Agenda auto-submit loading */

#agenda-filter-form {
    transition: opacity 0.2s ease;
}

#agenda-filter-form.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.app-agenda-filter.is-loading::after {
    content: "A carregar horários...";
    display: block;
    margin-top: 16px;
    color: #8b5e66;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ======================
   INTERNAL APP CALENDAR
====================== */

.internal-calendar-page {
    max-width: 1180px;
    margin: 0 auto;
}

.internal-calendar-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
}

.internal-calendar-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin: 6px 0;
}

.internal-calendar-header p {
    color: #6b6b6b;
    margin: 0;
}

.internal-calendar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.internal-calendar-filter,
.internal-business-hour,
.internal-calendar-board {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 28px;
    box-shadow: 0 16px 42px rgba(139, 94, 102, 0.08);
}

.internal-calendar-filter {
    padding: 24px;
}

.internal-business-hour {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.internal-business-hour span {
    color: #8b5e66;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.internal-business-hour strong {
    color: #2b2b2b;
}

.internal-calendar-board {
    overflow: hidden;
}

.internal-slot-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    min-height: 72px;
    border-bottom: 1px solid #f5e3e7;
    background: #ffffff;
}

.internal-slot-row:last-child {
    border-bottom: 0;
}

.internal-slot-row.is-muted {
    background: #fffafa;
}

.internal-slot-row.is-blocked {
    background: #fff8e7;
}

.internal-slot-time {
    border-right: 1px solid #f5e3e7;
    padding: 18px 16px;
    color: #8b5e66;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
}

.internal-slot-content {
    padding: 12px 16px;
}

.internal-slot-muted-text {
    color: #a0898f;
    font-size: 0.9rem;
}

.calendar-empty-slot {
    min-height: 48px;
    border: 1px dashed #d8a7b1;
    border-radius: 18px;
    background: #fff7f9;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.calendar-empty-slot span {
    color: #6b6b6b;
    font-weight: 600;
}

.calendar-event {
    border-radius: 22px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #f1d5db;
    border-left: 6px solid #d8a7b1;
    background: #fff7f9;
}

.calendar-event h2 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 4px 0 6px;
}

.calendar-event p {
    color: #6b6b6b;
    margin: 0;
}

.calendar-event small {
    display: block;
    margin-top: 8px;
    color: #6b6b6b;
}

.calendar-event-kicker {
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.calendar-event-side {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.calendar-event-buttons {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.calendar-event-buttons form {
    display: inline;
}

.status-pill {
    background: #ffffff;
    border: 1px solid #f1d5db;
    color: #8b5e66;
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-blocked {
    background: #fff8e7;
    border-color: #ead7a3;
    color: #8a6a22;
}

.calendar-event-scheduled {
    border-left-color: #8b5e66;
    background: #fff7f9;
}

.calendar-event-confirmed {
    border-left-color: #198754;
    background: #f1fbf5;
}

.calendar-event-completed {
    border-left-color: #2b2b2b;
    background: #f7f7f7;
}

.calendar-event-cancelled {
    border-left-color: #d96b7c;
    background: #fff1f3;
    opacity: 0.75;
}

.calendar-event-block {
    border-left-color: #c9a96a;
    background: #fff8e7;
}

@media (max-width: 992px) {
    .internal-calendar-header {
        flex-direction: column;
        align-items: stretch;
    }

    .internal-calendar-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .internal-slot-row {
        grid-template-columns: 78px 1fr;
    }

    .internal-slot-time {
        font-size: 1rem;
        padding: 16px 10px;
    }

    .calendar-event {
        flex-direction: column;
    }

    .calendar-event-side {
        min-width: 0;
        align-items: flex-start;
    }

    .calendar-event-buttons {
        justify-content: flex-start;
    }

    .internal-calendar-actions .btn {
        width: 100%;
    }
}

/* ======================
   PUBLIC WEEK NAVIGATION
====================== */

.app-week-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px 12px;
    scroll-snap-type: x mandatory;
}

.app-week-strip::-webkit-scrollbar {
    height: 6px;
}

.app-week-strip::-webkit-scrollbar-thumb {
    background: #d8a7b1;
    border-radius: 999px;
}

.app-week-day {
    min-width: 92px;
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 22px;
    padding: 14px 12px;
    text-align: center;
    text-decoration: none;
    color: #2b2b2b;
    box-shadow: 0 10px 28px rgba(139, 94, 102, 0.07);
    scroll-snap-align: start;
    transition: all 0.2s ease;
}

.app-week-day:hover {
    transform: translateY(-3px);
    border-color: #d8a7b1;
    color: #2b2b2b;
}

.app-week-day span {
    display: block;
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.app-week-day strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    line-height: 1;
    margin: 6px 0 4px;
}

.app-week-day small {
    color: #6b6b6b;
    font-weight: 600;
    text-transform: uppercase;
}

.app-week-day.is-active {
    background: linear-gradient(135deg, #d8a7b1, #8b5e66);
    border-color: #8b5e66;
    color: #ffffff;
}

.app-week-day.is-active span,
.app-week-day.is-active small {
    color: #ffffff;
}

/* ======================
   ONE PAGE PUBLIC SITE
====================== */

html {
    scroll-behavior: smooth;
}

.one-page-section {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 56px 40px;
    box-shadow: 0 16px 42px rgba(139, 94, 102, 0.08);
}

.about-card {
    background: linear-gradient(135deg, #fff7f9, #f7e6ea);
    border: 1px solid #f1d5db;
    border-radius: 30px;
    padding: 40px;
    min-height: 280px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.1);
}

.about-card h2 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: 2rem;
    margin: 8px 0 16px;
}

.about-card p {
    color: #6b6b6b;
    line-height: 1.8;
    margin: 0;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 28px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 14px 36px rgba(139, 94, 102, 0.08);
}

.testimonial-card p {
    color: #6b6b6b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card strong {
    color: #8b5e66;
}

@media (max-width: 768px) {
    .one-page-section {
        padding: 36px 24px;
        border-radius: 26px;
    }

    .about-card {
        padding: 32px 24px;
    }
}

/* ======================
   STICKY PREMIUM NAVBAR
====================== */

.public-navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #f1d5db;
    box-shadow: 0 8px 28px rgba(139, 94, 102, 0.06);
}

.public-navbar .navbar-brand img {
    height: 120px !important;
}

.public-navbar .nav-link {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 1.2rem;
    padding-inline: 16px;
}

.public-navbar .nav-link:hover {
    color: #8b5e66;
}

.public-navbar .btn-outline-primary {
    border-color: #d8a7b1;
    color: #8b5e66;
    border-radius: 999px;
    font-weight: 600;
}

.public-navbar .btn-outline-primary:hover {
    background: #8b5e66;
    border-color: #8b5e66;
    color: #ffffff;
}

@media (max-width: 991px) {
    .public-navbar .container {
        flex-wrap: wrap;
    }

    .public-navbar .navbar-nav {
        width: 100%;
        margin-left: 0 !important;
        margin-top: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .public-navbar .nav-link {
        background: #fff7f9;
        border: 1px solid #f1d5db;
        border-radius: 999px;
        padding: 8px 14px;
    }
}

section[id] {
    scroll-margin-top: 96px;
}

/* ======================
   TRUST STRIP
====================== */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trust-item {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(139, 94, 102, 0.07);
}

.trust-item strong {
    display: block;
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.trust-item span {
    color: #6b6b6b;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }
}

/* ======================
   MOBILE NAVBAR
====================== */

.mobile-menu-button {
    border: 1px solid #f1d5db;
    border-radius: 14px;
    padding: 8px 10px;
    background: #fff7f9;
}

.mobile-menu-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(216, 167, 177, 0.2);
}

@media (max-width: 991px) {
    .public-navbar .navbar-collapse {
        background: #ffffff;
        border: 1px solid #f1d5db;
        border-radius: 24px;
        margin-top: 16px;
        padding: 18px;
        box-shadow: 0 18px 42px rgba(139, 94, 102, 0.12);
    }

    .public-navbar .navbar-nav {
        gap: 8px;
    }

    .public-navbar .nav-link {
        background: #fff7f9;
        border: 1px solid #f1d5db;
        border-radius: 999px;
        padding: 10px 16px;
        text-align: center;
    }

    .public-navbar .nav-link:hover {
        background: #f7e6ea;
    }
}

/* ======================
   PREMIUM FOOTER
====================== */

.site-footer {
    background: linear-gradient(135deg, #ffffff 0%, #fff7f9 100%);
    border-top: 1px solid #f1d5db;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 32px;
    align-items: stretch;
}

.footer-brand-panel,
.footer-info-panel {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 16px 42px rgba(139, 94, 102, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-brand-panel:hover,
.footer-info-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(139, 94, 102, 0.12);
}

/* ======================
   LOGO FOOTER
====================== */

.footer-brand-panel img {
    height: 120px;
    width: auto;
    margin-bottom: 18px;
    transition: transform 0.25s ease;
}

.footer-brand-panel img:hover {
    transform: scale(1.05);
}

/* mobile */
@media (max-width: 768px) {
    .footer-brand-panel img {
        height: 64px;
    }
}

.public-navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.footer-brand-panel p,
.footer-info-panel p,
.footer-hours p {
    color: #6b6b6b;
    margin-bottom: 8px;
    line-height: 1.7;
}

.footer-hours {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f1d5db;
}

.footer-hours h4,
.footer-info-panel h4 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: 1.35rem;
    margin-bottom: 14px;
}

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

.footer-info-panel a:not(.btn) {
    display: block;
    color: #6b6b6b;
    text-decoration: none;
    margin-bottom: 9px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-info-panel a:not(.btn):hover {
    color: #8b5e66;
    transform: translateX(4px);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.footer-map {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #f1d5db;
    min-height: 220px;
}

.footer-map iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
    filter: saturate(0.85) contrast(0.95);
}

.footer-bottom {
    margin-top: 28px;
    text-align: center;
    color: #8b5e66;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding-top: 40px;
    }

    .footer-brand-panel,
    .footer-info-panel {
        padding: 24px;
        border-radius: 24px;
    }

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

    .footer-actions .btn {
        width: 100%;
    }
}

html {
    scroll-behavior: smooth;
}

section[id],
footer[id] {
    scroll-margin-top: 110px;
}

.public-navbar .nav-link.is-active {
    color: #8b5e66;
    background: #fff7f9;
    border-radius: 999px;
}

/* ======================
   STICKY FOOTER LAYOUT
====================== */

.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1;
}

/* ======================
   INTERNAL SYSTEM LAYOUT
====================== */

.internal-layout {
    background: #f7f4f5;
}

.internal-layout .public-navbar {
    background: #ffffff;
    border-bottom: 1px solid #ead7dc;
    box-shadow: 0 6px 24px rgba(43, 43, 43, 0.06);
}

.internal-layout .app-main {
    padding-inline: 32px;
}

.internal-layout .card {
    border: 1px solid #ead7dc !important;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.06) !important;
}

.internal-layout .card-body h1,
.internal-layout .card-body h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.internal-layout .navbar-nav .nav-link {
    font-size: 0.92rem;
    font-weight: 600;
}

.internal-layout .navbar-nav .nav-link:hover {
    color: #8b5e66;
    background: #fff7f9;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .internal-layout .app-main {
        padding-inline: 16px;
    }
}

/* ======================
   INTERNAL DASHBOARD
====================== */

.internal-dashboard {
    max-width: 1280px;
    margin: 0 auto;
}

.dashboard-hero {
    background: #ffffff;
    border: 1px solid #ead7dc;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(43, 43, 43, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.dashboard-hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #2b2b2b;
    margin: 6px 0;
}

.dashboard-hero p {
    color: #6b6b6b;
    margin: 0;
}

.dashboard-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dashboard-action-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid #ead7dc;
    border-radius: 24px;
    padding: 24px;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(43, 43, 43, 0.05);
    transition: all 0.22s ease;
}

.dashboard-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(43, 43, 43, 0.09);
}

.dashboard-action-card span {
    display: block;
    color: #8b5e66;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dashboard-action-card strong {
    display: block;
    color: #2b2b2b;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.dashboard-action-card small {
    color: #6b6b6b;
    line-height: 1.5;
}

.dashboard-panel {
    background: #ffffff;
    border: 1px solid #ead7dc;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(43, 43, 43, 0.06);
}

.dashboard-panel-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2b2b2b;
    margin: 6px 0 22px;
}

.dashboard-flow {
    display: grid;
    gap: 16px;
}

.dashboard-flow div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 14px;
    align-items: start;
    background: #faf7f8;
    border: 1px solid #ead7dc;
    border-radius: 18px;
    padding: 16px;
}

.dashboard-flow strong {
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f7e6ea;
    color: #8b5e66;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-flow span {
    color: #2b2b2b;
    font-weight: 800;
}

.dashboard-flow p {
    color: #6b6b6b;
    margin: 0;
}

.dashboard-quick-links {
    display: grid;
    gap: 12px;
}

.dashboard-quick-links a {
    background: #faf7f8;
    border: 1px solid #ead7dc;
    border-radius: 16px;
    padding: 14px 16px;
    color: #2b2b2b;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.dashboard-quick-links a:hover {
    background: #f7e6ea;
    color: #8b5e66;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .dashboard-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-hero-actions .btn {
        width: 100%;
    }
}

.premium-modal {
    border: 1px solid #f1d5db;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(139, 94, 102, 0.18);
}

.appointment-card {
    border: 1px solid #f1d5db;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff7f9;
}

.appointment-main strong {
    display: block;
    color: #2b2b2b;
}

.appointment-main p {
    margin: 4px 0;
    color: #6b6b6b;
}

.status-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b5e66;
}

/* ======================
   CUSTOMER APPOINTMENT DETAIL
====================== */

.appointment-detail-card {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.1);
}

.appointment-detail-header {
    text-align: center;
    margin-bottom: 28px;
}

.appointment-detail-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2b2b2b;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 8px 0 14px;
}

.appointment-detail-status {
    display: inline-block;
    background: #f7e6ea;
    color: #8b5e66;
    border: 1px solid #f1d5db;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
}

.appointment-detail-code {
    background: #2b2b2b;
    color: #ffffff;
    border-radius: 24px;
    padding: 22px;
    text-align: center;
    margin-bottom: 24px;
}

.appointment-detail-code span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.75;
    margin-bottom: 6px;
}

.appointment-detail-code strong {
    font-size: 1.6rem;
    letter-spacing: 0.12em;
}

.appointment-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.appointment-detail-grid div,
.appointment-detail-notes {
    background: #fff7f9;
    border: 1px solid #f1d5db;
    border-radius: 20px;
    padding: 18px;
}

.appointment-detail-grid span,
.appointment-detail-notes span {
    display: block;
    color: #8b5e66;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.appointment-detail-grid strong {
    color: #2b2b2b;
    font-size: 1.05rem;
}

.appointment-detail-notes {
    margin-top: 14px;
}

.appointment-detail-notes p {
    color: #6b6b6b;
    margin: 0;
}

.appointment-detail-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

@media (max-width: 576px) {
    .appointment-detail-card {
        padding: 24px;
        border-radius: 26px;
    }

    .appointment-detail-grid {
        grid-template-columns: 1fr;
    }

    .appointment-detail-actions .btn {
        width: 100%;
    }
}                                                                             

/* ======================
   FIX AJAX FOOTER JUMP
====================== */

/* ======================
   AJAX SCHEDULE NO FLICKER
====================== */

.app-agenda-results {
    min-height: 620px;
}

#agenda-slots-container {
    min-height: 420px;
    position: relative;
}

#agenda-slots-container.is-loading::after {
    content: "A carregar horários...";
    position: absolute;
    inset: 0;
    background: rgba(255, 247, 249, 0.72);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5e66;
    font-weight: 700;
    z-index: 5;
}

.btn i {
    font-size: 16px;
    line-height: 1;
}

.email-preview-html-body {
        background: #ffffff;
        padding: 0;
        overflow: hidden;
    }

/* ======================
   HOME HERO LAYOUT OPTIONS
====================== */

.luxury-hero-logo-top {
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.luxury-hero-logo-top-content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.luxury-logo-transparent {
    width: min(100%, 560px);
    max-width: 560px;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(139, 94, 102, 0.14));
}

.luxury-hero-logo-top .luxury-title {
    max-width: 780px;
}

.luxury-hero-logo-top .luxury-subtitle {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.luxury-hero-actions {
    justify-content: center;
}

@media (max-width: 768px) {
    .luxury-logo-transparent {
        max-width: 340px;
    }

    .luxury-hero-logo-top {
        padding: 44px 22px;
    }
}

/* ======================
   SERVICE LIST VISUAL UPGRADE
====================== */

.service-feed-page {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.service-feed-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: stretch;
    background: linear-gradient(135deg, #fff7f9 0%, #ffffff 56%, #f7e6ea 100%);
    border: 1px solid #f1d5db;
    border-radius: 36px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 24px 60px rgba(139, 94, 102, 0.10);
}

.service-feed-lead {
    color: #6b6b6b;
    max-width: 760px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-feed-hero-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #f1d5db;
    border-radius: 28px;
    padding: 26px;
}

.service-feed-hero-card i {
    color: #8b5e66;
    font-size: 2rem;
}

.service-feed-hero-card strong {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
}

.service-feed-hero-card span {
    color: #6b6b6b;
    line-height: 1.6;
}

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-category-card {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.08);
}

.service-category-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.service-category-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7e6ea, #fff7f9);
    color: #8b5e66;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.service-category-card h2 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 4px 0 0;
}

.service-category-description {
    color: #6b6b6b;
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-card-list {
    display: grid;
    gap: 14px;
}

.service-public-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "main meta"
        "cta cta";
    gap: 14px 18px;
    background: #fff7f9;
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 20px;
    color: #2b2b2b;
    text-decoration: none;
    transition: all 0.22s ease;
}

.service-public-card:hover {
    background: #ffffff;
    border-color: #d8a7b1;
    box-shadow: 0 16px 36px rgba(139, 94, 102, 0.14);
    color: #2b2b2b;
    transform: translateY(-4px);
}

.service-public-main {
    grid-area: main;
}

.service-public-main strong {
    display: block;
    font-size: 1.04rem;
    margin-bottom: 6px;
}

.service-public-main p {
    color: #6b6b6b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.service-public-meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.service-public-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 999px;
    color: #8b5e66;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 7px 11px;
    white-space: nowrap;
}

.service-public-cta {
    grid-area: cta;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid rgba(216, 167, 177, 0.35);
    color: #8b5e66;
    font-weight: 800;
    padding-top: 12px;
}

.service-public-empty {
    background: #fff7f9;
    border: 1px dashed #d8a7b1;
    border-radius: 18px;
    color: #6b6b6b;
    padding: 16px;
}

.service-feed-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #2b2b2b;
    border-radius: 32px;
    color: #ffffff;
    padding: 32px;
}

.service-feed-bottom-cta .luxury-eyebrow {
    color: #f7e6ea;
}

.service-feed-bottom-cta h2 {
    font-family: 'Playfair Display', serif;
    margin: 4px 0 8px;
}

.service-feed-bottom-cta p {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0;
}

.internal-services-page {
    max-width: 1180px;
    margin: 0 auto;
}

.internal-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.internal-services-header h1 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 6px 0 10px;
}

.internal-services-header p {
    color: #6b6b6b;
    max-width: 760px;
    margin-bottom: 0;
}

.service-admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-admin-metric-card {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 34px rgba(139, 94, 102, 0.08);
}

.service-admin-metric-card span {
    color: #8b5e66;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-admin-metric-card strong {
    display: block;
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 2.15rem;
    line-height: 1;
    margin: 10px 0 8px;
}

.service-admin-metric-card small {
    color: #6b6b6b;
}

.service-admin-metric-card.is-active {
    background: #f4fff8;
    border-color: #bfe8cb;
}

.service-admin-metric-card.is-muted {
    background: #f8f8f8;
    border-color: #e3e3e3;
}

.service-admin-category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-admin-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff7f9;
    border: 1px solid #f1d5db;
    border-radius: 999px;
    padding: 10px 14px;
}

.service-admin-category-chip span {
    color: #2b2b2b;
    font-weight: 700;
}

.service-admin-category-chip strong {
    color: #8b5e66;
    font-size: 0.92rem;
}

.service-admin-groups {
    display: grid;
    gap: 28px;
}

.service-admin-group {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.08);
}

.service-admin-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.service-admin-group-title h2 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin: 4px 0 0;
}

.service-admin-group-count {
    background: #f7e6ea;
    color: #8b5e66;
    border-radius: 999px;
    font-weight: 800;
    padding: 10px 14px;
    white-space: nowrap;
}

.service-admin-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-admin-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff7f9;
    border: 1px solid #f1d5db;
    border-radius: 26px;
    padding: 22px;
}

.service-admin-card.is-inactive {
    background: #f8f8f8;
    border-color: #e2e2e2;
    opacity: 0.82;
}

.service-admin-card-top,
.service-admin-card-meta,
.service-admin-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.service-admin-category-badge,
.service-admin-status,
.service-admin-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 7px 11px;
}

.service-admin-category-badge {
    background: #ffffff;
    color: #8b5e66;
    border: 1px solid #f1d5db;
}

.service-admin-status.is-active {
    background: #e8f7ee;
    color: #198754;
}

.service-admin-status.is-inactive {
    background: #eeeeee;
    color: #6c757d;
}

.service-admin-card-body {
    flex: 1;
    margin: 18px 0;
}

.service-admin-card-body h3 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.service-admin-card-body p {
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-admin-card-meta {
    border-top: 1px solid rgba(216, 167, 177, 0.35);
    border-bottom: 1px solid rgba(216, 167, 177, 0.35);
    padding: 14px 0;
    margin-bottom: 16px;
}

.service-admin-card-meta span {
    background: #ffffff;
    color: #8b5e66;
    border: 1px solid #f1d5db;
}

.service-admin-card-actions {
    justify-content: flex-end;
}

/* ======================
   PUBLIC AGENDA BLOCKED DAY UPGRADE
====================== */

.app-agenda-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.app-agenda-results-header h2 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 4px 0 0;
}

.availability-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    padding: 10px 14px;
    white-space: nowrap;
}

.availability-status-pill.status-available {
    background: #e8f7ee;
    color: #198754;
}

.availability-status-pill.status-no_slots {
    background: #fff3cd;
    color: #8a6d1d;
}

.availability-status-pill.status-full_day_blocked,
.availability-status-pill.status-closed {
    background: #f8d7da;
    color: #842029;
}

.app-week-day em {
    display: block;
    color: #842029;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-top: 6px;
    text-transform: uppercase;
}

.app-week-day.is-fully-blocked {
    background: #fff5f6;
    border-color: #f0b6bd;
}

.app-week-day.is-fully-blocked strong {
    color: #842029;
}

.app-week-day.is-active.is-fully-blocked {
    background: linear-gradient(135deg, #c76d78, #842029);
    border-color: #842029;
    color: #ffffff;
}

.app-week-day.is-active.is-fully-blocked span,
.app-week-day.is-active.is-fully-blocked small,
.app-week-day.is-active.is-fully-blocked strong,
.app-week-day.is-active.is-fully-blocked em {
    color: #ffffff;
}

.app-full-blocked-state {
    background: linear-gradient(135deg, #fff5f6, #ffffff);
    border: 1px solid #f0b6bd;
    box-shadow: 0 18px 46px rgba(132, 32, 41, 0.08);
}

.app-full-blocked-state .app-empty-icon {
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    background: #f8d7da;
    border-radius: 24px;
    color: #842029;
    font-size: 2rem;
}

.full-blocked-reason {
    max-width: 460px;
    margin: 24px auto 0;
    background: #ffffff;
    border: 1px solid #f0b6bd;
    border-radius: 22px;
    padding: 18px;
}

.full-blocked-reason span {
    display: block;
    color: #842029;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.full-blocked-reason strong {
    display: block;
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.full-blocked-reason small {
    display: block;
    color: #6b6b6b;
    line-height: 1.6;
    margin-top: 6px;
}

.agenda-service-feed-card .accordion-button {
    font-weight: 800;
}

@media (max-width: 992px) {
    .service-feed-hero,
    .service-category-grid,
    .service-admin-card-grid,
    .service-admin-metrics {
        grid-template-columns: 1fr;
    }

    .internal-services-header,
    .service-feed-bottom-cta,
    .app-agenda-results-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .service-category-card,
    .service-admin-group,
    .service-feed-hero,
    .service-feed-bottom-cta {
        border-radius: 24px;
        padding: 22px;
    }

    .service-public-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "meta"
            "cta";
    }

    .service-public-meta {
        align-items: flex-start;
    }

    .availability-status-pill {
        white-space: normal;
    }
}

/* Internal visual agenda: compact full-day block state */
.internal-full-day-block-card {
    background: linear-gradient(135deg, #fff8e7, #ffffff);
    border: 1px solid #ead7a3;
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(139, 94, 102, 0.1);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: flex-start;
    padding: 28px;
}

.internal-full-day-block-icon {
    width: 74px;
    height: 74px;
    border-radius: 26px;
    background: #fff3cd;
    color: #8a6a22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset 0 0 0 1px rgba(138, 106, 34, 0.12);
}

.internal-full-day-block-main h2 {
    color: #2b2b2b;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    margin: 6px 0 10px;
}

.internal-full-day-block-main > p {
    color: #6b6b6b;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 760px;
}

.internal-full-day-block-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.internal-full-day-block-meta span {
    align-items: center;
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 999px;
    color: #8b5e66;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 8px;
    padding: 9px 13px;
}

.internal-full-day-block-notes {
    background: #ffffff;
    border: 1px solid #f1d5db;
    border-radius: 22px;
    margin-top: 22px;
    padding: 16px 18px;
}

.internal-full-day-block-notes strong {
    color: #8b5e66;
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.internal-full-day-block-notes p {
    color: #6b6b6b;
    line-height: 1.6;
    margin: 0;
}

.internal-full-day-block-actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 170px;
}

.internal-full-day-block-actions .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .internal-full-day-block-card {
        grid-template-columns: 1fr;
    }

    .internal-full-day-block-actions {
        align-items: stretch;
        width: 100%;
    }
}


/* ======================
   FIX: PUBLIC MINIMUM LEAD TIME AND INTERNAL AGENDA RESPONSIVENESS
====================== */

.internal-calendar-page,
.internal-calendar-page * {
    min-width: 0;
}

.internal-full-day-block-card {
    grid-template-columns: 74px minmax(0, 1fr) minmax(180px, 220px);
    overflow: hidden;
}

.internal-full-day-block-main h2,
.internal-full-day-block-main p,
.internal-full-day-block-notes p,
.calendar-event h2,
.calendar-event p,
.calendar-event small {
    overflow-wrap: anywhere;
    word-break: normal;
}

.internal-full-day-block-actions {
    min-width: 0;
}

.internal-full-day-block-actions .status-pill {
    text-align: center;
    width: 100%;
}

.calendar-event {
    min-width: 0;
}

.calendar-event-main {
    min-width: 0;
}

.calendar-event-side {
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .internal-full-day-block-card {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .internal-full-day-block-actions {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        width: 100%;
    }

    .internal-full-day-block-actions .btn,
    .internal-full-day-block-actions .status-pill {
        width: auto;
    }
}

@media (max-width: 768px) {
    .internal-calendar-header,
    .internal-calendar-actions,
    .internal-business-hour,
    .calendar-empty-slot,
    .calendar-event {
        align-items: stretch;
        flex-direction: column;
    }

    .internal-calendar-actions .btn,
    .calendar-empty-slot .btn,
    .calendar-event-buttons .btn,
    .calendar-event-buttons form,
    .calendar-event-buttons button {
        width: 100%;
    }

    .internal-slot-row {
        grid-template-columns: 1fr;
    }

    .internal-slot-time {
        border-bottom: 1px solid #f5e3e7;
        border-right: 0;
        padding: 12px 16px;
    }

    .internal-full-day-block-card {
        border-radius: 24px;
        gap: 18px;
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .internal-full-day-block-icon {
        height: 58px;
        width: 58px;
    }

    .internal-full-day-block-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .internal-full-day-block-actions .btn,
    .internal-full-day-block-actions .status-pill {
        width: 100%;
    }

    .internal-full-day-block-meta span {
        border-radius: 16px;
        width: 100%;
    }
}

/* ======================
   LEGAL PAGES AND COOKIE CONSENT
====================== */

.legal-page {
    margin: 0 auto;
    max-width: 980px;
}

.legal-hero {
    background:
        linear-gradient(135deg, rgba(255, 247, 244, 0.96), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at top left, rgba(168, 117, 95, 0.16), transparent 34%);
    border: 1px solid rgba(168, 117, 95, 0.14);
    border-radius: 34px;
    box-shadow: 0 24px 70px rgba(68, 44, 38, 0.08);
    margin-bottom: 28px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 54px);
    position: relative;
}

.legal-hero::after {
    background: rgba(168, 117, 95, 0.08);
    border-radius: 999px;
    content: "";
    height: 180px;
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
}

.legal-hero h1 {
    color: #2f2522;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 10px 0 18px;
    position: relative;
    z-index: 1;
}

.legal-hero p {
    color: #6f5c55;
    font-size: 1.04rem;
    line-height: 1.8;
    margin: 0;
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.legal-hero small {
    color: #92776e;
    display: inline-block;
    font-weight: 700;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.legal-content-card {
    background: #ffffff;
    border: 1px solid rgba(168, 117, 95, 0.12);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(68, 44, 38, 0.07);
    padding: clamp(24px, 5vw, 46px);
}

.legal-content-card h2 {
    color: #3b2c28;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    margin: 34px 0 12px;
}

.legal-content-card h2:first-child {
    margin-top: 0;
}

.legal-content-card p,
.legal-content-card li {
    color: #685852;
    font-size: 0.98rem;
    line-height: 1.78;
}

.legal-content-card a {
    color: #9d604b;
    font-weight: 800;
    text-decoration: none;
}

.legal-content-card a:hover {
    text-decoration: underline;
}

.legal-content-card ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.legal-alert {
    background: #fff8e6;
    border: 1px solid #f4ddb2;
    border-radius: 18px;
    color: #745b22;
    line-height: 1.65;
    margin-bottom: 30px;
    padding: 16px 18px;
}

.cookie-policy-table-wrap {
    border: 1px solid rgba(168, 117, 95, 0.14);
    border-radius: 20px;
    margin: 20px 0 10px;
    overflow: hidden;
}

.cookie-policy-table {
    margin: 0;
}

.cookie-policy-table th {
    background: #fff4ef;
    color: #4f3831;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-policy-table td,
.cookie-policy-table th {
    border-color: rgba(168, 117, 95, 0.12);
    padding: 16px;
    vertical-align: top;
}

.legal-consent-box {
    background: #fff8f5;
    border: 1px solid rgba(168, 117, 95, 0.18);
    border-radius: 18px;
    padding: 14px 16px 14px 42px;
}

.legal-consent-box .form-check-input {
    margin-left: -26px;
    margin-top: 0.32rem;
}

.legal-consent-box .form-check-label {
    color: #66524b;
    line-height: 1.55;
}

.legal-consent-box a {
    color: #9d604b;
    font-weight: 800;
    text-decoration: none;
}

.legal-consent-box a:hover {
    text-decoration: underline;
}

.footer-legal-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.footer-legal-links a,
.footer-legal-links button,
.footer-cookie-link {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0;
    text-decoration: none;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover,
.footer-cookie-link:hover {
    text-decoration: underline;
}

.cookie-map-placeholder {
    align-items: flex-start;
    background: linear-gradient(135deg, #fff8f5, #ffffff);
    border: 1px dashed rgba(168, 117, 95, 0.34);
    border-radius: 22px;
    color: #624d45;
    display: flex;
    gap: 14px;
    min-height: 220px;
    padding: 24px;
}

.cookie-map-placeholder i {
    color: #a8755f;
    font-size: 1.8rem;
}

.cookie-map-placeholder strong {
    color: #3f2f2a;
    display: block;
    margin-bottom: 6px;
}

.cookie-map-placeholder p {
    color: #6b5a54;
    line-height: 1.6;
    margin-bottom: 14px;
}

.cookie-consent-banner {
    bottom: 24px;
    left: 50%;
    max-width: min(1120px, calc(100% - 32px));
    position: fixed;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1080;
}

.cookie-consent-content {
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(168, 117, 95, 0.18);
    border-radius: 28px;
    box-shadow: 0 26px 80px rgba(40, 26, 22, 0.2);
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 22px;
}

.cookie-consent-kicker {
    color: #a8755f;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.cookie-consent-content h2,
.cookie-preferences-header h2 {
    color: #332622;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.cookie-consent-content p,
.cookie-preferences-intro {
    color: #66554f;
    font-size: 0.95rem;
    line-height: 1.62;
    margin: 0;
}

.cookie-consent-content a {
    color: #9d604b;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    margin-top: 8px;
    text-decoration: none;
}

.cookie-consent-content a:hover {
    text-decoration: underline;
}

.cookie-consent-actions,
.cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-consent-actions {
    min-width: 320px;
}

.cookie-preferences-backdrop {
    background: rgba(20, 14, 12, 0.52);
    inset: 0;
    position: fixed;
    z-index: 1085;
}

.cookie-preferences-panel {
    background: #ffffff;
    border: 1px solid rgba(168, 117, 95, 0.18);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(20, 14, 12, 0.28);
    left: 50%;
    max-height: min(760px, calc(100vh - 32px));
    max-width: min(720px, calc(100% - 32px));
    overflow-y: auto;
    padding: 26px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1090;
}

.cookie-preferences-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.cookie-preferences-close {
    align-items: center;
    background: #fff4ef;
    border: 1px solid rgba(168, 117, 95, 0.18);
    border-radius: 999px;
    color: #6a4a40;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.45rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.cookie-preference-list {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.cookie-preference-item {
    align-items: flex-start;
    background: #fffaf8;
    border: 1px solid rgba(168, 117, 95, 0.14);
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    gap: 14px;
    padding: 16px;
}

.cookie-preference-item input {
    accent-color: #a8755f;
    height: 20px;
    margin-top: 3px;
    width: 20px;
}

.cookie-preference-item strong {
    color: #3d2e29;
    display: block;
    margin-bottom: 4px;
}

.cookie-preference-item small {
    color: #6f5d56;
    display: block;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .cookie-consent-content {
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions {
        min-width: 0;
        width: 100%;
    }

    .cookie-consent-actions .btn,
    .cookie-preferences-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .legal-content-card,
    .legal-hero,
    .cookie-preferences-panel {
        border-radius: 22px;
    }

    .cookie-consent-banner {
        bottom: 12px;
        max-width: calc(100% - 20px);
    }

    .cookie-consent-content {
        border-radius: 22px;
        padding: 18px;
    }

    .cookie-map-placeholder {
        flex-direction: column;
    }
}

/* ======================
   VISUAL SOFTENING PASS
   Objetivo: reduzir peso visual, escala tipográfica e excesso de contraste.
====================== */

:root {
    --text-dark: #343032;
    --text-muted: #70686b;
    --bg-soft: #fff9fb;
    --shadow-soft: rgba(139, 94, 102, 0.08);
}

html {
    font-size: 15px;
}

body {
    background: #fffafb;
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1080px;
}

main.container {
    padding-top: 42px;
    padding-bottom: 48px;
}

h1,
h2,
h3,
.hero-title,
.section-title,
.luxury-title,
.app-agenda-header h1,
.internal-calendar-header h1,
.internal-services-header h1,
.legal-hero h1,
.appointment-detail-header h1 {
    letter-spacing: 0.01em;
    line-height: 1.14;
}

h1,
.luxury-title,
.hero-title {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
}

h2,
.section-title,
.app-results-top h2,
.app-agenda-results-header h2 {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}

h3,
.luxury-card h3,
.service-admin-card-body h3 {
    font-size: clamp(1.1rem, 2vw, 1.28rem);
}

p,
li,
.text-muted,
.luxury-subtitle,
.hero-subtitle,
.service-feed-lead,
.app-agenda-header p,
.internal-calendar-header p,
.legal-hero p {
    font-size: 0.95rem;
    line-height: 1.62;
}

.small,
small,
.form-text,
.footer-bottom,
.public-slot-status,
.app-slot-status,
.service-public-main p,
.service-public-meta span {
    font-size: 0.82rem;
}

/* Navbar mais leve */
.public-navbar {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 20px rgba(139, 94, 102, 0.045);
}

.public-navbar .navbar-brand img,
.site-logo {
    height: 120px !important;
}

.public-navbar .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding-inline: 16px;
    padding-block: 10px;
    line-height: 1.25;
}

.navbar-brand img {
    border-radius: 8px;
}

/* Botões menos pesados */
.btn,
form .btn {
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 9px 20px;
}

.btn-lg,
.btn-group-lg > .btn {
    font-size: 0.95rem;
    padding: 10px 24px;
}

.btn-sm,
.btn-group-sm > .btn {
    font-size: 0.8rem;
    padding: 6px 14px;
}

.btn-primary:hover,
.btn-outline-secondary:hover,
.luxury-card:hover,
.premium-card:hover,
.public-slot-card:hover,
.app-slot-card:hover,
.service-public-card:hover,
.dashboard-action-card:hover,
.footer-brand-panel:hover,
.footer-info-panel:hover {
    transform: translateY(-2px);
}

/* Cards e painéis com menos volume */
.soft-container,
.premium-card,
.soft-panel,
.luxury-card,
.luxury-info-panel,
.luxury-logo-card,
.one-page-section,
.about-card,
.testimonial-card,
.app-agenda-filter,
.app-agenda-results,
.internal-calendar-filter,
.internal-business-hour,
.internal-calendar-board,
.dashboard-hero,
.dashboard-panel,
.dashboard-action-card,
.dashboard-metric-card,
.service-feed-hero,
.service-category-card,
.service-admin-group,
.service-admin-card,
.footer-brand-panel,
.footer-info-panel,
.legal-hero,
.legal-content-card,
.appointment-detail-card {
    border-color: rgba(216, 167, 177, 0.55);
    box-shadow: 0 10px 28px rgba(139, 94, 102, 0.055);
}

.soft-container,
.premium-card,
.soft-panel,
.luxury-card,
.one-page-section,
.about-card,
.testimonial-card,
.app-agenda-filter,
.app-agenda-results,
.service-category-card,
.service-admin-group,
.footer-brand-panel,
.footer-info-panel,
.legal-content-card,
.appointment-detail-card {
    border-radius: 22px;
}

.luxury-hero,
.hero-section,
.service-feed-hero {
    border-radius: 26px;
    padding: clamp(34px, 5vw, 54px) clamp(22px, 4vw, 40px);
    box-shadow: 0 14px 38px rgba(139, 94, 102, 0.07);
}

.luxury-title {
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    line-height: 1.12;
}

.luxury-subtitle {
    font-size: 0.98rem;
    line-height: 1.68;
}

.signature-font {
    font-size: 1.18em;
}

.luxury-eyebrow,
.dashboard-action-card span,
.dashboard-metric-card span,
.booking-summary span,
.app-service-summary span,
.calendar-event-kicker,
.appointment-detail-grid span,
.appointment-detail-notes span,
.cookie-consent-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
}

.one-page-section {
    padding: clamp(30px, 4vw, 44px) clamp(22px, 4vw, 34px);
}

.section-spacing {
    margin-bottom: 42px;
}

.section-title {
    font-weight: 600;
}

.trust-strip {
    gap: 14px;
}

.trust-item,
.luxury-code-box,
.booking-summary,
.app-service-summary,
.calendar-empty-slot,
.service-public-card,
.service-admin-metric-card,
.service-feed-hero-card,
.cookie-consent-content {
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(139, 94, 102, 0.05);
}

.trust-item {
    padding: 18px;
}

.trust-item strong {
    font-size: 1.08rem;
    font-weight: 600;
}

.trust-item span {
    font-size: 0.86rem;
}

.luxury-card,
.premium-card,
.dashboard-panel,
.service-category-card,
.service-admin-group {
    padding: 24px;
}

.luxury-icon,
.service-category-icon,
.public-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.15rem;
}

.luxury-card p,
.about-card p,
.testimonial-card p,
.service-category-description {
    line-height: 1.6;
}

.about-card {
    min-height: 220px;
    padding: 30px;
}

.about-card h2 {
    font-size: 1.55rem;
}

.testimonial-card {
    padding: 24px;
}

/* Agenda pública e interna mais compactas */
.app-agenda-shell {
    grid-template-columns: 320px 1fr;
    gap: 22px;
}

.app-agenda-header h1,
.internal-calendar-header h1,
.internal-services-header h1 {
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
}

.app-agenda-filter,
.app-agenda-results,
.internal-calendar-filter,
.dashboard-hero,
.dashboard-panel {
    padding: 22px;
}

.app-results-top,
.app-agenda-results-header {
    margin-bottom: 20px;
}

.app-week-strip {
    gap: 10px;
}

.app-week-day {
    min-width: 82px;
    border-radius: 16px;
    padding: 11px 10px;
    box-shadow: 0 6px 18px rgba(139, 94, 102, 0.045);
}

.app-week-day strong {
    font-size: 1.36rem;
}

.app-slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}

.app-slot-card,
.public-slot-card {
    border-radius: 18px;
    padding: 15px;
}

.app-slot-time,
.public-slot-time {
    font-size: 1.36rem;
}

.app-slot-cta,
.public-slot-action {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 11px;
}

.app-empty-state {
    border-radius: 20px;
    padding: 40px 20px;
}

.app-empty-state h3 {
    font-size: 1.25rem;
}

.internal-slot-row {
    grid-template-columns: 92px 1fr;
    min-height: 62px;
}

.internal-slot-time {
    font-size: 0.96rem;
    padding: 14px 12px;
}

.internal-slot-content {
    padding: 10px 12px;
}

.calendar-event {
    border-left-width: 4px;
    border-radius: 18px;
    gap: 14px;
    padding: 14px;
}

.calendar-event h2 {
    font-size: 1.12rem;
}

.status-pill,
.service-admin-category-badge,
.service-admin-status,
.service-admin-card-meta span,
.app-duration-pill,
.availability-status-pill {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 7px 11px;
}

.internal-full-day-block-card {
    border-radius: 22px;
    gap: 18px;
    padding: 22px;
}

.internal-full-day-block-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.5rem;
}

.internal-full-day-block-main h2 {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}

.internal-full-day-block-main > p,
.internal-full-day-block-notes p {
    font-size: 0.92rem;
}

/* Formulários */
.form-label {
    font-size: 0.86rem;
    font-weight: 500;
}

.form-control,
.form-select,
textarea.form-control,
.app-agenda-filter .form-select,
.app-agenda-filter .form-control {
    border-radius: 13px;
    font-size: 0.92rem;
    padding: 10px 13px;
}

.card.shadow-sm.border-0 {
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(139, 94, 102, 0.06) !important;
}

.card-body {
    border-radius: 22px;
}

.premium-form-card .card-body {
    padding: 30px !important;
}

.success-code,
.success-reference-code,
.appointment-detail-code strong {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

/* Serviços */
.service-feed-lead {
    font-size: 0.98rem;
}

.service-category-grid {
    gap: 18px;
}

.service-category-card h2,
.service-admin-group-title h2 {
    font-size: 1.4rem;
}

.service-admin-metric-card strong {
    font-size: 1.7rem;
}

.service-public-card {
    padding: 16px;
}

.service-public-main strong {
    font-size: 0.96rem;
}

.service-feed-bottom-cta {
    border-radius: 22px;
    padding: 26px;
}

/* Rodapé e cookies */
.site-footer {
    padding: 42px 0 24px;
}

.footer-brand-panel,
.footer-info-panel {
    padding: 24px;
}

.footer-brand-panel img {
    height: 82px;
}

.footer-hours h4,
.footer-info-panel h4 {
    font-size: 1.12rem;
}

.cookie-consent-content {
    padding: 18px;
}

.cookie-consent-content h2,
.cookie-preferences-header h2 {
    font-size: 1.25rem;
}

.cookie-consent-content p,
.cookie-preferences-intro {
    font-size: 0.88rem;
}

/* Melhor leitura em telemóveis */
@media (max-width: 991px) {
    .public-navbar .navbar-brand img,
    .site-logo {
        height: 86px !important;
    }

    .public-navbar .navbar-collapse {
        border-radius: 18px;
        margin-top: 12px;
        padding: 14px;
        box-shadow: 0 12px 30px rgba(139, 94, 102, 0.08);
    }

    .public-navbar .navbar-nav {
        gap: 6px;
    }

    .public-navbar .nav-link {
        font-size: 1.05rem;
        padding: 9px 14px;
    }

    .app-agenda-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14.5px;
    }

    main.container {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .luxury-hero,
    .hero-section,
    .one-page-section,
    .service-feed-hero,
    .service-category-card,
    .service-admin-group,
    .footer-brand-panel,
    .footer-info-panel,
    .legal-content-card,
    .legal-hero,
    .appointment-detail-card {
        border-radius: 18px;
        padding: 22px;
    }

    .luxury-title,
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
    }

    .section-title {
        font-size: 1.35rem;
    }

    .luxury-logo-transparent {
        max-width: 280px;
    }

    .btn,
    .btn-lg,
    form .btn {
        font-size: 0.9rem;
        padding: 9px 18px;
    }

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

    .footer-brand-panel img {
        height: 58px;
    }
}

@media (max-width: 576px) {
    .public-navbar .container {
        padding-inline: 14px;
    }

    .public-navbar .navbar-brand img,
    .site-logo {
        height: 72px !important;
    }

    .luxury-hero-actions,
    .d-flex.flex-column.flex-md-row.gap-3 {
        gap: 0.65rem !important;
    }

    .app-week-day {
        min-width: 76px;
    }

    .app-week-day strong {
        font-size: 1.22rem;
    }

    .app-slot-card,
    .public-slot-card {
        padding: 13px 10px;
    }

    .app-slot-time,
    .public-slot-time {
        font-size: 1.18rem;
    }

    .premium-form-card .card-body {
        padding: 22px !important;
    }
}
