/* ==========================================================================
   fiche.css — styles spécifiques à la page fiche /annuaire/{slug}.html.
   Pour les fondations partagées (variables, navbar, footer, btn-call,
   content-box, badge-custom, nebula, etc.), voir global.css.
   ========================================================================== */

/* ───────────────────── Hiérarchie typographique ───────────────────── */
.profile-header-card h1 {
    letter-spacing: -0.02ex;
}
.content-box h2 {
    font-size: 1.75rem;
}

/* ───────────────────── Profil header ───────────────────── */
.profile-header-card {
    background-color: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.profile-cover {
    height: 150px;
    background: url('/images/bg/fond2.png') center/cover no-repeat;
    position: relative;
}

.profile-avatar-container {
    width: 150px;
    height: 150px;
    margin-top: -75px;
    margin-bottom: 15px;
    position: relative;
    border: 4px solid #1e1e1e;
    border-radius: 50%;
    background: #1e1e1e;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--accent-color);
    color: #121212;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e1e1e;
    font-size: 14px;
}

/* ───────────────────── Sections de contenu ───────────────────── */
.skill-tag {
    background-color: #311b92;
    color: #ede7f6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.05rem;
    margin-right: 5px;
    margin-bottom: 10px;
    display: inline-block;
}

.theme-bubble {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 50px;
    background: linear-gradient(135deg, #4a148c 0%, #311b92 100%);
    color: #ede7f6;
    font-weight: 600;
    transition: transform 0.2s;
}
.theme-bubble:hover {
    transform: scale(1.05);
}

.theme-icon {
    background-color: #2c2c2c;
    color: var(--primary-color);
    border-radius: 50%;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.quote-box {
    position: relative;
    background-color: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
}
.quote-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #333;
    font-size: 3rem;
    z-index: 0;
}

/* ───────────────────── Galerie masonry ───────────────────── */
.masonry-gallery {
    column-count: 3;
    column-gap: 15px;
    transform: translateZ(0);
}

.masonry-item {
    display: block;
    break-inside: avoid;
    margin-bottom: 25px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: rgba(30, 30, 30, 0.55);
    border: 1px solid rgba(255,255,255,0.08);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .masonry-gallery { column-count: 2; }
}
@media (max-width: 580px) {
    .masonry-gallery { column-count: 1; }
}

/* ───────────────────── Aboutement Hiconnect (cartouche numéro surtaxé) ───────────────────── */
.btn-call-container { display: block; }

.a_tel_num {
    color: inherit;
    text-decoration: none;
    display: block;
}

.mention-surtaxe {
    font-size: 10px;
    color: #888;
    line-height: 1.4;
    margin-top: 6px;
    margin-bottom: 0;
}

/* Wrapper : déclare le container CSS pour les unités cqw */
.cartouche-outer {
    container-type: inline-size;
    width: 100%;
    padding: 11px 20px; /* mobile */
}
@media (min-width: 768px) {
    .cartouche-outer { padding: 11px 0; }
    .cartouche-tel { aspect-ratio: 445 / 50 !important; }
}
@media (min-width: 992px) {
    .cartouche-outer { padding: 11px 16px; }
}

.cartouche-tel {
    font-family: Arial, sans-serif;
    font-weight: bold;
    width: 100%;
    aspect-ratio: 445 / 37;
    border: 1px solid #bbb;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    background: #fff;
}

.cartouche-tel .ct-numero {
    position: absolute;
    left: 0;
    top: 2.70%;
    width: 49.44%;
    height: 94.59%;
    font-size: 6.74cqw;
    color: #a50f78;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding-left: 2.25cqw;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.cartouche-tel .ct-tarif {
    position: absolute;
    left: 49.44%;
    right: 0;
    top: -10.81%;
    height: 127.03%;
    background-color: #a50f78;
    color: #fff;
    font-size: 3.37cqw;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.cartouche-tel .ct-tarif p {
    margin: 0;
    margin-left: 4.49cqw;
    line-height: 1.2;
    padding-top: 0.33em;
}

.cartouche-tel .ct-tarif::after {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    pointer-events: none;
    border: 2.02cqw solid transparent;
    border-left-color: #fff;
}

/* Numéro direct (fiches premium) */
.tel-direct {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: #121212;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}
.tel-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 157, 219, 0.3);
    color: #121212;
}
.tel-direct i {
    font-size: 1rem;
}

/* Lien "voir le site" dans le bloc transparence (non-premium) */
.link-voir-site {
    color: #a0a0a0 !important;
    text-decoration: none;
    font-style: normal;
    opacity: 0.8;
}
.link-voir-site:hover {
    text-decoration: underline;
    opacity: 1;
}

/* FAQ inline — intégrée en bas du bloc présentation, items dépliés */
.faq-separator {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    margin: 2.25rem 0 1.5rem;
}
.faq-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e8e8ec;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}
.faq-title i {
    color: var(--primary-color);
}
.faq-list-inline .faq-item-inline {
    margin-bottom: 1.75rem;
}
.faq-list-inline .faq-item-inline:last-child {
    margin-bottom: 0;
}
.faq-list-inline .faq-q {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.02rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.faq-list-inline .faq-a {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 0.97rem;
}
