/* ═══════════════════════════════════════════════════════════════
   ADVISION — Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES ──────────────────────────────────────────── */
:root {
  /* Colors */
  --primary:              #041627;
  --primary-container:    #1a2b3c;
  --primary-mid:          #0d1f30;
  --accent:               #44d8f1;
  --accent-dim:           #a1efff;
  --accent-glow:          rgba(68, 216, 241, 0.15);

  --surface:              #f8f9fb;
  --surface-container:    #eceef0;
  --surface-low:          #e2e5e8;
  --surface-card:         #ffffff;
  --surface-bright:       #f0fbfe;
  --slate:                #4d7a9e;
  --slate-light:          #7aaec0;
  --slate-glow:           rgba(77, 122, 158, 0.1);

  --glow-teal:            rgba(68, 216, 241, 0.22);
  --glow-slate:           rgba(77, 122, 158, 0.28);

  --on-primary:           #ffffff;
  --on-surface:           #1a1c1e;
  --on-surface-variant:   #44474c;
  --on-surface-muted:     #72767d;

  --outline:              rgba(26, 28, 30, 0.15);

  /* Typography */
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'Manrope', sans-serif;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:  0 8px 48px rgba(4, 22, 39, 0.05);
  --shadow-float: 0 20px 60px rgba(4, 22, 39, 0.08);
  --shadow-accent: 0 0 40px rgba(68, 216, 241, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   180ms;
  --dur-med:    350ms;
  --dur-slow:   600ms;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

/* ── 3. LAYOUT UTILS ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── 4. TYPOGRAPHY ──────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--accent);
  padding: 3px 10px 4px;
  border-radius: 4px;
  margin-bottom: var(--sp-4);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: var(--sp-5);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  display: block;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--on-surface-variant);
  max-width: 48ch;
  line-height: 1.6;
}
.section-header {
  margin-bottom: var(--sp-16);
}

/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  transition: all var(--dur-med) var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  box-shadow: 0 4px 20px rgba(4, 22, 39, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4, 22, 39, 0.35), var(--shadow-accent);
}
.btn--ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px rgba(4, 22, 39, 0.18);
}
.btn--ghost:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}
.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: 0.95rem; }
.btn--full { width: 100%; }

/* ── 6. CHIP ────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}
.chip::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── 7. REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"]  { transition-delay: 100ms; }
.reveal[data-delay="150"]  { transition-delay: 150ms; }
.reveal[data-delay="200"]  { transition-delay: 200ms; }
.reveal[data-delay="300"]  { transition-delay: 300ms; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-3) var(--gutter);
  transition: padding var(--dur-med) var(--ease-out);
}
.header__inner {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  transition: background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
.header.scrolled {
  padding: var(--sp-2) var(--gutter);
}
.header.scrolled .header__inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(4, 22, 39, 0.08);
  box-shadow: 0 2px 16px rgba(4, 22, 39, 0.08);
}
.header.scrolled .header__nav a { color: var(--on-surface-variant); }
.header.scrolled .header__nav a:hover { color: var(--on-surface); }
.header.scrolled .header__burger span { background: var(--on-surface); }
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  height: 68px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.header__logo img {
  height: 96px;
  width: auto;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  margin-inline: auto;
}
.header__nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  transition: color var(--dur-fast);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width var(--dur-med) var(--ease-out);
}
.header__nav a:hover { color: var(--on-surface); }
.header__nav a:hover::after { width: 100%; }

.header__cta { margin-left: var(--sp-4); }
/* CTA header — toujours foncé */
.header__cta.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  box-shadow: 0 4px 20px rgba(4, 22, 39, 0.2);
  color: var(--on-primary);
}
.header__cta.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4, 22, 39, 0.3);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.header__burger:hover span { background: var(--primary); }
.header__burger:hover span:nth-child(1) { width: 70%; }
.header__burger:hover span:nth-child(3) { width: 85%; }

/* Overlay flou derrière le menu mobile */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 22, 39, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.header.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Panneau flottant centré */
.header__mobile-nav {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  z-index: 101;
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--sp-6) 0 var(--sp-5);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 32px 80px rgba(4, 22, 39, 0.25);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    visibility 0.35s;
  pointer-events: none;
}
.header.menu-open .header__mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Bouton fermer (croix) */
.header__mobile-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 22, 39, 0.06);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast);
}
.header__mobile-close:hover { background: rgba(4, 22, 39, 0.12); }
.header__mobile-close span {
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: var(--on-surface);
  border-radius: 2px;
}
.header__mobile-close span:nth-child(1) { transform: rotate(45deg); }
.header__mobile-close span:nth-child(2) { transform: rotate(-45deg); }

.header__mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--on-surface);
  padding: var(--sp-4) var(--sp-8);
  text-align: center;
  border-bottom: 1px solid rgba(4, 22, 39, 0.05);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.header__mobile-nav a:hover {
  color: var(--accent);
  background: rgba(68, 216, 241, 0.04);
}
.header__mobile-nav a:last-of-type {
  border-bottom: none;
}
.header__mobile-nav .btn--primary {
  color: #ffffff !important;
  margin: var(--sp-4) var(--sp-6) 0;
  border-radius: var(--radius-sm);
  border-bottom: none;
  text-align: center;
  padding-left: var(--sp-8);
}
.header__mobile-nav .btn--primary:hover {
  padding-left: var(--sp-8);
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
}

@media (max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; }
  .header.menu-open .header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 100%; }
  .header.menu-open .header__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .header.menu-open .header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #f0f6ff;
  overflow: hidden;
  padding-top: 72px;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: grayscale(30%);
  z-index: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg,
      rgba(4, 16, 32, 0.72) 0%,
      rgba(6, 22, 45, 0.62) 50%,
      rgba(4, 20, 38, 0.75) 100%
    );
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(4, 22, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 22, 39, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 40%, black 20%, transparent 75%);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}
.hero__orb--1 {
  width: 750px;
  height: 750px;
  top: -250px;
  right: -100px;
  background: radial-gradient(circle, rgba(68, 216, 241, 0.35) 0%, transparent 65%);
  animation: orb-drift 8s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(77, 122, 158, 0.25) 0%, transparent 65%);
}
.hero__orb--3 {
  width: 400px;
  height: 400px;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(161, 239, 255, 0.2) 0%, transparent 65%);
  filter: blur(70px);
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orb-drift 12s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}
.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: var(--sp-20);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: var(--sp-6);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: var(--sp-10);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}
.hero__actions .btn--ghost {
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.hero__actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── Panel flottant ── */
@keyframes panel-float {
  0%   { transform: translateY(0px); box-shadow: var(--shadow-float), 0 0 80px rgba(77, 122, 158, 0.15); }
  50%  { transform: translateY(-6px); box-shadow: var(--shadow-float), 0 14px 80px rgba(77, 122, 158, 0.20); }
  100% { transform: translateY(0px); box-shadow: var(--shadow-float), 0 0 80px rgba(77, 122, 158, 0.15); }
}

.hero__panel {
  width: 100%;
  max-width: 420px;
  background: var(--primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float), 0 0 80px rgba(77, 122, 158, 0.15);
  overflow: hidden;
  animation: panel-float 7s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__panel { animation: none; }
}
.hero__panel-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero__panel-dots {
  display: flex;
  gap: 6px;
}
.hero__panel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.hero__panel-dots span:nth-child(1) { background: rgba(255, 100, 80, 0.6); }
.hero__panel-dots span:nth-child(2) { background: rgba(255, 200, 60, 0.6); }
.hero__panel-dots span:nth-child(3) { background: var(--slate-light); opacity: 0.7; }
.hero__panel-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}
.hero__panel-body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* Rangée de stats */
.hero__stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.hero__stat {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
}
.hero__stat--accent {
  background: var(--slate-glow);
  border-color: rgba(77, 122, 158, 0.3);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--on-primary);
  line-height: 1;
  margin-bottom: var(--sp-1);
}
.hero__stat--accent .hero__stat-value { color: var(--slate-light); }
.hero__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

.mockup__code {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mc-purple { color: rgba(180, 120, 220, 0.7); }
.mc-blue   { color: rgba(122, 174, 192, 0.8); }
.mc-green  { color: rgba(100, 200, 140, 0.7); }
.mc-yellow { color: rgba(220, 190, 100, 0.7); }
.mc-muted  { color: rgba(255,255,255,0.18); font-style: italic; }

.mockup__line--label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  height: 14px;
  width: 72%;
  padding-inline: var(--sp-2);
}
.mockup__notif-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate-light);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.mockup__line--label span {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Séparateur */
.hero__panel-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* Mini mockup dans le panel */
.hero__mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.mockup__bar {
  display: flex;
  gap: 5px;
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mockup__bar span:first-child  { background: rgba(255, 100, 80, 0.45); }
.mockup__bar span:nth-child(2) { background: rgba(255, 200, 60, 0.45); }
.mockup__bar span:last-child   { background: rgba(122, 174, 192, 0.6); }
.mockup__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.mockup__line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  width: 85%;
}
.mockup__line--title {
  height: 12px;
  width: 55%;
  background: rgba(255,255,255,0.14);
  margin-bottom: var(--sp-1);
}
.mockup__line--short { width: 38%; }
.mockup__btn {
  height: 22px;
  width: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-light) 100%);
  margin-top: var(--sp-2);
  opacity: 0.8;
}

/* Pied du panel */
.hero__panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__panel-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.hero__panel-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-light);
  animation: pulse 2s ease-in-out infinite;
}
.hero__panel-zone {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  z-index: 3;
  animation: scroll-hint-fade 3s ease-in-out 1.5s both;
}
@keyframes scroll-hint-fade {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.hero__scroll-hint span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}
.hero__scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.hero__scroll-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
  animation: arrow-bounce 1.6s ease-in-out infinite;
  letter-spacing: 0;
  font-size: 0;
}
.hero__scroll-arrow span:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0.5;
}
@keyframes arrow-bounce {
  0%, 100% { opacity: 0.2; transform: rotate(45deg) translate(-2px, -2px); }
  50%       { opacity: 1;   transform: rotate(45deg) translate(2px, 2px); }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: var(--sp-16);
  }
  .hero__visual { justify-content: center; }
  .hero__panel { max-width: 100%; }
  .hero__scroll-hint { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   PROBLEM / SOLUTION
══════════════════════════════════════════════════════════════ */
.problem {
  position: relative;
  padding-block: var(--sp-24);
  background: linear-gradient(to bottom, #041627 0%, #0e2a42 30%, #1a4d6e 65%, #2a6d8f 100%);
  overflow: hidden;
}
.problem::before {
  content: '';
  position: absolute;
  top: -180px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse, rgba(68, 216, 241, 0.13) 0%, rgba(68, 216, 241, 0.04) 40%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.problem::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -60px;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(77, 122, 158, 0.18) 0%, rgba(77, 122, 158, 0.05) 40%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
/* Néon central bas */
.problem__neon {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 220px;
  background: radial-gradient(ellipse, rgba(68, 216, 241, 0.09) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.problem__bg-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 18rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.04em;
}
.problem__header {
  margin-bottom: var(--sp-12);
  position: relative;
  z-index: 1;
}
.problem__header .section-title { color: var(--on-primary); }

/* ── Deux cartes côte à côte ── */
.problem__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: stretch;
}

/* Cadre image droit */
.problem-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 460px;
}
.problem-img-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.problem-img-frame:hover .problem-img-frame__img {
  transform: scale(1.03);
}

/* Slide animations — smooth & accessible */
.slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.28s;
}
.slide-left.is-visible,
.slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .slide-left, .slide-right {
    transform: none;
    transition: opacity 0.4s ease;
  }
}

.problem-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.problem-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}
.problem-card:hover .problem-card__img {
  transform: scale(1.04);
}
.problem-card__overlay {
  position: absolute;
  inset: 0;
}
.problem-card__overlay--bad {
  background: linear-gradient(
    160deg,
    rgba(10, 10, 20, 0.45) 0%,
    rgba(15, 15, 30, 0.7) 50%,
    rgba(6, 6, 16, 0.92) 100%
  );
}
.problem-card__overlay--good {
  background: linear-gradient(
    160deg,
    rgba(4, 22, 39, 0.4) 0%,
    rgba(13, 40, 65, 0.6) 50%,
    rgba(4, 30, 50, 0.88) 100%
  );
}
.problem-card__content {
  position: relative;
  z-index: 2;
  padding: var(--sp-8);
  backdrop-filter: blur(0px);
}
.problem-card__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.problem-card--bad .problem-card__tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.problem-card__tag--good {
  background: rgba(68, 216, 241, 0.15);
  border: 1px solid rgba(68, 216, 241, 0.3);
  color: var(--accent);
}
.problem-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.problem-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff; /* ratio > 7:1 sur overlay sombre — RGAA AA */
  line-height: 1.5;
}
/* Icônes purement décoratives (aria-hidden) — couleur de contraste suffisant */
.problem-card__cross {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.problem-card__check {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(68, 216, 241, 0.25);
  border: 1px solid rgba(68, 216, 241, 0.5);
  color: #ffffff; /* blanc sur teal — ratio > 4.5:1 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Bordure glass sur les cartes */
.problem-card--bad::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(220, 60, 60, 0.2);
  pointer-events: none;
}
.problem-card--good::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(68, 216, 241, 0.2);
  pointer-events: none;
}

@media (max-width: 700px) {
  .problem__cards { grid-template-columns: 1fr; }
  .problem-card { min-height: 360px; }
  .slide-left, .slide-right {
    transform: translateY(40px);
    transition-delay: 0s;
  }
}

/* ══════════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════════ */
.services {
  padding-block: var(--sp-24);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(77, 122, 158, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(68, 216, 241, 0.04) 0%, transparent 65%),
    linear-gradient(to bottom, #2a6d8f 0%, #2a6d8f 18%, #6aaabf 34%, #c0d9e6 52%, #e8f2f7 70%, #f7fafb 85%, #ffffff 100%);
}
/* Textes de l'en-tête sur fond bleu */
.services .section-header .section-title { color: #ffffff; }
.services .section-header .section-title em { color: var(--accent); }
.services .section-header .section-desc { color: rgba(255, 255, 255, 0.78); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: 0 8px 32px rgba(4, 22, 39, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.service-card:not(.service-card--featured):hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(4, 22, 39, 0.1),
    0 0 0 1.5px rgba(68, 216, 241, 0.45),
    0 0 28px rgba(68, 216, 241, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.service-card--featured {
  background: var(--primary);
  transform: translateY(-12px);
}
.service-card--featured:hover {
  transform: translateY(-18px);
}
.service-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-5);
}
.service-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(4, 22, 39, 0.18);
  line-height: 1;
  margin-bottom: var(--sp-4);
  transition: color var(--dur-med);
}
.service-card--featured .service-card__number { color: rgba(255, 255, 255, 0.18); }
.service-card:not(.service-card--featured):hover .service-card__number { color: rgba(4, 22, 39, 0.45); }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.service-card--featured .service-card__title { color: var(--on-primary); }
.service-card__desc {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}
.service-card--featured .service-card__desc { color: rgba(255,255,255,0.6); }
.service-card__features { display: flex; flex-direction: column; gap: var(--sp-3); }
.service-card__features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
}
.service-card--featured .service-card__features li { color: rgba(255,255,255,0.7); }
.service-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surface-low);
}
.service-card--featured .service-card__features li::before { background: var(--accent); }
.service-card:not(.service-card--featured):hover .service-card__features li::before { background: var(--accent); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card--featured { transform: none; }
  .service-card--featured:hover { transform: translateY(-6px); }
}

/* ══════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════ */
.pricing {
  padding-block: var(--sp-24);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 90% 60%, rgba(77, 122, 158, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 30%, rgba(68, 216, 241, 0.05) 0%, transparent 65%),
    var(--surface);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-8);
}
.pricing-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: 0 8px 32px rgba(4, 22, 39, 0.05), inset 0 1px 0 rgba(255,255,255,0.95);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  position: relative;
}
.pricing-card:not(.pricing-card--featured):hover {
  box-shadow:
    0 20px 48px rgba(4, 22, 39, 0.09),
    0 0 0 1.5px rgba(68, 216, 241, 0.45),
    0 0 28px rgba(68, 216, 241, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95);
}
.pricing-card--featured {
  background: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-float), 0 0 60px rgba(68,216,241,0.15);
}
.pricing-card:not(.pricing-card--featured):hover { transform: translateY(-4px); }
.pricing-card--featured:hover { transform: translateY(-12px); }
.pricing-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-5);
}
.pricing-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-muted);
  margin-bottom: var(--sp-4);
}
.pricing-card--featured .pricing-card__name { color: rgba(255,255,255,0.45); }
.pricing-card__price {
  margin-bottom: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pricing-card__from {
  font-size: 0.8rem;
  color: var(--on-surface-muted);
}
.pricing-card--featured .pricing-card__from { color: rgba(255,255,255,0.45); }
.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
}
.pricing-card--featured .pricing-card__amount { color: var(--accent); }
.pricing-card__delay {
  font-size: 0.8rem;
  color: var(--on-surface-muted);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--outline);
}
.pricing-card--featured .pricing-card__delay {
  color: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.1);
}
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,0.7); }
.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(68,216,241,0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%2344d8f1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-card--featured .pricing-card__features li::before {
  background-color: rgba(68,216,241,0.15);
}
.pricing-card .btn--ghost {
  color: var(--on-surface);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.15);
  border: 1.5px solid var(--outline);
}
.pricing-card:not(.pricing-card--featured) .btn--ghost:hover {
  background: var(--primary);
  color: #ffffff;
}
.pricing-card--featured .btn--ghost {
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px rgba(68,216,241,0.4);
}
.pricing-card--featured .btn--ghost:hover {
  background: var(--accent);
  color: var(--primary);
}
.pricing__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--on-surface-muted);
}

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════════════════════════ */
.portfolio {
  padding-block: var(--sp-24);
  background: var(--surface);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.portfolio-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item__visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.portfolio-item__visual--1 {
  background: linear-gradient(135deg, #1a2b3c 0%, #0d3a5c 100%);
}
.portfolio-item__visual--2 {
  background: linear-gradient(135deg, #1c2a1a 0%, #2a4a28 100%);
}
.portfolio-item__visual--3 {
  background: linear-gradient(135deg, #2a1a0d 0%, #4a3218 100%);
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 22, 39, 0.6);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.portfolio-item__info {
  padding: var(--sp-5) var(--sp-6);
  background: var(--surface-card);
}
.portfolio-item__info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: var(--sp-1);
}
.portfolio-item__info p {
  font-size: 0.8rem;
  color: var(--on-surface-muted);
}
.portfolio__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--on-surface-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .portfolio__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials {
  padding-block: var(--sp-24);
  background: var(--primary);
}
.testimonials .section-title { color: var(--on-primary); }
.testimonials .section-label { color: var(--accent); }
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: background var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.testimonial:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.testimonial blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: var(--sp-6);
  position: relative;
}
.testimonial blockquote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  line-height: 1;
}
.testimonial cite { display: flex; flex-direction: column; gap: 2px; }
.testimonial cite strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--on-primary);
}
.testimonial cite span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
  .testimonials__track { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.about {
  padding-block: var(--sp-24);
  background: var(--surface);
}
.pricing { padding-bottom: var(--sp-16); }
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__visual::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(68, 216, 241, 0.28);
  pointer-events: none;
  z-index: 0;
}
.about__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 64px rgba(4, 22, 39, 0.16);
  animation: about-float 7s ease-in-out infinite;
  z-index: 1;
}
@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .about__frame { animation: none; }
}
.about__frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: grayscale(10%) contrast(1.04);
  transition: transform 0.8s var(--ease-out);
}
.about__visual:hover .about__frame-img {
  transform: scale(1.04);
}
.about__frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(4, 22, 39, 0.28) 100%);
  pointer-events: none;
}
.about__badge {
  position: absolute;
  bottom: 6%;
  right: -4%;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--primary);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}
.about__content p {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.about__value {
  position: relative;
  padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: default;
}
/* Barre verticale positionnée absolument — toujours à hauteur du texte */
.about__value::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
/* Jauge qui se remplit de gauche à droite au survol */
.about__value::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(68, 216, 241, 0.12) 0%, rgba(68, 216, 241, 0.03) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.about__value:hover::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .about__value::after { transition: none; }
}
.about__value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--sp-1);
  position: relative;
  z-index: 1;
}
.about__value-desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .about__visual { max-width: 320px; margin-inline: auto; }
  .about__visual::after { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact {
  padding-block: var(--sp-24);
  background: var(--surface-container);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-20);
  align-items: start;
}
.contact__intro p {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}
.contact__alts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact__alt-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--dur-fast), gap var(--dur-fast);
}
.contact__alt-link::before {
  content: '→';
  color: var(--accent);
  transition: transform var(--dur-fast) var(--ease-out);
}
.contact__alt-link:hover { color: var(--accent); }
.contact__alt-link:hover::before { transform: translateX(3px); }

.contact__form {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-float);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  background: var(--surface-container);
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.9rem;
  color: var(--on-surface);
  outline: none;
  border-bottom: 2px solid transparent;
  transition: background var(--dur-fast), border-color var(--dur-med);
}
.form-group input:focus,
.form-group textarea:focus {
  background: var(--surface-card);
  border-bottom-color: var(--primary);
  box-shadow: 0 1px 0 var(--primary);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact__form .btn { grid-column: 1 / -1; }
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--on-surface-muted);
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .contact__form { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--primary);
  padding-block: var(--sp-16) var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-6);
}
.footer__logo { height: 90px; width: auto; margin-bottom: var(--sp-4); filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 38ch;
}
.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__links h3,
.footer__contact h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: var(--sp-2);
}
.footer__links a,
.footer__contact a,
.footer__contact span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--on-primary); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer__bottom a:hover { color: rgba(255,255,255,0.55); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   SECTION TITLE SLIDE ANIMATION
══════════════════════════════════════════════════════════════ */
.title-slide {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.1s;
}
.title-slide.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .title-slide { transform: none; transition: opacity 0.4s ease; }
}

/* ══════════════════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  background: rgba(4, 22, 39, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-6);
  max-width: 680px;
  width: calc(100% - 2 * var(--gutter));
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.cookie-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}
.cookie-banner__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  border: none;
}
.cookie-banner__btn--refuse {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cookie-banner__btn--refuse:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner__btn--accept:hover {
  transform: translateY(-1px);
  background: #62e2f5;
}

/* ══════════════════════════════════════════════════════════════
   POPUP CONFIRMATION FORMULAIRE
══════════════════════════════════════════════════════════════ */
.form-success {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 22, 39, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.form-success--visible {
  opacity: 1;
  visibility: visible;
}
.form-success__box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-10);
  max-width: 400px;
  width: calc(100% - 2 * var(--gutter));
  text-align: center;
  box-shadow: 0 32px 80px rgba(4, 22, 39, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.form-success--visible .form-success__box {
  transform: translateY(0) scale(1);
}
.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
}
.form-success__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.form-success__text {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}
.form-success__close {
  min-width: 160px;
}
