/* ==========================================================================
   HOUENOU — Design System v2 (modern / wow edition)
   Indigo #2d2a8c  ·  Orange #f5821f
   ========================================================================== */

:root {
  /* Brand */
  --orange:        #f5821f;
  --orange-2:      #ffa04d;
  --orange-dark:   #e06a0a;
  --orange-soft:   #fff3e6;
  --purple:        #2d2a8c;
  --purple-2:      #4a47c7;
  --purple-dark:   #211e6b;
  --navy:          #14123a;
  --navy-2:        #1b1850;
  --blue:          #4a47c7;

  /* Gradients */
  --grad-orange:   linear-gradient(135deg, #ff9d4d 0%, #f5821f 55%, #e8650a 100%);
  --grad-indigo:   linear-gradient(135deg, #4a47c7 0%, #2d2a8c 60%, #211e6b 100%);
  --grad-brand:    linear-gradient(110deg, #2d2a8c 0%, #4a47c7 45%, #f5821f 100%);
  --grad-text:     linear-gradient(100deg, #f5821f, #ff9d4d);

  /* Neutrals */
  --ink:           #171532;
  --body:          #5c5a78;
  --muted:         #8f8da8;
  --line:          #eae9f4;
  --bg:            #ffffff;
  --bg-soft:       #f2f2fa;
  --bg-soft-2:     #e7e7f2;
  --white:         #ffffff;

  /* Type */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Poppins", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  /* Shadows (colored, layered) */
  --shadow-sm: 0 4px 16px rgba(33, 30, 107, .07);
  --shadow-md: 0 16px 40px rgba(33, 30, 107, .12);
  --shadow-lg: 0 32px 80px rgba(33, 30, 107, .18);
  --glow-orange: 0 14px 34px rgba(245, 130, 31, .38);
  --glow-indigo: 0 14px 34px rgba(45, 42, 140, .30);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -.02em;
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--purple-2), var(--purple)); border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

:focus-visible { outline: 3px solid rgba(245,130,31,.55); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--soft {
  background:
    radial-gradient(rgba(45,42,140,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--bg-soft) 0%, #fbfbfd 100%);
  border-top: 1px solid rgba(45, 42, 140, 0.04);
  border-bottom: 1px solid rgba(45, 42, 140, 0.04);
}
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange); font-weight: 600; font-size: 12.5px;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px;
  padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(245,130,31,.10), rgba(245,130,31,.04));
  border: 1px solid rgba(245,130,31,.22);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-orange); box-shadow: 0 0 0 4px rgba(245,130,31,.15); }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 660px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.section-head p { font-size: 17px; }

.text-orange {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--orange);
  animation: textShimmer 5s ease-in-out infinite alternate;
}
@keyframes textShimmer { to { background-position: 100% 50%; } }
.text-purple { color: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease-bounce), box-shadow .3s var(--ease);
  white-space: nowrap; isolation: isolate;
}
.btn svg, .btn i[data-lucide] { width: 18px; height: 18px; }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary { background: var(--grad-orange); color: #fff; box-shadow: var(--glow-orange); transform: translate(var(--mgx, 0px), var(--mgy, 0px)); }
.btn--primary:hover { transform: translate(var(--mgx, 0px), var(--mgy, 0px)) translateY(-3px) scale(1.02); box-shadow: 0 20px 44px rgba(245,130,31,.5); }
.btn--primary:active { transform: translate(var(--mgx, 0px), var(--mgy, 0px)) translateY(-1px) scale(.99); }

.btn--dark { background: var(--grad-indigo); color: #fff; box-shadow: var(--glow-indigo); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(45,42,140,.42); }

.btn--ghost {
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(245,130,31,.4); color: var(--orange-dark); }

.btn--light { background: rgba(255,255,255,.13); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 34px rgba(33,30,107,.08); background: rgba(255,255,255,.88); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--ink); }
.brand__logo { height: 42px; width: auto; transition: transform .3s var(--ease-bounce); }
.brand:hover .brand__logo { transform: scale(1.05) rotate(-2deg); }
.brand--text { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--purple); letter-spacing: -.03em; }
.brand--text i { color: var(--orange); font-style: normal; }

.nav__menu { display: flex; align-items: center; gap: 8px; }
.nav__menu a {
  font-weight: 500; font-size: 15px; color: var(--ink); position: relative;
  padding: 9px 16px; border-radius: 999px; transition: color .25s, background .25s;
}
.nav__menu a:hover { color: var(--orange-dark); background: var(--orange-soft); }
.nav__menu a.active { color: var(--orange-dark); background: var(--orange-soft); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__actions .btn { padding: 12px 24px; font-size: 14px; }

/* Dropdown */
.nav__item { position: relative; }
.nav__caret { display: inline-block; margin-left: 6px; border: 4.5px solid transparent; border-top-color: currentColor; transform: translateY(2px); transition: transform .25s; }
.nav__item--drop:hover .nav__caret { transform: translateY(2px) rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 10px; min-width: 250px; opacity: 0; visibility: hidden; transition: .3s var(--ease);
}
.nav__item--drop:hover .nav__drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop a { display: flex; padding: 12px 16px; border-radius: 10px; font-size: 14px; color: var(--ink); }
.nav__drop a:hover { background: linear-gradient(100deg, var(--orange-soft), transparent); color: var(--orange-dark); padding-left: 22px; }

/* Burger */
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-soft); flex: none; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; margin: 0 auto; transition: .3s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 84px 0 104px; overflow: hidden; }

/* Layered animated background */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(720px 480px at 88% 8%,  rgba(74, 71, 199, .14), transparent 62%),
    radial-gradient(560px 420px at 4% 90%,  rgba(245, 130, 31, .12), transparent 60%),
    radial-gradient(420px 320px at 55% 110%, rgba(45, 42, 140, .08), transparent 60%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(45,42,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,42,140,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 480px at 70% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(720px 480px at 70% 20%, #000 0%, transparent 75%);
}
@keyframes heroGlow {
  0%   { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
  100% { filter: hue-rotate(-12deg) saturate(1.15); transform: scale(1.04); }
}

.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 64px; align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 22px;
}
.hero__badge .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #22c55e; position: relative; flex: none;
}
.hero__badge .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(34,197,94,.5); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.script {
  position: relative;
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: clamp(38px, 4vw, 54px); line-height: 1;
  display: inline-block; margin: 0 0 20px 6px;
  transform: rotate(-4deg); transform-origin: left center;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: scriptPop .8s var(--ease-bounce) both .15s;
}
/* Sparkle above the word */
.script::before {
  content: "✦"; position: absolute; top: -16px; left: -22px;
  font-size: 19px; -webkit-text-fill-color: var(--orange-2);
  animation: twinkle 1.9s ease-in-out infinite alternate;
}
/* Hand-drawn curved arrow pointing to the title */
.script::after {
  content: ""; position: absolute; top: 68%; right: -66px; width: 54px; height: 54px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none'%3E%3Cpath d='M8 6 C 34 8, 50 22, 46 46 M46 46 l-9 -7 M46 46 l8 -9' stroke='%23f5821f' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: twinkle 2.4s ease-in-out infinite alternate .5s;
}
@keyframes scriptPop {
  from { opacity: 0; transform: rotate(-10deg) scale(.6) translateY(10px); }
  to   { opacity: 1; transform: rotate(-4deg) scale(1) translateY(0); }
}
@keyframes twinkle {
  from { opacity: .45; transform: scale(.88) rotate(-4deg); }
  to   { opacity: 1;   transform: scale(1.06) rotate(3deg); }
}

.hero h1 { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.12; margin-bottom: 22px; }
.hero h1 .text-orange { position: relative; white-space: nowrap; }
.hero h1 .text-orange::after { /* hand-drawn underline */
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 30 2, 60 11, 118 4' fill='none' stroke='%23f5821f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero p.lead { font-size: 17.5px; max-width: 520px; margin-bottom: 14px; }
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; margin-top: 26px; }
.hero .hero__cta .btn { padding: 14px 24px; font-size: 14.5px; }
@media (max-width: 680px) { .hero__cta { flex-wrap: wrap; } }

.hero__stats { display: flex; gap: 44px; margin-top: 48px; }
.hero__stats .num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--ink); }
.hero__stats .lbl { font-size: 14px; color: var(--muted); }

/* ---------- Hero photo ---------- */
.hero__art { position: relative; }
.hero__art::before { /* soft glow behind */
  content: ""; position: absolute; inset: -8% -10%; z-index: 0;
  background: radial-gradient(closest-side, rgba(74,71,199,.16), transparent 72%);
  filter: blur(6px);
}
.hero-photo { position: relative; padding: 24px 28px 28px 0; z-index: 1; }
.hero-photo__img {
  position: relative; z-index: 2; width: 100%; border-radius: 14px;
  aspect-ratio: 4/5; object-fit: cover; background: var(--bg-soft-2);
  box-shadow: var(--shadow-lg);
}
.hero-photo__ph {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 4/5; border-radius: 14px;
  background:
    radial-gradient(300px 200px at 30% 20%, rgba(74,71,199,.18), transparent 60%),
    linear-gradient(160deg, #d7d9ee, #eef0fb);
  display: grid; place-items: center; color: var(--muted);
  font-size: 14px; text-align: center; padding: 20px; box-shadow: var(--shadow-lg);
}
.hero-photo::before {
  content: ""; position: absolute; z-index: 1; top: 0; right: 0; width: 62%; height: 34%;
  background: var(--grad-indigo); border-radius: 14px;
  animation: blockFloat 7s var(--ease) infinite;
}
.hero-photo::after {
  content: ""; position: absolute; z-index: 1; bottom: 0; right: 0; width: 34%; height: 46%;
  background: var(--grad-indigo); border-radius: 14px;
  animation: blockFloat 7s var(--ease) infinite reverse;
}
@keyframes blockFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5px,-7px); } }

.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; color: #fff;
  box-shadow: var(--shadow-md); white-space: nowrap;
  animation: chipFloat 5.5s var(--ease) infinite;
}
.chip svg, .chip i[data-lucide] { width: 18px; height: 18px; }
.chip--wp  { top: 15%; left: -7%; background: var(--grad-indigo); box-shadow: var(--glow-indigo); }
.chip--seo { top: 52%; left: -11%; background: var(--grad-indigo); box-shadow: var(--glow-indigo); animation-delay: 1.2s; }
.chip--pen { bottom: 5%; left: 30%; background: var(--grad-orange); box-shadow: var(--glow-orange); animation-delay: 2.2s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-photo .dot {
  position: absolute; z-index: 3; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-orange); top: 40%; left: 7%;
  box-shadow: 0 0 0 6px rgba(245,130,31,.18);
  animation: chipFloat 4.5s var(--ease) infinite;
}

/* ==========================================================================
   Clients card ("Parlons un peu de moi")
   ========================================================================== */
.clients-card {
  position: relative; overflow: hidden;
  background: var(--grad-indigo);
  border-radius: 22px; padding: 38px 34px; color: #fff;
  box-shadow: var(--glow-indigo);
  transition: transform .35s var(--ease);
}
.clients-card:hover { transform: translateY(-6px); }
.clients-card::before { /* orbs */
  content: ""; position: absolute; top: -70px; right: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,.45), transparent 65%);
}
.clients-card::after {
  content: ""; position: absolute; bottom: -80px; left: -50px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
}
.clients-card > * { position: relative; z-index: 1; }
.clients-card .big {
  font-family: var(--font-display); font-size: 54px; font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, #fff, #ffd9b3);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.clients-card .big + span { font-size: 16.5px; font-weight: 500; color: rgba(255,255,255,.92); display: block; margin-top: 6px; }
.clients-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 24px 0; }
.avatars { display: flex; align-items: center; margin-bottom: 26px; }
.avatars .av {
  width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.9);
  margin-left: -13px; background-size: cover; background-position: center;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  transition: transform .25s var(--ease-bounce); cursor: default;
}
.avatars .av:hover { transform: translateY(-6px) scale(1.1); z-index: 2; }
.avatars .av:first-child { margin-left: 0; }
.avatars .av--more { background: var(--grad-orange); }
.clients-card .btn { width: 100%; }

/* ==========================================================================
   Logos / skills marquee
   ========================================================================== */
.logos {
  padding: 38px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.logos__label {
  text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.logos__label::before, .logos__label::after {
  content: ""; width: 46px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--orange)); opacity: .55;
}
.logos__label::after { background: linear-gradient(-90deg, transparent, var(--orange)); }
.logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__inner { display: flex; align-items: center; gap: 74px; width: max-content; }
.logos__inner.is-marquee { animation: marquee 30s linear infinite; }
.logos__inner:hover { animation-play-state: paused; }
.logos__inner span {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .06em;
  color: #b9b7d0; display: inline-flex; align-items: center; gap: 74px; flex: none;
  transition: color .3s, transform .3s;
}
.logos__inner span:hover { color: var(--purple); transform: scale(1.06); }
.logos__inner span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-orange); opacity: .55; }
.logos__inner img {
  height: 38px; width: auto; flex: none;
  filter: grayscale(1) opacity(.55); transition: filter .35s, transform .35s;
}
.logos__inner img:hover { filter: none; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Why cards
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.why-card::before { /* top gradient bar */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.why-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-card .ic {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 22px; color: #fff; font-size: 24px;
  transition: transform .4s var(--ease-bounce);
}
.why-card:hover .ic { transform: rotate(-8deg) scale(1.1); }
.why-card .ic svg, .why-card .ic i[data-lucide] { width: 27px; height: 27px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { font-size: 15px; }

.ic--orange { background: var(--grad-orange); box-shadow: 0 10px 22px rgba(245,130,31,.32); }
.ic--purple { background: var(--grad-indigo); box-shadow: 0 10px 22px rgba(45,42,140,.30); }
.ic--blue   { background: linear-gradient(135deg, #6c8dff, #4a47c7); box-shadow: 0 10px 22px rgba(74,71,199,.30); }
.ic--navy   { background: linear-gradient(135deg, #34317e, #14123a); box-shadow: 0 10px 22px rgba(20,18,58,.30); }

/* ==========================================================================
   Services (dark gradient cards)
   ========================================================================== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 350px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
  color: #fff; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-10px) scale(1.01); box-shadow: var(--shadow-lg); }
.service-card__bg { position: absolute; inset: 0; z-index: -2; transition: transform .6s var(--ease); }
.service-card:hover .service-card__bg { transform: scale(1.06); }
.service-card::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,18,58,.0) 0%, rgba(20,18,58,.42) 55%, rgba(10,9,30,.9) 100%);
}
.service-card .ic {
  width: 58px; height: 58px; border-radius: 16px; background: var(--grad-orange);
  display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--glow-orange);
  transition: transform .4s var(--ease-bounce);
}
.service-card:hover .ic { transform: rotate(8deg) scale(1.08); }
.service-card .ic svg, .service-card .ic i[data-lucide] { width: 27px; height: 27px; color: #fff; }
.service-card h3 { color: #fff; font-size: 23px; margin-bottom: 10px; }
.service-card p { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 18px; }
.service-card a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #ffb877; font-size: 14.5px; }
.service-card a svg, .service-card a i[data-lucide] { width: 17px; height: 17px; transition: transform .3s var(--ease-bounce); }
.service-card:hover a svg, .service-card:hover a i[data-lucide] { transform: translateX(6px); }

/* ==========================================================================
   Split / About
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__art { position: relative; }
.split__art img, .split__art .frame { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__art .frame { aspect-ratio: 4/3; }
.check-list { display: grid; gap: 15px; margin: 28px 0 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--body); font-size: 15.5px; }
.check-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-orange); color: #fff;
  display: grid; place-items: center; margin-top: 2px; box-shadow: 0 6px 14px rgba(245,130,31,.3);
}
.check-list .tick svg, .check-list .tick i[data-lucide] { width: 14px; height: 14px; }
.stat-pill {
  position: absolute; bottom: 26px; left: -24px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  padding: 20px 24px; border-radius: 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.6);
}
.stat-pill .big {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-pill small { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  position: relative; overflow: hidden;
  background: var(--grad-indigo);
  border-radius: var(--radius-lg); padding: 58px 50px;
  box-shadow: var(--glow-indigo);
}
.stats-band::before {
  content: ""; position: absolute; top: -110px; right: -70px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,.5), transparent 65%);
}
.stats-band::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 26px 26px;
}
.stats-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stats-band .num {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; color: #fff;
}
.stats-band .num span:last-child { color: var(--orange-2); }
.stats-band .lbl { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 6px; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.step { text-align: center; padding: 12px; position: relative; }
.step:not(:last-child)::after { /* connector */
  content: ""; position: absolute; top: 44px; left: calc(50% + 48px); width: calc(100% - 96px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step__num {
  width: 82px; height: 82px; margin: 0 auto 24px; border-radius: 26px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff;
  background: var(--grad-indigo); box-shadow: var(--glow-indigo); position: relative;
  transition: transform .4s var(--ease-bounce);
}
.step:hover .step__num { transform: translateY(-8px) rotate(-4deg) scale(1.06); }
.step:nth-child(2) .step__num { background: var(--grad-orange); box-shadow: var(--glow-orange); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #6c8dff, #4a47c7); }
.step:nth-child(4) .step__num { background: linear-gradient(135deg, #34317e, #14123a); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.folio__filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.folio__filters button {
  padding: 11px 24px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 500; font-size: 14px; transition: .3s var(--ease);
}
.folio__filters button.active, .folio__filters button:hover {
  background: var(--grad-orange); color: #fff; border-color: transparent;
  box-shadow: var(--glow-orange); transform: translateY(-2px);
}
.folio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* Browser-window style project cards (echoes the homepage showcase, with a light footer) */
.folio-item {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.folio-item:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: rgba(245,130,31,.35); }

/* Browser chrome */
.folio-item .browser__bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 16px;
  background: #f3f3fa; border-bottom: 1px solid var(--line);
}
.folio-item .browser__bar i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.folio-item .browser__bar i:nth-child(1) { background: #ff5f57; }
.folio-item .browser__bar i:nth-child(2) { background: #febc2e; }
.folio-item .browser__bar i:nth-child(3) { background: #28c840; }
.folio-item .browser__bar span {
  margin-left: 10px; flex: 1; min-width: 0;
  background: #fff; border-radius: 999px; padding: 4px 14px;
  font-size: 11.5px; color: var(--muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .3s;
}
.folio-item:hover .browser__bar span { color: var(--orange-dark); }

/* Screenshot viewport (fallback beneath, live capture on top) */
.folio-shot {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grad-indigo);
}
.folio-shot .cover-shot {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 4.5s var(--ease);
}
.folio-item:hover .folio-shot .cover-shot { transform: scale(1.04); }
.folio-shot::after { /* sheen sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.folio-item:hover .folio-shot::after { transform: translateX(130%); }
.folio-shot .cover-fallback {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 13px; padding: 22px; text-align: center; color: #fff;
}
.folio-shot .cover-fallback::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 20px 20px;
}
.folio-shot .cover-fallback .cf-ic {
  position: relative; width: 58px; height: 58px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
}
.folio-shot .cover-fallback .cf-ic svg, .folio-shot .cover-fallback .cf-ic i[data-lucide] { width: 26px; height: 26px; }
.folio-shot .cover-fallback small {
  position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; opacity: .9;
}

/* Light footer meta */
.folio-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; }
.folio-meta small {
  display: block; color: var(--orange-dark); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .13em; margin-bottom: 4px;
}
.folio-meta h3 { color: var(--ink); font-size: 18px; }
.folio-meta .go {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--orange-soft); color: var(--orange-dark);
  display: grid; place-items: center; transition: .4s var(--ease-bounce);
}
.folio-item:hover .folio-meta .go { background: var(--grad-orange); color: #fff; transform: rotate(45deg) scale(1.08); box-shadow: var(--glow-orange); }
.folio-meta .go svg, .folio-meta .go i[data-lucide] { width: 19px; height: 19px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.testi-card::before { /* watermark quote */
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: Georgia, serif; font-size: 110px; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .16; pointer-events: none;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(245,130,31,.35); }
.testi-card .stars { color: #ffb100; margin-bottom: 16px; letter-spacing: 3px; font-size: 15px; }
.testi-card p { font-size: 15.5px; color: var(--body); margin-bottom: 24px; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.testi-card .who b { color: var(--ink); display: block; font-size: 15px; }
.testi-card .who small { color: var(--muted); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(245,130,31,.3); }
.price-card.popular {
  background: var(--grad-indigo); color: #fff; position: relative; border-color: transparent;
  box-shadow: var(--glow-indigo); overflow: hidden;
}
.price-card.popular::before {
  content: ""; position: absolute; top: -70px; right: -50px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,.4), transparent 65%);
}
.price-card.popular:hover { transform: translateY(-10px) scale(1.02); }
.price-card.popular h3, .price-card.popular .amount { color: #fff; }
.price-card .tag {
  position: absolute; top: 24px; right: 24px; background: var(--grad-orange); color: #fff;
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; box-shadow: var(--glow-orange);
}
.price-card h3 { font-size: 19px; margin-bottom: 8px; }
.price-card .amount { font-family: var(--font-display); font-size: 46px; font-weight: 800; color: var(--ink); }
.price-card .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-card .desc { font-size: 14px; margin: 8px 0 26px; }
.price-card ul { display: grid; gap: 13px; margin-bottom: 30px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.price-card ul li svg, .price-card ul li i[data-lucide] { width: 18px; height: 18px; color: var(--orange); flex: none; }
.price-card.popular ul li { color: rgba(255,255,255,.88); }
.price-card.popular ul li svg, .price-card.popular ul li i[data-lucide] { color: var(--orange-2); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 85% 0%, rgba(245,130,31,.35), transparent 60%),
    var(--grad-indigo);
  padding: 72px 64px; text-align: center; color: #fff;
  box-shadow: var(--glow-indigo);
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 26px 26px;
}
.cta::after {
  content: ""; position: absolute; bottom: -120px; left: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 580px; margin: 0 auto 34px; }
.cta .hero__cta { justify-content: center; margin-top: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; padding: 18px; border-radius: 16px; transition: background .3s, transform .3s var(--ease); }
.contact-info li:hover { background: var(--bg-soft); transform: translateX(6px); }
.contact-info .ic {
  width: 54px; height: 54px; border-radius: 16px; flex: none;
  background: var(--grad-orange); color: #fff; display: grid; place-items: center;
  box-shadow: var(--glow-orange);
}
.contact-info .ic svg, .contact-info .ic i[data-lucide] { width: 23px; height: 23px; }
.contact-info b { color: var(--ink); display: block; margin-bottom: 2px; font-family: var(--font-display); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-brand); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 13px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-soft);
  transition: .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 4px rgba(245,130,31,.14); transform: translateY(-1px);
}
.field textarea { resize: vertical; min-height: 135px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--orange); display: none; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  padding: 76px 0 68px; position: relative; overflow: hidden;
  background:
    radial-gradient(520px 340px at 90% -20%, rgba(74,71,199,0.12), transparent 62%),
    radial-gradient(420px 300px at 0% 120%, rgba(245,130,31,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg-soft));
  border-bottom: 1px solid rgba(45, 42, 140, 0.04);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,42,140,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,42,140,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(600px 360px at 80% 30%, #000, transparent 75%);
          mask-image: radial-gradient(600px 360px at 80% 30%, #000, transparent 75%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 56px); margin-bottom: 14px; }
.page-hero p { font-size: 18px; max-width: 580px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.crumbs a:hover { color: var(--orange); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 24px;
  transition: border-color .3s, box-shadow .3s;
}
.faq details[open] { border-color: rgba(245,130,31,.45); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 0; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dark);
  font-size: 20px; font-weight: 500; transition: transform .3s var(--ease-bounce), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad-orange); color: #fff; }
.faq details p { padding: 0 0 22px; font-size: 15px; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(620px 300px at 80% 0%, rgba(74,71,199,.25), transparent 60%),
    radial-gradient(420px 260px at 8% 100%, rgba(245,130,31,.14), transparent 60%),
    var(--navy);
  color: rgba(255,255,255,.68); padding: 84px 0 32px;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__about p { font-size: 15px; max-width: 330px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff; transition: .3s var(--ease);
}
.footer__social a:hover { background: var(--grad-orange); transform: translateY(-4px); box-shadow: var(--glow-orange); border-color: transparent; }
.footer__social svg, .footer__social i[data-lucide] { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 22px; }
.footer__col a { display: block; font-size: 15px; padding: 7px 0; transition: .25s; }
.footer__col a:hover { color: var(--orange-2); padding-left: 6px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 14px; flex-wrap: wrap; gap: 12px; }
.footer__bottom a:hover { color: #fff; }

/* ==========================================================================
   Scroll progress + back-to-top
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 999;
  transition: width .1s linear;
}
.to-top {
  position: fixed; right: 26px; bottom: 96px; z-index: 997;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-orange); color: #fff;
  display: grid; place-items: center; box-shadow: var(--glow-orange);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px) scale(1.06); }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Reveal animations (staggered via JS)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(5px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .section { padding: 76px 0; }
  .hero { padding: 56px 0 76px; }
  .hero__grid, .split, .contact__grid { grid-template-columns: 1fr; gap: 46px; }
  .hero__art { max-width: 470px; margin: 0 auto; }
  .split__art { max-width: 500px; margin: 0 auto; width: 100%; }
  .why__grid, .process__grid, .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid, .folio__grid, .testi__grid, .price__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stat-pill { left: 8px; }
  .step:not(:last-child)::after { display: none; }
  .clients-card { max-width: 480px; margin: 0 auto; }

  /* --- Mobile / tablet nav (burger) --- */
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 26px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .45s var(--ease);
  }
  .nav.is-open .nav__menu { transform: none; }
  .nav__menu a { padding: 14px 16px; border-radius: 12px; }
  .nav__menu > * { opacity: 0; translate: 0 -12px; transition: opacity .35s var(--ease), translate .35s var(--ease); }
  .nav.is-open .nav__menu > * { opacity: 1; translate: none; }
  .nav.is-open .nav__menu > *:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav__menu > *:nth-child(2) { transition-delay: .12s; }
  .nav.is-open .nav__menu > *:nth-child(3) { transition-delay: .16s; }
  .nav.is-open .nav__menu > *:nth-child(4) { transition-delay: .20s; }
  .nav.is-open .nav__menu > *:nth-child(5) { transition-delay: .24s; }
  .nav.is-open .nav__menu > *:nth-child(6) { transition-delay: .28s; }
  .nav__drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; background: transparent; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .nav__actions .btn--primary { display: none; }
  .why__grid, .process__grid, .stats-band__grid, .services__grid, .folio__grid, .testi__grid, .price__grid, .field--row, .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .cta { padding: 48px 26px; }
  .stats-band { padding: 44px 26px; }
  .form-card { padding: 30px 22px; }
  .stat-pill { position: static; margin-top: 18px; }
  .chip--wp { left: 0; } .chip--seo { left: 0; } .chip--pen { left: 18%; }
  .hero-photo { padding-right: 14px; }
  .to-top { right: 18px; bottom: 86px; }
}

/* ==========================================================================
   Hero v3 — carte blanche upgrade
   ========================================================================== */

/* Rotating word in the title */
.swap { display: inline-block; transition: opacity .28s var(--ease), transform .28s var(--ease); }
.swap.is-out { opacity: 0; transform: translateY(16px) skewY(3deg); }

/* Name line + waving hand */
.hero__name { font-size: 17.5px; color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.hero__name b { color: var(--purple); font-weight: 700; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave {
  0%, 55%, 100% { transform: rotate(0); }
  10% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); }
}

/* Floating deco shapes */
.hero__deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__deco i {
  position: absolute; font-style: normal; font-family: var(--font-display); font-weight: 800;
  animation: chipFloat 7s var(--ease) infinite;
}
.hero__deco .d1 { top: 15%; left: 45%; width: 16px; height: 16px; border-radius: 50%; border: 3px solid rgba(245,130,31,.55); animation-delay: .6s; }
.hero__deco .d2 { bottom: 24%; left: 3%; width: 11px; height: 11px; border-radius: 50%; background: rgba(74,71,199,.4); animation-delay: 1.6s; }
.hero__deco .d3 { top: 12%; right: 6%; font-size: 26px; color: rgba(74,71,199,.35); animation-delay: 2.4s; }
.hero__deco .d4 { bottom: 14%; right: 40%; font-size: 20px; color: rgba(245,130,31,.45); animation-delay: 3.2s; }

/* Glass chips on the photo */
.chip {
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); border: 1px solid rgba(255,255,255,.75);
  padding: 9px 18px 9px 9px; border-radius: 14px;
}
.chip .ci {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; flex: none;
}
.chip .ci svg, .chip .ci i[data-lucide] { width: 17px; height: 17px; }
.chip--wp  { background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); }
.chip--wp  .ci { background: var(--grad-indigo); }
.chip--seo { background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); animation-delay: 1.2s; }
.chip--seo .ci { background: linear-gradient(135deg, #6c8dff, #4a47c7); }
.chip--pen { background: rgba(255,255,255,.9); box-shadow: var(--shadow-md); animation-delay: 2.2s; }
.chip--pen .ci { background: var(--grad-orange); }

/* Floating mini review card */
.mini-review {
  position: absolute; z-index: 3; right: -7%; bottom: 26%;
  background: rgba(255,255,255,.93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75); border-radius: 16px;
  padding: 14px 17px; max-width: 195px; box-shadow: var(--shadow-md);
  animation: chipFloat 6.5s var(--ease) infinite; animation-delay: 1.8s;
}
.mini-review .stars { color: #ffb100; font-size: 13px; letter-spacing: 2px; }
.mini-review p { font-size: 12.5px; color: var(--ink); font-weight: 500; line-height: 1.45; margin: 5px 0 4px; }
.mini-review small { font-size: 11.5px; color: var(--muted); }

/* Scroll indicator */
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 27px; height: 44px; border: 2px solid rgba(23,21,50,.22); border-radius: 999px;
  transition: border-color .3s;
}
.hero__scroll:hover { border-color: var(--orange); }
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 5px; height: 8px; margin-left: -2.5px;
  border-radius: 999px; background: var(--grad-orange);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 980px) {
  .mini-review { right: 0; }
  .hero__deco .d3, .hero__deco .d4 { display: none; }
}
@media (max-width: 680px) {
  .hero__scroll, .hero__deco { display: none; }
  .mini-review { right: -4px; bottom: 6%; max-width: 170px; }
}

/* ==========================================================================
   Showcase (réalisations — accueil)
   ========================================================================== */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.show-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.show-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-color: rgba(245,130,31,.35); }

/* Browser mockup */
.browser { display: flex; flex-direction: column; flex: 1; }
.browser__bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 16px;
  background: #f3f3fa; border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.browser__bar i:nth-child(1) { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span {
  margin-left: 10px; flex: 1; max-width: 250px;
  background: #fff; border-radius: 999px; padding: 3px 14px;
  font-size: 11.5px; color: var(--muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__body { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; } /* matches mShots 4:3 captures — no cropping */
.browser__body::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 20px 20px;
}
.browser__body::after { /* sheen sweep on hover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.show-card:hover .browser__body::after { transform: translateX(130%); }

/* Live screenshot inside the mockup — the capture scrolls down on hover */
.browser__body .shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: object-position 6s var(--ease);
}
.show-card:hover .browser__body .shot { object-position: bottom center; }

/* Page skeleton inside the mockup */
.sk { position: absolute; background: rgba(255,255,255,.85); border-radius: 8px; transition: transform .5s var(--ease); }
.sk-nav   { top: 18px; left: 22px; right: 22px; height: 12px; opacity: .9; }
.sk-title { top: 54px; left: 22px; width: 52%; height: 22px; }
.sk-text  { top: 90px; left: 22px; width: 64%; height: 10px; opacity: .65; }
.sk-text2 { top: 108px; left: 22px; width: 54%; height: 10px; opacity: .45; }
.sk-btn   { top: 136px; left: 22px; width: 112px; height: 32px; background: rgba(23,21,50,.85); border-radius: 999px; }
.sk-img   { top: 54px; right: 22px; width: 28%; height: 114px; opacity: .8; }
.show-card:hover .sk { transform: translateY(-7px); }
.show-card:hover .sk-title { transition-delay: .05s; }
.show-card:hover .sk-text  { transition-delay: .1s; }
.show-card:hover .sk-text2 { transition-delay: .14s; }
.show-card:hover .sk-btn   { transition-delay: .18s; }
.show-card:hover .sk-img   { transition-delay: .08s; }

.show-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 19px 24px; }
.show-card__meta small {
  display: block; color: var(--orange-dark); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .13em; margin-bottom: 4px;
}
.show-card__meta h3 { font-size: 18.5px; }
.show-card .go {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--orange-soft); color: var(--orange-dark);
  display: grid; place-items: center;
  transition: .4s var(--ease-bounce);
}
.show-card:hover .go { background: var(--grad-orange); color: #fff; transform: rotate(45deg) scale(1.08); box-shadow: var(--glow-orange); }
.show-card .go svg, .show-card .go i[data-lucide] { width: 20px; height: 20px; }

/* CTA banner under showcase */
.showcase-cta {
  position: relative; overflow: hidden; margin-top: 26px;
  display: flex; align-items: center; gap: 30px;
  padding: 36px 42px; border-radius: 22px;
  background: var(--grad-indigo); color: #fff; box-shadow: var(--glow-indigo);
}
.showcase-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 24px 24px;
}
.showcase-cta::after {
  content: ""; position: absolute; top: -80px; right: 12%; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,31,.45), transparent 65%);
}
.showcase-cta > * { position: relative; z-index: 1; }
.showcase-cta .big {
  font-family: var(--font-display); font-size: clamp(42px, 5vw, 60px); font-weight: 800; line-height: 1; flex: none;
  background: linear-gradient(100deg, #fff, #ffd9b3);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.showcase-cta p { flex: 1; color: rgba(255,255,255,.88); font-size: 16.5px; }
.showcase-cta .btn { flex: none; }

/* ==========================================================================
   Mega marquee (outlined scrolling headline)
   ========================================================================== */
.mega-marquee { overflow: hidden; padding: 30px 0 90px; user-select: none; }
.mega-marquee__track { display: flex; width: max-content; animation: marquee 18s linear infinite; }
.mega-marquee:hover .mega-marquee__track { animation-play-state: paused; }
.mega-marquee span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 7vw, 86px); line-height: 1.15; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(45, 42, 140, .30);
}
.mega-marquee b {
  -webkit-text-stroke: 0;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Hero photo 3D tilt
   ========================================================================== */
.hero__art { perspective: 1100px; }
.hero-photo { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out; }

@media (max-width: 980px) {
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .showcase-cta { flex-direction: column; text-align: center; padding: 34px 26px; }
}
@media (max-width: 680px) {
  .showcase { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ==========================================================================
   Timeline — parcours académique
   ========================================================================== */
/* ==========================================================================
   Timeline — double parcours avec symbole </>
   ========================================================================== */
.dual-timeline-container {
  position: relative;
  max-width: 1040px;
  margin: 60px auto 0;
  padding-top: 20px;
}
.dual-timeline-grid {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 20px;
  align-items: stretch;
}
.timeline-code-center {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.timeline-code-svg {
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: visible;
}
.path-chevron-left, .path-chevron-right, .path-slash {
  transition: stroke-width .35s var(--ease), stroke .35s var(--ease), filter .35s var(--ease);
}
.path-chevron-left {
  filter: drop-shadow(0 0 5px rgba(245,130,31,0.25));
}
.path-chevron-right {
  filter: drop-shadow(0 0 5px rgba(74,71,199,0.25));
}

/* Hover highlights using CSS :has() */
.dual-timeline-grid:has(.timeline-col--academic:hover) .path-chevron-left {
  filter: drop-shadow(0 0 12px rgba(245,130,31,0.65));
  stroke: var(--orange-2);
  stroke-width: 7.5px;
}
.dual-timeline-grid:has(.timeline-col--professional:hover) .path-chevron-right {
  filter: drop-shadow(0 0 12px rgba(74,71,199,0.65));
  stroke: #6c8dff;
  stroke-width: 7.5px;
}

.timeline-col {
  display: flex;
  flex-direction: column;
}
.timeline-col-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.timeline-col--academic .timeline-col-title {
  justify-content: flex-end;
}
.timeline-col--academic .timeline-col-title i {
  color: var(--orange);
  order: 2;
}
.timeline-col--professional .timeline-col-title {
  justify-content: flex-start;
}
.timeline-col--professional .timeline-col-title i {
  color: var(--purple-2);
}

.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.timeline-track .tl-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  z-index: 2;
}
.timeline-track .tl-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Connecting lines and dots to the center chevrons */
.timeline-track .tl-card::after {
  content: "";
  position: absolute;
  top: 32px;
  width: 64px;
  height: 2px;
  background: var(--line);
  transition: background .35s;
  z-index: -1;
}
.timeline-track .tl-card::before {
  content: "";
  position: absolute;
  top: 27px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 3;
  transition: transform .35s var(--ease-bounce), background .35s, box-shadow .35s;
}

/* Left column specific (Academic -> connects to <) */
.timeline-col--academic .tl-card::after {
  right: -64px;
}
.timeline-col--academic .tl-card::before {
  right: -70px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245,130,31,.18);
}
.timeline-col--academic .tl-card:hover::after {
  background: var(--orange-2);
}
.timeline-col--academic .tl-card:hover::before {
  transform: scale(1.36);
  background: var(--orange-2);
  box-shadow: 0 0 0 6px rgba(245,130,31,.28);
}

/* Right column specific (Professional -> connects to >) */
.timeline-col--professional .tl-card::after {
  left: -64px;
}
.timeline-col--professional .tl-card::before {
  left: -70px;
  background: var(--purple-2);
  box-shadow: 0 0 0 4px rgba(74,71,199,.18);
}
.timeline-col--professional .tl-card:hover::after {
  background: var(--purple-2);
}
.timeline-col--professional .tl-card:hover::before {
  transform: scale(1.36);
  background: #6c8dff;
  box-shadow: 0 0 0 6px rgba(74,71,199,.28);
}

.tl-year {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.timeline-col--academic .tl-year {
  background: rgba(245,130,31,.07);
  color: var(--orange-dark);
}
.timeline-col--professional .tl-year {
  background: rgba(74,71,199,.06);
  color: var(--purple-2);
}

.tl-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.tl-card p {
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .timeline-code-center {
    display: none;
  }
  .dual-timeline-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .timeline-track {
    position: relative;
    padding-left: 36px;
  }
  .timeline-track::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 15px;
    width: 3px;
    border-radius: 3px;
  }
  .timeline-col--academic .timeline-track::before {
    background: linear-gradient(180deg, var(--orange), rgba(245,130,31,0.15));
  }
  .timeline-col--professional .timeline-track::before {
    background: linear-gradient(180deg, var(--purple-2), rgba(74,71,199,0.15));
  }
  .timeline-col-title {
    justify-content: flex-start !important;
    margin-bottom: 24px;
  }
  .timeline-col--academic .timeline-col-title i {
    order: 0;
  }
  
  /* Reset connector lines on mobile to connect left */
  .timeline-col--academic .tl-card::after,
  .timeline-col--professional .tl-card::after {
    left: -26px;
    right: auto;
    width: 26px;
  }
  .timeline-col--academic .tl-card::before,
  .timeline-col--professional .tl-card::before {
    left: -32px;
    right: auto;
    background: var(--purple-2);
    box-shadow: 0 0 0 4px rgba(74,71,199,.18);
  }
  .timeline-col--academic .tl-card::before {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(245,130,31,.18);
  }
}

/* ==========================================================================
   Services Carousel
   ========================================================================== */
.services-carousel-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}
.services-carousel {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 34px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.services-carousel::-webkit-scrollbar {
  display: none;
}
.services-carousel .service-card {
  flex: 0 0 350px;
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 10;
  transition: transform .3s, background .3s, border-color .3s;
}
.carousel-btn:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn--prev {
  left: -24px;
}
.carousel-btn--next {
  right: -24px;
}
@media (max-width: 1200px) {
  .carousel-btn--prev { left: 4px; }
  .carousel-btn--next { right: 4px; }
}
@media (max-width: 680px) {
  .services-carousel .service-card {
    flex: 0 0 290px;
  }
  .carousel-btn {
    display: none;
  }
}

/* ==========================================================================
   Personal Projects Grid
   ========================================================================== */
.personal-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1040px;
  margin: 0 auto;
}
.personal-projects-grid .project-card--full {
  grid-column: span 2;
}
@media (max-width: 860px) {
  .personal-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .personal-projects-grid .project-card--full {
    grid-column: auto;
  }
}

/* ==========================================================================
   Testimonials slider (infinite auto-scroll)
   ========================================================================== */
.testi-slider {
  overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.testi-track { display: flex; gap: 26px; width: max-content; }
.testi-track.is-marquee { animation: marquee 52s linear infinite; }
.testi-slider:hover .testi-track { animation-play-state: paused; }
.testi-track .testi-card { width: 390px; flex: none; }
@media (max-width: 680px) { .testi-track .testi-card { width: 300px; } }

/* ==========================================================================
   Background Decorative Watermarks
   ========================================================================== */
.watermark-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  user-select: none;
}
.watermark-icon,
.watermark-text {
  position: absolute;
  color: var(--purple-2);
  opacity: 0.045;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}
.watermark-icon.wm--orange,
.watermark-text.wm--orange {
  color: var(--orange);
  opacity: 0.04;
}
.watermark-icon svg,
.watermark-icon i[data-lucide] {
  width: 100%;
  height: 100%;
}

/* Positionnements spécifiques */
.wm-left-1 { top: 12%; left: -3%; font-size: 150px; }
.wm-right-1 { bottom: 10%; right: -2%; width: 140px; height: 140px; transform: rotate(-15deg); }
.wm-center-1 { top: 40%; left: 10%; width: 100px; height: 100px; transform: rotate(10deg); }
.wm-left-2 { top: 25%; left: 4%; font-size: 160px; }
.wm-right-2 { bottom: 15%; right: 4%; width: 130px; height: 130px; transform: rotate(20deg); }
.wm-top-3 { top: 5%; right: 8%; width: 120px; height: 120px; transform: rotate(-8deg); }
.wm-bottom-3 { bottom: 8%; left: 6%; font-size: 140px; }
.wm-wp-1 { top: 15%; right: -3%; width: 150px; height: 150px; }
.wm-sec-1 { bottom: 12%; left: -2%; width: 120px; height: 120px; transform: rotate(15deg); }

/* ==========================================================================
   Clickable service cards ("En savoir plus")
   ========================================================================== */
a.why-card { color: inherit; }
.why-card .more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-weight: 600; font-size: 14px; color: var(--orange-dark);
}
.why-card .more svg, .why-card .more i[data-lucide] {
  width: 16px; height: 16px; transition: transform .3s var(--ease-bounce);
}
a.why-card:hover .more svg, a.why-card:hover .more i[data-lucide] { transform: translateX(5px); }

/* ==========================================================================
   Wow pass — page transitions, cursor glow, parallax & micro-interactions
   ========================================================================== */

/* Page fade in/out (JS adds .page-leave before navigating) */
@keyframes pageIn { from { opacity: 0; } }
body { animation: pageIn .55s var(--ease); }
body.page-leave { opacity: 0; transition: opacity .26s var(--ease); }

/* Anchored sections clear the sticky header */
[id] { scroll-margin-top: 100px; }

/* Header compacts subtly on scroll */
.nav { transition: height .35s var(--ease); }
.header.is-scrolled .nav { height: 66px; }
.header .brand__logo { transition: transform .3s var(--ease-bounce), height .35s var(--ease); }
.header.is-scrolled .brand__logo { height: 34px; }

/* Cursor-following glow on light cards (JS sets --mx/--my) */
.price-card { position: relative; }
.why-card::after, .testi-card::after, .price-card::after, .show-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(245,130,31,.13), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.why-card:hover::after, .testi-card:hover::after, .price-card:hover::after, .show-card:hover::after { opacity: 1; }

/* Watermarks drift gently on scroll (JS sets --wy) */
.watermark-bg > * { translate: 0 var(--wy, 0px); }

/* Big icons float inside split frames (service pages / about) */
.split__art .frame svg { animation: chipFloat 6.5s var(--ease) infinite; }

/* FAQ answers slide open */
@keyframes fadeUp { from { opacity: 0; transform: translateY(-8px); } }
.faq details[open] p { animation: fadeUp .45s var(--ease); }

/* Form status appears smoothly */
.form-status { animation: fadeUp .5s var(--ease); }

/* Portfolio filter pop-in */
@keyframes folioIn { from { opacity: 0; transform: scale(.92) translateY(12px); } }
.folio-item.folio-pop { animation: folioIn .5s var(--ease); }

/* Custom select chevron */
.field select, .field select:focus {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8da8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
  padding-right: 44px; cursor: pointer;
}

/* Back-to-top scroll progress ring (JS sets --sp 0..100) */
.to-top::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(var(--orange-2) calc(var(--sp, 0) * 1%), rgba(245,130,31,.18) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
}

/* ==========================================================================
   Tech stack tags (about page)
   ========================================================================== */
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tech-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 13.5px; color: var(--ink);
  transition: transform .3s var(--ease-bounce), border-color .3s, color .3s, box-shadow .3s;
}
.tech-tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-orange); flex: none; }
.tech-tags span:hover { transform: translateY(-3px); border-color: rgba(245,130,31,.5); color: var(--orange-dark); box-shadow: var(--shadow-sm); }

/* Certification list check icons stay compact */
.cert-list .tick { background: var(--grad-indigo); box-shadow: 0 6px 14px rgba(45,42,140,.3); }

/* ==========================================================================
   Testimonials — video playlist
   ========================================================================== */
.vplaylist { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: start; }
.vplaylist__main { display: flex; flex-direction: column; gap: 16px; }
.vplayer {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grad-indigo); box-shadow: var(--shadow-md);
}
.vplayer iframe, .vplayer video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: #fff;
}
.vplayer__placeholder::before { /* dotted texture */
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px;
}
.vplayer__placeholder b { position: relative; font-family: var(--font-display); font-size: 19px; }
.vplayer__placeholder small { position: relative; font-size: 13.5px; opacity: .82; max-width: 340px; }
.vplay {
  position: relative; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-orange); box-shadow: var(--glow-orange);
}
.vplay::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(245,130,31,.5); animation: pulse 2s ease-out infinite;
}
.vplay svg, .vplay i[data-lucide] { width: 30px; height: 30px; }
.vplayer__caption { min-height: 22px; }
.vplayer__caption b { color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.vplayer__caption span { color: var(--muted); font-size: 14px; margin-left: 10px; }

.vplaylist__list {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 460px; overflow-y: auto; padding: 2px;
  scrollbar-width: thin;
}
.vplaylist__label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.vitem {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 11px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.vitem:hover { transform: translateY(-2px); border-color: rgba(245,130,31,.45); box-shadow: var(--shadow-sm); }
.vitem.active { background: var(--orange-soft); border-color: rgba(245,130,31,.5); }
.vitem__thumb {
  position: relative; flex: none; width: 76px; height: 54px; border-radius: 11px;
  background: var(--grad-indigo); display: grid; place-items: center; color: #fff; overflow: hidden;
}
.vitem__thumb::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,58,.15); }
.vitem__thumb svg, .vitem__thumb i[data-lucide] { position: relative; z-index: 1; width: 22px; height: 22px; }
.vitem.active .vitem__thumb { background: var(--grad-orange); }
.vitem__meta { min-width: 0; }
.vitem__meta b { display: block; color: var(--ink); font-size: 15px; }
.vitem__meta small { color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .vplaylist { grid-template-columns: 1fr; }
  .vplaylist__list { max-height: none; }
}

/* ==========================================================================
   Legal pages (mentions légales / confidentialité)
   ========================================================================== */
.legal { max-width: 820px; margin: 0 auto; }
.legal .intro { font-size: 16.5px; color: var(--body); margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 40px; }
.legal h2 {
  font-size: 22px; margin: 40px 0 14px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legal h2 .num { color: var(--orange); font-family: var(--font-display); margin-right: 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p { font-size: 15.5px; margin-bottom: 12px; }
.legal ul { display: grid; gap: 9px; margin: 4px 0 16px; }
.legal ul li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; }
.legal ul li::before {
  content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px;
  border-radius: 50%; background: var(--grad-orange);
}
.legal a { color: var(--purple); font-weight: 600; }
.legal a:hover { color: var(--orange-dark); }
.legal .todo { color: var(--orange-dark); background: var(--orange-soft); padding: 1px 7px; border-radius: 6px; font-weight: 600; font-size: 14px; }

/* ==========================================================================
   Final polish — senior-grade details
   ========================================================================== */

/* Balanced heading wrapping (no orphan words) */
h1, h2, h3 { text-wrap: balance; }

/* Hero content cascades in, line by line */
.hero__content > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero__content.in > * { opacity: 1; transform: none; }
.hero__content.in > *:nth-child(2) { transition-delay: .1s; }
.hero__content.in > *:nth-child(3) { transition-delay: .2s; }
.hero__content.in > *:nth-child(4) { transition-delay: .3s; }
.hero__content.in > *:nth-child(5) { transition-delay: .42s; }

/* Footer column headings carry the brand accent */
.footer__col h4::after {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--grad-orange); margin-top: 9px;
}

/* Breadcrumb links get a sliding underline */
.crumbs a { position: relative; }
.crumbs a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--orange); transition: right .3s var(--ease);
}
.crumbs a:hover::after { right: 0; }

/* Buttons: arrow icons nudge forward on hover */
.btn i[data-lucide="arrow-right"], .btn svg[data-lucide="arrow-right"] { transition: transform .3s var(--ease-bounce); }
.btn:hover i[data-lucide="arrow-right"], .btn:hover svg[data-lucide="arrow-right"] { transform: translateX(4px); }

/* ==========================================================================
   Floating chat assistant
   ========================================================================== */
.chat-launcher {
  position: fixed; right: 26px; bottom: 26px; z-index: 998;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad-indigo); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--glow-indigo);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.chat-launcher:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px rgba(45,42,140,.45); }
.chat-launcher svg, .chat-launcher i[data-lucide] { width: 26px; height: 26px; }
.chat-launcher .chat-dot {
  position: absolute; top: 4px; right: 4px; width: 13px; height: 13px;
  border-radius: 50%; background: #22c55e; border: 2.5px solid #fff;
}
.chat-launcher .ico-close { display: none; }
.chat-open .chat-launcher .ico-chat { display: none; }
.chat-open .chat-launcher .ico-close { display: block; }
.chat-open .chat-launcher .chat-dot { display: none; }

.chat-panel {
  position: fixed; right: 26px; bottom: 98px; z-index: 998;
  width: 372px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100dvh - 132px);
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.chat-open .chat-panel { opacity: 1; visibility: visible; transform: none; }

.chat-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--grad-indigo); color: #fff; }
.chat-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid rgba(255,255,255,.55); flex: none; }
.chat-head b { font-family: var(--font-display); font-size: 15.5px; display: block; line-height: 1.3; }
.chat-head small { font-size: 12px; opacity: .88; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }

.chat-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-soft); scrollbar-width: thin;
}
.chat-msg {
  max-width: 86%; padding: 11px 14px; border-radius: 16px;
  font-size: 13.8px; line-height: 1.55;
  animation: chatIn .35s var(--ease) both;
}
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } }
.chat-msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--body); align-self: flex-start; }
.chat-msg.bot b { color: var(--ink); }
.chat-msg.user { background: var(--grad-orange); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; box-shadow: 0 6px 16px rgba(245,130,31,.25); }

.chat-msg.chat-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-msg.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); font-style: normal; animation: chatDot 1s ease-in-out infinite; }
.chat-msg.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }

.chat-msg .chat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-msg .chat-links a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-dark);
  font-weight: 600; font-size: 12.5px;
  transition: background .25s, color .25s, transform .25s;
}
.chat-msg .chat-links a:hover { background: var(--grad-orange); color: #fff; transform: translateY(-2px); }
.chat-msg .chat-links a svg, .chat-msg .chat-links a i[data-lucide] { width: 15px; height: 15px; }

.chat-quick { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 16px 15px; background: #fff; border-top: 1px solid var(--line); }
.chat-quick button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.chat-quick button:hover { border-color: rgba(245,130,31,.55); color: var(--orange-dark); background: var(--orange-soft); transform: translateY(-2px); }
.chat-quick button svg, .chat-quick button i[data-lucide] { width: 15px; height: 15px; flex: none; }
.chat-quick button:hover svg, .chat-quick button:hover i[data-lucide] { color: var(--orange); }

@media (max-width: 680px) {
  .chat-launcher { right: 18px; bottom: 18px; width: 54px; height: 54px; }
  .chat-panel { right: 16px; bottom: 84px; height: 500px; max-height: calc(100dvh - 104px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero__content > * { opacity: 1; transform: none; }
}
