/* ===================================================
   BMZ LOGISTICS — CSS PRINCIPAL
   Thème: Industriel · Autoritaire · Premium
   Couleurs: Bleu marine + Orange (couleurs du logo)
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b2e;
  --navy2:     #162540;
  --navy3:     #1e3a5f;
  --blue:      #1a3a6e;
  --orange:    #e8650a;
  --orange2:   #f57c2e;
  --white:     #ffffff;
  --light:     #f0f4f8;
  --gray:      #8a95a8;
  --border:    #dde3ec;
  --ff-title:  'Oswald', sans-serif;
  --ff-body:   'Open Sans', sans-serif;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); color: var(--navy); background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* LOADER */
.loader { position: fixed; inset: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s, visibility 0.5s; }
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { width: 180px; margin: 0 auto 24px; border-radius: 8px; }
.loader-bar { width: 220px; height: 3px; background: rgba(255,255,255,0.15); border-radius: 99px; overflow: hidden; margin: 0 auto; }
.loader-fill { height: 100%; width: 0; background: var(--orange); border-radius: 99px; animation: loadFill 1.6s ease forwards; }
@keyframes loadFill { to { width: 100%; } }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.header.scrolled { background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 32px; }
.nav-logo img { height: 50px; border-radius: 6px; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link { font-family: var(--ff-title); font-weight: 500; font-size: 15px; letter-spacing: 0.5px; color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta { background: var(--orange); color: #fff !important; padding: 8px 20px; border-radius: 6px; }
.nav-cta:hover { background: var(--orange2); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu.open { display: flex !important; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 16px 24px 24px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,27,46,0.93) 0%, rgba(13,27,46,0.70) 60%, rgba(13,27,46,0.40) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 64px; max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(232,101,10,0.15); border: 1px solid rgba(232,101,10,0.4); color: var(--orange2); font-family: var(--ff-title); font-size: 13px; letter-spacing: 2px; padding: 8px 16px; border-radius: 30px; margin-bottom: 28px; margin-top: 140px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-title { font-family: var(--ff-title); font-size: clamp(54px, 8vw, 100px); line-height: 0.92; font-weight: 700; color: #fff; letter-spacing: -1px; margin-bottom: 28px; }
.hero-title .ht-2 { color: var(--orange); }
.hero-title span { display: block; opacity: 0; animation: fadeUp 0.7s ease forwards; }
.hero-title .ht-1 { animation-delay: 0.2s; }
.hero-title .ht-2 { animation-delay: 0.4s; }
.hero-title .ht-3 { animation-delay: 0.6s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.80); line-height: 1.7; margin-bottom: 36px; opacity: 0; animation: fadeUp 0.7s 0.8s ease forwards; }
.hero-desc strong { color: #fff; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; opacity: 0; animation: fadeUp 0.7s 1s ease forwards; }
.hero-stats { display: flex; align-items: center; gap: 24px; opacity: 0; animation: fadeUp 0.7s 1.2s ease forwards; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat strong { display: block; font-family: var(--ff-title); font-size: 32px; color: var(--orange); line-height: 1; }
.hstat span { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 1px; text-transform: uppercase; }
.hstat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; z-index: 2; }
.hero-scroll div { font-size: 20px; animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* BUTTONS */
.btn-orange { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; font-family: var(--ff-title); font-size: 16px; letter-spacing: 1px; padding: 14px 32px; border-radius: 8px; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; }
.btn-orange:hover { background: var(--orange2); transform: translateY(-2px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-family: var(--ff-title); font-size: 16px; letter-spacing: 1px; padding: 13px 32px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.5); transition: border-color 0.2s, background 0.2s; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* TICKER */
.ticker { background: var(--orange); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 32px; animation: ticker 30s linear infinite; }
.ticker-track span { font-family: var(--ff-title); font-size: 14px; letter-spacing: 2px; color: #fff; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* HELPERS */
.eyebrow { font-family: var(--ff-title); font-size: 13px; letter-spacing: 3px; color: var(--orange); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow-light { color: var(--orange2); }
.section-title { font-family: var(--ff-title); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 20px; }
.section-title.white { color: #fff; }
.sec-center { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.sec-sub { font-size: 17px; color: rgba(255,255,255,0.60); line-height: 1.7; }
.sec-sub.dark { color: #666; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img-main img { width: 100%; height: 400px; object-fit: cover; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--orange); color: #fff; padding: 16px 20px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-family: var(--ff-title); font-size: 13px; letter-spacing: 2px; }
.about-badge span { font-family: var(--ff-title); font-size: 36px; font-weight: 700; }
.about-img-sec { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img-sec img { width: 100%; height: 200px; object-fit: cover; }
.about-lead { font-size: 19px; font-weight: 600; color: var(--navy2); line-height: 1.6; margin-bottom: 16px; }
.about-text { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 32px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.acard { display: flex; align-items: flex-start; gap: 12px; background: var(--light); border-radius: 10px; padding: 16px; }
.acard-icon { font-size: 24px; flex-shrink: 0; }
.acard strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.acard p { font-size: 13px; color: var(--gray); margin: 0; }

/* SERVICES */
.services { position: relative; }
.services-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%); }
.services .container { position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.scard { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.scard:hover { transform: translateY(-6px); border-color: rgba(232,101,10,0.5); }
.scard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr; }
.scard-img { position: relative; overflow: hidden; }
.scard-img img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; display: block; }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-wide .scard-img img { height: 100%; min-height: 220px; }
.scard-num { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-family: var(--ff-title); font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; }
.scard-body { padding: 24px; }
.scard-icon { font-size: 32px; margin-bottom: 12px; }
.scard-body h3 { font-family: var(--ff-title); font-size: 22px; color: #fff; margin-bottom: 10px; }
.scard-body p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 16px; }
.scard-body p strong { color: var(--orange2); }
.stags { display: flex; flex-wrap: wrap; gap: 8px; }
.stags span { font-size: 12px; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); padding: 4px 12px; border-radius: 30px; }

/* CLIENTS */
.clients { background: #fff; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cli { display: flex; align-items: center; gap: 14px; background: var(--light); border-radius: 10px; padding: 16px 18px; border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.cli:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(232,101,10,0.12); }
.cli-flag { font-size: 28px; flex-shrink: 0; }
.cli-info { display: flex; flex-direction: column; gap: 2px; }
.cli-info strong { font-size: 13px; color: var(--navy); font-weight: 700; line-height: 1.3; }
.cli-info span { font-size: 11px; color: var(--gray); }

/* GALLERY */
.gallery { background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gitem { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gitem img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; display: block; }
.gitem:hover img { transform: scale(1.08); }
.glarge { grid-row: span 2; }
.glarge img { height: 100%; min-height: 456px; object-fit: cover; }
.gtall { grid-row: span 2; }
.gtall img { height: 100%; min-height: 456px; object-fit: cover; }
.gwide { grid-column: span 2; }
.gwide img { height: 280px; }
.gov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,46,0.85) 0%, transparent 55%); display: flex; align-items: flex-end; justify-content: space-between; padding: 18px; opacity: 0; transition: opacity 0.3s; }
.gitem:hover .gov { opacity: 1; }
.gov span { font-family: var(--ff-title); font-size: 14px; color: #fff; letter-spacing: 0.5px; }
.gzoom { font-size: 20px; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9000; align-items: center; justify-content: center; padding: 24px; }
.lightbox.active { display: flex; }
.lb-inner { position: relative; max-width: 900px; width: 100%; }
.lb-inner img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lb-inner p { text-align: center; color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 14px; }
.lb-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 4px 10px; }

/* CONTACT */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-intro { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 32px; }
.cinfos { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.cinfo { display: flex; align-items: flex-start; gap: 16px; background: var(--light); border-radius: 10px; padding: 16px 18px; border: 1px solid var(--border); transition: border-color 0.2s; }
.cinfo:hover { border-color: var(--orange); }
.cinfo-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.cinfo > div { display: flex; flex-direction: column; gap: 2px; }
.cinfo strong { font-size: 14px; color: var(--navy); }
.cinfo span { font-size: 13px; color: var(--gray); }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-title { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.map-link { display: block; padding: 12px 18px; background: var(--light); color: var(--orange); font-size: 13px; font-weight: 600; border-top: 1px solid var(--border); transition: background 0.2s; }
.map-link:hover { background: #e8edf5; }
.form-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.form-box h3 { font-family: var(--ff-title); font-size: 26px; color: #fff; margin-bottom: 6px; }
.form-box > p { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: #fff; font-family: var(--ff-body); transition: border-color 0.2s; outline: none; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.3); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--orange); }
.fg select option { background: var(--navy2); color: #fff; }
.fg textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--orange); color: #fff; border: none; font-family: var(--ff-title); font-size: 17px; letter-spacing: 1px; padding: 15px 32px; border-radius: 8px; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn-submit:hover { background: var(--orange2); transform: translateY(-2px); }
.form-ok { display: none; text-align: center; padding: 32px; color: #fff; }
.form-ok > div { font-size: 48px; margin-bottom: 12px; }
.form-ok strong { display: block; font-family: var(--ff-title); font-size: 22px; margin-bottom: 8px; }
.form-ok p { font-size: 14px; color: rgba(255,255,255,0.6); }

/* FOOTER */
.footer { background: var(--navy); }
.footer-main { padding: 64px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; }
.fbrand img.footer-logo { height: 60px; border-radius: 8px; margin-bottom: 18px; }
.fbrand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 18px; }
.fbadges { display: flex; flex-wrap: wrap; gap: 8px; }
.fbadges span { font-size: 11px; color: var(--orange2); background: rgba(232,101,10,0.12); border: 1px solid rgba(232,101,10,0.25); padding: 5px 12px; border-radius: 30px; }
.fcol h4 { font-family: var(--ff-title); font-size: 15px; letter-spacing: 1.5px; color: rgba(255,255,255,0.9); margin-bottom: 20px; text-transform: uppercase; }
.fcol ul { display: flex; flex-direction: column; gap: 10px; }
.fcol ul li a, .fcol ul li { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; cursor: default; }
.fcol ul li a:hover { color: var(--orange2); }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom strong { color: rgba(255,255,255,0.6); }

/* BACK TO TOP */
.back-top { display: none; position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--orange); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; box-shadow: var(--shadow); transition: background 0.2s, transform 0.2s; z-index: 800; align-items: center; justify-content: center; }
.back-top.visible { display: flex; }
.back-top:hover { background: var(--orange2); transform: translateY(-3px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .scard-wide { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .glarge, .gtall { grid-row: span 1; }
  .glarge img, .gtall img { height: 220px; min-height: unset; }
  .gwide { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .frow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 0 20px; }
  .clients-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .form-box { padding: 24px 20px; }
}