/* ============================================================
   DWS — CSS commun toutes pages SEO
   Palette : bleu marine #0a1530 / #0f1d3d — jaune #ffd102
   Fonts   : Syne (titres) + DM Sans (texte)
   ============================================================ */

:root {
  --bg:          #0a1530;
  --bg-soft:     #0f1d3d;
  --bg-card:     #0f1d3d;
  --bg-card-h:   #152849;
  --line:        rgba(255,255,255,.07);
  --line-y:      rgba(255,209,2,.18);
  --text:        #f4f5fa;
  --text-soft:   #a8b1c7;
  --text-muted:  #6b7390;
  --accent:      #ffd102;
  --accent-warm: #ffb800;
  --accent-glow: rgba(255,209,2,.30);
  --accent-soft: rgba(255,209,2,.08);
  --navy:        #091126;
  --r:           14px;
  --rl:          20px;
  --ease:        cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient glows */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(800px 500px at 10% -5%,  rgba(255,209,2,.06), transparent 60%),
    radial-gradient(600px 400px at 90% 15%,  rgba(255,209,2,.04), transparent 70%);
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .03; pointer-events: none; z-index: 1; mix-blend-mode: overlay;
}

.wrap { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px,4vw,48px); }

/* ── NAV ── */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  position: sticky; top: 0; z-index: 100;
  max-width: 1320px; margin: 0 auto; padding-left: clamp(20px,4vw,48px); padding-right: clamp(20px,4vw,48px);
  background: linear-gradient(180deg, var(--bg) 70%, transparent);
  backdrop-filter: blur(0);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--accent); font-family: 'Syne', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: -.02em;
  box-shadow: 0 0 0 1px rgba(255,209,2,.25), 0 6px 18px rgba(0,0,0,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px var(--accent-glow);
}
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; font-size: 14px; font-weight: 400;
  color: var(--text-soft); text-decoration: none;
  border-radius: 100px;
  transition: color .3s var(--ease), background .3s var(--ease);
  white-space: nowrap;
}
.menu a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.menu a[aria-current="page"] { color: var(--accent); }
.menu a.nav-wa { color: #25D366; }
.menu a.nav-wa svg { width: 16px; height: 16px; }
.menu a.cta {
  background: var(--accent); color: var(--navy);
  font-weight: 600; margin-left: 6px;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.menu a.cta:hover { background: var(--accent-warm); transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.burger {
  display: none; background: transparent; border: 1px solid var(--line-y);
  width: 42px; height: 42px; border-radius: 10px;
  color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
  transition: border-color .3s, background .3s;
}
.burger:hover { border-color: var(--accent); background: var(--accent-soft); }
.burger svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .menu {
    position: fixed; inset: 68px 16px auto 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; background: var(--bg-soft);
    border: 1px solid var(--line-y); border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .menu a { padding: 14px 18px; width: 100%; border-radius: 10px; }
  .menu a.cta { margin-left: 0; justify-content: center; }
  .burger { display: inline-flex; }
}

/* ── HERO ── */
.hero {
  padding: clamp(72px,12vw,150px) 0 clamp(56px,8vw,96px);
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--accent); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; display: inline-block;
  width: 32px; height: 1px; background: var(--accent);
}
.hero h1 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(40px,7.5vw,92px);
  line-height: .96; letter-spacing: -.035em;
  margin-bottom: 28px; max-width: 18ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc {
  font-size: clamp(16px,1.6vw,19px); color: var(--text-soft);
  max-width: 58ch; line-height: 1.7; margin-bottom: 40px;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  background: var(--accent); color: var(--navy);
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: background .3s, transform .3s, box-shadow .3s;
}
.btn-primary:hover { background: var(--accent-warm); transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-glow); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 100px;
  background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.3);
  color: #25D366; font-weight: 500; font-size: 15px; text-decoration: none;
  transition: background .3s, transform .3s;
}
.btn-wa:hover { background: rgba(37,211,102,.18); transform: translateY(-2px); }
.btn-wa svg { width: 20px; height: 20px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 22px; border-radius: 100px;
  border: 1px solid var(--line-y);
  color: var(--text-soft); font-size: 15px; text-decoration: none;
  transition: border-color .3s, color .3s, background .3s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ── STATS ── */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: clamp(1px,1px,1px);
  border: 1px solid var(--line); border-radius: var(--rl);
  overflow: hidden; margin: clamp(40px,6vw,72px) 0;
  background: var(--line);
}
.stat {
  background: var(--bg-card); padding: clamp(24px,4vw,40px);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-num {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(36px,5vw,56px); line-height: 1;
  letter-spacing: -.03em; color: var(--accent);
}
.stat-num sup { font-size: .5em; }
.stat-lbl { font-size: 13px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ── SECTIONS ── */
.section { padding: clamp(56px,9vw,112px) 0; border-top: 1px solid var(--line); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--accent); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px;
}
.section-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.section h2 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: clamp(28px,4vw,52px); letter-spacing: -.03em;
  line-height: 1.05; margin-bottom: 24px; max-width: 22ch;
}
.section-body {
  font-size: clamp(15px,1.4vw,17px); color: var(--text-soft);
  max-width: 66ch; line-height: 1.8;
}
.section-body p { margin-bottom: 1.2em; }
.section-body strong { color: var(--text); font-weight: 500; }
.section-body em { color: var(--accent); font-style: normal; font-weight: 500; }
.section-2col {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(40px,6vw,80px);
}
@media (min-width: 860px) { .section-2col { grid-template-columns: 1fr 1fr; } }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,280px), 1fr));
  gap: clamp(14px,2vw,20px); margin-top: 40px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--rl); padding: clamp(24px,3vw,36px);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .4s var(--ease);
}
.service-card:hover { border-color: var(--line-y); background: var(--bg-card-h); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--line-y);
  display: grid; place-items: center; color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.service-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; flex: 1; }
.service-card a { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; }
.service-card a:hover { text-decoration: underline; }

/* ── PROCESS ── */
.process-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; max-width: 760px; }
.process-item {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 0 24px; padding-bottom: 36px; position: relative;
}
.process-item:last-child { padding-bottom: 0; }
.process-item:not(:last-child)::before {
  content: ""; position: absolute;
  left: 26px; top: 52px; bottom: 0; width: 1px;
  background: linear-gradient(180deg, var(--line-y) 0%, transparent 100%);
}
.process-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--line-y);
  display: grid; place-items: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--accent); flex-shrink: 0;
}
.process-text { padding-top: 12px; }
.process-text h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.process-text p { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin-top: 40px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-card); overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: var(--line-y); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: 'Syne', sans-serif; font-weight: 500; font-size: clamp(15px,1.4vw,17px);
  color: var(--text); transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item > div { padding: 0 24px 22px; font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.faq-item > div a { color: var(--accent); }

/* ── PORTFOLIO STRIP ── */
.portfolio-strip {
  border: 1px solid var(--line-y); border-radius: var(--rl);
  padding: clamp(32px,5vw,56px); margin-top: 40px;
  background: var(--bg-card);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 24px;
}
.portfolio-strip-text h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(22px,3vw,34px); letter-spacing: -.02em; margin-bottom: 10px; }
.portfolio-strip-text p { font-size: 15px; color: var(--text-soft); max-width: 42ch; }
.portfolio-strip-text strong { color: var(--accent); }

/* ── CTA BLOCK ── */
.cta-block { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px,8vw,100px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-text h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(26px,4vw,48px); letter-spacing: -.03em; margin-bottom: 12px; }
.cta-text p { font-size: 16px; color: var(--text-soft); max-width: 44ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex-shrink: 0; }

/* ── FOOTER ── */
.footer { padding: clamp(56px,8vw,96px) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: clamp(32px,5vw,64px); padding-bottom: clamp(40px,6vw,72px); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 220px 1fr; } }
.footer-brand .logo-mark { width: 52px; height: 52px; font-size: 14px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); margin-top: 12px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: clamp(24px,4vw,48px); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: 12px; color: var(--text-muted); letter-spacing: .02em; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-y); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }