/* ==========================================================
   SW Développement — One Page
   Palette tirée du logo : #005b9a (marine) + #0092d4 (azur)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&display=swap');

:root {
  /* Brand */
  --sw-marine:        #005b9a;   /* bleu marine — base titre */
  --sw-marine-deep:   #003e6b;   /* hover / accents profonds */
  --sw-marine-darker: #00284a;
  --sw-azur:          #0092d4;   /* bleu vif / accent */
  --sw-azur-light:    #4ab8e8;
  --sw-azur-pale:     #e6f4fb;   /* surfaces très claires */

  /* Neutrals */
  --sw-ink:           #0a1929;
  --sw-ink-soft:      #44546b;
  --sw-mute:          #6b7a90;
  --sw-line:          #dbe4ec;
  --sw-line-soft:     #eef2f7;
  --sw-paper:         #f5f8fb;   /* page background */
  --sw-surface:       #ffffff;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Sizing */
  --maxw: 1240px;
  --maxw-narrow: 920px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-f: 160ms;
  --dur-m: 280ms;
  --dur-s: 500ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sw-ink);
  background: var(--sw-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sw-marine); text-decoration: none; }

::selection { background: var(--sw-azur); color: #fff; }

/* Layout */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sw-azur);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--sw-azur);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 16px 0 24px;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sw-azur);
}
.section-lede {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--sw-ink-soft);
  max-width: 60ch;
  margin: 0 0 56px;
}

/* ───────── Logo image ───────── */
.nav-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo {
  height: 60px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  opacity: 0.95;
}

/* ───────── Grands comptes pills ───────── */
.grand-comptes {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--sw-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sw-mute);
}
.gc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gc-pill {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--sw-marine-darker);
  padding: 8px 18px;
  background: var(--sw-azur-pale);
  border: 1px solid rgba(0, 146, 212, 0.2);
  border-radius: 999px;
}

/* ───────── NAV ───────── */
.nav {
  position: sticky; top: 0;
  z-index: 80;
  background: rgba(245, 248, 251, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-m) var(--ease), background var(--dur-m) var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--sw-line);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--sw-azur) 0%, var(--sw-marine) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(0, 91, 154, 0.25);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-brand-text .top {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  color: var(--sw-marine-darker);
  letter-spacing: -0.01em;
}
.nav-brand-text .bot {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--sw-mute);
  letter-spacing: 0.14em;
  margin-top: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.nav-links a:not(.nav-cta) {
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-ink-soft);
  position: relative;
  transition: color var(--dur-f) var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--sw-marine); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--sw-marine);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--dur-f) var(--ease);
}
.nav-cta:hover { background: var(--sw-marine-deep); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

/* ───────── HERO ───────── */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(0, 146, 212, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(0, 91, 154, 0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 91, 154, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 91, 154, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 30%, transparent 80%);
  z-index: -1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-ink-soft);
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 91, 154, 0.05);
}
.hero-tag .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2bb673;
  position: relative;
  flex: none;
}
.hero-tag .pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(43, 182, 115, 0.35);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--sw-marine-darker);
  margin: 0 0 36px;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--sw-azur) 0%, var(--sw-marine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: end;
  margin-top: 48px;
}
.hero-lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--sw-ink-soft);
  max-width: 42ch;
  margin: 0;
}
.hero-lede strong { color: var(--sw-marine); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: all var(--dur-f) var(--ease);
  font-family: var(--font-body);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-f) var(--ease); }
.btn-primary {
  background: linear-gradient(135deg, var(--sw-azur) 0%, var(--sw-marine) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 91, 154, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 91, 154, 0.35); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--sw-marine);
  border: 1px solid var(--sw-line);
}
.btn-ghost:hover { background: var(--sw-surface); border-color: var(--sw-marine); }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 91, 154, 0.06);
}
.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sw-line-soft);
}
.hero-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sw-marine);
}
.hero-stat .num em {
  font-style: italic;
  color: var(--sw-azur);
  font-weight: 400;
}
.hero-stat .lbl {
  font-size: 13px;
  color: var(--sw-mute);
  text-align: right;
  max-width: 18ch;
  line-height: 1.35;
}

/* Floating dots */
.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-azur) 0%, var(--sw-marine) 100%);
  opacity: 0.08;
  pointer-events: none;
}
.hero-dot.d1 { width: 320px; height: 320px; top: 8%; right: -120px; }
.hero-dot.d2 { width: 180px; height: 180px; bottom: 8%; left: 6%; opacity: 0.05; }

/* ───────── MARQUEE ───────── */
.marquee {
  background: var(--sw-marine-darker);
  color: rgba(255, 255, 255, 0.75);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: scroll 38s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.marquee-track .sep {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sw-azur);
  margin: 0 36px;
  vertical-align: middle;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────── SERVICES ───────── */
.services { padding: 120px 0; background: var(--sw-surface); }
.services-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.services-head .section-lede { margin: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc {
  background: var(--sw-paper);
  border: 1px solid var(--sw-line);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-m) var(--ease);
  min-height: 460px;
}
.svc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sw-azur), var(--sw-marine));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-m) var(--ease);
}
.svc:hover { transform: translateY(-6px); border-color: var(--sw-azur-light); box-shadow: 0 16px 40px rgba(0, 91, 154, 0.12); }
.svc:hover::before { transform: scaleX(1); }
.svc-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--sw-azur);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sw-azur) 0%, var(--sw-marine) 100%);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 91, 154, 0.25);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 0 0 12px;
}
.svc.is-featured {
  background: linear-gradient(135deg, #003e6b 0%, #0092d4 100%);
  border-color: transparent;
  color: #fff;
  position: relative;
}
.svc.is-featured::before { background: linear-gradient(90deg, #fff, rgba(255,255,255,0.4)); transform: scaleX(1); }
.svc.is-featured h3 { color: #fff; }
.svc.is-featured p { color: rgba(255,255,255,0.85); }
.svc.is-featured .svc-num { color: rgba(255,255,255,0.7); }
.svc.is-featured .svc-icon { background: rgba(255,255,255,0.18); box-shadow: none; }
.svc.is-featured .svc-list { border-top-color: rgba(255,255,255,0.2); }
.svc.is-featured .svc-list li { color: rgba(255,255,255,0.9); }
.svc.is-featured .svc-list li::before { background: #fff; }
.svc-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #fff;
  color: var(--sw-marine-darker);
  padding: 5px 10px;
  border-radius: 999px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}
.footer-contact ul { gap: 12px; }
.footer-contact li { font-size: 15px; }
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 0 0 12px;
}
.svc p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sw-ink-soft);
  margin: 0 0 24px;
  flex: 1;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--sw-line);
  padding-top: 20px;
}
.svc-list li {
  font-size: 13px;
  color: var(--sw-ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sw-azur);
  flex: none;
}

/* ───────── ABOUT / PARCOURS ───────── */
.about {
  padding: 140px 0;
  background: var(--sw-paper);
  position: relative;
  overflow: hidden;
}
.about-bg {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,146,212,0.06), transparent 70%);
  right: -200px;
  top: -100px;
  z-index: 0;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  position: sticky;
  top: 120px;
}
.portrait-card {
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 91, 154, 0.08);
}
.portrait-img {
  aspect-ratio: 4/5;
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}
.portrait-meta {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portrait-meta .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
}
.portrait-meta .role {
  font-size: 13px;
  color: var(--sw-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.portrait-meta .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.portrait-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--sw-marine);
  background: var(--sw-azur-pale);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.timeline {
  position: relative;
  padding-left: 36px;
  margin-top: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--sw-azur), var(--sw-line));
}
.tl-item {
  position: relative;
  padding-bottom: 44px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--sw-surface);
  border: 3px solid var(--sw-azur);
  box-shadow: 0 0 0 4px var(--sw-paper);
}
.tl-item.is-current::before { background: var(--sw-azur); }
.tl-period {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--sw-azur);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 0 0 4px;
  line-height: 1.2;
}
.tl-org {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--sw-azur);
  margin-bottom: 12px;
}
.tl-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sw-ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ───────── APPROACH ───────── */
.approach {
  padding: 120px 0;
  background: var(--sw-marine-darker);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(0,146,212,0.25), transparent 60%),
    radial-gradient(700px 400px at 5% 95%, rgba(0,146,212,0.15), transparent 60%);
  pointer-events: none;
}
.approach .container { position: relative; }
.approach .eyebrow { color: var(--sw-azur-light); }
.approach .eyebrow::before { background: var(--sw-azur-light); }
.approach .section-title { color: #fff; }
.approach .section-title em { color: var(--sw-azur-light); }
.approach .section-lede { color: rgba(255,255,255,0.7); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
}
.approach-step {
  background: var(--sw-marine-darker);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--dur-m) var(--ease);
}
.approach-step:hover { background: rgba(0, 146, 212, 0.12); }
.approach-step .n {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  color: var(--sw-azur-light);
  letter-spacing: -0.04em;
}
.approach-step h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.approach-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.55;
}

/* ───────── REFERENCES ───────── */
.refs { padding: 120px 0; background: var(--sw-surface); }
.refs-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.refs-head .section-lede { margin: 0; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--sw-line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--sw-paper);
}
.client-cell {
  padding: 40px 24px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--sw-line);
  background: var(--sw-surface);
  min-height: 160px;
  transition: background var(--dur-f) var(--ease);
  position: relative;
}
.client-cell:hover { background: var(--sw-azur-pale); }
.client-cell:last-child { border-right: 0; }
.client-cell img {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--dur-m) var(--ease);
}
.client-cell:hover img { filter: grayscale(0%); opacity: 1; }
.client-cell .name {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-mute);
  opacity: 0;
  transition: opacity var(--dur-f) var(--ease);
}
.client-cell:hover .name { opacity: 1; }

/* Featured case */
.featured {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--sw-line);
}
.featured-text {
  background: linear-gradient(135deg, var(--sw-marine-darker) 0%, var(--sw-marine) 100%);
  color: #fff;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.featured-text::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(0, 146, 212, 0.4);
  right: -120px; bottom: -160px;
}
.featured-text .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sw-azur-light);
  margin-bottom: 28px;
  white-space: nowrap;
}
.featured-text .label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--sw-azur-light);
}
.featured-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: #fff;
  text-wrap: balance;
}
.featured-text h3 em { font-style: italic; font-weight: 400; color: var(--sw-azur-light); }
.featured-text p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  max-width: 38ch;
}
.featured-role {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.featured-role .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sw-azur-light);
  box-shadow: 0 0 12px var(--sw-azur);
}
.featured-visual {
  background: var(--sw-paper);
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.featured-visual .browser {
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 91, 154, 0.15);
  width: 100%;
  margin-top: auto;
  transform: translateY(40px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--sw-line-soft);
  border-bottom: 1px solid var(--sw-line);
}
.browser-bar .b-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sw-line);
}
.browser-bar .url {
  flex: 1;
  background: var(--sw-surface);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--sw-mute);
  margin-left: 10px;
}
.browser-content {
  padding: 20px;
  background: linear-gradient(180deg, var(--sw-surface), var(--sw-paper));
}
.browser-content .row {
  height: 8px;
  background: var(--sw-line-soft);
  border-radius: 4px;
  margin-bottom: 8px;
}
.browser-content .row.acc { background: linear-gradient(90deg, var(--sw-azur), var(--sw-marine)); width: 60%; }
.browser-content .grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.browser-content .tile {
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--sw-line-soft);
}
.browser-content .tile.alt { background: var(--sw-azur-pale); }
.browser-content .mpm-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--sw-line-soft);
  margin-bottom: 18px;
}
.browser-content .mpm-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.browser-content .mpm-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--sw-mute);
  letter-spacing: 0.02em;
}

.featured-stats {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 16px;
  z-index: 1;
}
.featured-stat-row { flex: 1; }
.featured-stat-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 12px rgba(0, 91, 154, 0.06);
}
.featured-stat-row .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--sw-marine);
  letter-spacing: -0.02em;
}
.featured-stat-row .v em { color: var(--sw-azur); font-style: italic; font-weight: 400; }
.featured-stat-row .l {
  font-size: 12px;
  color: var(--sw-mute);
  letter-spacing: 0.04em;
}

/* ───────── CONTACT ───────── */
.contact {
  padding: 120px 0;
  background: var(--sw-paper);
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,146,212,0.12), transparent 70%);
  left: -200px;
  bottom: -300px;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sw-marine-darker);
  margin: 16px 0 28px;
}
.contact-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--sw-azur), var(--sw-marine));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--sw-ink-soft);
  margin: 0 0 40px;
  max-width: 36ch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 0 0;
  border-top: 1px solid var(--sw-line);
}
.contact-info-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-info-row .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sw-azur-pale);
  display: grid;
  place-items: center;
  color: var(--sw-marine);
  flex: none;
}
.contact-info-row .ic svg { width: 20px; height: 20px; }
.contact-info-row .lab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sw-mute);
  margin-bottom: 4px;
}
.contact-info-row .val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--sw-marine-darker);
}
.contact-info-row a.val { transition: color var(--dur-f) var(--ease); }
.contact-info-row a.val:hover { color: var(--sw-azur); }

/* Form */
.contact-form {
  background: var(--sw-surface);
  border: 1px solid var(--sw-line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 40px rgba(0, 91, 154, 0.06);
}
.form-head {
  margin-bottom: 8px;
}
.form-head .eyebrow { margin-bottom: 12px; }
.form-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 0;
  line-height: 1.15;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sw-mute);
  letter-spacing: 0.04em;
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--sw-ink);
  background: var(--sw-paper);
  border: 1px solid var(--sw-line);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: all var(--dur-f) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--sw-azur);
  background: var(--sw-surface);
  box-shadow: 0 0 0 4px rgba(0, 146, 212, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--sw-paper);
  border: 1px solid var(--sw-line);
  color: var(--sw-ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur-f) var(--ease);
  font-family: var(--font-body);
}
.chip:hover { border-color: var(--sw-azur); color: var(--sw-marine); }
.chip.is-active {
  background: var(--sw-marine);
  border-color: var(--sw-marine);
  color: #fff;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form-submit .small {
  font-size: 12px;
  color: var(--sw-mute);
  max-width: 28ch;
}

.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success .check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-azur), var(--sw-marine));
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: #fff;
  animation: pop 400ms var(--ease) backwards;
}
.form-success .check svg { width: 30px; height: 30px; }
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.form-success h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--sw-marine-darker);
  margin: 0 0 8px;
}
.form-success p {
  font-size: 15px;
  color: var(--sw-ink-soft);
  margin: 0;
}

/* ───────── FOOTER ───────── */
.footer {
  background: var(--sw-marine-darker);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .nav-brand-text .top { color: #fff; }
.footer-brand .nav-brand-text .bot { color: var(--sw-azur-light); }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  margin: 8px 0 0;
  max-width: 32ch;
}
.footer-contact ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px !important;
}
.footer-contact li {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact li .lab {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sw-azur-light);
}
.footer-contact li a,
.footer-contact li .val {
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.footer-contact li a:hover { color: #fff; }
.footer h6 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sw-azur-light);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color var(--dur-f) var(--ease);
}
.footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .services-head, .refs-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: static; max-width: 360px; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .client-cell:nth-child(5n) { border-right: 1px solid var(--sw-line); }
  .client-cell:nth-child(3n) { border-right: 0; }
  .featured { grid-template-columns: 1fr; }
  .featured-text { padding: 40px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .form-submit { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container, .container-narrow { padding: 0 20px; }
  .hero { padding: 56px 0 80px; }
  .section-lede { font-size: 17px; }
  .approach-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-cell:nth-child(3n) { border-right: 1px solid var(--sw-line); }
  .client-cell:nth-child(2n) { border-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .featured-stats { position: static; padding: 0 0 20px; }
  .featured-visual { padding: 28px; }
  .contact-form { padding: 28px; }
}
