/* ══════════════════════════════════════════════════════
   AS Studio — Premium UI v2
   Style Apple / Linear / Stripe · Dark Tech
   ══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
  --bg:           #050A14;
  --surface:      #0D1626;
  --surface-2:    #131F35;
  --navy:         #0A1120;
  --accent:       #7C3AED;
  --accent-pale:  rgba(124,58,237,.12);
  --accent-light: rgba(124,58,237,.25);
  --accent-hover: #6D28D9;
  --signal:       #10B981;
  --signal-pale:  rgba(16,185,129,.12);
  --text:         #F1F5F9;
  --muted:        #64748B;
  --muted-light:  #94A3B8;
  --border:       #1E293B;
  --border-light: #2D3F5A;
  --shadow:       0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:    0 8px 48px rgba(0,0,0,.6);
  --shadow-glow:  0 8px 40px rgba(124,58,237,.2);
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  /* Easing curves */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shorthand transitions */
  --t:      .22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: .42s cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass-bg:     rgba(13, 22, 38, 0.55);
  --glass-border: rgba(255, 255, 255, 0.07);
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Starfield canvas — fixed behind all content */
#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}

main {
  position: relative;
  z-index: 1;
}

/* ── Typography ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .7;
}

.section-title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -.02em;
}

.section-sub {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--muted-light);
  max-width: 540px;
  line-height: 1.7;
}

.section-header { margin-bottom: 60px; }

/* ── Layout helpers ─────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97) !important;
  transition-duration: .08s !important;
}

/* Shimmer sweep on primary */
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .55s var(--ease);
  pointer-events: none;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.55);
}
.btn--primary:hover::before {
  left: 150%;
}

.btn--ghost {
  background: transparent;
  color: var(--muted-light);
  border: 1.5px solid var(--border-light);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
  box-shadow: 0 0 0 4px rgba(124,58,237,.07);
}

.btn--full { width: 100%; justify-content: center; }

/* Ripple element (added by JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  transform: scale(0);
  animation: rippleAnim .65s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4.5); opacity: 0; }
}

/* ── Tags ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 20px;
  background: var(--accent-pale);
  color: #A78BFA;
  border: 1px solid rgba(124,58,237,.25);
  transition: background var(--t), border-color var(--t), transform var(--t);
  cursor: default;
}
.tag:hover {
  background: var(--accent-light);
  border-color: rgba(124,58,237,.45);
  transform: translateY(-1px);
}

.tag-sm {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--muted-light);
  border: 1px solid var(--border);
  transition: border-color var(--t), color var(--t);
}
.tag-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   CONFETTI / STAR PARTICLES  (added by JS on form success)
   ═══════════════════════════════════════════════════════ */
.confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  animation: confettiBurst var(--cp-dur, 900ms) var(--ease-out) forwards;
  transform-origin: center;
}
.confetti-particle.square { border-radius: 2px; }
.confetti-particle.star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes confettiBurst {
  0%   { transform: translate(0, 0) rotate(0deg) scale(0);   opacity: 1; }
  15%  { transform: translate(calc(var(--tx)*.2), calc(var(--ty)*.2)) rotate(calc(var(--rot)*.2)) scale(1.3); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background var(--t-slow), box-shadow var(--t-slow), backdrop-filter var(--t-slow);
}

.navbar.scrolled {
  background: rgba(5,10,20,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.3);
}

.navbar__inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
  flex-shrink: 0;
  transition: opacity var(--t);
}
.navbar__brand:hover { opacity: .85; }

.navbar__logo-img { height: 32px; width: auto; }
.navbar__logo-fallback {
  display: none;
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.navbar__wordmark { color: var(--text); letter-spacing: -.01em; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.navbar__link {
  font-size: .88rem;
  color: var(--muted-light);
  font-weight: 400;
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .28s var(--ease);
  border-radius: 2px;
}
.navbar__link:hover { color: var(--text); }
.navbar__link:hover::after,
.navbar__link.active::after { width: 100%; }
.navbar__link.active { color: var(--text); }

.navbar__tel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-pale);
  border: 1px solid rgba(124,58,237,.3);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  flex-shrink: 0;
}
.navbar__tel:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
  transform: translateY(-1px);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 20, 0.97);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__close {
  position: absolute;
  top: 20px; right: 24px;
  color: var(--muted-light);
  padding: 10px;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t), transform var(--t);
}
.mobile-menu__close:hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
  transform: rotate(90deg);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 40px;
}

.mobile-menu__link {
  font-size: 2.2rem;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  color: var(--muted-light);
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t), transform var(--t);
}
.mobile-menu__link:hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
  transform: translateX(6px);
}

.mobile-menu__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: background var(--t);
}
.mobile-menu__tel:hover { background: var(--accent-pale); }

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0,0,0,.5);
  display: none;
}
.mobile-menu__overlay.visible { display: block; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  text-align: center;
  overflow: hidden;
  padding: 130px 32px 90px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100svh;
  }
}

/* Dot grid background */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(124,58,237,.2) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: gridDrift 28s linear infinite;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 38px 38px; }
}

/* Primary glow blob */
.hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.13) 0%, transparent 68%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
/* Secondary ambient glow */
.hero__glow::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.07) 0%, transparent 70%);
  top: 50%; left: 60%;
  transform: translate(-50%,-50%);
  animation: glowPulse 8s ease-in-out 2s infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.14); }
}

/* Vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 38%, var(--bg) 82%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted-light);
  background: rgba(13,22,38,.7);
  border: 1px solid var(--border-light);
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 36px;
  letter-spacing: .05em;
  animation: fadeDown .6s var(--ease) .1s both;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--t), background var(--t);
}
.hero__badge:hover {
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.08);
}

.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
  animation: signalPulse 2s ease-in-out infinite;
}
@keyframes signalPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50%       { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}

.hero__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 22px;
  min-height: 1.2em;
  animation: fadeUp .75s var(--ease) .2s both;
  letter-spacing: -.03em;
}

.tw-cursor {
  display: inline-block;
  width: 3px;
  height: .85em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  border-radius: 2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero__meta {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 18px;
  animation: fadeUp .7s var(--ease) .3s both;
}

.hero__sub {
  font-size: 1.08rem;
  color: var(--muted-light);
  line-height: 1.75;
  margin-bottom: 44px;
  animation: fadeUp .7s var(--ease) .38s both;
}

.hero__zone {
  color: var(--muted);
  font-size: .9rem;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp .7s var(--ease) .48s both;
}

/* Hero stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeUp .7s var(--ease) .58s both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  transition: transform var(--t);
}
.hero__stat:hover { transform: translateY(-2px); }

.hero__stat-num {
  font-family: 'IBM Plex Serif', serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.hero__stat-unit {
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
  margin-left: 2px;
}

.hero__stat-label {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: .04em;
}

.hero__stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  z-index: 2;
  animation: fadeUp .5s var(--ease) .9s both, scrollBounce 2.2s var(--ease) 1.6s infinite;
  transition: color var(--t);
  padding: 8px;
  border-radius: 50%;
}
.hero__scroll:hover { color: var(--accent); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   PROFIL
   ═══════════════════════════════════════════════════════ */
.profil {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.profil__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.profil__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profil__photo-frame {
  width: 260px; height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border), 0 24px 64px rgba(0,0,0,.6);
  position: relative;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.profil__photo-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(124,58,237,.3), 0 32px 80px rgba(0,0,0,.7), var(--shadow-glow);
}
.profil__photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(124,58,237,.18) 100%);
  z-index: 1;
  pointer-events: none;
}

.profil__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.profil__photo-frame:hover .profil__photo { transform: scale(1.04); }

.profil__photo-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--surface-2);
  font-family: 'IBM Plex Serif', serif;
}

.profil__cert-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--signal);
  background: var(--signal-pale);
  border: 1px solid rgba(16,185,129,.25);
  padding: 8px 18px;
  border-radius: 30px;
  transition: background var(--t), box-shadow var(--t);
}
.profil__cert-badge:hover {
  background: rgba(16,185,129,.18);
  box-shadow: 0 4px 20px rgba(16,185,129,.2);
}

.profil__name {
  font-family: 'IBM Plex Serif', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -.025em;
}

.profil__role {
  font-size: .88rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.profil__bio {
  color: var(--muted-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.profil__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  background: rgba(13, 22, 38, 0.88);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

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

.svc-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
  overflow: hidden;
}

/* Left accent bar */
.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--accent), rgba(124,58,237,0));
  transition: height .4s var(--ease);
  border-radius: 3px 0 0 3px;
}
.svc-card:hover::before { height: 100%; }

/* Top shimmer on hover */
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.svc-card:hover::after { opacity: 1; }

.svc-card:hover {
  border-color: rgba(124,58,237,.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(124,58,237,.15), 0 4px 16px rgba(0,0,0,.3);
}

.svc-card--featured {
  background: rgba(19, 31, 53, 0.8);
  border-color: rgba(124,58,237,.35);
  box-shadow: 0 8px 40px rgba(124,58,237,.12);
}
.svc-card--featured::before { height: 100%; }
.svc-card--featured::after { opacity: 1; }

.svc-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--signal-pale);
  border: 1px solid rgba(16,185,129,.25);
  padding: 4px 10px;
  border-radius: 20px;
}

.svc-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--ease-spring) var(--t), box-shadow var(--t);
}
.svc-card:hover .svc-card__icon { transform: scale(1.08); }
.svc-card__icon--web    { background: rgba(124,58,237,.14); color: var(--accent); }
.svc-card__icon--cyber  { background: rgba(16,185,129,.14); color: var(--signal);
  box-shadow: 0 0 0 1px rgba(16,185,129,.2); }
.svc-card__icon--support{ background: rgba(148,163,184,.09); color: var(--muted-light); }

.svc-card__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.svc-card__desc {
  font-size: .9rem;
  color: var(--muted-light);
  line-height: 1.68;
  margin-bottom: 22px;
}

.svc-card__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.svc-card__list li {
  font-size: .85rem;
  color: var(--muted-light);
  padding-left: 20px;
  position: relative;
  transition: color var(--t), padding-left var(--t);
}
.svc-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .65;
  transition: opacity var(--t), transform var(--t);
}
.svc-card:hover .svc-card__list li::before {
  opacity: 1;
  transform: scale(1.2);
}

.svc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--t), color var(--t);
}
.svc-card__cta::after { content: '→'; transition: transform var(--t); }
.svc-card:hover .svc-card__cta::after { transform: translateX(5px); }
.svc-card--featured .svc-card__cta { color: var(--signal); }

/* ═══════════════════════════════════════════════════════
   PROJETS — browser frames
   ═══════════════════════════════════════════════════════ */
.projets {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

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

.projet-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  cursor: default;
}

/* Browser frame shell */
.browser-frame {
  border-radius: 12px 12px 8px 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.projet-card:hover .browser-frame {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(124,58,237,.25), 0 0 40px rgba(124,58,237,.1);
}

.browser-bar {
  background: #0F1D2F;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28C840; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: .68rem;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: monospace;
  margin: 0 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-body { height: 200px; overflow: hidden; }

/* ── Mockup 1 : RestoCiel ── */
.bb--resto { background: #0B1219; display: flex; flex-direction: column; }
.bb__nav {
  height: 22px; background: #13202E;
  display: flex; align-items: center; gap: 16px; padding: 0 12px;
}
.bb__nav span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.bb__nav span:nth-child(1) { width: 40px; }
.bb__nav span:nth-child(2) { width: 28px; }
.bb__nav span:nth-child(3) { width: 48px; margin-left: auto; background: #7C3AED; border-radius: 4px; }
.bb__hero-resto {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding: 0 18px;
  background: linear-gradient(135deg, #0B1A10 0%, #1A3B20 100%);
  gap: 7px;
}
.bb__h-label { width: 50px; height: 4px; border-radius: 2px; background: rgba(196,160,80,.6); }
.bb__h-title { width: 130px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.85); }
.bb__h-sub   { width: 90px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.bb__h-btn   { width: 68px; height: 16px; border-radius: 4px; background: #C4A050; margin-top: 4px; }
.bb__cards-row {
  display: flex; gap: 6px; padding: 10px 12px;
  background: #0B1219;
}
.bb__card--resto {
  flex: 1; height: 40px; border-radius: 6px;
  background: linear-gradient(135deg, #1A2E20, #263C28);
  border: 1px solid rgba(255,255,255,.06);
}

/* ── Mockup 2 : SecureBoard ── */
.bb--dash { background: #06090F; display: flex; }
.bb__sidebar {
  width: 52px; background: #0A0F1C;
  border-right: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column;
  align-items: center; padding: 10px 0; gap: 8px;
}
.bb__sb-logo { width: 28px; height: 28px; border-radius: 6px; background: #7C3AED; margin-bottom: 8px; }
.bb__sb-item { width: 32px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); }
.bb__sb-item--active { background: rgba(124,58,237,.5); }
.bb__main { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.bb__stats-row { display: flex; gap: 6px; }
.bb__stat-card { flex: 1; height: 36px; border-radius: 6px; border: 1px solid rgba(255,255,255,.06); }
.bb__stat-card--green  { background: linear-gradient(135deg, #072018, #0D3324); }
.bb__stat-card--purple { background: linear-gradient(135deg, #1A0B3B, #2D1260); }
.bb__chart {
  flex: 1; background: rgba(255,255,255,.02);
  border-radius: 6px; border: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: flex-end; gap: 5px; padding: 8px 8px 4px;
}
.bb__bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #7C3AED, #5B21B6);
  opacity: .8;
}
.bb__alerts { display: flex; flex-direction: column; gap: 4px; }
.bb__alert { height: 7px; border-radius: 4px; width: 100%; }
.bb__alert--ok   { background: rgba(16,185,129,.3); }
.bb__alert--warn { background: rgba(245,158,11,.3); width: 65%; }

/* ── Mockup 3 : ShopNord ── */
.bb--shop { background: #F8FAFC; display: flex; flex-direction: column; }
.bb__nav-light {
  height: 22px; background: #1E293B;
  display: flex; align-items: center; gap: 16px; padding: 0 12px;
}
.bb__nav-light span { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.bb__nav-light span:nth-child(1) { width: 44px; }
.bb__nav-light span:nth-child(2) { width: 28px; }
.bb__nav-light span:nth-child(3) { width: 36px; margin-left: auto; background: #7C3AED; }
.bb__hero-shop {
  height: 60px;
  background: linear-gradient(135deg, #7C3AED 0%, #9F67FA 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 14px; gap: 5px;
}
.bb__hs-title { width: 100px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.9); }
.bb__hs-sub   { width: 70px; height: 5px; border-radius: 2px; background: rgba(255,255,255,.5); }
.bb__hs-btn   { width: 52px; height: 14px; border-radius: 3px; background: #fff; }
.bb__products {
  flex: 1; display: flex; gap: 6px; padding: 10px 12px;
  background: #F1F5F9;
}
.bb__product { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bb__product-img  { height: 50px; border-radius: 5px; background: #E2E8F0; }
.bb__product-name { height: 5px; border-radius: 3px; background: #CBD5E1; width: 80%; }
.bb__product-price{ height: 5px; border-radius: 3px; background: #7C3AED; opacity: .5; width: 50%; }

/* Projet card info */
.projet-card__info { padding: 0 4px; }

.projet-card__title {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.01em;
  transition: color var(--t);
}
.projet-card:hover .projet-card__title { color: #A78BFA; }

.projet-card__desc {
  font-size: .84rem;
  color: var(--muted-light);
  line-height: 1.65;
  margin-bottom: 14px;
}

.projet-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══════════════════════════════════════════════════════
   STACK TECHNIQUE
   ═══════════════════════════════════════════════════════ */
.stack {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  background: rgba(13, 22, 38, 0.88);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 52px;
}

.stack__cat {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
}
.stack__cat:hover {
  border-color: rgba(124,58,237,.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(124,58,237,.1);
}

.stack__cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack__tags span {
  font-size: .78rem;
  color: var(--muted-light);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 20px;
  transition: border-color var(--t), color var(--t), transform var(--t);
  cursor: default;
}
.stack__tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.stack__cert { text-align: center; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--bg);
  border: 1.5px solid rgba(16,185,129,.35);
  border-radius: var(--radius-lg);
  padding: 22px 36px;
  box-shadow: 0 0 40px rgba(16,185,129,.1);
  color: var(--signal);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t);
  cursor: default;
}
.cert-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(16,185,129,.2);
  border-color: rgba(16,185,129,.5);
}
.cert-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 2px;
}
.cert-badge span {
  font-size: .82rem;
  color: var(--signal);
}

/* ═══════════════════════════════════════════════════════
   AVIS
   ═══════════════════════════════════════════════════════ */
.avis {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

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

.avis-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color var(--t), transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
  overflow: hidden;
}
.avis-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.35), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.avis-card:hover::before { opacity: 1; }
.avis-card:hover {
  border-color: rgba(245,158,11,.2);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3), 0 4px 16px rgba(245,158,11,.08);
}

.avis-card__stars { display: flex; gap: 3px; color: #F59E0B; }
.avis-card__stars svg { transition: transform var(--ease-spring) var(--t); }
.avis-card:hover .avis-card__stars svg:nth-child(1) { transform: scale(1.2); transition-delay: 0ms; }
.avis-card:hover .avis-card__stars svg:nth-child(2) { transform: scale(1.2); transition-delay: 40ms; }
.avis-card:hover .avis-card__stars svg:nth-child(3) { transform: scale(1.2); transition-delay: 80ms; }
.avis-card:hover .avis-card__stars svg:nth-child(4) { transform: scale(1.2); transition-delay: 120ms; }
.avis-card:hover .avis-card__stars svg:nth-child(5) { transform: scale(1.2); transition-delay: 160ms; }

.avis-card__text {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: .93rem;
  color: var(--muted-light);
  line-height: 1.75;
  flex: 1;
}

.avis-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.avis-card__author strong { display: block; font-size: .88rem; color: var(--text); }
.avis-card__author span   { font-size: .78rem; color: var(--muted); }

.avis-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-pale);
  border: 1px solid rgba(124,58,237,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--t), transform var(--ease-spring) var(--t);
}
.avis-card:hover .avis-card__avatar {
  background: var(--accent-light);
  transform: scale(1.08);
}

.avis__footer { text-align: center; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  background: rgba(13, 22, 38, 0.88);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 0;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform var(--t);
}
.contact__item:hover { transform: translateX(3px); }

.contact__item-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-pale);
  border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--t), box-shadow var(--t), transform var(--ease-spring) var(--t);
}
.contact__item:hover .contact__item-icon {
  background: var(--accent-light);
  box-shadow: 0 4px 16px rgba(124,58,237,.25);
  transform: scale(1.08);
}

.contact__item strong {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: .03em;
}
.contact__item a, .contact__item span {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.55;
  transition: color var(--t);
}
.contact__item a:hover { color: var(--accent); }

/* Form wrapper */
.contact__form-wrap {
  background: rgba(5,10,20,.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.form-group:last-of-type { margin-bottom: 26px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.form-row .form-group { margin-bottom: 0; }

label {
  font-size: .81rem;
  font-weight: 500;
  color: var(--muted-light);
  letter-spacing: .02em;
}

.req { color: var(--accent); }

input, select, textarea {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: .9rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 15px;
  width: 100%;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:hover, select:hover, textarea:hover {
  border-color: var(--border-light);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(13,22,38,.9);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15), 0 2px 8px rgba(124,58,237,.1);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
select option { background: var(--surface-2); }

textarea { resize: vertical; min-height: 130px; }

/* Form message */
.form-msg {
  margin-top: 16px;
  font-size: .85rem;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 1.5;
  animation: fadeUp .35s var(--ease) both;
}
.form-msg.success {
  background: var(--signal-pale);
  color: var(--signal);
  border: 1px solid rgba(16,185,129,.3);
}
.form-msg.error {
  background: rgba(239,68,68,.08);
  color: #F87171;
  border: 1px solid rgba(239,68,68,.25);
}

/* Map */
.map-wrap {
  margin-top: 52px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--t-slow);
}
.map-wrap:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: rgba(3, 7, 16, 0.97);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}

.footer__top {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px 52px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 56px;
  align-items: start;
}

.footer__logo-mark {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent);
  align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform var(--ease-spring) var(--t), box-shadow var(--t);
}
.footer__brand:hover .footer__logo-mark {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(124,58,237,.5);
}

.footer__name {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: middle;
  letter-spacing: -.01em;
}
.footer__tagline { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.footer__brand { display: block; cursor: default; }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-size: .84rem;
  color: var(--muted);
  transition: color var(--t), transform var(--t);
}
.footer__nav a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__tel {
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent);
  transition: opacity var(--t), transform var(--t);
}
.footer__tel:hover { opacity: .8; transform: translateX(2px); }
.footer__contact a:last-child { font-size: .84rem; color: var(--muted); transition: color var(--t); }
.footer__contact a:last-child:hover { color: var(--muted-light); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 32px;
  text-align: center;
}
.footer__bottom p { font-size: .74rem; color: var(--muted); letter-spacing: .01em; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid  { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .projets__grid   { grid-template-columns: 1fr 1fr; }
  .profil__grid    { grid-template-columns: 260px 1fr; gap: 52px; }
  .stack__grid     { grid-template-columns: 1fr 1fr; }
  .avis__grid      { grid-template-columns: 1fr 1fr; }
  .contact__grid   { grid-template-columns: 1fr; }
  .footer__top     { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; flex-direction: row; gap: 24px; }
  .navbar__nav     { display: none; }
  .navbar__burger  { display: flex; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar { padding: 0 20px; }

  .hero { padding: 110px 20px 70px; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__stats { gap: 0; }
  .hero__stat { padding: 0 18px; }
  .hero__stat-num { font-size: 1.7rem; }

  .profil { padding: 72px 0; min-height: unset; }
  .profil__grid { grid-template-columns: 1fr; gap: 44px; }
  .profil__visual { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .profil__photo-frame { width: 140px; height: 170px; }
  .profil__name { font-size: 1.9rem; }

  .services { padding: 72px 0; min-height: unset; }
  .services__grid { max-width: 100%; }

  .projets { padding: 72px 0; min-height: unset; }
  .projets__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }

  .stack { padding: 64px 0; min-height: unset; }
  .stack__grid { grid-template-columns: 1fr; gap: 20px; }

  .avis { padding: 72px 0; min-height: unset; }
  .avis__grid { grid-template-columns: 1fr; }

  .contact-section { padding: 72px 0; min-height: unset; }
  .contact__form-wrap { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__contact { flex-direction: column; gap: 10px; }

  .section-header { margin-bottom: 44px; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero__stats { flex-wrap: wrap; gap: 16px 0; }
  .hero__stat-sep { display: none; }
  .hero__stat { padding: 0 22px; flex-basis: 33%; }

  .btn { padding: 12px 20px; font-size: .88rem; }
  .section-title { font-size: 1.75rem; }

  .profil__photo-frame { width: 100%; height: 230px; }
  .profil__visual { flex-direction: column; }

  .svc-card { padding: 30px 22px; }
  .contact__form-wrap { padding: 22px 18px; }
}
