/* ==========================================================================
   SAHAL GLOBAL SERVICES — style.css
   Source: HTML monolithique d'origine, restructuré pour projet PHP
   ========================================================================== */

:root {
    --gold: #C8922A;
    --gold-light: #E8B84B;
    --gold-pale: #F5D98A;
    --dark: #0A0C0F;
    --dark2: #111418;
    --dark3: #181D24;
    --dark4: #1F262F;
    --dark5: #252D38;
    --steel: #2C3A4A;
    --text: #D4D8DE;
    --text-light: #F0F2F5;
    --text-muted: #7A8A99;
    --red: #C0392B;
    --accent-blue: #1A6FA8;
    --green: #4ade80;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Barlow', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.5;
}

a { color: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== LOADER ===== */
#loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--dark);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem; letter-spacing: 0.2em;
    color: var(--gold); animation: pulse 1.5s infinite;
}
/* Logo loader : très grand pour qu'on lise clairement "SAHAL GLOBAL SERVICES" sous le SGS
   Fond blanc arrondi pour garantir lisibilité quel que soit le thème actif */
.loader-logo-img {
    width: min(420px, 60vw);
    max-width: 420px;
    height: auto;
    padding: 28px 36px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    animation: pulse 1.8s infinite;
}
.loader-bar { width: 280px; height: 3px; background: var(--dark4); margin-top: 32px; overflow: hidden; border-radius: 2px; }
.loader-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); animation: load 1.6s ease forwards; }
@keyframes load { to { width: 100%; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* ===== NAV ===== */
nav.main-nav {
    position: fixed; top: 0;
    left: 50%; transform: translateX(-50%);
    width: 100%; max-width: var(--nav-max-width, 100%);
    z-index: 1000; padding: 0 40px; height: 100px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(10,12,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200,146,42,0.15);
    transition: all 0.4s ease;
}
nav.main-nav.scrolled { height: 78px; border-bottom-color: rgba(200,146,42,0.35); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: var(--dark);
    flex-shrink: 0;
}
/* Logo image : agrandi pour qu'on lise bien "SAHAL GLOBAL SERVICES" sous le SGS */
.nav-logo-img {
    height: 82px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease, height 0.4s ease;
    display: block;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.03); }
nav.main-nav.scrolled .nav-logo-img { height: 62px; }
.nav-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.12em; color: var(--text-light); line-height: 1; }
.nav-logo-text span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
    padding: 8px 14px; border-radius: 3px;
    transition: all 0.25s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
    height: 1px; background: var(--gold);
    transform: scaleX(0); transition: transform 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 0;
    min-width: 220px; background: var(--dark3);
    border: 1px solid rgba(200,146,42,0.2);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 6px 6px; padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all 0.3s ease; z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.85rem; border-radius: 0; }
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(200,146,42,0.1); color: var(--gold); }

.nav-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem; letter-spacing: 0.12em;
    text-transform: uppercase; background: var(--gold);
    color: var(--dark); padding: 10px 22px;
    border: none; border-radius: 3px;
    cursor: pointer; font-weight: 700;
    transition: all 0.25s; text-decoration: none;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,146,42,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,12,15,0.98); backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    transform: translateX(100%); transition: transform 0.4s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem; letter-spacing: 0.1em;
    color: var(--text-light); text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 24px; right: 24px; background: none; border: none; font-size: 2rem; color: var(--text-muted); cursor: pointer; }

/* ===== HERO ===== */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(10,12,15,0.97) 0%, rgba(10,12,15,0.7) 50%, rgba(10,12,15,0.85) 100%),
        url('../uploads/defaults/hero-truck.jpg') center/cover no-repeat;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(200,146,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,146,42,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-line {
    position: absolute; left: 80px; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation: lineMove 4s infinite;
}
@keyframes lineMove { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

.hero-content { position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; padding: 100px 40px 0; width: 100%; }
.hero-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 24px;
    display: flex; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-tag::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem); line-height: 0.92;
    letter-spacing: 0.03em; color: var(--text-light); margin-bottom: 30px;
    opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-title .accent { color: var(--gold); display: block; }
.hero-sub {
    font-size: 1.1rem; font-weight: 300; line-height: 1.7;
    color: var(--text-muted); max-width: 520px; margin-bottom: 48px;
    opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards; }

.btn-primary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem; letter-spacing: 0.15em;
    text-transform: uppercase; font-weight: 700;
    background: var(--gold); color: var(--dark);
    padding: 16px 36px; border: none; border-radius: 3px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,146,42,0.4); }
.btn-primary[disabled], .btn-primary.is-loading { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem; letter-spacing: 0.15em;
    text-transform: uppercase; font-weight: 600;
    background: transparent; color: var(--text-light);
    padding: 15px 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 3px;
    cursor: pointer; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats { position: absolute; bottom: 60px; right: 60px; display: flex; gap: 50px; opacity: 0; animation: fadeUp 0.8s ease 1.3s forwards; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; letter-spacing: 0.05em; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: fadeUp 0.8s ease 1.5s forwards; text-decoration: none; }
.hero-scroll-text { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-muted); }
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Hero alternatif pour pages internes */
.hero-page {
    height: auto; min-height: 50vh;
    padding: 160px 0 80px; align-items: flex-start;
}
.hero-page .hero-content { padding-top: 0; }
.hero-page .hero-title { font-size: clamp(2.8rem, 6vw, 5rem); }

/* ===== TICKER ===== */
.ticker { background: var(--gold); color: var(--dark); padding: 10px 0; overflow: hidden; position: relative; }
.ticker-inner { display: flex; gap: 60px; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dark); opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTIONS COMMON ===== */
section { position: relative; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

.section-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.35em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.04em; line-height: 1;
    color: var(--text-light); margin-bottom: 20px;
}
.section-desc { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--text-muted); max-width: 560px; }

/* ===== ABOUT ===== */
.about { padding: 120px 0; background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img {
    width: 100%; aspect-ratio: 4/3;
    background: url('../uploads/defaults/about-team.jpg') center/cover;
    border-radius: 4px; position: relative;
}
.about-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,146,42,0.15), transparent); border-radius: 4px; }
.about-visual { position: relative; }
.about-badge { position: absolute; bottom: -30px; right: -30px; width: 140px; height: 140px; background: var(--gold); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--dark); }
.about-badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; line-height: 1; }
.about-badge-text { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.about-highlight { font-size: 1.15rem; font-weight: 500; line-height: 1.7; color: var(--text-light); margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--gold); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.about-feature {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; background: var(--dark3); border-radius: 4px;
    border: 1px solid rgba(200,146,42,0.1);
    transition: border-color 0.3s;
}
.about-feature:hover { border-color: rgba(200,146,42,0.4); }
.about-feature-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: rgba(200,146,42,0.15); border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.about-feature-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 2px; }
.about-feature-text { font-size: 0.8rem; color: var(--text-muted); }

/* ===== SERVICES ===== */
.services { padding: 120px 0; background: var(--dark); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; gap: 40px; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
    position: relative; overflow: hidden;
    background: var(--dark3); padding: 48px 36px;
    border: 1px solid rgba(255,255,255,0.04);
    cursor: pointer; transition: all 0.4s ease;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s ease; }
.service-card:hover { background: var(--dark4); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-number { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; line-height: 1; color: rgba(200,146,42,0.12); position: absolute; top: 20px; right: 30px; pointer-events: none; transition: color 0.4s; }
.service-card:hover .service-number { color: rgba(200,146,42,0.25); }
.service-icon { font-size: 2.2rem; margin-bottom: 24px; display: block; }
.service-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 16px; text-transform: uppercase; }
.service-desc { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 24px; }
.service-link { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.service-link:hover { gap: 14px; }

/* ===== FLEET ===== */
.fleet { padding: 120px 0; background: var(--dark2); }
.fleet-tabs { display: flex; gap: 4px; margin-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.fleet-tab {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem; letter-spacing: 0.1em;
    text-transform: uppercase; font-weight: 600;
    color: var(--text-muted); background: none;
    border: none; padding: 14px 28px; cursor: pointer;
    transition: all 0.3s; border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.fleet-tab.active, .fleet-tab:hover { color: var(--gold); border-bottom-color: var(--gold); }
.fleet-panel { display: none; }
.fleet-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fleet-img { width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; position: relative; }
.fleet-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.fleet-img:hover img { transform: scale(1.04); }
.fleet-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,12,15,0.7) 0%, transparent 60%); }
.fleet-name { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 12px; }
.fleet-tag-badge {
    display: inline-block;
    background: rgba(200,146,42,0.15);
    border: 1px solid rgba(200,146,42,0.3);
    color: var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem; letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 12px; border-radius: 2px;
    margin-bottom: 20px;
}
.fleet-tag-badge.blue { background: rgba(26,111,168,0.15); border-color: rgba(26,111,168,0.4); color: #5BB5E8; }
.fleet-desc { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 30px; }
.fleet-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fleet-spec { background: var(--dark3); padding: 16px; border-radius: 4px; border-top: 2px solid var(--gold); }
.fleet-spec-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.fleet-spec-key { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* ===== OPERATIONS / MAP ===== */
.operations { padding: 120px 0; background: var(--dark); }
.ops-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.ops-map {
    position: relative; background: var(--dark3);
    border: 1px solid rgba(200,146,42,0.15);
    border-radius: 4px; overflow: hidden;
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
}
.ops-map svg { width: 100%; height: 100%; opacity: 0.6; }
.ops-map-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 35% 50%, rgba(200,146,42,0.1) 0%, transparent 70%); }
.map-point {
    position: absolute; width: 12px; height: 12px;
    background: var(--gold); border-radius: 50%;
    border: 2px solid var(--dark);
    box-shadow: 0 0 0 0 rgba(200,146,42,0.5);
    animation: ping 2s infinite;
}
.map-point::after {
    content: attr(data-label);
    position: absolute; top: -25px; left: 50%; transform: translateX(-50%);
    font-size: 0.65rem; font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold-pale); white-space: nowrap;
}
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(200,146,42,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(200,146,42,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,146,42,0); }
}
.ops-routes { margin-top: 36px; }
.ops-route { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: padding-left 0.3s; }
.ops-route:hover { padding-left: 8px; }
.ops-route-dot { width: 8px; height: 8px; flex-shrink: 0; background: var(--gold); border-radius: 50%; }
.ops-route-name { font-weight: 500; color: var(--text-light); font-size: 0.95rem; }
.ops-route-dist { margin-left: auto; font-family: 'Barlow Condensed', sans-serif; color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ===== HSE ===== */
.hse { padding: 120px 0; background: var(--dark2); }
.hse-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 60px; }
.hse-card { background: var(--dark3); padding: 40px 32px; text-align: center; transition: background 0.3s; position: relative; overflow: hidden; }
.hse-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s ease; }
.hse-card:hover { background: var(--dark4); }
.hse-card:hover::after { transform: scaleX(1); }
.hse-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.hse-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.hse-text { font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }

/* ===== STATS ===== */
.stats-band {
    padding: 80px 0;
    background: linear-gradient(135deg, #0E1419 0%, var(--dark3) 50%, #0E1419 100%);
    border-top: 1px solid rgba(200,146,42,0.1);
    border-bottom: 1px solid rgba(200,146,42,0.1);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; line-height: 1; color: var(--gold); letter-spacing: 0.05em; }
.stat-unit { font-size: 1.5rem; }
.stat-label { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ===== ACTUALITES ===== */
.news { padding: 120px 0; background: var(--dark); }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; flex-wrap: wrap; gap: 20px; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (max-width: 640px)  { .news-grid { grid-template-columns: 1fr; gap: 24px; } }
.news-card {
    background: var(--dark3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px; overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.4s;
    text-decoration: none; color: inherit; display: block;
}
.news-card:hover { transform: translateY(-12px) scale(1.02); border-color: rgba(200,146,42,0.3); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(200,146,42,0.15); }
.news-card-img { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; }
.news-card-cat {
    position: absolute; top: 16px; left: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    background: var(--gold); color: var(--dark);
    padding: 4px 10px; border-radius: 2px; font-weight: 700;
}
.news-card-body { padding: 24px; }
.news-card-date { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.news-card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1.3; color: var(--text-light); margin-bottom: 12px; }
.news-card-excerpt { font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }
.news-card:first-child .news-card-title { font-size: 1.5rem; }
.news-card:first-child .news-card-img { aspect-ratio: 16/10; }
.news-empty { grid-column: 1 / -1; text-align: center; padding: 60px 30px; border: 1px dashed var(--dark5); border-radius: 8px; color: var(--text-muted); }

/* ===== ARTICLE DETAIL ===== */
.article { padding: 140px 0 100px; background: var(--dark); }
.article-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.article-cat { background: var(--gold); color: var(--dark); padding: 4px 12px; border-radius: 2px; font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }
.article-date { color: var(--text-muted); font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: 0.02em; color: var(--text-light); margin-bottom: 30px; }
.article-cover { width: 100%; aspect-ratio: 16/8; background-size: cover; background-position: center; border-radius: 4px; margin-bottom: 40px; }
.article-content { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-content p { margin-bottom: 1.4em; }

/* ===== CERTIFICATIONS ===== */
.certs { padding: 80px 0; background: var(--dark3); }
.certs-title { text-align: center; font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 48px; }
.certs-row { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
.cert-badge { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.5; transition: opacity 0.3s; }
.cert-badge:hover { opacity: 1; }
.cert-icon { width: 64px; height: 64px; background: rgba(200,146,42,0.1); border: 1px solid rgba(200,146,42,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.cert-name { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact { padding: 120px 0; background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.contact-item-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(200,146,42,0.1); border: 1px solid rgba(200,146,42,0.2); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-item-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-item-val { font-size: 0.95rem; color: var(--text-light); }

.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }

/* ===== FORMS ===== */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
    background: var(--dark4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 3px; color: var(--text-light);
    font-family: 'Barlow', sans-serif; font-size: 0.95rem;
    padding: 12px 16px; outline: none;
    transition: border-color 0.3s; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--dark3); }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 6px; }

.alert {
    padding: 14px 20px; border-radius: 4px;
    font-size: 0.9rem; margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(74, 222, 128, 0.12); border-left: 3px solid var(--green); color: var(--green); }
.alert-error   { background: rgba(192, 57, 43, 0.15);  border-left: 3px solid var(--red);   color: #ff6f5d; }
.alert-info    { background: rgba(26, 111, 168, 0.15); border-left: 3px solid var(--accent-blue); color: #5BB5E8; }

/* ===== FOOTER ===== */
footer { background: var(--dark); border-top: 1px solid rgba(200,146,42,0.15); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; letter-spacing: 0.1em;
    color: var(--text-light); margin-bottom: 16px;
    text-decoration: none;
    display: flex; align-items: center; gap: 12px;
}
.footer-logo-img {
    width: 90px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    background: #FFFFFF;
    padding: 8px 10px;
    border-radius: 6px;
}
.footer-logo-text { display: inline-block; }
.footer-logo-text span { color: var(--gold); }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: var(--dark3); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 3px; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 0.9rem;
    text-decoration: none; transition: all 0.3s;
}
.footer-social a:hover { background: rgba(200,146,42,0.15); border-color: var(--gold); color: var(--gold); }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-links a:hover { color: var(--text-light); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

/* ===== TOAST ===== */
.toast {
    position: fixed; top: 90px; right: 20px;
    background: var(--dark2);
    border-left: 3px solid var(--gold);
    color: var(--text-light); padding: 14px 22px;
    border-radius: 4px; z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    font-size: 0.9rem; max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== JOBS ===== */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job-card {
    background: var(--dark3); padding: 32px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px; transition: all 0.3s;
    text-decoration: none; color: inherit; display: block;
}
.job-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.job-tag { background: rgba(200,146,42,0.1); color: var(--gold); padding: 3px 10px; border-radius: 2px; font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.job-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text-light); margin-bottom: 10px; text-transform: uppercase; }
.job-dept { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.job-desc { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; }

/* ===== PARTNERS ===== */
.partners { padding: 100px 0; background: var(--dark2); }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.partner-card {
    background: var(--dark3); padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px; text-align: center;
    transition: border-color 0.3s;
}
.partner-card:hover { border-color: var(--gold); }
.partner-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 10px; }
.partner-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.testimonial { background: var(--dark3); padding: 30px; border-radius: 4px; border-top: 2px solid var(--gold); }
.testimonial-quote { font-size: 0.95rem; line-height: 1.8; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--text-light); letter-spacing: 0.05em; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ===== LEGAL / TEXT PAGES ===== */
.legal-page { padding: 140px 0 80px; background: var(--dark); }
.legal-page h2 { font-family: 'Bebas Neue', sans-serif; color: var(--gold); margin: 36px 0 16px; font-size: 1.6rem; letter-spacing: 0.05em; }
.legal-page p, .legal-page li { color: var(--text); line-height: 1.8; margin-bottom: 12px; max-width: 800px; }
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid, .ops-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card:first-child { grid-column: 1/-1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hse-grid { grid-template-columns: 1fr 1fr; }
    .fleet-panel.active { grid-template-columns: 1fr; }
    .about-badge { right: -10px; bottom: -10px; width: 110px; height: 110px; }
    .jobs-grid, .partners-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-stats { position: static; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
    .services-grid, .news-grid { grid-template-columns: 1fr; }
    .hse-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-content { padding: 100px 24px 0; }
    .container { padding: 0 24px; }
    .contact-form .form-grid { grid-template-columns: 1fr; }
    nav.main-nav { padding: 0 20px; height: 78px; }
    nav.main-nav.scrolled { height: 64px; }
    .nav-logo-img { height: 60px; }
    nav.main-nav.scrolled .nav-logo-img { height: 50px; }
    .about-badge { width: 90px; height: 90px; right: 0; bottom: -15px; }
    .jobs-grid, .partners-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .fleet-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   ÉQUIPE DIRIGEANTE (thème par défaut dark/gold)
   ========================================================================== */
.executives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.executive-card {
    background: var(--dark3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.executive-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,146,42,0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.executive-photo {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--dark4), var(--dark5));
    position: relative;
    overflow: hidden;
}
.executive-photo img { width: 100%; height: 100%; object-fit: cover; }
.executive-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem; letter-spacing: 0.05em;
    color: rgba(200,146,42,0.40);
}
.executive-body {
    padding: 22px 24px 26px;
    border-top: 3px solid var(--gold);
}
.executive-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.25rem; font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.executive-role {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 600;
}
.executive-bio {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.executive-links { display: flex; gap: 8px; }
.executive-links a {
    width: 32px; height: 32px;
    background: rgba(200,146,42,0.10);
    border: 1px solid rgba(200,146,42,0.30);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}
.executive-links a:hover { background: var(--gold); color: var(--dark); }

@media (max-width: 1024px) { .executives-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .executives-grid { grid-template-columns: 1fr; } }


/* ==========================================================================
   ===== THÈME INDUSTRIEL (bleu marine / gris / orange, fond clair) ========
   Activé via <body class="theme-industrial"> — sinon thème dark/gold par défaut
   ========================================================================== */

body.theme-industrial {
    --gold:       #E67E22;
    --gold-light: #F39C12;
    --gold-pale:  #FAD7A0;
    --dark:   #F4F6F8;
    --dark2:  #FFFFFF;
    --dark3:  #FFFFFF;
    --dark4:  #ECEFF3;
    --dark5:  #DDE3EA;
    --steel:  #1B3A5C;
    --text:        #2C3E50;
    --text-light:  #1B3A5C;
    --text-muted:  #6B7B8C;
    --accent-blue: #2980B9;
    --green:       #27AE60;
}

/* Scrollbar */
body.theme-industrial::-webkit-scrollbar-track { background: #ECEFF3; }

/* Loader */
body.theme-industrial #loader { background: var(--steel); }
body.theme-industrial .loader-logo { color: var(--gold); }
body.theme-industrial .loader-bar  { background: rgba(255,255,255,0.15); }

/* Nav */
body.theme-industrial nav.main-nav {
    background: rgba(255,255,255,0.96);
    border-bottom-color: rgba(230,126,34,0.15);
    box-shadow: 0 2px 12px rgba(27,58,92,0.06);
}
body.theme-industrial nav.main-nav.scrolled { border-bottom-color: rgba(230,126,34,0.35); }
body.theme-industrial .nav-logo-text { color: var(--steel); }
body.theme-industrial .nav-logo-text span { color: var(--gold); }
body.theme-industrial .nav-links a { color: var(--text); }
body.theme-industrial .nav-links a:hover,
body.theme-industrial .nav-links a.active { color: var(--steel); }
body.theme-industrial .nav-links a::after,
body.theme-industrial nav.main-nav.scrolled { border-bottom-color: rgba(230,126,34,0.35); }
body.theme-industrial .nav-cta { color: #FFFFFF; background: var(--gold); }
body.theme-industrial .nav-cta:hover { background: var(--gold-light); color: #FFFFFF; box-shadow: 0 4px 16px rgba(230,126,34,0.35); }
body.theme-industrial .hamburger span { background: var(--steel); }

/* Dropdown */
body.theme-industrial .nav-dropdown-menu {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.10);
    border-top: 2px solid var(--gold);
    box-shadow: 0 20px 40px rgba(27,58,92,0.15);
}
body.theme-industrial .nav-dropdown-menu a { color: var(--text); }
body.theme-industrial .nav-dropdown-menu a:hover {
    background: rgba(230,126,34,0.08);
    color: var(--gold);
}

/* Mobile nav */
body.theme-industrial .mobile-nav { background: rgba(27,58,92,0.98); }
body.theme-industrial .mobile-nav a { color: #FFFFFF; }
body.theme-industrial .mobile-nav a:hover { color: var(--gold); }
body.theme-industrial .mobile-close { color: rgba(255,255,255,0.7); }

/* HERO : photo sombre + voile bleu marine */
body.theme-industrial .hero-bg {
    background:
        linear-gradient(135deg, rgba(27,58,92,0.92) 0%, rgba(27,58,92,0.65) 50%, rgba(27,58,92,0.85) 100%),
        url('../uploads/defaults/hero-truck.jpg') center/cover no-repeat;
}
body.theme-industrial .hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}
body.theme-industrial .hero-tag { color: var(--gold); }
body.theme-industrial .hero-tag::before { background: var(--gold); }
body.theme-industrial .hero-title { color: #FFFFFF; }
body.theme-industrial .hero-title .accent { color: var(--gold); }
body.theme-industrial .hero-sub { color: rgba(255,255,255,0.85); }
body.theme-industrial .hero-stat-num { color: var(--gold); }
body.theme-industrial .hero-stat-label { color: rgba(255,255,255,0.7); }
body.theme-industrial .hero-scroll-text { color: rgba(255,255,255,0.7); }

/* Boutons */
body.theme-industrial .btn-primary {
    background: var(--gold);
    color: #FFFFFF;
}
body.theme-industrial .btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 24px rgba(230,126,34,0.40);
}
/* Bouton secondaire dans le hero (fond sombre) */
body.theme-industrial .hero .btn-secondary,
body.theme-industrial .hero-page .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.30);
}
body.theme-industrial .hero .btn-secondary:hover,
body.theme-industrial .hero-page .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}
/* Bouton secondaire sur fond clair (autres pages) */
body.theme-industrial .btn-secondary {
    color: var(--steel);
    border-color: var(--steel);
}
body.theme-industrial .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
body.theme-industrial .about,
body.theme-industrial .news,
body.theme-industrial .partners { background: var(--dark2); }
body.theme-industrial .services,
body.theme-industrial .operations,
body.theme-industrial .legal-page { background: var(--dark); }
body.theme-industrial .fleet,
body.theme-industrial .hse { background: #ECEFF3; }
body.theme-industrial .stats-band {
    background: var(--steel);
    border-top: 1px solid rgba(27,58,92,0.15);
    border-bottom: 1px solid rgba(27,58,92,0.15);
}
body.theme-industrial .stats-band .stat-val { color: var(--gold); }
body.theme-industrial .stats-band .stat-label { color: rgba(255,255,255,0.85); }

/* Section title / tag */
body.theme-industrial .section-title { color: var(--steel); }
body.theme-industrial .section-tag,
body.theme-industrial .section-tag::before { color: var(--gold); }
body.theme-industrial .section-tag::before { background: var(--gold); }
body.theme-industrial .section-desc { color: var(--text-muted); }

/* About */
body.theme-industrial .about-highlight { color: var(--steel); }
body.theme-industrial .about-img::after {
    background: linear-gradient(135deg, rgba(230,126,34,0.20), transparent);
}
body.theme-industrial .about-feature {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.12);
    box-shadow: 0 2px 8px rgba(27,58,92,0.04);
}
body.theme-industrial .about-feature:hover { border-color: var(--gold); }
body.theme-industrial .about-feature-icon { background: rgba(230,126,34,0.12); }
body.theme-industrial .about-feature-label { color: var(--steel); }
body.theme-industrial .about-badge { box-shadow: 0 8px 30px rgba(230,126,34,0.30); }
body.theme-industrial .about-badge-num,
body.theme-industrial .about-badge-text { color: #FFFFFF; }

/* Services */
body.theme-industrial .service-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.08);
    box-shadow: 0 4px 16px rgba(27,58,92,0.04);
}
body.theme-industrial .service-card:hover {
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(27,58,92,0.10);
}
body.theme-industrial .service-name { color: var(--steel); }

/* Fleet */
body.theme-industrial .fleet-tabs { border-bottom-color: rgba(27,58,92,0.15); }
body.theme-industrial .fleet-tab { color: var(--text-muted); }
body.theme-industrial .fleet-tab.active,
body.theme-industrial .fleet-tab:hover { color: var(--gold); border-bottom-color: var(--gold); }
body.theme-industrial .fleet-name { color: var(--steel); }
body.theme-industrial .fleet-tag-badge {
    background: rgba(230,126,34,0.12);
    border-color: rgba(230,126,34,0.30);
    color: var(--gold);
}
body.theme-industrial .fleet-tag-badge.blue {
    background: rgba(41,128,185,0.12);
    border-color: rgba(41,128,185,0.30);
    color: var(--accent-blue);
}
body.theme-industrial .fleet-spec {
    background: #FFFFFF;
    border-top: 2px solid var(--gold);
    box-shadow: 0 2px 8px rgba(27,58,92,0.05);
}
body.theme-industrial .fleet-img-overlay {
    background: linear-gradient(to top, rgba(27,58,92,0.5) 0%, transparent 60%);
}

/* Operations */
body.theme-industrial .ops-map {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.15);
    box-shadow: 0 4px 16px rgba(27,58,92,0.06);
}
body.theme-industrial .ops-map-overlay {
    background: radial-gradient(ellipse at 35% 50%, rgba(230,126,34,0.10) 0%, transparent 70%);
}
body.theme-industrial .ops-route { border-bottom-color: rgba(27,58,92,0.10); }
body.theme-industrial .ops-route-name { color: var(--steel); }

/* HSE */
body.theme-industrial .hse-card {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(27,58,92,0.05);
}
body.theme-industrial .hse-card:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,58,92,0.10);
}
body.theme-industrial .hse-title { color: var(--steel); }

/* News */
body.theme-industrial .news-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.08);
    box-shadow: 0 4px 16px rgba(27,58,92,0.04);
}
body.theme-industrial .news-card:hover {
    border-color: rgba(230,126,34,0.40);
    box-shadow: 0 20px 40px rgba(27,58,92,0.10), 0 0 24px rgba(230,126,34,0.10);
}
body.theme-industrial .news-card-title { color: var(--steel); }
body.theme-industrial .news-empty { border-color: rgba(27,58,92,0.20); color: var(--text-muted); }

/* Article */
body.theme-industrial .article-title { color: var(--steel); }
body.theme-industrial .article-content { color: var(--text); }

/* Certifications */
body.theme-industrial .certs { background: #ECEFF3; }
body.theme-industrial .cert-icon {
    background: rgba(230,126,34,0.10);
    border-color: rgba(230,126,34,0.25);
}

/* Contact */
body.theme-industrial .contact-item { border-bottom-color: rgba(27,58,92,0.10); }
body.theme-industrial .contact-item-icon {
    background: rgba(230,126,34,0.10);
    border-color: rgba(230,126,34,0.30);
}
body.theme-industrial .contact-item-val { color: var(--steel); }

/* Forms */
body.theme-industrial .form-input,
body.theme-industrial .form-select,
body.theme-industrial .form-textarea {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.18);
    color: var(--steel);
}
body.theme-industrial .form-input:focus,
body.theme-industrial .form-select:focus,
body.theme-industrial .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
}
body.theme-industrial .form-select option { background: #FFFFFF; color: var(--steel); }

body.theme-industrial .alert-success { background: rgba(39,174,96,0.10);  border-left-color: var(--green);  color: #1E7E45; }
body.theme-industrial .alert-error   { background: rgba(192,57,43,0.10);  border-left-color: var(--red);    color: #922A1F; }
body.theme-industrial .alert-info    { background: rgba(41,128,185,0.10); border-left-color: var(--accent-blue); color: #1F618D; }

/* Ticker */
body.theme-industrial .ticker { background: var(--gold); color: var(--steel); }
body.theme-industrial .ticker-dot { background: var(--steel); }

/* Toast */
body.theme-industrial .toast {
    background: #FFFFFF;
    color: var(--steel);
    box-shadow: 0 12px 40px rgba(27,58,92,0.18);
    border: 1px solid rgba(27,58,92,0.10);
    border-left: 3px solid var(--gold);
}

/* Footer */
body.theme-industrial footer {
    background: var(--steel);
    border-top: 4px solid var(--gold);
    color: rgba(255,255,255,0.85);
}
body.theme-industrial .footer-logo { color: #FFFFFF; }
body.theme-industrial .footer-logo span { color: var(--gold); }
body.theme-industrial .footer-tagline { color: rgba(255,255,255,0.70); }
body.theme-industrial .footer-social a {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.80);
}
body.theme-industrial .footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--steel); }
body.theme-industrial .footer-col-title { color: #FFFFFF; }
body.theme-industrial .footer-links a { color: rgba(255,255,255,0.70); }
body.theme-industrial .footer-links a::before { color: var(--gold); }
body.theme-industrial .footer-links a:hover { color: var(--gold); }
body.theme-industrial .footer-grid { border-bottom-color: rgba(255,255,255,0.10); }
body.theme-industrial .footer-copy { color: rgba(255,255,255,0.55); }
body.theme-industrial .footer-legal a { color: rgba(255,255,255,0.65); }
body.theme-industrial .footer-legal a:hover { color: var(--gold); }

/* Jobs */
body.theme-industrial .job-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,58,92,0.08);
    box-shadow: 0 2px 8px rgba(27,58,92,0.04);
}
body.theme-industrial .job-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(27,58,92,0.10);
}
body.theme-industrial .job-title { color: var(--steel); }
body.theme-industrial .job-tag { background: rgba(230,126,34,0.12); color: var(--gold); }

/* Partners / Testimonials */
body.theme-industrial .partner-card,
body.theme-industrial .testimonial {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(27,58,92,0.05);
}
body.theme-industrial .partner-card { border: 1px solid rgba(27,58,92,0.08); }
body.theme-industrial .partner-card:hover { border-color: var(--gold); }
body.theme-industrial .partner-name { color: var(--steel); }
body.theme-industrial .testimonial { border-top: 2px solid var(--gold); }
body.theme-industrial .testimonial-author { color: var(--steel); }

/* Legal pages */
body.theme-industrial .legal-page h2 { color: var(--steel); }
body.theme-industrial .legal-page p,
body.theme-industrial .legal-page li { color: var(--text); }

/* Map ping */
body.theme-industrial .map-point { box-shadow: 0 0 0 0 rgba(230,126,34,0.5); }
body.theme-industrial .map-point::after { color: var(--gold); }

/* Executives override */
body.theme-industrial .executive-card {
    background: #FFFFFF;
    border-color: rgba(27,58,92,0.08);
    box-shadow: 0 2px 12px rgba(27,58,92,0.05);
}
body.theme-industrial .executive-card:hover {
    border-color: rgba(230,126,34,0.40);
    box-shadow: 0 12px 30px rgba(27,58,92,0.12);
}
body.theme-industrial .executive-photo {
    background: linear-gradient(135deg, var(--steel), #2C3E50);
}
body.theme-industrial .executive-photo-placeholder { color: rgba(255,255,255,0.85); }
body.theme-industrial .executive-name { color: var(--steel); }
body.theme-industrial .executive-links a {
    background: rgba(230,126,34,0.10);
    border-color: rgba(230,126,34,0.30);
    color: var(--gold);
}
body.theme-industrial .executive-links a:hover { background: var(--gold); color: #FFFFFF; }

/* ==========================================================================
   HERO MÉDIA VIDÉO (vague 1)
   ========================================================================== */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,12,15, var(--hero-overlay-alpha, 0.85)) 0%,
        rgba(10,12,15, calc(var(--hero-overlay-alpha, 0.85) * 0.75)) 50%,
        rgba(10,12,15, var(--hero-overlay-alpha, 0.85)) 100%
    );
    z-index: 1;
}
/* En thème industriel, l'overlay vidéo passe en bleu marine */
body.theme-industrial .hero-bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(27,58,92, var(--hero-overlay-alpha, 0.92)) 0%,
        rgba(27,58,92, calc(var(--hero-overlay-alpha, 0.92) * 0.70)) 50%,
        rgba(27,58,92, var(--hero-overlay-alpha, 0.92)) 100%
    );
}
.hero-content { position: relative; z-index: 2; }
.hero-grid    { z-index: 1; }
.hero-line    { z-index: 1; }
.hero-stats   { z-index: 2; }
.hero-scroll  { z-index: 2; }

/* ==========================================================================
   ===== THÈME CRUDE (vert pétrole / cuivre / noir profond) ===============
   Activé via <body class="theme-crude">
   Évoque l'or noir, le brut, le pétrole en mouvement.
   Vert pétrole = baril, cuves d'hydrocarbures, eau de mer
   Cuivre/ambre = pétrole brut qui coule
   ========================================================================== */

body.theme-crude {
    --gold:       #B87333;   /* cuivre / ambre — accents */
    --gold-light: #D89B5C;   /* cuivre clair (hover) */
    --gold-pale:  #E8C4A0;   /* cuivre pâle (badges) */
    --dark:       #0F1614;   /* noir profond légèrement teinté vert */
    --dark2:      #142220;   /* vert pétrole très sombre */
    --dark3:      #1A2E2A;   /* surfaces (cards, nav) */
    --dark4:      #234037;   /* bordures / surfaces secondaires */
    --dark5:      #2E5249;   /* surfaces hautes */
    --steel:      #0D4F4A;   /* vert pétrole signature */
    --text:        #C8D4D0;
    --text-light:  #E8F0EC;
    --text-muted:  #7A8E89;
    --accent-blue: #2E8B82;  /* teal complémentaire */
    --green:       #4ade80;
}

/* Scrollbar */
body.theme-crude::-webkit-scrollbar-track { background: var(--dark2); }
body.theme-crude::-webkit-scrollbar-thumb { background: var(--gold); }

/* Loader */
body.theme-crude #loader { background: var(--dark); }
body.theme-crude .loader-logo { color: var(--gold); }
body.theme-crude .loader-bar  { background: var(--dark4); }
body.theme-crude .loader-fill { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

/* Nav */
body.theme-crude nav.main-nav {
    background: rgba(15,22,20,0.92);
    border-bottom-color: rgba(184,115,51,0.20);
    backdrop-filter: blur(20px);
}
body.theme-crude nav.main-nav.scrolled { border-bottom-color: rgba(184,115,51,0.40); }
body.theme-crude .nav-logo-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
}
body.theme-crude .nav-logo-text { color: var(--text-light); }
body.theme-crude .nav-logo-text span { color: var(--gold); }
body.theme-crude .nav-links a { color: var(--text-muted); }
body.theme-crude .nav-links a:hover,
body.theme-crude .nav-links a.active { color: var(--text-light); }
body.theme-crude .nav-links a::after { background: var(--gold); }
body.theme-crude .nav-cta {
    background: var(--gold);
    color: var(--dark);
}
body.theme-crude .nav-cta:hover {
    background: var(--gold-light);
    box-shadow: 0 4px 20px rgba(184,115,51,0.40);
}
body.theme-crude .hamburger span { background: var(--text); }

/* Dropdown */
body.theme-crude .nav-dropdown-menu {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.20);
    border-top: 2px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
body.theme-crude .nav-dropdown-menu a { color: var(--text); }
body.theme-crude .nav-dropdown-menu a:hover {
    background: rgba(184,115,51,0.10);
    color: var(--gold);
}

/* Mobile nav */
body.theme-crude .mobile-nav { background: rgba(15,22,20,0.98); }
body.theme-crude .mobile-nav a { color: var(--text-light); }
body.theme-crude .mobile-nav a:hover { color: var(--gold); }
body.theme-crude .mobile-close { color: var(--text-muted); }

/* HERO : photo sombre + voile vert pétrole */
body.theme-crude .hero-bg {
    background:
        linear-gradient(135deg, rgba(13,79,74,0.92) 0%, rgba(15,22,20,0.85) 50%, rgba(13,79,74,0.90) 100%),
        url('../uploads/defaults/hero-truck.jpg') center/cover no-repeat;
}
body.theme-crude .hero-grid {
    background-image:
        linear-gradient(rgba(184,115,51,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,115,51,0.06) 1px, transparent 1px);
}
body.theme-crude .hero-tag { color: var(--gold); }
body.theme-crude .hero-tag::before { background: var(--gold); }
body.theme-crude .hero-title { color: var(--text-light); }
body.theme-crude .hero-title .accent { color: var(--gold); }
body.theme-crude .hero-sub { color: rgba(232,240,236,0.85); }
body.theme-crude .hero-stat-num { color: var(--gold); }
body.theme-crude .hero-stat-label { color: rgba(232,240,236,0.70); }
body.theme-crude .hero-scroll-text { color: rgba(232,240,236,0.70); }

/* Boutons */
body.theme-crude .btn-primary {
    background: var(--gold);
    color: var(--dark);
}
body.theme-crude .btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 24px rgba(184,115,51,0.45);
}
body.theme-crude .hero .btn-secondary,
body.theme-crude .hero-page .btn-secondary {
    color: var(--text-light);
    border-color: rgba(232,240,236,0.30);
}
body.theme-crude .hero .btn-secondary:hover,
body.theme-crude .hero-page .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}
body.theme-crude .btn-secondary {
    color: var(--text-light);
    border-color: var(--steel);
}
body.theme-crude .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
body.theme-crude .about,
body.theme-crude .news,
body.theme-crude .partners { background: var(--dark2); }
body.theme-crude .services,
body.theme-crude .operations,
body.theme-crude .legal-page { background: var(--dark); }
body.theme-crude .fleet,
body.theme-crude .hse { background: var(--dark2); }
body.theme-crude .stats-band {
    background: var(--steel);
    border-top: 1px solid rgba(184,115,51,0.20);
    border-bottom: 1px solid rgba(184,115,51,0.20);
}
body.theme-crude .stats-band .stat-val { color: var(--gold-light); }
body.theme-crude .stats-band .stat-label { color: rgba(232,240,236,0.85); }

/* Section title / tag */
body.theme-crude .section-title { color: var(--text-light); }
body.theme-crude .section-tag { color: var(--gold); }
body.theme-crude .section-tag::before { background: var(--gold); }
body.theme-crude .section-desc { color: var(--text-muted); }

/* About */
body.theme-crude .about-highlight { color: var(--text-light); }
body.theme-crude .about-img::after {
    background: linear-gradient(135deg, rgba(184,115,51,0.25), transparent);
}
body.theme-crude .about-feature {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.12);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
body.theme-crude .about-feature:hover { border-color: var(--gold); }
body.theme-crude .about-feature-icon { background: rgba(184,115,51,0.15); }
body.theme-crude .about-feature-label { color: var(--text-light); }
body.theme-crude .about-feature-text { color: var(--text-muted); }
body.theme-crude .about-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 8px 30px rgba(184,115,51,0.40);
}
body.theme-crude .about-badge-num,
body.theme-crude .about-badge-text { color: var(--dark); }

/* Services */
body.theme-crude .service-card {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.10);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
body.theme-crude .service-card:hover {
    background: var(--dark4);
    border-color: rgba(184,115,51,0.35);
    box-shadow: 0 12px 30px rgba(13,79,74,0.30);
}
body.theme-crude .service-number { color: var(--gold); }
body.theme-crude .service-name { color: var(--text-light); }
body.theme-crude .service-desc { color: var(--text-muted); }

/* Fleet */
body.theme-crude .fleet-tabs { border-bottom-color: rgba(184,115,51,0.20); }
body.theme-crude .fleet-tab { color: var(--text-muted); }
body.theme-crude .fleet-tab.active,
body.theme-crude .fleet-tab:hover { color: var(--gold); border-bottom-color: var(--gold); }
body.theme-crude .fleet-name { color: var(--text-light); }
body.theme-crude .fleet-tag-badge {
    background: rgba(184,115,51,0.15);
    border-color: rgba(184,115,51,0.35);
    color: var(--gold);
}
body.theme-crude .fleet-tag-badge.blue {
    background: rgba(46,139,130,0.15);
    border-color: rgba(46,139,130,0.35);
    color: var(--accent-blue);
}
body.theme-crude .fleet-spec {
    background: var(--dark3);
    border-top: 2px solid var(--gold);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
body.theme-crude .fleet-spec-val { color: var(--gold-light); }
body.theme-crude .fleet-spec-label { color: var(--text-muted); }
body.theme-crude .fleet-img-overlay {
    background: linear-gradient(to top, rgba(15,22,20,0.7) 0%, transparent 60%);
}

/* Operations */
body.theme-crude .ops-map {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.20);
    box-shadow: 0 4px 16px rgba(0,0,0,0.30);
}
body.theme-crude .ops-map-overlay {
    background: radial-gradient(ellipse at 35% 50%, rgba(184,115,51,0.15) 0%, transparent 70%);
}
body.theme-crude .ops-route { border-bottom-color: rgba(184,115,51,0.12); }
body.theme-crude .ops-route-name { color: var(--text-light); }
body.theme-crude .ops-route-info { color: var(--text-muted); }

/* HSE */
body.theme-crude .hse-card {
    background: var(--dark3);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
body.theme-crude .hse-card:hover {
    background: var(--dark4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,79,74,0.35);
}
body.theme-crude .hse-title { color: var(--text-light); }
body.theme-crude .hse-text { color: var(--text-muted); }

/* News */
body.theme-crude .news-card {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.10);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
body.theme-crude .news-card:hover {
    border-color: rgba(184,115,51,0.40);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 24px rgba(184,115,51,0.12);
}
body.theme-crude .news-card-title { color: var(--text-light); }
body.theme-crude .news-card-excerpt { color: var(--text-muted); }
body.theme-crude .news-card-meta { color: var(--gold); }
body.theme-crude .news-empty { border-color: rgba(184,115,51,0.25); color: var(--text-muted); }

/* Article */
body.theme-crude .article-title { color: var(--text-light); }
body.theme-crude .article-content { color: var(--text); }
body.theme-crude .article-meta { color: var(--gold); }

/* Certifications */
body.theme-crude .certs { background: var(--dark2); }
body.theme-crude .cert-icon {
    background: rgba(184,115,51,0.12);
    border-color: rgba(184,115,51,0.30);
}
body.theme-crude .cert-name { color: var(--text-light); }

/* Contact */
body.theme-crude .contact-item { border-bottom-color: rgba(184,115,51,0.12); }
body.theme-crude .contact-item-icon {
    background: rgba(184,115,51,0.12);
    border-color: rgba(184,115,51,0.35);
}
body.theme-crude .contact-item-label { color: var(--text-muted); }
body.theme-crude .contact-item-val { color: var(--text-light); }

/* Forms */
body.theme-crude .form-input,
body.theme-crude .form-select,
body.theme-crude .form-textarea {
    background: var(--dark2);
    border: 1px solid rgba(184,115,51,0.20);
    color: var(--text-light);
}
body.theme-crude .form-input:focus,
body.theme-crude .form-select:focus,
body.theme-crude .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,115,51,0.15);
}
body.theme-crude .form-select option { background: var(--dark3); color: var(--text-light); }
body.theme-crude .form-label { color: var(--text); }

body.theme-crude .alert-success { background: rgba(74,222,128,0.10);  border-left-color: var(--green);  color: #6ee19a; }
body.theme-crude .alert-error   { background: rgba(192,57,43,0.10);   border-left-color: var(--red);    color: #ff8a7a; }
body.theme-crude .alert-info    { background: rgba(46,139,130,0.10);  border-left-color: var(--accent-blue); color: #5fb3a8; }

/* Ticker */
body.theme-crude .ticker { background: var(--gold); color: var(--dark); }
body.theme-crude .ticker-dot { background: var(--dark); }

/* Toast */
body.theme-crude .toast {
    background: var(--dark3);
    color: var(--text-light);
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
    border: 1px solid rgba(184,115,51,0.20);
    border-left: 3px solid var(--gold);
}

/* Footer */
body.theme-crude footer {
    background: var(--dark2);
    border-top: 4px solid var(--gold);
    color: rgba(232,240,236,0.80);
}
body.theme-crude .footer-logo { color: var(--text-light); }
body.theme-crude .footer-logo span { color: var(--gold); }
body.theme-crude .footer-tagline { color: rgba(232,240,236,0.65); }
body.theme-crude .footer-social a {
    background: rgba(184,115,51,0.08);
    border: 1px solid rgba(184,115,51,0.20);
    color: rgba(232,240,236,0.80);
}
body.theme-crude .footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
body.theme-crude .footer-col-title { color: var(--text-light); }
body.theme-crude .footer-links a { color: rgba(232,240,236,0.65); }
body.theme-crude .footer-links a::before { color: var(--gold); }
body.theme-crude .footer-links a:hover { color: var(--gold); }
body.theme-crude .footer-grid { border-bottom-color: rgba(184,115,51,0.15); }
body.theme-crude .footer-copy { color: rgba(232,240,236,0.50); }
body.theme-crude .footer-legal a { color: rgba(232,240,236,0.60); }
body.theme-crude .footer-legal a:hover { color: var(--gold); }

/* Jobs */
body.theme-crude .job-card {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.10);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
body.theme-crude .job-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(13,79,74,0.30);
}
body.theme-crude .job-title { color: var(--text-light); }
body.theme-crude .job-tag { background: rgba(184,115,51,0.15); color: var(--gold); }

/* Partners / Testimonials */
body.theme-crude .partner-card,
body.theme-crude .testimonial {
    background: var(--dark3);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
body.theme-crude .partner-card { border: 1px solid rgba(184,115,51,0.10); }
body.theme-crude .partner-card:hover { border-color: var(--gold); }
body.theme-crude .partner-name { color: var(--text-light); }
body.theme-crude .testimonial { border-top: 2px solid var(--gold); }
body.theme-crude .testimonial-quote { color: var(--text); }
body.theme-crude .testimonial-author { color: var(--text-light); }
body.theme-crude .testimonial-role { color: var(--gold); }

/* Legal pages */
body.theme-crude .legal-page h2 { color: var(--text-light); }
body.theme-crude .legal-page p,
body.theme-crude .legal-page li { color: var(--text); }

/* Map ping */
body.theme-crude .map-point { box-shadow: 0 0 0 0 rgba(184,115,51,0.6); }
body.theme-crude .map-point::after { color: var(--gold); }

/* Executives override */
body.theme-crude .executive-card {
    background: var(--dark3);
    border: 1px solid rgba(184,115,51,0.10);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
body.theme-crude .executive-card:hover {
    border-color: rgba(184,115,51,0.40);
    box-shadow: 0 12px 30px rgba(13,79,74,0.30);
}
body.theme-crude .executive-photo {
    background: linear-gradient(135deg, var(--steel), var(--dark5));
}
body.theme-crude .executive-photo-placeholder { color: rgba(232,240,236,0.90); }
body.theme-crude .executive-name { color: var(--text-light); }
body.theme-crude .executive-role { color: var(--gold); }
body.theme-crude .executive-bio { color: var(--text-muted); }
body.theme-crude .executive-links a {
    background: rgba(184,115,51,0.12);
    border-color: rgba(184,115,51,0.30);
    color: var(--gold);
}
body.theme-crude .executive-links a:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Hero média overlay (vidéo) — version crude */
body.theme-crude .hero-bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(13,79,74, var(--hero-overlay-alpha, 0.90)) 0%,
        rgba(15,22,20, calc(var(--hero-overlay-alpha, 0.90) * 0.80)) 50%,
        rgba(13,79,74, var(--hero-overlay-alpha, 0.90)) 100%
    );
}

/* ==========================================================================
   ===== THÈME SAHAL PRO (couleurs du logo SGS) ============================
   Activé via <body class="theme-sahal">
   Identité visuelle SAHAL GLOBAL SERVICES :
     - Bleu royal = couleur principale (sérieux corporate, navigation, titres)
     - Rouge     = CTA critiques (devis, urgence)
     - Vert      = succès, environnement, statuts OK
     - Blanc     = fond, clarté
   Stratégie : chaque couleur a un RÔLE SÉMANTIQUE (pas décoratif).
   ========================================================================== */

body.theme-sahal {
    /* Bleu royal = identité de marque */
    --gold:        #1B4FA0;       /* (renommage interne : "gold" = couleur accent principale) */
    --gold-light:  #2563B3;
    --gold-pale:   #E8F0FC;

    /* Couleurs secondaires sémantiques */
    --red:         #C62828;       /* CTA critique, alertes */
    --red-light:   #E53935;
    --green:       #1E8E3E;       /* succès, environnement */
    --green-light: #34A853;

    /* Surfaces (fond clair, look pro) */
    --dark:        #F5F7FA;       /* fond principal */
    --dark2:       #FFFFFF;       /* sections claires */
    --dark3:       #FFFFFF;       /* cards */
    --dark4:       #EEF2F7;       /* surfaces alternées */
    --dark5:       #DDE5F0;       /* bordures fortes */
    --steel:       #0F2D5C;       /* bleu marine profond (footer, accents sombres) */

    /* Texte */
    --text:         #2C3E50;
    --text-light:   #0F2D5C;
    --text-muted:   #6B7B8C;

    --accent-blue: #1B4FA0;
}

/* Scrollbar */
body.theme-sahal::-webkit-scrollbar-track { background: var(--dark4); }
body.theme-sahal::-webkit-scrollbar-thumb { background: var(--gold); }

/* Loader */
body.theme-sahal #loader { background: #FFFFFF; }
body.theme-sahal .loader-logo { color: var(--gold); }
body.theme-sahal .loader-bar  { background: var(--dark4); }
body.theme-sahal .loader-fill { background: linear-gradient(90deg, var(--gold), var(--green)); }

/* Nav */
body.theme-sahal nav.main-nav {
    background: rgba(255,255,255,0.97);
    border-bottom-color: rgba(27,79,160,0.12);
    box-shadow: 0 2px 12px rgba(15,45,92,0.06);
}
body.theme-sahal nav.main-nav.scrolled { border-bottom-color: rgba(27,79,160,0.30); }
body.theme-sahal .nav-logo-icon {
    background: linear-gradient(135deg, var(--gold), var(--steel));
    color: #FFFFFF;
}
body.theme-sahal .nav-logo-text { color: var(--steel); }
body.theme-sahal .nav-logo-text span { color: var(--gold); }
body.theme-sahal .nav-links a { color: var(--text); }
body.theme-sahal .nav-links a:hover,
body.theme-sahal .nav-links a.active { color: var(--gold); }
body.theme-sahal .nav-links a::after { background: var(--gold); }
/* Le CTA "Devis" en rouge = sémantique : action critique */
body.theme-sahal .nav-cta {
    background: var(--red);
    color: #FFFFFF;
}
body.theme-sahal .nav-cta:hover {
    background: var(--red-light);
    box-shadow: 0 4px 16px rgba(198,40,40,0.35);
}
body.theme-sahal .hamburger span { background: var(--steel); }

/* Dropdown */
body.theme-sahal .nav-dropdown-menu {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.10);
    border-top: 3px solid var(--gold);
    box-shadow: 0 20px 40px rgba(15,45,92,0.15);
}
body.theme-sahal .nav-dropdown-menu a { color: var(--text); }
body.theme-sahal .nav-dropdown-menu a:hover {
    background: var(--gold-pale);
    color: var(--gold);
}

/* Mobile nav */
body.theme-sahal .mobile-nav { background: rgba(15,45,92,0.98); }
body.theme-sahal .mobile-nav a { color: #FFFFFF; }
body.theme-sahal .mobile-nav a:hover { color: var(--green-light); }
body.theme-sahal .mobile-close { color: rgba(255,255,255,0.7); }

/* HERO : voile bleu royal sur image */
body.theme-sahal .hero-bg {
    background:
        linear-gradient(135deg, rgba(15,45,92,0.92) 0%, rgba(27,79,160,0.78) 50%, rgba(15,45,92,0.88) 100%),
        url('../uploads/defaults/hero-truck.jpg') center/cover no-repeat;
}
body.theme-sahal .hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
}
body.theme-sahal .hero-tag { color: #FFFFFF; }
/* Tag "—" coloré en vert pour rappel logo */
body.theme-sahal .hero-tag::before { background: var(--green-light); }
body.theme-sahal .hero-title { color: #FFFFFF; }
body.theme-sahal .hero-title .accent { color: #FFFFFF; position: relative; }
/* Accent souligné en rouge - rappel logo */
body.theme-sahal .hero-title .accent::after {
    content: '';
    position: absolute; left: 0; bottom: -6px;
    width: 60px; height: 4px;
    background: var(--red);
    border-radius: 2px;
}
body.theme-sahal .hero-sub { color: rgba(255,255,255,0.88); }
body.theme-sahal .hero-stat-num { color: #FFFFFF; }
body.theme-sahal .hero-stat-label { color: rgba(255,255,255,0.75); }
body.theme-sahal .hero-scroll-text { color: rgba(255,255,255,0.75); }

/* Boutons */
body.theme-sahal .btn-primary {
    background: var(--red);
    color: #FFFFFF;
}
body.theme-sahal .btn-primary:hover {
    background: var(--red-light);
    box-shadow: 0 8px 24px rgba(198,40,40,0.40);
}
/* Bouton secondaire dans hero (fond sombre) */
body.theme-sahal .hero .btn-secondary,
body.theme-sahal .hero-page .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.40);
}
body.theme-sahal .hero .btn-secondary:hover,
body.theme-sahal .hero-page .btn-secondary:hover {
    border-color: #FFFFFF;
    color: var(--gold);
    background: #FFFFFF;
}
/* Bouton secondaire sur fond clair */
body.theme-sahal .btn-secondary {
    color: var(--gold);
    border-color: var(--gold);
}
body.theme-sahal .btn-secondary:hover {
    border-color: var(--gold);
    color: #FFFFFF;
    background: var(--gold);
}

/* Sections */
body.theme-sahal .about,
body.theme-sahal .news,
body.theme-sahal .partners { background: var(--dark2); }
body.theme-sahal .services,
body.theme-sahal .operations,
body.theme-sahal .legal-page { background: var(--dark); }
body.theme-sahal .fleet,
body.theme-sahal .hse { background: var(--dark4); }
/* Stats band en bleu royal */
body.theme-sahal .stats-band {
    background: linear-gradient(135deg, var(--steel) 0%, var(--gold) 100%);
    border-top: 1px solid rgba(27,79,160,0.15);
    border-bottom: 1px solid rgba(27,79,160,0.15);
}
body.theme-sahal .stats-band .stat-val { color: #FFFFFF; }
body.theme-sahal .stats-band .stat-label { color: rgba(255,255,255,0.85); }

/* Section title / tag */
body.theme-sahal .section-title { color: var(--steel); }
/* Tags en bleu, le tiret en vert (rappel logo) */
body.theme-sahal .section-tag { color: var(--gold); }
body.theme-sahal .section-tag::before { background: var(--green); }
body.theme-sahal .section-desc { color: var(--text-muted); }

/* About */
body.theme-sahal .about-highlight { color: var(--steel); }
body.theme-sahal .about-img::after {
    background: linear-gradient(135deg, rgba(27,79,160,0.20), transparent);
}
body.theme-sahal .about-feature {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.12);
    box-shadow: 0 2px 8px rgba(15,45,92,0.05);
}
body.theme-sahal .about-feature:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(15,45,92,0.10);
}
body.theme-sahal .about-feature-icon {
    background: var(--gold-pale);
    color: var(--gold);
}
body.theme-sahal .about-feature-label { color: var(--steel); }
body.theme-sahal .about-feature-text { color: var(--text-muted); }
/* Badge en rouge (rappel logo, attire l'œil) */
body.theme-sahal .about-badge {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    box-shadow: 0 8px 30px rgba(198,40,40,0.40);
}
body.theme-sahal .about-badge-num,
body.theme-sahal .about-badge-text { color: #FFFFFF; }

/* Services */
body.theme-sahal .service-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.10);
    box-shadow: 0 4px 16px rgba(15,45,92,0.05);
}
body.theme-sahal .service-card:hover {
    background: #FFFFFF;
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(15,45,92,0.12);
    transform: translateY(-3px);
}
body.theme-sahal .service-number { color: var(--gold); }
body.theme-sahal .service-name { color: var(--steel); }
body.theme-sahal .service-desc { color: var(--text-muted); }

/* Fleet */
body.theme-sahal .fleet-tabs { border-bottom-color: rgba(27,79,160,0.20); }
body.theme-sahal .fleet-tab { color: var(--text-muted); }
body.theme-sahal .fleet-tab.active,
body.theme-sahal .fleet-tab:hover { color: var(--gold); border-bottom-color: var(--gold); }
body.theme-sahal .fleet-name { color: var(--steel); }
/* Badge "Actif" en vert = OK / opérationnel */
body.theme-sahal .fleet-tag-badge {
    background: rgba(30,142,62,0.12);
    border-color: rgba(30,142,62,0.40);
    color: var(--green);
}
/* Badge "Bientôt" en bleu = info */
body.theme-sahal .fleet-tag-badge.blue {
    background: rgba(27,79,160,0.12);
    border-color: rgba(27,79,160,0.40);
    color: var(--gold);
}
body.theme-sahal .fleet-spec {
    background: #FFFFFF;
    border-top: 2px solid var(--gold);
    box-shadow: 0 2px 8px rgba(15,45,92,0.05);
}
body.theme-sahal .fleet-spec-val { color: var(--gold); }
body.theme-sahal .fleet-spec-label { color: var(--text-muted); }
body.theme-sahal .fleet-img-overlay {
    background: linear-gradient(to top, rgba(15,45,92,0.5) 0%, transparent 60%);
}

/* Operations */
body.theme-sahal .ops-map {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.15);
    box-shadow: 0 4px 16px rgba(15,45,92,0.06);
}
body.theme-sahal .ops-map-overlay {
    background: radial-gradient(ellipse at 35% 50%, rgba(27,79,160,0.10) 0%, transparent 70%);
}
body.theme-sahal .ops-route { border-bottom-color: rgba(27,79,160,0.10); }
body.theme-sahal .ops-route-name { color: var(--steel); }
body.theme-sahal .ops-route-info { color: var(--text-muted); }

/* HSE — point culminant : icônes vertes (environnement/sécurité = vert) */
body.theme-sahal .hse-card {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(15,45,92,0.05);
    border-top: 3px solid var(--green);
}
body.theme-sahal .hse-card:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,142,62,0.15);
}
body.theme-sahal .hse-title { color: var(--steel); }
body.theme-sahal .hse-text { color: var(--text-muted); }

/* News */
body.theme-sahal .news-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.10);
    box-shadow: 0 4px 16px rgba(15,45,92,0.05);
}
body.theme-sahal .news-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(15,45,92,0.12), 0 0 24px rgba(27,79,160,0.08);
}
body.theme-sahal .news-card-title { color: var(--steel); }
body.theme-sahal .news-card-excerpt { color: var(--text-muted); }
body.theme-sahal .news-card-meta { color: var(--gold); }
body.theme-sahal .news-empty { border-color: rgba(27,79,160,0.20); color: var(--text-muted); }

/* Article */
body.theme-sahal .article-title { color: var(--steel); }
body.theme-sahal .article-content { color: var(--text); }
body.theme-sahal .article-meta { color: var(--gold); }

/* Certifications — en vert (= validation, accréditation) */
body.theme-sahal .certs { background: var(--dark4); }
body.theme-sahal .cert-icon {
    background: rgba(30,142,62,0.10);
    border-color: rgba(30,142,62,0.30);
    color: var(--green);
}
body.theme-sahal .cert-name { color: var(--steel); }

/* Contact */
body.theme-sahal .contact-item { border-bottom-color: rgba(27,79,160,0.10); }
body.theme-sahal .contact-item-icon {
    background: var(--gold-pale);
    border-color: rgba(27,79,160,0.30);
    color: var(--gold);
}
body.theme-sahal .contact-item-label { color: var(--text-muted); }
body.theme-sahal .contact-item-val { color: var(--steel); }

/* Forms */
body.theme-sahal .form-input,
body.theme-sahal .form-select,
body.theme-sahal .form-textarea {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.20);
    color: var(--steel);
}
body.theme-sahal .form-input:focus,
body.theme-sahal .form-select:focus,
body.theme-sahal .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(27,79,160,0.12);
}
body.theme-sahal .form-select option { background: #FFFFFF; color: var(--steel); }
body.theme-sahal .form-label { color: var(--text); }

/* Alertes en couleurs sémantiques (rouge/vert/bleu = rappel logo + sens) */
body.theme-sahal .alert-success {
    background: rgba(30,142,62,0.10);
    border-left-color: var(--green);
    color: #1B7A36;
}
body.theme-sahal .alert-error {
    background: rgba(198,40,40,0.10);
    border-left-color: var(--red);
    color: #922A1F;
}
body.theme-sahal .alert-info {
    background: rgba(27,79,160,0.10);
    border-left-color: var(--gold);
    color: #154280;
}

/* Ticker — bandeau bleu royal */
body.theme-sahal .ticker {
    background: var(--gold);
    color: #FFFFFF;
}
body.theme-sahal .ticker-dot { background: #FFFFFF; }

/* Toast */
body.theme-sahal .toast {
    background: #FFFFFF;
    color: var(--steel);
    box-shadow: 0 12px 40px rgba(15,45,92,0.18);
    border: 1px solid rgba(27,79,160,0.10);
    border-left: 3px solid var(--gold);
}

/* Footer — bleu marine profond, accents tricolores */
body.theme-sahal footer {
    background: var(--steel);
    border-top: 4px solid var(--gold);
    color: rgba(255,255,255,0.85);
    position: relative;
}
/* Ligne tricolore au-dessus du footer = rappel logo */
body.theme-sahal footer::before {
    content: '';
    position: absolute;
    top: -4px; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right,
        var(--red) 0%, var(--red) 33%,
        var(--green) 33%, var(--green) 66%,
        var(--gold) 66%, var(--gold) 100%);
}
body.theme-sahal .footer-logo { color: #FFFFFF; }
body.theme-sahal .footer-logo-text { color: #FFFFFF; }
body.theme-sahal .footer-logo-text span { color: var(--green-light); }
body.theme-sahal .footer-logo span { color: var(--green-light); }
body.theme-sahal .footer-tagline { color: rgba(255,255,255,0.75); }
body.theme-sahal .footer-social a {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    color: #FFFFFF;
}
body.theme-sahal .footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #FFFFFF;
}
body.theme-sahal .footer-col-title { color: #FFFFFF; }
body.theme-sahal .footer-links a { color: rgba(255,255,255,0.75); }
body.theme-sahal .footer-links a::before { color: var(--green-light); }
body.theme-sahal .footer-links a:hover { color: #FFFFFF; }
body.theme-sahal .footer-grid { border-bottom-color: rgba(255,255,255,0.12); }
body.theme-sahal .footer-copy { color: rgba(255,255,255,0.60); }
body.theme-sahal .footer-legal a { color: rgba(255,255,255,0.70); }
body.theme-sahal .footer-legal a:hover { color: var(--green-light); }

/* Jobs */
body.theme-sahal .job-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.10);
    box-shadow: 0 2px 8px rgba(15,45,92,0.05);
    border-left: 3px solid var(--gold);
}
body.theme-sahal .job-card:hover {
    border-left-color: var(--red);
    box-shadow: 0 8px 24px rgba(15,45,92,0.12);
}
body.theme-sahal .job-title { color: var(--steel); }
body.theme-sahal .job-tag { background: var(--gold-pale); color: var(--gold); }

/* Partners / Testimonials */
body.theme-sahal .partner-card,
body.theme-sahal .testimonial {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(15,45,92,0.05);
}
body.theme-sahal .partner-card { border: 1px solid rgba(27,79,160,0.10); }
body.theme-sahal .partner-card:hover { border-color: var(--gold); }
body.theme-sahal .partner-name { color: var(--steel); }
body.theme-sahal .testimonial { border-top: 3px solid var(--green); }
body.theme-sahal .testimonial-quote { color: var(--text); }
body.theme-sahal .testimonial-author { color: var(--steel); }
body.theme-sahal .testimonial-role { color: var(--gold); }

/* Legal pages */
body.theme-sahal .legal-page h2 { color: var(--steel); }
body.theme-sahal .legal-page p,
body.theme-sahal .legal-page li { color: var(--text); }

/* Map ping en rouge (= localisation, point d'intérêt) */
body.theme-sahal .map-point { box-shadow: 0 0 0 0 rgba(198,40,40,0.6); }
body.theme-sahal .map-point::after { color: var(--red); }

/* Executives */
body.theme-sahal .executive-card {
    background: #FFFFFF;
    border: 1px solid rgba(27,79,160,0.10);
    box-shadow: 0 2px 12px rgba(15,45,92,0.05);
}
body.theme-sahal .executive-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(15,45,92,0.12);
}
body.theme-sahal .executive-photo {
    background: linear-gradient(135deg, var(--gold), var(--steel));
}
body.theme-sahal .executive-photo-placeholder { color: rgba(255,255,255,0.95); }
body.theme-sahal .executive-name { color: var(--steel); }
body.theme-sahal .executive-role { color: var(--gold); }
body.theme-sahal .executive-bio { color: var(--text-muted); }
body.theme-sahal .executive-links a {
    background: var(--gold-pale);
    border-color: rgba(27,79,160,0.30);
    color: var(--gold);
}
body.theme-sahal .executive-links a:hover {
    background: var(--gold);
    color: #FFFFFF;
}

/* Hero média overlay (vidéo) — voile bleu royal */
body.theme-sahal .hero-bg-overlay {
    background: linear-gradient(
        135deg,
        rgba(15,45,92, var(--hero-overlay-alpha, 0.92)) 0%,
        rgba(27,79,160, calc(var(--hero-overlay-alpha, 0.92) * 0.78)) 50%,
        rgba(15,45,92, var(--hero-overlay-alpha, 0.92)) 100%
    );
}

/* ==========================================================================
   ===== CARROUSEL ACTUALITÉS + BADGE VIDÉO =================================
   ========================================================================== */

/* ===== Badge ▶ sur la vignette ===== */
.news-card-img { position: relative; }
.news-card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    padding-left: 6px; /* compense l'asymétrie du triangle ▶ */
    z-index: 2;
}
.news-card:hover .news-card-play {
    background: var(--gold);
    color: var(--dark);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: var(--gold-light);
}

/* ===== Carrousel ===== */
.news-carousel {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 4px;
}
.news-carousel-viewport {
    overflow: hidden;
    /* Petit fondu sur les bords pour signifier "ça défile" */
    mask-image: linear-gradient(to right,
        transparent 0,
        #000 60px,
        #000 calc(100% - 60px),
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0,
        #000 60px,
        #000 calc(100% - 60px),
        transparent 100%);
}
.news-carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: news-carousel-scroll 40s linear infinite;
    will-change: transform;
}
.news-carousel:hover .news-carousel-track,
.news-carousel.is-paused .news-carousel-track {
    animation-play-state: paused;
}
@keyframes news-carousel-scroll {
    from { transform: translateX(0); }
    /* On défile sur la moitié car le contenu est dupliqué */
    to   { transform: translateX(-50%); }
}
.news-card-carousel,
.news-carousel-track > .news-card {
    flex: 0 0 360px;
    width: 360px;
    /* Reset des règles de la grille classique */
    margin: 0;
}

/* ===== Flèches de navigation ===== */
.news-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.30);
    transition: all 0.25s ease;
    z-index: 5;
    font-weight: 400;
    padding: 0 0 4px 0;
}
.news-carousel-prev { left: 14px; }
.news-carousel-next { right: 14px; }
.news-carousel-arrow:hover {
    background: var(--gold-light);
    transform: translateY(-50%) scale(1.1);
}

/* ===== Bouton pause ===== */
.news-carousel-pause {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 5;
    backdrop-filter: blur(4px);
}
.news-carousel-pause:hover {
    background: rgba(0,0,0,0.75);
    transform: scale(1.1);
}
.news-carousel-pause[data-paused="true"]::after {
    content: '▶';
    margin-left: 2px;
}
.news-carousel-pause[data-paused="false"]::after { content: '⏸'; }
.news-carousel-pause::after { /* le contenu HTML est juste un fallback */ }
.news-carousel-pause:empty::after { /* idem */ }

/* Responsive carrousel */
@media (max-width: 768px) {
    .news-card-carousel,
    .news-carousel-track > .news-card { flex: 0 0 280px; width: 280px; }
    .news-carousel-arrow { width: 40px; height: 40px; font-size: 1.6rem; }
    .news-carousel-prev { left: 6px; }
    .news-carousel-next { right: 6px; }
    .news-carousel-viewport {
        mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
    }
}

/* Accessibilité : pas d'auto-scroll si l'utilisateur n'en veut pas */
@media (prefers-reduced-motion: reduce) {
    .news-carousel-track { animation: none; }
}

/* ==========================================================================
   ===== PAGE NEWS — refonte =================================================
   ========================================================================== */

/* Hero compact (moins de vide) */
.hero-page-compact { min-height: 480px !important; height: auto !important; padding-bottom: 50px; }

/* Mini stats dans le hero */
.news-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.news-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-hero-stat-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 0.02em;
}
.news-hero-stat-val-sm { font-size: 1.4rem; padding-top: 8px; }
.news-hero-stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

/* Barre de filtres */
.news-filter-bar {
    background: var(--dark2);
    border-bottom: 1px solid rgba(200,146,42,0.15);
    padding: 18px 0;
    position: sticky;
    top: 100px;
    z-index: 50;
    backdrop-filter: blur(10px);
}
.news-filter-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.news-filter-label {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}
.news-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.news-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(200,146,42,0.08);
    border: 1px solid rgba(200,146,42,0.20);
    border-radius: 24px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 500;
    /* Reset button styles (chips peuvent être <button> ou <a>) */
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    line-height: 1.4;
    outline: none;
}
.news-chip:focus-visible {
    box-shadow: 0 0 0 3px rgba(200,146,42,0.30);
}
.news-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.news-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.news-chip-count {
    background: rgba(255,255,255,0.15);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
}
.news-chip.active .news-chip-count { background: rgba(0,0,0,0.18); }

/* Article vedette (à la une) */
.news-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--dark3);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 50px;
    border: 1px solid rgba(200,146,42,0.12);
    transition: all 0.4s ease;
    min-height: 380px;
}
.news-featured:hover {
    border-color: rgba(200,146,42,0.40);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(-3px);
}
.news-featured-img {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 320px;
}
.news-featured-cat {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    text-transform: uppercase;
}
.news-featured-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--red, #C0392B);
    color: #FFFFFF;
    padding: 8px 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.news-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.news-featured-author { color: var(--text-muted); }
.news-featured-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 16px;
}
.news-featured-excerpt {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.news-featured-cta {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    transition: transform 0.3s ease;
}
.news-featured:hover .news-featured-cta {
    transform: translateX(6px);
    display: inline-block;
}

/* Séparateur de section */
.news-section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 64px 0 40px;
}
.news-section-divider::before,
.news-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(200,146,42,0.20);
}
.news-section-divider span {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.20em;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 0 8px;
}

/* Grille dense */
.news-grid-dense {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 60px;
    flex-wrap: wrap;
}
.news-page-num, .news-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 14px;
    background: rgba(200,146,42,0.06);
    border: 1px solid rgba(200,146,42,0.18);
    color: var(--text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.news-page-num:hover, .news-page-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.news-page-num.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.news-page-info {
    text-align: center;
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 900px) {
    .news-featured { grid-template-columns: 1fr; min-height: auto; }
    .news-featured-img { min-height: 260px; }
    .news-featured-body { padding: 30px 24px; }
    .news-filter-bar { top: 78px; }
}
@media (max-width: 600px) {
    .news-hero-stats { gap: 28px; }
    .news-hero-stat-val { font-size: 1.8rem; }
    .news-featured-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Article video embed (YouTube/Vimeo) */
.article-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
    background: #000;
    box-shadow: 0 12px 40px rgba(0,0,0,0.30);
}
.article-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.article-video-hint {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(0,0,0,0.75);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease 4s; /* disparaît 4s après chargement */
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.15);
}
.article-video:hover .article-video-hint { opacity: 0; transition-delay: 0s; }

/* ==========================================================================
   ===== ZONE "À LA UNE" + RESTRUCTURATION NEWS ============================
   ========================================================================== */

/* Conteneur plus large pour la section actualités */
.news-container-wide {
    max-width: 1480px;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==================== ZONE À LA UNE ==================== */
.news-featured-zone { margin-bottom: 60px; }

.news-featured-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(200,146,42,0.20);
}
.news-featured-star {
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(200,146,42,0.4));
}
.news-featured-title-zone {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--text-light);
}
.news-featured-count {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-left: auto;
    background: rgba(200,146,42,0.08);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid rgba(200,146,42,0.20);
}

/* Ligne d'articles vedette (1 ou 2) */
.news-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.news-featured-row.single { grid-template-columns: 1fr; }

/* Carte vedette format large */
.news-featured-card {
    display: grid;
    grid-template-columns: 5fr 6fr;
    background: var(--dark3);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(200,146,42,0.12);
    transition: all 0.4s ease;
    min-height: 280px;
}
.news-featured-card:hover {
    border-color: rgba(200,146,42,0.40);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transform: translateY(-3px);
}
.news-featured-card-img {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 240px;
}
.news-featured-card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--red, #C0392B);
    color: #FFFFFF;
    padding: 6px 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.news-featured-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.news-featured-author { color: var(--text-muted); }
.news-featured-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin-bottom: 10px;
}
.news-featured-card-excerpt {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-featured-card-cta {
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--gold);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    transition: transform 0.3s ease;
}
.news-featured-card:hover .news-featured-card-cta {
    transform: translateX(6px);
    display: inline-block;
}

/* ==================== MINI-CARROUSEL À LA UNE (3+ articles, 2 visibles) ==================== */
.news-featured-carousel {
    position: relative;
    overflow: hidden;
}
.news-featured-carousel-viewport {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}
.news-featured-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.news-featured-carousel .news-featured-card {
    /* 2 cartes visibles à la fois, avec le gap déduit */
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
}
.news-fcar-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.30);
    transition: all 0.25s ease;
    z-index: 5;
    padding: 0 0 4px 0;
}
.news-fcar-prev { left: 10px; }
.news-fcar-next { right: 10px; }
.news-fcar-arrow:hover {
    background: var(--gold-light);
    transform: translateY(-50%) scale(1.1);
}

/* ==================== LIGNES STATIQUES "PLUS D'ACTUALITÉS" ==================== */
.news-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.news-grid-row[data-row-count="1"] { grid-template-columns: 1fr; max-width: 500px; }
.news-grid-row[data-row-count="2"] { grid-template-columns: 1fr 1fr; max-width: 900px; }
.news-grid-row[data-row-count="3"] { grid-template-columns: repeat(3, 1fr); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }
    .news-featured-card-img { min-height: 200px; }
    .news-featured-card-body { padding: 20px; }
}
@media (max-width: 900px) {
    .news-featured-row,
    .news-featured-row.single { grid-template-columns: 1fr; }
    .news-featured-carousel .news-featured-card {
        flex: 0 0 calc(100% - 10px);
        width: calc(100% - 10px);
    }
    .news-grid-row,
    .news-grid-row[data-row-count="2"],
    .news-grid-row[data-row-count="3"] {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .news-grid-row,
    .news-grid-row[data-row-count="2"],
    .news-grid-row[data-row-count="3"] {
        grid-template-columns: 1fr;
    }
    .news-featured-count { display: none; }
    .news-featured-header { gap: 10px; }
}

/* Chip spécial "À la une" - mise en avant visuelle */
.news-chip-special {
    border-color: rgba(192,57,43,0.40);
    background: rgba(192,57,43,0.08);
}
.news-chip-special:hover {
    border-color: var(--red, #C0392B);
    color: var(--red, #C0392B);
}
.news-chip-special.active {
    background: var(--red, #C0392B);
    border-color: var(--red, #C0392B);
    color: #FFFFFF;
}

/* ==========================================================================
   ===== VIDÉOS AUTOPLAY DANS LES VIGNETTES =================================
   ========================================================================== */

/* L'iframe vidéo occupe toute la zone image */
.news-card-img {
    position: relative;
    overflow: hidden;
}
.news-card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
    pointer-events: none; /* le clic passe au lien <a> parent */
    opacity: 0;
    transition: opacity 0.6s ease;
    /* L'iframe YouTube/Vimeo a un ratio 16:9, on l'agrandit pour couvrir comme une background-cover */
    transform: scale(1.35);
    transform-origin: center;
}
/* Overlay transparent au-dessus de l'iframe pour intercepter tous les clics
   (certains navigateurs/iframes peuvent ignorer pointer-events: none) */
.news-card-has-video .news-card-img::after,
.news-featured-card-has-video .news-featured-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: pointer;
}
/* Quand le src est chargé (data-loaded="1"), on fait apparaître l'iframe */
.news-card-video[data-loaded="1"] {
    opacity: 1;
}

/* L'overlay ▶ disparaît quand la vidéo joue */
.news-card-play-overlay {
    z-index: 2;
    transition: opacity 0.6s ease 0.3s;
}
.news-card-video[data-loaded="1"] ~ .news-card-play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* La catégorie reste visible au-dessus */
.news-card-img .news-card-cat,
.news-featured-card-img .news-featured-card-badge {
    z-index: 3;
    position: relative;
}

/* Variante pour les cartes "À la une" — l'image vedette est plus haute, on ajuste */
.news-featured-card-img {
    position: relative;
    overflow: hidden;
}

/* Sur mobile (touch) : la vidéo joue toujours mais on respecte les data savers */
@media (prefers-reduced-data: reduce) {
    .news-card-video { display: none !important; }
}

/* ==================== TRACKING — PAGE PUBLIQUE ==================== */
.tracking-section {
    padding: 140px 0 80px;
    min-height: 80vh;
    background: var(--dark, #0A0C0F);
}
.tracking-hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.tracking-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.06em;
    color: var(--text-light, #F0F2F5);
    margin: 14px 0 14px;
}
.tracking-sub {
    color: var(--text-muted, #8B95A1);
    font-size: 1.02rem;
    line-height: 1.6;
}

/* Formulaire */
.tracking-form {
    max-width: 680px;
    margin: 0 auto 48px;
    background: var(--dark3, #181D24);
    padding: 28px;
    border-radius: 6px;
    border: 1px solid rgba(200,146,42,0.18);
}
.tracking-form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tracking-form-row input {
    flex: 1;
    min-width: 220px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
}
.tracking-form code {
    background: var(--dark4, #1F262F);
    padding: 1px 6px;
    border-radius: 3px;
    color: var(--gold, #C8922A);
    font-size: 0.85em;
}

/* Résultat (carte) */
.tracking-result {
    max-width: 780px;
    margin: 0 auto;
    background: var(--dark3, #181D24);
    border: 1px solid rgba(200,146,42,0.18);
    border-radius: 6px;
    padding: 32px;
}
.tracking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tracking-status-pill {
    padding: 8px 16px;
    border: 1px solid;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

/* Trajet */
.tracking-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 0 24px;
    text-align: center;
}
.tracking-route-point {
    text-align: left;
}
.tracking-route-point:last-child {
    text-align: right;
}
.tracking-route-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted, #8B95A1);
    margin-bottom: 6px;
}
.tracking-route-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: var(--text-light, #F0F2F5);
}
.tracking-route-arrow {
    color: var(--gold, #C8922A);
    font-size: 1.8rem;
    font-weight: 700;
}

/* Timeline */
.tracking-timeline {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
    margin: 28px 0;
    gap: 0;
}
.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 90px;
}
.tracking-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark4, #1F262F);
    border: 2px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.tracking-step.is-current .tracking-step-dot {
    box-shadow: 0 0 0 6px rgba(232,184,75,0.15);
    animation: tracking-pulse 1.8s ease-in-out infinite;
}
.tracking-step-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted, #8B95A1);
}
.tracking-step.is-done .tracking-step-label {
    color: var(--text-light, #F0F2F5);
    font-weight: 600;
}
.tracking-step-line {
    height: 2px;
    background: #333;
    margin: 0 -6px;
    margin-bottom: 22px;
    transition: background 0.3s ease;
}
.tracking-step-line.is-done {
    background: var(--gold, #C8922A);
}
@keyframes tracking-pulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(232,184,75,0.15); }
    50%      { box-shadow: 0 0 0 10px rgba(232,184,75,0.05); }
}

/* Annulé */
.tracking-cancelled {
    text-align: center;
    padding: 32px;
    background: rgba(255,111,93,0.06);
    border: 1px solid rgba(255,111,93,0.25);
    border-radius: 4px;
    margin: 24px 0;
}

/* Détails */
.tracking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-top: 24px;
}
.tracking-detail-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted, #8B95A1);
    margin-bottom: 4px;
}
.tracking-detail-value {
    font-family: 'Barlow', sans-serif;
    font-size: 0.98rem;
    color: var(--text-light, #F0F2F5);
}

/* Notes */
.tracking-notes {
    margin-top: 18px;
    padding: 16px 18px;
    background: rgba(200,146,42,0.06);
    border-left: 3px solid var(--gold, #C8922A);
    border-radius: 3px;
}
.tracking-notes-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold, #C8922A);
    margin-bottom: 6px;
    font-weight: 700;
}
.tracking-notes p { margin: 0; color: var(--text-light, #F0F2F5); }

/* Help / pas trouvé / vide */
.tracking-help {
    text-align: center;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted, #8B95A1);
    font-size: 0.92rem;
}
.tracking-not-found,
.tracking-empty {
    text-align: center;
    padding: 50px 32px;
}
.tracking-not-found-icon,
.tracking-empty-icon {
    font-size: 3.4rem;
    margin-bottom: 14px;
    opacity: 0.85;
}
.tracking-not-found h2,
.tracking-empty h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--text-light, #F0F2F5);
    letter-spacing: 0.05em;
    margin: 8px 0 14px;
}
.tracking-not-found p,
.tracking-empty p {
    color: var(--text-muted, #8B95A1);
    margin: 0 0 8px;
}
.tracking-not-found code {
    background: var(--dark4, #1F262F);
    padding: 2px 8px;
    border-radius: 3px;
    color: var(--gold, #C8922A);
}

/* Responsive timeline */
@media (max-width: 700px) {
    .tracking-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tracking-step-line {
        display: none;
    }
    .tracking-step {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
        text-align: left;
        padding-left: 12px;
    }
    .tracking-route {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    .tracking-route-point,
    .tracking-route-point:last-child {
        text-align: center;
    }
    .tracking-route-arrow {
        transform: rotate(90deg);
    }
}

/* ==================== ACCESSIBILITÉ ==================== */
/* Skip link : invisible par défaut, devient visible au focus clavier */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold, #C8922A);
    color: var(--dark, #0A0C0F);
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}
/* Focus visible global sur tous les éléments interactifs (clavier) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--gold, #C8922A);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==================== BOUTON WHATSAPP FLOTTANT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.35);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 768px) {
    .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ==================== BANNIÈRE COOKIES ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15,18,24,0.97);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(200,146,42,0.25);
    color: #D4D8DE;
    padding: 16px 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    line-height: 1.5;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 260px;
}
.cookie-banner a {
    color: var(--gold, #C8922A);
    text-decoration: underline;
}
@media (max-width: 600px) {
    .cookie-banner {
        padding: 14px 16px;
        font-size: 0.82rem;
        gap: 12px;
    }
    .cookie-banner button {
        width: 100%;
    }
}

/* ==================== LIEN ADMIN DANS LE FOOTER ==================== */
.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    opacity: 0.6;
}
.footer-admin-link:hover {
    opacity: 1;
    border-color: var(--gold, #C8922A);
    color: var(--gold, #C8922A);
    transform: translateY(-1px);
}
body.theme-patriot .footer-admin-link:hover {
    border-color: var(--patriot-red);
    color: var(--patriot-red);
}

/* =====================================================================
   ████████████████████████████████████████████████████████████████████
   THÈME PATRIOT — Bleu marine / Blanc / Rouge / Vert
   Design pro : tricolore décorative, hero gradient, glassmorphism subtil,
   cards avec accent latéral, boutons à dégradé, footer marqué.
   ████████████████████████████████████████████████████████████████████
   ===================================================================== */

body.theme-patriot {
    /* Palette */
    --patriot-navy-1:  #0B2447;   /* fond principal */
    --patriot-navy-2:  #142B5C;   /* fond panels */
    --patriot-navy-3:  #19376D;   /* fond cards sombres */
    --patriot-navy-4:  #1E3A8A;   /* éléments */
    --patriot-blue:    #2563EB;   /* accent blue */
    --patriot-red:     #DC2626;   /* CTA primaire */
    --patriot-red-l:   #EF4444;   /* hover */
    --patriot-green:   #10B981;   /* succès / HSE */
    --patriot-green-d: #047857;   /* hover green */
    --patriot-white:   #FFFFFF;
    --patriot-cream:   #F8FAFC;   /* fond sections claires */
    --patriot-slate:   #E2E8F0;   /* bordures discrètes */
    --patriot-text-d:  #0F172A;   /* texte sur clair */
    --patriot-text-m:  #475569;   /* texte secondaire */

    /* Override variables globales du site */
    --dark:        var(--patriot-navy-1);
    --dark2:       var(--patriot-navy-2);
    --dark3:       var(--patriot-navy-3);
    --dark4:       var(--patriot-navy-4);
    --gold:        var(--patriot-red);
    --gold-light:  var(--patriot-red-l);
    --text-light:  var(--patriot-white);
    --text-muted:  #94A3B8;
    --text:        #CBD5E1;

    background: var(--patriot-navy-1);
    color: #CBD5E1;
}

/* Bande tricolore décorative en haut de page (signature visuelle) */
body.theme-patriot::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--patriot-blue) 0%, var(--patriot-blue) 25%,
        var(--patriot-white) 25%, var(--patriot-white) 50%,
        var(--patriot-red) 50%, var(--patriot-red) 75%,
        var(--patriot-green) 75%, var(--patriot-green) 100%);
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(11,36,71,0.4);
}

/* ===== NAV ===== */
body.theme-patriot nav.main-nav {
    background: rgba(11, 36, 71, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.18);
}
body.theme-patriot nav.main-nav.scrolled {
    background: rgba(11, 36, 71, 0.96);
    border-bottom-color: rgba(220, 38, 38, 0.35);
}
body.theme-patriot .nav-links a {
    color: #CBD5E1;
}
body.theme-patriot .nav-links a:hover,
body.theme-patriot .nav-links a.active {
    color: var(--patriot-white);
}
body.theme-patriot .nav-links a::after {
    background: linear-gradient(90deg, var(--patriot-blue), var(--patriot-green));
}
body.theme-patriot .nav-dropdown-menu {
    background: var(--patriot-navy-2);
    border: 1px solid rgba(37, 99, 235, 0.20);
    border-top: 3px solid var(--patriot-red);
}
body.theme-patriot .nav-dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.10);
    color: var(--patriot-white);
}

/* ===== BOUTONS ===== */
body.theme-patriot .btn-primary,
body.theme-patriot .nav-cta {
    background: linear-gradient(135deg, var(--patriot-red) 0%, #B91C1C 100%);
    color: var(--patriot-white);
    border: none;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.30);
    transition: all 0.3s ease;
}
body.theme-patriot .btn-primary:hover,
body.theme-patriot .nav-cta:hover {
    background: linear-gradient(135deg, var(--patriot-red-l) 0%, var(--patriot-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}
body.theme-patriot .btn-secondary {
    background: transparent;
    color: var(--patriot-white);
    border: 2px solid var(--patriot-white);
    transition: all 0.3s ease;
}
body.theme-patriot .btn-secondary:hover {
    background: var(--patriot-white);
    color: var(--patriot-navy-1);
    transform: translateY(-2px);
}
body.theme-patriot .btn-sm {
    background: var(--patriot-navy-3);
    color: var(--patriot-white);
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.25s;
}
body.theme-patriot .btn-sm:hover {
    background: var(--patriot-blue);
    border-color: var(--patriot-blue);
}

/* ===== HERO ===== */
body.theme-patriot .hero-bg {
    background:
        linear-gradient(135deg,
            rgba(11, 36, 71, 0.95) 0%,
            rgba(20, 43, 92, 0.70) 50%,
            rgba(30, 58, 138, 0.88) 100%),
        url('../uploads/defaults/hero-truck.jpg') center/cover no-repeat;
}
/* Surimpression hero : diagonale rouge subtile pour dynamisme */
body.theme-patriot .hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 280px; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(220, 38, 38, 0.08) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
body.theme-patriot .hero-title {
    color: var(--patriot-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
body.theme-patriot .hero-title .accent,
body.theme-patriot .hero-title em {
    color: transparent;
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-red-l) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
body.theme-patriot .hero-tag {
    color: var(--patriot-red);
    font-weight: 700;
}
body.theme-patriot .hero-sub {
    color: #E2E8F0;
}
body.theme-patriot .hero-stat-num {
    color: var(--patriot-white);
    font-weight: 700;
}
body.theme-patriot .hero-stat-label {
    color: #CBD5E1;
    letter-spacing: 0.18em;
}
body.theme-patriot .hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
body.theme-patriot .hero-bg-overlay {
    background: linear-gradient(135deg,
        rgba(11, 36, 71, var(--hero-overlay-alpha, 0.90)) 0%,
        rgba(30, 58, 138, calc(var(--hero-overlay-alpha, 0.90) * 0.70)) 50%,
        rgba(11, 36, 71, var(--hero-overlay-alpha, 0.90)) 100%);
}

/* ===== TICKER ===== */
body.theme-patriot .ticker {
    background: linear-gradient(90deg, var(--patriot-red) 0%, #B91C1C 100%);
    color: var(--patriot-white);
}

/* ===== SECTIONS — fond clair alterné pour modernité ===== */
body.theme-patriot section.about,
body.theme-patriot section.services-section,
body.theme-patriot section.fleet,
body.theme-patriot section.operations,
body.theme-patriot section.hse,
body.theme-patriot section.news,
body.theme-patriot section.partners,
body.theme-patriot section.contact-section {
    background: var(--patriot-cream);
}

/* Section sombre alternée (services, fleet) pour rythme visuel */
body.theme-patriot section.services-section,
body.theme-patriot section.operations,
body.theme-patriot section.news {
    background: var(--patriot-navy-2);
}

/* Titres de sections */
body.theme-patriot .section-tag {
    color: var(--patriot-red);
    font-weight: 700;
}
body.theme-patriot .section-title {
    color: var(--patriot-navy-1);
}
body.theme-patriot section.services-section .section-title,
body.theme-patriot section.operations .section-title,
body.theme-patriot section.news .section-title {
    color: var(--patriot-white);
}
body.theme-patriot .section-desc {
    color: var(--patriot-text-m);
}
body.theme-patriot section.services-section .section-desc,
body.theme-patriot section.operations .section-desc,
body.theme-patriot section.news .section-desc {
    color: #CBD5E1;
}

/* ===== CARDS — accent tricolore au hover ===== */
body.theme-patriot .service-card,
body.theme-patriot .news-card,
body.theme-patriot .job-card,
body.theme-patriot .partner-card,
body.theme-patriot .executive-card {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(11, 36, 71, 0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
body.theme-patriot .service-card::before,
body.theme-patriot .news-card::before,
body.theme-patriot .job-card::before,
body.theme-patriot .executive-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg,
        var(--patriot-blue) 0%, var(--patriot-blue) 33%,
        var(--patriot-red) 33%,  var(--patriot-red) 66%,
        var(--patriot-green) 66%, var(--patriot-green) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.theme-patriot .service-card:hover,
body.theme-patriot .news-card:hover,
body.theme-patriot .job-card:hover,
body.theme-patriot .executive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(11, 36, 71, 0.15);
    border-color: var(--patriot-blue);
}
body.theme-patriot .service-card:hover::before,
body.theme-patriot .news-card:hover::before,
body.theme-patriot .job-card:hover::before,
body.theme-patriot .executive-card:hover::before {
    transform: scaleY(1);
}

/* Card num / icon */
body.theme-patriot .service-num,
body.theme-patriot .service-number {
    color: var(--patriot-red);
}
body.theme-patriot .service-name,
body.theme-patriot .news-card-title,
body.theme-patriot .job-title,
body.theme-patriot .executive-name {
    color: var(--patriot-navy-1);
}
body.theme-patriot .news-card-cat {
    background: var(--patriot-red);
    color: var(--patriot-white);
    font-weight: 700;
    letter-spacing: 0.08em;
}
body.theme-patriot .news-card-meta,
body.theme-patriot .service-desc,
body.theme-patriot .job-desc,
body.theme-patriot .executive-role {
    color: var(--patriot-text-m);
}

/* ===== ABOUT ===== */
body.theme-patriot .about-feature {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}
body.theme-patriot .about-feature:hover {
    border-color: var(--patriot-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
}
body.theme-patriot .about-feature-icon {
    background: linear-gradient(135deg, var(--patriot-blue) 0%, var(--patriot-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.theme-patriot .about-feature-label {
    color: var(--patriot-navy-1);
}
body.theme-patriot .about-feature-desc {
    color: var(--patriot-text-m);
}
body.theme-patriot .about-badge {
    background: linear-gradient(135deg, var(--patriot-red) 0%, #B91C1C 100%);
    color: var(--patriot-white);
}

/* ===== FLEET ===== */
body.theme-patriot .fleet-tab {
    background: transparent;
    color: var(--patriot-text-m);
    border: 1px solid var(--patriot-slate);
}
body.theme-patriot .fleet-tab.active {
    background: var(--patriot-navy-1);
    color: var(--patriot-white);
    border-color: var(--patriot-navy-1);
}
body.theme-patriot .fleet-spec {
    background: var(--patriot-cream);
    border-left: 3px solid var(--patriot-green);
}
body.theme-patriot .fleet-spec-value { color: var(--patriot-navy-1); }
body.theme-patriot .fleet-spec-label { color: var(--patriot-text-m); }

/* ===== HSE — fond vert clair pour évoquer environnement ===== */
body.theme-patriot section.hse {
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, transparent 100%),
        var(--patriot-cream);
}
body.theme-patriot .hse-item {
    background: var(--patriot-white);
    border-left: 4px solid var(--patriot-green);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}
body.theme-patriot .hse-item:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
body.theme-patriot .hse-item-title { color: var(--patriot-navy-1); }
body.theme-patriot .hse-item-desc  { color: var(--patriot-text-m); }

/* ===== STATS — accent tricolore ===== */
body.theme-patriot .stats {
    background: linear-gradient(135deg, var(--patriot-navy-1) 0%, var(--patriot-navy-3) 100%);
    position: relative;
}
body.theme-patriot .stats::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 240px; height: 4px;
    background: linear-gradient(90deg,
        var(--patriot-blue) 0%, var(--patriot-blue) 33%,
        var(--patriot-red) 33%, var(--patriot-red) 66%,
        var(--patriot-green) 66%, var(--patriot-green) 100%);
    border-radius: 2px;
}
body.theme-patriot .stat-num {
    color: var(--patriot-white);
    text-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
}
body.theme-patriot .stat-label {
    color: #CBD5E1;
    letter-spacing: 0.16em;
}

/* ===== CONTACT ===== */
body.theme-patriot .contact-info-card {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
    border-top: 4px solid var(--patriot-blue);
}
body.theme-patriot .contact-info-label {
    color: var(--patriot-red);
}
body.theme-patriot .contact-info-value {
    color: var(--patriot-navy-1);
}
body.theme-patriot .form-input,
body.theme-patriot .form-select,
body.theme-patriot .form-textarea {
    background: var(--patriot-white);
    border: 2px solid var(--patriot-slate);
    color: var(--patriot-text-d);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.theme-patriot .form-input:focus,
body.theme-patriot .form-select:focus,
body.theme-patriot .form-textarea:focus {
    border-color: var(--patriot-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}
body.theme-patriot .form-label {
    color: var(--patriot-navy-1);
    font-weight: 600;
}

/* ===== FOOTER — bande tricolore en haut + design soigné ===== */
body.theme-patriot footer.site-footer {
    background: var(--patriot-navy-1);
    color: #CBD5E1;
    position: relative;
    padding-top: 60px;
}
body.theme-patriot footer.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--patriot-blue) 0%, var(--patriot-blue) 33%,
        var(--patriot-red) 33%, var(--patriot-red) 66%,
        var(--patriot-green) 66%, var(--patriot-green) 100%);
}
body.theme-patriot .footer-col-title {
    color: var(--patriot-white);
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: 2px solid var(--patriot-red);
    padding-bottom: 8px;
    display: inline-block;
}
body.theme-patriot .footer-links a {
    color: #94A3B8;
    transition: color 0.2s, padding-left 0.2s;
}
body.theme-patriot .footer-links a:hover {
    color: var(--patriot-white);
    padding-left: 4px;
}
body.theme-patriot .certs-title {
    color: var(--patriot-green);
    font-weight: 700;
}

/* ===== NEWS DETAIL ===== */
body.theme-patriot .news-detail-meta {
    color: var(--patriot-text-m);
}
body.theme-patriot .news-detail-cat {
    background: var(--patriot-red);
    color: var(--patriot-white);
}

/* ===== TRACKING — accent bleu pour suivi pro ===== */
body.theme-patriot .tracking-section {
    background:
        linear-gradient(135deg, rgba(11, 36, 71, 0.98) 0%, rgba(30, 58, 138, 0.92) 100%);
}
body.theme-patriot .tracking-title {
    color: var(--patriot-white);
}
body.theme-patriot .tracking-form {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.10);
}
body.theme-patriot .tracking-result {
    background: var(--patriot-white);
    color: var(--patriot-text-d);
    border: 1px solid var(--patriot-slate);
}
body.theme-patriot .tracking-card-header h2 {
    color: var(--patriot-red);
}
body.theme-patriot .tracking-route-value,
body.theme-patriot .tracking-detail-value {
    color: var(--patriot-navy-1);
}
body.theme-patriot .tracking-route-label,
body.theme-patriot .tracking-detail-label {
    color: var(--patriot-text-m);
}
body.theme-patriot .tracking-step-dot {
    background: var(--patriot-cream);
    border: 2px solid var(--patriot-slate);
}
body.theme-patriot .tracking-step-line {
    background: var(--patriot-slate);
}
body.theme-patriot .tracking-step.is-done .tracking-step-label {
    color: var(--patriot-navy-1);
}
body.theme-patriot .tracking-step-label {
    color: var(--patriot-text-m);
}

/* ===== COOKIE BANNER ===== */
body.theme-patriot .cookie-banner {
    background: var(--patriot-navy-1);
    border-top: 3px solid var(--patriot-red);
}
body.theme-patriot .cookie-banner a {
    color: var(--patriot-green);
}

/* ===== WHATSAPP BUTTON (s'il existe) ===== */
body.theme-patriot .whatsapp-float {
    background: var(--patriot-green);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.40);
}
body.theme-patriot .whatsapp-float:hover {
    background: var(--patriot-green-d);
}

/* ===== ALERTS (forms) ===== */
body.theme-patriot .alert-success {
    background: rgba(16, 185, 129, 0.10);
    color: var(--patriot-green-d);
    border-left: 4px solid var(--patriot-green);
}
body.theme-patriot .alert-error {
    background: rgba(220, 38, 38, 0.10);
    color: var(--patriot-red);
    border-left: 4px solid var(--patriot-red);
}

/* =====================================================================
   ANIMATIONS PATRIOT — pour rendre le thème vivant et dynamique
   Toutes les animations sont sous prefers-reduced-motion: no-preference
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {

    /* ===== KEYFRAMES ===== */
    @keyframes patriot-band-glow {
        0%, 100% { filter: brightness(1) saturate(1); }
        50%      { filter: brightness(1.25) saturate(1.15); }
    }
    @keyframes patriot-rise {
        from { opacity: 0; transform: translateY(36px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes patriot-rise-x {
        from { opacity: 0; transform: translateX(-24px); }
        to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes patriot-gradient-shift {
        0%, 100% { background-position: 0% 50%; }
        50%      { background-position: 100% 50%; }
    }
    @keyframes patriot-stat-glow {
        0%, 100% { text-shadow: 0 2px 12px rgba(220,38,38,0.30); }
        50%      { text-shadow: 0 2px 24px rgba(220,38,38,0.55); }
    }
    @keyframes patriot-underline {
        from { width: 0;    opacity: 0; }
        to   { width: 80px; opacity: 1; }
    }
    @keyframes patriot-tricolor-shimmer {
        0%, 100% { opacity: 0.75; transform: translateX(-50%) scaleX(1); }
        50%      { opacity: 1;    transform: translateX(-50%) scaleX(1.05); }
    }
    @keyframes patriot-grid-drift {
        from { background-position: 0 0, 0 0; }
        to   { background-position: 60px 60px, 60px 60px; }
    }
    @keyframes patriot-tracking-pulse {
        0%, 100% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.22), 0 0 18px rgba(37, 99, 235, 0.35); }
        50%      { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0.05), 0 0 28px rgba(37, 99, 235, 0.15); }
    }

    /* ===== BANDE TRICOLORE TOP (glow pulsant) ===== */
    body.theme-patriot::before {
        animation: patriot-band-glow 6s ease-in-out infinite;
    }

    /* ===== HERO — REVEAL CASCADÉ AU CHARGEMENT ===== */
    body.theme-patriot .hero-tag    { animation: patriot-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
    body.theme-patriot .hero-title  { animation: patriot-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both; }
    body.theme-patriot .hero-sub    { animation: patriot-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both; }
    body.theme-patriot .hero-btns   { animation: patriot-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
    body.theme-patriot .hero-stats  { animation: patriot-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.70s both; }
    body.theme-patriot .nav-logo    { animation: patriot-rise-x 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }

    /* ===== ACCENT DU TITRE — GRADIENT QUI SHIFT ===== */
    body.theme-patriot .hero-title .accent,
    body.theme-patriot .hero-title em {
        background: linear-gradient(120deg, var(--patriot-red) 0%, var(--patriot-red-l) 50%, var(--patriot-red) 100%);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: patriot-gradient-shift 5s ease infinite;
    }

    /* ===== HERO GRID — DRIFT TRÈS LENT (parallax sensation) ===== */
    body.theme-patriot .hero-grid {
        animation: patriot-grid-drift 60s linear infinite;
    }

    /* ===== STATS — GLOW PULSANT SUR LES NOMBRES + BANDE TRICOLORE SHIMMER ===== */
    body.theme-patriot .stat-num,
    body.theme-patriot .hero-stat-num {
        animation: patriot-stat-glow 4s ease-in-out infinite;
    }
    body.theme-patriot .stats::after {
        animation: patriot-tricolor-shimmer 3.5s ease-in-out infinite;
    }

    /* ===== SECTION TITLES — UNDERLINE TRICOLORE QUI SE TRACE ===== */
    body.theme-patriot .section-title {
        position: relative;
        display: inline-block;
        padding-bottom: 14px;
    }
    body.theme-patriot .section-title::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        height: 3px;
        background: linear-gradient(90deg,
            var(--patriot-blue) 0%,  var(--patriot-blue) 33%,
            var(--patriot-red) 33%,  var(--patriot-red) 66%,
            var(--patriot-green) 66%, var(--patriot-green) 100%);
        border-radius: 2px;
        width: 0;
        animation: patriot-underline 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
    }

    /* ===== BOUTONS CTA — GRADIENT ANIMÉ + SHINE AU HOVER ===== */
    body.theme-patriot .btn-primary,
    body.theme-patriot .nav-cta {
        background: linear-gradient(135deg, var(--patriot-red) 0%, #B91C1C 50%, var(--patriot-red) 100%);
        background-size: 200% 100%;
        animation: patriot-gradient-shift 5s ease infinite;
        position: relative;
        overflow: hidden;
    }
    body.theme-patriot .btn-primary::after,
    body.theme-patriot .nav-cta::after {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 100%; height: 100%;
        background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%);
        transition: left 0.6s ease;
        pointer-events: none;
    }
    body.theme-patriot .btn-primary:hover::after,
    body.theme-patriot .nav-cta:hover::after {
        left: 100%;
    }

    /* ===== CARDS — EFFET SHINE QUI TRAVERSE AU HOVER ===== */
    body.theme-patriot .service-card,
    body.theme-patriot .news-card,
    body.theme-patriot .job-card,
    body.theme-patriot .executive-card {
        overflow: hidden;
    }
    body.theme-patriot .service-card::after,
    body.theme-patriot .news-card::after,
    body.theme-patriot .job-card::after,
    body.theme-patriot .executive-card::after {
        content: '';
        position: absolute;
        top: 0; left: -100%;
        width: 70%; height: 100%;
        background: linear-gradient(120deg, transparent 0%, rgba(37,99,235,0.10) 50%, transparent 100%);
        transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 1;
    }
    body.theme-patriot .service-card:hover::after,
    body.theme-patriot .news-card:hover::after,
    body.theme-patriot .job-card:hover::after,
    body.theme-patriot .executive-card:hover::after {
        left: 130%;
    }

    /* ===== LOGO NAV — HALO ROUGE AU HOVER ===== */
    body.theme-patriot .nav-logo-img,
    body.theme-patriot .nav-logo img {
        transition: filter 0.4s ease, transform 0.4s ease;
    }
    body.theme-patriot .nav-logo:hover .nav-logo-img,
    body.theme-patriot .nav-logo:hover img {
        filter: drop-shadow(0 0 14px rgba(220, 38, 38, 0.55));
        transform: scale(1.03);
    }

    /* ===== FOOTER BANDE TRICOLORE QUI GLOW ===== */
    body.theme-patriot footer.site-footer::before {
        animation: patriot-band-glow 6s ease-in-out infinite;
    }

    /* ===== FOOTER LINKS — UNDERLINE EXPANSION AU HOVER ===== */
    body.theme-patriot .footer-links a {
        position: relative;
        padding-bottom: 2px;
    }
    body.theme-patriot .footer-links a::before {
        content: '';
        position: absolute;
        bottom: 0; left: 0;
        width: 0; height: 1px;
        background: var(--patriot-red);
        transition: width 0.3s ease;
    }
    body.theme-patriot .footer-links a:hover::before {
        width: 100%;
    }

    /* ===== TRACKING — PULSE PLUS MARQUÉ SUR L'ÉTAPE EN COURS ===== */
    body.theme-patriot .tracking-step.is-current .tracking-step-dot {
        animation: patriot-tracking-pulse 2s ease-in-out infinite;
    }

    /* ===== ABOUT-FEATURES — ICÔNE ROTATION SUBTILE AU HOVER ===== */
    body.theme-patriot .about-feature-icon {
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-block;
    }
    body.theme-patriot .about-feature:hover .about-feature-icon {
        transform: rotate(-8deg) scale(1.15);
    }

    /* ===== HSE ITEMS — SLIDE LATÉRAL AU HOVER ===== */
    body.theme-patriot .hse-item {
        transition: transform 0.35s ease, box-shadow 0.35s ease, border-left-width 0.35s ease;
    }
    body.theme-patriot .hse-item:hover {
        transform: translateX(6px);
        border-left-width: 8px;
    }

    /* ===== TICKER — léger glow rouge pulsant pour attirer l'œil ===== */
    body.theme-patriot .ticker {
        box-shadow: 0 0 24px rgba(220, 38, 38, 0.20);
        animation: patriot-band-glow 8s ease-in-out infinite;
    }

    /* ===== WHATSAPP — PULSE DOUX (en plus du wa-pulse global s'il existe) ===== */
    body.theme-patriot .whatsapp-float {
        animation: patriot-band-glow 3s ease-in-out infinite;
    }
}

/* Respecte la préférence "réduire les animations" du système */
@media (prefers-reduced-motion: reduce) {
    body.theme-patriot *,
    body.theme-patriot *::before,
    body.theme-patriot *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================================
   ████████████████████████████████████████████████████████████████████
   PATRIOT — CORRECTIFS LISIBILITÉ + GLASSMORPHISM "VITRE"
   On distingue sections CLAIRES (fond cream) et SOMBRES (fond navy).
   - Sections claires : textes en bleu marine, cards solides blanches
   - Sections sombres : cards en glassmorphism, textes en blanc
   ████████████████████████████████████████████████████████████████████
   ===================================================================== */

/* ===== TEXTE GLOBAL : noir sur fond clair, blanc sur fond sombre ===== */
body.theme-patriot section.about,
body.theme-patriot section.fleet,
body.theme-patriot section.hse,
body.theme-patriot section.partners,
body.theme-patriot section.contact-section,
body.theme-patriot section.about *,
body.theme-patriot section.fleet *,
body.theme-patriot section.hse *,
body.theme-patriot section.partners *,
body.theme-patriot section.contact-section * {
    color: inherit;
}
body.theme-patriot section.about,
body.theme-patriot section.fleet,
body.theme-patriot section.hse,
body.theme-patriot section.partners,
body.theme-patriot section.contact-section {
    color: var(--patriot-text-d);
}

/* ===== PARAGRAPHE EN EXERGUE (.about-highlight) ===== */
body.theme-patriot .about-highlight {
    color: var(--patriot-navy-1);
    border-left: 4px solid var(--patriot-red);
    background: rgba(220, 38, 38, 0.04);
    padding: 18px 22px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

/* ===== ABOUT — features, badges, textes ===== */
body.theme-patriot .about-text,
body.theme-patriot .about-content,
body.theme-patriot .about-feature-desc {
    color: var(--patriot-text-m);
}
body.theme-patriot .about-feature-label {
    color: var(--patriot-navy-1);
}

/* ===== FLEET ===== */
body.theme-patriot .fleet-name {
    color: var(--patriot-navy-1);
}
body.theme-patriot .fleet-desc,
body.theme-patriot .fleet-text {
    color: var(--patriot-text-m);
}
body.theme-patriot .fleet-spec-val {
    color: var(--patriot-red);
}
body.theme-patriot .fleet-spec-key,
body.theme-patriot .fleet-spec-label {
    color: var(--patriot-text-m);
}
body.theme-patriot .fleet-tab {
    color: var(--patriot-text-m);
    background: transparent;
    border-bottom: 2px solid transparent;
}
body.theme-patriot .fleet-tab.active,
body.theme-patriot .fleet-tab:hover {
    color: var(--patriot-red);
    border-bottom-color: var(--patriot-red);
}
body.theme-patriot .fleet-tabs {
    border-bottom: 1px solid var(--patriot-slate);
}

/* ===== HSE ===== */
body.theme-patriot .hse-title {
    color: var(--patriot-navy-1);
}
body.theme-patriot .hse-item p,
body.theme-patriot .hse-item-desc {
    color: var(--patriot-text-m);
}
body.theme-patriot .hse-icon {
    color: var(--patriot-green);
}

/* ===== CONTACT / FORMULAIRES ===== */
body.theme-patriot .contact-item-val {
    color: var(--patriot-navy-1);
}
body.theme-patriot .contact-item-label {
    color: var(--patriot-red);
}

/* ===== BOUTON SECONDAIRE (sur fond clair, doit être visible) ===== */
body.theme-patriot section.about .btn-secondary,
body.theme-patriot section.fleet .btn-secondary,
body.theme-patriot section.hse .btn-secondary,
body.theme-patriot section.partners .btn-secondary,
body.theme-patriot section.contact-section .btn-secondary {
    color: var(--patriot-navy-1);
    border-color: var(--patriot-navy-1);
    background: transparent;
}
body.theme-patriot section.about .btn-secondary:hover,
body.theme-patriot section.fleet .btn-secondary:hover,
body.theme-patriot section.hse .btn-secondary:hover,
body.theme-patriot section.partners .btn-secondary:hover,
body.theme-patriot section.contact-section .btn-secondary:hover {
    background: var(--patriot-navy-1);
    color: var(--patriot-white);
}

/* =====================================================================
   GLASSMORPHISM — VRAI EFFET VITRE SUR SECTIONS SOMBRES
   On utilise sur services-section (fond navy) et news.
   Avant : cards blanches opaques (plat). Après : verre dépoli premium.
   ===================================================================== */

/* Le fond navy seul rend mal le blur. On ajoute un motif radial subtle
   pour donner de la texture au verre. */
body.theme-patriot section.services-section,
body.theme-patriot section.news,
body.theme-patriot section.operations {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(220, 38, 38, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        var(--patriot-navy-2);
}

/* Cards de services en glassmorphism */
body.theme-patriot section.services-section .service-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
body.theme-patriot section.services-section .service-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(220, 38, 38, 0.40);
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(220, 38, 38, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
body.theme-patriot section.services-section .service-card::before {
    /* L'accent latéral tricolore défini plus haut — on l'aligne ici */
    background: linear-gradient(180deg,
        var(--patriot-blue) 0%, var(--patriot-blue) 33%,
        var(--patriot-red) 33%,  var(--patriot-red) 66%,
        var(--patriot-green) 66%, var(--patriot-green) 100%);
}
body.theme-patriot section.services-section .service-name {
    color: var(--patriot-white);
}
body.theme-patriot section.services-section .service-desc {
    color: #CBD5E1;
}
body.theme-patriot section.services-section .service-link {
    color: var(--patriot-red-l);
}
body.theme-patriot section.services-section .service-link:hover {
    color: var(--patriot-white);
}
body.theme-patriot section.services-section .service-number {
    color: rgba(255, 255, 255, 0.08);
}
body.theme-patriot section.services-section .service-card:hover .service-number {
    color: rgba(220, 38, 38, 0.25);
}

/* Cards de news en glassmorphism (variante plus chaleureuse) */
body.theme-patriot section.news .news-card {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
body.theme-patriot section.news .news-card:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px) scale(1.01);
}
body.theme-patriot section.news .news-card-title {
    color: var(--patriot-white);
}
body.theme-patriot section.news .news-card-excerpt,
body.theme-patriot section.news .news-card-date,
body.theme-patriot section.news .news-card-meta {
    color: #CBD5E1;
}

/* Operations : ops-route en effet vitre subtil */
body.theme-patriot section.operations .ops-route {
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
}
body.theme-patriot section.operations .ops-route-name {
    color: var(--patriot-white);
}
body.theme-patriot section.operations .ops-route-info {
    color: #CBD5E1;
}

/* =====================================================================
   CARDS SUR FOND CLAIR — about-feature, partner-card, exec, job, hse-item
   Cards blanches solides avec ombre soignée, lisibilité 100%.
   ===================================================================== */
body.theme-patriot section.about .about-feature,
body.theme-patriot section.partners .partner-card,
body.theme-patriot section.hse .hse-item {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
    box-shadow: 0 4px 14px rgba(11, 36, 71, 0.06);
}

/* Partner-card spécifique : forcer textes lisibles */
body.theme-patriot section.partners .partner-name,
body.theme-patriot .partner-name {
    color: var(--patriot-navy-1);
}

/* Job-card et exec-card sont aussi dans des sections claires (careers, about) */
body.theme-patriot .job-card,
body.theme-patriot .executive-card {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
}
body.theme-patriot .job-title,
body.theme-patriot .executive-name {
    color: var(--patriot-navy-1);
}
body.theme-patriot .job-desc,
body.theme-patriot .executive-bio,
body.theme-patriot .executive-role {
    color: var(--patriot-text-m);
}
body.theme-patriot .job-meta,
body.theme-patriot .job-loc {
    color: var(--patriot-red);
}

/* =====================================================================
   TICKER, MOBILE NAV, MISC
   ===================================================================== */
body.theme-patriot .mobile-nav {
    background: rgba(11, 36, 71, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}
body.theme-patriot .mobile-nav a {
    color: var(--patriot-white);
}
body.theme-patriot .mobile-nav a:hover {
    color: var(--patriot-red-l);
}

/* Testimonials sur fond clair */
body.theme-patriot .testimonial {
    background: var(--patriot-white);
    border: 1px solid var(--patriot-slate);
    border-top: 4px solid var(--patriot-green);
}
body.theme-patriot .testimonial-quote {
    color: var(--patriot-text-d);
}
body.theme-patriot .testimonial-author {
    color: var(--patriot-navy-1);
}
body.theme-patriot .testimonial-role {
    color: var(--patriot-red);
}

/* Articles / pages légales */
body.theme-patriot .article-title {
    color: var(--patriot-navy-1);
}
body.theme-patriot .article-content {
    color: var(--patriot-text-d);
}
body.theme-patriot .legal-page h2 {
    color: var(--patriot-navy-1);
}
body.theme-patriot .legal-page p,
body.theme-patriot .legal-page li {
    color: var(--patriot-text-d);
}
