/* ==========================================
   Outsight Agency — See Beyond Stars
   الهوية البصرية: أسود عميق + ذهبي
   ========================================== */
:root {
    --primary-color: #FFD700;
    --primary-hover: #e6c200;
    --dark-bg: #0a0a0a;
    --card-bg: #151515;
    --card-border: #2a2a2a;
    --text-light: #f8f9fa;
    --text-muted: #a0a0a0;
    --whatsapp: #25D366;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.8;
}

a { color: var(--primary-color); }
a:hover { color: var(--primary-hover); }
.text-gold { color: var(--primary-color) !important; }
.text-soft { color: var(--text-muted) !important; }
.latin { font-family: 'Poppins', sans-serif; direction: ltr; unicode-bidi: isolate; }

/* ---------- Navbar ---------- */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 12px 0;
    transition: padding .3s;
}
.navbar.scrolled { padding: 6px 0; }
.navbar-brand img { height: 58px; width: 58px; object-fit: contain; mix-blend-mode: lighten; }
.brand-text { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: 1.15rem; }
.brand-text span { color: var(--primary-color); margin-inline-start: 4px; }
.nav-link { color: var(--text-light) !important; font-weight: 600; margin: 0 8px; transition: color .3s; }
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
.navbar-toggler { border-color: rgba(255, 215, 0, .5); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-sm-nav { padding: 8px 22px !important; }

/* ---------- Buttons ---------- */
.btn-custom {
    background-color: var(--primary-color) !important;
    color: #000 !important;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-color) !important;
    transition: transform .3s, box-shadow .3s, background-color .3s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom:active {
    background-color: var(--primary-hover) !important;
    color: #000 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-hover) !important;
}
.btn-outline-gold {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all .3s;
}
.btn-outline-gold:hover { background: var(--primary-color); color: #000; transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, #1a1a2e, #000000 70%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-section::before { /* نجوم خفيفة */
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image:
        radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent),
        radial-gradient(1px 1px at 70% 20%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 85% 70%, var(--primary-color), transparent),
        radial-gradient(1px 1px at 40% 80%, #fff, transparent),
        radial-gradient(1px 1px at 10% 60%, var(--primary-color), transparent),
        radial-gradient(1px 1px at 55% 45%, #fff, transparent);
}
.hero-section .container { position: relative; }
.hero-kicker {
    display: inline-block; color: var(--primary-color); font-weight: 700;
    border: 1px solid rgba(255,215,0,.35); background: rgba(255,215,0,.06);
    padding: 6px 16px; border-radius: 50px; font-size: .95rem; margin-bottom: 18px;
}
.hero-text h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.35; }
.hero-text h1 span { color: var(--primary-color); }
.hero-text p.lead { font-size: 1.2rem; color: var(--text-muted); margin: 20px 0 30px; }
.hero-checks { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-checks li { color: var(--text-light); font-weight: 600; }
.hero-checks i { color: var(--primary-color); margin-inline-end: 6px; }

.hero-photo { position: relative; max-width: 440px; margin: 0 auto; }
.hero-photo img {
    width: 100%; height: auto; border-radius: 30px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 10px rgba(255,215,0,.06);
    animation: float 6s ease-in-out infinite;
}
.hero-badge {
    position: absolute; background: var(--card-bg); border: 1px solid rgba(255,215,0,.4);
    border-radius: 16px; padding: 10px 16px; font-weight: 700; font-size: .9rem;
    box-shadow: 0 15px 30px rgba(0,0,0,.5); display: flex; align-items: center; gap: 10px;
}
.hero-badge i { color: var(--primary-color); font-size: 1.3rem; }
.hero-badge.b1 { bottom: 30px; inset-inline-start: -30px; }
.hero-badge.b2 { top: 30px; inset-inline-end: -25px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: radial-gradient(circle at top left, #1a1a2e, #000 70%);
    padding: 140px 0 70px;
    border-bottom: 1px solid #222;
}
.page-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.4; }
.page-hero .lead { color: var(--text-muted); font-size: 1.15rem; }
.breadcrumb { margin-bottom: 18px; font-size: .9rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb-item.active { color: var(--primary-color); }
.breadcrumb-item + .breadcrumb-item::before { color: #555; }

/* ---------- Sections ---------- */
.section-padding { padding: 90px 0; }
.section-alt { background: linear-gradient(180deg, #0a0a0a 0%, #111 100%); border-top: 1px solid #222; border-bottom: 1px solid #222; }
.section-title { text-align: center; margin-bottom: 55px; }
.section-title .eyebrow { color: var(--primary-color); font-weight: 700; display: block; margin-bottom: 8px; }
.section-title h2 { font-size: 2.3rem; font-weight: 800; position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 3px; background-color: var(--primary-color);
}
.section-title p { color: var(--text-muted); max-width: 680px; margin: 18px auto 0; font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stats-section { background: linear-gradient(135deg, #111 0%, #0a0a0a 100%); border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 50px 0; }
.stat-item { text-align: center; padding: 15px; }
.stat-icon { font-size: 1.8rem; color: rgba(255, 215, 0, 0.5); margin-bottom: 10px; }
.stat-number { font-family: 'Poppins', sans-serif; font-size: 3rem; font-weight: 700; color: var(--primary-color); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 1.05rem; color: var(--text-light); font-weight: 600; }

/* ---------- Cards ---------- */
.service-card, .course-card, .post-card, .info-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all .4s;
    position: relative;
    z-index: 1;
}
.service-card::before, .course-card::before, .post-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, transparent 100%);
    border-radius: 20px; z-index: -1; opacity: 0; transition: opacity .4s;
}
.service-card:hover, .course-card:hover, .post-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: 0 15px 30px rgba(0,0,0,.5); }
.service-card:hover::before, .course-card:hover::before, .post-card:hover::before { opacity: 1; }
.service-icon { font-size: 2.3rem; color: var(--primary-color); margin-bottom: 18px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
.service-card p, .info-card p { color: var(--text-muted); font-size: .97rem; margin: 0; }

.course-card { display: flex; flex-direction: column; }
.course-num { position: absolute; top: 18px; inset-inline-end: 24px; font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 700; color: rgba(255,215,0,.12); line-height: 1; }
.course-card h3 { font-size: 1.35rem; font-weight: 800; margin: 10px 0 6px; line-height: 1.5; }
.course-card h3 a { color: #fff; text-decoration: none; }
.course-card h3 a:hover { color: var(--primary-color); }
.course-en { font-family: 'Poppins', sans-serif; font-size: .82rem; color: var(--text-muted); direction: ltr; text-align: end; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.3); color: var(--primary-color); border-radius: 50px; padding: 3px 12px; font-size: .85rem; font-weight: 700; }
.course-card p { color: var(--text-muted); font-size: .97rem; }
.course-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.course-card ul li { padding: 4px 0; font-size: .95rem; }
.course-card ul li i { color: var(--primary-color); margin-inline-end: 8px; font-size: .8rem; }
.course-price { margin-top: auto; padding-top: 18px; border-top: 1px dashed #333; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.course-price strong { font-size: 1.6rem; color: var(--primary-color); font-weight: 800; }

/* ---------- Bundle ---------- */
.bundle-box {
    background: linear-gradient(135deg, rgba(255,215,0,.12), rgba(255,215,0,.02) 60%), var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 28px;
    padding: 45px;
    position: relative;
    overflow: hidden;
}
.bundle-ribbon {
    position: absolute; top: 26px; left: -50px; transform: rotate(-45deg);
    background: var(--primary-color); color: #000; font-weight: 800; padding: 4px 56px; font-size: .9rem;
}
.bundle-box h2 { font-weight: 800; font-size: 2rem; }
.price-old { text-decoration: line-through; color: #888; font-size: 1.3rem; }
.price-big { font-size: 3.4rem; font-weight: 800; color: var(--primary-color); line-height: 1.1; }
.save-badge { display: inline-block; background: #c8102e; color: #fff; border-radius: 50px; padding: 4px 14px; font-weight: 700; font-size: .9rem; }
.bundle-list { list-style: none; padding: 0; margin: 0; }
.bundle-list li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.bundle-list li:last-child { border-bottom: 0; }
.bundle-list i { color: var(--primary-color); margin-inline-end: 10px; }

/* ---------- Audience checklist ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 12px 0; border-bottom: 1px dashed #2a2a2a; display: flex; gap: 12px; }
.check-list li i { color: var(--primary-color); margin-top: 6px; }

/* ---------- Session flow ---------- */
.flow-item { display: flex; gap: 16px; background: var(--card-bg); border: 1px solid #2a2a2a; border-radius: 16px; padding: 16px; height: 100%; }
.flow-min { flex: 0 0 72px; background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.3); border-radius: 12px; text-align: center; padding: 8px 4px; }
.flow-min b { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--primary-color); line-height: 1.2; }
.flow-min small { color: var(--text-muted); }
.flow-item h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.flow-item p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* ---------- Curriculum (accordion) ---------- */
.curriculum .accordion-item { background: var(--card-bg); border: 1px solid #2a2a2a; border-radius: 16px !important; margin-bottom: 14px; overflow: hidden; }
.curriculum .accordion-button { background: var(--card-bg); color: #fff; font-weight: 700; font-size: 1.1rem; padding: 20px 22px; box-shadow: none; gap: 14px; }
.curriculum .accordion-button:not(.collapsed) { background: rgba(255,215,0,.06); color: var(--primary-color); }
.curriculum .accordion-button::after { filter: invert(80%) sepia(60%) saturate(1000%) hue-rotate(5deg); }
.week-tag { flex: 0 0 auto; background: var(--primary-color); color: #000; border-radius: 50px; padding: 2px 12px; font-size: .82rem; font-weight: 800; }
.module-en { display: block; font-family: 'Poppins', sans-serif; font-size: .78rem; font-weight: 400; color: var(--text-muted); }
.curriculum .accordion-body { color: var(--text-light); padding: 6px 22px 22px; }
.topics { list-style: none; padding: 0; columns: 2; column-gap: 30px; margin: 10px 0 18px; }
.topics li { padding: 4px 0; break-inside: avoid; font-size: .96rem; }
.topics li::before { content: '▪'; color: var(--primary-color); margin-inline-end: 8px; }
.practice-box { background: rgba(255,215,0,.07); border-inline-start: 4px solid var(--primary-color); border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; }
.practice-box b { color: var(--primary-color); }
.result-line b { color: var(--primary-color); }
.module-lead { color: var(--text-muted); font-style: italic; }
@media (max-width: 767px) { .topics { columns: 1; } }

/* ---------- Sticky price card (course page) ---------- */
.price-card { background: var(--card-bg); border: 2px solid var(--primary-color); border-radius: 24px; padding: 30px; position: sticky; top: 100px; }
.price-card .price-big { font-size: 2.8rem; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; }
.price-card ul li { padding: 6px 0; }
.price-card ul li i { color: var(--primary-color); margin-inline-end: 10px; width: 18px; text-align: center; }

/* ---------- Book ---------- */
.book-mock {
    width: 180px; aspect-ratio: 3/4.2; margin: 0 auto; border-radius: 6px 14px 14px 6px;
    background: linear-gradient(160deg, #6fd3e8 0%, #a9e3ee 45%, #f6b98a 100%);
    box-shadow: -12px 18px 35px rgba(0,0,0,.6), inset 6px 0 0 rgba(0,0,0,.15);
    color: #0b2346; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 16px;
    transform: rotate(-4deg);
}
.book-mock strong { font-size: 1.7rem; font-weight: 800; line-height: 1.3; }
.book-mock small { font-size: .75rem; margin-top: 8px; }

/* ---------- Final project table ---------- */
.table-dark-gold { --bs-table-bg: transparent; --bs-table-color: var(--text-light); border-color: #2a2a2a; }
.table-dark-gold thead th { background: var(--primary-color); color: #000; font-weight: 800; border: 0; }
.table-dark-gold tbody tr:nth-child(odd) td, .table-dark-gold tbody tr:nth-child(odd) th { background: rgba(255,255,255,.02); }
.table-dark-gold th { color: var(--primary-color); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq .accordion-item { background: var(--card-bg); border: 1px solid #2a2a2a; border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { background: var(--card-bg); color: #fff; font-weight: 700; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--primary-color); background: rgba(255,215,0,.05); }
.faq .accordion-button::after { filter: invert(80%) sepia(60%) saturate(1000%) hue-rotate(5deg); }
.faq .accordion-body { color: var(--text-muted); }

/* ---------- About ---------- */
.about-photo { border-radius: 24px; border: 3px solid var(--primary-color); width: 100%; height: auto; box-shadow: 0 25px 50px rgba(0,0,0,.5); }

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { color: var(--primary-color); font-weight: 700; font-size: .85rem; }
.post-card h2, .post-card h3 { font-size: 1.25rem; font-weight: 800; margin: 8px 0 10px; line-height: 1.6; }
.post-card h2 a, .post-card h3 a { color: #fff; text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--primary-color); }
.post-card p { color: var(--text-muted); font-size: .95rem; }
.post-meta { color: #777; font-size: .85rem; margin-top: auto; }
.post-thumb { aspect-ratio: 16/9; width: 100%; object-fit: cover; background: linear-gradient(135deg, #1a1a2e, #000); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: rgba(255,215,0,.5); }

.article-content { font-size: 1.12rem; line-height: 2.05; color: #e6e6e6; }
.article-content h2 { font-size: 1.65rem; font-weight: 800; color: #fff; margin: 42px 0 16px; padding-inline-start: 14px; border-inline-start: 4px solid var(--primary-color); }
.article-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); margin: 30px 0 12px; }
.article-content p { margin-bottom: 1.3rem; }
.article-content ul, .article-content ol { margin-bottom: 1.3rem; padding-inline-start: 1.4rem; }
.article-content li { margin-bottom: .5rem; }
.article-content strong { color: #fff; }
.article-content blockquote { background: rgba(255,215,0,.06); border-inline-start: 4px solid var(--primary-color); padding: 18px 22px; border-radius: 10px; margin: 26px 0; color: #fff; }
.article-content img { max-width: 100%; height: auto; border-radius: 14px; margin: 18px 0; }
.article-content .tip { background: var(--card-bg); border: 1px solid #333; border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--card-bg); border: 1px solid #333; border-radius: 18px; padding: 22px; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); flex: 0 0 auto; }
.article-cta { background: linear-gradient(135deg, rgba(255,215,0,.12), transparent), var(--card-bg); border: 1px solid var(--primary-color); border-radius: 20px; padding: 30px; text-align: center; }

/* ---------- Contact ---------- */
.contact-form { background: var(--card-bg); padding: 40px; border-radius: 20px; border: 1px solid #333; }
.form-control, .form-select { background-color: #0a0a0a; border: 1px solid #333; color: white; padding: 12px; }
.form-control::placeholder { color: #777; }
.form-control:focus, .form-select:focus { background-color: #0a0a0a; color: white; border-color: var(--primary-color); box-shadow: none; }
[dir="rtl"] .form-select { background-position: left .75rem center; }
.form-select option { background: #0a0a0a; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #111, #0a0a0a); border-top: 1px solid rgba(255,215,0,.25); border-bottom: 1px solid rgba(255,215,0,.25); padding: 70px 0; text-align: center; }
.cta-band h2 { font-weight: 800; font-size: 2.1rem; }
.cta-band p { color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background-color: #050505; padding: 55px 0 25px; border-top: 1px solid #222; }
.site-footer p { color: var(--text-muted); }
.footer-logo { width: 110px; height: 110px; object-fit: contain; mix-blend-mode: lighten; }
.footer-title { font-size: 1.05rem; font-weight: 800; color: var(--primary-color); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--primary-color); }
.site-footer hr { border-color: #222; opacity: 1; margin: 30px 0 18px; }
.copyright { text-align: center; font-size: .9rem; margin: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 1050;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--whatsapp); color: #fff; font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .45);
    text-decoration: none; transition: transform .3s;
    animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-tip {
    position: absolute; left: 72px; white-space: nowrap; background: #fff; color: #111;
    font-size: .9rem; font-weight: 700; padding: 6px 14px; border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0,0,0,.3); opacity: 0; transform: translateX(-8px); transition: all .3s; pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tip { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-text h1 { font-size: 2.4rem; }
    .hero-text { text-align: center; }
    .hero-checks { justify-content: center; }
    .hero-badge.b1 { inset-inline-start: -5px; }
    .hero-badge.b2 { inset-inline-end: -5px; }
    .price-card { position: static; }
    .page-hero h1 { font-size: 2rem; }
}
@media (max-width: 575px) {
    .hero-text h1 { font-size: 2rem; }
    .section-title h2 { font-size: 1.8rem; }
    .stat-number { font-size: 2.3rem; }
    .bundle-box, .contact-form { padding: 26px 20px; }
    .price-big { font-size: 2.6rem; }
    .whatsapp-float { width: 54px; height: 54px; font-size: 1.75rem; bottom: 16px; left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-photo img, .whatsapp-float { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Book cover ---------- */
.book-cover { width: 100%; max-width: 220px; height: auto; border-radius: 6px 12px 12px 6px; transform: rotate(-4deg); box-shadow: -12px 18px 35px rgba(0,0,0,.6); transition: transform .4s; }
.book-cover:hover { transform: rotate(0) scale(1.03); }
.book-cover-sm { max-width: 120px; }

/* ---------- Languages (AR / FR) ---------- */
[dir="rtl"] .accordion-button::after { margin-right: auto; margin-left: 0; }
html[lang="fr"] body { font-family: 'Poppins', 'Cairo', sans-serif; line-height: 1.7; }
html[lang="fr"] .hero-text h1 { font-size: 3rem; line-height: 1.25; }
html[lang="fr"] .page-hero h1 { line-height: 1.3; }
html[lang="fr"] .article-content { line-height: 1.85; }
[dir="ltr"] .bundle-ribbon { left: auto; right: -50px; transform: rotate(45deg); }

.lang-switch { display: inline-flex; border: 1px solid var(--primary-color); border-radius: 50px; overflow: hidden; font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 700; }
.lang-switch a, .lang-switch span { padding: 6px 13px; line-height: 1.2; text-decoration: none; }
.lang-switch a { color: var(--primary-color); transition: background .3s, color .3s; }
.lang-switch a:hover { background: rgba(255, 215, 0, .15); color: var(--primary-color); }
.lang-switch .active { background: var(--primary-color); color: #000; }

.chip-active { background: var(--primary-color) !important; color: #000 !important; }
@media (max-width: 991px) { html[lang="fr"] .hero-text h1 { font-size: 2.2rem; } }
@media (max-width: 575px) { html[lang="fr"] .hero-text h1 { font-size: 1.8rem; } }

/* ---------- Blog filters ---------- */
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.filter-label { color: var(--text-muted); font-weight: 700; font-size: .92rem; min-width: 90px; }
.filter-row .chip small { opacity: .7; font-weight: 600; }
.lang-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--primary-color); color: #000; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: .75rem; padding: 3px 10px; border-radius: 50px; }
.post-card[lang="ar"] { font-family: 'Cairo', sans-serif; }
.post-card[lang="fr"] { font-family: 'Poppins', 'Cairo', sans-serif; }
.lang-badge-same { background: rgba(255, 215, 0, .15); color: var(--primary-color); border: 1px solid rgba(255, 215, 0, .5); }
