/* ==========================================================================
   NafidaCom — Feuille de style principale
   Charte : couleurs extraites du logo officiel
   ========================================================================== */

:root {
  /* Charte graphique (logo) */
  --cyan: #59ccd9;
  --blue: #48a1d9;
  --navy: #375c8c;
  --charcoal: #333133;

  /* Dérivés */
  --navy-900: #14233a;
  --navy-800: #1b2f4d;
  --navy-700: #243d62;
  --blue-50: #eef6fc;
  --cyan-50: #ecfafc;

  --text: #333133;
  --text-muted: #5f6470;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --line: #e3e9f0;

  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 45%, var(--navy) 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 58, .06), 0 2px 8px rgba(20, 35, 58, .05);
  --shadow: 0 10px 30px -12px rgba(20, 35, 58, .22);
  --shadow-lg: 0 24px 60px -20px rgba(20, 35, 58, .35);

  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy-900); font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }

.section-head { max-width: 680px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--navy); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --b-bg: var(--blue); background: var(--grad); background-size: 140% 100%; background-position: 0 0; background-origin: border-box; background-repeat: no-repeat; }
.btn--primary:hover { background-position: 100% 0; }
.btn--light { --b-bg: #fff; --b-fg: var(--navy-900); }
.btn--ghost { background: transparent; --b-fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: transparent; --b-fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--navy);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,35,58,.4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 900; font-size: 1.375rem; letter-spacing: .01em; color: var(--charcoal); }
.brand-name span { color: var(--navy); }
.brand-tag { font-size: .6875rem; color: var(--text-muted); margin-top: 4px; letter-spacing: .02em; }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--charcoal); font-weight: 700; font-size: .975rem; text-decoration: none; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--navy); background: var(--blue-50); }
.nav-link[aria-current="page"] { color: var(--navy); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--grad);
}
.nav-cta { margin-left: 12px; min-height: 44px; padding: 10px 22px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; color: var(--navy-900);
}
.nav-toggle-bars { position: relative; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(89,204,217,.28), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(72,161,217,.25), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero-frames { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; }
.hero-frames svg { position: absolute; right: -12%; top: 50%; transform: translateY(-50%); width: min(70vw, 900px); height: auto; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .text-grad { background: linear-gradient(100deg, var(--cyan), #9fd8f5); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 34px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stat strong { display: block; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; line-height: 1; color: #fff; }
.hero-stat span { font-size: .9rem; color: rgba(255,255,255,.7); }

.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: var(--radius-lg);
  border: 2px solid rgba(89,204,217,.5); z-index: -1;
}
.video-trigger {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-800); box-shadow: var(--shadow-lg); aspect-ratio: 580 / 466; color: #fff; text-align: left;
}
.video-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-trigger:hover img { transform: scale(1.04); }
.video-trigger::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,35,58,.75)); }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--navy); box-shadow: 0 0 0 10px rgba(255,255,255,.18);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.play-btn svg { width: 28px; height: 28px; margin-left: 4px; }
.video-trigger:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 16px rgba(255,255,255,.14); }
.video-caption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; font-weight: 700; display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.video-caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(89,204,217,.3); }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(900px 400px at 90% 0%, rgba(89,204,217,.25), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero .hero-frames svg { width: min(60vw, 640px); right: -8%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 760px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; font-size: 1.125rem; margin: 0; }
.page-hero .eyebrow { color: var(--cyan); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; font-size: .875rem; margin: 0 0 18px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.35); }

/* ---------- Partenaires ---------- */
.partners { padding: 44px 0; border-bottom: 1px solid var(--line); background: #fff; }
.partners-title { text-align: center; font-size: .8125rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 22px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 18px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: 168px; height: 94px; object-fit: contain; border-radius: var(--radius-sm); filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: grid; place-items: center; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.partner-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.partner-card:hover img { filter: none; opacity: 1; }

/* ---------- Services ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; text-decoration: none; color: inherit; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin: 20px 0 10px; }
.service-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 22px; flex: 1; }
.service-card .link-arrow { margin-top: auto; }

.icon-box {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, var(--cyan-50), var(--blue-50)); color: var(--navy);
  transition: background .35s, color .35s;
}
.icon-box svg { width: 30px; height: 30px; }
.service-card:hover .icon-box { background: var(--grad); color: #fff; }

/* Services détaillés */
.service-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--charcoal); font-weight: 700; font-size: .9rem; text-decoration: none; transition: all .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--blue); color: var(--navy); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { font-size: .75rem; opacity: .7; }

.service-detail { display: grid; grid-template-columns: 88px 1fr; gap: 28px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon-box { width: 88px; height: 88px; border-radius: 22px; background: var(--grad); color: #fff; }
.service-detail .icon-box svg { width: 42px; height: 42px; }
.service-detail h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.service-detail p { color: var(--text-muted); font-size: 1.0625rem; max-width: 760px; }
.service-num { font-size: .8125rem; font-weight: 900; letter-spacing: .14em; color: var(--blue); display: block; margin-bottom: 6px; }
.service-detail .btn-row { margin-top: 22px; }

/* ---------- À propos ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 36px); }
.about-visual img { width: 100%; }
.about-badge {
  position: absolute; left: -14px; top: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 240px;
}
.about-badge strong { font-size: 2.25rem; line-height: 1; font-weight: 900; color: var(--navy); }
.about-badge span { font-size: .875rem; line-height: 1.35; color: var(--text-muted); }
.about-text p { color: var(--text-muted); }
.about-text .lead { color: var(--text); font-size: 1.15rem; }

.checklist { display: grid; gap: 12px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--charcoal); }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }

.quote {
  position: relative; margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(150deg, var(--navy-800), var(--navy)); overflow: hidden;
}
.quote::before { content: "\201C"; position: absolute; right: 28px; top: -30px; font-size: 14rem; line-height: 1; color: rgba(89,204,217,.22); font-family: Georgia, serif; }
.quote p { position: relative; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.45; margin: 0; max-width: 820px; }
.quote footer { position: relative; margin-top: 20px; color: var(--cyan); font-weight: 700; font-size: .95rem; }

.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; height: 100%; }
.value-card .icon-box { margin-bottom: 18px; }
.value-card p { color: var(--text-muted); margin: 0; font-size: 1rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  font-weight: 900; color: #fff; background: var(--grad);
}
.step p { color: var(--text-muted); margin: 0; font-size: 1rem; }

/* ---------- Réalisations ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; text-align: left; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.work-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,35,58,.55)); opacity: .8; transition: opacity .3s; }
.work-thumb .play-btn { width: 60px; height: 60px; box-shadow: 0 0 0 8px rgba(255,255,255,.2); opacity: .95; }
.work-thumb .play-btn svg { width: 20px; height: 20px; margin-left: 3px; }
.work-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.work-body { padding: 20px 22px 24px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.work-title { display: block; font-weight: 700; font-size: 1.0625rem; margin: 0; line-height: 1.4; color: var(--navy-900); }
.work-card[hidden] { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar .chip { cursor: pointer; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); color: #fff; background: var(--grad);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.1);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); font-size: 1.125rem; max-width: 620px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-card h3 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 2px 0 6px; font-weight: 900; }
.contact-card p { margin: 0; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.contact-card a { color: var(--navy-900); text-decoration: none; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }
.contact-card .icon-box { width: 50px; height: 50px; border-radius: 14px; }
.contact-card .icon-box svg { width: 24px; height: 24px; }

.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.form-card > p { color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .925rem; color: var(--charcoal); }
.field label .req { color: #c2410c; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23375c8c' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9d5e2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(72,161,217,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c2410c; background: #fff7f3; }
.field-error { color: #b23a0a; font-size: .85rem; font-weight: 700; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--text-muted); margin: 16px 0 0; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 700; display: none; }
.form-status.is-success { display: block; background: #e9f8f1; color: #11643e; border: 1px solid #b9e6cf; }
.form-status.is-error { display: block; background: #fff1ec; color: #9a3412; border: 1px solid #fed7c3; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.map-wrap { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-soft); position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; gap: 12px; align-content: center; }
.map-placeholder p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- Newsletter / Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 84px); font-size: .975rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-title { color: #fff; font-size: .8125rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 18px; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.5; }
.footer-contact svg { flex: none; width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px; }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 14px; font: inherit; font-size: .95rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form:focus-within { border-color: var(--cyan); }
.newsletter-form .btn { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.newsletter-msg { font-size: .875rem; margin-top: 10px; color: var(--cyan); min-height: 1.2em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: rgba(255,255,255,.55); }

/* ---------- WhatsApp flottant ---------- */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp svg { width: 30px; height: 30px; }

/* ---------- Modal vidéo ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,18,32,.88); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal-dialog { position: relative; width: min(1100px, 100%); animation: pop .35s var(--ease); }
.modal-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-title { color: #fff; font-weight: 700; margin: 14px 4px 0; font-size: 1rem; }
.modal-close {
  position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.modal-close:hover { background: rgba(255,255,255,.24); }
.modal-close svg { width: 22px; height: 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- 404 / merci ---------- */
.status-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.status-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; margin-bottom: 10px; }
.status-page p { color: var(--text-muted); max-width: 520px; margin: 0 auto 28px; font-size: 1.125rem; }
.status-page .btn-row { justify-content: center; }
.status-icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.status-icon svg { width: 44px; height: 44px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding: 0 16px; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-link { padding: 10px 10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* backdrop-filter créerait un bloc conteneur pour le menu fixe : on le retire sur mobile */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    background: #fff; padding: 20px 24px 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { font-size: 1.25rem; padding: 16px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link[aria-current="page"]::after { left: 8px; right: auto; width: 32px; bottom: 8px; }
  .nav-cta { margin: 24px 0 0; min-height: 54px; width: 100%; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .grid-3, .work-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .work-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { display: none; }
  .hero-stats { gap: 18px 28px; }
  .hero .btn-row .btn, .cta-band .btn { width: 100%; }
  .hero-media::before { inset: -10px 10px 10px -10px; }
  .play-btn { width: 68px; height: 68px; }
  .service-detail { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .service-detail .icon-box { width: 68px; height: 68px; border-radius: 18px; }
  .service-detail .icon-box svg { width: 32px; height: 32px; }
  .service-detail .btn-row .btn { width: 100%; }
  .about-badge { position: static; max-width: none; margin-top: 16px; box-shadow: none; background: var(--blue-50); }
  .service-card { padding: 24px 22px 22px; }
  .service-card h3 { margin-top: 16px; }
  .about-badge strong { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .marquee-track img { width: 132px; height: 74px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fab-whatsapp { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .modal-close { top: -52px; }
  .work-card:hover, .service-card:hover { transform: none; }
}
