/* ============================================================
   Trialys v2 — Glassmorphism Dark Design System
   Colors: Indigo #6366F1 / Blue #3B82F6 / Dark #06060f
   ============================================================ */

:root {
  --bg-base:          #06060f;
  --bg-elevated:      #0a0a18;
  --surface:          rgba(255, 255, 255, 0.04);
  --surface-hover:    rgba(255, 255, 255, 0.07);
  --border:           rgba(255, 255, 255, 0.08);
  --border-hover:     rgba(255, 255, 255, 0.16);
  --foreground:       #EDEDEF;
  --foreground-muted: #8A8F98;
  --foreground-sub:   #4A5060;
  --accent:           #6366F1;
  --accent-hover:     #4F52D3;
  --accent-blue:      #3B82F6;
  --accent-violet:    #8B5CF6;
  --accent-glow:      rgba(99, 102, 241, 0.25);
  --accent-glow-sm:   rgba(99, 102, 241, 0.10);
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --t:     all 0.25s var(--ease);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-base);
  color: var(--foreground);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

a { text-decoration: none; transition: var(--t); }
img { max-width: 100%; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--foreground);
}

.gradient-text {
  background: linear-gradient(135deg, #818CF8 0%, #60A5FA 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted-v2 { color: var(--foreground-muted); }

/* ── Glass card ── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: var(--t);
}

.glass:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-hover);
}

/* ── Navbar ── */
.navbar-trialys {
  background: rgba(6, 6, 15, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  transition: var(--t);
  z-index: 1000;
}

.navbar-trialys.scrolled {
  background: rgba(6, 6, 15, 0.92);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255,255,255,0.12);
}

.navbar-brand-trialys {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground) !important;
}

.navbar-brand-trialys .brand-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link-trialys {
  color: var(--foreground-muted) !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem !important;
  border-radius: var(--r-sm);
  transition: var(--t);
}

.nav-link-trialys:hover {
  color: var(--foreground) !important;
  background: var(--surface);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.35rem 0.6rem;
}

.navbar-toggler-icon-custom {
  display: flex; flex-direction: column;
  gap: 5px; width: 20px; cursor: pointer;
}

.navbar-toggler-icon-custom span {
  display: block; height: 2px;
  background: var(--foreground-muted);
  border-radius: 2px;
  transition: var(--t);
}

/* ── Buttons ── */
.btn-primary-v2 {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #fff !important;
  border: none;
  border-radius: var(--r-md);
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow), 0 0 0 1px rgba(99,102,241,0.4);
  filter: brightness(1.1);
}

.btn-ghost-v2 {
  background: var(--surface);
  color: var(--foreground) !important;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost-v2:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ── Fade-in animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ── Background blobs ── */
.blob-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: blobFloat 16s ease-in-out infinite;
}

.blob-a {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
  top: -140px; right: -100px;
  animation-duration: 16s;
}

.blob-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(59,130,246,0.13) 0%, transparent 65%);
  bottom: -80px; left: -60px;
  animation-duration: 20s;
  animation-delay: -7s;
}

.blob-c {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 65%);
  top: 45%; left: 48%;
  animation-duration: 24s;
  animation-delay: -12s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(28px, -28px) scale(1.04); }
  66%       { transform: translate(-18px, 18px) scale(0.97); }
}

/* ── Dot grid overlay ── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Section labels ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-glow-sm);
  border: 1px solid rgba(99,102,241,0.22);
  border-radius: 100px;
  padding: 0.28rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #818CF8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
}

/* ── HERO ── */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--foreground-muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.metric-val {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--foreground-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Hero visual */
.hero-visual-wrap {
  position: relative;
  height: 480px;
}

.hero-main-card {
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,102,241,0.1);
}

.hero-float-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.8rem 1.1rem;
  position: absolute;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  animation: floatY 4s ease-in-out infinite;
}

.float-card-1 {
  top: 8%; right: 0;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 10%; left: 0;
  animation-delay: -2s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.progress-bar-custom {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  border-radius: 2px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.stat-row:last-child { border-bottom: none; }

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green  { background: #34D399; box-shadow: 0 0 6px #34D399; }
.dot-blue   { background: #60A5FA; box-shadow: 0 0 6px #60A5FA; }
.dot-violet { background: #A78BFA; box-shadow: 0 0 6px #A78BFA; }
.dot-orange { background: #FBBF24; box-shadow: 0 0 6px #FBBF24; }

/* ── SERVICES ── */
#services { padding: 5rem 0; position: relative; }

.service-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.si-1 { background: rgba(99,102,241,0.14); color: #818CF8; }
.si-2 { background: rgba(59,130,246,0.14); color: #60A5FA; }
.si-3 { background: rgba(16,185,129,0.14); color: #34D399; }
.si-4 { background: rgba(245,158,11,0.14); color: #FBBF24; }
.si-5 { background: rgba(239,68,68,0.14);  color: #F87171; }
.si-6 { background: rgba(139,92,246,0.14); color: #A78BFA; }

.service-card-body { flex: 1; }

.service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--foreground-muted);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--foreground-muted);
  font-weight: 600;
}

/* ── TECH TICKER ── */
#tech-ticker {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}

#tech-ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-mask {
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--foreground-muted);
  white-space: nowrap;
  transition: var(--t);
  cursor: default;
}

.tech-chip:hover {
  border-color: var(--border-hover);
  color: var(--foreground);
  background: var(--surface-hover);
}

/* ── PROCESS ── */
#processus { padding: 5rem 0; position: relative; }

.process-step {
  position: relative;
  padding-left: 4.5rem;
  padding-bottom: 2.5rem;
}

.process-step:last-child { padding-bottom: 0; }

.step-num {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
  z-index: 1;
}

.step-line {
  position: absolute;
  left: 21px; top: 52px;
  width: 2px;
  height: calc(100% - 12px);
  background: linear-gradient(to bottom, rgba(99,102,241,0.4), transparent);
}

.process-step:last-child .step-line { display: none; }

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* ── RÉALISATIONS ── */
#realisations { padding: 5rem 0; }

.real-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.badge-saas      { background: rgba(99,102,241,0.14); color: #818CF8;  border: 1px solid rgba(99,102,241,0.2); }
.badge-analytics { background: rgba(59,130,246,0.14); color: #60A5FA;  border: 1px solid rgba(59,130,246,0.2); }
.badge-assoc     { background: rgba(16,185,129,0.14); color: #34D399;  border: 1px solid rgba(16,185,129,0.2); }
.badge-catalogue { background: rgba(245,158,11,0.14); color: #FBBF24;  border: 1px solid rgba(245,158,11,0.2); }
.badge-engine    { background: rgba(167,139,250,0.14); color: #C084FC;  border: 1px solid rgba(167,139,250,0.2); }

.real-card {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.real-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--t);
}

.real-card:hover::after { opacity: 1; }

.real-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.real-link {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--t);
}

.real-link:hover {
  color: var(--accent-blue);
  gap: 0.5rem;
}

/* ── Logo image ── */
.logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: var(--t);
  display: block;
}

/* ── Product mockup ── */
.real-mockup {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.real-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.5s var(--ease);
}

.real-card:hover .real-mockup img {
  transform: scale(1.04);
}

/* ── TEAM ── */
#equipe { padding: 5rem 0; }

.team-card { text-align: center; }

.team-photo-wrap {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 2px solid var(--border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 4px var(--accent-glow-sm);
}

.team-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-role { font-size: 0.8rem; color: var(--foreground-muted); font-weight: 600; }

/* ── CTA BAND ── */
#cta-band {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.18) 0%, transparent 68%);
  pointer-events: none;
}

/* ── CONTACT ── */
#contact { padding: 5rem 0; }

.form-v2-group { margin-bottom: 1.2rem; }

.form-v2-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--foreground-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-v2-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--foreground);
  padding: 0.72rem 1rem;
  font-size: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: var(--t);
  outline: none;
  resize: vertical;
  min-height: 44px;
}

.form-v2-control:focus {
  border-color: var(--accent);
  background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px var(--accent-glow-sm);
  color: var(--foreground);
}

.form-v2-control::placeholder { color: var(--foreground-sub); }

select.form-v2-control option {
  background: #0e0e1a;
  color: var(--foreground);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--accent-glow-sm);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #818CF8;
  font-size: 1rem;
  flex-shrink: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.benefit-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: #34D399;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── FOOTER ── */
footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-brand {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.footer-link {
  color: var(--foreground-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--t);
}

.footer-link:hover { color: var(--foreground); }

.footer-divider {
  border-color: var(--border);
  margin: 1.8rem 0 1.2rem;
}

/* ── Form success state ── */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  border: 2px solid rgba(52,211,153,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  color: #34D399;
  font-size: 1.5rem;
}

/* ── Bouton RDV jaune ── */
.btn-rdv {
  background: linear-gradient(135deg, #F59E0B 0%, #EAB308 100%);
  color: #0a0600 !important;
  border: none;
  border-radius: var(--r-md);
  padding: 0.7rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-rdv:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
  filter: brightness(1.08);
  color: #0a0600 !important;
}

.btn-rdv:active { transform: translateY(0); }

/* Version icône seule (header mobile avant hamburger) */
.btn-rdv-mobile {
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.35);
}

/* Entre 992px et 1200px : icône + texte court */
@media (min-width: 992px) and (max-width: 1199px) {
  .btn-rdv-text { display: none; }
  .btn-rdv { padding: 0.65rem 0.85rem; }
  .nav-link-trialys { padding: 0.4rem 0.5rem !important; font-size: 0.82rem; }
}

/* Pulse animation on the calendar icon */
.btn-rdv .bi-calendar-check {
  animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-rdv .bi-calendar-check { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .hero-title { font-size: clamp(2rem, 4vw, 3rem); }
}

@media (max-width: 991px) {
  .hero-visual-wrap { display: none; }

  /* Navbar mobile: stack buttons */
  .navbar-nav .btn-rdv,
  .navbar-nav .btn-primary-v2 {
    width: 100%;
    justify-content: center;
    margin-top: .25rem;
  }

  /* Services: 2 columns */
  .col-lg-4.col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 768px) {
  #hero { padding: 7rem 0 4rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-primary-v2,
  .hero-ctas .btn-ghost-v2 { justify-content: center; }
  .hero-metrics { gap: 1.5rem; }
  .metric-val { font-size: 1.4rem; }

  section,
  #services, #processus, #realisations, #equipe, #cta-band, #contact {
    padding: 3rem 0;
  }

  /* Services: 1 column on small phones */
  .service-card h5 { font-size: .95rem; }

  /* Réalisations: 2 cols on tablet, 1 on phone */
  #realisations .col-sm-6 { flex: 0 0 100%; max-width: 100%; }

  /* Process */
  .step-line { display: none; }
  .process-step { padding-bottom: 1.8rem; padding-left: 3.5rem; }
  .step-num { width: 38px; height: 38px; font-size: .8rem; }

  /* Team: 1 column */
  .team-photo-wrap { width: 76px; height: 76px; }

  /* Contact */
  .contact-info-item { flex-direction: row; }
  #contact .glass { padding: 1.5rem !important; }

  /* Footer */
  footer { padding: 2.5rem 0 1.5rem; }
  .footer-divider { margin: 1.2rem 0 .8rem; }

  /* Legal pages */
  .legal-card { padding: 1.5rem !important; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .hero-sub   { font-size: .95rem; }
  .metric-val { font-size: 1.3rem; }

  #realisations .col-sm-6 { flex: 0 0 100%; max-width: 100%; }

  .btn-rdv, .btn-primary-v2, .btn-ghost-v2 {
    font-size: .82rem;
    padding: .65rem 1.1rem;
  }

  .real-mockup { height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .ticker-track, .hero-float-card { animation: none; }
  .glass:hover, .btn-primary-v2:hover, .btn-ghost-v2:hover,
  .btn-rdv:hover { transform: none; }
  .fade-up { opacity: 1; transform: none; }
}
