:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --ink: #10142e;
  --ink-soft: #4a5566;
  --line: #e3e7ec;
  --dark: #10142e;
  --dark-2: #1b2045;
  --accent: #f6b444;
  --accent-dark: #a26a10;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 23, 38, .08);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #e9a22e; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.topbar { background: var(--dark); color: #c9d2de; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav .btn { color: #fff; padding: 10px 18px; }
.nav .btn::after { display: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 18px; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18px; color: #b8c2d0; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 28px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: #94a0b2; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 22px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.hero-badge { position: absolute; left: -24px; bottom: 36px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 50%; background: #fff3dc; display: grid; place-items: center; color: var(--accent); }
.hero-badge .dot svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge small { color: var(--ink-soft); }

.page-hero { background: var(--dark); color: #fff; padding: 70px 0 60px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.page-hero p { color: #b8c2d0; max-width: 640px; font-size: 17px; }
.crumbs { font-size: 14px; color: #94a0b2; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.8px; line-height: 1.15; max-width: 640px; }
.section-head p { color: var(--ink-soft); max-width: 520px; margin-top: 10px; }
.center { text-align: center; }
.center .section-head { justify-content: center; text-align: center; }
.center .section-head p { margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service .ico { width: 50px; height: 50px; border-radius: 12px; background: #fff3dc; color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 18px; }
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 18px; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Produits ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; color: var(--ink-soft); transition: .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-img { background: linear-gradient(180deg, #f7f9fb, #eef1f5); aspect-ratio: 1/1; display: grid; place-items: center; padding: 26px; position: relative; cursor: pointer; }
.product-img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: .3s; }
.product:hover .product-img img { transform: scale(1.05); }
.product-tag { position: absolute; top: 12px; left: 12px; background: #fff; border: 1px solid var(--line); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 12px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .8px; }
.product-body h3 { font-size: 17px; margin: 4px 0 8px; line-height: 1.3; }
.product-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; flex: 1; }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(11,18,32,.6); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; max-width: 920px; width: 100%; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; position: relative; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-img { background: var(--bg-soft); display: grid; place-items: center; padding: 40px; }
.modal-img img { max-height: 380px; object-fit: contain; mix-blend-mode: multiply; }
.modal-content { padding: 36px 32px; }
.modal-content h3 { font-size: 26px; letter-spacing: -.5px; margin: 6px 0 12px; line-height: 1.2; }
.modal-content > p { color: var(--ink-soft); margin-bottom: 20px; }
.specs { list-style: none; margin-bottom: 26px; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); }

/* ---------- Split / A propos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.8px; line-height: 1.15; margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.checks { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .num { font-size: 14px; font-weight: 800; color: var(--accent-dark); margin-bottom: 10px; }
.value h3 { font-size: 20px; margin-bottom: 8px; }
.value p { color: var(--ink-soft); }

.stats-band { background: var(--dark); color: #fff; padding: 60px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band strong { display: block; font-size: 40px; font-weight: 800; color: var(--accent); }
.stats-band span { color: #b8c2d0; }

/* ---------- Galerie usage ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; color: #fff; }
.use img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.use:hover img { transform: scale(1.05); }
.use .cap { position: absolute; inset: auto 0 0 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.use h3 { font-size: 20px; }
.use p { color: #d4dae3; font-size: 14px; }

/* ---------- Partenaires & clients ---------- */
.brands { overflow: hidden; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-track { display: flex; gap: 16px; width: max-content; animation: brands-slide 40s linear infinite; }
#clients .brands-track { animation-duration: 48s; }
.brands:hover .brands-track { animation-play-state: paused; }
/* Défilement de gauche à droite : la piste part de -50 % et revient à 0 */
@keyframes brands-slide { from { transform: translateX(calc(-50% - 8px)); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation: none; } }
.brand { flex: none; width: 190px; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 18px 22px; transition: box-shadow .25s, border-color .25s; }
.brand:hover { box-shadow: var(--shadow); border-color: transparent; }
@media (max-width: 560px) { .brand { width: 150px; height: 84px; } }
.brand img { max-height: 40px; max-width: 100%; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .6; transition: .25s; }
.brand img.tall { max-height: 60px; }
.brand-text { font-weight: 800; font-size: 20px; letter-spacing: -.3px; color: var(--ink); opacity: .6; transition: .25s; text-align: center; line-height: 1.1; }
.brand:hover img, .brand:hover .brand-text { opacity: 1; }
.brands-label { text-align: center; font-weight: 700; color: var(--ink-soft); margin: 0 0 22px; }
.brands + .brands-label { margin-top: 50px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--dark) 0%, #232a5c 100%); color: #fff; border-radius: 24px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.6px; line-height: 1.2; max-width: 560px; }
.cta p { color: #b8c2d0; margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s; }
a.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; background: #fff3dc; color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card small { color: var(--ink-soft); display: block; font-weight: 600; font-size: 13px; }
.contact-card strong { font-size: 16px; word-break: break-word; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.form h2 { font-size: 26px; letter-spacing: -.5px; margin-bottom: 6px; }
.form > p { color: var(--ink-soft); margin-bottom: 24px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 15px; background: var(--bg-soft); color: var(--ink); transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(246,180,68,.25); }
.field textarea { min-height: 120px; resize: vertical; }
.map { margin-top: 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #b8c2d0; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 12px 18px; margin-bottom: 18px; }
.footer .logo img { height: 74px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer p { font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-2); display: grid; place-items: center; color: #fff; transition: .2s; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #262c55; padding: 22px 0; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services, .products { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: .3s; box-shadow: var(--shadow); }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.active::after { display: none; }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; }
  .hero-badge { left: 12px; }
  .services, .products, .values, .uses { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { padding: 24px; }
  .modal-img img { max-height: 240px; }
  section { padding: 64px 0; }
  .cta { padding: 36px 28px; }
  .topbar .tb-right { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .services, .products, .values, .uses, .row, .footer-grid { grid-template-columns: 1fr; }
  .hero .container { padding-top: 50px; padding-bottom: 60px; }
  .hero-stats { gap: 24px; }
  .product-actions { flex-direction: column; }
  .form { padding: 24px; }
  .modal-content { padding: 26px 22px; }
}
