/* ═══════════════════════════════════════════════════════════════
   FICHE ENTREPRISE — styles spécifiques
   Utilise les variables de /assets/css/style.css (déjà chargé par header.php)
   ═══════════════════════════════════════════════════════════════ */

/* ── Page ── */
.fiche-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}
@media (max-width: 640px) {
    .fiche-page { padding: 16px 14px 64px; }
}

/* ── Hero fiche ── */
.fiche-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    position: relative;
    overflow: hidden;
}
.fiche-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(208,2,27,.15), transparent);
    pointer-events: none;
}
.fiche-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 26px;
    position: relative;
}
@media (max-width: 640px) {
    .fiche-hero-inner { padding: 20px 14px 22px; }
}

/* Fil d'Ariane (réutilise .bc de style.css mais adapté au hero sombre) */
.hero-bc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255,255,255,.5);
    margin-bottom: 22px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.hero-bc::-webkit-scrollbar { display: none; }
.hero-bc a { color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--tr); flex-shrink: 0; }
.hero-bc a:hover { color: rgba(255,255,255,.9); }
.hero-bc-sep { opacity: .35; font-size: 10px; flex-shrink: 0; }
.hero-bc-cur { color: rgba(255,255,255,.85); font-weight: 600; flex-shrink: 0; }

/* Header de la fiche */
.fiche-hd {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}
.fiche-av,
.fiche-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--r-md);
    flex-shrink: 0;
    box-shadow: var(--sh-md);
    border: 2px solid rgba(255,255,255,.12);
}
.fiche-av {
    background: linear-gradient(135deg, rgba(208,2,27,.7), rgba(168,1,22,.9));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fh);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}
.fiche-logo {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 6px;
}
.fiche-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fiche-logo--fallback::after {
    content: attr(data-initials);
    font-family: var(--fh);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(208,2,27,.85), rgba(168,1,22,.95));
}
@media (max-width: 640px) {
    .fiche-av, .fiche-logo { width: 56px; height: 56px; border-radius: var(--r-sm); }
    .fiche-logo { padding: 4px; }
    .fiche-logo--fallback::after, .fiche-av { font-size: 18px; }
}

.fiche-hd-info { flex: 1; min-width: 0; }

.fiche-bdg {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
/* ⚠️ Préfixe .fbdg pour ne pas entrer en conflit avec .badge de style.css */
.fbdg {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    line-height: 1.4;
}
.fbdg-ok   { background: var(--green-bg); color: var(--green); }
.fbdg-sec  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.fbdg-ref  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); font-size: 10px; }
.fbdg-resto{ background: linear-gradient(135deg,#F59E0B,#D97706); color: #fff; }
.fbdg-prod { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; }
.fbdg-serv { background: linear-gradient(135deg,#0D9488,#0F766E); color: #fff; }

.fiche-nom {
    font-family: var(--fh);
    font-size: clamp(22px, 4.4vw, 38px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -.7px;
    margin-bottom: 8px;
    word-break: break-word;
}
.fiche-sub {
    font-size: 14.5px;
    color: rgba(255,255,255,.62);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    row-gap: 4px;
}
.fiche-sub a { color: rgba(255,255,255,.62); text-decoration: none; }
.fiche-sub a:hover { color: #fff; }
.fiche-sub-sep { opacity: .3; }

.fiche-ctas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.cb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--fh);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    min-height: 46px;
    border-radius: var(--r-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
    white-space: nowrap;
}
.cb:hover  { transform: translateY(-2px); }
.cb:active { transform: translateY(0); }
.cb-p    { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(208,2,27,.4); }
.cb-p:hover { background: var(--red-dark); }
.cb-g    { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.18); }
.cb-g:hover { background: rgba(255,255,255,.18); }
.cb-s    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.12); padding: 12px 14px; }
.cb-s:hover { background: rgba(255,255,255,.16); }
.cb-gold { background: linear-gradient(135deg,#F59E0B,#D97706); color: #fff; box-shadow: 0 4px 16px rgba(217,119,6,.4); }
.cb-blue { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; box-shadow: 0 4px 16px rgba(37,99,235,.4); }
.cb-teal { background: linear-gradient(135deg,#0D9488,#0F766E); color: #fff; box-shadow: 0 4px 16px rgba(13,148,136,.4); }
.cta-phone { background: linear-gradient(135deg,var(--red),var(--red-dark)) !important; color: #fff !important; border: none !important; box-shadow: 0 4px 20px rgba(208,2,27,.4) !important; }
.cta-phone:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 30px rgba(208,2,27,.5) !important; }

@media (max-width: 640px) {
    .fiche-ctas { gap: 8px; }
    .fiche-ctas .cb { flex: 1 1 auto; justify-content: center; padding: 12px 14px; font-size: 13.5px; }
}

/* ── Table des matières ── */
.toc-wrap { position: sticky; top: 76px; z-index: 40; background: var(--bg); padding: 14px 0 0; }
.toc-container {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--sh-sm);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.toc-container::-webkit-scrollbar { display: none; }
.toc-label {
    font-family: var(--fh);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 2px;
    flex-shrink: 0;
}
.toc-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
    background: var(--bg);
    border: 1px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: all var(--tr);
}
.toc-item:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.toc-item.active { background: var(--red); color: var(--white); border-color: var(--red); }
@media (max-width: 640px) {
    .toc-wrap { padding-top: 10px; }
    .toc-label { display: none; }
    .toc-container { padding: 8px 10px; gap: 6px; border-radius: var(--r-md); }
}

/* ── Layout fiche : grille principale ── */
.fiche-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 960px) {
    .fiche-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Section blocks ── */
.section-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 20px;
    scroll-margin-top: 140px;
}
.section-block:last-child { margin-bottom: 0; }
.section-header {
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg);
    flex-wrap: wrap;
}
.section-header h2 {
    font-family: var(--fh);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.2px;
    margin: 0;
}
.section-body { padding: 20px; }
@media (max-width: 640px) {
    .section-header { padding: 14px 16px 12px; }
    .section-body { padding: 16px; }
}

/* ── Scan strip ── */
.scan-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.scan-pill {
    background: linear-gradient(135deg, var(--white), var(--bg));
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--tr);
    text-decoration: none;
    color: inherit;
}
.scan-pill:hover { border-color: var(--navy); transform: translateY(-2px); }
.scan-pill-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    border-radius: var(--r-sm);
}
.scan-pill-info { flex: 1; min-width: 0; }
.scan-pill-count { font-family: var(--fh); font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.scan-pill-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; margin-top: 2px; }

/* ── Informations ── */
.info-grid { display: flex; flex-direction: column; gap: 0; }
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-ico {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.info-ct { flex: 1; min-width: 0; }
.info-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 3px;
}
.info-val {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
    word-break: break-word;
}
.info-val a { color: var(--navy); text-decoration: none; transition: color var(--tr); }
.info-val a:hover { color: var(--red); }

.copy-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--muted);
    transition: background var(--tr), border-color var(--tr);
}
.copy-btn:hover { background: var(--bg); border-color: var(--navy); color: var(--navy); }
.copy-btn.copied { background: var(--green-bg); border-color: var(--green); color: var(--green); }

/* ── Carte Leaflet ── */
#map-leaflet {
    width: 100%;
    height: 320px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}
@media (max-width: 640px) { #map-leaflet { height: 240px; } }

.map-tb { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mnb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fb);
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 14px;
    min-height: 38px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--tr);
}
.mnb:hover { transform: translateY(-1px); }
.n-osm { background:#4CAF50; color: white; }
.n-gm  { background:#4285F4; color: white; }
.n-wz  { background:#33CCFF; color: var(--navy); }
.n-ap  { background:#1C1C1E; color: white; }
.n-mp  { background:#FF6600; color: white; }

/* ── About ── */
.about-source {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.about-text { font-size: 15px; color: var(--slate); line-height: 1.75; white-space: pre-line; }
.about-toggle {
    display: inline-block;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--red);
    font-family: var(--fh);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0;
    transition: opacity var(--tr);
}
.about-toggle:hover { opacity: .75; text-decoration: underline; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.about-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background var(--tr), color var(--tr);
}
.about-tag:hover { background: var(--navy); color: var(--white); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    font-family: var(--fh);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    transition: background var(--tr);
}
.faq-q:hover { background: var(--bg); }
.faq-q[aria-expanded="true"] { color: var(--red); }
.faq-ico { font-size: 18px; flex-shrink: 0; transition: transform var(--tr); color: var(--muted); }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(45deg); color: var(--red); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14.5px; color: var(--slate); line-height: 1.7; }
.faq-a.open { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ── Signalement ── */
.rpt-form { display: flex; flex-direction: column; gap: 16px; }
.rpt-form label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    display: block;
    margin-bottom: 6px;
}
.rpt-form select, .rpt-form textarea, .rpt-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--fb);
    font-size: 15px;
    color: var(--navy);
    background: var(--bg);
    outline: none;
    transition: border-color var(--tr);
}
.rpt-form select:focus, .rpt-form textarea:focus, .rpt-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(208,2,27,.08);
}
.rpt-form textarea { resize: vertical; min-height: 100px; }
.rpt-sub {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 13px 24px;
    min-height: 48px;
    border-radius: var(--r-sm);
    font-family: var(--fh);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--tr);
    align-self: flex-start;
}
.rpt-sub:hover { background: var(--red-dark); }
@media (max-width: 640px) { .rpt-sub { align-self: stretch; } }

/* ── Sidebar fiche ── */
.fiche-sb {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 140px;
}
@media (max-width: 960px) {
    .fiche-sb { position: static; }
}

.ct-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ct-title { font-family: var(--fh); font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.ct-sub   { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.ct-web, .ct-dir {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: var(--r-sm);
    padding: 13px;
    min-height: 46px;
    font-family: var(--fh);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--tr);
}
.ct-web { background: var(--red); color: var(--white); }
.ct-web:hover { background: var(--red-dark); }
.ct-dir { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.ct-dir:hover { background: rgba(255,255,255,.18); }
.ct-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: var(--r-sm);
    padding: 15px 18px;
    min-height: 52px;
    font-family: var(--fh);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s ease;
}

.stat-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-it { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; text-align: center; }
.stat-v { font-family: var(--fh); font-size: 21px; font-weight: 800; color: var(--navy); display: block; }
.stat-l { font-size: 11px; color: var(--muted); margin-top: 2px; }

.sim-grid { display: flex; flex-direction: column; gap: 10px; }
.sim-c {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    background: var(--white);
    color: inherit;
    transition: background var(--tr), border-color var(--tr), transform var(--tr);
}
.sim-c:hover { background: var(--bg); border-color: var(--navy); transform: translateX(3px); }
.sim-av {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--fh);
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}
.sim-info { flex: 1; min-width: 0; }
.sim-name {
    font-family: var(--fh);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sim-loc { font-size: 12px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Claim ── */
.claim-b {
    background: #FFF9ED;
    border: 1px solid rgba(200,155,60,.25);
    border-radius: var(--r-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.claim-ic { font-size: 28px; flex-shrink: 0; }
.claim-tx { flex: 1; min-width: 200px; }
.claim-tx h4 { font-family: var(--fh); font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.claim-tx p  { font-size: 12.5px; color: var(--slate); }
.claim-lk {
    background: var(--gold);
    color: var(--white);
    padding: 10px 18px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--r-sm);
    font-family: var(--fh);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    transition: background var(--tr);
}
.claim-lk:hover { background: #a67c2e; }

/* ── Sticky mobile ── */
.sticky-mob {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(11,31,58,.12);
    gap: 10px;
}
@media (max-width: 960px) {
    .sticky-mob { display: flex; }
    .fiche-page { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
.sticky-mob .cb { flex: 1; justify-content: center; font-size: 13.5px; padding: 13px 12px; }

/* ── Toast ── */
.toast {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 100px;
    font-family: var(--fb);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity .25s, transform .25s;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Vidéo ── */
.video-section { margin-top: 24px; }
.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    cursor: pointer;
    border: 1px solid var(--border);
}
.video-frame img, .video-frame video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.video-frame-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.video-frame-fallback .fiche-av {
    width: 96px; height: 96px;
    font-size: 32px;
    border-radius: var(--r-lg);
    opacity: .35;
}
.video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(11,31,58,.35);
    transition: transform var(--tr), background var(--tr);
    z-index: 2;
}
.video-play-btn::after {
    content: '';
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent var(--red);
    margin-left: 4px;
}
.video-frame:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--white); }
.video-spin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.25);
    border-top-color: var(--white);
    animation: video-spin-anim .8s linear infinite;
    z-index: 2;
}
@keyframes video-spin-anim { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ── Simulateurs ── */
.sim-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
@media (max-width: 480px) { .sim-grid-container { grid-template-columns: 1fr; } }
.sim-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px;
    transition: all var(--tr);
    cursor: pointer;
}
.sim-card:hover:not(.inactif) { border-color: var(--navy); box-shadow: var(--sh-md); transform: translateY(-2px); }
.sim-card.inactif { opacity: .55; cursor: not-allowed; filter: grayscale(.6); }
.sim-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sim-icon {
    font-size: 22px;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    border-radius: var(--r-sm);
    flex-shrink: 0;
}
.sim-title {
    font-family: var(--fh);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.sim-desc { font-size: 12.5px; color: var(--slate); line-height: 1.4; margin-left: 50px; }
.sim-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--green-bg);
    color: var(--green);
}
.sim-badge.inactif-badge { background: #f5f5f5; color: var(--muted); }

/* Modaux simulateurs */
.sim-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(11,31,58,0.55);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.sim-modal.open { display: flex; }
.sim-modal-content {
    background: var(--white);
    border-radius: var(--r-lg);
    max-width: 560px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 26px 28px 30px;
    box-shadow: var(--sh-lg);
    animation: modalIn 0.25s ease;
    position: relative;
}
@keyframes modalIn {
    from { transform: scale(.96) translateY(12px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.sim-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--tr);
    display: flex; align-items: center; justify-content: center;
}
.sim-modal-close:hover { color: var(--red); border-color: var(--red); background: var(--red-soft); }
.sim-modal-title { font-family: var(--fh); font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 4px; padding-right: 36px; }
.sim-modal-sub { font-size: 13.5px; color: var(--slate); margin-bottom: 20px; }
.sim-form-group { margin-bottom: 14px; }
.sim-form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.sim-form-group input, .sim-form-group select {
    width: 100%;
    padding: 12px 14px;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 15px;
    font-family: var(--fb);
    background: var(--bg);
    transition: border-color var(--tr);
    outline: none;
}
.sim-form-group input:focus, .sim-form-group select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(208,2,27,.08);
}
.sim-result { margin-top: 18px; padding: 18px; background: var(--bg); border-radius: var(--r-md); display: none; }
.sim-result.show { display: block; animation: fadeIn .3s ease; }
.sim-result-value { font-family: var(--fh); font-size: 25px; font-weight: 800; color: var(--red); word-break: break-word; }
.sim-result-label { font-size: 12px; color: var(--muted); }
.sim-result-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.sim-result-detail-item { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13.5px; }

@media (max-width: 640px) {
    .sim-modal { padding: 0; align-items: flex-end; }
    .sim-modal-content {
        max-width: none; width: 100%;
        max-height: 92vh;
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    }
}

/* ── Horaires ── */
.hours-list { display: flex; flex-direction: column; gap: 0; }
.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; min-width: 100px; color: var(--navy); }
.hours-time { color: var(--slate); text-align: right; }
.hours-row.closed { color: var(--muted); }
.hours-row.closed .hours-day { color: var(--muted); }
.hours-source { font-size: 11px; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ── Réseaux sociaux ── */
.socials-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 7px 13px;
    min-height: 36px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: all .2s;
}
.social-link:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }

/* ── Offres d'emploi ── */
.jobs-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
}
.jobs-header-title { font-family: var(--fh); font-size: 14.5px; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 8px; }
.jobs-header-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 3px; }
.jobs-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: var(--white);
    padding: 10px 18px;
    min-height: 40px;
    border-radius: 100px;
    font-family: var(--fh);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(208,2,27,.4);
    transition: transform var(--tr);
}
.jobs-header-cta:hover { transform: translateY(-2px); }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .jobs-grid { grid-template-columns: 1fr; } }

.job-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.job-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--red), var(--red-dark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}
.job-card:hover { border-color: var(--red); box-shadow: var(--sh-md); transform: translateY(-3px); }
.job-card:hover::before { transform: scaleY(1); }
.job-card-title { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.job-card:hover .job-card-title { color: var(--red); }
.job-card-external { font-size: 13px; color: var(--muted); flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg); }
.job-card-company { font-size: 13px; font-weight: 600; color: var(--slate); }
.job-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; color: var(--muted); }
.job-card-meta span { background: var(--bg); padding: 4px 9px; border-radius: 100px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.job-card-meta span.job-synced { background: var(--green-bg); color: var(--green); font-size: 10.5px; }
.job-card-preview { font-size: 12.5px; color: var(--slate); line-height: 1.55; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card-salary { font-size: 12.5px; font-weight: 800; color: var(--green); display: flex; align-items: center; gap: 5px; }
.job-card-cta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--red); }

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 100px;
}
.job-badge-cdi { background: var(--green-bg); color: var(--green); }
.job-badge-cdd { background: #EBF2FC; color: #1654A0; }
.job-badge-stage { background: #F0ECFF; color: #6840C8; }
.job-badge-alternance { background: #FEF3E7; color: #D4601A; }
.job-badge-freelance { background: #E8F7F1; color: #0B7A4E; }
.job-badge-interim { background: #FFF9ED; color: #C89B3C; }
.job-badge-partiel { background: #FDF2F8; color: #BE185D; }
.job-badge-default { background: var(--bg); color: var(--slate); }

.jobs-empty { padding: 32px 20px; text-align: center; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--r-md); color: var(--muted); }
.jobs-empty-ico { font-size: 34px; opacity: .4; margin-bottom: 8px; }
.jobs-empty-txt { font-size: 13.5px; line-height: 1.7; }

/* ── Menu restaurant ── */
.menu-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; }
.mb-jsonld { background: var(--green-bg); color: var(--green); }
.mb-micro  { background: #EBF2FC; color: #1654A0; }
.mb-html   { background: #F0ECFF; color: #6840C8; }
.mb-text   { background: #FEF3E7; color: #D4601A; }
.mb-pdf    { background: var(--red-soft); color: var(--red); }
.mb-ocr    { background: #FFF9ED; color: #C89B3C; }
.mb-default{ background: var(--bg); color: var(--slate); }

.menu-categories { display: flex; flex-direction: column; gap: 22px; }
.menu-category { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.menu-category-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(180deg, var(--bg), var(--white));
    border-bottom: 1px solid var(--border);
}
.menu-category-head h3 { font-family: var(--fh); font-size: 14.5px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.menu-cat-count {
    background: var(--navy); color: var(--white);
    font-size: 11px; font-weight: 800;
    min-width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 6px;
}
.menu-items { padding: 6px 0; }
.menu-item {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 14px;
    padding: 11px 18px;
    border-bottom: 1px dashed var(--border);
    transition: background var(--tr);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--bg); }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-name { font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.4; word-break: break-word; }
.menu-item-desc { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-item-price { font-family: var(--fh); font-size: 15px; font-weight: 800; color: var(--red); white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.menu-item-devise { font-size: 10.5px; font-weight: 700; color: var(--muted); margin-left: 3px; text-transform: uppercase; }
.menu-more { margin-top: 16px; padding: 12px; text-align: center; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--r-sm); font-size: 13px; color: var(--muted); font-weight: 600; }

/* ── Produits / Services ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
@media (max-width: 640px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    text-decoration: none; color: inherit;
    position: relative; overflow: hidden;
    transition: all var(--tr);
}
.product-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #2563EB, #1D4ED8);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}
.product-card:hover { border-color: #2563EB; box-shadow: var(--sh-md); transform: translateY(-3px); }
.product-card:hover::before { transform: scaleY(1); }
.product-card-name { font-family: var(--fh); font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.product-card-desc { font-size: 12.5px; color: var(--slate); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-card-price { font-family: var(--fh); font-size: 16px; font-weight: 800; color: #2563EB; white-space: nowrap; }
.product-card-sku { font-size: 10.5px; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 100px; font-weight: 600; }

.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none; color: inherit;
    transition: all var(--tr);
}
.service-row:hover { border-color: #0D9488; box-shadow: var(--sh-md); transform: translateX(3px); }
.service-row-ico {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, #0D9488, #0F766E);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; flex-shrink: 0;
}
.service-row-body { flex: 1; min-width: 0; }
.service-row-name { font-family: var(--fh); font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 2px; }
.service-row-desc { font-size: 12.5px; color: var(--slate); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.service-row-price { font-family: var(--fh); font-size: 15px; font-weight: 800; color: #0D9488; white-space: nowrap; }
.service-row-cat { font-size: 10.5px; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 100px; font-weight: 600; }

/* ── Accessibilité ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}