/* ── Self-hosted Fraunces variable font ──────────────────────── */
@font-face {
    font-family: 'Fraunces';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/fonts/fraunces-latin-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 300 700;
    font-display: swap;
    src: url('/fonts/fraunces-latin-italic-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IntelInput.js  */
label[for="app_contactAgenceForm_telephone"] {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

.iti {
    display: block;
}
.iti input {
    position: relative !important;
    padding: 10px 10px 10px 50px !important;
}

/* Hero text contrast */
.glass-card h1 {
    text-shadow: 0 1px 8px rgb(0 0 0 / 61%);
}

/* Navbar scroll transitions */
#mainNavbar {
    transition: padding 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

#mainNavbar .navbar-brand-img {
    transition: max-height 0.2s ease-in-out;
}

/* ── Mobile: Public navbar ── */
@media (max-width: 991.98px) {
    /* Compact "S'inscrire" button in mobile header */
    .navbar-mobile-cta {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Branded text in offcanvas header */
    .navbar-mobile-brand {
        font-size: 0.95rem;
    }

    /* Offcanvas: compact header */
    #navbarOffcanvas .offcanvas-header {
        padding: 0.5rem 1rem;
        min-height: auto;
    }

    /* Offcanvas: nav items with better spacing & touch targets */
    #navbarOffcanvas .nav-link {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }

    /* Nav icon alignment */
    #navbarOffcanvas .nav-link i {
        width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    /* Touch feedback on nav items */
    #navbarOffcanvas .nav-link:active {
        background-color: rgba(0, 0, 0, 0.04);
    }

    /* Separator between nav items */
    #navbarOffcanvas .nav-item + .nav-item {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 991.98px) {
    /* Compact footer padding */
    .footer-section {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    /* Touch feedback for footer links */
    .footer-link:active,
    .footer-legal-link:active {
        opacity: 0.7;
    }

}


/* ═══════════════════════════════════════════════════════════════════════
   VITRINE — Warm French Editorial Design System
   Matches the parcours inscription aesthetic (Fraunces + forest/terracotta)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── A. Design Tokens + Bootstrap Overrides ─────────────────────────── */
:root {
    --vt-ink: #1A2922;
    --vt-forest: #3D6B56;
    --vt-forest-hover: #2F5644;
    --vt-sage: #5D8876;
    --vt-mist: #8FB5A4;
    --vt-terra: #C4622D;
    --vt-terra-pale: #FAF0E8;
    --vt-cream: #FAF8F4;
    --vt-fog: #F2F0EB;
    --vt-parchment: #EDE9E1;
    --vt-warm-white: #FFFEFB;
    --vt-text: #3A4A42;
    --vt-muted: #6B7B73;

    /* Bootstrap variable overrides */
    --bs-primary: #3D6B56;
    --bs-primary-rgb: 61, 107, 86;
    --bs-dark: #1A2922;
    --bs-dark-rgb: 26, 41, 34;
    --bs-light: #FAF8F4;
    --bs-light-rgb: 250, 248, 244;
    --bs-white-rgb: 255, 254, 251;
    --bs-body-color: #3A4A42;
    --bs-body-color-rgb: 58, 74, 66;
    --bs-body-bg: #FAF8F4;
    --bs-border-color: #EDE9E1;
    --bs-border-color-translucent: rgba(26, 41, 34, 0.1);
    --bs-link-color: #3D6B56;
    --bs-link-color-rgb: 61, 107, 86;
    --bs-link-hover-color: #2F5644;
    --bs-link-hover-color-rgb: 47, 86, 68;
    --bs-secondary-color: rgba(58, 74, 66, 0.7);
    --bs-tertiary-bg: #F2F0EB;
}

body {
    background-color: var(--vt-cream);
}


/* ── B. Typography — Fraunces Serif for Headings ────────────────────── */
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
}
/* Prevent Fraunces from overriding Font Awesome icons using display-* sizing */
:is(.fa, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-brands, .fa-duotone,
    .fas, .far, .fal, .fat, .fad, .fab) {
    font-family: var(--fa-family, var(--fa-style-family, "Font Awesome 7 Pro")) !important;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    letter-spacing: -0.015em;
}

/* Editorial italic on emphasized bold spans within display headings */
.display-1 > .fw-bold, .display-1 > strong,
.display-2 > .fw-bold, .display-2 > strong,
.display-3 > .fw-bold, .display-3 > strong,
.display-4 > .fw-bold, .display-4 > strong,
.display-5 > .fw-bold, .display-5 > strong {
    font-style: italic;
}

.lead {
    line-height: 1.75;
}

/* ── C. Color Overrides ─────────────────────────────────────────────── */
.bg-light {
    background-color: var(--vt-cream) !important;
}

section.bg-white,
.bg-white.card,
.bg-white.accordion-item {
    background-color: var(--vt-warm-white) !important;
}

.bg-dark {
    background-color: var(--vt-ink) !important;
}

.text-primary {
    color: var(--vt-forest) !important;
}

.text-dark {
    color: var(--vt-ink) !important;
}

.text-muted {
    color: var(--vt-muted) !important;
}

.text-dark-50 {
    color: #5A6B63 !important;
}

.bg-primary-soft {
    background-color: rgba(61, 107, 86, 0.08) !important;
}

.text-primary-soft {
    color: var(--vt-mist) !important;
}

.border-primary-soft {
    border-color: var(--vt-parchment) !important;
}

.bg-success-soft {
    background-color: rgba(61, 107, 86, 0.06) !important;
}

.text-success {
    color: #2F7A52 !important;
}

.border-light {
    border-color: var(--vt-parchment) !important;
}


/* ── D. Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
    --bs-btn-bg: var(--vt-forest);
    --bs-btn-border-color: var(--vt-forest);
    --bs-btn-hover-bg: var(--vt-forest-hover);
    --bs-btn-hover-border-color: var(--vt-forest-hover);
    --bs-btn-active-bg: #275040;
    --bs-btn-active-border-color: #275040;
    --bs-btn-disabled-bg: var(--vt-sage);
    --bs-btn-disabled-border-color: var(--vt-sage);
    border-radius: 8px;
    font-weight: 500;
}

.btn-lg {
    border-radius: 10px;
    font-family: 'Fraunces', serif;
    letter-spacing: 0.01em;
}

.btn-outline-primary {
    --bs-btn-color: var(--vt-forest);
    --bs-btn-border-color: var(--vt-forest);
    --bs-btn-hover-bg: var(--vt-forest);
    --bs-btn-hover-border-color: var(--vt-forest);
    --bs-btn-active-bg: var(--vt-forest-hover);
    --bs-btn-active-border-color: var(--vt-forest-hover);
    border-radius: 8px;
}

.btn-white {
    border-radius: 8px;
    font-family: 'Fraunces', serif;
    font-weight: 500;
}

.btn-outline-white {
    border-radius: 8px;
}

.btn-outline-dark {
    --bs-btn-color: var(--vt-ink);
    --bs-btn-border-color: var(--vt-ink);
    --bs-btn-hover-bg: var(--vt-ink);
    --bs-btn-hover-border-color: var(--vt-ink);
    border-radius: 8px;
}


/* ── E. Navbar ──────────────────────────────────────────────────────── */
#mainNavbar {
    background-color: var(--vt-warm-white) !important;
    border-bottom-color: var(--vt-parchment) !important;
}

#mainNavbar .nav-link {
    color: var(--vt-text);
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}

#mainNavbar .navbar-nav .nav-link::after {
    background-color: var(--vt-forest);
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transition: width 0.25s ease, left 0.25s ease;
    width: 0;
}

#mainNavbar .navbar-nav .nav-link:hover::after,
#mainNavbar .navbar-nav .nav-link:focus::after {
    left: 0;
    width: 100%;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link:focus {
    color: var(--vt-forest);
}

#mainNavbar .btn-primary {
    box-shadow: 0 2px 8px rgba(61, 107, 86, 0.25);
    transition: all 0.2s ease;
}

#mainNavbar .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(61, 107, 86, 0.35);
    transform: translateY(-1px);
}

#mainNavbar .btn:focus-visible,
#mainNavbar .nav-link:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--vt-forest);
    outline-offset: 3px;
}

.offcanvas,
.offcanvas-lg {
    background-color: var(--vt-warm-white);
}


/* ── F. Hero & Glass Cards ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .hero-home__bg { object-position: 75% center; }
}
.overlay-gradient-primary::before {
    background: linear-gradient(160deg, rgba(26, 41, 34, 0.82) 0%, rgba(61, 107, 86, 0.62) 100%) !important;
}

.glass-card {
    background: rgba(26, 41, 34, 0.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 254, 251, 0.12);
    border-radius: 16px;
    padding: 2.5rem;
}

.glass-card h1,
.glass-card h2 {
    text-shadow: 0 2px 16px rgba(26, 41, 34, 0.45);
}

.glass-card .lead {
    text-shadow: 0 1px 8px rgba(26, 41, 34, 0.25);
}

.bg-white-soft {
    background-color: rgba(255, 254, 251, 0.15) !important;
}


/* ── G. Cards & Surfaces ────────────────────────────────────────────── */
.shadow-light-lg {
    box-shadow: 0 4px 24px rgba(26, 41, 34, 0.06) !important;
}

.card {
    border-color: var(--vt-parchment);
    background-color: var(--vt-warm-white);
}

.lift {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.lift:hover,
.lift:focus {
    box-shadow: 0 8px 32px rgba(26, 41, 34, 0.1) !important;
    transform: translateY(-3px);
}

/* ── H. Testimonial Cards ───────────────────────────────────────────── */
.card .fal.fa-quote-right {
    color: var(--vt-terra) !important;
    opacity: 0.25;
}


/* ── I. Accordion (FAQ) ─────────────────────────────────────────────── */
.accordion-item {
    background-color: var(--vt-warm-white);
    border-color: var(--vt-parchment) !important;
}

.accordion-button {
    background-color: var(--vt-warm-white) !important;
    color: var(--vt-ink);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--vt-cream) !important;
    color: var(--vt-forest);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(61, 107, 86, 0.15);
    border-color: var(--vt-parchment);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233D6B56'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233D6B56'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: var(--vt-warm-white);
}


/* ── J. Step Timeline ───────────────────────────────────────────────── */
.step-number {
    font-family: 'Fraunces', serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background-color: var(--vt-forest);
    color: var(--vt-warm-white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1;
}


/* ── K. Maintenance Status Icons ────────────────────────────────────── */
.status-icon-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}


/* ── K-bis. Split Hero (interior pages) ──────────────────────────── */
.hero-split__visual {
    position: relative;
}

.hero-split__visual img {
    border-radius: 16px;
}

/* Decorative terracotta accent offset behind image */
.hero-split__visual::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 2px solid var(--vt-terra);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.hero-split__visual img {
    position: relative;
    z-index: 1;
}

/* Floating trust card on hero image */
.hero-split__trust {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: 2;
    background: var(--vt-warm-white);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 24px rgba(26, 41, 34, 0.08);
    border: 1px solid var(--vt-parchment);
    max-width: 220px;
}

@media (max-width: 991.98px) {
    .hero-split__visual::before {
        top: -8px;
        right: -8px;
    }
    .hero-split__trust {
        bottom: -16px;
        left: -8px;
        padding: 0.75rem 1rem;
        max-width: 190px;
    }
}

/* ── K-ter. Homepage Editorial Overrides ──────────────────────────── */

/* ── Hero image (SEO: real <img> instead of background-image) ── */
.hero-home__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-home__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26, 41, 34, 0.72) 0%, rgba(61, 107, 86, 0.50) 100%);
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.hero-home__content {
    position: relative;
    z-index: 2;
}

/* Hero without glass card — text directly on overlay */
.hero-home--editorial {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 85vh;
    min-height: 85svh;
    overflow: hidden;
}

.hero-home--editorial .hero-home__content {
    max-width: 680px;
}

.hero-home--editorial h1 {
    text-shadow: 0 2px 20px rgba(26, 41, 34, 0.5);
}

.hero-home--editorial .lead {
    text-shadow: 0 1px 10px rgba(26, 41, 34, 0.3);
}

/* Warmer, softer hero overlay for homepage */
.overlay-gradient-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26, 41, 34, 0.72) 0%, rgba(61, 107, 86, 0.50) 100%);
    z-index: 0;
}

.overlay-gradient-home {
    position: relative;
}

.overlay-gradient-home > * {
    position: relative;
    z-index: 1;
}

/* Trust strip */
.trust-strip {
    border-bottom: 1px solid var(--vt-parchment);
}

.trust-strip__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.trust-strip__stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--vt-text);
    white-space: nowrap;
}

.trust-strip__stat i {
    color: var(--vt-forest);
    font-size: 0.85rem;
}

.trust-strip__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--vt-parchment);
    flex-shrink: 0;
}

.trust-strip__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-strip__logos img {
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.2s ease;
}

.trust-strip__logos a:hover img {
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    .trust-strip__stats {
        gap: 0.4rem 1rem;
    }
    .trust-strip__stat {
        font-size: 0.8rem;
    }
    .trust-strip__logos {
        gap: 1rem;
    }
    .hero-home--editorial {
        min-height: 75vh;
        min-height: 75svh;
    }
}

/* Testimonial: featured middle card offset + warm accent */
@media (min-width: 992px) {
    .testimonial-featured {
        transform: translateY(-12px);
        border-top: 3px solid var(--vt-terra);
    }
}

/* Pricing card — warm editorial style */
.pricing-editorial {
    border-left: 4px solid var(--vt-terra);
    border-radius: 0 12px 12px 0;
}

/* Guarantee items — inline editorial style */
.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.guarantee-item__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(61, 107, 86, 0.08);
    border-radius: 10px;
    color: var(--vt-forest);
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Icon circle with subtle border */
.icon-circle-bordered {
    border: 1px solid rgba(61, 107, 86, 0.15);
}

/* Editorial feature list — replaces icon-circle bullet pattern */
.editorial-feature {
    padding: 0.75rem 0 0.75rem 1.25rem;
    border-left: 2px solid var(--vt-forest);
    line-height: 1.6;
    color: var(--vt-text-muted, #6B7280);
}

.editorial-feature + .editorial-feature {
    margin-top: 0.25rem;
}

.editorial-feature strong {
    color: var(--vt-text);
}


/* ── L. Footer ──────────────────────────────────────────────────────── */
.footer-section {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
    background-color: var(--vt-parchment);
}

.footer-brand {
    font-family: 'Fraunces', serif;
    color: var(--vt-ink);
    font-size: 1.35rem;
}

.footer-terra {
    color: var(--vt-terra);
}

.footer-muted {
    color: rgba(26, 41, 34, 0.55);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-heading {
    font-family: 'Fraunces', serif;
    letter-spacing: 0.04em;
    color: var(--vt-ink);
    font-size: 0.75rem;
}

.footer-heading-link {
    color: inherit;
}

.footer-heading-link:hover {
    color: var(--vt-forest);
}

.footer-link {
    color: rgba(26, 41, 34, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 0.1rem 0;
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--vt-ink);
}

.footer-hr {
    border-color: rgba(26, 41, 34, 0.08);
    opacity: 1;
}

.footer-legal {
    color: rgba(26, 41, 34, 0.45);
}

.footer-legal-link {
    color: rgba(26, 41, 34, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: var(--vt-ink);
}

#avisverifies-widget img {
    height: 60px !important;
    width: auto !important;
}

/* ── M. Pricing & Comparison ────────────────────────────────────────── */
.savings-footer,
.card-footer.bg-success {
    background-color: var(--vt-forest) !important;
}


/* ── N. Badges ──────────────────────────────────────────────────────── */
.badge.bg-primary-soft {
    background-color: rgba(61, 107, 86, 0.1) !important;
}

.badge.bg-primary {
    background-color: var(--vt-forest) !important;
}


/* ── O. Selection & Focus ───────────────────────────────────────────── */
::selection {
    background-color: rgba(61, 107, 86, 0.15);
    color: var(--vt-ink);
}

:focus-visible {
    outline-color: var(--vt-sage);
}

/* Warm scrollbar (webkit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--vt-cream); }
::-webkit-scrollbar-thumb { background: var(--vt-parchment); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--vt-sage); }


/* ── P. Responsive ──────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .glass-card {
        padding: 1.75rem;
        border-radius: 12px;
    }

    .display-1, .display-2, .display-3, .display-4, .display-5 {
        letter-spacing: -0.01em;
    }
}


/* ── Q. Utility Classes ────────────────────────────────────────────── */
.custom-scrollbar { scrollbar-width: thin; scrollbar-color: #c5c0b8 transparent; }
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #c5c0b8; border-radius: 3px; }

.scroll-margin-top-100 { scroll-margin-top: 100px; }

.hover-lift-small { transition: transform 0.2s, box-shadow 0.2s; }
.hover-lift-small:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,41,34,0.08); }

.hover-lift-lg { transition: transform 0.2s, box-shadow 0.2s; }
.hover-lift-lg:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,41,34,0.1); }

.fs-7 { font-size: 0.75rem !important; }
.fs-xs { font-size: 0.7rem !important; }
.cursor-pointer { cursor: pointer; }
.ls-1 { letter-spacing: 0.05em; }

/* Progress panel interactive items */
.group-hover-opacity { opacity: 0; transition: opacity 0.2s; }
.group-hover:hover .group-hover-opacity,
.group-hover:focus-visible .group-hover-opacity { opacity: 1; }
.group-hover:focus-visible { outline: 2px solid var(--bs-primary); outline-offset: -2px; }
.text-gray-400 { color: #ced4da; }


/* ── R. Conversation Bubble Polish ─────────────────────────────────── */
.conversation-message-bubble .rounded {
    border-radius: 16px !important;
    padding: 0.625rem 0.875rem !important;
    box-shadow: 0 1px 4px rgba(26, 41, 34, 0.06);
}

.conversation-message-bubble .bg-primary-subtle {
    background-color: rgba(61, 107, 86, 0.1) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   PROFIL SHOW — Airbnb-Inspired Storyteller Design
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero Banner ──────────────────────────────────────────────────────── */
.profil-show-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vt-forest) 0%, var(--vt-sage) 50%, var(--vt-mist) 100%);
}

.profil-show-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profil-show-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(26, 41, 34, 0.45) 100%);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .profil-show-hero { height: 200px; }
}

/* ── Avatar overlap ───────────────────────────────────────────────────── */
.profil-show-avatar-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.profil-show-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--vt-warm-white);
    box-shadow: 0 4px 16px rgba(26, 41, 34, 0.12);
    object-fit: cover;
    background-color: var(--vt-cream);
}

@media (max-width: 991.98px) {
    .profil-show-avatar-wrapper { margin-top: -45px; }
    .profil-show-avatar { width: 90px; height: 90px; }
}

/* ── Avatar badges ────────────────────────────────────────────────────── */
.profil-show-crown {
    font-size: 0.8rem;
    padding: 0.5em 0.6em;
}

.profil-show-check-mark {
    width: 28px;
    height: 28px;
}

.profil-show-check-mark i {
    font-size: 0.75rem;
}

/* ── Identity meta (location + last active) ──────────────────────────── */
.profil-show-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--vt-muted);
    flex-wrap: wrap;
}

.profil-show-meta i {
    font-size: 0.75rem;
}

.profil-show-meta__sep {
    color: var(--vt-parchment);
}

.profil-show-meta__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--vt-forest);
    flex-shrink: 0;
}

.profil-show-meta__active {
    color: var(--vt-forest);
}

/* ── Stats bar ───────────────────────────────────────────────────────── */
.profil-show-statsbar {
    background-color: var(--vt-fog, #F2F0EB);
    border-top: 1px solid var(--vt-parchment, #EDE9E1);
    padding: 0.875rem 0;
    margin-bottom: 1.5rem;
}

.profil-show-statsbar__grid {
    display: flex;
    justify-content: center;
    gap: 0;
}

.profil-show-statsbar__cell {
    flex: 1;
    text-align: center;
    max-width: 200px;
    padding: 0 1rem;
}

.profil-show-statsbar__cell + .profil-show-statsbar__cell {
    border-left: 1px solid var(--vt-parchment, #EDE9E1);
}

.profil-show-statsbar__primary {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vt-ink);
    line-height: 1.3;
}

.profil-show-statsbar__primary i {
    font-size: 0.85rem;
}

.profil-show-statsbar__primary--trust {
    color: var(--vt-forest);
}

.profil-show-statsbar__secondary {
    font-size: 0.75rem;
    color: var(--vt-muted);
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .profil-show-statsbar__grid {
        flex-wrap: wrap;
    }

    .profil-show-statsbar__cell {
        flex: 1 1 auto;
        max-width: none;
        padding: 0.5rem 0.75rem;
    }

    .profil-show-statsbar__primary {
        font-size: 1rem;
    }
}

/* ── Section headings ─────────────────────────────────────────────────── */
.profil-show-heading {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--vt-ink);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.profil-show-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--vt-forest);
    border-radius: 2px;
}

/* ── Icon box (about card, companions) ────────────────────────────────── */
.profil-show-icon-box {
    width: 36px;
    height: 36px;
}

.profil-show-icon-box i {
    font-size: 0.85rem;
}

/* ── About card labels ────────────────────────────────────────────────── */
.profil-show-label {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
}

/* ── Skills chips ─────────────────────────────────────────────────────── */
.profil-show-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    border: 1px solid rgba(61, 107, 86, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--vt-forest);
    background-color: rgba(61, 107, 86, 0.04);
    transition: background-color 0.2s, border-color 0.2s;
    cursor: default;
}

.profil-show-skill-chip:hover {
    background-color: rgba(61, 107, 86, 0.1);
    border-color: var(--vt-forest);
}

.profil-show-skill-chip i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.profil-show-skill-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vt-muted);
    margin-bottom: 0.5rem;
}

@media (max-width: 575.98px) {
    .profil-show-skill-chip {
        padding: 0.3rem 0.65rem;
        font-size: 0.75rem;
    }
}

/* ── Presentation truncation (CSS-only) ───────────────────────────────── */
.profil-show-presentation {
    line-height: 1.7;
    color: var(--vt-text);
}

.profil-show-presentation__text {
    max-height: 7.5em;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}

.profil-show-presentation__text.is-short {
    max-height: none;
}

.profil-show-presentation__text:not(.is-short)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5em;
    background: linear-gradient(transparent, var(--vt-warm-white));
    pointer-events: none;
}

.profil-show-presentation__toggle {
    display: inline;
    background: none;
    border: none;
    color: var(--vt-forest);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-top: 0.25rem;
}

.profil-show-presentation__toggle:hover {
    text-decoration: underline;
}

.profil-show-presentation__text.is-expanded {
    max-height: 200em;
}

.profil-show-presentation__text.is-expanded::after {
    display: none;
}

/* ── Divider ──────────────────────────────────────────────────────────── */
.profil-show-divider {
    border-color: var(--vt-parchment);
}

/* ── Pet skills text ──────────────────────────────────────────────────── */
.profil-show-pet-text {
    line-height: 1.7;
}

/* ── Companion meta ───────────────────────────────────────────────────── */
.profil-show-companion-meta {
    font-size: 0.75rem;
}

/* ── Empty state ──────────────────────────────────────────────────────── */
.profil-show-empty {
    background-color: var(--vt-fog);
}

/* ── Trust card ───────────────────────────────────────────────────────── */
.profil-show-trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.profil-show-trust-item + .profil-show-trust-item {
    border-top: 1px solid var(--vt-parchment);
}

.profil-show-trust-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* ── Sidebar ──────────────────────────────────────────────────────────── */
.profil-show-sidebar {
    top: 100px;
    z-index: 10;
    max-height: calc(100vh - 120px);
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.profil-show-sidebar::-webkit-scrollbar {
    width: 4px;
}

.profil-show-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.profil-show-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.profil-show-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* ── Verified banner ──────────────────────────────────────────────────── */
.profil-show-verified-banner {
    background-color: rgba(61, 107, 86, 0.08);
}

/* ── Verified date ────────────────────────────────────────────────────── */
.profil-show-verified-date {
    font-size: 0.7rem;
}

/* ── Status pills (sidebar) ───────────────────────────────────────────── */
.profil-show-status {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.profil-show-status--offline {
    background-color: var(--vt-terra-pale);
    color: var(--vt-terra);
}

.profil-show-status--sitter {
    background-color: rgba(61, 107, 86, 0.08);
    color: var(--vt-forest);
}

/* ── Mobile fixed action bar ─────────────────────────────────────────── */
.profil-mobile-action-bar {
    z-index: 1030;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
}

@media (max-width: 991.98px) {
    .profil-show-page { padding-bottom: 80px !important; }
}

/* ── Photo hover zoom ─────────────────────────────────────────────────── */
.card-hover-zoom img {
    transition: transform 0.3s ease;
}

.card-hover-zoom:hover img {
    transform: scale(1.05);
}

/* ── Responsive font size utilities ───────────────────────────────────── */
@media (min-width: 768px) {
    .fs-md-2 { font-size: calc(1.325rem + 0.9vw) !important; }
}

/* ── Tooltip — warm light style ──────────────────────────────────────── */
.tooltip {
    --bs-tooltip-max-width: 260px;
    --bs-tooltip-padding-x: 0.875rem;
    --bs-tooltip-padding-y: 0.5rem;
    --bs-tooltip-font-size: 0.9375rem;
    --bs-tooltip-color: var(--vt-text);
    --bs-tooltip-bg: var(--vt-warm-white);
    --bs-tooltip-border-radius: 8px;
    --bs-tooltip-opacity: 1;
}

.tooltip-inner {
    box-shadow: 0 4px 16px rgba(26, 41, 34, 0.12);
    border: 1px solid var(--vt-parchment);
    text-align: left;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.tooltip-arrow::before {
    display: none;
}

.tooltip-arrow::after {
    content: "";
    position: absolute;
}

/* Arrow — top placement */
.bs-tooltip-top .tooltip-arrow,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow {
    bottom: calc(-0.4rem - 1px);
}

.bs-tooltip-top .tooltip-arrow::after,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::after {
    top: -1px;
    border-width: 0.4rem 0.4rem 0;
    border-style: solid;
    border-color: var(--vt-warm-white) transparent transparent;
}

/* Arrow — bottom placement */
.bs-tooltip-bottom .tooltip-arrow::after,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::after {
    bottom: -1px;
    border-width: 0 0.4rem 0.4rem;
    border-style: solid;
    border-color: transparent transparent var(--vt-warm-white);
}

/* Arrow — right placement */
.bs-tooltip-end .tooltip-arrow::after,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::after {
    right: -1px;
    border-width: 0.4rem 0.4rem 0.4rem 0;
    border-style: solid;
    border-color: transparent var(--vt-warm-white) transparent transparent;
}

/* Arrow — left placement */
.bs-tooltip-start .tooltip-arrow::after,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::after {
    left: -1px;
    border-width: 0.4rem 0 0.4rem 0.4rem;
    border-style: solid;
    border-color: transparent transparent transparent var(--vt-warm-white);
}
