/* ============================================================
   WP Directory Pro — Fiche détail v2
   ============================================================ */
.jann-detail {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Fil d'ariane */
.jann-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #94a3b8;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.jann-detail-breadcrumb a { color: var(--jann-color, #1d4ed8); text-decoration: none; }
.jann-detail-breadcrumb a:hover { text-decoration: underline; }

/* Card principale */
.jann-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    border: 1px solid #e2e8f0;
}

/* ── HERO avec grande photo ──────────────────────────────── */
.jann-detail-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    overflow: hidden;
}

/* Image de fond pleine largeur */
.jann-detail-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay dégradé pour lisibilité du texte */
.jann-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.05) 0%,
        rgba(0,0,0,.15) 40%,
        rgba(0,0,0,.65) 100%
    );
}

/* Placeholder si pas d'image */
.jann-detail-hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.jann-detail-hero-placeholder span {
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255,255,255,.2);
    letter-spacing: -.04em;
    text-transform: uppercase;
    user-select: none;
}

/* Infos sur la photo */
.jann-detail-hero-content {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    width: 100%;
}
.jann-detail-badge {
    display: inline-block;
    background: var(--jann-color, #1d4ed8);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.jann-detail-hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.jann-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.jann-detail-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.3);
}

/* ── Corps ───────────────────────────────────────────────── */
.jann-detail-body {
    padding: 32px;
}

/* Réseaux sociaux */
.jann-detail-socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.jann-detail-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all .15s;
}
.jann-detail-socials a:hover {
    background: var(--jann-color, #1d4ed8);
    color: #fff;
    border-color: transparent;
}

/* Description */
.jann-detail-section { margin-bottom: 28px; }
.jann-detail-section h2 {
    font-size: .72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}
.jann-detail-content {
    font-size: .92rem;
    color: #334155;
    line-height: 1.8;
}

/* Colonnes */
.jann-detail-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Liste coordonnées */
.jann-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.jann-detail-list li {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: .88rem;
    align-items: flex-start;
}
.jann-detail-list li:last-child { border: none; }
.jann-detail-list li > span {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.jann-detail-list strong {
    display: block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 3px;
}
.jann-detail-list a {
    color: var(--jann-color, #1d4ed8);
    text-decoration: none;
}
.jann-detail-list a:hover { text-decoration: underline; }

/* Bouton contacter */
.jann-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    background: var(--jann-color, #1d4ed8);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .88rem;
    transition: opacity .15s;
    margin-top: 4px;
}
.jann-detail-btn:hover { opacity: .88; }

/* Footer */
.jann-detail-footer {
    padding: 18px 32px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.jann-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: color .15s;
}
.jann-detail-back:hover { color: #0f172a; }

/* Responsive */
@media (max-width: 640px) {
    .jann-detail-cols { grid-template-columns: 1fr; }
    .jann-detail-hero { min-height: 240px; }
    .jann-detail-hero-content h1 { font-size: 1.5rem; }
    .jann-detail-hero-content { padding: 20px; }
    .jann-detail-body { padding: 20px; }
    .jann-detail-footer { padding: 16px 20px; }
}
