
:root {
    
    --bg-primary: #111820;
    --bg-secondary: #1B263B;
    --bg-card: #1E2D40;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B3AE;
    --border-color: rgba(224,225,221,0.1);
    --orange: #F77F00;
    --orange-dark: #D96900;
    --green: #25D366;
    --teal: #00B4A0;
    --red: #E63946;
    --navy: #1B263B;
    --navy2: #243447;
    --steel: #E0E1DD;
    --mid: #B0B3AE;
    --white: #FFFFFF;
    --dark: #111820;
    --card: #1E2D40;
}

[data-theme="light"] {
    
    --bg-primary: #E4E8EF;
    --bg-secondary: #FFFFFF;
    --bg-card: #F7F9FC;
    --text-primary: #0D1117;
    --text-secondary: #3D4A5C;
    --border-color: rgba(13, 17, 23, 0.12);
    --navy: #EDF1F7;
    --navy2: #E2E8F0;
    --dark: #F0F4FA;
    --card: #F7F9FC;
    --mid: #4A5568;
    --steel: #1F2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Barlow', sans-serif;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.lang-ar {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}

.fr { display: block; }
.ar { display: none; }
body.lang-ar .fr { display: none; }
body.lang-ar .ar { display: block; }
.fr-inline { display: inline; }
.ar-inline { display: none; }
body.lang-ar .fr-inline { display: none; }
body.lang-ar .ar-inline { display: inline; }

/* Barre du haut + menu : même mise en page « style FR » (LTR) même en arabe */
body.lang-ar #topbar,
body.lang-ar nav {
    direction: ltr;
    unicode-bidi: isolate;
}

body.lang-ar a[href^="tel"],
body.lang-ar .tb-phones a,
body.lang-ar .tb-phones .sep {
    direction: ltr;
    display: inline-block;
    unicode-bidi: plaintext;
}

.price-display {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    text-align: left;
}

.price-display .price-currency {
    font-size: 0.7rem;
    font-weight: 400;
}

#topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(247,127,0,0.2);
    padding: 0.3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.76rem;
}

.tb-phones {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.tb-phones a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.tb-phones a:hover {
    color: var(--orange);
}

.tb-phones .sep {
    color: rgba(255,255,255,0.15);
}

[data-theme="light"] .tb-phones .sep {
    color: rgba(13, 17, 23, 0.22);
}

.tb-right {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.wa-badge {
    color: var(--green) !important;
    font-weight: 700;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    background: transparent;
    border: 1px solid rgba(247,127,0,0.3);
    border-radius: 20px;
    padding: 0.25rem 0.65rem;
    cursor: pointer;
    color: var(--orange);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: rgba(247,127,0,0.1);
}

.theme-toggle i {
    font-size: 0.95rem;
    line-height: 1;
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(247,127,0,0.5);
    color: #C65F00;
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(247,127,0,0.14);
    color: var(--orange-dark);
}

.lang-switcher {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(247,127,0,0.35);
    overflow: hidden;
    border-radius: 3px;
}

.ls-globe {
    display: inline-flex;
    align-items: center;
    padding: 0 0.45rem;
    background: rgba(247,127,0,0.08);
    color: var(--orange);
    font-size: 0.72rem;
}

[data-theme="light"] .ls-globe {
    background: rgba(247,127,0,0.12);
    color: #C65F00;
}

.ls-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: 'Barlow Condensed', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

body.lang-ar .ls-btn {
    font-family: 'Barlow Condensed', sans-serif;
}

.ls-btn i {
    font-size: 0.7rem;
    opacity: 0.9;
}

.ls-btn.active {
    background: var(--orange);
    color: var(--white);
}

.ls-btn.active i {
    opacity: 1;
}

[data-theme="light"] .lang-switcher {
    border-color: rgba(247,127,0,0.45);
}

[data-theme="light"] .ls-btn:not(.active) {
    color: #3D4A5C;
}

.dash-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid rgba(247,127,0,0.3);
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
}

.dash-trigger:hover {
    background: rgba(247,127,0,0.08);
}

nav {
    position: fixed;
    top: 34px;
    width: 100%;
    z-index: 1000;
    background: rgba(17,24,32,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--orange);
    padding: 0 1.5rem;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="light"] nav {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 0 rgba(13, 17, 23, 0.06);
}

.nav-logo {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-logo span {
    color: var(--orange);
}

body.lang-ar .nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
}

body.lang-fr .nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
}

.nav-links {
    display: flex;
    gap: 0.1rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.4rem 0.65rem;
    transition: color 0.2s;
    position: relative;
}

body.lang-fr .nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

body.lang-ar .nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.25s;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 2px;
}

.nav-cta::after {
    display: none !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    display: block;
    transition: all 0.3s;
}

.nav-mobile-tools {
    display: none;
}

.mob-menu {
    display: none;
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 1rem;
    border-bottom: 2px solid var(--orange);
}

.mob-menu.open {
    display: block;
}

.mob-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.mob-menu a:hover {
    color: var(--orange);
}

body.lang-ar .mob-menu {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
}

section {
    padding: 5rem 1.5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.sec-hd {
    text-align: center;
    margin-bottom: 3rem;
}

.sec-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sec-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.05;
}

body.lang-fr .sec-title {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
}

body.lang-ar .sec-title {
    font-family: 'Cairo', sans-serif;
}

.sec-title em {
    color: var(--orange);
    font-style: normal;
}

.sec-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
    margin: 0.8rem auto 0;
}

.btn-p {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.2s;
}

.btn-p:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-o {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--text-secondary);
    color: var(--steel);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-o:hover {
    border-color: var(--orange);
    color: var(--orange);
}

[data-theme="light"] .btn-o {
    border-color: rgba(13, 17, 23, 0.2);
    color: var(--text-secondary);
}

[data-theme="light"] .btn-o:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.occ-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.occ-banner h3 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 900;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.occ-banner > div > p,
.occ-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
    margin: 0 0 1rem;
    max-width: 520px;
}

.occ-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--teal);
    padding: 0.3rem 0.75rem;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.85rem;
}

[data-theme="light"] .occ-badge {
    background: rgba(0, 180, 160, 0.08);
    border-color: #009688;
    color: #00796B;
}

.occ-intro-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    width: 100%;
    max-width: 720px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .occ-intro-card {
    box-shadow: 0 8px 32px rgba(13, 17, 23, 0.08);
}

.occ-intro-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.occ-h3 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 900;
    margin: 0;
    line-height: 1.2;
    color: var(--text-primary);
}

.occ-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.1rem;
}

.occ-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 180, 160, 0.1);
    border: 1px solid rgba(0, 180, 160, 0.35);
    color: var(--teal);
}

[data-theme="light"] .occ-chip {
    background: rgba(0, 150, 136, 0.08);
    color: #00695c;
}

.occ-chip i {
    font-size: 0.7rem;
    opacity: 0.9;
}

.occ-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.92rem;
    margin: 0 0 1.15rem;
    max-width: 560px;
}

.btn-occ-cta {
    clip-path: none;
}

.occ-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px dashed rgba(0, 180, 160, 0.35);
    border-radius: 12px;
}

.occ-empty-ico {
    font-size: 2.2rem;
    color: var(--teal);
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.occ-empty-title {
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.occ-empty-sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.m-type--occ {
    color: var(--teal) !important;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

#accueil {
    --hero-fg: #ffffff;
    --hero-muted: rgba(255, 255, 255, 0.88);
    --hero-stroke: rgba(230, 232, 235, 0.95);
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0a0e14;
}

#accueil.hero-no-video {
    background: #0a0e14;
}

#accueil.hero-no-video::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 70% at 20% 40%, rgba(247, 127, 0, 0.14), transparent 52%),
        radial-gradient(ellipse 70% 50% at 85% 75%, rgba(0, 180, 160, 0.08), transparent 45%),
        linear-gradient(145deg, #111820 0%, #1b263b 38%, #0d1218 100%);
    pointer-events: none;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(10, 14, 20, 0.78) 0%, rgba(10, 14, 20, 0.48) 50%, rgba(10, 14, 20, 0.32) 100%),
        linear-gradient(to top, rgba(10, 14, 20, 0.65) 0%, transparent 45%),
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(247, 127, 0, 0.1), transparent 55%);
}

body.lang-ar .hero-overlay {
    background:
        linear-gradient(-105deg, rgba(10, 14, 20, 0.78) 0%, rgba(10, 14, 20, 0.48) 50%, rgba(10, 14, 20, 0.32) 100%),
        linear-gradient(to top, rgba(10, 14, 20, 0.65) 0%, transparent 45%),
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(247, 127, 0, 0.1), transparent 55%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    align-items: start;
}

@media (min-width: 992px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
        gap: 2.5rem 3rem;
    }
}

.hero-col-main {
    min-width: 0;
}

#accueil .hero-col-main {
    color: var(--hero-fg);
}

.hero-col-stats {
    min-width: 0;
}

#accueil .hero-col-stats .hero-stats {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 0;
}

#accueil .hero-col-stats .h-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.85rem;
    align-items: center;
    text-align: start;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.lang-ar #accueil .hero-col-stats .h-stat {
    text-align: right;
    direction: rtl;
}

#accueil .hero-col-stats .h-stat-ico {
    grid-row: 1 / span 2;
    font-size: 1.85rem;
    color: var(--orange);
    line-height: 1;
}

#accueil .hero-col-stats .h-stat strong {
    grid-column: 2;
    font-size: 2rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1.05;
}

#accueil .hero-col-stats .h-stat .fr-inline,
#accueil .hero-col-stats .h-stat .ar-inline {
    grid-column: 2;
    font-size: 0.72rem;
    color: var(--hero-muted);
    line-height: 1.35;
    margin-top: 0;
}

@media (max-width: 991px) {
    #accueil .hero-col-stats .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }

    #accueil .hero-col-stats .h-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 0.45rem;
    }

    body.lang-ar #accueil .hero-col-stats .h-stat {
        text-align: center;
    }

    #accueil .hero-col-stats .h-stat-ico {
        margin-bottom: 0.35rem;
    }

    #accueil .hero-col-stats .h-stat strong {
        font-size: 1.65rem;
    }
}

@media (max-width: 520px) {
    #accueil .hero-col-stats .hero-stats {
        grid-template-columns: 1fr;
    }
}

.hero-featured {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

#accueil .hero-title {
    color: var(--hero-fg);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
    margin-bottom: 1.35rem;
    line-height: 1.02;
}

#accueil .hero-title .stroke {
    -webkit-text-stroke-color: var(--hero-stroke);
}

#accueil .hero-desc {
    color: var(--hero-muted);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    max-width: 100%;
    margin-bottom: 1.75rem;
    line-height: 1.85;
}

#accueil .btn-o {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--hero-fg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

#accueil .btn-o:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(247, 127, 0, 0.12);
}

.hero-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.85rem;
}

.hero-featured-tag i {
    color: var(--orange);
    font-size: 0.85rem;
}

body.lang-ar .hero-featured-tag {
    letter-spacing: 0.05em;
    text-transform: none;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
}

.hero-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 720px) {
    .hero-specs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hero-spec {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.8rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 100%;
}

.hero-spec-ico {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 127, 0, 0.14);
    border: 1px solid rgba(247, 127, 0, 0.32);
    border-radius: 8px;
    color: var(--orange);
    font-size: 0.95rem;
}

.hero-spec-txt {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.hero-spec-lbl {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
    font-family: 'Barlow Condensed', sans-serif;
}

body.lang-ar .hero-spec-lbl {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.72rem;
}

.hero-spec-txt strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.25;
}

.hero-spec-txt strong .unit {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

body.lang-ar .hero-spec-txt strong .unit {
    font-family: 'Barlow', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
    #accueil.hero-has-video .hero-video-bg {
        display: none;
    }

    #accueil.hero-has-video {
        background: linear-gradient(135deg, #111820 0%, #1b263b 50%, #0d1218 100%);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    border: 1px solid var(--orange);
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.2rem;
}

.hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1.2rem;
}

.hero-title .accent {
    color: var(--orange);
    display: block;
}

.hero-title .stroke {
    -webkit-text-stroke: 2px var(--steel);
    color: transparent;
    display: block;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 2rem;
}

body.lang-fr .hero-desc {
    border-left: 3px solid var(--orange);
    padding-left: 1rem;
}

body.lang-ar .hero-desc {
    border-right: 3px solid var(--orange);
    padding-right: 1rem;
    border-left: none;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    margin-top: 0;
}

[data-theme="light"] .hero-stats {
    background: rgba(13, 17, 23, 0.08);
    gap: 2px;
    border-radius: 4px;
    overflow: hidden;
}

.h-stat {
    background: rgba(27,38,59,0.65);
    padding: 1.2rem 1rem;
    text-align: center;
}

[data-theme="light"] .h-stat {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(13, 17, 23, 0.04);
}

.h-stat strong {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange);
    display: block;
    line-height: 1;
}

.h-stat span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    display: block;
}

.mach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.35rem;
}

.m-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.m-card:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.m-badge {
    position: absolute;
    top: 0.8rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--orange);
    color: var(--white);
    padding: 0.15rem 0.7rem;
    z-index: 1;
}

body.lang-fr .m-badge {
    left: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

body.lang-ar .m-badge {
    right: 0;
    clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%);
}

.m-badge.new {
    background: var(--teal);
}

.m-badge.promo {
    background: var(--red);
}

.m-img {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .m-img {
    background:
        radial-gradient(ellipse 95% 80% at 50% 35%, rgba(255, 255, 255, 0.95) 0%, transparent 58%),
        linear-gradient(165deg, #ffffff 0%, #eef2f7 50%, #e2e8f0 100%);
}

.m-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

[data-theme="light"] .m-img img {
    filter: drop-shadow(0 8px 18px rgba(13, 17, 23, 0.12));
}

.m-card:hover .m-img img {
    transform: scale(1.04);
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

[data-theme="light"] .m-card:hover .m-img img {
    filter: drop-shadow(0 12px 26px rgba(13, 17, 23, 0.18));
}

.m-img svg {
    width: 130px;
    height: 130px;
    opacity: 0.9;
}

@media (max-width: 480px) {
    .m-img {
        min-height: 200px;
        padding: 0.65rem 0.75rem;
    }
}

.m-body {
    padding: 1.1rem;
}

.m-type {
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.m-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

body.lang-fr .m-name {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.m-price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.m-price .price-display {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.m-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.mtag {
    font-size: 0.68rem;
    background: rgba(224,225,221,0.05);
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.5rem;
    color: var(--text-secondary);
}

[data-theme="light"] .mtag {
    background: rgba(247, 127, 0, 0.07);
    border-color: rgba(247, 127, 0, 0.2);
    color: var(--text-secondary);
}

.m-act {
    display: flex;
    gap: 0.4rem;
}

.btn-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.55rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-wa:hover {
    background: #1da851;
}

.btn-ord {
    padding: 0.55rem 0.8rem;
    background: transparent;
    border: 1px solid rgba(224,225,221,0.18);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

[data-theme="light"] .btn-ord {
    border-color: rgba(13, 17, 23, 0.15);
    color: var(--text-secondary);
}

.btn-ord:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-bar {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.f-btn {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.95rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.f-btn:hover,
.f-btn.active {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(247,127,0,0.06);
}

.pieces-lay {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

.p-side h4 {
    font-size: 0.68rem;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 0.7rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(247,127,0,0.2);
    text-transform: uppercase;
}

.p-it {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.42rem 0.7rem;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

body.lang-fr .p-it {
    border-left: 2px solid transparent;
}

body.lang-ar .p-it {
    border-right: 2px solid transparent;
}

.p-it:hover,
.p-it.active {
    color: var(--text-primary);
    background: rgba(247,127,0,0.04);
}

body.lang-fr .p-it:hover,
body.lang-fr .p-it.active {
    border-left-color: var(--orange);
}

body.lang-ar .p-it:hover,
body.lang-ar .p-it.active {
    border-right-color: var(--orange);
}

.p-it:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.pc {
    font-size: 0.72rem;
    color: var(--orange);
    background: rgba(247,127,0,0.1);
    padding: 0.1rem 0.35rem;
}

.pieces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 0.8rem;
}

.p-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.p-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
}

.p-img {
    aspect-ratio: 1 / 1;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.p-card:hover .p-img img {
    transform: scale(1.08);
}

.p-ico {
    font-size: 1.8rem;
    color: var(--orange);
}

.p-card-content {
    padding: 0 0.8rem 1rem;
}

.p-ref {
    font-size: 0.63rem;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 0.3rem;
}

.p-nm {
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.p-cm {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.pieces-main-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-side-sub {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--orange);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(247, 127, 0, 0.2);
    text-transform: uppercase;
}

.srch-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.srch-bar {
    max-width: 720px;
    margin: 0 auto 2rem;
}

.srch-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s, box-shadow 0.2s;
}

[data-theme="light"] .srch-inner {
    box-shadow: 0 4px 24px rgba(13, 17, 23, 0.06);
}

.srch-inner:focus-within {
    border-color: rgba(247, 127, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(247, 127, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.22);
}

.srch-ico {
    display: flex;
    align-items: center;
    padding: 0 0.85rem 0 1.1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0.85;
}

body.lang-ar .srch-ico {
    padding: 0 1.1rem 0 0.85rem;
}

.srch-inner input[type="search"],
.srch-inner input[type="text"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.95rem 0.5rem 0.95rem 0;
    outline: none;
}

body.lang-ar .srch-inner input {
    padding: 0.95rem 0 0.95rem 0.5rem;
}

.srch-inner input::placeholder {
    color: var(--text-secondary);
    opacity: 0.65;
}

.srch-btn {
    flex-shrink: 0;
    border: none;
    background: linear-gradient(135deg, var(--orange) 0%, #e06a00 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
}

.srch-btn:hover {
    filter: brightness(1.06);
}

.srch-btn:active {
    transform: scale(0.98);
}

.pieces-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px dashed rgba(247, 127, 0, 0.35);
    border-radius: 12px;
    min-height: 200px;
}

.pieces-empty--static {
    display: flex;
}

.pieces-empty-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(247, 127, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.pieces-empty-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.pieces-empty-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 360px;
    line-height: 1.6;
    opacity: 0.9;
}

#apropos {
    position: relative;
}

#apropos .about-g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    align-items: start;
}

.ab-h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--orange);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ab-p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
}

.mission-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mission-box:hover {
    border-color: rgba(247, 127, 0, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.mission-box h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-primary);
}

.mission-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mission-box li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

body.lang-fr .mission-box li {
    padding-left: 1.5rem;
    padding-right: 0;
}

body.lang-ar .mission-box li {
    padding-right: 1.5rem;
    padding-left: 0;
}

.mission-box li i {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--orange);
    font-size: 0.75rem;
}

body.lang-ar .mission-box li i {
    left: auto;
    right: 0;
}

.ab-vision-p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

.ab-quote {
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.08), rgba(0, 180, 160, 0.06));
    border: 1px solid rgba(247, 127, 0, 0.2);
    border-radius: 10px;
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
}

.ab-quote > i {
    color: var(--orange);
    opacity: 0.5;
    margin-right: 0.35rem;
}

.feat-g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.feat-i {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 0.95rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    transition: border-color 0.2s, transform 0.2s;
}

.feat-i:hover {
    border-color: rgba(247, 127, 0, 0.35);
    transform: translateY(-2px);
}

.feat-i i {
    color: var(--orange);
    margin-right: 0.35rem;
}

.feat-i strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.timeline {
    margin: 1.25rem 0;
    padding-left: 1rem;
    border-left: 2px solid rgba(247, 127, 0, 0.35);
}

body.lang-ar .timeline {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 2px solid rgba(247, 127, 0, 0.35);
}

.tl-i {
    position: relative;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
}

body.lang-ar .tl-i {
    padding-left: 0;
    padding-right: 0.5rem;
}

.tl-yr {
    display: inline-block;
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.tl-d {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.map-ph--embed {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
    background: var(--bg-secondary);
}

.map-ph--embed iframe {
    display: block;
    border: 0;
    width: 100%;
    vertical-align: top;
}

.map-ph-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange);
    background: var(--bg-primary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.map-ph-link:hover {
    background: rgba(247, 127, 0, 0.08);
    color: var(--orange);
}

.affil-g {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.tiers {
    display: grid;
    gap: 0.8rem;
}

.tier {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    transition: transform 0.2s;
}

body.lang-fr .tier {
    border-left: 4px solid;
}

body.lang-ar .tier {
    border-right: 4px solid;
    border-left: none;
}

.tier:hover {
    transform: translateX(5px);
}

body.lang-ar .tier:hover {
    transform: translateX(-5px);
}

.tier.bronze {
    border-color: #CD7F32 !important;
}

.tier.silver {
    border-color: #C0C0C0 !important;
}

.tier.gold {
    border-color: #FFD700 !important;
}

.tier.plat {
    border-color: var(--orange) !important;
}

.tier-nm {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.tier-pct {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--orange);
}

.tier-d {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
}

.form-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1.2rem;
}

.fg {
    margin-bottom: 0.85rem;
}

.fg label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    border-color: var(--orange);
}

.fg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.vids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.2rem;
}

.v-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.v-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.v-thumb {
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.v-bg {
    position: absolute;
    inset: 0;
}

.v-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
}

.v-card:hover .play-btn {
    transform: scale(1.12);
    background: var(--orange-dark);
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 4px;
}

.v-dur {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 0.72rem;
    background: rgba(0,0,0,0.8);
    padding: 0.1rem 0.4rem;
    color: var(--white);
}

.v-info {
    padding: 0.9rem;
}

.v-cat {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.v-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.vids-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px dashed rgba(247, 127, 0, 0.3);
    border-radius: 12px;
    min-height: 160px;
    justify-content: center;
}

.vids-empty-ico {
    font-size: 2.5rem;
    color: #ff0000;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.vids-empty-title {
    font-weight: 800;
    margin: 0 0 0.4rem;
    color: var(--text-primary);
}

.vids-empty-sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.55;
}

.yt-cta {
    margin-top: 2rem;
}

.yt-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.08), rgba(247, 127, 0, 0.06));
    border: 1px solid rgba(255, 0, 0, 0.18);
    border-radius: 14px;
    justify-content: space-between;
}

.yt-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ff0000;
    flex-shrink: 0;
}

.yt-cta-text {
    flex: 1;
    min-width: 200px;
}

.yt-cta-line {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
}

.yt-cta-hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    opacity: 0.92;
}

.btn-yt {
    clip-path: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

@media (max-width: 600px) {
    .yt-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .yt-cta-icon {
        margin: 0 auto;
    }
}

.man-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.8rem;
}

.man-i {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s;
}

.man-i:hover {
    border-color: var(--orange);
}

.man-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.man-body {
    min-width: 0;
}

.pdf-ic {
    width: 40px;
    height: 40px;
    background: rgba(247,127,0,0.1);
    border: 1px solid rgba(247,127,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.man-nm {
    font-size: 0.88rem;
    font-weight: 700;
}

.man-sz {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.man-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 0.1rem;
}

.man-open-link {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.man-open-link:hover {
    color: var(--orange);
}

.man-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: var(--orange);
    border: 1px solid var(--orange);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    white-space: nowrap;
}

.man-download-btn:hover {
    opacity: 0.92;
}

.man-empty {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.35rem 1.4rem;
    background: rgba(247, 127, 0, 0.06);
    border: 1px dashed rgba(247, 127, 0, 0.35);
    border-radius: 12px;
    cursor: default;
}

.man-empty-ico {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(247, 127, 0, 0.12);
    border: 1px solid rgba(247, 127, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--orange);
}

.man-empty-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.man-empty-sub {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
}

.cgv-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    align-items: start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .cgv-box {
    box-shadow: 0 4px 24px rgba(13, 17, 23, 0.06);
}

.cgv-box .fr,
.cgv-box .ar {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.cgv-box h3 {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    margin: 1.25rem 0 0.45rem;
}

.cgv-box h3:first-child,
.cgv-box .fr > h3:first-of-type,
.cgv-box .ar > h3:first-of-type {
    margin-top: 0.75rem;
}

.cgv-box .fr > p:first-child strong,
.cgv-box .ar > p:first-child strong {
    color: var(--text-primary);
}

.cgv-box ul {
    margin: 0.35rem 0 0.75rem;
    padding-left: 1.1rem;
}

body.lang-ar .cgv-box ul {
    padding-left: 0;
    padding-right: 1.1rem;
}

@media (max-width: 900px) {
    .cgv-box {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem;
    }
}

.testi-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 380px);
    gap: 2rem;
    align-items: start;
}

.testi-col-list {
    min-width: 0;
}

.testi-g {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.2rem;
}

.testi-empty-site {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-secondary);
}

.testi-empty-site i {
    font-size: 2rem;
    color: var(--orange);
    opacity: 0.7;
    margin-bottom: 0.75rem;
    display: block;
}

.testi-form-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testi-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(165deg, #ff9a3e 0%, var(--orange) 38%, var(--orange-dark, #d96900) 100%);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.18),
        0 10px 32px rgba(247, 127, 0, 0.42);
    clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
    position: relative;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.testi-add-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, transparent 42%);
    pointer-events: none;
    clip-path: inherit;
}

.testi-add-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.12),
        0 16px 40px rgba(247, 127, 0, 0.5);
}

.testi-add-btn:active {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.22),
        0 8px 24px rgba(247, 127, 0, 0.38);
}

.testi-add-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px var(--bg-primary),
        0 0 0 6px var(--orange),
        0 10px 32px rgba(247, 127, 0, 0.42);
}

.testi-add-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-add-btn__label {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.testi-add-btn__chev {
    flex-shrink: 0;
    font-size: 0.75rem;
    opacity: 0.9;
    transition: transform 0.25s ease;
}

.testi-add-btn:hover .testi-add-btn__chev {
    transform: translateY(2px);
}

[data-theme="light"] .testi-add-btn {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 4px 0 rgba(13, 17, 23, 0.12),
        0 10px 28px rgba(247, 127, 0, 0.32);
}

[data-theme="light"] .testi-add-btn:focus-visible {
    box-shadow:
        0 0 0 3px var(--bg-card),
        0 0 0 6px var(--orange),
        0 10px 28px rgba(247, 127, 0, 0.32);
}

.testi-add-btn[hidden] {
    display: none !important;
}

.testi-form-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.testi-form-card[hidden] {
    display: none !important;
}

.testi-form-card--open {
    animation: testiFormIn 0.35s ease forwards;
}

@keyframes testiFormIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testi-form-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.testi-form-card-top .testi-form-title {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}

.testi-form-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.testi-form-close:hover {
    color: var(--orange);
    border-color: rgba(247, 127, 0, 0.45);
    background: rgba(247, 127, 0, 0.08);
}

[data-theme="light"] .testi-form-card {
    box-shadow: 0 6px 28px rgba(13, 17, 23, 0.06);
}

.testi-form-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.testi-form-title i {
    color: var(--orange);
}

.testi-form-intro {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 1.1rem;
}

.testi-form .testi-field {
    margin-bottom: 0.9rem;
}

.testi-form label,
.testi-form .testi-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.testi-form .req {
    color: var(--orange);
}

.testi-form input[type="text"],
.testi-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}

.testi-form textarea {
    resize: vertical;
    min-height: 88px;
}

.testi-form input:focus,
.testi-form textarea:focus {
    border-color: rgba(247, 127, 0, 0.55);
}

.testi-field-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.testi-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.testi-rating {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.testi-star-btn {
    background: none;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.45;
    transition: color 0.2s, opacity 0.2s, transform 0.15s;
}

.testi-star-btn.is-active {
    color: var(--orange);
    opacity: 1;
}

.testi-star-btn:hover {
    opacity: 1;
    transform: scale(1.08);
}

.testi-form-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0 0 0.85rem;
    line-height: 1.45;
    opacity: 0.9;
}

.testi-submit {
    width: 100%;
    justify-content: center;
    clip-path: none;
    margin-top: 0.25rem;
}

.testi-form-msg {
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    min-height: 1.2em;
}

.testi-form-msg--ok {
    color: #10b981;
    font-weight: 600;
}

.testi-form-msg--err {
    color: #ef4444;
    font-weight: 600;
}

@media (max-width: 960px) {
    .testi-layout {
        grid-template-columns: 1fr;
    }
    .testi-field-split {
        grid-template-columns: 1fr;
    }
}

.t-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.6rem;
    position: relative;
}

.t-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--orange);
    opacity: 0.15;
    position: absolute;
    top: 0.4rem;
    line-height: 1;
}

body.lang-fr .t-card::before {
    right: 0.8rem;
}

body.lang-ar .t-card::before {
    left: 0.8rem;
}

.stars {
    color: var(--orange);
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.t-txt {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.t-auth {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.t-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.t-nm {
    font-weight: 800;
    font-size: 0.9rem;
}

.t-role {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

body.lang-fr .t-txt .fr {
    display: block !important;
}

body.lang-fr .t-txt .ar {
    display: none !important;
}

body.lang-ar .t-txt .fr {
    display: none !important;
}

body.lang-ar .t-txt .ar {
    display: block !important;
}

.t-txt .fr,
.t-txt .ar {
    unicode-bidi: isolate;
}

body.lang-fr .t-role .fr-inline {
    display: inline !important;
}

body.lang-fr .t-role .ar-inline {
    display: none !important;
}

body.lang-ar .t-role .fr-inline {
    display: none !important;
}

body.lang-ar .t-role .ar-inline {
    display: inline !important;
}

.nl-strip {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    padding: 2.5rem 1.5rem;
}

.nl-in {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.nl-in h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.nl-in p {
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.nl-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
}

.nl-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-family: inherit;
    outline: none;
}

.nl-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.nl-form button {
    background: var(--bg-secondary);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.3rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s;
}

.nl-form button:hover {
    background: var(--bg-primary);
}

footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--orange);
    padding: 2.5rem 1.5rem 1.2rem;
}

.foot-g {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.f-brand p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0.8rem 0;
}

.f-logo {
    font-size: 1.6rem;
    font-weight: 900;
}

.f-logo span {
    color: var(--orange);
}

.f-soc {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.soc-b {
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.68rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.soc-b:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.f-col h5 {
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 0.8rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(247,127,0,0.18);
    text-transform: uppercase;
}

.f-col ul {
    list-style: none;
}

.f-col ul li {
    margin-bottom: 0.4rem;
}

.f-col ul li a {
    font-size: 0.83rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.f-col ul li a:hover {
    color: var(--orange);
}

.f-bot {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.f-bot-copy {
    display: inline-block;
}

.wa-float {
    position: fixed;
    bottom: 1.5rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: flex-end;
}

body.lang-fr .wa-float {
    right: 1.5rem;
    align-items: flex-end;
}

body.lang-ar .wa-float {
    right: 1.5rem;
    left: auto;
    align-items: flex-end;
}

.wa-lbl {
    order: -1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.95rem;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
    white-space: nowrap;
}

body.lang-ar .wa-lbl {
    text-align: left;
}

.wa-float:hover .wa-lbl,
.wa-float:focus-within .wa-lbl {
    opacity: 1;
    transform: translateY(0);
}

.wa-btn-f {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    isolation: isolate;
    background: linear-gradient(155deg, #2fe066 0%, #25d366 42%, #1a9e52 100%);
    border: none;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 10px 28px rgba(18, 140, 126, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wa-btn-f:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.14),
        0 14px 36px rgba(18, 140, 126, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.wa-btn-f:active {
    transform: translateY(-1px);
}

.wa-btn-f:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.wa-btn-f__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.12);
}

.wa-btn-f__ico {
    font-size: 1.72rem;
    color: #fff;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.wa-btn-f__ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    z-index: 1;
    pointer-events: none;
}

.wa-pulse {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    z-index: 0;
    animation: waRipple 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes waRipple {
    0% {
        transform: scale(1);
        opacity: 0.45;
    }
    70% {
        opacity: 0;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-pulse {
        animation: none;
        opacity: 0;
    }

    .wa-btn-f:hover {
        transform: none;
    }
}

.modal-ov {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-ov.open {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--orange);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-cls {
    position: absolute;
    top: 0.9rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s;
}

body.lang-fr .modal-cls {
    right: 0.9rem;
}

body.lang-ar .modal-cls {
    left: 0.9rem;
}

.modal-cls:hover {
    color: var(--orange);
}

.modal h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.4rem;
    color: var(--orange);
}

.modal-prod {
    background: rgba(247,127,0,0.06);
    border: 1px solid rgba(247,127,0,0.2);
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
}

.modal-prod strong {
    color: var(--orange);
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    border: 1px solid var(--orange);
    border-left: 3px solid var(--orange);
    color: var(--text-primary);
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.3s;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
    .about-g {
        grid-template-columns: 1fr;
    }
    .affil-g {
        grid-template-columns: 1fr;
    }
    .pieces-lay {
        grid-template-columns: 1fr;
    }
    .foot-g {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links {
        display: none;
    }
    .burger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .foot-g {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .fg-row {
        grid-template-columns: 1fr;
    }
    .feat-g {
        grid-template-columns: 1fr;
    }
    #topbar .tb-phones a:not(:first-child) {
        display: none;
    }
    .occ-banner {
        flex-direction: column;
    }
    section {
        padding: 3rem 0;
    }
    .container {
        padding: 0 1rem;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Mobile/tablet responsiveness without affecting desktop layout */
@media (max-width: 900px) {
    #topbar {
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
        gap: 0.35rem;
        flex-wrap: nowrap;
    }

    #topbar .tb-phones .sep,
    #topbar .tb-phones a:nth-of-type(n + 2),
    #topbar .tb-right .sep {
        display: none;
    }

    .tb-phones a {
        font-size: 0.72rem;
    }

    .tb-right {
        gap: 0.45rem;
    }

    .wa-badge {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    nav {
        top: 30px;
        height: 58px;
        padding: 0 0.9rem;
    }

    .mob-menu {
        top: 88px;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }

    #accueil {
        padding-top: 6.25rem;
    }

    .hero-inner {
        padding: 1.8rem 1rem 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn-p,
    .hero-btns .btn-o {
        width: 100%;
        justify-content: center;
    }

    .sec-hd {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    #topbar {
        padding: 0.3rem 0.55rem;
    }

    .wa-badge {
        display: none;
    }

    nav {
        top: 28px;
        height: 56px;
    }

    .mob-menu {
        top: 84px;
        max-height: calc(100vh - 84px);
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 2.6rem);
    }

    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-specs {
        grid-template-columns: 1fr;
    }
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

body.lang-ar .icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

.fa-whatsapp, .fa-phone, .fa-envelope, .fa-map-marker-alt {
    margin-right: 0.25rem;
}

main.page-sub {
    padding-top: 100px;
    padding-bottom: 2rem;
}

.sec-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
    margin-bottom: 0.25rem;
}

.btn-sec-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.btn-sec-all:hover {
    background: var(--orange);
    color: var(--white);
}

@media (max-width: 768px) {
    section {
        padding: 2.8rem 0;
    }

    .container {
        padding: 0 0.85rem;
    }

    .sec-title {
        font-size: clamp(1.55rem, 7.5vw, 2.15rem);
        line-height: 1.08;
    }

    .hero-inner {
        padding: 1.5rem 0.85rem 2rem;
    }

    .hero-badge {
        margin-bottom: 0.85rem;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-stats,
    #accueil .hero-col-stats .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mach-grid,
    .testi-g,
    .man-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .m-body {
        padding: 0.95rem;
    }

    .m-name {
        font-size: 1.03rem;
    }

    .occ-banner {
        padding: 1rem;
    }

    .btn-sec-all {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 390px) {
    #topbar {
        gap: 0.2rem;
    }

    .tb-right {
        gap: 0.3rem;
    }

    .ls-btn {
        padding: 0.22rem 0.42rem;
        font-size: 0.66rem;
    }

    .theme-toggle {
        min-width: 1.9rem;
        padding: 0.2rem 0.48rem;
    }

    .hero-title {
        font-size: clamp(1.78rem, 10.6vw, 2.22rem);
    }

    .hero-desc {
        font-size: 0.88rem;
        line-height: 1.58;
    }

    .hero-stats,
    #accueil .hero-col-stats .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-spec {
        padding: 0.62rem 0.65rem;
    }
}

@media (max-width: 360px) {
    nav {
        padding: 0 0.65rem;
    }

    .nav-logo {
        font-size: 1.28rem;
        letter-spacing: 1px;
    }

    .hero-badge {
        font-size: 0.66rem;
        padding: 0.26rem 0.58rem;
    }
}

/* Final mobile fixes: top contact/header overlap + about cards + map */
@media (max-width: 900px) {
    #topbar {
        height: 34px;
        min-height: 34px;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    #topbar .tb-phones,
    #topbar .tb-right {
        min-width: 0;
    }

    #topbar .tb-phones a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    nav {
        top: 34px;
    }

    .mob-menu {
        top: 92px;
        max-height: calc(100vh - 92px);
    }
}

@media (max-width: 600px) {
    #topbar {
        height: 32px;
        min-height: 32px;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }

    nav {
        top: 32px;
        height: 54px;
    }

    .mob-menu {
        top: 86px;
        max-height: calc(100vh - 86px);
    }

    #apropos .about-g {
        gap: 1.15rem;
    }

    .mission-box {
        padding: 0.9rem 0.95rem;
        margin-bottom: 0.75rem;
    }

    .feat-g {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .feat-i {
        padding: 0.72rem 0.78rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .feat-i strong {
        margin-bottom: 0.18rem;
    }

    .timeline {
        margin: 0.85rem 0 0.2rem;
    }

    .map-ph--embed {
        margin-top: 0.75rem;
        border-radius: 9px;
    }

    .map-ph--embed iframe {
        height: 220px;
    }

    .map-ph-link {
        padding: 0.6rem 0.7rem;
        font-size: 0.74rem;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 390px) {
    .map-ph--embed iframe {
        height: 200px;
    }
}

@media (max-width: 900px) {
    .wa-float {
        right: 0.85rem !important;
        left: auto !important;
        bottom: 1rem !important;
        align-items: flex-end !important;
    }

    body.lang-ar .wa-float {
        right: 0.85rem !important;
        left: auto !important;
        align-items: flex-end !important;
    }

    .wa-lbl {
        display: none;
    }

    .wa-btn-f {
        width: 54px;
        height: 54px;
    }
}

/* Mobile structure update: keep only logo + burger in header */
@media (max-width: 900px) {
    #topbar {
        display: none;
    }

    nav {
        top: 0;
    }

    .mob-menu {
        top: 58px;
        max-height: calc(100vh - 58px);
    }

    .nav-mobile-tools {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: auto;
        margin-right: 0.35rem;
    }

    .nav-mobile-lang {
        display: inline-flex;
        border: 1px solid rgba(247, 127, 0, 0.35);
        border-radius: 6px;
        overflow: hidden;
        background: rgba(247, 127, 0, 0.06);
    }

    .nml-btn {
        border: 0;
        background: transparent;
        color: var(--text-secondary);
        font-family: 'Barlow Condensed', sans-serif;
        font-weight: 700;
        font-size: 0.72rem;
        padding: 0.24rem 0.48rem;
        cursor: pointer;
    }

    .nml-btn.active {
        background: var(--orange);
        color: #fff;
    }

    .nav-mobile-theme {
        width: 1.95rem;
        height: 1.95rem;
        border-radius: 6px;
        border: 1px solid rgba(247, 127, 0, 0.35);
        background: rgba(247, 127, 0, 0.06);
        color: var(--orange);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 0.86rem;
    }

    /* Force "À Propos" to single column on mobile */
    #apropos .about-g {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    #apropos .about-g > div {
        min-width: 0;
        width: 100%;
    }

    #apropos .feat-g {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    #apropos .feat-i {
        width: 100%;
    }
}

@media (max-width: 600px) {
    nav {
        height: 56px;
        padding: 0 0.8rem;
    }

    .mob-menu {
        top: 56px;
        max-height: calc(100vh - 56px);
    }

    .nav-mobile-tools {
        margin-right: 0.25rem;
        gap: 0.28rem;
    }

    .nml-btn {
        padding: 0.2rem 0.42rem;
        font-size: 0.68rem;
    }

    .nav-mobile-theme {
        width: 1.84rem;
        height: 1.84rem;
        font-size: 0.8rem;
    }
}

.mob-menu-contacts {
    display: none;
}

@media (max-width: 900px) {
    .mob-menu-contacts {
        display: block;
        margin-bottom: 0.7rem;
        padding-bottom: 0.55rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mob-menu-contacts-title {
        font-size: 0.74rem;
        font-weight: 700;
        color: var(--orange);
        margin: 0 0 0.35rem;
    }

    .mob-menu .mob-menu-wa {
        color: var(--green);
        font-weight: 700;
    }
}