:root {
  --bg: #F8F9FA;
  --ink: #0F172A;
  --accent: #1F4E79;
  --accent-hover: #163A5C;
  --accent-light: #6E93B8;
  --accent-lighter: #AFC5DA;
  --muted-1: #475569;
  --muted-2: #64748B;
  --muted-3: #334155;
  --muted-4: #94A3B8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Hero premium — palette dédiée, dérivée de l'accent existant */
  --hero-bg-1: #060a14;
  --hero-bg-2: #0b1526;
  --hero-line: rgba(175, 197, 218, 0.08);
  --hero-glow: 111, 147, 184;
  --hero-orb: 63, 110, 165;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

input, textarea, select { font-family: 'Manrope', sans-serif; }
::placeholder { color: var(--muted-4); }

.section-inner { max-width: 1160px; margin: 0 auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.is-solid {
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header:not(.is-solid) .logo-text,
.site-header:not(.is-solid) .nav-desktop a,
.site-header:not(.is-solid) .lang-btn,
.site-header:not(.is-solid) .cart-btn {
  color: var(--bg);
}
.site-header:not(.is-solid) .lang-btn,
.site-header:not(.is-solid) .cart-btn {
  border-color: rgba(248, 249, 250, 0.35);
}
.site-header:not(.is-solid) .burger-btn span { background: var(--bg); }
.site-header:not(.is-solid) .cta-btn {
  background: rgba(248, 249, 250, 0.12);
  border: 1px solid rgba(248, 249, 250, 0.4);
  color: var(--bg) !important;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  display: block;
}
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.nav-desktop-actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.cta-btn {
  background: var(--ink);
  color: var(--bg) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.cta-btn--block { display: block; text-align: center; margin-top: 6px; padding: 13px 20px; font-size: 15px; }

.cart-btn {
  position: relative;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-count[hidden] { display: none; }

.cart-panel {
  position: absolute;
  top: 100%;
  right: 24px;
  margin-top: 8px;
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.14);
  padding: 20px;
  z-index: 60;
}
.cart-panel[hidden] { display: none; }
.cart-panel-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cart-item-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.cart-item-price { font-size: 13px; color: var(--muted-2); }
.cart-item-remove { border: none; background: transparent; color: var(--muted-4); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.cart-item-remove:hover { color: var(--accent-hover); }
.cart-empty { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }
.cart-empty[hidden] { display: none; }
.cart-footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.cart-footer[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink); margin-bottom: 14px; }
.cart-checkout {
  display: block; text-align: center;
  background: var(--accent); color: #fff !important;
  font-size: 14.5px; font-weight: 700;
  padding: 12px; border-radius: var(--radius-sm);
}

.nav-mobile-actions { display: none; align-items: center; gap: 10px; }
.burger-btn {
  border: none; background: transparent; cursor: pointer; padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
}
.burger-btn span { width: 22px; height: 2px; background: var(--ink); display: block; }

.mobile-panel {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel a { color: var(--ink); font-size: 16px; font-weight: 600; }

@media (max-width: 860px) {
  .nav-desktop, .nav-desktop-actions { display: none; }
  .nav-mobile-actions { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, var(--hero-bg-2) 0%, var(--hero-bg-1) 62%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(var(--hero-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(85% 70% at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(85% 70% at 50% 30%, #000 0%, transparent 78%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-orb), 0.45) 0%, rgba(var(--hero-orb), 0) 70%);
  filter: blur(2px);
  will-change: transform;
}
.hero-orb--1 { width: 620px; height: 620px; top: -180px; right: -120px; }
.hero-orb--2 { width: 420px; height: 420px; bottom: -140px; left: -80px; opacity: 0.7; }
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 28%), rgba(var(--hero-glow), 0.16), transparent 62%);
  transition: opacity 0.4s ease;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,10,20,0.05) 0%, rgba(6,10,20,0.35) 65%, rgba(6,10,20,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto;
  padding: 160px 24px 110px;
  width: 100%;
}
.hero .kicker,
.hero-title,
.hero-subtitle,
.hero-ctas,
.hero-locations {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.is-visible .kicker { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.hero.is-visible .hero-title { opacity: 1; transform: translateY(0); transition-delay: 0.16s; }
.hero.is-visible .hero-subtitle { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.hero.is-visible .hero-ctas { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
.hero.is-visible .hero-locations { opacity: 1; transform: translateY(0); transition-delay: 0.54s; }
.hero-title {
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.is-visible .hero-title { clip-path: inset(0 0 0% 0); }
.kicker {
  display: inline-block;
  background: rgba(31,78,121,0.22);
  border: 1px solid rgba(111,147,184,0.5);
  color: var(--accent-lighter);
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.hero-title {
  color: var(--bg);
  font-size: clamp(34px, 5.6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin: 0 0 22px;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(248,249,250,0.85);
  max-width: 600px;
  margin: 0 0 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.btn-primary {
  position: relative;
  background: var(--accent); color: var(--bg) !important;
  font-size: 15.5px; font-weight: 700;
  padding: 15px 28px; border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 28px -12px rgba(31,78,121,0.7);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 18px 36px -14px rgba(31,78,121,0.85);
}
.btn-secondary {
  position: relative; overflow: hidden; isolation: isolate;
  background: rgba(248,249,250,0.06);
  border: 1px solid rgba(248,249,250,0.3);
  color: var(--bg) !important;
  font-size: 15.5px; font-weight: 600;
  padding: 15px 28px; border-radius: var(--radius-sm);
  transition: color 0.4s ease, border-color 0.4s ease;
}
.btn-secondary::before {
  content: ''; position: absolute; top: 50%; left: 22px; width: 8px; height: 8px; margin-top: -4px;
  background: var(--accent-light); border-radius: 50%; transform: scale(1); z-index: -1;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover { color: var(--ink) !important; border-color: var(--accent-light); }
.btn-secondary:hover::before { transform: scale(42); }
.hero-locations { font-size: 13.5px; color: rgba(248,249,250,0.6); margin: 0; }

/* Variante centrée — utilisée pour le test "Image Fan" */
.hero-content--centered { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content--centered .hero-title,
.hero-content--centered .hero-subtitle { margin-left: auto; margin-right: auto; }
.hero-content--centered .hero-ctas { justify-content: center; }

/* Éventail de projets réels — profondeur par superposition/rotation de vraies
   cartes, pas de 3D/WebGL. Révélation en cascade après le texte, léger tilt
   au curseur sur desktop uniquement (retour fluide à l'état neutre). */
.hero-fan {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 52px;
  padding-bottom: 8px;
  perspective: 1500px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-fan-card {
  position: relative;
  width: 190px;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #16233b, #0b1526);
  border: 1px solid rgba(248,249,250,0.14);
  box-shadow: 0 24px 46px -14px rgba(0,0,0,0.6);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, z-index 0s;
}
.hero-fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-fan-card--left { margin-right: -44px; transform: translateY(90px) rotate(-17deg); z-index: 1; }
.hero-fan-card--right { margin-left: -44px; transform: translateY(90px) rotate(17deg); z-index: 1; }
.hero-fan-card--center { transform: translateY(60px) scale(0.92); z-index: 3; }
.hero.is-visible .hero-fan-card { opacity: 1; }
.hero.is-visible .hero-fan-card--left { transform: translateY(28px) rotate(-9deg); transition-delay: 0.62s; }
.hero.is-visible .hero-fan-card--right { transform: translateY(28px) rotate(9deg); transition-delay: 0.7s; }
.hero.is-visible .hero-fan-card--center { transform: translateY(0) scale(1.06); transition-delay: 0.78s; }
.hero-fan-card:hover {
  z-index: 4; box-shadow: 0 30px 56px -12px rgba(0,0,0,0.7);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.hero.is-visible .hero-fan-card--left:hover { transform: translateY(16px) rotate(-5deg) scale(1.03); }
.hero.is-visible .hero-fan-card--right:hover { transform: translateY(16px) rotate(5deg) scale(1.03); }
.hero.is-visible .hero-fan-card--center:hover { transform: translateY(-8px) scale(1.1); }
.hero-fan-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, rgba(6,10,20,0) 0%, rgba(6,10,20,0.88) 100%);
  color: rgba(248,249,250,0.92);
  font-size: 11.5px; font-weight: 600; line-height: 1.35;
}
.hero-fan-card--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(31,78,121,0.55), rgba(6,10,20,0.9));
  border-style: dashed;
  border-color: rgba(248,249,250,0.25);
}
.hero-fan-placeholder-mark {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px;
  color: rgba(248,249,250,0.5); letter-spacing: 0.04em; margin-bottom: 8px;
}
.hero-fan-caption--placeholder {
  position: static; background: none; padding: 0 18px;
  color: rgba(248,249,250,0.55); font-style: italic; text-align: center;
}

@media (max-width: 640px) {
  .hero-fan-card { width: 118px; height: 158px; border-radius: 11px; }
  .hero-fan-card--left { margin-right: -30px; }
  .hero-fan-card--right { margin-left: -30px; }
  .hero.is-visible .hero-fan-card--left { transform: translateY(18px) rotate(-6deg); }
  .hero.is-visible .hero-fan-card--right { transform: translateY(18px) rotate(6deg); }
  .hero.is-visible .hero-fan-card--center { transform: translateY(0) scale(1.04); }
  .hero-fan-caption { font-size: 10px; padding: 16px 8px 8px; }
  .hero-fan-placeholder-mark { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fan { transition: none; }
  .hero-fan-card {
    transition: none;
    opacity: 1;
  }
  .hero-fan-card--left { transform: translateY(28px) rotate(-9deg); }
  .hero-fan-card--right { transform: translateY(28px) rotate(9deg); }
  .hero-fan-card--center { transform: translateY(0) scale(1.06); }
}

.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 2;
  transform: translateX(-50%);
  width: 22px; height: 34px; border-radius: 12px;
  border: 1.5px solid rgba(248,249,250,0.35);
  opacity: 0;
  transition: opacity 0.9s ease 0.8s;
}
.hero.is-visible .hero-scroll-cue { opacity: 1; }
.hero-scroll-cue span {
  position: absolute; top: 6px; left: 50%; width: 3px; height: 7px;
  margin-left: -1.5px; border-radius: 2px; background: rgba(248,249,250,0.6);
  animation: hero-scroll-cue-move 1.8s ease-in-out infinite;
}
@keyframes hero-scroll-cue-move {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  71% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 860px) {
  .hero-orb--1 { width: 380px; height: 380px; }
  .hero-orb--2 { width: 260px; height: 260px; }
  .hero-grid { background-size: 46px 46px; }
  .hero-scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .kicker, .hero-title, .hero-subtitle, .hero-ctas, .hero-locations {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
  .hero-scroll-cue { display: none; }
  .btn-primary, .btn-secondary::before { transition: none; }
  .btn-primary:hover { transform: none; }
}

/* Sections generic */
.section { padding: 112px 24px; background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-tag {
  color: var(--accent);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag--light { color: var(--accent-light); }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--ink); margin: 0 0 18px; }
.section-intro { font-size: 17px; line-height: 1.65; color: var(--muted-1); margin: 0; }
.section-intro--light { color: rgba(248,249,250,0.75); }

.bullet-list { list-style: none; margin: 0; padding: 0; }
.bullet-list li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
  font-size: 14.5px; color: var(--muted-3); line-height: 1.5;
}
.bullet-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 8px; flex-shrink: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  border-color: rgba(15,23,42,0.14);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon--a { background: rgba(15,23,42,0.06); color: var(--ink); }
.service-icon--b { background: rgba(91,130,102,0.12); color: var(--accent); }
.service-card h3 { font-size: 22px; color: var(--ink); margin: 0 0 12px; }
.service-card > p { font-size: 15.5px; line-height: 1.65; color: var(--muted-1); margin: 0 0 22px; }

/* Ce qui est inclus */
.inclus-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.inclus-grid li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 14.5px; line-height: 1.5; color: var(--muted-3);
}
.inclus-grid li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

/* Methode (dark) — process en 4 étapes, IA mentionnée seulement comme outil
   secondaire dans le texte de l'étape 3, jamais comme statistique en avant. */
.methode { background: var(--ink); color: var(--bg); }
.methode h2 { color: var(--bg); }
.methode-steps {
  list-style: none; margin: 0 0 52px; padding: 0; counter-reset: step;
  display: flex; flex-direction: column;
}
.methode-step { position: relative; padding: 0 0 40px 66px; }
.methode-step:last-child { padding-bottom: 0; }
.methode-step:not(:last-child)::before {
  content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px;
  background: rgba(248,249,250,0.14);
}
.methode-step-num {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(248,249,250,0.06); border: 1px solid rgba(248,249,250,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--accent-light);
}
.methode-step-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; color: var(--bg); margin: 3px 0 8px; }
.methode-step-desc { font-size: 15px; line-height: 1.65; color: rgba(248,249,250,0.72); margin: 0; max-width: 560px; }
.methode-result { border-top: 1px solid rgba(248,249,250,0.14); padding-top: 32px; }
.methode-result-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 10px; }
.methode-result p { font-size: 16.5px; line-height: 1.65; color: var(--bg); margin: 0; max-width: 680px; }

/* Reveal au scroll — utilitaire réutilisable, déclenché par IntersectionObserver */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Realisations */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}
.realisation-card { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.realisation-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,0.08); }
.realisation-card--featured { grid-column: span 2; border-color: rgba(37,99,235,0.25); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.realisation-card--featured .realisation-body { display: grid; }
.realisation-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.realisation-card--featured img { height: 260px; }
.realisation-body { padding: 28px; }
.realisation-location { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.realisation-body h3 { font-size: 19px; color: var(--ink); margin: 0 0 10px; }
.realisation-work { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.realisation-work--live { display: inline-block; color: var(--accent); background: rgba(37,99,235,0.08); padding: 3px 10px; border-radius: 12px; }
.realisation-body p { font-size: 14.5px; line-height: 1.6; color: var(--muted-1); margin: 0; }
.realisation-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.realisation-tags li { font-size: 12px; font-weight: 600; color: var(--muted-1); background: rgba(15,23,42,0.05); border-radius: 12px; padding: 4px 11px; }
.realisation-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent) !important; }
.realisation-link:hover { color: var(--accent-hover) !important; }
.realisations-note { font-size: 13px; color: var(--muted-4); margin: 0; font-style: italic; }
@media (max-width: 719px) {
  .realisation-card--featured { grid-column: span 1; }
}

/* A propos */
.apropos { background: #FFFFFF; }
.apropos-wrap { max-width: 720px; }
.apropos-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  border: 2px solid var(--accent);
}
.apropos p { font-size: 16px; line-height: 1.7; color: var(--muted-3); margin: 0 0 18px; }
.apropos-points { list-style: none; margin: 8px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.apropos-point-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 3px; }
.apropos-point-title::before { content: '→'; color: var(--accent); margin-right: 8px; }
.apropos-point-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0 0 0 24px; }
.apropos-signature { border-top: 1px solid rgba(15,23,42,0.1); padding-top: 20px; }
.apropos-signature-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.apropos-signature-role { font-size: 14px; color: var(--muted-2); }

/* Tarifs */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 96px;
}
.price-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card h3 { font-size: 19px; color: var(--ink); margin: 0 0 6px; }
.price-value-row { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 2px; }
.price-value { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 38px; color: var(--ink); margin: 0; }
.price-original { font-size: 17px; color: rgba(248,249,250,0.45); text-decoration: line-through; }
.price-savings { font-size: 13px; font-weight: 700; color: var(--accent-light); margin: 0 0 18px; }
.price-desc { font-size: 14px; color: var(--muted-2); margin: 0 0 22px; }
.price-card .bullet-list li { margin-bottom: 11px; font-size: 14px; }
.price-choose {
  margin-top: auto; padding-top: 18px;
  color: var(--ink) !important; font-size: 14.5px; font-weight: 700;
  border-top: 1px solid var(--border);
  background: none;
  border-left: none; border-right: none; border-bottom: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  width: 100%;
}
.price-choose.is-added { color: var(--accent) !important; }
.price-choose--light.is-added { color: var(--accent-light) !important; }
.price-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 24px 48px rgba(15,23,42,0.18);
}
@media (min-width: 860px) {
  /* translate (not transform) so it doesn't fight the .reveal fade-in transform */
  .price-card--featured { translate: 0 -14px; }
}
.price-card--featured h3, .price-card--featured .price-value { color: var(--bg); }
.price-card--featured .price-desc { color: rgba(248,249,250,0.65); }
.price-card--featured .bullet-list li { color: rgba(248,249,250,0.85); }
.price-card--featured .bullet-list li::before { background: var(--accent-light); }
.price-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: var(--bg);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 14px;
}
.price-card--featured h3 { margin-top: 14px; }
.price-choose--light { color: var(--bg) !important; border-top-color: rgba(248,249,250,0.14); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr);
  gap: 56px;
}
.contact-info h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 16px; }
.contact-info > p { font-size: 16px; line-height: 1.65; color: var(--muted-1); margin: 0 0 28px; }
.contact-field { margin-bottom: 16px; }
.contact-field-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-4); margin-bottom: 4px; }
.contact-field a, .contact-field span { font-size: 16px; font-weight: 600; color: var(--ink); }

.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group--full { grid-column: 1 / -1; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--muted-3); }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
}
.contact-form textarea { resize: vertical; font-family: 'Manrope', sans-serif; }
.submit-btn {
  grid-column: 1 / -1;
  background: var(--accent); color: var(--bg);
  font-size: 15.5px; font-weight: 700;
  padding: 15px; border-radius: 12px;
  border: none; cursor: pointer;
  margin-top: 4px;
}
.submit-btn:hover { background: var(--accent-hover); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-confirmation {
  grid-column: 1 / -1;
  font-size: 14px; color: var(--accent); font-weight: 600;
  text-align: center;
}
.form-error {
  grid-column: 1 / -1;
  font-size: 14px; color: #B3452C; font-weight: 600;
  text-align: center;
}
.form-error[hidden], .form-confirmation[hidden] { display: none; }

.order-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.order-summary-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-4); margin-bottom: 10px; }
.order-summary-item { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); padding: 4px 0; }
.order-summary-item span:last-child { font-weight: 600; }
.order-summary-empty { font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }
.order-summary-empty[hidden] { display: none; }
.order-notice { font-size: 13px; color: var(--muted-2); line-height: 1.5; margin: 0; font-style: italic; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* Maintenance / après livraison */
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.maintenance-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.maintenance-card h3 { font-size: 19px; color: var(--ink); margin: 0 0 14px; }
.maintenance-card > p { font-size: 15px; line-height: 1.65; color: var(--muted-1); margin: 0; }
.maintenance-card .bullet-list li { font-size: 14px; }

/* Chat widget */
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 70; }
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15,23,42,0.25);
}
.chat-toggle:hover { background: var(--accent-hover); }
.chat-window {
  position: absolute;
  right: 0; bottom: 72px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 140px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-window[hidden] { display: none; }
.chat-header {
  background: var(--ink); color: var(--bg);
  padding: 16px 18px;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-shrink: 0;
}
.chat-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; }
.chat-subtitle { font-size: 12.5px; color: rgba(248,249,250,0.65); margin-top: 2px; }
.chat-close { background: none; border: none; color: var(--bg); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.chat-messages { flex: 1; min-height: 130px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble { max-width: 85%; padding: 10px 13px; border-radius: var(--radius-md); font-size: 13.5px; line-height: 1.5; flex-shrink: 0; }
.chat-bubble--bot { align-self: flex-start; background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
.chat-bubble--user { align-self: flex-end; background: var(--accent); color: #fff; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 12px; flex-shrink: 0; max-height: 86px; overflow-y: auto; border-top: 1px solid var(--border); }
.chat-suggestion-btn {
  border: 1px solid var(--border-strong); background: #fff; color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 6px 11px;
  border-radius: 14px; cursor: pointer; font-family: 'Manrope', sans-serif;
}
.chat-suggestion-btn:hover { border-color: var(--accent); color: var(--accent); }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); flex-shrink: 0; }
.chat-input-row input {
  flex: 1; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 13.5px; color: var(--ink); font-family: 'Manrope', sans-serif;
}
.chat-input-row button {
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 9px 14px;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.chat-input-row button:hover { background: var(--accent-hover); }

@media (max-width: 480px) {
  .chat-widget { right: 16px; bottom: 16px; }
  .chat-window { width: calc(100vw - 32px); }
}

/* Footer */
.site-footer { background: var(--ink); padding: 56px 24px 32px; color: rgba(248,249,250,0.7); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.footer-brand { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: var(--bg); margin-bottom: 10px; }
.footer-tagline { font-size: 14px; line-height: 1.6; color: rgba(248,249,250,0.6); margin: 0; max-width: 340px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(248,249,250,0.4); margin-bottom: 12px; }
.footer-links a { display: block; color: rgba(248,249,250,0.75); font-size: 14px; margin-bottom: 8px; }
.footer-zone { font-size: 14px; color: rgba(248,249,250,0.75); line-height: 1.8; }
.footer-copyright { border-top: 1px solid rgba(248,249,250,0.12); padding-top: 24px; font-size: 13px; color: rgba(248,249,250,0.45); }
.footer-legal { margin-top: 8px; }
.footer-legal a { font-size: 13px; color: rgba(248,249,250,0.45); text-decoration: underline; }
.footer-legal a:hover { color: rgba(248,249,250,0.7); }

/* Intro — animation d'ouverture "Signal", une seule fois par session.
   Tout le séquençage (apparition + disparition) est en CSS pur via une
   seule animation sur .intro-overlay : même si le petit script associé
   échoue totalement, l'overlay se termine et disparaît tout seul —
   jamais de risque de rester bloqué à l'écran. */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(ellipse 900px 700px at 50% 32%, var(--hero-bg-2) 0%, var(--hero-bg-1) 68%);
  animation: introOut 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1450ms;
}
.intro-overlay.is-done { display: none; }

@keyframes introOut {
  0% { opacity: 1; transform: scale(1); }
  99% { pointer-events: auto; }
  100% { opacity: 0; transform: scale(1.03); pointer-events: none; }
}

.intro-glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-glow), 0.55) 0%, rgba(var(--hero-glow), 0) 72%);
  opacity: 0;
  transform: scale(0.6);
  animation:
    introGlowIn 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards,
    introGlowPulse 3600ms ease-in-out 900ms infinite;
}
@keyframes introGlowIn {
  0% { opacity: 0; transform: scale(0.6); }
  60% { opacity: 1; }
  100% { opacity: 0.75; transform: scale(1); }
}
@keyframes introGlowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.04); }
}

.intro-logo { position: relative; z-index: 1; width: 84px; height: 84px; }
.intro-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: introDraw 550ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
  filter: drop-shadow(0 0 6px rgba(var(--hero-glow), 0.6));
}
.intro-path--v { animation-delay: 150ms; }
.intro-path--d { animation-delay: 320ms; }
@keyframes introDraw { to { stroke-dashoffset: 0; } }

.intro-dot {
  opacity: 0;
  animation: introDotIn 300ms ease forwards;
  animation-delay: 650ms;
  filter: drop-shadow(0 0 4px rgba(var(--hero-glow), 0.9));
}
@keyframes introDotIn { to { opacity: 1; } }

.intro-word {
  position: relative;
  z-index: 1;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: rgba(248, 249, 250, 0.72);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  animation: introWordIn 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 800ms;
}
@keyframes introWordIn { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}
